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 2018/02/03 00:13:01 UTC

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

See <https://builds.apache.org/job/brooklyn-master-build-docker/196/display/redirect>

------------------------------------------
[...truncated 7.43 MB...]
2018-02-03 00:12:37,393 INFO  Launched from YAML: { name: simple-app-yaml, services: [ { type: org.apache.brooklyn.entity.stock.BasicApplication } ] } -> BasicApplicationImpl{id=myidtestdeploymentuidisset} (Task[start]@qNdG7lEC)
2018-02-03 00:12:37,397 INFO  TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.resources.ApplicationResourceTest.testDeploymentUsesAppId() finished in 39 ms
2018-02-03 00:12:37,397 INFO  TESTNG INVOKING CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.rest.testing.BrooklynRestApiTest.tearDownMethod()
2018-02-03 00:12:37,397 INFO  TESTNG PASSED CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.rest.testing.BrooklynRestApiTest.tearDownMethod() finished in 0 ms
2018-02-03 00:12:37,398 INFO  TESTNG INVOKING CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.rest.testing.BrooklynRestApiTest.setUpMethod()
2018-02-03 00:12:37,398 INFO  TESTNG PASSED CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.rest.testing.BrooklynRestApiTest.setUpMethod() finished in 0 ms
2018-02-03 00:12:37,398 INFO  TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.resources.ApplicationResourceTest.testTriggerSampleEffector()
2018-02-03 00:12:37,402 INFO  REST invocation of RestMockSimpleEntity{id=zngh6trwdl}.sampleEffector[param1,param2] {param1=foo, param2=4} (no user info available)
2018-02-03 00:12:37,403 INFO  Invoked sampleEffector(foo,4)
2018-02-03 00:12:37,404 INFO  TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.resources.ApplicationResourceTest.testTriggerSampleEffector() finished in 6 ms
2018-02-03 00:12:37,405 INFO  TESTNG INVOKING CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.rest.testing.BrooklynRestApiTest.tearDownMethod()
2018-02-03 00:12:37,405 INFO  TESTNG PASSED CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.rest.testing.BrooklynRestApiTest.tearDownMethod() finished in 0 ms
2018-02-03 00:12:37,406 INFO  Started application BasicApplicationImpl{id=myidtestdeploymentuidisset}
2018-02-03 00:12:37,406 INFO  TESTNG INVOKING CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.rest.testing.BrooklynRestApiTest.setUpMethod()
2018-02-03 00:12:37,406 INFO  TESTNG PASSED CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.rest.testing.BrooklynRestApiTest.setUpMethod() finished in 0 ms
2018-02-03 00:12:37,406 INFO  TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.resources.ApplicationResourceTest.testTriggerSampleEffectorWithFormData()
2018-02-03 00:12:37,409 INFO  REST invocation of RestMockSimpleEntity{id=zngh6trwdl}.sampleEffector[param1,param2] {param1=foo, param2=4} (no user info available)
2018-02-03 00:12:37,410 INFO  Invoked sampleEffector(foo,4)
2018-02-03 00:12:37,411 INFO  TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.resources.ApplicationResourceTest.testTriggerSampleEffectorWithFormData() finished in 5 ms
2018-02-03 00:12:37,411 INFO  TESTNG INVOKING CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.rest.testing.BrooklynRestApiTest.tearDownMethod()
2018-02-03 00:12:37,411 INFO  TESTNG PASSED CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.rest.testing.BrooklynRestApiTest.tearDownMethod() finished in 0 ms
2018-02-03 00:12:37,412 INFO  TESTNG INVOKING CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.rest.testing.BrooklynRestApiTest.setUpMethod()
2018-02-03 00:12:37,412 INFO  TESTNG PASSED CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.rest.testing.BrooklynRestApiTest.setUpMethod() finished in 0 ms
2018-02-03 00:12:37,412 INFO  TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.resources.ApplicationResourceTest.testBatchSensorValues()
2018-02-03 00:12:37,418 INFO  TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.resources.ApplicationResourceTest.testBatchSensorValues() finished in 6 ms
2018-02-03 00:12:37,418 INFO  TESTNG INVOKING CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.rest.testing.BrooklynRestApiTest.tearDownMethod()
2018-02-03 00:12:37,419 INFO  TESTNG PASSED CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.rest.testing.BrooklynRestApiTest.tearDownMethod() finished in 1 ms
2018-02-03 00:12:37,419 INFO  TESTNG INVOKING CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.rest.testing.BrooklynRestApiTest.setUpMethod()
2018-02-03 00:12:37,419 INFO  TESTNG PASSED CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.rest.testing.BrooklynRestApiTest.setUpMethod() finished in 0 ms
2018-02-03 00:12:37,419 INFO  TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.resources.ApplicationResourceTest.testPolicyWhichCapitalizes()
2018-02-03 00:12:37,435 INFO  POLICY CREATED: fhx38iupq3
2018-02-03 00:12:37,443 INFO  POLICY STATUS: running
2018-02-03 00:12:37,474 INFO  POLICY STATUS RESPONSE AFTER DESTROY: 404
2018-02-03 00:12:37,478 INFO  TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.resources.ApplicationResourceTest.testPolicyWhichCapitalizes() finished in 59 ms
2018-02-03 00:12:37,478 INFO  TESTNG INVOKING CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.rest.testing.BrooklynRestApiTest.tearDownMethod()
2018-02-03 00:12:37,479 INFO  TESTNG PASSED CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.rest.testing.BrooklynRestApiTest.tearDownMethod() finished in 1 ms
2018-02-03 00:12:37,479 INFO  TESTNG INVOKING CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.rest.testing.BrooklynRestApiTest.setUpMethod()
2018-02-03 00:12:37,479 INFO  TESTNG PASSED CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.rest.testing.BrooklynRestApiTest.setUpMethod() finished in 0 ms
2018-02-03 00:12:37,479 INFO  TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.resources.ApplicationResourceTest.testReadEachSensor()
2018-02-03 00:12:37,586 INFO  TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.resources.ApplicationResourceTest.testReadEachSensor() finished in 107 ms
2018-02-03 00:12:37,586 INFO  TESTNG INVOKING CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.rest.testing.BrooklynRestApiTest.tearDownMethod()
2018-02-03 00:12:37,586 INFO  TESTNG PASSED CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.rest.testing.BrooklynRestApiTest.tearDownMethod() finished in 0 ms
2018-02-03 00:12:37,587 INFO  TESTNG INVOKING CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.rest.testing.BrooklynRestApiTest.setUpMethod()
2018-02-03 00:12:37,587 INFO  TESTNG PASSED CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.rest.testing.BrooklynRestApiTest.setUpMethod() finished in 0 ms
2018-02-03 00:12:37,587 INFO  TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.resources.ApplicationResourceTest.testDeleteApplication()
2018-02-03 00:12:37,596 INFO  Deleting simple-app from [BasicApplicationImpl{id=r0210pjrxn}, BasicApplicationImpl{id=r44v27mjkv}, BasicApplicationImpl{id=1234567890}, BasicApplicationImpl{id=myuiddifferent}, BasicApplicationImpl{id=aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa}, BasicApplicationImpl{id=abcdefghijkl}, BasicApplicationImpl{id=dbctpqtiz1}, BasicApplicationImpl{id=myidtestdeploymentuidisset}, BasicApplicationImpl{id=myuidtestdeploymentuidfailsonduplicate}]
2018-02-03 00:12:37,608 INFO  App appears gone, apps are: [BasicApplicationImpl{id=r44v27mjkv}, BasicApplicationImpl{id=1234567890}, BasicApplicationImpl{id=myuiddifferent}, BasicApplicationImpl{id=aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa}, BasicApplicationImpl{id=abcdefghijkl}, BasicApplicationImpl{id=dbctpqtiz1}, BasicApplicationImpl{id=myidtestdeploymentuidisset}, BasicApplicationImpl{id=myuidtestdeploymentuidfailsonduplicate}]
2018-02-03 00:12:37,608 INFO  TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.resources.ApplicationResourceTest.testDeleteApplication() finished in 21 ms
2018-02-03 00:12:37,608 INFO  TESTNG INVOKING CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.rest.testing.BrooklynRestApiTest.tearDownMethod()
2018-02-03 00:12:37,608 INFO  TESTNG PASSED CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.rest.testing.BrooklynRestApiTest.tearDownMethod() finished in 0 ms
2018-02-03 00:12:37,609 INFO  TESTNG INVOKING CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.rest.testing.BrooklynRestApiTest.setUpMethod()
2018-02-03 00:12:37,609 INFO  TESTNG PASSED CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.rest.testing.BrooklynRestApiTest.setUpMethod() finished in 0 ms
2018-02-03 00:12:37,609 INFO  TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.resources.ApplicationResourceTest.testDeployApplicationImpl()
2018-02-03 00:12:37,616 INFO  Entity type 'org.apache.brooklyn.rest.testing.mocks.RestMockApp' not defined in catalog but is on classpath; continuing
2018-02-03 00:12:37,619 WARN  Using deprecated functionality (as of 0.9.0), ApplicationSpec style (pre CAMP plans). Transition to actively supported spec plans.
2018-02-03 00:12:37,619 INFO  Catalog does not contain item for type org.apache.brooklyn.rest.testing.mocks.RestMockApp; loaded class directly instead
2018-02-03 00:12:37,619 INFO  REST placing 'simple-app-impl' under management
2018-02-03 00:12:37,647 INFO  Started application RestMockApp{id=bbtr6mcbrn}
2018-02-03 00:12:37,660 INFO  TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.resources.ApplicationResourceTest.testDeployApplicationImpl() finished in 51 ms
2018-02-03 00:12:37,660 INFO  TESTNG INVOKING CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.rest.testing.BrooklynRestApiTest.tearDownMethod()
2018-02-03 00:12:37,661 INFO  TESTNG PASSED CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.rest.testing.BrooklynRestApiTest.tearDownMethod() finished in 1 ms
2018-02-03 00:12:37,661 INFO  TESTNG INVOKING CONFIGURATION: "Surefire test" - @AfterClass org.apache.brooklyn.rest.testing.BrooklynRestApiTest.tearDownClass()
2018-02-03 00:12:37,661 INFO  Stopping application BasicApplicationImpl{id=r44v27mjkv}
2018-02-03 00:12:37,663 INFO  Stopped application BasicApplicationImpl{id=r44v27mjkv}
2018-02-03 00:12:37,664 INFO  Stopping application RestMockApp{id=bbtr6mcbrn}
2018-02-03 00:12:37,664 INFO  Stopped application RestMockApp{id=bbtr6mcbrn}
2018-02-03 00:12:37,665 INFO  Stopping application BasicApplicationImpl{id=1234567890}
2018-02-03 00:12:37,666 INFO  Stopping application BasicApplicationImpl{id=myuiddifferent}
2018-02-03 00:12:37,668 INFO  Stopping application BasicApplicationImpl{id=aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa}
2018-02-03 00:12:37,669 INFO  Stopped application BasicApplicationImpl{id=1234567890}
2018-02-03 00:12:37,669 INFO  Stopped application BasicApplicationImpl{id=myuiddifferent}
2018-02-03 00:12:37,671 INFO  Stopping application BasicApplicationImpl{id=abcdefghijkl}
2018-02-03 00:12:37,671 INFO  Stopping application BasicApplicationImpl{id=dbctpqtiz1}
2018-02-03 00:12:37,672 INFO  Stopped application BasicApplicationImpl{id=aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa}
2018-02-03 00:12:37,674 INFO  Stopped application BasicApplicationImpl{id=abcdefghijkl}
2018-02-03 00:12:37,675 INFO  Stopped application BasicApplicationImpl{id=dbctpqtiz1}
2018-02-03 00:12:37,677 INFO  Stopping application BasicApplicationImpl{id=myidtestdeploymentuidisset}
2018-02-03 00:12:37,678 INFO  Stopped application BasicApplicationImpl{id=myidtestdeploymentuidisset}
2018-02-03 00:12:37,683 INFO  Stopping application BasicApplicationImpl{id=myuidtestdeploymentuidfailsonduplicate}
2018-02-03 00:12:37,683 INFO  Stopped application BasicApplicationImpl{id=myuidtestdeploymentuidfailsonduplicate}
2018-02-03 00:12:37,688 INFO  TESTNG PASSED CONFIGURATION: "Surefire test" - @AfterClass org.apache.brooklyn.rest.testing.BrooklynRestApiTest.tearDownClass() finished in 27 ms
2018-02-03 00:12:37,691 INFO  TESTNG 
===============================================
    Surefire test
    Tests run: 242, Failures: 1, Skips: 0
