You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brooklyn.apache.org by Apache Jenkins Server <je...@builds.apache.org> on 2025/09/17 13:32:37 UTC

Build failed in Jenkins: Brooklyn » Brooklyn - Server module » master #605

See <https://ci-builds.apache.org/job/Brooklyn/job/brooklyn-server/job/master/605/display/redirect>

Changes:


------------------------------------------
[...truncated 67494 lines...]
	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.TestInvoker.runConfigMethods(TestInvoker.java:701)
	at org.testng.internal.TestInvoker.invokeMethod(TestInvoker.java:527)
	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)

2025-09-17 13:32:17,341 WARN  t.r.usage                                         Management Context LocalManagementContext[?-gvL6dBCx] 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.camp.brooklyn.AbstractYamlTest.newTestManagementContext(AbstractYamlTest.java:122)
	at org.apache.brooklyn.camp.brooklyn.AbstractYamlTest$1.newMgmtContext(AbstractYamlTest.java:108)
	at org.apache.brooklyn.camp.brooklyn.BrooklynCampPlatformLauncherAbstract.launch(BrooklynCampPlatformLauncherAbstract.java:48)
	at org.apache.brooklyn.camp.brooklyn.AbstractYamlTest.setUpPlatform(AbstractYamlTest.java:111)
	at org.apache.brooklyn.camp.brooklyn.AbstractYamlTest.setUp(AbstractYamlTest.java:100)
	at sun.reflect.GeneratedMethodAccessor102.invoke(Unknown Source)
	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.TestInvoker.runConfigMethods(TestInvoker.java:701)
	at org.testng.internal.TestInvoker.invokeMethod(TestInvoker.java:527)
	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)

2025-09-17 13:32:17,341 WARN  t.r.usage                                         Management Context LocalManagementContext[?-jVwhNqyz] 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.camp.brooklyn.AbstractYamlTest.newTestManagementContext(AbstractYamlTest.java:122)
	at org.apache.brooklyn.camp.brooklyn.AbstractYamlTest$1.newMgmtContext(AbstractYamlTest.java:108)
	at org.apache.brooklyn.camp.brooklyn.BrooklynCampPlatformLauncherAbstract.launch(BrooklynCampPlatformLauncherAbstract.java:48)
	at org.apache.brooklyn.camp.brooklyn.AbstractYamlTest.setUpPlatform(AbstractYamlTest.java:111)
	at org.apache.brooklyn.camp.brooklyn.AbstractYamlTest.setUp(AbstractYamlTest.java:100)
	at sun.reflect.GeneratedMethodAccessor102.invoke(Unknown Source)
	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.TestInvoker.runConfigMethods(TestInvoker.java:701)
	at org.testng.internal.TestInvoker.invokeMethod(TestInvoker.java:527)
	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)

2025-09-17 13:32:17,342 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/camp/camp-brooklyn/target/surefire-reports/Surefire suite: 4 ManagementContexts terminated
[GC (Allocation Failure)  432311K->286196K(730112K), 0.0168690 secs]
2025-09-17 13:32:17,530 WARN  o.a.b.u.c.t.BasicTask                             Task[List iptables rules]@ER7MAVGD was never submitted; did the code create it and forget to run it? ('cancel' the task to suppress this message)
2025-09-17 13:32:17,532 WARN  o.a.b.u.c.t.BasicTask                             Task[Inserting iptables rules]@PEfCom5e was never submitted; did the code create it and forget to run it? ('cancel' the task to suppress this message)
2025-09-17 13:32:17,532 WARN  o.a.b.u.c.t.BasicTask                             Task[using urandom instead of random]@UPVuH53b was never submitted; did the code create it and forget to run it? ('cancel' the task to suppress this message)
Tests run: 1085, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 215.058 sec <<< FAILURE! - in TestSuite
testSelectionModeBestReelectWithPreference(org.apache.brooklyn.camp.brooklyn.test.policy.failover.ElectPrimaryTest)  Time elapsed: 0.248 sec  <<< FAILURE!
java.lang.AssertionError: entity=BasicApplicationImpl{id=ervdbh44c3}; attribute=Sensor: primary (org.apache.brooklyn.api.entity.Entity) expected [TestEntityImpl{id=x87xhzgppe, name=a}] but found [null]
	at org.apache.brooklyn.camp.brooklyn.test.policy.failover.ElectPrimaryTest.runSelectionModeTest(ElectPrimaryTest.java:348)
	at org.apache.brooklyn.camp.brooklyn.test.policy.failover.ElectPrimaryTest.testSelectionModeBestReelectWithPreference(ElectPrimaryTest.java:306)


