See
<https://ci-builds.apache.org/job/Brooklyn/job/brooklyn-server/job/master/134/display/redirect>
Changes:
------------------------------------------
[...truncated 65417 lines...]
2021-07-16 22:30:52,318 INFO - Entity type
'org.apache.brooklyn.rest.testing.mocks.RestMockSimpleEntity' not defined in
catalog but is on classpath; continuing
2021-07-16 22:30:52,321 WARN - Using deprecated functionality (as of 0.9.0),
ApplicationSpec style (pre CAMP plans). Transition to actively supported spec
plans.
2021-07-16 22:30:52,321 INFO - REST creating instance for entity
org.apache.brooklyn.rest.testing.mocks.RestMockSimpleEntity
2021-07-16 22:30:52,321 INFO - Catalog does not contain item for type
org.apache.brooklyn.rest.testing.mocks.RestMockSimpleEntity; loaded class
directly instead
2021-07-16 22:30:52,321 INFO - REST creating instance for entity
org.apache.brooklyn.rest.testing.mocks.RestMockSimpleEntity
2021-07-16 22:30:52,322 INFO - Catalog does not contain item for type
org.apache.brooklyn.rest.testing.mocks.RestMockSimpleEntity; loaded class
directly instead
2021-07-16 22:30:52,322 INFO - REST placing 'simple-app' under management
2021-07-16 22:30:52,391 INFO - Starting RestMockSimpleEntity{id=ilsqdbq61m,
name=simple-ent-2} on machine
SshMachineLocation[localhost:null@/172.17.0.2:22(id=zlcefcurjb)]
2021-07-16 22:30:52,392 INFO - Starting RestMockSimpleEntity{id=l4t3ydlwit,
name=simple-ent-1} on machine
SshMachineLocation[localhost:null@/172.17.0.2:22(id=mwk7ms1pls)]
2021-07-16 22:30:52,461 INFO - TESTNG PASSED: "Surefire test" -
org.apache.brooklyn.rest.resources.DescendantsTest.testDescendantsInSimpleDeployedApplication()
finished in 160 ms
2021-07-16 22:30:52,461 INFO - TESTNG INVOKING CONFIGURATION: "Surefire test"
- @AfterMethod
org.apache.brooklyn.rest.testing.BrooklynRestApiTest.tearDownMethod()
2021-07-16 22:30:52,462 INFO - TESTNG PASSED CONFIGURATION: "Surefire test" -
@AfterMethod
org.apache.brooklyn.rest.testing.BrooklynRestApiTest.tearDownMethod() finished
in 1 ms
2021-07-16 22:30:52,462 INFO - TESTNG INVOKING CONFIGURATION: "Surefire test"
- @AfterClass
org.apache.brooklyn.rest.testing.BrooklynRestApiTest.tearDownClass()
2021-07-16 22:30:52,468 INFO Qzulzom8-[vltumu4p7f] Stopping application
BasicApplicationImpl{id=vltumu4p7f, name=simple-app}
2021-07-16 22:30:52,470 INFO vO1dhvG8-[vltumu4p7f,l4t3ydlwit] Stopping
RestMockSimpleEntity{id=l4t3ydlwit, name=simple-ent-1} in
[SshMachineLocation[localhost:null@9dd9520c763a/172.17.0.2:22(id=mwk7ms1pls)]]
2021-07-16 22:30:52,470 INFO s12rxyNK-[vltumu4p7f,ilsqdbq61m] Stopping
RestMockSimpleEntity{id=ilsqdbq61m, name=simple-ent-2} in
[SshMachineLocation[localhost:null@9dd9520c763a/172.17.0.2:22(id=zlcefcurjb)]]
2021-07-16 22:30:52,477 INFO Qzulzom8-[vltumu4p7f] Stopped application
BasicApplicationImpl{id=vltumu4p7f, name=simple-app}
2021-07-16 22:30:52,480 WARN uvfDKmeJ-[vltumu4p7f] Error invoking start at
BasicApplicationImpl{id=vltumu4p7f, name=simple-app}:
RuntimeInterruptedException: java.lang.InterruptedException
2021-07-16 22:30:52,482 INFO - TESTNG PASSED CONFIGURATION: "Surefire test" -
@AfterClass
org.apache.brooklyn.rest.testing.BrooklynRestApiTest.tearDownClass() finished
in 20 ms
2021-07-16 22:30:52,484 INFO - TESTNG
===============================================
Surefire test
Tests run: 254, Failures: 0, Skips: 0
===============================================
[GC (Allocation Failure) 236486K->67950K(743936K), 0.0121437 secs]
Tests run: 254, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 57.959 sec -
in TestSuite
Results :
Tests run: 254, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO] --- maven-jar-plugin:2.6:jar (default-jar) @ brooklyn-rest-resources ---
[INFO] Building jar:
/home/jenkins/jenkins-agent/workspace/Brooklyn_brooklyn-server_master/rest/rest-resources/target/brooklyn-rest-resources-1.1.0-SNAPSHOT.jar
[INFO]
[INFO] --- maven-site-plugin:3.4:attach-descriptor (attach-descriptor) @
brooklyn-rest-resources ---
[INFO]
[INFO] --- maven-jar-plugin:2.6:test-jar (test-jar-creation) @
brooklyn-rest-resources ---
[INFO] Building jar:
/home/jenkins/jenkins-agent/workspace/Brooklyn_brooklyn-server_master/rest/rest-resources/target/brooklyn-rest-resources-1.1.0-SNAPSHOT-tests.jar
[INFO]
[INFO] --- apache-rat-plugin:0.12:check (default) @ brooklyn-rest-resources ---
[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: DEPENDENCIES
[INFO] Exclude: .mvn/jvm.config
[INFO] Exclude: **/src/main/license/**
[INFO] Exclude: **/src/test/license/**
[INFO] Exclude: **/MANIFEST.MF
[INFO] Exclude: **/META-INF/services/**
[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] Exclude: **/.brooklyn/**
[INFO] 137 resources included (use -debug for more details)
[INFO] Rat check: Summary over all files. Unapproved: 1, unknown: 1, generated:
0, approved: 134 licenses.
[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: DEPENDENCIES
[INFO] Exclude: .mvn/jvm.config
[INFO] Exclude: **/src/main/license/**
[INFO] Exclude: **/src/test/license/**
[INFO] Exclude: **/MANIFEST.MF
[INFO] Exclude: **/META-INF/services/**
[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] Exclude: **/.brooklyn/**
[INFO] 137 resources included (use -debug for more details)
[WARNING] Files with unapproved licenses:
/home/jenkins/jenkins-agent/workspace/Brooklyn_brooklyn-server_master/rest/rest-resources/src/test/resources/logbook.log.sample
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Brooklyn Server Root ............................... SUCCESS [ 1.226 s]
[INFO] Brooklyn Parent Project ............................ SUCCESS [ 3.129 s]
[INFO] Brooklyn Test Support Utilities .................... SUCCESS [ 5.491 s]
[INFO] Brooklyn Logback Includable Configuration .......... SUCCESS [ 0.639 s]
[INFO] Brooklyn Common Utilities .......................... SUCCESS [ 27.133 s]
[INFO] Brooklyn API ....................................... SUCCESS [ 2.384 s]
[INFO] CAMP Server Parent Project ......................... SUCCESS [ 0.214 s]
[INFO] CAMP Base .......................................... SUCCESS [ 3.728 s]
[INFO] Brooklyn Test Support .............................. SUCCESS [ 3.120 s]
[INFO] Brooklyn REST Swagger Apidoc Utilities ............. SUCCESS [ 1.765 s]
[INFO] Brooklyn Logback Configuration ..................... SUCCESS [ 0.317 s]
[INFO] CAMP Server ........................................ SUCCESS [ 6.176 s]
[INFO] Brooklyn Felix Runtime ............................. SUCCESS [ 3.660 s]
[INFO] Brooklyn Groovy Utilities .......................... SUCCESS [ 2.951 s]
[INFO] Brooklyn Core ...................................... SUCCESS [05:18 min]
[INFO] Brooklyn Policies .................................. SUCCESS [ 39.753 s]
[INFO] Brooklyn WinRM Software Entities ................... SUCCESS [ 12.124 s]
[INFO] Brooklyn Secure JMXMP Agent ........................ SUCCESS [ 10.783 s]
[INFO] Brooklyn JMX RMI Agent ............................. SUCCESS [ 0.505 s]
[INFO] Brooklyn Jclouds Location Targets .................. SUCCESS [ 45.007 s]
[INFO] Brooklyn Software Base ............................. SUCCESS [01:43 min]
[INFO] Brooklyn CAMP ...................................... SUCCESS [03:56 min]
[INFO] Brooklyn Launcher Common ........................... SUCCESS [ 6.240 s]
[INFO] Brooklyn REST API .................................. SUCCESS [ 9.907 s]
[INFO] Brooklyn REST Resources ............................ FAILURE [01:06 min]
[INFO] Brooklyn REST Server ............................... SKIPPED
[INFO] Brooklyn Launcher .................................. SKIPPED
[INFO] Brooklyn Container Location Targets ................ SKIPPED
[INFO] Brooklyn Command Line Interface .................... SKIPPED
[INFO] Brooklyn Test Framework ............................ SKIPPED
[INFO] Brooklyn OSGi init ................................. SKIPPED
[INFO] Brooklyn OSGi start ................................ SKIPPED
[INFO] Brooklyn Karaf ..................................... SKIPPED
[INFO] Jetty config fragment .............................. SKIPPED
[INFO] Apache Http Component extension .................... SKIPPED
[INFO] Brooklyn Karaf Features ............................ SKIPPED
[INFO] Brooklyn Karaf Shell Commands ...................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 15:14 min
[INFO] Finished at: 2021-07-16T22:30:53Z
[INFO] Final Memory: 141M/2814M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.12:check
(default) on project brooklyn-rest-resources: Too many files with unapproved
license: 1 See RAT report in:
/home/jenkins/jenkins-agent/workspace/Brooklyn_brooklyn-server_master/rest/rest-resources/target/rat.txt
-> [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
[Pipeline] }
$ docker stop --time=1
9dd9520c763ae7e209a9cae94810f9617be5778512e86dcffa68f97a517af570
$ docker rm -f 9dd9520c763ae7e209a9cae94810f9617be5778512e86dcffa68f97a517af570
[Pipeline] // withDockerContainer
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
ERROR: script returned exit code 1
[Pipeline] // catchError
[Pipeline] stage
[Pipeline] { (Publish test results)
[Pipeline] junit
Recording test results
[Checks API] No suitable checks publisher found.
[Pipeline] step
TestNG Reports Processing: START
Looking for TestNG results report in workspace using pattern:
**/testng-results.xml
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
'/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn-server/branches/master/builds/134/testng/testng-results-1.xml'
Processing
'/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn-server/branches/master/builds/134/testng/testng-results-10.xml'
Processing
'/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn-server/branches/master/builds/134/testng/testng-results-11.xml'
Processing
'/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn-server/branches/master/builds/134/testng/testng-results-12.xml'
Processing
'/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn-server/branches/master/builds/134/testng/testng-results-13.xml'
Processing
'/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn-server/branches/master/builds/134/testng/testng-results-14.xml'
Processing
'/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn-server/branches/master/builds/134/testng/testng-results-15.xml'
Processing
'/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn-server/branches/master/builds/134/testng/testng-results-16.xml'
Processing
'/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn-server/branches/master/builds/134/testng/testng-results-2.xml'
Processing
'/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn-server/branches/master/builds/134/testng/testng-results-3.xml'
Processing
'/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn-server/branches/master/builds/134/testng/testng-results-4.xml'
Processing
'/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn-server/branches/master/builds/134/testng/testng-results-5.xml'
Processing
'/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn-server/branches/master/builds/134/testng/testng-results-6.xml'
Processing
'/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn-server/branches/master/builds/134/testng/testng-results-7.xml'
Processing
'/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn-server/branches/master/builds/134/testng/testng-results-8.xml'
Processing
'/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn-server/branches/master/builds/134/testng/testng-results-9.xml'
Processing
'/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn-server/branches/master/builds/134/testng/testng-results.xml'
TestNG Reports Processing: FINISH
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Send notifications)
[Pipeline] step