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/09/29 18:54:11 UTC

Build failed in Jenkins: brooklyn-client-master-docker #28

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

------------------------------------------
[...truncated 231.43 KB...]
2018-09-29 18:53:53,785 INFO  - apps with test: [ApplicationSummary{id='k31ryk6slv', spec=ApplicationSpec{name='test-1234', type='org.apache.brooklyn.entity.stock.BasicApplication', entities=null, locations=[], config={}}, status=RUNNING, links={self=/v1/applications/k31ryk6slv, entities=/v1/applications/k31ryk6slv/entities}}]
2018-09-29 18:53:53,786 INFO  - TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testApplicationApiCreate() finished in 986 ms
2018-09-29 18:53:53,787 INFO  - TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testApplicationApiHandledError()
2018-09-29 18:53:53,820 WARN  - Failed REST deployment, could not create spec: org.apache.brooklyn.util.exceptions.CompoundRuntimeException: Unable to instantiate item; 2 errors including: UnsupportedTypePlanException: Invalid plan; format could not be recognized, trying with: [Java type instantiator (org.apache.brooklyn.core.catalog.internal.JavaCatalogToSpecTransformer parses only old-style catalog items containing only 'type: JavaClass' or javaType in DTO)]
2018-09-29 18:53:53,859 INFO  - TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testApplicationApiHandledError() finished in 72 ms
2018-09-29 18:53:53,860 INFO  - TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testApplicationApiList()
2018-09-29 18:53:53,888 INFO  - apps are: [ApplicationSummary{id='k31ryk6slv', spec=ApplicationSpec{name='test-1234', type='org.apache.brooklyn.entity.stock.BasicApplication', entities=null, locations=[], config={}}, status=RUNNING, links={self=/v1/applications/k31ryk6slv, entities=/v1/applications/k31ryk6slv/entities}}]
2018-09-29 18:53:53,889 INFO  - TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testApplicationApiList() finished in 28 ms
2018-09-29 18:53:53,890 INFO  - TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testApplicationApiThrownError()
2018-09-29 18:53:53,919 INFO  - TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testApplicationApiThrownError() finished in 29 ms
2018-09-29 18:53:53,920 INFO  - TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testCatalogApiLocations()
2018-09-29 18:53:53,990 INFO  - locations from catalog are: []
2018-09-29 18:53:53,990 INFO  - TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testCatalogApiLocations() finished in 70 ms
2018-09-29 18:53:53,991 INFO  - TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testCatalogCreate()
2018-09-29 18:53:54,273 INFO  - Installed Brooklyn catalog bundle simple-tomcat:1.0 with ID sz0oqj8638 [173], items: [simple-tomcat:1.0]
2018-09-29 18:53:54,274 INFO  - REST created catalog items: [BasicRegisteredType[simple-tomcat:1.0;simple-tomcat:1.0]]
2018-09-29 18:53:54,353 WARN  - Unable to create spec for BasicRegisteredType[simple-tomcat:1.0;simple-tomcat:1.0]: org.apache.brooklyn.core.typereg.ReferencedUnresolvedTypeException: Reference to known type simple-tomcat:1.0 in plan but its definition is unresolved (recursive plan or premature evaluation?)
org.apache.brooklyn.core.typereg.ReferencedUnresolvedTypeException: Reference to known type simple-tomcat:1.0 in plan but its definition is unresolved (recursive plan or premature evaluation?)
	at org.apache.brooklyn.core.typereg.BasicBrooklynTypeRegistry.createSpec(BasicBrooklynTypeRegistry.java:261) ~[brooklyn-core-1.0.0-SNAPSHOT.jar:1.0.0-SNAPSHOT]
2018-09-29 18:53:54,378 INFO  - TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testCatalogCreate() finished in 388 ms
2018-09-29 18:53:54,379 INFO  - TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testLocationApi()
2018-09-29 18:53:54,379 INFO  - Testing location API
2018-09-29 18:53:54,394 INFO  - locations located are: {}
2018-09-29 18:53:54,394 INFO  - TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testLocationApi() finished in 15 ms
2018-09-29 18:53:54,395 INFO  - TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testNoV1InUrl()
[GC (Allocation Failure)  239306K->42047K(747008K), 0.0174446 secs]
2018-09-29 18:53:54,751 INFO  - TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testNoV1InUrl() finished in 356 ms
2018-09-29 18:53:54,752 INFO  - TESTNG INVOKING CONFIGURATION: "Surefire test" - @AfterClass org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.tearDown()
2018-09-29 18:53:54,753 INFO  X3ve7fdg-[k31ryk6slv] Stopping application BasicApplicationImpl{id=k31ryk6slv}
2018-09-29 18:53:54,761 INFO  X3ve7fdg-[k31ryk6slv] Stopped application BasicApplicationImpl{id=k31ryk6slv}
2018-09-29 18:53:54,956 INFO  - TESTNG PASSED CONFIGURATION: "Surefire test" - @AfterClass org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.tearDown() finished in 205 ms
2018-09-29 18:53:54,978 INFO  - TESTNG 
===============================================
    Surefire test
    Tests run: 25, Failures: 0, Skips: 0
