OSDir


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Build failed in Jenkins: brooklyn-master-build-docker #485


See <https://builds.apache.org/job/brooklyn-master-build-docker/485/display/redirect?page=changes>

Changes:

[eirinikos] edit Brooklyn license info so that GitHub recognizes it

------------------------------------------
[...truncated 10.46 MB...]
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:382)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1293)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1218)
	at org.testng.TestNG.runSuites(TestNG.java:1133)
	at org.testng.TestNG.run(TestNG.java:1104)
	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)

2018-06-22 08:47:21,588 WARN  - Management Context LocalManagementContext[?-M7WtqoOt] 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.camp.brooklyn.AbstractYamlTest.newTestManagementContext(AbstractYamlTest.java:117)
	at org.apache.brooklyn.camp.brooklyn.AbstractYamlTest$1.newMgmtContext(AbstractYamlTest.java:103)
	at org.apache.brooklyn.camp.brooklyn.BrooklynCampPlatformLauncherAbstract.launch(BrooklynCampPlatformLauncherAbstract.java:48)
	at org.apache.brooklyn.camp.brooklyn.AbstractYamlTest.setUpPlatform(AbstractYamlTest.java:106)
	at org.apache.brooklyn.camp.brooklyn.AbstractYamlTest.setUp(AbstractYamlTest.java:95)
	at sun.reflect.GeneratedMethodAccessor24.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:104)
	at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:515)
	at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:217)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:590)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:851)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1177)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:129)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)
	at org.testng.TestRunner.privateRun(TestRunner.java:756)
	at org.testng.TestRunner.run(TestRunner.java:610)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:387)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:382)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1293)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1218)
	at org.testng.TestNG.runSuites(TestNG.java:1133)
	at org.testng.TestNG.run(TestNG.java:1104)
	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)

2018-06-22 08:47:21,588 WARN  - Management Context LocalManagementContext[?-eKWa8ODe] 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.camp.brooklyn.AbstractYamlTest.newTestManagementContext(AbstractYamlTest.java:117)
	at org.apache.brooklyn.camp.brooklyn.AbstractYamlTest$1.newMgmtContext(AbstractYamlTest.java:103)
	at org.apache.brooklyn.camp.brooklyn.BrooklynCampPlatformLauncherAbstract.launch(BrooklynCampPlatformLauncherAbstract.java:48)
	at org.apache.brooklyn.camp.brooklyn.AbstractYamlTest.setUpPlatform(AbstractYamlTest.java:106)
	at org.apache.brooklyn.camp.brooklyn.AbstractYamlTest.setUp(AbstractYamlTest.java:95)
	at sun.reflect.GeneratedMethodAccessor24.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:104)
	at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:515)
	at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:217)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:590)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:851)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1177)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:129)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)
	at org.testng.TestRunner.privateRun(TestRunner.java:756)
	at org.testng.TestRunner.run(TestRunner.java:610)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:387)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:382)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1293)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1218)
	at org.testng.TestNG.runSuites(TestNG.java:1133)
	at org.testng.TestNG.run(TestNG.java:1104)
	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)

2018-06-22 08:47:21,589 INFO  - BrooklynLeakListener.onFinish attempting to terminate all extant ManagementContexts: name=Surefire test; includedGroups=[]; excludedGroups=[Integration, Acceptance, Live, Live-sanity, WIP, Broken]; suiteName=Surefire suite; outDir=/usr/build/brooklyn-server/camp/camp-brooklyn/target/surefire-reports/Surefire suite: 4 ManagementContexts terminated
2018-06-22 08:47:21,590 INFO  - TESTNG 
===============================================
    Surefire test
    Tests run: 801, Failures: 1, Skips: 0
