You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2021/02/03 18:06:17 UTC

[GitHub] [pulsar] lhotari opened a new issue #9452: Flaky-test: org.apache.pulsar.tests.integration.SmokeTest.setup

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


   org.apache.pulsar.tests.integration.SmokeTest is flaky. The setup test method fails sporadically.
   
   ```
   org.testcontainers.containers.ContainerLaunchException: Container startup failed
   	at org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:330)
   	at org.testcontainers.containers.GenericContainer.start(GenericContainer.java:311)
   	at org.apache.pulsar.tests.integration.SmokeTest.setup(SmokeTest.java:43)
   ```
   
   Usage tip: To enable automatic navigation to failure message, open the following links with CTRL/CMD-click.
   [example failure 2021-02-01T19:53:13.9836607Z](https://github.com/apache/pulsar/runs/1808358452?check_suite_focus=true#step:13:58741)
   [example failure 2021-02-01T06:13:40.8826193Z](https://github.com/apache/pulsar/runs/1804097024?check_suite_focus=true#step:13:5761)
   [example failure 2021-02-01T04:51:34.2405588Z](https://github.com/apache/pulsar/runs/1803769595?check_suite_focus=true#step:13:59696)
   [example failure 2021-01-30T15:49:52.0503412Z](https://github.com/apache/pulsar/runs/1797688017?check_suite_focus=true#step:13:8381)
   [example failure 2021-01-30T15:29:58.3373821Z](https://github.com/apache/pulsar/runs/1797634141?check_suite_focus=true#step:13:5564)
   [example failure 2021-01-29T04:50:21.2006867Z](https://github.com/apache/pulsar/runs/1788981293?check_suite_focus=true#step:13:5726)
   [example failure 2021-01-29T04:22:28.6107764Z](https://github.com/apache/pulsar/runs/1788936107?check_suite_focus=true#step:12:5540)
   [example failure 2021-01-29T04:12:14.7134553Z](https://github.com/apache/pulsar/runs/1788936016?check_suite_focus=true#step:12:47630)
   [example failure 2021-01-28T19:15:07.7566780Z](https://github.com/apache/pulsar/runs/1784537818?check_suite_focus=true#step:12:5574)
   [example failure 2021-01-28T17:06:12.6166540Z](https://github.com/apache/pulsar/runs/1784431721?check_suite_focus=true#step:12:8258)
   [example failure 2021-01-28T16:59:57.4037287Z](https://github.com/apache/pulsar/runs/1784431335?check_suite_focus=true#step:12:3633)
   [example failure 2021-01-28T00:14:16.8518548Z](https://github.com/apache/pulsar/runs/1779816118?check_suite_focus=true#step:12:3847)
   [example failure 2021-01-27T06:45:09.6599715Z](https://github.com/apache/pulsar/runs/1774583618?check_suite_focus=true#step:14:3648)
   [example failure 2021-01-27T06:41:24.3561954Z](https://github.com/apache/pulsar/runs/1774583805?check_suite_focus=true#step:12:5461)
   [example failure 2021-01-25T13:49:06.3733818Z](https://github.com/apache/pulsar/runs/1760325976?check_suite_focus=true#step:12:9029)
   
   
   <details>
   <summary>Full exception stacktrace</summary>
   <code><pre>
   org.testcontainers.containers.ContainerLaunchException: Container startup failed
   	at org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:330)
   	at org.testcontainers.containers.GenericContainer.start(GenericContainer.java:311)
   	at org.apache.pulsar.tests.integration.SmokeTest.setup(SmokeTest.java:43)
   	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   	at java.lang.reflect.Method.invoke(Method.java:498)
   	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:132)
   	at org.testng.internal.MethodInvocationHelper.invokeMethodConsideringTimeout(MethodInvocationHelper.java:61)
   	at org.testng.internal.ConfigInvoker.invokeConfigurationMethod(ConfigInvoker.java:366)
   	at org.testng.internal.ConfigInvoker.invokeConfigurations(ConfigInvoker.java:320)
   	at org.testng.internal.TestMethodWorker.invokeBeforeClassMethods(TestMethodWorker.java:176)
   	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:122)
   	at java.util.ArrayList.forEach(ArrayList.java:1259)
   	at org.testng.TestRunner.privateRun(TestRunner.java:764)
   	at org.testng.TestRunner.run(TestRunner.java:585)
   	at org.testng.SuiteRunner.runTest(SuiteRunner.java:384)
   	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:378)
   	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:337)
   	at org.testng.SuiteRunner.run(SuiteRunner.java:286)
   	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:53)
   	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:96)
   	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1218)
   	at org.testng.TestNG.runSuitesLocally(TestNG.java:1140)
   	at org.testng.TestNG.runSuites(TestNG.java:1069)
   	at org.testng.TestNG.run(TestNG.java:1037)
   	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:283)
   	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
   	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:120)
   	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
   	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
   	at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
   	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
   Caused by: org.rnorth.ducttape.RetryCountExceededException: Retry limit hit with exception
   	at org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:88)
   	at org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:323)
   	... 32 more
   Caused by: org.testcontainers.containers.ContainerLaunchException: Could not create/start container
   	at org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:497)
   	at org.testcontainers.containers.GenericContainer.lambda$doStart$0(GenericContainer.java:325)
   	at org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:81)
   	... 33 more
   Caused by: java.lang.IllegalStateException: Container exited with code 255
   	at org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:469)
   	... 35 more
   
   </pre></code>
   </details>
   
   [example failure 2020-12-21T05:27:37.7680642Z](https://github.com/apache/pulsar/runs/1586870220?check_suite_focus=true#step:13:53994)
   
   
   <details>
   <summary>Full exception stacktrace</summary>
   <code><pre>
   org.testcontainers.containers.ContainerLaunchException: Container startup failed
   	at org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:330)
   	at org.testcontainers.containers.GenericContainer.start(GenericContainer.java:311)
   	at org.apache.pulsar.tests.integration.SmokeTest.setup(SmokeTest.java:43)
   	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   	at java.lang.reflect.Method.invoke(Method.java:498)
   	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:132)
   	at org.testng.internal.MethodInvocationHelper.invokeMethodConsideringTimeout(MethodInvocationHelper.java:61)
   	at org.testng.internal.ConfigInvoker.invokeConfigurationMethod(ConfigInvoker.java:366)
   	at org.testng.internal.ConfigInvoker.invokeConfigurations(ConfigInvoker.java:320)
   	at org.testng.internal.TestMethodWorker.invokeBeforeClassMethods(TestMethodWorker.java:176)
   	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:122)
   	at java.util.ArrayList.forEach(ArrayList.java:1259)
   	at org.testng.TestRunner.privateRun(TestRunner.java:764)
   	at org.testng.TestRunner.run(TestRunner.java:585)
   	at org.testng.SuiteRunner.runTest(SuiteRunner.java:384)
   	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:378)
   	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:337)
   	at org.testng.SuiteRunner.run(SuiteRunner.java:286)
   	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:53)
   	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:96)
   	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1218)
   	at org.testng.TestNG.runSuitesLocally(TestNG.java:1140)
   	at org.testng.TestNG.runSuites(TestNG.java:1069)
   	at org.testng.TestNG.run(TestNG.java:1037)
   	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:283)
   	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
   	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:120)
   	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
   	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
   	at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
   	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
   Caused by: org.rnorth.ducttape.RetryCountExceededException: Retry limit hit with exception
   	at org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:88)
   	at org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:323)
   	... 32 more
   Caused by: org.testcontainers.containers.ContainerLaunchException: Could not create/start container
   	at org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:498)
   	at org.testcontainers.containers.GenericContainer.lambda$doStart$0(GenericContainer.java:325)
   	at org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:81)
   	... 33 more
   Caused by: org.testcontainers.containers.ContainerLaunchException: Timed out waiting for URL to be accessible (http://localhost:32842/admin/v2/namespaces/public/default should return HTTP [200])
   	at org.testcontainers.containers.wait.strategy.HttpWaitStrategy.waitUntilReady(HttpWaitStrategy.java:214)
   	at org.testcontainers.containers.wait.strategy.AbstractWaitStrategy.waitUntilReady(AbstractWaitStrategy.java:35)
   	at org.testcontainers.containers.GenericContainer.waitUntilContainerStarted(GenericContainer.java:890)
   	at org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:441)
   	... 35 more
   
   </pre></code>
   </details>
   
   ```
   org.testcontainers.containers.ContainerLaunchException: Container startup failed
   	at org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:330)
   	at org.testcontainers.containers.GenericContainer.start(GenericContainer.java:311)
   	at org.apache.pulsar.tests.integration.SmokeTest.setup(SmokeTest.java:47)
   ```
   
   Usage tip: To enable automatic navigation to failure message, open the following links with CTRL/CMD-click.
   [example failure 2021-01-29T08:01:14.5193444Z](https://github.com/apache/pulsar/runs/1789795285?check_suite_focus=true#step:12:4408)
   [example failure 2021-01-29T05:13:38.0941055Z](https://github.com/apache/pulsar/runs/1789139600?check_suite_focus=true#step:12:4366)
   [example failure 2021-01-27T06:34:00.0496422Z](https://github.com/apache/pulsar/runs/1774583753?check_suite_focus=true#step:12:7211)
   
   
   <details>
   <summary>Full exception stacktrace</summary>
   <code><pre>
   org.testcontainers.containers.ContainerLaunchException: Container startup failed
   	at org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:330)
   	at org.testcontainers.containers.GenericContainer.start(GenericContainer.java:311)
   	at org.apache.pulsar.tests.integration.SmokeTest.setup(SmokeTest.java:47)
   	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   	at java.lang.reflect.Method.invoke(Method.java:498)
   	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:132)
   	at org.testng.internal.MethodInvocationHelper.invokeMethodConsideringTimeout(MethodInvocationHelper.java:61)
   	at org.testng.internal.ConfigInvoker.invokeConfigurationMethod(ConfigInvoker.java:366)
   	at org.testng.internal.ConfigInvoker.invokeConfigurations(ConfigInvoker.java:320)
   	at org.testng.internal.TestMethodWorker.invokeBeforeClassMethods(TestMethodWorker.java:176)
   	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:122)
   	at java.util.ArrayList.forEach(ArrayList.java:1259)
   	at org.testng.TestRunner.privateRun(TestRunner.java:764)
   	at org.testng.TestRunner.run(TestRunner.java:585)
   	at org.testng.SuiteRunner.runTest(SuiteRunner.java:384)
   	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:378)
   	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:337)
   	at org.testng.SuiteRunner.run(SuiteRunner.java:286)
   	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:53)
   	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:96)
   	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1218)
   	at org.testng.TestNG.runSuitesLocally(TestNG.java:1140)
   	at org.testng.TestNG.runSuites(TestNG.java:1069)
   	at org.testng.TestNG.run(TestNG.java:1037)
   	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:283)
   	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
   	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:120)
   	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
   	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
   	at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
   	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
   Caused by: org.rnorth.ducttape.RetryCountExceededException: Retry limit hit with exception
   	at org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:88)
   	at org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:323)
   	... 32 more
   Caused by: org.testcontainers.containers.ContainerLaunchException: Could not create/start container
   	at org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:497)
   	at org.testcontainers.containers.GenericContainer.lambda$doStart$0(GenericContainer.java:325)
   	at org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:81)
   	... 33 more
   Caused by: java.lang.IllegalStateException: Container exited with code 255
   	at org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:469)
   	... 35 more
   
   </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:
users@infra.apache.org



[GitHub] [pulsar] codelipenghui commented on issue #9452: Flaky-test: org.apache.pulsar.tests.integration.SmokeTest.setup

Posted by GitBox <gi...@apache.org>.
codelipenghui commented on issue #9452:
URL: https://github.com/apache/pulsar/issues/9452#issuecomment-1058893704


   The issue had no activity for 30 days, mark with Stale label.


-- 
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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org