Skip to content

Console Output

Started by user Frank Schnicke
Running as Frank Schnicke
Agent basic-vv64g is provisioned from template basic
---
apiVersion: "v1"
kind: "Pod"
metadata:
  annotations: {}
  labels:
    jenkins: "slave"
    jenkins/label-digest: "61a7508ed1b04e9ada836fcd14d4d8ef5687c7dd"
    jenkins/label: "basic"
  name: "basic-vv64g"
  namespace: "basyx"
spec:
  containers:
  - env:
    - name: "JENKINS_SECRET"
      value: "********"
    - name: "JENKINS_TUNNEL"
      value: "jenkins-discovery.basyx.svc.cluster.local:50000"
    - name: "JENKINS_AGENT_NAME"
      value: "basic-vv64g"
    - 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-vv64g"
    - name: "JENKINS_AGENT_WORKDIR"
      value: "/home/jenkins/agent"
    - name: "JENKINS_URL"
      value: "http://jenkins-ui.basyx.svc.cluster.local/basyx/"
    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-basyx"
      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"

[EnvInject] - Loading node environment variables.
Building remotely on basic-vv64g (basic) in workspace /home/jenkins/agent/workspace/BaSyx Java Components Maven Central Deployment
The recommended git tool is: NONE
No credentials specified
Cloning the remote Git repository
Cloning repository https://github.com/eclipse-basyx/basyx-java-components.git
 > git init /home/jenkins/agent/workspace/BaSyx Java Components Maven Central Deployment # timeout=10
Fetching upstream changes from https://github.com/eclipse-basyx/basyx-java-components.git
 > git --version # timeout=10
 > git --version # 'git version 2.20.1'
 > git fetch --tags --force --progress -- https://github.com/eclipse-basyx/basyx-java-components.git +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url https://github.com/eclipse-basyx/basyx-java-components.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 eb6002927099dc3cc9edce5fd986c5cc8848afe0 (refs/remotes/origin/main)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f eb6002927099dc3cc9edce5fd986c5cc8848afe0 # timeout=10
Commit message: "Updates POM & .env for 1.3.0 release"
 > git rev-list --no-walk eb6002927099dc3cc9edce5fd986c5cc8848afe0 # timeout=10
[BaSyx Java Components Maven Central Deployment] $ /bin/sh -xe /tmp/jenkins9355098662651957294.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 24FE182C391112F4: public key "Eclipse BaSyx <basyx-dev@eclipse.org>" imported
gpg: To migrate 'secring.gpg', with each smartcard, run: gpg --card-status
gpg: key 24FE182C391112F4: 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 1598AFDF97E52CEAF8A3C9C37FF518E5B62A7418 trust
Secret subkeys are available.

pub  rsa4096/24FE182C391112F4
     created: 2021-03-29  expires: 2026-03-28  usage: SCEA
     trust: unknown       validity: unknown
ssb  rsa4096/7FF518E5B62A7418
     created: 2021-03-29  expires: 2026-03-28  usage: S   
[ unknown] (1). Eclipse BaSyx <basyx-dev@eclipse.org>

pub  rsa4096/24FE182C391112F4
     created: 2021-03-29  expires: 2026-03-28  usage: SCEA
     trust: unknown       validity: unknown
ssb  rsa4096/7FF518E5B62A7418
     created: 2021-03-29  expires: 2026-03-28  usage: S   
[ unknown] (1). Eclipse BaSyx <basyx-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/24FE182C391112F4
     created: 2021-03-29  expires: 2026-03-28  usage: SCEA
     trust: ultimate      validity: unknown
ssb  rsa4096/7FF518E5B62A7418
     created: 2021-03-29  expires: 2026-03-28  usage: S   
[ unknown] (1). Eclipse BaSyx <basyx-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 D8712924DBC9F1613EF4F81A24FE182C391112F4 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 2026-03-28
pub  rsa4096/24FE182C391112F4
     created: 2021-03-29  expires: 2026-03-28  usage: SCEA
     trust: ultimate      validity: ultimate
ssb  rsa4096/7FF518E5B62A7418
     created: 2021-03-29  expires: 2026-03-28  usage: S   