===============================================
[GC (Allocation Failure)  387073K->212874K(747008K), 0.0445514 secs]
Tests run: 801, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 165.696 sec <<< FAILURE! - in TestSuite
testDisableSshPolling(org.apache.brooklyn.camp.brooklyn.VanillaSoftwareProcessYamlTest)  Time elapsed: 31.345 sec  <<< FAILURE!
java.lang.AssertionError: failed succeeds-eventually, 75 attempts, 30001ms elapsed: AssertionError: actual=[created, starting, running, starting, running]; expected=[created, starting, running]: lists don't have the same size expected [3] but found [5]
	at org.apache.brooklyn.camp.brooklyn.VanillaSoftwareProcessYamlTest.assertEventsEqualEventually(VanillaSoftwareProcessYamlTest.java:261)
	at org.apache.brooklyn.camp.brooklyn.VanillaSoftwareProcessYamlTest.testDisableSshPolling(VanillaSoftwareProcessYamlTest.java:173)
Caused by: java.lang.AssertionError: actual=[created, starting, running, starting, running]; expected=[created, starting, running]: lists don't have the same size expected [3] but found [5]
	at org.apache.brooklyn.camp.brooklyn.VanillaSoftwareProcessYamlTest.assertIterablesEqual(VanillaSoftwareProcessYamlTest.java:278)
	at org.apache.brooklyn.camp.brooklyn.VanillaSoftwareProcessYamlTest.access$100(VanillaSoftwareProcessYamlTest.java:64)
	at org.apache.brooklyn.camp.brooklyn.VanillaSoftwareProcessYamlTest.assertEventsEqualEventually(VanillaSoftwareProcessYamlTest.java:261)
	at org.apache.brooklyn.camp.brooklyn.VanillaSoftwareProcessYamlTest.testDisableSshPolling(VanillaSoftwareProcessYamlTest.java:173)


Results :

