Started by user Achim Kraus Running as Achim Kraus Agent basic-tddxh is provisioned from template basic --- apiVersion: "v1" kind: "Pod" metadata: labels: jenkins: "slave" jenkins/label-digest: "61a7508ed1b04e9ada836fcd14d4d8ef5687c7dd" jenkins/label: "basic" name: "basic-tddxh" namespace: "californium" spec: containers: - env: - name: "JENKINS_SECRET" value: "********" - name: "JENKINS_TUNNEL" value: "jenkins-discovery.californium.svc.cluster.local:50000" - name: "JENKINS_AGENT_NAME" value: "basic-tddxh" - name: "JENKINS_REMOTING_JAVA_OPTS" value: "-showversion -XshowSettings:vm -Xmx256m -Dorg.jenkinsci.remoting.engine.JnlpProtocol3.disabled=true\ \ -Dorg.jenkinsci.plugins.gitclient.CliGitAPIImpl.useSETSID=true" - name: "JAVA_TOOL_OPTIONS" value: "" - name: "_JAVA_OPTIONS" value: "" - name: "OPENJ9_JAVA_OPTIONS" value: "-XX:+IgnoreUnrecognizedVMOptions -XX:+IdleTuningCompactOnIdle -XX:+IdleTuningGcOnIdle" - name: "JENKINS_NAME" value: "basic-tddxh" - name: "JENKINS_AGENT_WORKDIR" value: "/home/jenkins/agent" - name: "JENKINS_URL" value: "http://jenkins-ui.californium.svc.cluster.local/californium/" image: "docker.io/eclipsecbi/jiro-agent-basic:remoting-3160.vd76b_9ddd10cc" imagePullPolicy: "Always" name: "jnlp" resources: limits: cpu: "2000m" memory: "4096Mi" requests: cpu: "1000m" memory: "4096Mi" tty: true volumeMounts: - mountPath: "/home/jenkins/.m2/toolchains.xml" name: "m2-dir" readOnly: true subPath: "toolchains.xml" - mountPath: "/home/jenkins/.mavenrc" name: "m2-dir" readOnly: true subPath: ".mavenrc" - mountPath: "/opt/tools" name: "volume-0" readOnly: false - mountPath: "/home/jenkins" name: "volume-2" readOnly: false - mountPath: "/home/jenkins/.m2/repository" name: "volume-3" readOnly: false - mountPath: "/home/jenkins/.m2/settings-security.xml" name: "m2-secret-dir" readOnly: true subPath: "settings-security.xml" - mountPath: "/home/jenkins/.m2/wrapper" name: "volume-4" readOnly: false - mountPath: "/home/jenkins/.m2/settings.xml" name: "m2-secret-dir" readOnly: true subPath: "settings.xml" - mountPath: "/home/jenkins/.ssh" name: "volume-1" readOnly: false subPath: "" - mountPath: "/home/jenkins/agent" name: "workspace-volume" readOnly: false workingDir: "/home/jenkins/agent" nodeSelector: kubernetes.io/os: "linux" restartPolicy: "Never" volumes: - name: "volume-0" persistentVolumeClaim: claimName: "tools-claim-jiro-californium" readOnly: true - name: "m2-secret-dir" secret: secretName: "m2-secret-dir" - emptyDir: medium: "" name: "volume-2" - configMap: name: "m2-dir" name: "m2-dir" - configMap: name: "known-hosts" name: "volume-1" - emptyDir: medium: "" name: "workspace-volume" - emptyDir: medium: "" name: "volume-4" - emptyDir: medium: "" name: "volume-3" Building remotely on basic-tddxh (basic) in workspace /home/jenkins/agent/workspace/californium.tools-release [WS-CLEANUP] Deleting project workspace... [WS-CLEANUP] Deferred wipeout is used... [ssh-agent] Looking for ssh-agent implementation... [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) $ ssh-agent SSH_AUTH_SOCK=/tmp/ssh-wvXFk2ALB8Is/agent.48 SSH_AGENT_PID=50 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /home/jenkins/agent/workspace/californium.tools-release@tmp/private_key_5158224730282372757.key (/home/jenkins/agent/workspace/californium.tools-release@tmp/private_key_5158224730282372757.key) [ssh-agent] Using credentials eclipse-californium-bot (GitHub bot (SSH)) The recommended git tool is: NONE using credential github-bot-ssh Cloning the remote Git repository Cloning repository ssh://git@github.com/eclipse-californium/californium.tools.git > git init /home/jenkins/agent/workspace/californium.tools-release # timeout=10 Fetching upstream changes from ssh://git@github.com/eclipse-californium/californium.tools.git > git --version # timeout=10 > git --version # 'git version 2.20.1' using GIT_SSH to set credentials GitHub bot (SSH) [INFO] Currently running in a labeled security context > /usr/bin/chcon --type=ssh_home_t /home/jenkins/agent/workspace/californium.tools-release@tmp/jenkins-gitclient-ssh14534443195874137387.key Verifying host key using manually-configured host key entries > git fetch --tags --force --progress -- ssh://git@github.com/eclipse-californium/californium.tools.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url ssh://git@github.com/eclipse-californium/californium.tools.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch > git rev-parse origin/main^{commit} # timeout=10 Checking out Revision ef3fdf4c083095ca5ec10aa90a221ae48f9e3b0a (origin/main) > git config core.sparsecheckout # timeout=10 > git checkout -f ef3fdf4c083095ca5ec10aa90a221ae48f9e3b0a # timeout=10 > git branch -a -v --no-abbrev # timeout=10 > git checkout -b main ef3fdf4c083095ca5ec10aa90a221ae48f9e3b0a # timeout=10 Commit message: "Use maven.compiler.release to support java 8." > git rev-list --no-walk c2c1e51a77d0939b894ddab1b5d1f0d3b93c033a # timeout=10 [californium.tools-release] $ /opt/tools/apache-maven/latest/bin/mvn -f pom.xml -DBRANCH=main -DNEXT_VERSION=3.11.0-SNAPSHOT -DRELEASE_VERSION=3.11.0-RRC-0 -DgenerateBackupPoms=false -DparentVersion=[3.11.0-RRC-0] versions:update-parent versions:update-child-modules -B Apache Maven 3.9.5 (57804ffe001d7215b5e7bcb531cf83df38f93546) Maven home: /opt/tools/apache-maven/latest Java version: 17.0.2, vendor: Oracle Corporation, runtime: /opt/tools/java/openjdk/jdk-17/17.0.2+8 Default locale: en_US, platform encoding: UTF-8 OS name: "linux", version: "6.2.9-300.fc38.x86_64", arch: "amd64", family: "unix" [INFO] Scanning for projects... [INFO] Inspecting build with total of 8 modules... [INFO] Installing Nexus Staging features: [INFO] ... total of 8 executions of maven-deploy-plugin replaced with nexus-staging-maven-plugin [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] Californium (Cf) Tools [pom] [INFO] Cf-GUIClient [jar] [INFO] Cf-ConsoleClient [jar] [INFO] Cf-CoAPBench [jar] [INFO] Cf-Polyfill [jar] [INFO] Cf-ResourceDirectory [jar] [INFO] Cf-ExampleServer [jar] [INFO] Cf-JMeter-Plugin [jar] [INFO] [INFO] -------------------< org.eclipse.californium:tools >-------------------- [INFO] Building Californium (Cf) Tools 3.11.0-SNAPSHOT [1/8] [INFO] from pom.xml [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- versions:2.16.2:update-parent (default-cli) @ tools --- [INFO] Updating parent from 3.11.0-SNAPSHOT to 3.11.0-RRC-0 [INFO] [INFO] -----------------< org.eclipse.californium:cf-browser >----------------- [INFO] Building Cf-GUIClient 3.11.0-SNAPSHOT [2/8] [INFO] from cf-browser/pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- versions:2.16.2:update-parent (default-cli) @ cf-browser --- [INFO] Project's parent is part of the reactor [INFO] [INFO] -----------------< org.eclipse.californium:cf-client >------------------ [INFO] Building Cf-ConsoleClient 3.11.0-SNAPSHOT [3/8] [INFO] from cf-client/pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- versions:2.16.2:update-parent (default-cli) @ cf-client --- [INFO] Project's parent is part of the reactor [INFO] [INFO] ----------------< org.eclipse.californium:cf-coapbench >---------------- [INFO] Building Cf-CoAPBench 3.11.0-SNAPSHOT [4/8] [INFO] from cf-coapbench/pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- versions:2.16.2:update-parent (default-cli) @ cf-coapbench --- [INFO] Project's parent is part of the reactor [INFO] [INFO] ----------------< org.eclipse.californium:cf-polyfill >----------------- [INFO] Building Cf-Polyfill 3.11.0-SNAPSHOT [5/8] [INFO] from cf-polyfill/pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- versions:2.16.2:update-parent (default-cli) @ cf-polyfill --- [INFO] Project's parent is part of the reactor [INFO] [INFO] -------------------< org.eclipse.californium:cf-rd >-------------------- [INFO] Building Cf-ResourceDirectory 3.11.0-SNAPSHOT [6/8] [INFO] from cf-rd/pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- versions:2.16.2:update-parent (default-cli) @ cf-rd --- [INFO] Project's parent is part of the reactor [INFO] [INFO] -----------------< org.eclipse.californium:cf-server >------------------ [INFO] Building Cf-ExampleServer 3.11.0-SNAPSHOT [7/8] [INFO] from cf-server/pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- versions:2.16.2:update-parent (default-cli) @ cf-server --- [INFO] Project's parent is part of the reactor [INFO] [INFO] --------------< org.eclipse.californium:cf-jmeter-plugin >-------------- [INFO] Building Cf-JMeter-Plugin 3.11.0-SNAPSHOT [8/8] [INFO] from cf-jmeter-plugin/pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- versions:2.16.2:update-parent (default-cli) @ cf-jmeter-plugin --- [INFO] Project's parent is part of the reactor [INFO] [INFO] -------------------< org.eclipse.californium:tools >-------------------- [INFO] Building Californium (Cf) Tools 3.11.0-SNAPSHOT [9/8] [INFO] from pom.xml [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- versions:2.16.2:update-child-modules (default-cli) @ tools --- [INFO] Module: /home/jenkins/agent/workspace/californium.tools-release/cf-browser [INFO] parent was org.eclipse.californium:tools:3.11.0-SNAPSHOT [INFO] updated to org.eclipse.californium:tools:3.11.0-RRC-0 [INFO] Module: /home/jenkins/agent/workspace/californium.tools-release/cf-client [INFO] parent was org.eclipse.californium:tools:3.11.0-SNAPSHOT [INFO] updated to org.eclipse.californium:tools:3.11.0-RRC-0 [INFO] Module: /home/jenkins/agent/workspace/californium.tools-release/cf-coapbench [INFO] parent was org.eclipse.californium:tools:3.11.0-SNAPSHOT [INFO] updated to org.eclipse.californium:tools:3.11.0-RRC-0 [INFO] Module: /home/jenkins/agent/workspace/californium.tools-release/cf-jmeter-plugin [INFO] parent was org.eclipse.californium:tools:3.11.0-SNAPSHOT [INFO] updated to org.eclipse.californium:tools:3.11.0-RRC-0 [INFO] Module: /home/jenkins/agent/workspace/californium.tools-release/cf-polyfill [INFO] parent was org.eclipse.californium:tools:3.11.0-SNAPSHOT [INFO] updated to org.eclipse.californium:tools:3.11.0-RRC-0 [INFO] Module: /home/jenkins/agent/workspace/californium.tools-release/cf-rd [INFO] parent was org.eclipse.californium:tools:3.11.0-SNAPSHOT [INFO] updated to org.eclipse.californium:tools:3.11.0-RRC-0 [INFO] Module: /home/jenkins/agent/workspace/californium.tools-release/cf-server [INFO] parent was org.eclipse.californium:tools:3.11.0-SNAPSHOT [INFO] updated to org.eclipse.californium:tools:3.11.0-RRC-0 [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for Californium (Cf) Tools 3.11.0-SNAPSHOT: [INFO] [INFO] Californium (Cf) Tools ............................. SUCCESS [ 0.031 s] [INFO] Cf-GUIClient ....................................... SUCCESS [ 0.137 s] [INFO] Cf-ConsoleClient ................................... SUCCESS [ 0.006 s] [INFO] Cf-CoAPBench ....................................... SUCCESS [ 0.006 s] [INFO] Cf-Polyfill ........................................ SUCCESS [ 0.005 s] [INFO] Cf-ResourceDirectory ............................... SUCCESS [ 0.006 s] [INFO] Cf-ExampleServer ................................... SUCCESS [ 0.007 s] [INFO] Cf-JMeter-Plugin ................................... SUCCESS [ 0.040 s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 30.371 s [INFO] Finished at: 2024-03-12T07:09:53Z [INFO] ------------------------------------------------------------------------ [californium.tools-release] $ /opt/tools/apache-maven/latest/bin/mvn -f pom.xml -DBRANCH=main -DNEXT_VERSION=3.11.0-SNAPSHOT -DRELEASE_VERSION=3.11.0-RRC-0 -DsnapshotDependencyAllowed=false -DuseToolchainJavadoc=true -DenableEclipseJarSigner=true -Dmaven.test.failure.ignore=false clean install -B Apache Maven 3.9.5 (57804ffe001d7215b5e7bcb531cf83df38f93546) Maven home: /opt/tools/apache-maven/latest Java version: 17.0.2, vendor: Oracle Corporation, runtime: /opt/tools/java/openjdk/jdk-17/17.0.2+8 Default locale: en_US, platform encoding: UTF-8 OS name: "linux", version: "6.2.9-300.fc38.x86_64", arch: "amd64", family: "unix" [INFO] Scanning for projects... [INFO] Inspecting build with total of 8 modules... [INFO] Installing Nexus Staging features: [INFO] ... total of 8 executions of maven-deploy-plugin replaced with nexus-staging-maven-plugin [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] Californium (Cf) Tools [pom] [INFO] Cf-GUIClient [jar] [INFO] Cf-ConsoleClient [jar] [INFO] Cf-CoAPBench [jar] [INFO] Cf-Polyfill [jar] [INFO] Cf-ResourceDirectory [jar] [INFO] Cf-ExampleServer [jar] [INFO] Cf-JMeter-Plugin [jar] [INFO] [INFO] -------------------< org.eclipse.californium:tools >-------------------- [INFO] Building Californium (Cf) Tools 3.11.0-RRC-0 [1/8] [INFO] from pom.xml [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- clean:3.1.0:clean (default-clean) @ tools --- [INFO] [INFO] --- enforcer:3.4.1:enforce (enforce-maven) @ tools --- [INFO] Rule 0: org.apache.maven.enforcer.rules.dependency.DependencyConvergence passed [INFO] Rule 1: org.apache.maven.enforcer.rules.version.RequireMavenVersion passed [INFO] [INFO] --- enforcer:3.4.1:enforce (enforce-no-snapshots) @ tools --- [INFO] Rule 0: org.apache.maven.enforcer.rules.dependency.RequireReleaseDeps passed [INFO] Rule 1: org.apache.maven.enforcer.rules.RequireReleaseVersion passed [INFO] [INFO] --- build-helper:3.4.0:parse-version (parse-version) @ tools --- [INFO] [INFO] --- toolchains:3.1.0:toolchain (default) @ tools --- [INFO] Required toolchain: jdk [ version='1.7' ] [ERROR] No toolchain matched from 15 found for type jdk [ERROR] Cannot find matching toolchain definitions for the following toolchain types: jdk [ version='1.7' ] [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for Californium (Cf) Tools 3.11.0-RRC-0: [INFO] [INFO] Californium (Cf) Tools ............................. FAILURE [ 4.010 s] [INFO] Cf-GUIClient ....................................... SKIPPED [INFO] Cf-ConsoleClient ................................... SKIPPED [INFO] Cf-CoAPBench ....................................... SKIPPED [INFO] Cf-Polyfill ........................................ SKIPPED [INFO] Cf-ResourceDirectory ............................... SKIPPED [INFO] Cf-ExampleServer ................................... SKIPPED [INFO] Cf-JMeter-Plugin ................................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 5.394 s [INFO] Finished at: 2024-03-12T07:10:00Z [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-toolchains-plugin:3.1.0:toolchain (default) on project tools: Cannot find matching toolchain definitions for the following toolchain types: [ERROR] jdk [ version='1.7' ] [ERROR] Please make sure you define the required toolchains in your ~/.m2/toolchains.xml file. [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 Build step 'Invoke top-level Maven targets' marked build as failure $ ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 50 killed; [ssh-agent] Stopped. Finished: FAILURE