lhotari opened a new issue, #15392:
URL: https://github.com/apache/pulsar/issues/15392

   <!--- 
   
   Instructions for reporting a flaky test using this issue template:
   
   1. Replace test_class in title and body with the short test class name 
WITHOUT the package name.
   2. Replace test_method in title and body with the test method that failed. 
Multiple methods are flaky, remove the content that refers to the test method.
   3. Replace "url here" with a url to an example failure. In the Github 
Actions workflow run logs, you can right click on the line number to copy a 
link to the line. Example of such url is 
https://github.com/apache/pulsar/pull/8892/checks?check_run_id=1531075794#step:9:377
 . The logs are available for a limited amount of time (usually for a few 
weeks).
   4. Replace "relevant parts of the exception stacktrace here" with the a few 
lines of the stack trace that shows at least the exception message and the line 
of test code where the stacktrace occurred.
   5. Replace "full exception stacktrace here" with the full exception 
stacktrace from logs. This section will be hidden by default.
   6. Remove all unused fields / content to unclutter the reported issue. 
Remove this comment too.
   
   -->
   PulsarFunctionsTest.publishAndConsumeMessages is flaky. It fails 
sporadically.
   
   [example failure](https://github.com/apache/pulsar/runs/6225857381)
   
   ```
   2022-04-29T10:26:05.4063041Z [ERROR] 
testJavaLoggingFunction(org.apache.pulsar.tests.integration.functions.java.PulsarFunctionsJavaThreadTest)
  Time elapsed: 50.242 s  <<< FAILURE!
   2022-04-29T10:26:05.4064216Z java.lang.NullPointerException: Cannot invoke 
"org.apache.pulsar.client.api.Message.getValue()" because "msg" is null
   2022-04-29T10:26:05.4131524Z         at 
org.apache.pulsar.tests.integration.functions.PulsarFunctionsTest.publishAndConsumeMessages(PulsarFunctionsTest.java:1583)
   2022-04-29T10:26:05.4132844Z         at 
org.apache.pulsar.tests.integration.functions.PulsarFunctionsTest.testLoggingFunction(PulsarFunctionsTest.java:1506)
   2022-04-29T10:26:05.4133941Z         at 
org.apache.pulsar.tests.integration.functions.java.PulsarFunctionsJavaTest.testJavaLoggingFunction(PulsarFunctionsJavaTest.java:111)
   2022-04-29T10:26:05.4135136Z         at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   2022-04-29T10:26:05.4135817Z         at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
   2022-04-29T10:26:05.4136564Z         at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   2022-04-29T10:26:05.4137167Z         at 
java.base/java.lang.reflect.Method.invoke(Method.java:568)
   2022-04-29T10:26:05.4137752Z         at 
org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:132)
   2022-04-29T10:26:05.4138406Z         at 
org.testng.internal.InvokeMethodRunnable.runOne(InvokeMethodRunnable.java:45)
   2022-04-29T10:26:05.4139003Z         at 
org.testng.internal.InvokeMethodRunnable.call(InvokeMethodRunnable.java:73)
   2022-04-29T10:26:05.4139577Z         at 
org.testng.internal.InvokeMethodRunnable.call(InvokeMethodRunnable.java:11)
   2022-04-29T10:26:05.4140122Z         at 
java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
   2022-04-29T10:26:05.4140702Z         at 
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
   2022-04-29T10:26:05.4141652Z         at 
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
   2022-04-29T10:26:05.4142141Z         at 
java.base/java.lang.Thread.run(Thread.java:833)
   ```


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to