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 2014/10/07 06:43:14 UTC

Build failed in Jenkins: incubator-brooklyn-master-build #159

See <https://builds.apache.org/job/incubator-brooklyn-master-build/159/changes>

Changes:

[alex.heneveld] don't let stringify convert `null` to `"null"`

[alex.heneveld] compute UPTIME sensor

[alex.heneveld] fix bug where nginx up-detection continued to run after service stoppage

[alex.heneveld] remove the hand from sensor/config values, as they aren't clickable

[alex.heneveld] use generics for RendererHint, simplify class hierarchy there, and add support for rendering based on class type, used for Duration and HostAndPort, and for Entity instances to show the name of the entity

------------------------------------------
[...truncated 26722 lines...]
5 < Content-Type: application/json
5 < 
{"id":"bMliRrKe","spec":{"name":"simple-app","type":"brooklyn.entity.basic.BasicApplication","locations":["lIMuSBJ7"]},"status":"STARTING","links":{"self":"/v1/applications/bMliRrKe","entities":"/v1/applications/bMliRrKe/entities"}}

2014-10-07 04:41:55,692 INFO  6 * Server in-bound request
6 > GET http://localhost:9998/v1/applications/bMliRrKe
6 > 

2014-10-07 04:41:55,693 INFO  6 * Server out-bound response
6 < 200
6 < Content-Type: application/json
6 < 
{"id":"bMliRrKe","spec":{"name":"simple-app","type":"brooklyn.entity.basic.BasicApplication","locations":["lIMuSBJ7"]},"status":"STARTING","links":{"self":"/v1/applications/bMliRrKe","entities":"/v1/applications/bMliRrKe/entities"}}

2014-10-07 04:41:55,715 INFO  7 * Server in-bound request
7 > GET http://localhost:9998/v1/applications/bMliRrKe
7 > 

2014-10-07 04:41:55,715 INFO  7 * Server out-bound response
7 < 200
7 < Content-Type: application/json
7 < 
{"id":"bMliRrKe","spec":{"name":"simple-app","type":"brooklyn.entity.basic.BasicApplication","locations":["lIMuSBJ7"]},"status":"STARTING","links":{"self":"/v1/applications/bMliRrKe","entities":"/v1/applications/bMliRrKe/entities"}}

2014-10-07 04:41:55,741 INFO  8 * Server in-bound request
8 > GET http://localhost:9998/v1/applications/bMliRrKe
8 > 

2014-10-07 04:41:55,741 INFO  8 * Server out-bound response
8 < 200
8 < Content-Type: application/json
8 < 
{"id":"bMliRrKe","spec":{"name":"simple-app","type":"brooklyn.entity.basic.BasicApplication","locations":["lIMuSBJ7"]},"status":"STARTING","links":{"self":"/v1/applications/bMliRrKe","entities":"/v1/applications/bMliRrKe/entities"}}

2014-10-07 04:41:55,752 INFO  Started application BasicApplicationImpl{id=bMliRrKe}
2014-10-07 04:41:55,772 INFO  9 * Server in-bound request
9 > GET http://localhost:9998/v1/applications/bMliRrKe
9 > 

2014-10-07 04:41:55,772 INFO  9 * Server out-bound response
9 < 200
9 < Content-Type: application/json
9 < 
{"id":"bMliRrKe","spec":{"name":"simple-app","type":"brooklyn.entity.basic.BasicApplication","locations":["lIMuSBJ7"]},"status":"RUNNING","links":{"self":"/v1/applications/bMliRrKe","entities":"/v1/applications/bMliRrKe/entities"}}

2014-10-07 04:41:55,774 INFO  TESTNG PASSED CONFIGURATION: "Surefire test" - @BeforeClass brooklyn.rest.resources.EntityResourceTest.setUp() finished in 542 ms
2014-10-07 04:41:55,774 INFO  TESTNG INVOKING: "Surefire test" - brooklyn.rest.resources.EntityResourceTest.testAddChild()
2014-10-07 04:41:55,774 INFO  10 * Server in-bound request
10 > POST /v1/applications/simple-app/entities/simple-ent/children?timeout=10s
10 > Content-Type: application/yaml
10 > 
services: [ { type: brooklyn.test.entity.TestEntity }]

