Started by user Frank Schnicke Running as Frank Schnicke Agent basic-s2p7j is provisioned from template basic --- apiVersion: "v1" kind: "Pod" metadata: annotations: {} labels: jenkins: "slave" jenkins/label-digest: "61a7508ed1b04e9ada836fcd14d4d8ef5687c7dd" jenkins/label: "basic" name: "basic-s2p7j" namespace: "aas4j" spec: containers: - env: - name: "JENKINS_SECRET" value: "********" - name: "JENKINS_TUNNEL" value: "jenkins-discovery.aas4j.svc.cluster.local:50000" - name: "JENKINS_AGENT_NAME" value: "basic-s2p7j" - 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-s2p7j" - name: "JENKINS_AGENT_WORKDIR" value: "/home/jenkins/agent" - name: "JENKINS_URL" value: "http://jenkins-ui.aas4j.svc.cluster.local/aas4j/" 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-aas4j" 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-s2p7j (basic) in workspace /home/jenkins/agent/workspace/AAS4J Maven Central Release The recommended git tool is: NONE No credentials specified Cloning the remote Git repository Cloning repository https://github.com/eclipse-aas4j/aas4j.git > git init /home/jenkins/agent/workspace/AAS4J Maven Central Release # timeout=10 Fetching upstream changes from https://github.com/eclipse-aas4j/aas4j.git > git --version # timeout=10 > git --version # 'git version 2.20.1' > git fetch --tags --force --progress -- https://github.com/eclipse-aas4j/aas4j.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url https://github.com/eclipse-aas4j/aas4j.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch > git rev-parse refs/remotes/origin/main^{commit} # timeout=10 Checking out Revision 792283c48dc0d8e97930d602ae49382a3e4796c2 (refs/remotes/origin/main) > git config core.sparsecheckout # timeout=10 > git checkout -f 792283c48dc0d8e97930d602ae49382a3e4796c2 # timeout=10 Commit message: "Removes keyname" > git rev-list --no-walk 46c3d1548cb5378c91f477967d64e52df682da3d # timeout=10 [AAS4J Maven Central Release] $ /bin/sh -xe /tmp/jenkins17499541335202971716.sh + gpg --version gpg (GnuPG) 2.2.12 libgcrypt 1.8.4 Copyright (C) 2018 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Home: /home/jenkins/.gnupg Supported algorithms: Pubkey: RSA, ELG, DSA, ECDH, ECDSA, EDDSA Cipher: IDEA, 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH, CAMELLIA128, CAMELLIA192, CAMELLIA256 Hash: SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224 Compression: Uncompressed, ZIP, ZLIB, BZIP2 + gpg --batch --import **** gpg: directory '/home/jenkins/.gnupg' created gpg: keybox '/home/jenkins/.gnupg/pubring.kbx' created gpg: /home/jenkins/.gnupg/trustdb.gpg: trustdb created gpg: key FCA8653BA126AB14: public key "Eclipse AAS Model for Java Project <aas4j-dev@eclipse.org>" imported gpg: To migrate 'secring.gpg', with each smartcard, run: gpg --card-status gpg: key FCA8653BA126AB14: secret key imported gpg: Total number processed: 1 gpg: imported: 1 gpg: secret keys read: 1 gpg: secret keys imported: 1 ++ gpg --list-keys --with-colons ++ awk -F: '/fpr:/ {print $10}' ++ sort -u + for fpr in $(gpg --list-keys --with-colons | awk -F: '/fpr:/ {print $10}' | sort -u) + echo -e '5\ny\n' + gpg --batch --command-fd 0 --expert --edit-key 2157E900707758C05908B6BF9E4DD5CDBD4FADB9 trust Secret subkeys are available. pub rsa4096/FCA8653BA126AB14 created: 2022-11-30 expires: 2027-11-29 usage: SCEA trust: unknown validity: unknown ssb rsa4096/9E4DD5CDBD4FADB9 created: 2022-11-30 expires: 2027-11-29 usage: S [ unknown] (1). Eclipse AAS Model for Java Project <aas4j-dev@eclipse.org> pub rsa4096/FCA8653BA126AB14 created: 2022-11-30 expires: 2027-11-29 usage: SCEA trust: unknown validity: unknown ssb rsa4096/9E4DD5CDBD4FADB9 created: 2022-11-30 expires: 2027-11-29 usage: S [ unknown] (1). Eclipse AAS Model for Java Project <aas4j-dev@eclipse.org> Please decide how far you trust this user to correctly verify other users' keys (by looking at passports, checking fingerprints from different sources, etc.) 1 = I don't know or won't say 2 = I do NOT trust 3 = I trust marginally 4 = I trust fully 5 = I trust ultimately m = back to the main menu pub rsa4096/FCA8653BA126AB14 created: 2022-11-30 expires: 2027-11-29 usage: SCEA trust: ultimate validity: unknown ssb rsa4096/9E4DD5CDBD4FADB9 created: 2022-11-30 expires: 2027-11-29 usage: S [ unknown] (1). Eclipse AAS Model for Java Project <aas4j-dev@eclipse.org> Please note that the shown key validity is not necessarily correct unless you restart the program. + for fpr in $(gpg --list-keys --with-colons | awk -F: '/fpr:/ {print $10}' | sort -u) + echo -e '5\ny\n' + gpg --batch --command-fd 0 --expert --edit-key DF359E5DEC30F2393A5F8E5DFCA8653BA126AB14 trust Secret subkeys are available. gpg: checking the trustdb gpg: marginals needed: 3 completes needed: 1 trust model: pgp gpg: depth: 0 valid: 1 signed: 0 trust: 0-, 0q, 0n, 0m, 0f, 1u gpg: next trustdb check due at 2027-11-29 pub rsa4096/FCA8653BA126AB14 created: 2022-11-30 expires: 2027-11-29 usage: SCEA trust: ultimate validity: ultimate ssb rsa4096/9E4DD5CDBD4FADB9 created: 2022-11-30 expires: 2027-11-29 usage: S [ultimate] (1). Eclipse AAS Model for Java Project <aas4j-dev@eclipse.org> pub rsa4096/FCA8653BA126AB14 created: 2022-11-30 expires: 2027-11-29 usage: SCEA trust: ultimate validity: ultimate ssb rsa4096/9E4DD5CDBD4FADB9 created: 2022-11-30 expires: 2027-11-29 usage: S [ultimate] (1). Eclipse AAS Model for Java Project <aas4j-dev@eclipse.org> Please decide how far you trust this user to correctly verify other users' keys (by looking at passports, checking fingerprints from different sources, etc.) 1 = I don't know or won't say 2 = I do NOT trust 3 = I trust marginally 4 = I trust fully 5 = I trust ultimately m = back to the main menu pub rsa4096/FCA8653BA126AB14 created: 2022-11-30 expires: 2027-11-29 usage: SCEA trust: ultimate validity: ultimate ssb rsa4096/9E4DD5CDBD4FADB9 created: 2022-11-30 expires: 2027-11-29 usage: S [ultimate] (1). Eclipse AAS Model for Java Project <aas4j-dev@eclipse.org> [AAS4J Maven Central Release] $ /opt/tools/apache-maven/3.8.3/bin/mvn clean deploy -P MavenCentral Apache Maven 3.8.3 (ff8e977a158738155dc465c6a97ffaf31982d739) Maven home: /opt/tools/apache-maven/3.8.3 Java version: 11.0.16.1, vendor: IBM Corporation, runtime: /opt/java/openjdk Default locale: en_US, platform encoding: UTF-8 OS name: "linux", version: "5.14.14-200.fc34.x86_64", arch: "amd64", family: "unix" [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for org.eclipse.digitaltwin.aas4j:model:jar:1.0.0-milestone-01 [WARNING] 'version' contains an expression but should be a constant. @ org.eclipse.digitaltwin.aas4j:model:${model.version}, /home/jenkins/agent/workspace/AAS4J Maven Central Release/model/pom.xml, line 12, column 14 [WARNING] [WARNING] Some problems were encountered while building the effective model for org.eclipse.digitaltwin.aas4j:dataformat-aasx:jar:1.0.0-milestone-01 [WARNING] The expression ${groupId} is deprecated. Please use ${project.groupId} instead. @ org.eclipse.digitaltwin.aas4j:dataformat-aasx:${revision}, /home/jenkins/agent/workspace/AAS4J Maven Central Release/dataformat-aasx/pom.xml [WARNING] [WARNING] Some problems were encountered while building the effective model for org.eclipse.digitaltwin.aas4j:dataformat-core:jar:1.0.0-milestone-01 [WARNING] The expression ${groupId} is deprecated. Please use ${project.groupId} instead. @ org.eclipse.digitaltwin.aas4j:dataformat-core:${revision}, /home/jenkins/agent/workspace/AAS4J Maven Central Release/dataformat-core/pom.xml [WARNING] [WARNING] Some problems were encountered while building the effective model for org.eclipse.digitaltwin.aas4j:dataformat-xml:jar:1.0.0-milestone-01 [WARNING] The expression ${groupId} is deprecated. Please use ${project.groupId} instead. @ org.eclipse.digitaltwin.aas4j:dataformat-xml:${revision}, /home/jenkins/agent/workspace/AAS4J Maven Central Release/dataformat-xml/pom.xml [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] Inspecting build with total of 6 modules... [INFO] Installing Nexus Staging features: [INFO] ... total of 6 executions of maven-deploy-plugin replaced with nexus-staging-maven-plugin [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] Eclipse Digital Twin - AAS Model for Java (AAS4J) [pom] [INFO] Asset Administration Shell Java Model [jar] [INFO] Asset Administration Shell Serializer Core [jar] [INFO] Asset Administration Shell XML-Serializer [jar] [INFO] Asset Administration Shell AASX-Serializer [jar] [INFO] Asset Administration Shell JSON-Serializer [jar] [INFO] [INFO] ----------< org.eclipse.digitaltwin.aas4j:dataformat-parent >----------- [INFO] Building Eclipse Digital Twin - AAS Model for Java (AAS4J) 1.0.0-milestone-01 [1/6] [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ dataformat-parent --- [INFO] [INFO] --- flatten-maven-plugin:1.2.2:clean (flatten.clean) @ dataformat-parent --- [INFO] [INFO] --- flatten-maven-plugin:1.2.2:flatten (flatten) @ dataformat-parent --- [INFO] Generating flattened POM of project org.eclipse.digitaltwin.aas4j:dataformat-parent:pom:1.0.0-milestone-01... [INFO] [INFO] --- maven-source-plugin:3.2.0:jar-no-fork (attach-sources) @ dataformat-parent --- [INFO] [INFO] --- maven-javadoc-plugin:3.3.0:jar (attach-javadocs) @ dataformat-parent --- [INFO] Not executing Javadoc as the project is not a Java classpath-capable package [INFO] [INFO] --- maven-gpg-plugin:1.6:sign (sign-artifacts) @ dataformat-parent --- gpg: Sorry, no terminal at all requested - can't get input [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for Eclipse Digital Twin - AAS Model for Java (AAS4J) 1.0.0-milestone-01: [INFO] [INFO] Eclipse Digital Twin - AAS Model for Java (AAS4J) .. FAILURE [ 8.118 s] [INFO] Asset Administration Shell Java Model .............. SKIPPED [INFO] Asset Administration Shell Serializer Core ......... SKIPPED [INFO] Asset Administration Shell XML-Serializer .......... SKIPPED [INFO] Asset Administration Shell AASX-Serializer ......... SKIPPED [INFO] Asset Administration Shell JSON-Serializer ......... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 12.106 s [INFO] Finished at: 2022-12-14T14:27:38Z [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-gpg-plugin:1.6:sign (sign-artifacts) on project dataformat-parent: Exit code: 2 -> [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/MojoExecutionException Build step 'Invoke top-level Maven targets' marked build as failure Finished: FAILURE