See
<https://ci-builds.apache.org/job/Brooklyn/job/brooklyn-server/job/master/133/display/redirect>
Changes:
------------------------------------------
[...truncated 65416 lines...]
2021-07-16 22:07:27,009 INFO - TESTNG PASSED: "Surefire test" -
org.apache.brooklyn.rest.resources.EntityConfigResourceTest.testList() finished
in 26 ms
2021-07-16 22:07:27,010 INFO - TESTNG INVOKING CONFIGURATION: "Surefire test"
- @AfterMethod
org.apache.brooklyn.rest.testing.BrooklynRestApiTest.tearDownMethod()
2021-07-16 22:07:27,010 INFO - TESTNG PASSED CONFIGURATION: "Surefire test" -
@AfterMethod
org.apache.brooklyn.rest.testing.BrooklynRestApiTest.tearDownMethod() finished
in 1 ms
2021-07-16 22:07:27,010 INFO - TESTNG INVOKING CONFIGURATION: "Surefire test"
- @BeforeMethod
org.apache.brooklyn.rest.testing.BrooklynRestApiTest.setUpMethod()
2021-07-16 22:07:27,010 INFO - TESTNG PASSED CONFIGURATION: "Surefire test" -
@BeforeMethod
org.apache.brooklyn.rest.testing.BrooklynRestApiTest.setUpMethod() finished in
0 ms
2021-07-16 22:07:27,010 INFO - TESTNG INVOKING: "Surefire test" -
org.apache.brooklyn.rest.resources.EntityConfigResourceTest.testSet()
2021-07-16 22:07:27,026 INFO - TESTNG PASSED: "Surefire test" -
org.apache.brooklyn.rest.resources.EntityConfigResourceTest.testSet() finished
in 16 ms
2021-07-16 22:07:27,026 INFO - TESTNG INVOKING CONFIGURATION: "Surefire test"
- @AfterMethod
org.apache.brooklyn.rest.testing.BrooklynRestApiTest.tearDownMethod()
2021-07-16 22:07:27,026 INFO - TESTNG PASSED CONFIGURATION: "Surefire test" -
@AfterMethod
org.apache.brooklyn.rest.testing.BrooklynRestApiTest.tearDownMethod() finished
in 0 ms
2021-07-16 22:07:27,026 INFO - TESTNG INVOKING CONFIGURATION: "Surefire test"
- @BeforeMethod
org.apache.brooklyn.rest.testing.BrooklynRestApiTest.setUpMethod()
2021-07-16 22:07:27,026 INFO - TESTNG PASSED CONFIGURATION: "Surefire test" -
@BeforeMethod
org.apache.brooklyn.rest.testing.BrooklynRestApiTest.setUpMethod() finished in
0 ms
2021-07-16 22:07:27,027 INFO - TESTNG INVOKING: "Surefire test" -
org.apache.brooklyn.rest.resources.EntityConfigResourceTest.testSetFromMap()
2021-07-16 22:07:27,038 INFO - TESTNG PASSED: "Surefire test" -
org.apache.brooklyn.rest.resources.EntityConfigResourceTest.testSetFromMap()
finished in 11 ms
2021-07-16 22:07:27,080 INFO - TESTNG INVOKING CONFIGURATION: "Surefire test"
- @AfterMethod
org.apache.brooklyn.rest.testing.BrooklynRestApiTest.tearDownMethod()
2021-07-16 22:07:27,080 INFO - TESTNG PASSED CONFIGURATION: "Surefire test" -
@AfterMethod
org.apache.brooklyn.rest.testing.BrooklynRestApiTest.tearDownMethod() finished
in 0 ms
2021-07-16 22:07:27,080 INFO - TESTNG INVOKING CONFIGURATION: "Surefire test"
- @AfterClass
org.apache.brooklyn.rest.testing.BrooklynRestApiTest.tearDownClass()
2021-07-16 22:07:27,090 INFO HhN52O0S-[n7uyl9sbhg] Stopping application
BasicApplicationImpl{id=n7uyl9sbhg, name=simple-app}
2021-07-16 22:07:27,092 INFO cDOZTtpk-[n7uyl9sbhg,vl6cah6c7k] Stopping
RestMockSimpleEntity{id=vl6cah6c7k, name=simple-ent} in
[SshMachineLocation[localhost:null@ced43e2676f2/172.17.0.2:22(id=oc9snfwe67)]]
2021-07-16 22:07:27,102 INFO HhN52O0S-[n7uyl9sbhg] Stopped application
BasicApplicationImpl{id=n7uyl9sbhg, name=simple-app}
2021-07-16 22:07:27,107 INFO - TESTNG PASSED CONFIGURATION: "Surefire test" -
@AfterClass
org.apache.brooklyn.rest.testing.BrooklynRestApiTest.tearDownClass() finished
in 26 ms
2021-07-16 22:07:27,109 INFO - TESTNG
===============================================
Surefire test
Tests run: 254, Failures: 0, Skips: 0
===============================================
Tests run: 254, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 62.171 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.977 s]
[INFO] Brooklyn Parent Project ............................ SUCCESS [ 6.824 s]
[INFO] Brooklyn Test Support Utilities .................... SUCCESS [ 9.757 s]
[INFO] Brooklyn Logback Includable Configuration .......... SUCCESS [ 0.728 s]
[INFO] Brooklyn Common Utilities .......................... SUCCESS [ 32.307 s]
[INFO] Brooklyn API ....................................... SUCCESS [ 2.584 s]
[INFO] CAMP Server Parent Project ......................... SUCCESS [ 0.238 s]
[INFO] CAMP Base .......................................... SUCCESS [ 3.405 s]
[INFO] Brooklyn Test Support .............................. SUCCESS [ 3.103 s]
[INFO] Brooklyn REST Swagger Apidoc Utilities ............. SUCCESS [ 1.749 s]
[INFO] Brooklyn Logback Configuration ..................... SUCCESS [ 0.331 s]
[INFO] CAMP Server ........................................ SUCCESS [ 11.804 s]
[INFO] Brooklyn Felix Runtime ............................. SUCCESS [ 5.199 s]
[INFO] Brooklyn Groovy Utilities .......................... SUCCESS [ 2.851 s]
[INFO] Brooklyn Core ...................................... SUCCESS [05:47 min]
[INFO] Brooklyn Policies .................................. SUCCESS [ 45.855 s]
[INFO] Brooklyn WinRM Software Entities ................... SUCCESS [ 13.865 s]
[INFO] Brooklyn Secure JMXMP Agent ........................ SUCCESS [ 12.891 s]
[INFO] Brooklyn JMX RMI Agent ............................. SUCCESS [ 1.316 s]
[INFO] Brooklyn Jclouds Location Targets .................. SUCCESS [ 48.907 s]
[INFO] Brooklyn Software Base ............................. SUCCESS [01:59 min]
[INFO] Brooklyn CAMP ...................................... SUCCESS [04:56 min]
[INFO] Brooklyn Launcher Common ........................... SUCCESS [ 5.896 s]
[INFO] Brooklyn REST API .................................. SUCCESS [ 9.996 s]
[INFO] Brooklyn REST Resources ............................ FAILURE [01:12 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: 17:41 min
[INFO] Finished at: 2021-07-16T22:07:28Z
[INFO] Final Memory: 154M/3096M
[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
ced43e2676f26b0623d917859c121e4c9e9d8b73de7d0878dea43b5865a28c7a
$ docker rm -f ced43e2676f26b0623d917859c121e4c9e9d8b73de7d0878dea43b5865a28c7a
[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/133/testng/testng-results-1.xml'
Processing
'/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn-server/branches/master/builds/133/testng/testng-results-10.xml'
Processing
'/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn-server/branches/master/builds/133/testng/testng-results-11.xml'
Processing
'/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn-server/branches/master/builds/133/testng/testng-results-12.xml'
Processing
'/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn-server/branches/master/builds/133/testng/testng-results-13.xml'
Processing
'/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn-server/branches/master/builds/133/testng/testng-results-14.xml'
Processing
'/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn-server/branches/master/builds/133/testng/testng-results-15.xml'
Processing
'/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn-server/branches/master/builds/133/testng/testng-results-16.xml'
Processing
'/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn-server/branches/master/builds/133/testng/testng-results-2.xml'
Processing
'/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn-server/branches/master/builds/133/testng/testng-results-3.xml'
Processing
'/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn-server/branches/master/builds/133/testng/testng-results-4.xml'
Processing
'/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn-server/branches/master/builds/133/testng/testng-results-5.xml'
Processing
'/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn-server/branches/master/builds/133/testng/testng-results-6.xml'
Processing
'/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn-server/branches/master/builds/133/testng/testng-results-7.xml'
Processing
'/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn-server/branches/master/builds/133/testng/testng-results-8.xml'
Processing
'/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn-server/branches/master/builds/133/testng/testng-results-9.xml'
Processing
'/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn-server/branches/master/builds/133/testng/testng-results.xml'
TestNG Reports Processing: FINISH
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Send notifications)
[Pipeline] step