Failed tests: 
  VanillaSoftwareProcessYamlTest.testDisableSshPolling:173->assertEventsEqualEventually:261 failed succeeds-eventually, 75 attempts, 30001ms elapsed: AssertionError: actual=[created, starting, running, starting, running]; expected=[created, starting, running]: lists don't have the same size expected [3] but found [5]

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

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Brooklyn REST JavaScript Web GUI ................... SUCCESS [ 39.960 s]
[INFO] Brooklyn Server Root ............................... SUCCESS [  0.507 s]
[INFO] Brooklyn Parent Project ............................ SUCCESS [  3.699 s]
[INFO] Brooklyn Test Support Utilities .................... SUCCESS [  5.698 s]
[INFO] Brooklyn Logback Includable Configuration .......... SUCCESS [  0.311 s]
[INFO] Brooklyn Common Utilities .......................... SUCCESS [ 25.506 s]
[INFO] Brooklyn API ....................................... SUCCESS [  1.322 s]
[INFO] CAMP Server Parent Project ......................... SUCCESS [  0.094 s]
[INFO] CAMP Base .......................................... SUCCESS [  3.554 s]
[INFO] Brooklyn Test Support .............................. SUCCESS [  0.991 s]
[INFO] Brooklyn REST Swagger Apidoc Utilities ............. SUCCESS [  9.960 s]
[INFO] Brooklyn Logback Configuration ..................... SUCCESS [  0.164 s]
[INFO] CAMP Server ........................................ SUCCESS [ 11.067 s]
[INFO] Brooklyn Felix Runtime ............................. SUCCESS [  3.132 s]
[INFO] Brooklyn Groovy Utilities .......................... SUCCESS [  1.784 s]
[INFO] Brooklyn Core ...................................... SUCCESS [03:35 min]
[INFO] Brooklyn Policies .................................. SUCCESS [ 30.180 s]
[INFO] Brooklyn WinRM Software Entities ................... SUCCESS [ 19.703 s]
[INFO] Brooklyn Secure JMXMP Agent ........................ SUCCESS [  7.087 s]
[INFO] Brooklyn JMX RMI Agent ............................. SUCCESS [  0.308 s]
[INFO] Brooklyn Jclouds Location Targets .................. SUCCESS [01:04 min]
[INFO] Brooklyn Software Base ............................. SUCCESS [01:19 min]
[INFO] Brooklyn CAMP ...................................... FAILURE [02:52 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] Brooklyn Library Root .............................. SKIPPED
[INFO] Brooklyn CM Chef ................................... SKIPPED
[INFO] Brooklyn CM SaltStack .............................. SKIPPED
[INFO] Brooklyn CM Ansible ................................ SKIPPED
[INFO] Brooklyn CM Integration Root ....................... SKIPPED
[INFO] Brooklyn Network Software Entities ................. SKIPPED
[INFO] Brooklyn OSGi Software Entities .................... SKIPPED
[INFO] Brooklyn Database Software Entities ................ SKIPPED
[INFO] Brooklyn Web App Software Entities ................. SKIPPED
[INFO] Brooklyn Messaging Software Entities ............... SKIPPED
[INFO] Brooklyn NoSQL Data Store Software Entities ........ SKIPPED
[INFO] Brooklyn Monitoring Software Entities .............. SKIPPED
[INFO] Brooklyn Web App Software Entities ................. SKIPPED
[INFO] Brooklyn QA ........................................ SKIPPED
[INFO] Brooklyn Examples Aggregator Project ............... SKIPPED
[INFO] Brooklyn Examples Aggregator Project - Webapps ..... SKIPPED
[INFO] hello-world-webapp Maven Webapp .................... SKIPPED
[INFO] hello-world-sql-webapp Maven Webapp ................ SKIPPED
[INFO] Brooklyn Simple Web Cluster Example ................ SKIPPED
[INFO] Brooklyn Library Karaf integration ................. SKIPPED
[INFO] Brooklyn Library Catalog ........................... SKIPPED
[INFO] Brooklyn Library Karaf Features .................... SKIPPED
[INFO] Brooklyn Client .................................... SKIPPED
[INFO] Brooklyn Client Command Line Interface ............. SKIPPED
[INFO] Brooklyn REST java Client .......................... SKIPPED
[INFO] Brooklyn Downstream Project Parent ................. SKIPPED
[INFO] Brooklyn Dist Root ................................. SKIPPED
[INFO] Brooklyn All Things ................................ SKIPPED
[INFO] Brooklyn Distribution .............................. SKIPPED
[INFO] Brooklyn Karaf Distribution Parent ................. SKIPPED
[INFO] Brooklyn Karaf Server Configuration ................ SKIPPED
[INFO] Brooklyn Dist Karaf Features ....................... SKIPPED
[INFO] Brooklyn Karaf Distribution ........................ SKIPPED
[INFO] Brooklyn Karaf pax-exam itest ...................... SKIPPED
[INFO] Brooklyn Vagrant Getting Started Environment ....... SKIPPED
[INFO] Brooklyn Quick-Start Project Archetype ............. SKIPPED
[INFO] Brooklyn Shared Package Files ...................... SKIPPED
[INFO] Brooklyn RPM Package ............................... SKIPPED
[INFO] Brooklyn DEB Package ............................... SKIPPED
[INFO] Brooklyn Root ...................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 11:48 min
[INFO] Finished at: 2018-06-22T08:47:22Z
[INFO] Final Memory: 131M/783M
[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 /usr/build/brooklyn-server/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 <goals> -rf :brooklyn-camp
Build step 'Execute shell' marked build as failure
Recording test results
TestNG Reports Processing: START
Looking for TestNG results report in workspace using pattern: **/testng-results.xml
Saving reports...
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker/builds/485/testng/testng-results-1.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker/builds/485/testng/testng-results-10.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker/builds/485/testng/testng-results-11.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker/builds/485/testng/testng-results-2.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker/builds/485/testng/testng-results-3.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker/builds/485/testng/testng-results-4.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker/builds/485/testng/testng-results-5.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker/builds/485/testng/testng-results-6.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker/builds/485/testng/testng-results-7.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker/builds/485/testng/testng-results-8.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker/builds/485/testng/testng-results-9.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker/builds/485/testng/testng-results.xml'
0.023154% of tests failed, which exceeded threshold of 0%. Marking build as UNSTABLE
TestNG Reports Processing: FINISH