[ultimate] (1). Eclipse BaSyx <basyx-dev@eclipse.org>

pub  rsa4096/24FE182C391112F4
     created: 2021-03-29  expires: 2026-03-28  usage: SCEA
     trust: ultimate      validity: ultimate
ssb  rsa4096/7FF518E5B62A7418
     created: 2021-03-29  expires: 2026-03-28  usage: S   
[ultimate] (1). Eclipse BaSyx <basyx-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/24FE182C391112F4
     created: 2021-03-29  expires: 2026-03-28  usage: SCEA
     trust: ultimate      validity: ultimate
ssb  rsa4096/7FF518E5B62A7418
     created: 2021-03-29  expires: 2026-03-28  usage: S   
[ultimate] (1). Eclipse BaSyx <basyx-dev@eclipse.org>

[BaSyx Java Components Maven Central Deployment] $ /opt/tools/apache-maven/latest/bin/mvn clean deploy -P MavenCentral -DskipTests -fbasyx.components/pom.xml
Apache Maven 3.8.5 (3599d3414f046de2324203b78ddcf9b5e4388aa0)
Maven home: /opt/tools/apache-maven/latest
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...
[INFO] Inspecting build with total of 5 modules...
[INFO] Installing Nexus Staging features:
[INFO]   ... total of 5 executions of maven-deploy-plugin replaced with nexus-staging-maven-plugin
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO] 
[INFO] BaSyx Components                                                   [pom]
[INFO] BaSyx Components Library                                           [jar]
[INFO] BaSyx Docker Base                                                  [pom]
[INFO] BaSyx Registry                                                     [jar]
[INFO] AAS Server                                                         [jar]
[INFO] 
[INFO] -----------------< org.eclipse.basyx:basyx.components >-----------------
[INFO] Building BaSyx Components 1.3.0                                    [1/5]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ basyx.components ---
[INFO] 
[INFO] --- maven-source-plugin:3.2.1:jar-no-fork (attach-sources) @ basyx.components ---
[INFO] 
[INFO] --- maven-jar-plugin:3.3.0:test-jar (default) @ basyx.components ---
[WARNING] JAR will be empty - no content was marked for inclusion!
[INFO] Building jar: /home/jenkins/agent/workspace/BaSyx Java Components Maven Central Deployment/basyx.components/target/basyx.components-1.3.0-tests.jar
[INFO] 
[INFO] >>> maven-javadoc-plugin:3.4.1:javadoc (generate-javadoc) > generate-sources @ basyx.components >>>
[INFO] 
[INFO] <<< maven-javadoc-plugin:3.4.1:javadoc (generate-javadoc) < generate-sources @ basyx.components <<<
[INFO] 
[INFO] 
[INFO] --- maven-javadoc-plugin:3.4.1:javadoc (generate-javadoc) @ basyx.components ---
[INFO] 
[INFO] --- maven-gpg-plugin:3.0.1:sign (sign-artifacts) @ basyx.components ---
[INFO] 
[INFO] --- maven-install-plugin:2.4:install (default-install) @ basyx.components ---
[INFO] Installing /home/jenkins/agent/workspace/BaSyx Java Components Maven Central Deployment/basyx.components/pom.xml to /home/jenkins/.m2/repository/org/eclipse/basyx/basyx.components/1.3.0/basyx.components-1.3.0.pom
[INFO] Installing /home/jenkins/agent/workspace/BaSyx Java Components Maven Central Deployment/basyx.components/target/basyx.components-1.3.0-tests.jar to /home/jenkins/.m2/repository/org/eclipse/basyx/basyx.components/1.3.0/basyx.components-1.3.0-tests.jar
[INFO] Installing /home/jenkins/agent/workspace/BaSyx Java Components Maven Central Deployment/basyx.components/target/basyx.components-1.3.0.pom.asc to /home/jenkins/.m2/repository/org/eclipse/basyx/basyx.components/1.3.0/basyx.components-1.3.0.pom.asc
[INFO] Installing /home/jenkins/agent/workspace/BaSyx Java Components Maven Central Deployment/basyx.components/target/basyx.components-1.3.0-tests.jar.asc to /home/jenkins/.m2/repository/org/eclipse/basyx/basyx.components/1.3.0/basyx.components-1.3.0-tests.jar.asc
[INFO] 
[INFO] --- nexus-staging-maven-plugin:1.6.13:deploy (injected-nexus-deploy) @ basyx.components ---
[INFO] Performing local staging (local stagingDirectory="/home/jenkins/agent/workspace/BaSyx Java Components Maven Central Deployment/basyx.components/target/nexus-staging/staging")...
[INFO]  + Using server credentials "ossrh" from Maven settings.
[INFO]  * Connected to Nexus at https://oss.sonatype.org:443/, is version 2.15.1-02 and edition "Professional"
[INFO]  * Using staging profile ID "ff839f583c114" (matched by Nexus).
[INFO] Installing /home/jenkins/agent/workspace/BaSyx Java Components Maven Central Deployment/basyx.components/pom.xml to /home/jenkins/agent/workspace/BaSyx Java Components Maven Central Deployment/basyx.components/target/nexus-staging/staging/ff839f583c114/org/eclipse/basyx/basyx.components/1.3.0/basyx.components-1.3.0.pom
[INFO] Installing /home/jenkins/agent/workspace/BaSyx Java Components Maven Central Deployment/basyx.components/target/basyx.components-1.3.0-tests.jar to /home/jenkins/agent/workspace/BaSyx Java Components Maven Central Deployment/basyx.components/target/nexus-staging/staging/ff839f583c114/org/eclipse/basyx/basyx.components/1.3.0/basyx.components-1.3.0-tests.jar
[INFO] Installing /home/jenkins/agent/workspace/BaSyx Java Components Maven Central Deployment/basyx.components/target/basyx.components-1.3.0.pom.asc to /home/jenkins/agent/workspace/BaSyx Java Components Maven Central Deployment/basyx.components/target/nexus-staging/staging/ff839f583c114/org/eclipse/basyx/basyx.components/1.3.0/basyx.components-1.3.0.pom.asc
[INFO] Installing /home/jenkins/agent/workspace/BaSyx Java Components Maven Central Deployment/basyx.components/target/basyx.components-1.3.0-tests.jar.asc to /home/jenkins/agent/workspace/BaSyx Java Components Maven Central Deployment/basyx.components/target/nexus-staging/staging/ff839f583c114/org/eclipse/basyx/basyx.components/1.3.0/basyx.components-1.3.0-tests.jar.asc
[INFO] Execution skipped to the last project...
[INFO] 
[INFO] ---------------< org.eclipse.basyx:basyx.components.lib >---------------
[INFO] Building BaSyx Components Library 1.3.0                            [2/5]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for BaSyx Components 1.3.0:
[INFO] 
[INFO] BaSyx Components ................................... SUCCESS [ 11.050 s]
[INFO] BaSyx Components Library ........................... FAILURE [  1.037 s]
[INFO] BaSyx Docker Base .................................. SKIPPED
[INFO] BaSyx Registry ..................................... SKIPPED
[INFO] AAS Server ......................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  18.475 s
[INFO] Finished at: 2022-12-15T07:59:48Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project basyx.components.lib: Could not resolve dependencies for project org.eclipse.basyx:basyx.components.lib:jar:1.3.0: Failed to collect dependencies at org.eclipse.basyx:basyx.sdk:jar:1.3.0: Failed to read artifact descriptor for org.eclipse.basyx:basyx.sdk:jar:1.3.0: Could not transfer artifact org.eclipse.basyx:basyx.sdk:pom:1.3.0 from/to Eclipse BaSyx SDK GitHub Packages (https://maven.pkg.github.com/eclipse-basyx/basyx-java-sdk): authentication failed for https://maven.pkg.github.com/eclipse-basyx/basyx-java-sdk/org/eclipse/basyx/basyx.sdk/1.3.0/basyx.sdk-1.3.0.pom, status: 401 Unauthorized -> [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/DependencyResolutionException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <args> -rf :basyx.components.lib
Build step 'Invoke top-level Maven targets' marked build as failure
Finished: FAILURE