See 
<https://ci-builds.apache.org/job/Brooklyn/job/brooklyn-library/job/master/33/display/redirect>

Changes:


------------------------------------------
[...truncated 244 lines...]
[INFO] 
[INFO] --- maven-checkstyle-plugin:2.17:check (verify-style) @ 
brooklyn-software-cm-chef ---
[INFO] 
[INFO] --- maven-bundle-plugin:3.2.0:manifest (bundle-manifest) @ 
brooklyn-software-cm-chef ---
[WARNING] Manifest 
org.apache.brooklyn:brooklyn-software-cm-chef:jar:1.1.0-SNAPSHOT : Unused 
Export-Package instructions: [brooklyn.*] 
[INFO] 
[INFO] --- maven-resources-plugin:2.7:testResources (default-testResources) @ 
brooklyn-software-cm-chef ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.6.1:testCompile (default-testCompile) @ 
brooklyn-software-cm-chef ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 11 source files to 
/home/jenkins/jenkins-agent/workspace/Brooklyn_brooklyn-library_master/software/cm/chef/target/test-classes
[INFO] 
/home/jenkins/jenkins-agent/workspace/Brooklyn_brooklyn-library_master/software/cm/chef/src/test/java/org/apache/brooklyn/entity/chef/mysql/ChefSoloDriverToyMySqlEntity.java:
 Some input files use or override a deprecated API.
[INFO] 
/home/jenkins/jenkins-agent/workspace/Brooklyn_brooklyn-library_master/software/cm/chef/src/test/java/org/apache/brooklyn/entity/chef/mysql/ChefSoloDriverToyMySqlEntity.java:
 Recompile with -Xlint:deprecation for details.