2014-10-07 04:41:55,798 INFO  10 * Server out-bound response
10 < 201
10 < Location: http://localhost:9998/v1/applications/bMliRrKe/entities/WnCr9IfF
10 < Content-Type: application/json
10 < 
{"id":"p08Hene0","displayName":"add children","description":"Add and start 1 child","entityId":"IM7lyZFt","entityDisplayName":"simple-ent","tags":[{"wrappingType":"contextEntity","entity":{"type":"brooklyn.entity.Entity","id":"IM7lyZFt"}},"NON-TRANSIENT"],"submitTimeUtc":1412656915791,"startTimeUtc":1412656915791,"endTimeUtc":1412656915794,"currentStatus":"Completed","result":["WnCr9IfF"],"isError":false,"isCancelled":false,"children":[{"link":"/v1/activities/ZGL1HRxb","metadata":{"id":"ZGL1HRxb","taskName":"add (parallel)","entityId":"IM7lyZFt","entityDisplayName":"simple-ent"}}],"submittedByTask":null,"detailedStatus":"Completed after 3ms\n\nResult: [WnCr9IfF]","streams":{},"links":{"self":"/v1/activities/p08Hene0","children":"/v1/activities/p08Hene0/children","entity":"/v1/applications/bMliRrKe/entities/IM7lyZFt"}}

2014-10-07 04:41:55,805 INFO  TESTNG PASSED: "Surefire test" - brooklyn.rest.resources.EntityResourceTest.testAddChild() finished in 31 ms
2014-10-07 04:41:55,806 INFO  TESTNG INVOKING: "Surefire test" - brooklyn.rest.resources.EntityResourceTest.testRename()
2014-10-07 04:41:55,806 INFO  11 * Server in-bound request
11 > POST /v1/applications/simple-app/entities/simple-ent/name?name=New+Name
11 > 

2014-10-07 04:41:55,806 INFO  11 * Server out-bound response
11 < 200
11 < Content-Type: application/json
11 < 

2014-10-07 04:41:55,807 INFO  TESTNG PASSED: "Surefire test" - brooklyn.rest.resources.EntityResourceTest.testRename() finished in 1 ms
2014-10-07 04:41:55,807 INFO  TESTNG INVOKING: "Surefire test" - brooklyn.rest.resources.EntityResourceTest.testTagsDoNotSerializeTooMuch()
2014-10-07 04:41:55,807 INFO  12 * Server in-bound request
12 > GET /v1/applications/simple-app/entities/simple-ent/tags
12 > Accept: application/json
12 > 

2014-10-07 04:41:55,808 INFO  12 * Server out-bound response
12 < 200
12 < Content-Type: application/json
12 < 
["foo",{"type":"brooklyn.entity.Entity","id":"bMliRrKe"}]

2014-10-07 04:41:55,808 INFO  TAGS raw: ["foo",{"type":"brooklyn.entity.Entity","id":"bMliRrKe"}]
2014-10-07 04:41:55,809 INFO  TAGS are: [foo, {type=brooklyn.entity.Entity, id=bMliRrKe}]
2014-10-07 04:41:55,810 INFO  TESTNG PASSED: "Surefire test" - brooklyn.rest.resources.EntityResourceTest.testTagsDoNotSerializeTooMuch() finished in 3 ms
2014-10-07 04:41:55,811 INFO  TESTNG INVOKING: "Surefire test" - brooklyn.rest.resources.EntityResourceTest.testTagsSanity()
2014-10-07 04:41:55,811 INFO  13 * Server in-bound request
13 > GET /v1/applications/simple-app/entities/simple-ent/tags
13 > Accept: application/json
13 > 

2014-10-07 04:41:55,811 INFO  13 * Server out-bound response
13 < 200
13 < Content-Type: application/json
13 < 
["foo",{"type":"brooklyn.entity.Entity","id":"bMliRrKe"}]

2014-10-07 04:41:55,812 INFO  TESTNG PASSED: "Surefire test" - brooklyn.rest.resources.EntityResourceTest.testTagsSanity() finished in 1 ms
2014-10-07 04:41:55,812 INFO  TESTNG INVOKING CONFIGURATION: "Surefire test" - @AfterClass brooklyn.rest.testing.BrooklynRestResourceTest.tearDown()
2014-10-07 04:41:55,813 INFO  Stopping low level InMemory test container
2014-10-07 04:41:55,814 INFO  Stopping application BasicApplicationImpl{id=bMliRrKe}
2014-10-07 04:41:55,817 INFO  Stopping RestMockSimpleEntity{id=IM7lyZFt} in [SshMachineLocation[LocalhostMachine:b5Ni:pietas.apache.org/67.195.81.190]]
2014-10-07 04:41:55,823 INFO  Stopped application BasicApplicationImpl{id=bMliRrKe}
2014-10-07 04:41:55,824 INFO  TESTNG PASSED CONFIGURATION: "Surefire test" - @AfterClass brooklyn.rest.testing.BrooklynRestResourceTest.tearDown() finished in 12 ms
2014-10-07 04:41:55,853 INFO  TESTNG 
===============================================
    Surefire test
    Tests run: 120, Failures: 1, Skips: 0
