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

Changes:


------------------------------------------
[...truncated 63745 lines...]
        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-10-07 09:23:02,635 WARN  t.r.usage                                         
Management Context LocalManagementContext[?-ofqkLXb0] 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.testQueryLogSampleWithSearchSinglePhrase(FileLogStoreTest.java:244)
        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-10-07 09:23:02,635 WARN  t.r.usage                                         
Management Context LocalManagementContext[?-r1zZfxoD] 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.testQueryLogSampleWithTaskId(FileLogStoreTest.java:272)
        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-10-07 09:23:02,637 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-junit-results/Surefire
 suite: 13 ManagementContexts terminated
2021-10-07 09:23:02,637 INFO  o.a.b.t.s.LoggingVerboseReporter                  
TESTNG 
===============================================
    Surefire test
    Tests run: 30, Failures: 0, Skips: 0
===============================================
Tests run: 2463, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 322.735 sec 
<<< FAILURE! - in TestSuite
testHttpFeedRegisteredInInitIsPersistedAndFeedsStop(org.apache.brooklyn.core.mgmt.rebind.RebindFeedTest)
  Time elapsed: 35.387 sec  <<< FAILURE!
java.lang.AssertionError: failed succeeds-eventually, 75 attempts, 30001ms 
elapsed: AssertionError: entity=MyEntityWithHttpFeedImpl{id=p0kr2iaptd}; 
attribute=Sensor: aLong (java.lang.Integer) expected [200] but found [null]
        at 
org.apache.brooklyn.core.mgmt.rebind.RebindFeedTest.testHttpFeedRegisteredInInitIsPersistedAndFeedsStop(RebindFeedTest.java:127)
Caused by: java.lang.AssertionError: 
entity=MyEntityWithHttpFeedImpl{id=p0kr2iaptd}; attribute=Sensor: aLong 
(java.lang.Integer) expected [200] but found [null]
        at 
org.apache.brooklyn.core.mgmt.rebind.RebindFeedTest.testHttpFeedRegisteredInInitIsPersistedAndFeedsStop(RebindFeedTest.java:127)

2021-10-07 09:23:02,680 INFO  o.a.b.c.m.i.BrooklynShutdownHooks                 
Brooklyn shutdown: stopping entities [TestEntityImpl{id=bnw79lhplp}, 
TestEntityImpl{id=iqq2vm3he8}, BlockingEntityImpl{id=i6knv31xbw}]

Results :

Failed tests: 
  RebindFeedTest.testHttpFeedRegisteredInInitIsPersistedAndFeedsStop:127 failed 
succeeds-eventually, 75 attempts, 30001ms elapsed: AssertionError: 
entity=MyEntityWithHttpFeedImpl{id=p0kr2iaptd}; attribute=Sensor: aLong 
(java.lang.Integer) expected [200] but found [null]

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

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Brooklyn Server Root ............................... SUCCESS [  5.258 s]
[INFO] Brooklyn Parent Project ............................ SUCCESS [  6.424 s]
[INFO] Brooklyn Test Support Utilities .................... SUCCESS [ 13.396 s]
[INFO] Brooklyn Logback Includable Configuration .......... SUCCESS [  0.446 s]
[INFO] Brooklyn Common Utilities .......................... SUCCESS [ 43.687 s]
[INFO] Brooklyn API ....................................... SUCCESS [  4.621 s]
[INFO] CAMP Server Parent Project ......................... SUCCESS [  0.142 s]
[INFO] CAMP Base .......................................... SUCCESS [  4.763 s]
[INFO] Brooklyn Test Support .............................. SUCCESS [  2.968 s]
[INFO] Brooklyn REST Swagger Apidoc Utilities ............. SUCCESS [ 19.171 s]
[INFO] Brooklyn Logback Configuration ..................... SUCCESS [  0.267 s]
[INFO] CAMP Server ........................................ SUCCESS [ 22.443 s]
[INFO] Brooklyn Felix Runtime ............................. SUCCESS [  6.856 s]
[INFO] Brooklyn Groovy Utilities .......................... SUCCESS [  2.810 s]
[INFO] Brooklyn Core ...................................... FAILURE [06:31 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: 08:54 min
[INFO] Finished at: 2021-10-07T09:23:03Z
[INFO] Final Memory: 93M/2606M
[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 
47cf621e31cc023693cbe7292b0d14d904c87dff054700d9e07ef11eb138f701
$ docker rm -f 47cf621e31cc023693cbe7292b0d14d904c87dff054700d9e07ef11eb138f701
[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
Saving reports...
Processing 
'/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn-server/branches/master/builds/239/testng/testng-results-1.xml'
Processing 
'/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn-server/branches/master/builds/239/testng/testng-results-2.xml'
Processing 
'/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn-server/branches/master/builds/239/testng/testng-results-3.xml'
Processing 
'/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn-server/branches/master/builds/239/testng/testng-results-4.xml'
Processing 
'/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn-server/branches/master/builds/239/testng/testng-results-5.xml'
Processing 
'/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn-server/branches/master/builds/239/testng/testng-results-6.xml'
Processing 
'/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn-server/branches/master/builds/239/testng/testng-results-7.xml'
Processing 
'/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn-server/branches/master/builds/239/testng/testng-results.xml'
0.032279% 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

Reply via email to