Results :

Failed tests: 
  ElectPrimaryTest.testSelectionModeBestReelectWithPreference:306->runSelectionModeTest:348 entity=BasicApplicationImpl{id=ervdbh44c3}; attribute=Sensor: primary (org.apache.brooklyn.api.entity.Entity) expected [TestEntityImpl{id=x87xhzgppe, name=a}] but found [null]

Tests run: 1085, Failures: 1, Errors: 0, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Brooklyn Server Root 1.2.0-SNAPSHOT:
[INFO] 
[INFO] Brooklyn Server Root ............................... SUCCESS [  2.914 s]
[INFO] Brooklyn Parent Project ............................ SUCCESS [  5.019 s]
[INFO] Brooklyn Test Support Utilities .................... SUCCESS [  5.725 s]
[INFO] Brooklyn Logback Includable Configuration .......... SUCCESS [  0.485 s]
[INFO] Brooklyn Common Utilities .......................... SUCCESS [ 29.550 s]
[INFO] Brooklyn API ....................................... SUCCESS [  2.804 s]
[INFO] CAMP Server Parent Project ......................... SUCCESS [  0.349 s]
[INFO] CAMP Base .......................................... SUCCESS [  3.794 s]
[INFO] Brooklyn Test Support .............................. SUCCESS [  3.039 s]
[INFO] Brooklyn REST Swagger Apidoc Utilities ............. SUCCESS [  2.007 s]
[INFO] Brooklyn Logback Configuration ..................... SUCCESS [  0.262 s]
[INFO] CAMP Server ........................................ SUCCESS [  6.129 s]
[INFO] Brooklyn Felix Runtime ............................. SUCCESS [  3.532 s]
[INFO] Brooklyn Groovy Utilities .......................... SUCCESS [  2.815 s]
[INFO] Brooklyn Core ...................................... SUCCESS [08:40 min]
[INFO] Brooklyn Policies .................................. SUCCESS [ 46.386 s]
[INFO] Brooklyn WinRM Software Entities ................... SUCCESS [ 10.894 s]
[INFO] Brooklyn Secure JMXMP Agent ........................ SUCCESS [  8.808 s]
[INFO] Brooklyn JMX RMI Agent ............................. SUCCESS [  0.564 s]
[INFO] Brooklyn Jclouds Location Targets .................. SUCCESS [ 42.900 s]
[INFO] Brooklyn Software Base ............................. SUCCESS [01:56 min]
[INFO] Brooklyn CAMP ...................................... FAILURE [03:45 min]
[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:  17:23 min
[INFO] Finished at: 2025-09-17T13:32:19Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on project brooklyn-camp: There are test failures.
[ERROR] 
[ERROR] Please refer to /home/jenkins/workspace/Brooklyn_brooklyn-server_master/camp/camp-brooklyn/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-camp
[Pipeline] }
$ docker stop --time=1 4ad2559a023d6011908d269a1161ab759d0cb8c1d0aeccd8882565079aa4a64d
$ docker rm -f --volumes 4ad2559a023d6011908d269a1161ab759d0cb8c1d0aeccd8882565079aa4a64d
[Pipeline] // withDockerContainer
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
ERROR: script returned exit code 1
Setting overall build result to FAILURE
[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
Saving reports...
Processing '/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn-server/branches/master/builds/605/testng/testng-results-1.xml'
Processing '/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn-server/branches/master/builds/605/testng/testng-results-10.xml'
Processing '/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn-server/branches/master/builds/605/testng/testng-results-11.xml'
Processing '/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn-server/branches/master/builds/605/testng/testng-results-12.xml'
Processing '/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn-server/branches/master/builds/605/testng/testng-results-13.xml'
Processing '/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn-server/branches/master/builds/605/testng/testng-results-2.xml'
Processing '/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn-server/branches/master/builds/605/testng/testng-results-3.xml'
Processing '/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn-server/branches/master/builds/605/testng/testng-results-4.xml'
Processing '/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn-server/branches/master/builds/605/testng/testng-results-5.xml'
Processing '/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn-server/branches/master/builds/605/testng/testng-results-6.xml'
Processing '/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn-server/branches/master/builds/605/testng/testng-results-7.xml'
Processing '/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn-server/branches/master/builds/605/testng/testng-results-8.xml'
Processing '/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn-server/branches/master/builds/605/testng/testng-results-9.xml'
Processing '/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn-server/branches/master/builds/605/testng/testng-results.xml'
0.019600% 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