Skip to content

Console Output

Started by user arjan tijms
Rebuilds build #81
Running as arjan tijms
Agent basic-3b013 is provisioned from template basic
---
apiVersion: "v1"
kind: "Pod"
metadata:
  annotations: {}
  labels:
    jenkins: "slave"
    jenkins/label-digest: "61a7508ed1b04e9ada836fcd14d4d8ef5687c7dd"
    jenkins/label: "basic"
  name: "basic-3b013"
spec:
  containers:
  - env:
    - name: "JENKINS_SECRET"
      value: "********"
    - name: "JENKINS_TUNNEL"
      value: "jenkins-discovery.glassfish.svc.cluster.local:50000"
    - name: "JENKINS_AGENT_NAME"
      value: "basic-3b013"
    - 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-3b013"
    - name: "JENKINS_AGENT_WORKDIR"
      value: "/home/jenkins/agent"
    - name: "JENKINS_URL"
      value: "http://jenkins-ui.glassfish.svc.cluster.local/glassfish/"
    image: "docker.io/eclipsecbi/jiro-agent-basic:remoting-4.11.2"
    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-glassfish"
      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-3b013 (basic) in workspace /home/jenkins/agent/workspace/all-projects_1_build-and-stage
[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-3Oyt7otqZQUP/agent.71
SSH_AGENT_PID=73
[ssh-agent] Started.
Running ssh-add (command line suppressed)
Identity added: /home/jenkins/agent/workspace/all-projects_1_build-and-stage@tmp/private_key_11366249286687322925.key (/home/jenkins/agent/workspace/all-projects_1_build-and-stage@tmp/private_key_11366249286687322925.key)
[ssh-agent] Using credentials glassfish-bot (GitHub bot SSH)
[all-projects_1_build-and-stage] $ /bin/bash -e /tmp/jenkins4032410836153562653.sh
gpg: directory '/home/jenkins/.gnupg' created
gpg: keybox '/home/jenkins/.gnupg/pubring.kbx' created
gpg: key FD8776B8DA948C3D: 1 signature not checked due to a missing key
gpg: /home/jenkins/.gnupg/trustdb.gpg: trustdb created
gpg: key FD8776B8DA948C3D: public key "Eclipse GlassFish <glassfish-dev@eclipse.org>" imported
gpg: To migrate 'secring.gpg', with each smartcard, run: gpg --card-status
gpg: key FD8776B8DA948C3D: secret key imported
gpg: Total number processed: 1
gpg:               imported: 1
gpg:       secret keys read: 1
gpg:   secret keys imported: 1
gpg: no ultimately trusted keys found
Secret subkeys are available.

pub  rsa4096/FD8776B8DA948C3D
     created: 2018-10-02  expires: 2023-10-01  usage: SCEA
     trust: unknown       validity: unknown
ssb  rsa4096/AFC18A2271EDDFE1
     created: 2018-10-02  expires: 2023-10-01  usage: S   
[ unknown] (1). Eclipse GlassFish <glassfish-dev@eclipse.org>

pub  rsa4096/FD8776B8DA948C3D
     created: 2018-10-02  expires: 2023-10-01  usage: SCEA
     trust: unknown       validity: unknown
ssb  rsa4096/AFC18A2271EDDFE1
     created: 2018-10-02  expires: 2023-10-01  usage: S   
[ unknown] (1). Eclipse GlassFish <glassfish-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/FD8776B8DA948C3D
     created: 2018-10-02  expires: 2023-10-01  usage: SCEA
     trust: ultimate      validity: unknown
ssb  rsa4096/AFC18A2271EDDFE1
     created: 2018-10-02  expires: 2023-10-01  usage: S   
[ unknown] (1). Eclipse GlassFish <glassfish-dev@eclipse.org>
Please note that the shown key validity is not necessarily correct
unless you restart the program.

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 2023-10-01
pub  rsa4096/FD8776B8DA948C3D
     created: 2018-10-02  expires: 2023-10-01  usage: SCEA
     trust: ultimate      validity: ultimate
ssb  rsa4096/AFC18A2271EDDFE1
     created: 2018-10-02  expires: 2023-10-01  usage: S   
[ultimate] (1). Eclipse GlassFish <glassfish-dev@eclipse.org>

pub  rsa4096/FD8776B8DA948C3D
     created: 2018-10-02  expires: 2023-10-01  usage: SCEA
     trust: ultimate      validity: ultimate
ssb  rsa4096/AFC18A2271EDDFE1
     created: 2018-10-02  expires: 2023-10-01  usage: S   
[ultimate] (1). Eclipse GlassFish <glassfish-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/FD8776B8DA948C3D
     created: 2018-10-02  expires: 2023-10-01  usage: SCEA
     trust: ultimate      validity: ultimate
ssb  rsa4096/AFC18A2271EDDFE1
     created: 2018-10-02  expires: 2023-10-01  usage: S   
[ultimate] (1). Eclipse GlassFish <glassfish-dev@eclipse.org>

[all-projects_1_build-and-stage] $ /bin/bash -e /tmp/jenkins327592088833778803.sh
[all-projects_1_build-and-stage] $ /bin/bash -ex /tmp/jenkins4138878073603987787.sh
+ TOOLS_PREFIX=/opt/tools
+ JAVA_PREFIX=/opt/tools/java/openjdk
+ MVN_HOME=/opt/tools/apache-maven/latest
+ JAVA_HOME=/opt/tools/java/openjdk/jdk-11/latest
+ PATH=/opt/tools/apache-maven/latest/bin:/opt/tools/java/openjdk/jdk-11/latest/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
+ MVN_EXTRA='-DsonatypeOssDistMgmtNexusUrl=https://jakarta.oss.sonatype.org/ --batch-mode -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
+ MVN_DEPLOY_EXTRA=
+ VERSIONS_PLUGIN=org.codehaus.mojo:versions-maven-plugin:2.5
+ HELP_PLUGIN=org.apache.maven.plugins:maven-help-plugin:2.1.1
+ STAGING_NAME=orgglassfish
+ STAGING_PROFILE_ID=1c0c18a0fc339
+ case "${PROJECT}" in
+ GIT_REPO=git@github.com:eclipse-ee4j/glassfish-shoal.git
+ STAGING_DESC=shoal:3.0.0-M1
+ [[ shoal =~ ^fighterfish-* ]]
+ '[' shoal = osgi-resource-locator ']'
+ '[' shoal = repackaged ']'
+ BUILD_DIR=/home/jenkins/agent/workspace/all-projects_1_build-and-stage
+ git clone git@github.com:eclipse-ee4j/glassfish-shoal.git .
Cloning into '.'...
+ git checkout master
Already on 'master'
Your branch is up to date with 'origin/master'.
+ cd /home/jenkins/agent/workspace/all-projects_1_build-and-stage
+ grep '<version>' pom.xml
+ grep SNAPSHOT
    <version>3.0.0-SNAPSHOT</version>
++ mvn -DsonatypeOssDistMgmtNexusUrl=https://jakarta.oss.sonatype.org/ --batch-mode -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B org.apache.maven.plugins:maven-help-plugin:2.1.1:evaluate -Dexpression=project.version
++ grep -v -e INFO -e WARNING -e Apache -e Maven -e Java -e Default -e OS
+ PROJECT_VERSION=3.0.0-SNAPSHOT
++ echo 3.0.0-SNAPSHOT
++ grep -E '^[0-9]+(\.[0-9]+)+-SNAPSHOT$'
+ SNAPSHOT_VERSION=3.0.0-SNAPSHOT
+ echo 'Snapshot version is: 3.0.0-SNAPSHOT'
Snapshot version is: 3.0.0-SNAPSHOT
+ [[ -z 3.0.0-M1 ]]
+ '[' -z 3.0.1-SNAPSHOT ']'
+ RELEASE_TAG=3.0.0-M1
+ RELEASE_BRANCH=3.0.0-M1-BRANCH
+ echo 'Current version: 3.0.0-SNAPSHOT'
Current version: 3.0.0-SNAPSHOT
+ echo 'Release version: 3.0.0-M1'
Release version: 3.0.0-M1
+ echo 'Next version:    3.0.1-SNAPSHOT'
Next version:    3.0.1-SNAPSHOT
+ echo 'Release branch:  3.0.0-M1-BRANCH'
Release branch:  3.0.0-M1-BRANCH
+ echo 'Release tag:     3.0.0-M1'
Release tag:     3.0.0-M1
+ [[ -z 3.0.0-SNAPSHOT ]]
+ [[ -z 3.0.0-M1 ]]
+ [[ -z 3.0.1-SNAPSHOT ]]
+ [[ false = \t\r\u\e ]]
+ GIT_ORIGIN=origin
+ echo '-[ Prepare branch ]-------------------------------------------------------------'
-[ Prepare branch ]-------------------------------------------------------------
++ git branch -r
++ grep origin/3.0.0-M1-BRANCH
+ [[ -n '' ]]
+ echo '-[ Release tag cleanup ]--------------------------------------------------------'
-[ Release tag cleanup ]--------------------------------------------------------
++ git ls-remote --tags origin
++ grep -o 'refs/tags/3.0.0-M1$'
+ [[ -n '' ]]
+ git branch --delete 3.0.0-M1-BRANCH
error: branch '3.0.0-M1-BRANCH' not found.
+ git checkout -b 3.0.0-M1-BRANCH
Switched to a new branch '3.0.0-M1-BRANCH'
+ git tag --delete 3.0.0-M1
error: tag '3.0.0-M1' not found.
+ echo '-[ Set release version ]--------------------------------------------------------'
-[ Set release version ]--------------------------------------------------------
+ find . -name pom.xml -exec sed -i 's|<version>3.0.0-SNAPSHOT</version>|<version>3.0.0-M1</version>|g' '{}' ';'
+ echo '-[ Commit modified pom.xml files ]----------------------------------------------'
-[ Commit modified pom.xml files ]----------------------------------------------
++ git status
++ grep -E 'modified:.*pom\.xml'
++ sed -e 's/[[:space:]][[:space:]]*modified:[[:space:]][[:space:]]*//'
+ POM_FILES='backing-store/pom.xml
cache/pom.xml
gms/api/pom.xml
gms/impl/pom.xml
gms/pom.xml
pom.xml'
+ git add backing-store/pom.xml cache/pom.xml gms/api/pom.xml gms/impl/pom.xml gms/pom.xml pom.xml
+ git commit -m 'Prepare release 3.0.0-M1'
[3.0.0-M1-BRANCH 329869c] Prepare release 3.0.0-M1
 6 files changed, 6 insertions(+), 6 deletions(-)
+ [[ false = \t\r\u\e ]]
+ echo 'List of open Eclipse Glassfish staging repsitories....'
List of open Eclipse Glassfish staging repsitories....
+ mvn -DsonatypeOssDistMgmtNexusUrl=https://jakarta.oss.sonatype.org/ --batch-mode -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B -Pstaging nexus-staging:rc-list
+ awk '/^\[INFO\][ ]orgglassfish-[0-9]+[ ]+OPEN[ ]+shoal:3.0.0-M1/ {print}'
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.thoughtworks.xstream.core.util.Fields (file:/home/jenkins/.m2/repository/com/thoughtworks/xstream/xstream/1.4.7/xstream-1.4.7.jar) to field java.util.TreeMap.comparator
WARNING: Please consider reporting this to the maintainers of com.thoughtworks.xstream.core.util.Fields
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
++ mvn -DsonatypeOssDistMgmtNexusUrl=https://jakarta.oss.sonatype.org/ --batch-mode -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B -Pstaging nexus-staging:rc-list
++ awk '/^\[INFO\][ ]orgglassfish-[0-9]+[ ]+OPEN[ ]+shoal:3.0.0-M1$/ \
   {print $2}'
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.thoughtworks.xstream.core.util.Fields (file:/home/jenkins/.m2/repository/com/thoughtworks/xstream/xstream/1.4.7/xstream-1.4.7.jar) to field java.util.TreeMap.comparator
WARNING: Please consider reporting this to the maintainers of com.thoughtworks.xstream.core.util.Fields
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
+ [[ true = \t\r\u\e ]]
+ echo 'List of closed Eclipse Glassfish staging repsitories....'
List of closed Eclipse Glassfish staging repsitories....
++ mvn -DsonatypeOssDistMgmtNexusUrl=https://jakarta.oss.sonatype.org/ --batch-mode -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B -Pstaging nexus-staging:rc-list
++ awk '/^\[INFO\][ ]orgglassfish-[0-9]+[ ]+CLOSED[ ]+shoal:3.0.0-M1$/ \
     {print $2}'
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.thoughtworks.xstream.core.util.Fields (file:/home/jenkins/.m2/repository/com/thoughtworks/xstream/xstream/1.4.7/xstream-1.4.7.jar) to field java.util.TreeMap.comparator
WARNING: Please consider reporting this to the maintainers of com.thoughtworks.xstream.core.util.Fields
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
+ mvn -DsonatypeOssDistMgmtNexusUrl=https://jakarta.oss.sonatype.org/ --batch-mode -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B -q -Pstaging nexus-staging:rc-open -DstagingProfileId=1c0c18a0fc339 -DstagingDescription=shoal:3.0.0-M1
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.thoughtworks.xstream.core.util.Fields (file:/home/jenkins/.m2/repository/com/thoughtworks/xstream/xstream/1.4.7/xstream-1.4.7.jar) to field java.util.TreeMap.comparator
WARNING: Please consider reporting this to the maintainers of com.thoughtworks.xstream.core.util.Fields
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
++ mvn -DsonatypeOssDistMgmtNexusUrl=https://jakarta.oss.sonatype.org/ --batch-mode -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B -Pstaging nexus-staging:rc-list
++ awk '/^\[INFO\] orgglassfish-[0-9]+ +OPEN +shoal:3.0.0-M1 *$/ \
   {print $2}'
++ head -1
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.thoughtworks.xstream.core.util.Fields (file:/home/jenkins/.m2/repository/com/thoughtworks/xstream/xstream/1.4.7/xstream-1.4.7.jar) to field java.util.TreeMap.comparator
WARNING: Please consider reporting this to the maintainers of com.thoughtworks.xstream.core.util.Fields
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
+ STAGING_REPO_ID=orgglassfish-1203
+ cat hk2-testing/pom.xml
cat: hk2-testing/pom.xml: No such file or directory
Build step 'Execute shell' marked build as failure
$ ssh-agent -k
unset SSH_AUTH_SOCK;
unset SSH_AGENT_PID;
echo Agent pid 73 killed;
[ssh-agent] Stopped.
Finished: FAILURE