Started by user Nicola Timeus Rebuilds build #69 Running as Nicola Timeus Agent basic-3r6vm is provisioned from template basic --- apiVersion: "v1" kind: "Pod" metadata: annotations: {} labels: jenkins: "slave" jenkins/label-digest: "61a7508ed1b04e9ada836fcd14d4d8ef5687c7dd" jenkins/label: "basic" name: "basic-3r6vm" namespace: "kura" spec: containers: - env: - name: "JENKINS_SECRET" value: "********" - name: "JENKINS_TUNNEL" value: "jenkins-discovery.kura.svc.cluster.local:50000" - name: "JENKINS_AGENT_NAME" value: "basic-3r6vm" - 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-3r6vm" - name: "JENKINS_AGENT_WORKDIR" value: "/home/jenkins/agent" - name: "JENKINS_URL" value: "http://jenkins-ui.kura.svc.cluster.local/kura/" image: "docker.io/eclipsecbi/jiro-agent-basic:remoting-4.13.3" 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-kura" 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-3r6vm (basic) in workspace /home/jenkins/agent/workspace/kura-release-folder/kura-5-0-0-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-GNoQE5kSQhxQ/agent.55 SSH_AGENT_PID=57 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /home/jenkins/agent/workspace/kura-release-folder/kura-5-0-0-release@tmp/private_key_5734903987441897244.key (/home/jenkins/agent/workspace/kura-release-folder/kura-5-0-0-release@tmp/private_key_5734903987441897244.key) [ssh-agent] Using credentials genie.kura (ssh://genie.kura@projects-storage.eclipse.org) The recommended git tool is: git No credentials specified Cloning the remote Git repository Cloning repository https://github.com/eclipse/kura > git init /home/jenkins/agent/workspace/kura-release-folder/kura-5-0-0-release # timeout=10 Fetching upstream changes from https://github.com/eclipse/kura > git --version # timeout=10 > git --version # 'git version 2.20.1' > git fetch --tags --force --progress -- https://github.com/eclipse/kura +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url https://github.com/eclipse/kura # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch > git rev-parse refs/remotes/origin/tags/KURA_4.1.4_RELEASE^{commit} # timeout=10 > git rev-parse tags/KURA_4.1.4_RELEASE^{commit} # timeout=10 Checking out Revision 8a65ca505a90f5f079dafcacc34f9f77a5018d10 (tags/KURA_4.1.4_RELEASE) > git config core.sparsecheckout # timeout=10 > git checkout -f 8a65ca505a90f5f079dafcacc34f9f77a5018d10 # timeout=10 Commit message: "chore: Release notes for Kura 4.1.4 (#4215)" > git rev-list --no-walk 8a65ca505a90f5f079dafcacc34f9f77a5018d10 # timeout=10 [kura-5-0-0-release] $ /opt/tools/apache-maven/latest/bin/mvn -f target-platform/pom.xml "-DMAVEN_OPTS=-Xmx1536m -XX:MaxPermSize=512m" -DRELEASE_VERSION=4.1.4 -Dmaven.repo.local=/home/jenkins/agent/workspace/kura-release-folder/kura-5-0-0-release/.repository clean deploy -U -e -Pno-mirror -Pcheck-exists-plugin Apache Maven 3.8.5 (3599d3414f046de2324203b78ddcf9b5e4388aa0) Maven home: /opt/tools/apache-maven/latest Java version: 1.8.0_292, vendor: AdoptOpenJDK, runtime: /opt/tools/java/adoptopenjdk/openj9-jdk-8/1.8.0_292-b10/jre Default locale: en_US, platform encoding: UTF-8 OS name: "linux", version: "5.14.14-200.fc34.x86_64", arch: "amd64", family: "unix" [INFO] Error stacktraces are turned on. [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for org.eclipse.kura:org.usb4java:bundle:1.2.501-SNAPSHOT [WARNING] 'dependencies.dependency.systemPath' for org.usb4java:org.usb4java:jar should not point at files within the project directory, ${basedir}/src/lib/usb4java-1.2.0.jar will be unresolvable by dependent projects @ line 42, column 25 [WARNING] 'dependencies.dependency.systemPath' for org.usb4java:org.usb4java.linux-arm:jar should not point at files within the project directory, ${basedir}/src/lib/libusb4java-1.2.0-linux-arm.jar will be unresolvable by dependent projects @ line 50, column 25 [WARNING] 'dependencies.dependency.systemPath' for org.usb4java:org.usb4java.linux-x86_64:jar should not point at files within the project directory, ${basedir}/src/lib/libusb4java-1.2.0-linux-x86_64.jar will be unresolvable by dependent projects @ line 58, column 25 [WARNING] [WARNING] Some problems were encountered while building the effective model for org.eclipse.kura:usb4java-javax:bundle:1.2.501-SNAPSHOT [WARNING] 'dependencies.dependency.systemPath' for javax.usb:usb-api:jar should not point at files within the project directory, ${basedir}/src/lib/usb-api-1.0.2.jar will be unresolvable by dependent projects @ line 32, column 25 [WARNING] 'dependencies.dependency.systemPath' for usb4java-javax:org.usb4java.javax:jar should not point at files within the project directory, ${basedir}/src/lib/usb4java-javax-1.2.0.jar will be unresolvable by dependent projects @ line 40, column 25 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] target-platform [pom] [INFO] org.apache.activemq.artemis [bundle] [INFO] Camel :: Core :: Import sun.misc [jar] [INFO] System extension fragment for 'sun.misc' [jar] [INFO] com.codeminders.hidapi-parent [pom] [INFO] Java API for working with Human Interface USB Devices (HID) [bundle] [INFO] Native libraries for 'com.codeminders.hidapi' on ARM 6 HF [bundle] [INFO] Native libraries for 'com.codeminders.hidapi' on x86_64 [bundle] [INFO] Native libraries for 'com.codeminders.hidapi' on ARM 64 bits [bundle] [INFO] usb4java [bundle] [INFO] usb4java-javax [bundle] [INFO] org.moka7 [bundle] [INFO] org.eclipse.soda.dk.comm-parent [pom] [INFO] Serial Device based on SODA DK comm [bundle] [INFO] Native libraries for 'org.eclipse.soda.dk.comm' on ARM 6 HF [bundle] [INFO] Native libraries for 'org.eclipse.soda.dk.comm' on x86_64 [bundle] [INFO] Native libraries for 'org.eclipse.soda.dk.comm' on ARM 64 bits [bundle] [INFO] jdk.dio-parent [pom] [INFO] jdk.dio [bundle] [INFO] jdk.dio.armv6hf [bundle] [INFO] jdk.dio.x86_64 [bundle] [INFO] jdk.dio.aarch64 [bundle] [INFO] gwt-user [bundle] [INFO] tinyb-parent [pom] [INFO] Tiny Bluetooth LE Library [bundle] [INFO] Native libraries for 'tinyb' on ARM 6 HF [bundle] [INFO] Native libraries for 'tinyb' on X86 64 [bundle] [INFO] Native libraries for 'tinyb' on aarch64 [bundle] [INFO] moquette-broker [bundle] [INFO] org.apache.log4j2-api-config [bundle] [INFO] org.eclipse.kura.jetty.customizer [bundle] [INFO] p2-repo-common [pom] [INFO] p2-repo-equinox_3.12.50 [pom] [INFO] p2-repo-tests-deps [pom] [INFO] [INFO] ------------------< org.eclipse.kura:target-platform >------------------ [INFO] Building target-platform 4.1.4 [1/34] [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ target-platform --- [INFO] [INFO] --- maven-checkstyle-plugin:2.17:check (checkstyle-validation) @ target-platform --- [INFO] Starting audit... Audit done. [INFO] [INFO] --- exists-maven-plugin:0.0.3:remote (default) @ target-platform --- [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] target-platform 4.1.4 .............................. FAILURE [ 7.055 s] [INFO] org.apache.activemq.artemis 2.6.1-SNAPSHOT ......... SKIPPED [INFO] Camel :: Core :: Import sun.misc 1.0.401-SNAPSHOT .. SKIPPED [INFO] System extension fragment for 'sun.misc' 1.0.401-SNAPSHOT SKIPPED [INFO] com.codeminders.hidapi-parent 1.1.501-SNAPSHOT ..... SKIPPED [INFO] Java API for working with Human Interface USB Devices (HID) 1.1.501-SNAPSHOT SKIPPED [INFO] Native libraries for 'com.codeminders.hidapi' on ARM 6 HF 1.1.501-SNAPSHOT SKIPPED [INFO] Native libraries for 'com.codeminders.hidapi' on x86_64 1.1.501-SNAPSHOT SKIPPED [INFO] Native libraries for 'com.codeminders.hidapi' on ARM 64 bits 1.1.501-SNAPSHOT SKIPPED [INFO] usb4java 1.2.501-SNAPSHOT .......................... SKIPPED [INFO] usb4java-javax 1.2.501-SNAPSHOT .................... SKIPPED [INFO] org.moka7 1.0.301-SNAPSHOT ......................... SKIPPED [INFO] org.eclipse.soda.dk.comm-parent 1.2.501-SNAPSHOT ... SKIPPED [INFO] Serial Device based on SODA DK comm 1.2.501-SNAPSHOT SKIPPED [INFO] Native libraries for 'org.eclipse.soda.dk.comm' on ARM 6 HF 1.2.501-SNAPSHOT SKIPPED [INFO] Native libraries for 'org.eclipse.soda.dk.comm' on x86_64 1.2.501-SNAPSHOT SKIPPED [INFO] Native libraries for 'org.eclipse.soda.dk.comm' on ARM 64 bits 1.2.501-SNAPSHOT SKIPPED [INFO] jdk.dio-parent 1.0.501-SNAPSHOT .................... SKIPPED [INFO] jdk.dio 1.0.501-SNAPSHOT ........................... SKIPPED [INFO] jdk.dio.armv6hf 1.0.501-SNAPSHOT ................... SKIPPED [INFO] jdk.dio.x86_64 1.0.501-SNAPSHOT .................... SKIPPED [INFO] jdk.dio.aarch64 1.0.501-SNAPSHOT ................... SKIPPED [INFO] gwt-user 1.1.101-SNAPSHOT .......................... SKIPPED [INFO] tinyb-parent 1.0.301-SNAPSHOT ...................... SKIPPED [INFO] Tiny Bluetooth LE Library 1.0.301-SNAPSHOT ......... SKIPPED [INFO] Native libraries for 'tinyb' on ARM 6 HF 1.0.301-SNAPSHOT SKIPPED [INFO] Native libraries for 'tinyb' on X86 64 1.0.301-SNAPSHOT SKIPPED [INFO] Native libraries for 'tinyb' on aarch64 1.0.301-SNAPSHOT SKIPPED [INFO] moquette-broker 1.0.0-SNAPSHOT ..................... SKIPPED [INFO] org.apache.log4j2-api-config 1.0.101-SNAPSHOT ...... SKIPPED [INFO] org.eclipse.kura.jetty.customizer 1.0.103-SNAPSHOT . SKIPPED [INFO] p2-repo-common 4.1.4 ............................... SKIPPED [INFO] p2-repo-equinox_3.12.50 4.1.4 ...................... SKIPPED [INFO] p2-repo-tests-deps 4.1.4 ........................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 20.156 s [INFO] Finished at: 2022-11-18T16:01:12Z [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.honton.chas:exists-maven-plugin:0.0.3:remote (default) on project target-platform: Artifact already exists in repository: org.eclipse.kura:target-platform:4.1.4/target-platform-4.1.4.pom -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.honton.chas:exists-maven-plugin:0.0.3:remote (default) on project target-platform: Artifact already exists in repository: org.eclipse.kura:target-platform:4.1.4/target-platform-4.1.4.pom at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:306) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:211) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:165) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:157) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:121) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:127) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:294) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:960) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293) at org.apache.maven.cli.MavenCli.main (MavenCli.java:196) at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:498) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347) Caused by: org.apache.maven.plugin.MojoExecutionException: Artifact already exists in repository: org.eclipse.kura:target-platform:4.1.4/target-platform-4.1.4.pom at org.honton.chas.exists.AbstractExistsMojo.execute (AbstractExistsMojo.java:106) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137) at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:301) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:211) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:165) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:157) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:121) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:127) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:294) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:960) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293) at org.apache.maven.cli.MavenCli.main (MavenCli.java:196) at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:498) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347) Caused by: org.apache.maven.plugin.MojoFailureException: Artifact already exists in repository: org.eclipse.kura:target-platform:4.1.4/target-platform-4.1.4.pom at org.honton.chas.exists.AbstractExistsMojo.execute (AbstractExistsMojo.java:91) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137) at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:301) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:211) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:165) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:157) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:121) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:127) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:294) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:960) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293) at org.apache.maven.cli.MavenCli.main (MavenCli.java:196) at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:498) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347) [ERROR] [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/MojoExecutionException 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 57 killed; [ssh-agent] Stopped. Finished: FAILURE