See
<https://ci-builds.apache.org/job/Brooklyn/job/brooklyn-server/job/master/540/display/redirect>
Changes:
------------------------------------------
[...truncated 30449 lines...]
java.lang.Throwable: for construction stacktrace
at
org.apache.brooklyn.core.mgmt.internal.LocalManagementContext.<init>(LocalManagementContext.java:144)
at
org.apache.brooklyn.core.mgmt.internal.LocalManagementContext.<init>(LocalManagementContext.java:166)
at
org.apache.brooklyn.core.mgmt.internal.LocalManagementContext.<init>(LocalManagementContext.java:162)
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:1249)
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-02-05 13:41:24,576 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-02-05 13:41:24,577 INFO o.a.b.t.s.LoggingVerboseReporter
TESTNG
===============================================
Surefire test
Tests run: 2715, Failures: 2, Skips: 0
===============================================
[GC (Allocation Failure) 402646K->160582K(774656K), 0.0298409 secs]
[GC (Allocation Failure) 403270K->158039K(776192K), 0.0606044 secs]
2024-02-05 13:41:28,879 INFO o.a.b.t.s.LoggingVerboseReporter
TESTNG RUNNING: Suite: "Surefire test" containing "0" Tests (config: null)
2024-02-05 13:41:29,187 INFO o.a.b.t.s.LoggingVerboseReporter
TESTNG INVOKING: "Surefire test" -
org.apache.brooklyn.util.core.logbook.opensearch.OpenSearchLogStoreTest.queryWithDateTimeTo()
2024-02-05 13:41:29,194 INFO o.a.b.t.s.LoggingVerboseReporter
TESTNG PASSED: "Surefire test" -
org.apache.brooklyn.util.core.logbook.opensearch.OpenSearchLogStoreTest.queryWithDateTimeTo()
finished in 22 ms
2024-02-05 13:41:29,194 INFO o.a.b.t.s.LoggingVerboseReporter
TESTNG INVOKING: "Surefire test" -
org.apache.brooklyn.util.core.logbook.opensearch.OpenSearchLogStoreTest.queryWithEntityId()
2024-02-05 13:41:29,194 INFO o.a.b.t.s.LoggingVerboseReporter
TESTNG PASSED: "Surefire test" -
org.apache.brooklyn.util.core.logbook.opensearch.OpenSearchLogStoreTest.queryWithEntityId()
finished in 22 ms
2024-02-05 13:41:29,195 INFO o.a.b.t.s.LoggingVerboseReporter
TESTNG INVOKING: "Surefire test" -
org.apache.brooklyn.util.core.logbook.opensearch.OpenSearchLogStoreTest.queryWithSearchSinglePhrase()
2024-02-05 13:41:29,195 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-02-05 13:41:29,195 INFO o.a.b.t.s.LoggingVerboseReporter
TESTNG INVOKING: "Surefire test" -
org.apache.brooklyn.util.core.logbook.opensearch.OpenSearchLogStoreTest.queryWithEntityIdAndPhrase()
2024-02-05 13:41:29,195 INFO o.a.b.t.s.LoggingVerboseReporter
TESTNG PASSED: "Surefire test" -
org.apache.brooklyn.util.core.logbook.opensearch.OpenSearchLogStoreTest.queryWithEntityIdAndPhrase()
finished in 23 ms
2024-02-05 13:41:29,196 INFO o.a.b.t.s.LoggingVerboseReporter
TESTNG INVOKING: "Surefire test" -
org.apache.brooklyn.util.core.logbook.opensearch.OpenSearchLogStoreTest.queryWithTaskId()
2024-02-05 13:41:29,196 INFO o.a.b.t.s.LoggingVerboseReporter
TESTNG PASSED: "Surefire test" -
org.apache.brooklyn.util.core.logbook.opensearch.OpenSearchLogStoreTest.queryWithTaskId()
finished in 24 ms
2024-02-05 13:41:29,196 INFO o.a.b.t.s.LoggingVerboseReporter
TESTNG INVOKING: "Surefire test" -
org.apache.brooklyn.util.core.logbook.opensearch.OpenSearchLogStoreTest.queryWithTimeRange()
2024-02-05 13:41:29,196 INFO o.a.b.t.s.LoggingVerboseReporter
TESTNG PASSED: "Surefire test" -
org.apache.brooklyn.util.core.logbook.opensearch.OpenSearchLogStoreTest.queryWithTimeRange()
finished in 24 ms
2024-02-05 13:41:29,197 INFO o.a.b.t.s.LoggingVerboseReporter
TESTNG INVOKING: "Surefire test" -
org.apache.brooklyn.util.core.logbook.opensearch.OpenSearchLogStoreTest.queryWithTaskIdAndPhrase()
2024-02-05 13:41:29,197 INFO o.a.b.t.s.LoggingVerboseReporter
TESTNG PASSED: "Surefire test" -
org.apache.brooklyn.util.core.logbook.opensearch.OpenSearchLogStoreTest.queryWithTaskIdAndPhrase()
finished in 24 ms
2024-02-05 13:41:29,197 INFO o.a.b.t.s.LoggingVerboseReporter
TESTNG INVOKING: "Surefire test" -
org.apache.brooklyn.util.core.logbook.opensearch.OpenSearchLogStoreTest.queryWithTwoLogLevel()
2024-02-05 13:41:29,198 INFO o.a.b.t.s.LoggingVerboseReporter
TESTNG PASSED: "Surefire test" -
org.apache.brooklyn.util.core.logbook.opensearch.OpenSearchLogStoreTest.queryWithTwoLogLevel()
finished in 25 ms
2024-02-05 13:41:29,199 INFO o.a.b.t.s.LoggingVerboseReporter
TESTNG INVOKING: "Surefire test" -
org.apache.brooklyn.util.core.logbook.opensearch.OpenSearchLogStoreTest.queryWithOneLogLevelAndRange()
2024-02-05 13:41:29,199 INFO o.a.b.t.s.LoggingVerboseReporter
TESTNG PASSED: "Surefire test" -
org.apache.brooklyn.util.core.logbook.opensearch.OpenSearchLogStoreTest.queryWithOneLogLevelAndRange()
finished in 26 ms
2024-02-05 13:41:29,199 INFO o.a.b.t.s.LoggingVerboseReporter
TESTNG INVOKING: "Surefire test" -
org.apache.brooklyn.util.core.logbook.opensearch.OpenSearchLogStoreTest.queryWithDateTimeFrom()
2024-02-05 13:41:29,199 INFO o.a.b.t.s.LoggingVerboseReporter
TESTNG PASSED: "Surefire test" -
org.apache.brooklyn.util.core.logbook.opensearch.OpenSearchLogStoreTest.queryWithDateTimeFrom()
finished in 26 ms
2024-02-05 13:41:29,199 INFO o.a.b.t.s.LoggingVerboseReporter
TESTNG INVOKING: "Surefire test" -
org.apache.brooklyn.util.core.logbook.opensearch.OpenSearchLogStoreTest.queryWithTwoLogLevelAndRange()
2024-02-05 13:41:29,200 INFO o.a.b.t.s.LoggingVerboseReporter
TESTNG PASSED: "Surefire test" -
org.apache.brooklyn.util.core.logbook.opensearch.OpenSearchLogStoreTest.queryWithTwoLogLevelAndRange()
finished in 27 ms
2024-02-05 13:41:29,200 INFO o.a.b.t.s.LoggingVerboseReporter
TESTNG INVOKING: "Surefire test" -
org.apache.brooklyn.util.core.logbook.opensearch.OpenSearchLogStoreTest.queryWithTailRequest()
2024-02-05 13:41:29,200 INFO o.a.b.t.s.LoggingVerboseReporter
TESTNG PASSED: "Surefire test" -
org.apache.brooklyn.util.core.logbook.opensearch.OpenSearchLogStoreTest.queryWithTailRequest()
finished in 27 ms
2024-02-05 13:41:29,216 INFO o.a.b.t.s.LoggingVerboseReporter
TESTNG
===============================================
Surefire test
Tests run: 12, Failures: 0, Skips: 0
===============================================
Tests run: 2727, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 810.955 sec
<<< FAILURE! - in TestSuite
testCustomWorkflowLockInterrupted(org.apache.brooklyn.core.workflow.WorkflowNestedAndCustomExtensionTest)
Time elapsed: 29.261 sec <<< FAILURE!
java.lang.AssertionError:
Workflow task should have finished: Waiting on: Task[1 - workflow]@oV7fZHAs
Known as: Task[myWorkflow (workflow effector) (Resumed dangling on server
restart)]@EJZLPh7K
Submitted by: Task[Resuming with failure 9 interrupted workflows]@FnTYVaIT
Children:
Task[1 - workflow]@oV7fZHAs: Waiting on: Task[Sub-workflow (Resumed dangling
on server restart)]@YaDGki8j
Thread waiting (notify) on java.util.concurrent.FutureTask@20c9e41f
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:1524)
org.apache.brooklyn.core.workflow.WorkflowExecutionContext$Body.callSteps(WorkflowExecutionContext.java:1100)
org.apache.brooklyn.core.workflow.WorkflowExecutionContext$Body$$Lambda$574/315284703.call(Unknown
Source)
org.apache.brooklyn.core.workflow.WorkflowExecutionContext$Body.callWithLock(WorkflowExecutionContext.java:1033)
org.apache.brooklyn.core.workflow.WorkflowExecutionContext$Body.call(WorkflowExecutionContext.java:955)
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:569)
testCustomWorkflowLockInterruptedNoAutoReplay(org.apache.brooklyn.core.workflow.WorkflowNestedAndCustomExtensionTest)
Time elapsed: 33.496 sec <<< FAILURE!
org.apache.brooklyn.util.exceptions.PropagatedRuntimeException:
at
org.apache.brooklyn.core.workflow.WorkflowNestedAndCustomExtensionTest.testCustomWorkflowLockInterruptedNoAutoReplay(WorkflowNestedAndCustomExtensionTest.java:601)
Caused by: java.util.concurrent.TimeoutException
at
org.apache.brooklyn.core.workflow.WorkflowNestedAndCustomExtensionTest.testCustomWorkflowLockInterruptedNoAutoReplay(WorkflowNestedAndCustomExtensionTest.java:601)
2024-02-05 13:41:29,377 INFO o.a.b.c.m.i.BrooklynShutdownHooks
Brooklyn shutdown: stopping entities [TestEntityImpl{id=s5oj1stgpc},
TestEntityImpl{id=i2j8au5t9i}, BlockingEntityImpl{id=qwg6xzoyuk}]
Results :
Failed tests:
WorkflowNestedAndCustomExtensionTest.testCustomWorkflowLockInterrupted:569
Workflow task should have finished: Waiting on: Task[1 - workflow]@oV7fZHAs
Known as: Task[myWorkflow (workflow effector) (Resumed dangling on server
restart)]@EJZLPh7K
Submitted by: Task[Resuming with failure 9 interrupted workflows]@FnTYVaIT
Children:
Task[1 - workflow]@oV7fZHAs: Waiting on: Task[Sub-workflow (Resumed dangling
on server restart)]@YaDGki8j
Thread waiting (notify) on java.util.concurrent.FutureTask@20c9e41f
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:1524)
org.apache.brooklyn.core.workflow.WorkflowExecutionContext$Body.callSteps(WorkflowExecutionContext.java:1100)
org.apache.brooklyn.core.workflow.WorkflowExecutionContext$Body$$Lambda$574/315284703.call(Unknown
Source)
org.apache.brooklyn.core.workflow.WorkflowExecutionContext$Body.callWithLock(WorkflowExecutionContext.java:1033)
org.apache.brooklyn.core.workflow.WorkflowExecutionContext$Body.call(WorkflowExecutionContext.java:955)
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:601
» PropagatedRuntime
Tests run: 2727, Failures: 2, Errors: 0, Skipped: 0
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Brooklyn Server Root ............................... SUCCESS [ 12.487 s]
[INFO] Brooklyn Parent Project ............................ SUCCESS [ 24.421 s]
[INFO] Brooklyn Test Support Utilities .................... SUCCESS [ 19.063 s]
[INFO] Brooklyn Logback Includable Configuration .......... SUCCESS [ 1.361 s]
[INFO] Brooklyn Common Utilities .......................... SUCCESS [01:04 min]
[INFO] Brooklyn API ....................................... SUCCESS [ 6.860 s]
[INFO] CAMP Server Parent Project ......................... SUCCESS [ 0.652 s]
[INFO] CAMP Base .......................................... SUCCESS [ 5.835 s]
[INFO] Brooklyn Test Support .............................. SUCCESS [ 4.510 s]
[INFO] Brooklyn REST Swagger Apidoc Utilities ............. SUCCESS [ 5.294 s]
[INFO] Brooklyn Logback Configuration ..................... SUCCESS [ 0.450 s]
[INFO] CAMP Server ........................................ SUCCESS [ 16.461 s]
[INFO] Brooklyn Felix Runtime ............................. SUCCESS [ 6.265 s]
[INFO] Brooklyn Groovy Utilities .......................... SUCCESS [ 4.048 s]
[INFO] Brooklyn Core ...................................... FAILURE [15:48 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: 19:01 min
[INFO] Finished at: 2024-02-05T13:41:30Z
[INFO] Final Memory: 82M/1350M
[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 <goals> -rf :brooklyn-core
[Pipeline] }
$ docker stop --time=1
42d2113469ef97f22e656dee16fad4b25b8d1b852a491071140d68ffc34eae35
$ docker rm -f --volumes
42d2113469ef97f22e656dee16fad4b25b8d1b852a491071140d68ffc34eae35
[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/540/testng/testng-results-1.xml'
Processing
'/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn-server/branches/master/builds/540/testng/testng-results-2.xml'
Processing
'/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn-server/branches/master/builds/540/testng/testng-results-3.xml'
Processing
'/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn-server/branches/master/builds/540/testng/testng-results-4.xml'
Processing
'/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn-server/branches/master/builds/540/testng/testng-results-5.xml'
Processing
'/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn-server/branches/master/builds/540/testng/testng-results-6.xml'
Processing
'/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn-server/branches/master/builds/540/testng/testng-results-7.xml'
Processing
'/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn-server/branches/master/builds/540/testng/testng-results.xml'
0.059242% 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