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 2021/07/15 14:19:49 UTC

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

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

Changes:


------------------------------------------
[...truncated 28419 lines...]
	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:198)
	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)

2021-07-15 14:19:31,299 WARN  - Management Context LocalManagementContext[?-v2NWCA2g] running, creation stacktrace:
java.lang.Throwable: for construction stacktrace
	at org.apache.brooklyn.core.mgmt.internal.LocalManagementContext.<init>(LocalManagementContext.java:141)
	at org.apache.brooklyn.core.mgmt.internal.LocalManagementContext.<init>(LocalManagementContext.java:163)
	at org.apache.brooklyn.core.mgmt.internal.LocalManagementContext.<init>(LocalManagementContext.java:159)
	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.test.entity.LocalManagementContextForTests.newInstance(LocalManagementContextForTests.java:200)
	at org.apache.brooklyn.util.core.logbook.file.FileLogStoreTest.testQueryLogSampleWithLogLevels(FileLogStoreTest.java:297)
	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 junit.framework.TestCase.runTest(TestCase.java:176)
	at junit.framework.TestCase.runBare(TestCase.java:141)
	at junit.framework.TestResult$1.protect(TestResult.java:122)
	at junit.framework.TestResult.runProtected(TestResult.java:142)
	at junit.framework.TestResult.run(TestResult.java:125)
	at junit.framework.TestCase.run(TestCase.java:129)
	at junit.framework.TestSuite.runTest(TestSuite.java:252)
	at junit.framework.TestSuite.run(TestSuite.java:247)
	at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:86)
	at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
	at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
	at org.testng.junit.JUnit4TestRunner.start(JUnit4TestRunner.java:80)
	at org.testng.junit.JUnit4TestRunner.run(JUnit4TestRunner.java:65)
	at org.testng.TestRunner$1.run(TestRunner.java:650)
	at java.util.ArrayList.forEach(ArrayList.java:1249)
	at org.testng.TestRunner.runJUnitWorkers(TestRunner.java:841)
	at org.testng.TestRunner.privateRunJUnit(TestRunner.java:679)
	at org.testng.TestRunner.run(TestRunner.java:583)
	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:198)
	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)

2021-07-15 14:19:31,299 WARN  - Management Context LocalManagementContext[?-RRUVdQp0] running, creation stacktrace:
java.lang.Throwable: for construction stacktrace
	at org.apache.brooklyn.core.mgmt.internal.LocalManagementContext.<init>(LocalManagementContext.java:141)
	at org.apache.brooklyn.core.mgmt.internal.LocalManagementContext.<init>(LocalManagementContext.java:163)
	at org.apache.brooklyn.core.mgmt.internal.LocalManagementContext.<init>(LocalManagementContext.java:159)
	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.test.entity.LocalManagementContextForTests.newInstance(LocalManagementContextForTests.java:200)
	at org.apache.brooklyn.util.core.logbook.file.FileLogStoreTest.testQueryTailOfLogSample(FileLogStoreTest.java:208)
	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 junit.framework.TestCase.runTest(TestCase.java:176)
	at junit.framework.TestCase.runBare(TestCase.java:141)
	at junit.framework.TestResult$1.protect(TestResult.java:122)
	at junit.framework.TestResult.runProtected(TestResult.java:142)
	at junit.framework.TestResult.run(TestResult.java:125)
	at junit.framework.TestCase.run(TestCase.java:129)
	at junit.framework.TestSuite.runTest(TestSuite.java:252)
	at junit.framework.TestSuite.run(TestSuite.java:247)
	at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:86)
	at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
	at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
	at org.testng.junit.JUnit4TestRunner.start(JUnit4TestRunner.java:80)
	at org.testng.junit.JUnit4TestRunner.run(JUnit4TestRunner.java:65)
	at org.testng.TestRunner$1.run(TestRunner.java:650)
	at java.util.ArrayList.forEach(ArrayList.java:1249)
	at org.testng.TestRunner.runJUnitWorkers(TestRunner.java:841)
	at org.testng.TestRunner.privateRunJUnit(TestRunner.java:679)
	at org.testng.TestRunner.run(TestRunner.java:583)
	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:198)
	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)

2021-07-15 14:19:31,300 INFO  - 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/jenkins-agent/workspace/Brooklyn_brooklyn-server_master/core/target/surefire-reports/testng-junit-results/Surefire suite: 8 ManagementContexts terminated
2021-07-15 14:19:31,300 INFO  - TESTNG 
===============================================
    Surefire test
    Tests run: 21, Failures: 0, Skips: 0
