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 2022/07/31 14:05:58 UTC

Build failed in Jenkins: Brooklyn » Brooklyn - Library module » master #31

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

Changes:


------------------------------------------
[...truncated 6290 lines...]
Progress (4): 23 kB | 81 kB | 282/378 kB | 81/145 kB
Progress (4): 23 kB | 81 kB | 286/378 kB | 81/145 kB
Progress (4): 23 kB | 81 kB | 290/378 kB | 81/145 kB
Progress (4): 23 kB | 81 kB | 294/378 kB | 81/145 kB
Progress (4): 23 kB | 81 kB | 298/378 kB | 81/145 kB
Progress (4): 23 kB | 81 kB | 303/378 kB | 81/145 kB
Progress (4): 23 kB | 81 kB | 307/378 kB | 81/145 kB
Progress (4): 23 kB | 81 kB | 311/378 kB | 81/145 kB
Progress (4): 23 kB | 81 kB | 315/378 kB | 81/145 kB
Progress (4): 23 kB | 81 kB | 319/378 kB | 81/145 kB
Progress (4): 23 kB | 81 kB | 323/378 kB | 81/145 kB
Progress (4): 23 kB | 81 kB | 327/378 kB | 81/145 kB
Progress (4): 23 kB | 81 kB | 331/378 kB | 81/145 kB
Progress (4): 23 kB | 81 kB | 335/378 kB | 81/145 kB
Progress (4): 23 kB | 81 kB | 339/378 kB | 81/145 kB
Progress (4): 23 kB | 81 kB | 339/378 kB | 85/145 kB
Progress (4): 23 kB | 81 kB | 344/378 kB | 85/145 kB
                                                    
Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/maven-archiver/2.6/maven-archiver-2.6.jar (23 kB at 144 kB/s)
Progress (3): 81 kB | 344/378 kB | 90/145 kB
Progress (3): 81 kB | 348/378 kB | 90/145 kB
Progress (3): 81 kB | 348/378 kB | 94/145 kB
Progress (3): 81 kB | 352/378 kB | 94/145 kB
Progress (3): 81 kB | 352/378 kB | 98/145 kB
Progress (3): 81 kB | 356/378 kB | 98/145 kB
Progress (3): 81 kB | 360/378 kB | 98/145 kB
Progress (3): 81 kB | 360/378 kB | 102/145 kB
Progress (3): 81 kB | 360/378 kB | 106/145 kB
Progress (3): 81 kB | 364/378 kB | 106/145 kB
Progress (3): 81 kB | 364/378 kB | 110/145 kB
Progress (3): 81 kB | 368/378 kB | 110/145 kB
Progress (3): 81 kB | 368/378 kB | 114/145 kB
Progress (3): 81 kB | 372/378 kB | 114/145 kB
Progress (3): 81 kB | 376/378 kB | 114/145 kB
Progress (3): 81 kB | 376/378 kB | 118/145 kB
Progress (3): 81 kB | 378 kB | 118/145 kB    
Progress (3): 81 kB | 378 kB | 122/145 kB
Progress (3): 81 kB | 378 kB | 126/145 kB
Progress (3): 81 kB | 378 kB | 131/145 kB
Progress (3): 81 kB | 378 kB | 135/145 kB
Progress (3): 81 kB | 378 kB | 139/145 kB
Progress (3): 81 kB | 378 kB | 143/145 kB
Progress (3): 81 kB | 378 kB | 145 kB    
                                     
Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-io/2.4/plexus-io-2.4.jar (81 kB at 460 kB/s)
Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/commons/commons-compress/1.9/commons-compress-1.9.jar (378 kB at 1.6 MB/s)
Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-archiver/2.9/plexus-archiver-2.9.jar (145 kB at 593 kB/s)
[INFO] Building jar: /home/jenkins/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/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/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/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/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/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/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/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/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/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/workspace/Brooklyn_brooklyn-library_master/software/cm/salt && git rev-parse --verify HEAD
[INFO] Working directory: /home/jenkins/workspace/Brooklyn_brooklyn-library_master/software/cm/salt
[INFO] Storing buildNumber: ada8212fedea2b54b58c2b270da58c444604b32a at timestamp: 1659276347508
[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/workspace/Brooklyn_brooklyn-library_master/software/cm/salt && git rev-parse --verify HEAD
[INFO] Working directory: /home/jenkins/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/workspace/Brooklyn_brooklyn-library_master/software/cm/salt/target/classes
[INFO] /home/jenkins/workspace/Brooklyn_brooklyn-library_master/software/cm/salt/src/main/java/org/apache/brooklyn/entity/cm/salt/SaltEntity.java: /home/jenkins/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/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/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 [  5.632 s]
[INFO] Brooklyn CM Chef ................................... SUCCESS [ 49.272 s]
[INFO] Brooklyn CM SaltStack .............................. FAILURE [  3.915 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: 01:06 min
[INFO] Finished at: 2022-07-31T14:05:51Z
[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/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 b6310d41494a2d85f999ac8f0824879562cae493c84aad9cb5584ffd29337a88
$ docker rm -f b6310d41494a2d85f999ac8f0824879562cae493c84aad9cb5584ffd29337a88
[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/31/testng/testng-results.xml'
TestNG Reports Processing: FINISH
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Send notifications)
[Pipeline] step

Build failed in Jenkins: Brooklyn » Brooklyn - Library module » master #33

Posted by Apache Jenkins Server <je...@builds.apache.org>.
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

Build failed in Jenkins: Brooklyn » Brooklyn - Library module » master #32

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://ci-builds.apache.org/job/Brooklyn/job/brooklyn-library/job/master/32/display/redirect>

Changes:


------------------------------------------
[...truncated 40212 lines...]
Progress (4): 23 kB | 145 kB | 212/378 kB | 81 kB
Progress (4): 23 kB | 145 kB | 217/378 kB | 81 kB
Progress (4): 23 kB | 145 kB | 221/378 kB | 81 kB
Progress (4): 23 kB | 145 kB | 225/378 kB | 81 kB
Progress (4): 23 kB | 145 kB | 229/378 kB | 81 kB
Progress (4): 23 kB | 145 kB | 233/378 kB | 81 kB
Progress (4): 23 kB | 145 kB | 237/378 kB | 81 kB
Progress (4): 23 kB | 145 kB | 241/378 kB | 81 kB
Progress (4): 23 kB | 145 kB | 245/378 kB | 81 kB
Progress (4): 23 kB | 145 kB | 249/378 kB | 81 kB
Progress (4): 23 kB | 145 kB | 253/378 kB | 81 kB
Progress (4): 23 kB | 145 kB | 258/378 kB | 81 kB
Progress (4): 23 kB | 145 kB | 262/378 kB | 81 kB
Progress (4): 23 kB | 145 kB | 266/378 kB | 81 kB
Progress (4): 23 kB | 145 kB | 270/378 kB | 81 kB
Progress (4): 23 kB | 145 kB | 274/378 kB | 81 kB
Progress (4): 23 kB | 145 kB | 278/378 kB | 81 kB
Progress (4): 23 kB | 145 kB | 282/378 kB | 81 kB
Progress (4): 23 kB | 145 kB | 286/378 kB | 81 kB
Progress (4): 23 kB | 145 kB | 290/378 kB | 81 kB
Progress (4): 23 kB | 145 kB | 294/378 kB | 81 kB
Progress (4): 23 kB | 145 kB | 298/378 kB | 81 kB
Progress (4): 23 kB | 145 kB | 303/378 kB | 81 kB
Progress (4): 23 kB | 145 kB | 307/378 kB | 81 kB
Progress (4): 23 kB | 145 kB | 311/378 kB | 81 kB
Progress (4): 23 kB | 145 kB | 315/378 kB | 81 kB
Progress (4): 23 kB | 145 kB | 319/378 kB | 81 kB
Progress (4): 23 kB | 145 kB | 323/378 kB | 81 kB
Progress (4): 23 kB | 145 kB | 327/378 kB | 81 kB
Progress (4): 23 kB | 145 kB | 331/378 kB | 81 kB
Progress (4): 23 kB | 145 kB | 335/378 kB | 81 kB
Progress (4): 23 kB | 145 kB | 339/378 kB | 81 kB
Progress (4): 23 kB | 145 kB | 344/378 kB | 81 kB
Progress (4): 23 kB | 145 kB | 348/378 kB | 81 kB
Progress (4): 23 kB | 145 kB | 352/378 kB | 81 kB
Progress (4): 23 kB | 145 kB | 356/378 kB | 81 kB
Progress (4): 23 kB | 145 kB | 360/378 kB | 81 kB
Progress (4): 23 kB | 145 kB | 364/378 kB | 81 kB
Progress (4): 23 kB | 145 kB | 368/378 kB | 81 kB
Progress (4): 23 kB | 145 kB | 372/378 kB | 81 kB
Progress (4): 23 kB | 145 kB | 376/378 kB | 81 kB
Progress (4): 23 kB | 145 kB | 378 kB | 81 kB    
                                             
Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/maven-archiver/2.6/maven-archiver-2.6.jar (23 kB at 141 kB/s)
Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-archiver/2.9/plexus-archiver-2.9.jar (145 kB at 742 kB/s)
Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-io/2.4/plexus-io-2.4.jar (81 kB at 409 kB/s)
Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/commons/commons-compress/1.9/commons-compress-1.9.jar (378 kB at 1.7 MB/s)
[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 (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: 1659282953763
[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 [01:12 min]
[INFO] Brooklyn CM Chef ................................... SUCCESS [01:42 min]
[INFO] Brooklyn CM SaltStack .............................. FAILURE [  3.702 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: 03:36 min
[INFO] Finished at: 2022-07-31T15:55:57Z
[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 009ecfaadbbc04e98788fcdf9efd030ff9e19bfd51ee9dd364afec289a92f4ab
$ docker rm -f 009ecfaadbbc04e98788fcdf9efd030ff9e19bfd51ee9dd364afec289a92f4ab
[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/32/testng/testng-results.xml'
TestNG Reports Processing: FINISH
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Send notifications)
[Pipeline] step