===============================================
2018-02-03 00:12:37,691 INFO  TESTNG RUNNING: Suite: "Surefire test" containing "0" Tests (config: null)
2018-02-03 00:12:37,692 INFO  TESTNG 
===============================================
    Surefire test
    Tests run: 242, Failures: 1, Skips: 0
===============================================
Tests run: 242, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 41.328 sec <<< FAILURE! - in TestSuite
testGetSensorValueOfTypeEntity(org.apache.brooklyn.rest.resources.SensorResourceTest)  Time elapsed: 0.017 sec  <<< FAILURE!
java.lang.AssertionError: expected ["simple-ent"] but found [{"type":"org.apache.brooklyn.api.entity.Entity","id":"yi62z29rbb"}]
	at org.apache.brooklyn.rest.resources.SensorResourceTest.doGetSensorTest(SensorResourceTest.java:363)
	at org.apache.brooklyn.rest.resources.SensorResourceTest.testGetSensorValueOfTypeEntity(SensorResourceTest.java:295)


Results :

Failed tests: 
  SensorResourceTest.testGetSensorValueOfTypeEntity:295->doGetSensorTest:363 expected ["simple-ent"] but found [{"type":"org.apache.brooklyn.api.entity.Entity","id":"yi62z29rbb"}]

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

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Brooklyn REST JavaScript Web GUI ................... SUCCESS [ 34.945 s]
[INFO] Brooklyn Server Root ............................... SUCCESS [  0.265 s]
[INFO] Brooklyn Parent Project ............................ SUCCESS [  2.897 s]
[INFO] Brooklyn Test Support Utilities .................... SUCCESS [  3.893 s]
[INFO] Brooklyn Logback Includable Configuration .......... SUCCESS [  0.427 s]
[INFO] Brooklyn Common Utilities .......................... SUCCESS [ 20.548 s]
[INFO] Brooklyn API ....................................... SUCCESS [  1.376 s]
[INFO] CAMP Server Parent Project ......................... SUCCESS [  0.378 s]
[INFO] CAMP Base .......................................... SUCCESS [  2.333 s]
[INFO] Brooklyn Test Support .............................. SUCCESS [  0.843 s]
[INFO] Brooklyn REST Swagger Apidoc Utilities ............. SUCCESS [  1.140 s]
[INFO] Brooklyn Logback Configuration ..................... SUCCESS [  0.241 s]
[INFO] CAMP Server ........................................ SUCCESS [  5.560 s]
[INFO] Brooklyn Felix Runtime ............................. SUCCESS [  2.341 s]
[INFO] Brooklyn Groovy Utilities .......................... SUCCESS [  1.935 s]
[INFO] Brooklyn Core ...................................... SUCCESS [03:14 min]
[INFO] Brooklyn Policies .................................. SUCCESS [ 28.978 s]
[INFO] Brooklyn WinRM Software Entities ................... SUCCESS [  8.089 s]
[INFO] Brooklyn Secure JMXMP Agent ........................ SUCCESS [  7.590 s]
[INFO] Brooklyn JMX RMI Agent ............................. SUCCESS [  0.433 s]
[INFO] Brooklyn Jclouds Location Targets .................. SUCCESS [ 33.959 s]
[INFO] Brooklyn Software Base ............................. SUCCESS [01:13 min]
[INFO] Brooklyn CAMP ...................................... SUCCESS [02:25 min]
[INFO] Brooklyn Launcher Common ........................... SUCCESS [  5.187 s]
[INFO] Brooklyn REST API .................................. SUCCESS [ 14.009 s]
[INFO] Brooklyn REST Resources ............................ FAILURE [ 48.550 s]
[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: 10:46 min
[INFO] Finished at: 2018-02-03T00:12:38Z
[INFO] Final Memory: 142M/968M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on project brooklyn-rest-resources: There are test failures.
[ERROR] 
[ERROR] Please refer to /usr/build/brooklyn-server/rest/rest-resources/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-rest-resources
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
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.
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 '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker/builds/196/testng/testng-results-1.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker/builds/196/testng/testng-results-10.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker/builds/196/testng/testng-results-11.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker/builds/196/testng/testng-results-12.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker/builds/196/testng/testng-results-13.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker/builds/196/testng/testng-results-14.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker/builds/196/testng/testng-results-2.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker/builds/196/testng/testng-results-3.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker/builds/196/testng/testng-results-4.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker/builds/196/testng/testng-results-5.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker/builds/196/testng/testng-results-6.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker/builds/196/testng/testng-results-7.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker/builds/196/testng/testng-results-8.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker/builds/196/testng/testng-results-9.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker/builds/196/testng/testng-results.xml'
0.021901% of tests failed, which exceeded threshold of 0%. Marking build as UNSTABLE
TestNG Reports Processing: FINISH

Jenkins build is back to normal : brooklyn-master-build-docker #199

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/brooklyn-master-build-docker/199/display/redirect>


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

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/brooklyn-master-build-docker/198/display/redirect>

------------------------------------------
[...truncated 7.45 MB...]
2018-02-03 23:15:03,739 INFO  TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.resources.ApplicationResourceTest.testDeploymentUsesAppId() finished in 14 ms
2018-02-03 23:15:03,740 INFO  TESTNG INVOKING CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.rest.testing.BrooklynRestApiTest.tearDownMethod()
2018-02-03 23:15:03,740 INFO  TESTNG PASSED CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.rest.testing.BrooklynRestApiTest.tearDownMethod() finished in 0 ms
2018-02-03 23:15:03,740 INFO  TESTNG INVOKING CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.rest.testing.BrooklynRestApiTest.setUpMethod()
2018-02-03 23:15:03,740 INFO  TESTNG PASSED CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.rest.testing.BrooklynRestApiTest.setUpMethod() finished in 0 ms
2018-02-03 23:15:03,741 INFO  TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.resources.ApplicationResourceTest.testTriggerSampleEffector()
2018-02-03 23:15:03,745 INFO  REST invocation of RestMockSimpleEntity{id=r1o8iuq5se}.sampleEffector[param1,param2] {param1=foo, param2=4} (no user info available)
2018-02-03 23:15:03,746 INFO  Invoked sampleEffector(foo,4)
2018-02-03 23:15:03,747 INFO  TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.resources.ApplicationResourceTest.testTriggerSampleEffector() finished in 6 ms
2018-02-03 23:15:03,748 INFO  Started application BasicApplicationImpl{id=myidtestdeploymentuidisset}
2018-02-03 23:15:03,748 INFO  TESTNG INVOKING CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.rest.testing.BrooklynRestApiTest.tearDownMethod()
2018-02-03 23:15:03,748 INFO  TESTNG PASSED CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.rest.testing.BrooklynRestApiTest.tearDownMethod() finished in 0 ms
2018-02-03 23:15:03,749 INFO  TESTNG INVOKING CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.rest.testing.BrooklynRestApiTest.setUpMethod()
2018-02-03 23:15:03,749 INFO  TESTNG PASSED CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.rest.testing.BrooklynRestApiTest.setUpMethod() finished in 0 ms
2018-02-03 23:15:03,749 INFO  TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.resources.ApplicationResourceTest.testTriggerSampleEffectorWithFormData()
2018-02-03 23:15:03,753 INFO  REST invocation of RestMockSimpleEntity{id=r1o8iuq5se}.sampleEffector[param1,param2] {param1=foo, param2=4} (no user info available)
2018-02-03 23:15:03,753 INFO  Invoked sampleEffector(foo,4)
2018-02-03 23:15:03,754 INFO  TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.resources.ApplicationResourceTest.testTriggerSampleEffectorWithFormData() finished in 5 ms
2018-02-03 23:15:03,755 INFO  TESTNG INVOKING CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.rest.testing.BrooklynRestApiTest.tearDownMethod()
2018-02-03 23:15:03,755 INFO  TESTNG PASSED CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.rest.testing.BrooklynRestApiTest.tearDownMethod() finished in 0 ms
2018-02-03 23:15:03,755 INFO  TESTNG INVOKING CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.rest.testing.BrooklynRestApiTest.setUpMethod()
2018-02-03 23:15:03,755 INFO  TESTNG PASSED CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.rest.testing.BrooklynRestApiTest.setUpMethod() finished in 0 ms
2018-02-03 23:15:03,755 INFO  TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.resources.ApplicationResourceTest.testBatchSensorValues()
2018-02-03 23:15:03,761 INFO  TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.resources.ApplicationResourceTest.testBatchSensorValues() finished in 6 ms
2018-02-03 23:15:03,761 INFO  TESTNG INVOKING CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.rest.testing.BrooklynRestApiTest.tearDownMethod()
2018-02-03 23:15:03,761 INFO  TESTNG PASSED CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.rest.testing.BrooklynRestApiTest.tearDownMethod() finished in 0 ms
2018-02-03 23:15:03,762 INFO  TESTNG INVOKING CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.rest.testing.BrooklynRestApiTest.setUpMethod()
2018-02-03 23:15:03,762 INFO  TESTNG PASSED CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.rest.testing.BrooklynRestApiTest.setUpMethod() finished in 0 ms
2018-02-03 23:15:03,762 INFO  TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.resources.ApplicationResourceTest.testPolicyWhichCapitalizes()
2018-02-03 23:15:03,774 INFO  POLICY CREATED: tvdzwt2wlq
2018-02-03 23:15:03,783 INFO  POLICY STATUS: running
2018-02-03 23:15:03,803 INFO  POLICY STATUS RESPONSE AFTER DESTROY: 404
2018-02-03 23:15:03,807 INFO  TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.resources.ApplicationResourceTest.testPolicyWhichCapitalizes() finished in 45 ms
2018-02-03 23:15:03,808 INFO  TESTNG INVOKING CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.rest.testing.BrooklynRestApiTest.tearDownMethod()
2018-02-03 23:15:03,808 INFO  TESTNG PASSED CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.rest.testing.BrooklynRestApiTest.tearDownMethod() finished in 1 ms
2018-02-03 23:15:03,808 INFO  TESTNG INVOKING CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.rest.testing.BrooklynRestApiTest.setUpMethod()
2018-02-03 23:15:03,808 INFO  TESTNG PASSED CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.rest.testing.BrooklynRestApiTest.setUpMethod() finished in 0 ms
2018-02-03 23:15:03,808 INFO  TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.resources.ApplicationResourceTest.testReadEachSensor()
[GC (Allocation Failure)  228419K->48379K(743424K), 0.0130321 secs]
2018-02-03 23:15:03,915 INFO  TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.resources.ApplicationResourceTest.testReadEachSensor() finished in 106 ms
2018-02-03 23:15:03,915 INFO  TESTNG INVOKING CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.rest.testing.BrooklynRestApiTest.tearDownMethod()
2018-02-03 23:15:03,915 INFO  TESTNG PASSED CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.rest.testing.BrooklynRestApiTest.tearDownMethod() finished in 0 ms
2018-02-03 23:15:03,918 INFO  TESTNG INVOKING CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.rest.testing.BrooklynRestApiTest.setUpMethod()
2018-02-03 23:15:03,918 INFO  TESTNG PASSED CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.rest.testing.BrooklynRestApiTest.setUpMethod() finished in 1 ms
2018-02-03 23:15:03,918 INFO  TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.resources.ApplicationResourceTest.testDeleteApplication()
2018-02-03 23:15:03,925 INFO  Deleting simple-app from [BasicApplicationImpl{id=xcpqw5zbsy}, BasicApplicationImpl{id=1234567890}, BasicApplicationImpl{id=myuiddifferent}, BasicApplicationImpl{id=aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa}, BasicApplicationImpl{id=ahqjxfmrch}, BasicApplicationImpl{id=abcdefghijkl}, BasicApplicationImpl{id=j7pa5gxgl7}, BasicApplicationImpl{id=myidtestdeploymentuidisset}, BasicApplicationImpl{id=myuidtestdeploymentuidfailsonduplicate}]
2018-02-03 23:15:03,937 INFO  App appears gone, apps are: [BasicApplicationImpl{id=1234567890}, BasicApplicationImpl{id=myuiddifferent}, BasicApplicationImpl{id=aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa}, BasicApplicationImpl{id=ahqjxfmrch}, BasicApplicationImpl{id=abcdefghijkl}, BasicApplicationImpl{id=j7pa5gxgl7}, BasicApplicationImpl{id=myidtestdeploymentuidisset}, BasicApplicationImpl{id=myuidtestdeploymentuidfailsonduplicate}]
2018-02-03 23:15:03,938 INFO  TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.resources.ApplicationResourceTest.testDeleteApplication() finished in 20 ms
2018-02-03 23:15:03,938 INFO  TESTNG INVOKING CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.rest.testing.BrooklynRestApiTest.tearDownMethod()
2018-02-03 23:15:03,938 INFO  TESTNG PASSED CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.rest.testing.BrooklynRestApiTest.tearDownMethod() finished in 0 ms
2018-02-03 23:15:03,939 INFO  TESTNG INVOKING CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.rest.testing.BrooklynRestApiTest.setUpMethod()
2018-02-03 23:15:03,939 INFO  TESTNG PASSED CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.rest.testing.BrooklynRestApiTest.setUpMethod() finished in 0 ms
2018-02-03 23:15:03,939 INFO  TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.resources.ApplicationResourceTest.testDeployApplicationImpl()
2018-02-03 23:15:03,943 INFO  Entity type 'org.apache.brooklyn.rest.testing.mocks.RestMockApp' not defined in catalog but is on classpath; continuing
2018-02-03 23:15:03,945 WARN  Using deprecated functionality (as of 0.9.0), ApplicationSpec style (pre CAMP plans). Transition to actively supported spec plans.
2018-02-03 23:15:03,945 INFO  Catalog does not contain item for type org.apache.brooklyn.rest.testing.mocks.RestMockApp; loaded class directly instead
2018-02-03 23:15:03,945 INFO  REST placing 'simple-app-impl' under management
2018-02-03 23:15:03,967 INFO  Started application RestMockApp{id=nc5sb1j7n6}
2018-02-03 23:15:03,983 INFO  TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.resources.ApplicationResourceTest.testDeployApplicationImpl() finished in 43 ms
2018-02-03 23:15:03,983 INFO  TESTNG INVOKING CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.rest.testing.BrooklynRestApiTest.tearDownMethod()
2018-02-03 23:15:03,983 INFO  TESTNG PASSED CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.rest.testing.BrooklynRestApiTest.tearDownMethod() finished in 0 ms
2018-02-03 23:15:03,984 INFO  TESTNG INVOKING CONFIGURATION: "Surefire test" - @AfterClass org.apache.brooklyn.rest.testing.BrooklynRestApiTest.tearDownClass()
2018-02-03 23:15:03,985 INFO  Stopping application BasicApplicationImpl{id=1234567890}
2018-02-03 23:15:03,985 INFO  Stopping application BasicApplicationImpl{id=myuiddifferent}
2018-02-03 23:15:03,986 INFO  Stopped application BasicApplicationImpl{id=1234567890}
2018-02-03 23:15:03,987 INFO  Stopped application BasicApplicationImpl{id=myuiddifferent}
2018-02-03 23:15:03,990 INFO  Stopping application BasicApplicationImpl{id=ahqjxfmrch}
2018-02-03 23:15:03,991 INFO  Stopped application BasicApplicationImpl{id=ahqjxfmrch}
2018-02-03 23:15:03,995 INFO  Stopping application BasicApplicationImpl{id=aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa}
2018-02-03 23:15:03,996 INFO  Stopped application BasicApplicationImpl{id=aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa}
2018-02-03 23:15:03,998 INFO  Stopping application BasicApplicationImpl{id=abcdefghijkl}
2018-02-03 23:15:03,999 INFO  Stopping application RestMockApp{id=nc5sb1j7n6}
2018-02-03 23:15:03,999 INFO  Stopped application BasicApplicationImpl{id=abcdefghijkl}
2018-02-03 23:15:04,000 INFO  Stopped application RestMockApp{id=nc5sb1j7n6}
2018-02-03 23:15:04,005 INFO  Stopping application BasicApplicationImpl{id=j7pa5gxgl7}
2018-02-03 23:15:04,005 INFO  Stopped application BasicApplicationImpl{id=j7pa5gxgl7}
2018-02-03 23:15:04,006 INFO  Stopping application BasicApplicationImpl{id=myidtestdeploymentuidisset}
2018-02-03 23:15:04,008 INFO  Stopping application BasicApplicationImpl{id=myuidtestdeploymentuidfailsonduplicate}
2018-02-03 23:15:04,008 INFO  Stopped application BasicApplicationImpl{id=myidtestdeploymentuidisset}
2018-02-03 23:15:04,010 INFO  Stopped application BasicApplicationImpl{id=myuidtestdeploymentuidfailsonduplicate}
2018-02-03 23:15:04,012 INFO  TESTNG PASSED CONFIGURATION: "Surefire test" - @AfterClass org.apache.brooklyn.rest.testing.BrooklynRestApiTest.tearDownClass() finished in 28 ms
2018-02-03 23:15:04,016 INFO  TESTNG 
===============================================
    Surefire test
    Tests run: 242, Failures: 1, Skips: 0
===============================================
2018-02-03 23:15:04,016 INFO  TESTNG RUNNING: Suite: "Surefire test" containing "0" Tests (config: null)
2018-02-03 23:15:04,017 INFO  TESTNG 
===============================================
    Surefire test
    Tests run: 242, Failures: 1, Skips: 0
===============================================
Tests run: 242, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 35.099 sec <<< FAILURE! - in TestSuite
testGetSensorValueOfTypeEntity(org.apache.brooklyn.rest.resources.SensorResourceTest)  Time elapsed: 0.029 sec  <<< FAILURE!
java.lang.AssertionError: expected ["simple-ent"] but found [{"type":"org.apache.brooklyn.api.entity.Entity","id":"oj7shq2fp6"}]
	at org.apache.brooklyn.rest.resources.SensorResourceTest.doGetSensorTest(SensorResourceTest.java:363)
	at org.apache.brooklyn.rest.resources.SensorResourceTest.testGetSensorValueOfTypeEntity(SensorResourceTest.java:295)


Results :

Failed tests: 
  SensorResourceTest.testGetSensorValueOfTypeEntity:295->doGetSensorTest:363 expected ["simple-ent"] but found [{"type":"org.apache.brooklyn.api.entity.Entity","id":"oj7shq2fp6"}]

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

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Brooklyn REST JavaScript Web GUI ................... SUCCESS [ 42.126 s]
[INFO] Brooklyn Server Root ............................... SUCCESS [  0.248 s]
[INFO] Brooklyn Parent Project ............................ SUCCESS [  3.219 s]
[INFO] Brooklyn Test Support Utilities .................... SUCCESS [  3.454 s]
[INFO] Brooklyn Logback Includable Configuration .......... SUCCESS [  0.740 s]
[INFO] Brooklyn Common Utilities .......................... SUCCESS [ 20.068 s]
[INFO] Brooklyn API ....................................... SUCCESS [  1.331 s]
[INFO] CAMP Server Parent Project ......................... SUCCESS [  0.579 s]
[INFO] CAMP Base .......................................... SUCCESS [  2.245 s]
[INFO] Brooklyn Test Support .............................. SUCCESS [  1.028 s]
[INFO] Brooklyn REST Swagger Apidoc Utilities ............. SUCCESS [  1.560 s]
[INFO] Brooklyn Logback Configuration ..................... SUCCESS [  0.148 s]
[INFO] CAMP Server ........................................ SUCCESS [  7.534 s]
[INFO] Brooklyn Felix Runtime ............................. SUCCESS [  2.664 s]
[INFO] Brooklyn Groovy Utilities .......................... SUCCESS [  1.775 s]
[INFO] Brooklyn Core ...................................... SUCCESS [03:17 min]
[INFO] Brooklyn Policies .................................. SUCCESS [ 30.065 s]
[INFO] Brooklyn WinRM Software Entities ................... SUCCESS [ 10.297 s]
[INFO] Brooklyn Secure JMXMP Agent ........................ SUCCESS [  8.928 s]
[INFO] Brooklyn JMX RMI Agent ............................. SUCCESS [  0.604 s]
[INFO] Brooklyn Jclouds Location Targets .................. SUCCESS [ 38.130 s]
[INFO] Brooklyn Software Base ............................. SUCCESS [01:16 min]
[INFO] Brooklyn CAMP ...................................... SUCCESS [02:14 min]
[INFO] Brooklyn Launcher Common ........................... SUCCESS [  3.855 s]
[INFO] Brooklyn REST API .................................. SUCCESS [  7.631 s]
[INFO] Brooklyn REST Resources ............................ FAILURE [ 42.246 s]
[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: 10:47 min
[INFO] Finished at: 2018-02-03T23:15:04Z
[INFO] Final Memory: 141M/961M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on project brooklyn-rest-resources: There are test failures.
[ERROR] 
[ERROR] Please refer to /usr/build/brooklyn-server/rest/rest-resources/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-rest-resources
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
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.
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 '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker/builds/198/testng/testng-results-1.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker/builds/198/testng/testng-results-10.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker/builds/198/testng/testng-results-11.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker/builds/198/testng/testng-results-12.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker/builds/198/testng/testng-results-13.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker/builds/198/testng/testng-results-14.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker/builds/198/testng/testng-results-2.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker/builds/198/testng/testng-results-3.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker/builds/198/testng/testng-results-4.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker/builds/198/testng/testng-results-5.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker/builds/198/testng/testng-results-6.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker/builds/198/testng/testng-results-7.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker/builds/198/testng/testng-results-8.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker/builds/198/testng/testng-results-9.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker/builds/198/testng/testng-results.xml'
0.021901% of tests failed, which exceeded threshold of 0%. Marking build as UNSTABLE
TestNG Reports Processing: FINISH

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

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/brooklyn-master-build-docker/197/display/redirect>

------------------------------------------
[...truncated 7.71 MB...]
2018-02-03 09:01:49,352 INFO  Started application BasicApplicationImpl{id=myuiddifferent}
2018-02-03 09:01:49,356 INFO  Launched from YAML: { name: my-name-2, services: [ { type: org.apache.brooklyn.entity.stock.BasicApplication } ] } -> BasicApplicationImpl{id=myuidtestdeploymentuidfailsonduplicate} (Task[start]@xW18orTR)
2018-02-03 09:01:49,358 INFO  TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.resources.ApplicationResourceTest.testDeploymentFailsOnDuplicateAppId() finished in 75 ms
2018-02-03 09:01:49,359 INFO  TESTNG INVOKING CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.rest.testing.BrooklynRestApiTest.tearDownMethod()
2018-02-03 09:01:49,359 INFO  TESTNG PASSED CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.rest.testing.BrooklynRestApiTest.tearDownMethod() finished in 1 ms
2018-02-03 09:01:49,359 INFO  TESTNG INVOKING CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.rest.testing.BrooklynRestApiTest.setUpMethod()
2018-02-03 09:01:49,359 INFO  TESTNG PASSED CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.rest.testing.BrooklynRestApiTest.setUpMethod() finished in 0 ms
2018-02-03 09:01:49,359 INFO  TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.resources.ApplicationResourceTest.testDeploymentFailsOnInvalidAppId()
2018-02-03 09:01:49,368 INFO  Started application BasicApplicationImpl{id=myuidtestdeploymentuidfailsonduplicate}
2018-02-03 09:01:49,373 INFO  Launched from YAML: { name: simple-app-yaml, services: [ { type: org.apache.brooklyn.entity.stock.BasicApplication } ] } -> BasicApplicationImpl{id=abcdefghijkl} (Task[start]@lsu5WBn6)
2018-02-03 09:01:49,385 INFO  Started application BasicApplicationImpl{id=abcdefghijkl}
2018-02-03 09:01:49,389 INFO  Launched from YAML: { name: simple-app-yaml, services: [ { type: org.apache.brooklyn.entity.stock.BasicApplication } ] } -> BasicApplicationImpl{id=1234567890} (Task[start]@KwhLKByU)
2018-02-03 09:01:49,402 INFO  Started application BasicApplicationImpl{id=1234567890}
2018-02-03 09:01:49,407 INFO  Launched from YAML: { name: simple-app-yaml, services: [ { type: org.apache.brooklyn.entity.stock.BasicApplication } ] } -> BasicApplicationImpl{id=aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa} (Task[start]@Kt3AoesF)
2018-02-03 09:01:49,419 INFO  Started application BasicApplicationImpl{id=aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa}
2018-02-03 09:01:49,420 WARN  Failed REST deployment launching EntitySpec{type=interface org.apache.brooklyn.entity.stock.BasicApplication, displayName=simple-app-yaml}: java.lang.IllegalArgumentException: Invalid entity id 'tooshort'
2018-02-03 09:01:49,432 WARN  Failed REST deployment launching EntitySpec{type=interface org.apache.brooklyn.entity.stock.BasicApplication, displayName=simple-app-yaml}: java.lang.IllegalArgumentException: Invalid entity id 'a-bcdefghijkl'
2018-02-03 09:01:49,444 WARN  Failed REST deployment launching EntitySpec{type=interface org.apache.brooklyn.entity.stock.BasicApplication, displayName=simple-app-yaml}: java.lang.IllegalArgumentException: Invalid entity id 'Abcdefghijkl'
2018-02-03 09:01:49,457 WARN  Failed REST deployment launching EntitySpec{type=interface org.apache.brooklyn.entity.stock.BasicApplication, displayName=simple-app-yaml}: java.lang.IllegalArgumentException: Invalid entity id 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'
2018-02-03 09:01:49,460 INFO  TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.resources.ApplicationResourceTest.testDeploymentFailsOnInvalidAppId() finished in 101 ms
2018-02-03 09:01:49,460 INFO  TESTNG INVOKING CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.rest.testing.BrooklynRestApiTest.tearDownMethod()
2018-02-03 09:01:49,460 INFO  TESTNG PASSED CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.rest.testing.BrooklynRestApiTest.tearDownMethod() finished in 0 ms
2018-02-03 09:01:49,461 INFO  TESTNG INVOKING CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.rest.testing.BrooklynRestApiTest.setUpMethod()
2018-02-03 09:01:49,461 INFO  TESTNG PASSED CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.rest.testing.BrooklynRestApiTest.setUpMethod() finished in 0 ms
2018-02-03 09:01:49,461 INFO  TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.resources.ApplicationResourceTest.testDeploymentUsesAppId()
2018-02-03 09:01:49,475 INFO  Launched from YAML: { name: simple-app-yaml, services: [ { type: org.apache.brooklyn.entity.stock.BasicApplication } ] } -> BasicApplicationImpl{id=myidtestdeploymentuidisset} (Task[start]@tKpKWrfH)
2018-02-03 09:01:49,478 INFO  TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.resources.ApplicationResourceTest.testDeploymentUsesAppId() finished in 17 ms
2018-02-03 09:01:49,478 INFO  TESTNG INVOKING CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.rest.testing.BrooklynRestApiTest.tearDownMethod()
2018-02-03 09:01:49,478 INFO  TESTNG PASSED CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.rest.testing.BrooklynRestApiTest.tearDownMethod() finished in 0 ms
2018-02-03 09:01:49,479 INFO  TESTNG INVOKING CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.rest.testing.BrooklynRestApiTest.setUpMethod()
2018-02-03 09:01:49,479 INFO  TESTNG PASSED CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.rest.testing.BrooklynRestApiTest.setUpMethod() finished in 0 ms
2018-02-03 09:01:49,479 INFO  TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.resources.ApplicationResourceTest.testTriggerSampleEffector()
2018-02-03 09:01:49,484 INFO  REST invocation of RestMockSimpleEntity{id=dwe5cgbyzw}.sampleEffector[param1,param2] {param1=foo, param2=4} (no user info available)
2018-02-03 09:01:49,485 INFO  Invoked sampleEffector(foo,4)
2018-02-03 09:01:49,486 INFO  TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.resources.ApplicationResourceTest.testTriggerSampleEffector() finished in 7 ms
2018-02-03 09:01:49,487 INFO  TESTNG INVOKING CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.rest.testing.BrooklynRestApiTest.tearDownMethod()
2018-02-03 09:01:49,487 INFO  TESTNG PASSED CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.rest.testing.BrooklynRestApiTest.tearDownMethod() finished in 0 ms
2018-02-03 09:01:49,487 INFO  TESTNG INVOKING CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.rest.testing.BrooklynRestApiTest.setUpMethod()
2018-02-03 09:01:49,487 INFO  TESTNG PASSED CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.rest.testing.BrooklynRestApiTest.setUpMethod() finished in 0 ms
2018-02-03 09:01:49,487 INFO  TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.resources.ApplicationResourceTest.testTriggerSampleEffectorWithFormData()
2018-02-03 09:01:49,488 INFO  Started application BasicApplicationImpl{id=myidtestdeploymentuidisset}
2018-02-03 09:01:49,492 INFO  REST invocation of RestMockSimpleEntity{id=dwe5cgbyzw}.sampleEffector[param1,param2] {param1=foo, param2=4} (no user info available)
2018-02-03 09:01:49,492 INFO  Invoked sampleEffector(foo,4)
2018-02-03 09:01:49,494 INFO  TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.resources.ApplicationResourceTest.testTriggerSampleEffectorWithFormData() finished in 6 ms
2018-02-03 09:01:49,494 INFO  TESTNG INVOKING CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.rest.testing.BrooklynRestApiTest.tearDownMethod()
2018-02-03 09:01:49,494 INFO  TESTNG PASSED CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.rest.testing.BrooklynRestApiTest.tearDownMethod() finished in 0 ms
2018-02-03 09:01:49,494 INFO  TESTNG INVOKING CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.rest.testing.BrooklynRestApiTest.setUpMethod()
2018-02-03 09:01:49,494 INFO  TESTNG PASSED CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.rest.testing.BrooklynRestApiTest.setUpMethod() finished in 0 ms
2018-02-03 09:01:49,494 INFO  TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.resources.ApplicationResourceTest.testBatchSensorValues()
2018-02-03 09:01:49,501 INFO  TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.resources.ApplicationResourceTest.testBatchSensorValues() finished in 7 ms
2018-02-03 09:01:49,501 INFO  TESTNG INVOKING CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.rest.testing.BrooklynRestApiTest.tearDownMethod()
2018-02-03 09:01:49,502 INFO  TESTNG PASSED CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.rest.testing.BrooklynRestApiTest.tearDownMethod() finished in 1 ms
2018-02-03 09:01:49,502 INFO  TESTNG INVOKING CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.rest.testing.BrooklynRestApiTest.setUpMethod()
2018-02-03 09:01:49,502 INFO  TESTNG PASSED CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.rest.testing.BrooklynRestApiTest.setUpMethod() finished in 0 ms
2018-02-03 09:01:49,502 INFO  TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.resources.ApplicationResourceTest.testPolicyWhichCapitalizes()
2018-02-03 09:01:49,518 INFO  POLICY CREATED: q1t9jllxa6
2018-02-03 09:01:49,530 INFO  POLICY STATUS: running
2018-02-03 09:01:49,556 INFO  POLICY STATUS RESPONSE AFTER DESTROY: 404
2018-02-03 09:01:49,562 INFO  TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.resources.ApplicationResourceTest.testPolicyWhichCapitalizes() finished in 59 ms
2018-02-03 09:01:49,562 INFO  TESTNG INVOKING CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.rest.testing.BrooklynRestApiTest.tearDownMethod()
2018-02-03 09:01:49,562 INFO  TESTNG PASSED CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.rest.testing.BrooklynRestApiTest.tearDownMethod() finished in 0 ms
2018-02-03 09:01:49,563 INFO  TESTNG INVOKING CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.rest.testing.BrooklynRestApiTest.setUpMethod()
2018-02-03 09:01:49,563 INFO  TESTNG PASSED CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.rest.testing.BrooklynRestApiTest.setUpMethod() finished in 1 ms
2018-02-03 09:01:49,563 INFO  TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.resources.ApplicationResourceTest.testReadEachSensor()
2018-02-03 09:01:49,681 INFO  TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.resources.ApplicationResourceTest.testReadEachSensor() finished in 118 ms
2018-02-03 09:01:49,682 INFO  TESTNG INVOKING CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.rest.testing.BrooklynRestApiTest.tearDownMethod()
2018-02-03 09:01:49,682 INFO  TESTNG PASSED CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.rest.testing.BrooklynRestApiTest.tearDownMethod() finished in 0 ms
2018-02-03 09:01:49,683 INFO  TESTNG INVOKING CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.rest.testing.BrooklynRestApiTest.setUpMethod()
2018-02-03 09:01:49,683 INFO  TESTNG PASSED CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.rest.testing.BrooklynRestApiTest.setUpMethod() finished in 0 ms
2018-02-03 09:01:49,683 INFO  TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.resources.ApplicationResourceTest.testDeleteApplication()
2018-02-03 09:01:49,688 INFO  Deleting simple-app from [BasicApplicationImpl{id=hmrp69ist6}, BasicApplicationImpl{id=xynat0jn26}, BasicApplicationImpl{id=1234567890}, BasicApplicationImpl{id=myuiddifferent}, BasicApplicationImpl{id=aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa}, BasicApplicationImpl{id=abcdefghijkl}, BasicApplicationImpl{id=myidtestdeploymentuidisset}, BasicApplicationImpl{id=mczujf5ai0}, BasicApplicationImpl{id=myuidtestdeploymentuidfailsonduplicate}]
2018-02-03 09:01:49,701 INFO  App appears gone, apps are: [BasicApplicationImpl{id=hmrp69ist6}, BasicApplicationImpl{id=xynat0jn26}, BasicApplicationImpl{id=1234567890}, BasicApplicationImpl{id=myuiddifferent}, BasicApplicationImpl{id=aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa}, BasicApplicationImpl{id=abcdefghijkl}, BasicApplicationImpl{id=myidtestdeploymentuidisset}, BasicApplicationImpl{id=myuidtestdeploymentuidfailsonduplicate}]
2018-02-03 09:01:49,702 INFO  TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.resources.ApplicationResourceTest.testDeleteApplication() finished in 19 ms
2018-02-03 09:01:49,702 INFO  TESTNG INVOKING CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.rest.testing.BrooklynRestApiTest.tearDownMethod()
2018-02-03 09:01:49,702 INFO  TESTNG PASSED CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.rest.testing.BrooklynRestApiTest.tearDownMethod() finished in 0 ms
2018-02-03 09:01:49,702 INFO  TESTNG INVOKING CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.rest.testing.BrooklynRestApiTest.setUpMethod()
2018-02-03 09:01:49,702 INFO  TESTNG PASSED CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.rest.testing.BrooklynRestApiTest.setUpMethod() finished in 0 ms
2018-02-03 09:01:49,703 INFO  TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.resources.ApplicationResourceTest.testDeployApplicationImpl()
2018-02-03 09:01:49,709 INFO  Entity type 'org.apache.brooklyn.rest.testing.mocks.RestMockApp' not defined in catalog but is on classpath; continuing
2018-02-03 09:01:49,710 WARN  Using deprecated functionality (as of 0.9.0), ApplicationSpec style (pre CAMP plans). Transition to actively supported spec plans.
2018-02-03 09:01:49,711 INFO  Catalog does not contain item for type org.apache.brooklyn.rest.testing.mocks.RestMockApp; loaded class directly instead
2018-02-03 09:01:49,711 INFO  REST placing 'simple-app-impl' under management
2018-02-03 09:01:49,732 INFO  Started application RestMockApp{id=zqdv572t9t}
2018-02-03 09:01:49,751 INFO  TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.resources.ApplicationResourceTest.testDeployApplicationImpl() finished in 48 ms
2018-02-03 09:01:49,751 INFO  TESTNG INVOKING CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.rest.testing.BrooklynRestApiTest.tearDownMethod()
2018-02-03 09:01:49,751 INFO  TESTNG PASSED CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.rest.testing.BrooklynRestApiTest.tearDownMethod() finished in 0 ms
2018-02-03 09:01:49,751 INFO  TESTNG INVOKING CONFIGURATION: "Surefire test" - @AfterClass org.apache.brooklyn.rest.testing.BrooklynRestApiTest.tearDownClass()
2018-02-03 09:01:49,753 INFO  Stopping application BasicApplicationImpl{id=hmrp69ist6}
2018-02-03 09:01:49,753 INFO  Stopping application BasicApplicationImpl{id=xynat0jn26}
2018-02-03 09:01:49,753 INFO  Stopping application RestMockApp{id=zqdv572t9t}
2018-02-03 09:01:49,754 INFO  Stopping application BasicApplicationImpl{id=1234567890}
2018-02-03 09:01:49,754 INFO  Stopping application BasicApplicationImpl{id=aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa}
2018-02-03 09:01:49,756 INFO  Stopping application BasicApplicationImpl{id=myuiddifferent}
2018-02-03 09:01:49,756 INFO  Stopped application BasicApplicationImpl{id=xynat0jn26}
2018-02-03 09:01:49,757 INFO  Stopped application RestMockApp{id=zqdv572t9t}
2018-02-03 09:01:49,757 INFO  Stopping application BasicApplicationImpl{id=myidtestdeploymentuidisset}
2018-02-03 09:01:49,759 INFO  Stopped application BasicApplicationImpl{id=myuiddifferent}
2018-02-03 09:01:49,760 INFO  Stopping application BasicApplicationImpl{id=abcdefghijkl}
2018-02-03 09:01:49,760 INFO  Stopped application BasicApplicationImpl{id=hmrp69ist6}
2018-02-03 09:01:49,760 INFO  Stopped application BasicApplicationImpl{id=1234567890}
2018-02-03 09:01:49,761 INFO  Stopping application BasicApplicationImpl{id=myuidtestdeploymentuidfailsonduplicate}
2018-02-03 09:01:49,761 INFO  Stopped application BasicApplicationImpl{id=myidtestdeploymentuidisset}
2018-02-03 09:01:49,761 INFO  Stopped application BasicApplicationImpl{id=aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa}
2018-02-03 09:01:49,761 INFO  Stopped application BasicApplicationImpl{id=abcdefghijkl}
2018-02-03 09:01:49,762 INFO  Stopped application BasicApplicationImpl{id=myuidtestdeploymentuidfailsonduplicate}
2018-02-03 09:01:49,765 INFO  TESTNG PASSED CONFIGURATION: "Surefire test" - @AfterClass org.apache.brooklyn.rest.testing.BrooklynRestApiTest.tearDownClass() finished in 13 ms
2018-02-03 09:01:49,768 INFO  TESTNG 
===============================================
    Surefire test
    Tests run: 242, Failures: 1, Skips: 0
===============================================
[GC (Allocation Failure)  241329K->61120K(750080K), 0.0129166 secs]
Tests run: 242, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 36.27 sec <<< FAILURE! - in TestSuite
testGetSensorValueOfTypeEntity(org.apache.brooklyn.rest.resources.SensorResourceTest)  Time elapsed: 0.039 sec  <<< FAILURE!
java.lang.AssertionError: expected ["simple-ent"] but found [{"type":"org.apache.brooklyn.api.entity.Entity","id":"blrb9sbqhj"}]
	at org.apache.brooklyn.rest.resources.SensorResourceTest.doGetSensorTest(SensorResourceTest.java:363)
	at org.apache.brooklyn.rest.resources.SensorResourceTest.testGetSensorValueOfTypeEntity(SensorResourceTest.java:295)


Results :

Failed tests: 
  SensorResourceTest.testGetSensorValueOfTypeEntity:295->doGetSensorTest:363 expected ["simple-ent"] but found [{"type":"org.apache.brooklyn.api.entity.Entity","id":"blrb9sbqhj"}]

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

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Brooklyn REST JavaScript Web GUI ................... SUCCESS [ 53.011 s]
[INFO] Brooklyn Server Root ............................... SUCCESS [  0.251 s]
[INFO] Brooklyn Parent Project ............................ SUCCESS [  2.428 s]
[INFO] Brooklyn Test Support Utilities .................... SUCCESS [  3.837 s]
[INFO] Brooklyn Logback Includable Configuration .......... SUCCESS [  0.427 s]
[INFO] Brooklyn Common Utilities .......................... SUCCESS [ 21.662 s]
[INFO] Brooklyn API ....................................... SUCCESS [  1.556 s]
[INFO] CAMP Server Parent Project ......................... SUCCESS [  0.164 s]
[INFO] CAMP Base .......................................... SUCCESS [  2.392 s]
[INFO] Brooklyn Test Support .............................. SUCCESS [  0.962 s]
[INFO] Brooklyn REST Swagger Apidoc Utilities ............. SUCCESS [  1.787 s]
[INFO] Brooklyn Logback Configuration ..................... SUCCESS [  0.181 s]
[INFO] CAMP Server ........................................ SUCCESS [  4.978 s]
[INFO] Brooklyn Felix Runtime ............................. SUCCESS [  2.443 s]
[INFO] Brooklyn Groovy Utilities .......................... SUCCESS [  1.896 s]
[INFO] Brooklyn Core ...................................... SUCCESS [02:47 min]
[INFO] Brooklyn Policies .................................. SUCCESS [ 27.483 s]
[INFO] Brooklyn WinRM Software Entities ................... SUCCESS [  8.609 s]
[INFO] Brooklyn Secure JMXMP Agent ........................ SUCCESS [  9.104 s]
[INFO] Brooklyn JMX RMI Agent ............................. SUCCESS [  0.392 s]
[INFO] Brooklyn Jclouds Location Targets .................. SUCCESS [ 34.336 s]
[INFO] Brooklyn Software Base ............................. SUCCESS [01:05 min]
[INFO] Brooklyn CAMP ...................................... SUCCESS [01:58 min]
[INFO] Brooklyn Launcher Common ........................... SUCCESS [  3.882 s]
[INFO] Brooklyn REST API .................................. SUCCESS [  7.807 s]
[INFO] Brooklyn REST Resources ............................ FAILURE [ 42.120 s]
[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: 09:55 min
[INFO] Finished at: 2018-02-03T09:01:50Z
[INFO] Final Memory: 144M/967M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on project brooklyn-rest-resources: There are test failures.
[ERROR] 
[ERROR] Please refer to /usr/build/brooklyn-server/rest/rest-resources/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-rest-resources
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/197/testng/testng-results-1.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker/builds/197/testng/testng-results-10.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker/builds/197/testng/testng-results-11.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker/builds/197/testng/testng-results-12.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker/builds/197/testng/testng-results-13.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker/builds/197/testng/testng-results-14.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker/builds/197/testng/testng-results-2.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker/builds/197/testng/testng-results-3.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker/builds/197/testng/testng-results-4.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker/builds/197/testng/testng-results-5.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker/builds/197/testng/testng-results-6.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker/builds/197/testng/testng-results-7.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker/builds/197/testng/testng-results-8.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker/builds/197/testng/testng-results-9.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker/builds/197/testng/testng-results.xml'
0.021901% of tests failed, which exceeded threshold of 0%. Marking build as UNSTABLE
TestNG Reports Processing: FINISH