===============================================
Tests run: 2446, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 224.999 sec <<< FAILURE! - in TestSuite
testIfNodeStopsBeingAbleToWrite(org.apache.brooklyn.core.mgmt.ha.HighAvailabilityManagerSplitBrainTest)  Time elapsed: 0.112 sec  <<< FAILURE!
java.lang.AssertionError: expected [FAILED] but found [MASTER]
	at org.apache.brooklyn.core.mgmt.ha.HighAvailabilityManagerSplitBrainTest.testIfNodeStopsBeingAbleToWrite(HighAvailabilityManagerSplitBrainTest.java:346)

testGetManagementPlaneSyncStateInfersTimedOutNodeAsFailed(org.apache.brooklyn.core.mgmt.ha.HighAvailabilityManagerFileBasedTest)  Time elapsed: 0.229 sec  <<< FAILURE!
java.lang.AssertionError: expected [FAILED] but found [MASTER]

testGetManagementPlaneSyncStateInfersTimedOutNodeAsFailed(org.apache.brooklyn.core.mgmt.ha.HighAvailabilityManagerInMemoryTest)  Time elapsed: 0.025 sec  <<< FAILURE!
java.lang.AssertionError: expected [FAILED] but found [MASTER]

2021-07-15 14:19:31,339 INFO  - Brooklyn shutdown: stopping entities [TestEntityImpl{id=qf96909dco}, TestEntityImpl{id=f6frebjv15}, BlockingEntityImpl{id=u6kmfk6xlp}]

Results :

Failed tests: 
  HighAvailabilityManagerFileBasedTest>HighAvailabilityManagerTestFixture.testGetManagementPlaneSyncStateInfersTimedOutNodeAsFailed:248 expected [FAILED] but found [MASTER]
  HighAvailabilityManagerInMemoryTest>HighAvailabilityManagerTestFixture.testGetManagementPlaneSyncStateInfersTimedOutNodeAsFailed:248 expected [FAILED] but found [MASTER]
  HighAvailabilityManagerSplitBrainTest.testIfNodeStopsBeingAbleToWrite:346 expected [FAILED] but found [MASTER]

Tests run: 2446, Failures: 3, Errors: 0, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Brooklyn Server Root ............................... SUCCESS [  1.064 s]
[INFO] Brooklyn Parent Project ............................ SUCCESS [  3.187 s]
[INFO] Brooklyn Test Support Utilities .................... SUCCESS [  5.410 s]
[INFO] Brooklyn Logback Includable Configuration .......... SUCCESS [  0.488 s]
[INFO] Brooklyn Common Utilities .......................... SUCCESS [ 27.317 s]
[INFO] Brooklyn API ....................................... SUCCESS [  2.317 s]
[INFO] CAMP Server Parent Project ......................... SUCCESS [  0.188 s]
[INFO] CAMP Base .......................................... SUCCESS [  3.429 s]
[INFO] Brooklyn Test Support .............................. SUCCESS [  3.533 s]
[INFO] Brooklyn REST Swagger Apidoc Utilities ............. SUCCESS [  2.214 s]
[INFO] Brooklyn Logback Configuration ..................... SUCCESS [  0.249 s]
[INFO] CAMP Server ........................................ SUCCESS [  6.530 s]
[INFO] Brooklyn Felix Runtime ............................. SUCCESS [  3.161 s]
[INFO] Brooklyn Groovy Utilities .......................... SUCCESS [  3.267 s]
[INFO] Brooklyn Core ...................................... FAILURE [04:40 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: 05:45 min
[INFO] Finished at: 2021-07-15T14:19:31Z
[INFO] Final Memory: 85M/2678M
[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/jenkins-agent/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 5a24323d02a9b31abc1241e1d45169acde1cf433fa3566fe32b192c85e0b9aec
$ docker rm -f 5a24323d02a9b31abc1241e1d45169acde1cf433fa3566fe32b192c85e0b9aec
[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] step
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/131/testng/testng-results-1.xml'
Processing '/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn-server/branches/master/builds/131/testng/testng-results-2.xml'
Processing '/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn-server/branches/master/builds/131/testng/testng-results-3.xml'
Processing '/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn-server/branches/master/builds/131/testng/testng-results-4.xml'
Processing '/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn-server/branches/master/builds/131/testng/testng-results-5.xml'
Processing '/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn-server/branches/master/builds/131/testng/testng-results-6.xml'
Processing '/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn-server/branches/master/builds/131/testng/testng-results-7.xml'
Processing '/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn-server/branches/master/builds/131/testng/testng-results.xml'
0.097561% 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