See <https://ci-builds.apache.org/job/Brooklyn/job/brooklyn-server/job/master/564/display/redirect>
Changes: ------------------------------------------ [...truncated 31240 lines...] 2024-05-01 15:53:52,296 WARN t.r.usage Management Context LocalManagementContext[?-LKfrC7DY] running, creation stacktrace: java.lang.Throwable: for construction stacktrace at org.apache.brooklyn.core.mgmt.internal.LocalManagementContext.<init>(LocalManagementContext.java:145) at org.apache.brooklyn.core.mgmt.internal.LocalManagementContext.<init>(LocalManagementContext.java:167) at org.apache.brooklyn.core.mgmt.internal.LocalManagementContext.<init>(LocalManagementContext.java:163) at org.apache.brooklyn.core.test.entity.LocalManagementContextForTests.<init>(LocalManagementContextForTests.java:45) at org.apache.brooklyn.core.test.entity.LocalManagementContextForTests$Builder.build(LocalManagementContextForTests.java:185) at org.apache.brooklyn.core.BrooklynVersionTest.testGetFeatures(BrooklynVersionTest.java:93) 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.TestInvoker.invokeMethod(TestInvoker.java:599) at org.testng.internal.TestInvoker.invokeTestMethod(TestInvoker.java:174) at org.testng.internal.MethodRunner.runInSequence(MethodRunner.java:46) at org.testng.internal.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:822) at org.testng.internal.TestInvoker.invokeTestMethods(TestInvoker.java:147) at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:146) at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:128) 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:132) at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:193) at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:94) at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:147) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121) 2024-05-01 15:53:52,368 INFO t.r.usage BrooklynLeakListener.onFinish attempting to terminate all extant ManagementContexts: name=Surefire test; includedGroups=[]; excludedGroups=[Acceptance, Integration, Live, Live-sanity, Broken, WIP]; suiteName=Surefire suite; outDir=/home/jenkins/workspace/Brooklyn_brooklyn-server_master/core/target/surefire-reports/testng-native-results/Surefire suite: 1 ManagementContexts terminated 2024-05-01 15:53:52,369 INFO o.a.b.t.s.LoggingVerboseReporter TESTNG =============================================== Surefire test Tests run: 2745, Failures: 2, Skips: 0 =============================================== [GC (Allocation Failure) 393129K->151344K(773632K), 0.0100644 secs] 2024-05-01 15:53:56,294 INFO o.a.b.t.s.LoggingVerboseReporter TESTNG RUNNING: Suite: "Surefire test" containing "0" Tests (config: null) 2024-05-01 15:53:57,017 INFO o.a.b.t.s.LoggingVerboseReporter TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.util.core.logbook.opensearch.OpenSearchLogStoreTest.queryWithDateTimeTo() 2024-05-01 15:53:57,024 INFO o.a.b.t.s.LoggingVerboseReporter TESTNG PASSED: "Surefire test" - org.apache.brooklyn.util.core.logbook.opensearch.OpenSearchLogStoreTest.queryWithDateTimeTo() finished in 23 ms 2024-05-01 15:53:57,024 INFO o.a.b.t.s.LoggingVerboseReporter TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.util.core.logbook.opensearch.OpenSearchLogStoreTest.queryWithEntityId() 2024-05-01 15:53:57,025 INFO o.a.b.t.s.LoggingVerboseReporter TESTNG PASSED: "Surefire test" - org.apache.brooklyn.util.core.logbook.opensearch.OpenSearchLogStoreTest.queryWithEntityId() finished in 23 ms 2024-05-01 15:53:57,025 INFO o.a.b.t.s.LoggingVerboseReporter TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.util.core.logbook.opensearch.OpenSearchLogStoreTest.queryWithSearchSinglePhrase() 2024-05-01 15:53:57,025 INFO o.a.b.t.s.LoggingVerboseReporter TESTNG PASSED: "Surefire test" - org.apache.brooklyn.util.core.logbook.opensearch.OpenSearchLogStoreTest.queryWithSearchSinglePhrase() finished in 23 ms 2024-05-01 15:53:57,026 INFO o.a.b.t.s.LoggingVerboseReporter TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.util.core.logbook.opensearch.OpenSearchLogStoreTest.queryWithEntityIdAndPhrase() 2024-05-01 15:53:57,026 INFO o.a.b.t.s.LoggingVerboseReporter TESTNG PASSED: "Surefire test" - org.apache.brooklyn.util.core.logbook.opensearch.OpenSearchLogStoreTest.queryWithEntityIdAndPhrase() finished in 24 ms 2024-05-01 15:53:57,026 INFO o.a.b.t.s.LoggingVerboseReporter TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.util.core.logbook.opensearch.OpenSearchLogStoreTest.queryWithTaskId() 2024-05-01 15:53:57,027 INFO o.a.b.t.s.LoggingVerboseReporter TESTNG PASSED: "Surefire test" - org.apache.brooklyn.util.core.logbook.opensearch.OpenSearchLogStoreTest.queryWithTaskId() finished in 25 ms 2024-05-01 15:53:57,027 INFO o.a.b.t.s.LoggingVerboseReporter TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.util.core.logbook.opensearch.OpenSearchLogStoreTest.queryWithTimeRange() 2024-05-01 15:53:57,027 INFO o.a.b.t.s.LoggingVerboseReporter TESTNG PASSED: "Surefire test" - org.apache.brooklyn.util.core.logbook.opensearch.OpenSearchLogStoreTest.queryWithTimeRange() finished in 25 ms 2024-05-01 15:53:57,027 INFO o.a.b.t.s.LoggingVerboseReporter TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.util.core.logbook.opensearch.OpenSearchLogStoreTest.queryWithTaskIdAndPhrase() 2024-05-01 15:53:57,028 INFO o.a.b.t.s.LoggingVerboseReporter TESTNG PASSED: "Surefire test" - org.apache.brooklyn.util.core.logbook.opensearch.OpenSearchLogStoreTest.queryWithTaskIdAndPhrase() finished in 25 ms 2024-05-01 15:53:57,028 INFO o.a.b.t.s.LoggingVerboseReporter TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.util.core.logbook.opensearch.OpenSearchLogStoreTest.queryWithTwoLogLevel() 2024-05-01 15:53:57,029 INFO o.a.b.t.s.LoggingVerboseReporter TESTNG PASSED: "Surefire test" - org.apache.brooklyn.util.core.logbook.opensearch.OpenSearchLogStoreTest.queryWithTwoLogLevel() finished in 26 ms 2024-05-01 15:53:57,030 INFO o.a.b.t.s.LoggingVerboseReporter TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.util.core.logbook.opensearch.OpenSearchLogStoreTest.queryWithOneLogLevelAndRange() 2024-05-01 15:53:57,030 INFO o.a.b.t.s.LoggingVerboseReporter TESTNG PASSED: "Surefire test" - org.apache.brooklyn.util.core.logbook.opensearch.OpenSearchLogStoreTest.queryWithOneLogLevelAndRange() finished in 27 ms 2024-05-01 15:53:57,030 INFO o.a.b.t.s.LoggingVerboseReporter TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.util.core.logbook.opensearch.OpenSearchLogStoreTest.queryWithDateTimeFrom() 2024-05-01 15:53:57,031 INFO o.a.b.t.s.LoggingVerboseReporter TESTNG PASSED: "Surefire test" - org.apache.brooklyn.util.core.logbook.opensearch.OpenSearchLogStoreTest.queryWithDateTimeFrom() finished in 28 ms 2024-05-01 15:53:57,031 INFO o.a.b.t.s.LoggingVerboseReporter TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.util.core.logbook.opensearch.OpenSearchLogStoreTest.queryWithTwoLogLevelAndRange() 2024-05-01 15:53:57,031 INFO o.a.b.t.s.LoggingVerboseReporter TESTNG PASSED: "Surefire test" - org.apache.brooklyn.util.core.logbook.opensearch.OpenSearchLogStoreTest.queryWithTwoLogLevelAndRange() finished in 28 ms 2024-05-01 15:53:57,031 INFO o.a.b.t.s.LoggingVerboseReporter TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.util.core.logbook.opensearch.OpenSearchLogStoreTest.queryWithTailRequest() 2024-05-01 15:53:57,032 INFO o.a.b.t.s.LoggingVerboseReporter TESTNG PASSED: "Surefire test" - org.apache.brooklyn.util.core.logbook.opensearch.OpenSearchLogStoreTest.queryWithTailRequest() finished in 29 ms 2024-05-01 15:53:57,077 INFO o.a.b.t.s.LoggingVerboseReporter TESTNG =============================================== Surefire test Tests run: 12, Failures: 0, Skips: 0 =============================================== [GC (Allocation Failure) 387888K->152652K(773632K), 0.0166790 secs] Tests run: 2757, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 939.293 sec <<< FAILURE! - in TestSuite testCustomWorkflowLockInterrupted(org.apache.brooklyn.core.workflow.WorkflowNestedAndCustomExtensionTest) Time elapsed: 27.765 sec <<< FAILURE! java.lang.AssertionError: Workflow task should have finished: Waiting on: Task[1 - workflow]@phGUsUGg Known as: Task[myWorkflow (workflow effector) (Resumed dangling on server restart)]@BkUaI35O Submitted by: Task[Management started]@Y4xCpmda Children: Task[1 - workflow]@phGUsUGg: Waiting on: Task[workflow (sub-workflow) (Resumed dangling on server restart)]@lav44nH3 Thread waiting (notify) on java.util.concurrent.FutureTask@5805d5ef At: com.google.common.util.concurrent.ForwardingFuture.get(ForwardingFuture.java:62) org.apache.brooklyn.util.core.task.BasicTask.get(BasicTask.java:384) org.apache.brooklyn.util.core.task.BasicTask.getUnchecked(BasicTask.java:393) org.apache.brooklyn.core.workflow.WorkflowExecutionContext$Body.runCurrentStepInstanceApproved(WorkflowExecutionContext.java:1537) org.apache.brooklyn.core.workflow.WorkflowExecutionContext$Body.callSteps(WorkflowExecutionContext.java:1113) org.apache.brooklyn.core.workflow.WorkflowExecutionContext$Body$$Lambda$607/1304621419.call(Unknown Source) org.apache.brooklyn.core.workflow.WorkflowExecutionContext$Body.callWithLock(WorkflowExecutionContext.java:1046) org.apache.brooklyn.core.workflow.WorkflowExecutionContext$Body.call(WorkflowExecutionContext.java:968) org.apache.brooklyn.util.core.task.DynamicSequentialTask$DstJob.call(DynamicSequentialTask.java:382) org.apache.brooklyn.util.core.task.BasicExecutionManager$SubmissionCallable.call(BasicExecutionManager.java:910) at org.apache.brooklyn.core.workflow.WorkflowNestedAndCustomExtensionTest.testCustomWorkflowLockInterrupted(WorkflowNestedAndCustomExtensionTest.java:576) testCustomWorkflowLockInterruptedNoAutoReplay(org.apache.brooklyn.core.workflow.WorkflowNestedAndCustomExtensionTest) Time elapsed: 34.947 sec <<< FAILURE! org.apache.brooklyn.util.exceptions.PropagatedRuntimeException: at org.apache.brooklyn.core.workflow.WorkflowNestedAndCustomExtensionTest.testCustomWorkflowLockInterruptedNoAutoReplay(WorkflowNestedAndCustomExtensionTest.java:608) Caused by: java.util.concurrent.TimeoutException at org.apache.brooklyn.core.workflow.WorkflowNestedAndCustomExtensionTest.testCustomWorkflowLockInterruptedNoAutoReplay(WorkflowNestedAndCustomExtensionTest.java:608) 2024-05-01 15:53:57,597 INFO o.a.b.c.m.i.BrooklynShutdownHooks Brooklyn shutdown: stopping entities [TestEntityImpl{id=czmxoc89g8}, TestEntityImpl{id=kkb7o9fv4e}, BlockingEntityImpl{id=cdm70ugzm3}] Results : Failed tests: WorkflowNestedAndCustomExtensionTest.testCustomWorkflowLockInterrupted:576 Workflow task should have finished: Waiting on: Task[1 - workflow]@phGUsUGg Known as: Task[myWorkflow (workflow effector) (Resumed dangling on server restart)]@BkUaI35O Submitted by: Task[Management started]@Y4xCpmda Children: Task[1 - workflow]@phGUsUGg: Waiting on: Task[workflow (sub-workflow) (Resumed dangling on server restart)]@lav44nH3 Thread waiting (notify) on java.util.concurrent.FutureTask@5805d5ef At: com.google.common.util.concurrent.ForwardingFuture.get(ForwardingFuture.java:62) org.apache.brooklyn.util.core.task.BasicTask.get(BasicTask.java:384) org.apache.brooklyn.util.core.task.BasicTask.getUnchecked(BasicTask.java:393) org.apache.brooklyn.core.workflow.WorkflowExecutionContext$Body.runCurrentStepInstanceApproved(WorkflowExecutionContext.java:1537) org.apache.brooklyn.core.workflow.WorkflowExecutionContext$Body.callSteps(WorkflowExecutionContext.java:1113) org.apache.brooklyn.core.workflow.WorkflowExecutionContext$Body$$Lambda$607/1304621419.call(Unknown Source) org.apache.brooklyn.core.workflow.WorkflowExecutionContext$Body.callWithLock(WorkflowExecutionContext.java:1046) org.apache.brooklyn.core.workflow.WorkflowExecutionContext$Body.call(WorkflowExecutionContext.java:968) org.apache.brooklyn.util.core.task.DynamicSequentialTask$DstJob.call(DynamicSequentialTask.java:382) org.apache.brooklyn.util.core.task.BasicExecutionManager$SubmissionCallable.call(BasicExecutionManager.java:910) WorkflowNestedAndCustomExtensionTest.testCustomWorkflowLockInterruptedNoAutoReplay:608 » PropagatedRuntime Tests run: 2757, Failures: 2, Errors: 0, Skipped: 0 [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for Brooklyn Server Root 1.2.0-SNAPSHOT: [INFO] [INFO] Brooklyn Server Root ............................... SUCCESS [ 31.090 s] [INFO] Brooklyn Parent Project ............................ SUCCESS [ 35.612 s] [INFO] Brooklyn Test Support Utilities .................... SUCCESS [ 15.518 s] [INFO] Brooklyn Logback Includable Configuration .......... SUCCESS [ 1.170 s] [INFO] Brooklyn Common Utilities .......................... SUCCESS [01:02 min] [INFO] Brooklyn API ....................................... SUCCESS [ 7.155 s] [INFO] CAMP Server Parent Project ......................... SUCCESS [ 1.401 s] [INFO] CAMP Base .......................................... SUCCESS [ 5.238 s] [INFO] Brooklyn Test Support .............................. SUCCESS [ 3.963 s] [INFO] Brooklyn REST Swagger Apidoc Utilities ............. SUCCESS [ 6.434 s] [INFO] Brooklyn Logback Configuration ..................... SUCCESS [ 0.456 s] [INFO] CAMP Server ........................................ SUCCESS [ 16.280 s] [INFO] Brooklyn Felix Runtime ............................. SUCCESS [ 6.570 s] [INFO] Brooklyn Groovy Utilities .......................... SUCCESS [ 5.122 s] [INFO] Brooklyn Core ...................................... FAILURE [17:47 min] [INFO] Brooklyn Policies .................................. SKIPPED [INFO] Brooklyn WinRM Software Entities ................... SKIPPED [INFO] Brooklyn Secure JMXMP Agent ........................ SKIPPED [INFO] Brooklyn JMX RMI Agent ............................. SKIPPED [INFO] Brooklyn Jclouds Location Targets .................. SKIPPED [INFO] Brooklyn Software Base ............................. SKIPPED [INFO] Brooklyn CAMP ...................................... SKIPPED [INFO] Brooklyn Launcher Common ........................... SKIPPED [INFO] Brooklyn REST API .................................. SKIPPED [INFO] Brooklyn REST Resources ............................ SKIPPED [INFO] Brooklyn REST Server ............................... SKIPPED [INFO] Brooklyn Launcher .................................. SKIPPED [INFO] Brooklyn Container Location Targets ................ SKIPPED [INFO] Brooklyn Command Line Interface .................... SKIPPED [INFO] Brooklyn Test Framework ............................ SKIPPED [INFO] Brooklyn OSGi init ................................. SKIPPED [INFO] Brooklyn OSGi start ................................ SKIPPED [INFO] Brooklyn Karaf ..................................... SKIPPED [INFO] Jetty config fragment .............................. SKIPPED [INFO] Apache Http Component extension .................... SKIPPED [INFO] Brooklyn Karaf Features ............................ SKIPPED [INFO] Brooklyn Karaf Shell Commands ...................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 21:23 min [INFO] Finished at: 2024-05-01T15:53:58Z [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on project brooklyn-core: There are test failures. [ERROR] [ERROR] Please refer to /home/jenkins/workspace/Brooklyn_brooklyn-server_master/core/target/surefire-reports for the individual test results. [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <args> -rf :brooklyn-core [Pipeline] } $ docker stop --time=1 fe2e6d3879324735267d74ba264c4bdb5626b7d1b19956ddaab0d8d6884f1abc $ docker rm -f --volumes fe2e6d3879324735267d74ba264c4bdb5626b7d1b19956ddaab0d8d6884f1abc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } ERROR: script returned exit code 1 [Pipeline] // catchError [Pipeline] stage [Pipeline] { (Publish test results) [Pipeline] junit Recording test results [Checks API] No suitable checks publisher found. [Pipeline] testNG TestNG Reports Processing: START Looking for TestNG results report in workspace using pattern: **/testng-results.xml testng-results.xml was last modified before this build started. Ignoring it. testng-results.xml was last modified before this build started. Ignoring it. testng-results.xml was last modified before this build started. Ignoring it. testng-results.xml was last modified before this build started. Ignoring it. testng-results.xml was last modified before this build started. Ignoring it. testng-results.xml was last modified before this build started. Ignoring it. testng-results.xml was last modified before this build started. Ignoring it. testng-results.xml was last modified before this build started. Ignoring it. testng-results.xml was last modified before this build started. Ignoring it. testng-results.xml was last modified before this build started. Ignoring it. testng-results.xml was last modified before this build started. Ignoring it. testng-results.xml was last modified before this build started. Ignoring it. testng-results.xml was last modified before this build started. Ignoring it. testng-results.xml was last modified before this build started. Ignoring it. Saving reports... Processing '/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn-server/branches/master/builds/564/testng/testng-results-1.xml' Processing '/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn-server/branches/master/builds/564/testng/testng-results-2.xml' Processing '/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn-server/branches/master/builds/564/testng/testng-results-3.xml' Processing '/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn-server/branches/master/builds/564/testng/testng-results-4.xml' Processing '/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn-server/branches/master/builds/564/testng/testng-results-5.xml' Processing '/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn-server/branches/master/builds/564/testng/testng-results-6.xml' Processing '/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn-server/branches/master/builds/564/testng/testng-results-7.xml' Processing '/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn-server/branches/master/builds/564/testng/testng-results.xml' 0.058720% of tests failed, which exceeded threshold of 0%. Marking build as UNSTABLE TestNG Reports Processing: FINISH [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Send notifications) [Pipeline] step