lhotari opened a new issue #9453:
URL: https://github.com/apache/pulsar/issues/9453
org.apache.pulsar.tests.integration.functions.PulsarFunctionsThreadTest is
flaky. The testAvroSchemaFunction test method fails sporadically.
```
org.apache.pulsar.tests.integration.docker.ContainerExecException: sh -c
/pulsar/bin/pulsar-admin functions create --tenant public --namespace default
--name test-avroschema-fn-202003241756 --className
org.apache.pulsar.functions.api.examples.AvroSchemaTestFunction --inputs
test-avroschema-input-gpzrhjct --output test-avroschema-output-nuicivxv --jar
/pulsar/examples/java-test-functions.jar failed on
35273bf26fb7dd759302b59951ae7bc3e8bb77056539994ac94477847ce2e867 with error
code 1
at
org.apache.pulsar.tests.integration.utils.DockerUtils$2.onComplete(DockerUtils.java:259)
```
Usage tip: To enable automatic navigation to failure message, open the
following links with CTRL/CMD-click.
[example failure
2021-01-30T16:05:19.6332933Z](https://github.com/apache/pulsar/runs/1797736194?check_suite_focus=true#step:13:13063)
[example failure
2021-01-30T15:58:53.2952051Z](https://github.com/apache/pulsar/runs/1797736194?check_suite_focus=true#step:13:6831)
[example failure
2021-02-01T17:07:26.7690172Z](https://github.com/apache/pulsar/runs/1807469791?check_suite_focus=true#step:13:27486)
[example failure
2021-01-29T10:16:39.8466702Z](https://github.com/apache/pulsar/runs/1790322610?check_suite_focus=true#step:12:14264)
[example failure
2021-01-29T17:46:33.2592827Z](https://github.com/apache/pulsar/runs/1792703468?check_suite_focus=true#step:13:15484)
[example failure
2021-01-28T17:16:36.0105461Z](https://github.com/apache/pulsar/runs/1784431074?check_suite_focus=true#step:12:39864)
[example failure
2021-01-30T16:28:06.9629741Z](https://github.com/apache/pulsar/runs/1797736218?check_suite_focus=true#step:13:29403)
[example failure
2021-01-30T15:51:39.5002819Z](https://github.com/apache/pulsar/runs/1797687995?check_suite_focus=true#step:13:13433)
[example failure
2021-02-01T16:52:46.3045349Z](https://github.com/apache/pulsar/runs/1807469791?check_suite_focus=true#step:13:14069)
[example failure
2021-01-30T16:13:19.0035405Z](https://github.com/apache/pulsar/runs/1797736218?check_suite_focus=true#step:13:15204)
[example failure
2021-01-30T02:26:30.6161587Z](https://github.com/apache/pulsar/runs/1795631678?check_suite_focus=true#step:13:24152)
[example failure
2021-01-30T16:43:02.1673902Z](https://github.com/apache/pulsar/runs/1797736218?check_suite_focus=true#step:13:42705)
[example failure
2021-01-28T17:03:28.2985820Z](https://github.com/apache/pulsar/runs/1784431074?check_suite_focus=true#step:12:26003)
[example failure
2021-01-28T19:53:13.6502091Z](https://github.com/apache/pulsar/runs/1784537557?check_suite_focus=true#step:12:44782)
[example failure
2021-01-29T17:27:30.5266421Z](https://github.com/apache/pulsar/runs/1791621794?check_suite_focus=true#step:12:14039)
[example failure
2021-01-29T04:50:42.5422018Z](https://github.com/apache/pulsar/runs/1788981343?check_suite_focus=true#step:13:13375)
[example failure
2021-01-29T18:16:46.8326579Z](https://github.com/apache/pulsar/runs/1792703468?check_suite_focus=true#step:13:43860)
[example failure
2021-01-28T16:51:06.3928840Z](https://github.com/apache/pulsar/runs/1784431074?check_suite_focus=true#step:12:13268)
<details>
<summary>Full exception stacktrace</summary>
<code><pre>
org.apache.pulsar.tests.integration.docker.ContainerExecException: sh -c
/pulsar/bin/pulsar-admin functions create --tenant public --namespace default
--name test-avroschema-fn-202003241756 --className
org.apache.pulsar.functions.api.examples.AvroSchemaTestFunction --inputs
test-avroschema-input-gpzrhjct --output test-avroschema-output-nuicivxv --jar
/pulsar/examples/java-test-functions.jar failed on
35273bf26fb7dd759302b59951ae7bc3e8bb77056539994ac94477847ce2e867 with error
code 1
at
org.apache.pulsar.tests.integration.utils.DockerUtils$2.onComplete(DockerUtils.java:259)
at
org.testcontainers.shaded.com.github.dockerjava.core.exec.AbstrAsyncDockerCmdExec$1.onComplete(AbstrAsyncDockerCmdExec.java:51)
at
org.testcontainers.shaded.com.github.dockerjava.core.DefaultInvocationBuilder.lambda$executeAndStream$1(DefaultInvocationBuilder.java:276)
at java.lang.Thread.run(Thread.java:748)
16:05:19.647
[docker-java-stream-1756188203:org.apache.pulsar.tests.integration.utils.DockerUtils$2@221]
INFO org.apache.pulsar.tests.integration.utils.DockerUtils -
DOCKER.exec(PulsarFunctionsThreadTest-pbprw-pulsar-broker-0:tail -f
/var/log/pulsar/broker.log): STDOUT: 16:05:19.413 [pulsar-io-25-2] INFO
org.apache.pulsar.broker.service.ServerCnx - [/172.19.0.8:38164] Closing
consumer: consumerId=0
16:05:19.413 [pulsar-io-25-2] INFO
org.apache.pulsar.broker.service.AbstractDispatcherSingleActiveConsumer -
Removing consumer
Consumer{subscription=PersistentSubscription{topic=persistent://public/default/test-tumbling-count-window-THREAD-output-lwaebmmz,
name=reader-56d8d972fd}, consumerId=0, consumerName=37687,
address=/172.19.0.8:38164}
16:05:19.413 [pulsar-io-25-2] INFO
org.apache.pulsar.broker.service.persistent.PersistentSubscription -
[persistent://public/default/test-tumbling-count-window-THREAD-output-lwaebmmz][reader-56d8d972fd]
Successfully closed subscription
[NonDurableCursorImpl{ledger=public/default/persistent/test-tumbling-count-window-THREAD-output-lwaebmmz,
ackPos=67:8, readPos=67:9}]
16:05:19.414 [pulsar-io-25-2] INFO
org.apache.pulsar.broker.service.persistent.PersistentSubscription -
[persistent://public/default/test-tumbling-count-window-THREAD-output-lw
16:05:19.648
[docker-java-stream-1756188203:org.apache.pulsar.tests.integration.utils.DockerUtils$2@221]
INFO org.apache.pulsar.tests.integration.utils.DockerUtils -
DOCKER.exec(PulsarFunctionsThreadTest-pbprw-pulsar-broker-0:tail -f
/var/log/pulsar/broker.log): STDOUT: aebmmz][reader-56d8d972fd] Successfully
closed dispatcher for reader
16:05:19.414 [pulsar-io-25-2] INFO
org.apache.pulsar.broker.service.ServerCnx - [/172.19.0.8:38164] Closed
consumer, consumerId=0
16:05:19.426 [pulsar-io-25-2] INFO
org.apache.pulsar.broker.service.ServerCnx - Closed connection from
/172.19.0.8:38164
16:05:19.441 [pulsar-io-25-1] INFO
org.apache.pulsar.broker.service.ServerCnx - Closed connection from
/172.19.0.8:38158
</pre></code>
</details>
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]