===============================================
[GC 391324K->146058K(779712K), 0.0110750 secs]
Tests run: 120, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 51.793 sec <<< FAILURE! - in TestSuite
testDelete(brooklyn.rest.resources.SensorResourceTest)  Time elapsed: 0.01 sec  <<< FAILURE!
java.lang.AssertionError: expected [204] but found [500]
	at org.testng.Assert.fail(Assert.java:94)
	at org.testng.Assert.failNotEquals(Assert.java:494)
	at org.testng.Assert.assertEquals(Assert.java:123)
	at org.testng.Assert.assertEquals(Assert.java:370)
	at org.testng.Assert.assertEquals(Assert.java:380)
	at brooklyn.rest.resources.SensorResourceTest.testDelete(SensorResourceTest.java:251)


Results :

Failed tests: 
  SensorResourceTest.testDelete:251 expected [204] but found [500]

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

[JENKINS] Recording test results
[JENKINS] Archiving disabled
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Brooklyn Parent Project ........................... SUCCESS [26.754s]
[INFO] Brooklyn Utilities to Support Testing (listeners etc)  SUCCESS [14.898s]
[INFO] Brooklyn Logback Includable Configuration ......... SUCCESS [3.089s]
[INFO] Brooklyn Common Utilities ......................... SUCCESS [18.081s]
[INFO] Brooklyn Groovy Utilities ......................... SUCCESS [11.501s]
[INFO] Brooklyn API ...................................... SUCCESS [6.128s]
[INFO] Brooklyn Test Support ............................. SUCCESS [8.556s]
[INFO] CAMP Server Parent Project ........................ SUCCESS [0.340s]
[INFO] CAMP Base ......................................... SUCCESS [9.408s]
[INFO] Brooklyn REST Swagger Apidoc Utilities ............ SUCCESS [8.434s]
[INFO] Brooklyn Logback Configuration .................... SUCCESS [3.172s]
[INFO] CAMP Server ....................................... SUCCESS [11.961s]
[INFO] Brooklyn Core ..................................... SUCCESS [3:32.440s]
[INFO] Brooklyn Policies ................................. SUCCESS [1:05.402s]
[INFO] Brooklyn Hazelcast Storage ........................ SUCCESS [11.865s]
[INFO] Brooklyn Jclouds Location Targets ................. SUCCESS [38.175s]
[INFO] Brooklyn Secure JMXMP Agent ....................... SUCCESS [26.981s]
[INFO] Brooklyn JMX RMI Agent ............................ SUCCESS [6.025s]
[INFO] Brooklyn Software Base ............................ SUCCESS [44.939s]
[INFO] Brooklyn Network Software Entities ................ SUCCESS [15.447s]
[INFO] Brooklyn OSGi Software Entities ................... SUCCESS [12.064s]
[INFO] Brooklyn Web App Software Entities ................ SUCCESS [59.335s]
[INFO] Brooklyn Messaging Software Entities .............. SUCCESS [38.586s]
[INFO] Brooklyn Database Software Entities ............... SUCCESS [15.316s]
[INFO] Brooklyn NoSQL Data Store Software Entities ....... SUCCESS [24.511s]
[INFO] Brooklyn Monitoring Software Entities ............. SUCCESS [14.676s]
[INFO] Brooklyn CAMP REST API ............................ SUCCESS [56.842s]
[INFO] Brooklyn REST API ................................. SUCCESS [9.537s]
[INFO] Brooklyn REST Server .............................. FAILURE [1:08.596s]
[INFO] Brooklyn REST Client .............................. SKIPPED
[INFO] Brooklyn REST JavaScript Web GUI .................. SKIPPED
[INFO] Brooklyn Launcher ................................. SKIPPED
[INFO] Brooklyn Command Line Interface ................... SKIPPED
[INFO] Brooklyn All Things ............................... SKIPPED
[INFO] Brooklyn Distribution ............................. SKIPPED
[INFO] Brooklyn Quick-Start Project Archetype ............ SKIPPED
[INFO] Brooklyn Downstream Project Parent ................ SKIPPED
[INFO] Brooklyn Examples Aggregator Project .............. SKIPPED
[INFO] Brooklyn Examples Support 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 Global Web Fabric Example ................ SKIPPED
[INFO] Brooklyn Simple Messaging Publish-Subscribe Example  SKIPPED
[INFO] Brooklyn NoSQL Cluster Examples ................... SKIPPED
[INFO] Brooklyn QA ....................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 14:32.321s
[INFO] Finished at: Tue Oct 07 04:42:02 UTC 2014
[INFO] Final Memory: 45M/230M
[INFO] ------------------------------------------------------------------------
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
Waiting for Jenkins to finish collecting data
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.17:test (default-test) on project brooklyn-rest-server: There are test failures.
[ERROR] 
[ERROR] Please refer to <https://builds.apache.org/job/incubator-brooklyn-master-build/ws/usage/rest-server/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-server
channel stopped

Jenkins build is back to normal : incubator-brooklyn-master-build #160

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/incubator-brooklyn-master-build/160/changes>