===============================================
Tests run: 25, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.932 sec - in TestSuite

Results :

Tests run: 25, Failures: 0, Errors: 0, Skipped: 0

[INFO] 
[INFO] --- maven-jar-plugin:2.6:jar (default-jar) @ brooklyn-rest-client ---
[INFO] Building jar: /usr/build/java/target/brooklyn-rest-client-1.0.0-SNAPSHOT.jar
[INFO] 
[INFO] --- maven-site-plugin:3.4:attach-descriptor (attach-descriptor) @ brooklyn-rest-client ---
[INFO] 
[INFO] --- maven-jar-plugin:2.6:test-jar (test-jar-creation) @ brooklyn-rest-client ---
[INFO] Building jar: /usr/build/java/target/brooklyn-rest-client-1.0.0-SNAPSHOT-tests.jar
[INFO] 
[INFO] --- apache-rat-plugin:0.12:check (default) @ brooklyn-rest-client ---
[INFO] Enabled default license matchers.
[INFO] Will parse SCM ignores for exclusions...
[INFO] Finished adding exclusions from SCM ignore files.
[INFO] 61 implicit excludes (use -debug for more details).
[INFO] Exclude: sandbox/**
[INFO] Exclude: release/**
[INFO] Exclude: README.md
[INFO] Exclude: **/.git/**
[INFO] Exclude: **/.gitignore
[INFO] Exclude: **/.repository/**
[INFO] Exclude: **/.idea/**
[INFO] Exclude: **/*.iml
[INFO] Exclude: **/.classpath/**
[INFO] Exclude: **/.project
[INFO] Exclude: **/.settings/**
[INFO] Exclude: **/*.log
[INFO] Exclude: **/brooklyn*.log.*
[INFO] Exclude: **/target/**
[INFO] Exclude: **/nbactions.xml
[INFO] Exclude: **/nb-configuration.xml
[INFO] Exclude: ignored/**
[INFO] Exclude: LICENSE.md
[INFO] Exclude: .mvn/jvm.config
[INFO] Exclude: **/src/main/license/**
[INFO] Exclude: **/src/test/license/**
[INFO] Exclude: **/MANIFEST.MF
[INFO] Exclude: **/test-output/**
[INFO] Exclude: **/*.pem.pub
[INFO] Exclude: **/*.pem
[INFO] Exclude: **/*_rsa.pub
[INFO] Exclude: **/*_rsa
[INFO] Exclude: **/*.svg
[INFO] Exclude: **/*.crt
[INFO] Exclude: **/*.csr
[INFO] Exclude: **/*.key
[INFO] Exclude: **/*.key.org
[INFO] Exclude: **/*.psd
[INFO] Exclude: **/*.json
[INFO] Exclude: **/*.plxarc
[INFO] Exclude: **/src/test/resources/org/apache/brooklyn/entity/software/base/template_with_extra_substitutions.txt
[INFO] Exclude: **/src/main/resources/banner.txt
[INFO] Exclude: **/src/test/resources/ssl/certs/localhost/info.txt
[INFO] Exclude: **/src/main/history/dependencies.xml
[INFO] Exclude: **/sandbox/examples/src/main/scripts/amis.txt
[INFO] Exclude: docs/**
[INFO] Exclude: **/.m2/**
[INFO] 10 resources included (use -debug for more details)
[INFO] Rat check: Summary over all files. Unapproved: 0, unknown: 0, generated: 0, approved: 10 licenses.
[INFO] 
[INFO] --- maven-source-plugin:2.4:jar-no-fork (attach-sources) @ brooklyn-rest-client ---
[INFO] Building jar: /usr/build/java/target/brooklyn-rest-client-1.0.0-SNAPSHOT-sources.jar
[INFO] 
[INFO] --- maven-source-plugin:2.4:test-jar-no-fork (attach-sources) @ brooklyn-rest-client ---
[INFO] Building jar: /usr/build/java/target/brooklyn-rest-client-1.0.0-SNAPSHOT-test-sources.jar
[INFO] 
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ brooklyn-rest-client ---
[INFO] Installing /usr/build/java/target/brooklyn-rest-client-1.0.0-SNAPSHOT.jar to /var/maven/.m2/repository/org/apache/brooklyn/brooklyn-rest-client/1.0.0-SNAPSHOT/brooklyn-rest-client-1.0.0-SNAPSHOT.jar
[INFO] Installing /usr/build/java/pom.xml to /var/maven/.m2/repository/org/apache/brooklyn/brooklyn-rest-client/1.0.0-SNAPSHOT/brooklyn-rest-client-1.0.0-SNAPSHOT.pom
[INFO] Installing /usr/build/java/target/brooklyn-rest-client-1.0.0-SNAPSHOT-tests.jar to /var/maven/.m2/repository/org/apache/brooklyn/brooklyn-rest-client/1.0.0-SNAPSHOT/brooklyn-rest-client-1.0.0-SNAPSHOT-tests.jar
[INFO] Installing /usr/build/java/target/brooklyn-rest-client-1.0.0-SNAPSHOT-sources.jar to /var/maven/.m2/repository/org/apache/brooklyn/brooklyn-rest-client/1.0.0-SNAPSHOT/brooklyn-rest-client-1.0.0-SNAPSHOT-sources.jar
[INFO] Installing /usr/build/java/target/brooklyn-rest-client-1.0.0-SNAPSHOT-test-sources.jar to /var/maven/.m2/repository/org/apache/brooklyn/brooklyn-rest-client/1.0.0-SNAPSHOT/brooklyn-rest-client-1.0.0-SNAPSHOT-test-sources.jar
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Brooklyn Client 1.0.0-SNAPSHOT ..................... SUCCESS [ 10.285 s]
[INFO] Brooklyn Client Command Line Interface ............. SUCCESS [ 35.207 s]
[INFO] Brooklyn REST java Client 1.0.0-SNAPSHOT ........... SUCCESS [ 59.280 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:55 min
[INFO] Finished at: 2018-09-29T18:53:56Z
[INFO] ------------------------------------------------------------------------
[Current build status] check if current [SUCCESS] is worse or equals then [SUCCESS] and better or equals then [SUCCESS]
Run condition [Current build status] enabling perform for step [Execute shell]
[brooklyn-client-master-docker] $ /bin/bash -xe /tmp/jenkins4557950909558455360.sh
++ id -u
+ docker run -i --rm --name brooklyn-client -u 910 -v /home/jenkins/.m2:/var/maven/.m2 -v <https://builds.apache.org/job/brooklyn-client-master-docker/ws/>:/usr/build -w /usr/build -e MAVEN_CONFIG=/var/maven/.m2 brooklyn:client mvn deploy -Duser.home=/var/maven -DskipTests
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO] 
[INFO] Brooklyn Client                                                    [pom]
[INFO] Brooklyn Client Command Line Interface                             [pom]
[INFO] Brooklyn REST java Client                                          [jar]
[INFO] 
[INFO] ----------------< org.apache.brooklyn:brooklyn-client >-----------------
[INFO] Building Brooklyn Client 1.0.0-SNAPSHOT                            [1/3]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO] 
[INFO] --- buildnumber-maven-plugin:1.3:create (default) @ brooklyn-client ---
[INFO] Executing: /bin/sh -c cd /usr/build && git rev-parse --verify HEAD
[INFO] Working directory: /usr/build
[INFO] Storing buildNumber: 2287c07e9063714df80b9459dc11de0109d07b8e at timestamp: 1538247241136
[WARNING] Cannot get the branch information from the git repository: 
Detecting the current branch failed: fatal: ref HEAD is not a symbolic ref

[INFO] Executing: /bin/sh -c cd /usr/build && git rev-parse --verify HEAD
[INFO] Working directory: /usr/build
[INFO] Storing buildScmBranch: UNKNOWN
[INFO] 
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (brooklyn-build-req) @ brooklyn-client ---
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ brooklyn-client ---
[INFO] 
[INFO] --- maven-checkstyle-plugin:2.17:check (verify-style) @ brooklyn-client ---
[INFO] 
[INFO] --- maven-site-plugin:3.4:attach-descriptor (attach-descriptor) @ brooklyn-client ---
[INFO] 
[INFO] --- apache-rat-plugin:0.12:check (default) @ brooklyn-client ---
[INFO] Enabled default license matchers.
[INFO] Will parse SCM ignores for exclusions...
[INFO] Parsing exclusions from /usr/build/.gitignore
[INFO] Finished adding exclusions from SCM ignore files.
[INFO] 70 implicit excludes (use -debug for more details).
[INFO] Exclude: sandbox/**
[INFO] Exclude: release/**
[INFO] Exclude: README.md
[INFO] Exclude: **/.git/**
[INFO] Exclude: **/.gitignore
[INFO] Exclude: **/.repository/**
[INFO] Exclude: **/.idea/**
[INFO] Exclude: **/*.iml
[INFO] Exclude: **/.classpath/**
[INFO] Exclude: **/.project
[INFO] Exclude: **/.settings/**
[INFO] Exclude: **/*.log
[INFO] Exclude: **/brooklyn*.log.*
[INFO] Exclude: **/target/**
[INFO] Exclude: **/nbactions.xml
[INFO] Exclude: **/nb-configuration.xml
[INFO] Exclude: ignored/**
[INFO] Exclude: LICENSE.md
[INFO] Exclude: .mvn/jvm.config
[INFO] Exclude: **/src/main/license/**
[INFO] Exclude: **/src/test/license/**
[INFO] Exclude: **/MANIFEST.MF
[INFO] Exclude: **/test-output/**
[INFO] Exclude: **/*.pem.pub
[INFO] Exclude: **/*.pem
[INFO] Exclude: **/*_rsa.pub
[INFO] Exclude: **/*_rsa
[INFO] Exclude: **/*.svg
[INFO] Exclude: **/*.crt
[INFO] Exclude: **/*.csr
[INFO] Exclude: **/*.key
[INFO] Exclude: **/*.key.org
[INFO] Exclude: **/*.psd
[INFO] Exclude: **/*.json
[INFO] Exclude: **/*.plxarc
[INFO] Exclude: **/src/test/resources/org/apache/brooklyn/entity/software/base/template_with_extra_substitutions.txt
[INFO] Exclude: **/src/main/resources/banner.txt
[INFO] Exclude: **/src/test/resources/ssl/certs/localhost/info.txt
[INFO] Exclude: **/src/main/history/dependencies.xml
[INFO] Exclude: **/sandbox/examples/src/main/scripts/amis.txt
[INFO] Exclude: docs/**
[INFO] Exclude: **/.m2/**
[INFO] 4 resources included (use -debug for more details)
[INFO] Rat check: Summary over all files. Unapproved: 0, unknown: 0, generated: 0, approved: 2 licenses.
[INFO] 
[INFO] --- maven-source-plugin:2.4:jar-no-fork (attach-sources) @ brooklyn-client ---
[INFO] 
[INFO] --- maven-source-plugin:2.4:test-jar-no-fork (attach-sources) @ brooklyn-client ---
[INFO] 
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ brooklyn-client ---
[INFO] Installing /usr/build/pom.xml to /var/maven/.m2/repository/org/apache/brooklyn/brooklyn-client/1.0.0-SNAPSHOT/brooklyn-client-1.0.0-SNAPSHOT.pom
[INFO] 
[INFO] --- maven-deploy-plugin:2.8.2:deploy (default-deploy) @ brooklyn-client ---
Downloading from apache.snapshots.https: https://repository.apache.org/content/repositories/snapshots/org/apache/brooklyn/brooklyn-client/1.0.0-SNAPSHOT/maven-metadata.xml
Progress (1): 613 B                   Downloaded from apache.snapshots.https: https://repository.apache.org/content/repositories/snapshots/org/apache/brooklyn/brooklyn-client/1.0.0-SNAPSHOT/maven-metadata.xml (613 B at 681 B/s)
Uploading to apache.snapshots.https: https://repository.apache.org/content/repositories/snapshots/org/apache/brooklyn/brooklyn-client/1.0.0-SNAPSHOT/brooklyn-client-1.0.0-20180929.185408-57.pom
Progress (1): 2.0/3.5 kBProgress (1): 3.5 kB                        [INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Brooklyn Client 1.0.0-SNAPSHOT ..................... FAILURE [  9.077 s]
[INFO] Brooklyn Client Command Line Interface ............. SKIPPED
[INFO] Brooklyn REST java Client 1.0.0-SNAPSHOT ........... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 10.182 s
[INFO] Finished at: 2018-09-29T18:54:09Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy (default-deploy) on project brooklyn-client: Failed to deploy artifacts: Could not transfer artifact org.apache.brooklyn:brooklyn-client:pom:1.0.0-20180929.185408-57 from/to apache.snapshots.https (https://repository.apache.org/content/repositories/snapshots): Failed to transfer file: https://repository.apache.org/content/repositories/snapshots/org/apache/brooklyn/brooklyn-client/1.0.0-SNAPSHOT/brooklyn-client-1.0.0-20180929.185408-57.pom. Return code is: 401, ReasonPhrase: Unauthorized. -> [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/MojoExecutionException
Build step 'Conditional step (single)' 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-client-master-docker/builds/28/testng/testng-results.xml'
TestNG Reports Processing: FINISH

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

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