[INFO] 
[INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ 
brooklyn-software-cm-chef ---

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running TestSuite
2022-07-31 19:55:15,873 INFO  o.a.b.t.s.LoggingVerboseReporter                  
TESTNG RUNNING: Suite: "Surefire test" containing "1" Tests (config: null)
2022-07-31 19:55:17,173 INFO  o.a.b.t.s.LoggingVerboseReporter                  
TESTNG INVOKING CONFIGURATION: "Surefire test" - @BeforeMethod 
org.apache.brooklyn.core.test.BrooklynAppUnitTestSupport.setUp()
[GC (Allocation Failure)  196608K->17746K(753664K), 0.0289041 secs]
[GC (Metadata GC Threshold)  57563K->10159K(753664K), 0.0149355 secs]
[Full GC (Metadata GC Threshold)  10159K->9638K(753664K), 0.0646651 secs]
2022-07-31 19:55:18,611 INFO  o.a.b.t.s.LoggingVerboseReporter                  
TESTNG PASSED CONFIGURATION: "Surefire test" - @BeforeMethod 
org.apache.brooklyn.core.test.BrooklynAppUnitTestSupport.setUp() finished in 
1441 ms
2022-07-31 19:55:18,614 INFO  o.a.b.t.s.LoggingVerboseReporter                  
TESTNG INVOKING: "Surefire test" - 
org.apache.brooklyn.entity.chef.ChefConfigsTest.testAddToRunList()
2022-07-31 19:55:18,634 INFO  o.a.b.t.s.LoggingVerboseReporter                  
TESTNG PASSED: "Surefire test" - 
org.apache.brooklyn.entity.chef.ChefConfigsTest.testAddToRunList() finished in 
19 ms
2022-07-31 19:55:18,635 INFO  o.a.b.t.s.LoggingVerboseReporter                  
TESTNG INVOKING CONFIGURATION: "Surefire test" - @AfterMethod 
org.apache.brooklyn.core.test.BrooklynMgmtUnitTestSupport.tearDown()
2022-07-31 19:55:18,720 INFO  o.a.b.t.s.LoggingVerboseReporter                  
TESTNG PASSED CONFIGURATION: "Surefire test" - @AfterMethod 
org.apache.brooklyn.core.test.BrooklynMgmtUnitTestSupport.tearDown() finished 
in 85 ms
2022-07-31 19:55:18,758 INFO  o.a.b.t.s.LoggingVerboseReporter                  
TESTNG 
===============================================
    Surefire test
    Tests run: 1, Failures: 0, Skips: 0
===============================================
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.282 sec - in 
TestSuite

Results :

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

[INFO] 
[INFO] --- maven-jar-plugin:2.6:jar (default-jar) @ brooklyn-software-cm-chef 
---
[INFO] Building jar: 
/home/jenkins/jenkins-agent/workspace/Brooklyn_brooklyn-library_master/software/cm/chef/target/brooklyn-software-cm-chef-1.1.0-SNAPSHOT.jar
[INFO] 
[INFO] --- maven-site-plugin:3.4:attach-descriptor (attach-descriptor) @ 
brooklyn-software-cm-chef ---
[INFO] 
[INFO] --- maven-jar-plugin:2.6:test-jar (test-jar-creation) @ 
brooklyn-software-cm-chef ---
[INFO] Building jar: 
/home/jenkins/jenkins-agent/workspace/Brooklyn_brooklyn-library_master/software/cm/chef/target/brooklyn-software-cm-chef-1.1.0-SNAPSHOT-tests.jar
[INFO] 
[INFO] --- apache-rat-plugin:0.12:check (default) @ brooklyn-software-cm-chef 
---
[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] 31 resources included (use -debug for more details)
[INFO] Rat check: Summary over all files. Unapproved: 0, unknown: 0, generated: 
0, approved: 30 licenses.
[INFO] 
[INFO] --- maven-source-plugin:2.4:jar-no-fork (attach-sources) @ 
brooklyn-software-cm-chef ---
[INFO] Building jar: 
/home/jenkins/jenkins-agent/workspace/Brooklyn_brooklyn-library_master/software/cm/chef/target/brooklyn-software-cm-chef-1.1.0-SNAPSHOT-sources.jar
[INFO] 
[INFO] --- maven-source-plugin:2.4:test-jar-no-fork (attach-sources) @ 
brooklyn-software-cm-chef ---
[INFO] Building jar: 
/home/jenkins/jenkins-agent/workspace/Brooklyn_brooklyn-library_master/software/cm/chef/target/brooklyn-software-cm-chef-1.1.0-SNAPSHOT-test-sources.jar
[INFO] 
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ 
brooklyn-software-cm-chef ---
[INFO] Installing 
/home/jenkins/jenkins-agent/workspace/Brooklyn_brooklyn-library_master/software/cm/chef/target/brooklyn-software-cm-chef-1.1.0-SNAPSHOT.jar
 to 
/var/maven/.m2/repository/org/apache/brooklyn/brooklyn-software-cm-chef/1.1.0-SNAPSHOT/brooklyn-software-cm-chef-1.1.0-SNAPSHOT.jar
[INFO] Installing 
/home/jenkins/jenkins-agent/workspace/Brooklyn_brooklyn-library_master/software/cm/chef/pom.xml
 to 
/var/maven/.m2/repository/org/apache/brooklyn/brooklyn-software-cm-chef/1.1.0-SNAPSHOT/brooklyn-software-cm-chef-1.1.0-SNAPSHOT.pom
[INFO] Installing 
/home/jenkins/jenkins-agent/workspace/Brooklyn_brooklyn-library_master/software/cm/chef/target/brooklyn-software-cm-chef-1.1.0-SNAPSHOT-tests.jar
 to 
/var/maven/.m2/repository/org/apache/brooklyn/brooklyn-software-cm-chef/1.1.0-SNAPSHOT/brooklyn-software-cm-chef-1.1.0-SNAPSHOT-tests.jar
[INFO] Installing 
/home/jenkins/jenkins-agent/workspace/Brooklyn_brooklyn-library_master/software/cm/chef/target/brooklyn-software-cm-chef-1.1.0-SNAPSHOT-sources.jar
 to 
/var/maven/.m2/repository/org/apache/brooklyn/brooklyn-software-cm-chef/1.1.0-SNAPSHOT/brooklyn-software-cm-chef-1.1.0-SNAPSHOT-sources.jar
[INFO] Installing 
/home/jenkins/jenkins-agent/workspace/Brooklyn_brooklyn-library_master/software/cm/chef/target/brooklyn-software-cm-chef-1.1.0-SNAPSHOT-test-sources.jar
 to 
/var/maven/.m2/repository/org/apache/brooklyn/brooklyn-software-cm-chef/1.1.0-SNAPSHOT/brooklyn-software-cm-chef-1.1.0-SNAPSHOT-test-sources.jar
[INFO] 
[INFO] -----------< org.apache.brooklyn:brooklyn-software-cm-salt >------------
[INFO] Building Brooklyn CM SaltStack 1.1.0-SNAPSHOT                     [3/22]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.6.1:clean (default-clean) @ 
brooklyn-software-cm-salt ---
[INFO] Deleting 
/home/jenkins/jenkins-agent/workspace/Brooklyn_brooklyn-library_master/software/cm/salt/target
[INFO] Deleting 
/home/jenkins/jenkins-agent/workspace/Brooklyn_brooklyn-library_master/software/cm/salt
 (includes = [brooklyn*.log, brooklyn*.log.*, stacktrace.log, test-output, 
prodDb.*], excludes = [])
[INFO] 
[INFO] --- maven-replacer-plugin:1.4.1:replace 
(fix-eclipse-dot-classpath-mangling) @ brooklyn-software-cm-salt ---
[INFO] Ignoring missing file
[INFO] Replacement run on 0 file.
[INFO] 
[INFO] --- buildnumber-maven-plugin:1.3:create (default) @ 
brooklyn-software-cm-salt ---
[INFO] Executing: /bin/sh -c cd 
/home/jenkins/jenkins-agent/workspace/Brooklyn_brooklyn-library_master/software/cm/salt
 && git rev-parse --verify HEAD
[INFO] Working directory: 
/home/jenkins/jenkins-agent/workspace/Brooklyn_brooklyn-library_master/software/cm/salt
[INFO] Storing buildNumber: 644eb1b83973b3655861cec4086c0fe662e73225 at 
timestamp: 1659297322051
[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 
/home/jenkins/jenkins-agent/workspace/Brooklyn_brooklyn-library_master/software/cm/salt
 && git rev-parse --verify HEAD
[INFO] Working directory: 
/home/jenkins/jenkins-agent/workspace/Brooklyn_brooklyn-library_master/software/cm/salt
[INFO] Storing buildScmBranch: UNKNOWN
[INFO] 
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (brooklyn-build-req) @ 
brooklyn-software-cm-salt ---
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ 
brooklyn-software-cm-salt ---
[INFO] 
[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ 
brooklyn-software-cm-salt ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.6.1:compile (default-compile) @ 
brooklyn-software-cm-salt ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 11 source files to 
/home/jenkins/jenkins-agent/workspace/Brooklyn_brooklyn-library_master/software/cm/salt/target/classes
[INFO] 
/home/jenkins/jenkins-agent/workspace/Brooklyn_brooklyn-library_master/software/cm/salt/src/main/java/org/apache/brooklyn/entity/cm/salt/SaltEntity.java:
 
/home/jenkins/jenkins-agent/workspace/Brooklyn_brooklyn-library_master/software/cm/salt/src/main/java/org/apache/brooklyn/entity/cm/salt/SaltEntity.java
 uses or overrides a deprecated API.
[INFO] 
/home/jenkins/jenkins-agent/workspace/Brooklyn_brooklyn-library_master/software/cm/salt/src/main/java/org/apache/brooklyn/entity/cm/salt/SaltEntity.java:
 Recompile with -Xlint:deprecation for details.
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] 
/home/jenkins/jenkins-agent/workspace/Brooklyn_brooklyn-library_master/software/cm/salt/src/main/java/org/apache/brooklyn/entity/cm/salt/SaltSshTasks.java:[198,17]
 no suitable method found for contents(()->Resour[...]name))
    method 
org.apache.brooklyn.util.core.task.ssh.SshPutTaskFactory.contents(java.lang.String)
 is not applicable
      (argument mismatch; java.lang.String is not a functional interface)
    method 
org.apache.brooklyn.util.core.task.ssh.SshPutTaskFactory.contents(byte[]) is 
not applicable
      (argument mismatch; Array is not a functional interface)
    method 
org.apache.brooklyn.util.core.task.ssh.SshPutTaskFactory.contents(java.io.InputStream)
 is not applicable
      (argument mismatch; java.io.InputStream is not a functional interface)
    method 
org.apache.brooklyn.util.core.task.ssh.SshPutTaskFactory.contents(java.io.Reader)
 is not applicable
      (argument mismatch; java.io.Reader is not a functional interface)
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Brooklyn Library Root 1.1.0-SNAPSHOT ............... SUCCESS [  6.039 s]
[INFO] Brooklyn CM Chef ................................... SUCCESS [ 27.042 s]
[INFO] Brooklyn CM SaltStack .............................. FAILURE [  3.801 s]
[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 1.1.0-SNAPSHOT ..... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 39.307 s
[INFO] Finished at: 2022-07-31T19:55:25Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-compiler-plugin:3.6.1:compile (default-compile) 
on project brooklyn-software-cm-salt: Compilation failure
[ERROR] 
/home/jenkins/jenkins-agent/workspace/Brooklyn_brooklyn-library_master/software/cm/salt/src/main/java/org/apache/brooklyn/entity/cm/salt/SaltSshTasks.java:[198,17]
 no suitable method found for contents(()->Resour[...]name))
[ERROR]     method 
org.apache.brooklyn.util.core.task.ssh.SshPutTaskFactory.contents(java.lang.String)
 is not applicable
[ERROR]       (argument mismatch; java.lang.String is not a functional 
interface)
[ERROR]     method 
org.apache.brooklyn.util.core.task.ssh.SshPutTaskFactory.contents(byte[]) is 
not applicable
[ERROR]       (argument mismatch; Array is not a functional interface)
[ERROR]     method 
org.apache.brooklyn.util.core.task.ssh.SshPutTaskFactory.contents(java.io.InputStream)
 is not applicable
[ERROR]       (argument mismatch; java.io.InputStream is not a functional 
interface)
[ERROR]     method 
org.apache.brooklyn.util.core.task.ssh.SshPutTaskFactory.contents(java.io.Reader)
 is not applicable
[ERROR]       (argument mismatch; java.io.Reader is not a functional interface)
[ERROR] 
[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-software-cm-salt
[Pipeline] }
$ docker stop --time=1 
899b36c617c3e22a27e23ca802189978ae86eee5708a9dff8a23127963612a1e
$ docker rm -f 899b36c617c3e22a27e23ca802189978ae86eee5708a9dff8a23127963612a1e
[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
Saving reports...
Processing 
'/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn-library/branches/master/builds/33/testng/testng-results.xml'
TestNG Reports Processing: FINISH
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Send notifications)
[Pipeline] step

Reply via email to