Skip to content

Console Output

Started by user Lukas Jungmann
Rebuilds build #156
Running as Lukas Jungmann
Agent basic-1fmx9 is provisioned from template basic
---
apiVersion: "v1"
kind: "Pod"
metadata:
  annotations: {}
  labels:
    jenkins: "slave"
    jenkins/label-digest: "61a7508ed1b04e9ada836fcd14d4d8ef5687c7dd"
    jenkins/label: "basic"
  name: "basic-1fmx9"
spec:
  containers:
  - env:
    - name: "JENKINS_SECRET"
      value: "********"
    - name: "JENKINS_TUNNEL"
      value: "jenkins-discovery.metro.svc.cluster.local:50000"
    - name: "JENKINS_AGENT_NAME"
      value: "basic-1fmx9"
    - 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-1fmx9"
    - name: "JENKINS_AGENT_WORKDIR"
      value: "/home/jenkins/agent"
    - name: "JENKINS_URL"
      value: "http://jenkins-ui.metro.svc.cluster.local/metro/"
    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-metro"
      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-1fmx9 (basic) in workspace /home/jenkins/agent/workspace/nexus-staging
[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-IVV7bsH7fQ0S/agent.81
SSH_AGENT_PID=83
[ssh-agent] Started.
Running ssh-add (command line suppressed)
Identity added: /home/jenkins/agent/workspace/nexus-staging@tmp/private_key_13991836960621014618.key (/home/jenkins/agent/workspace/nexus-staging@tmp/private_key_13991836960621014618.key)
[ssh-agent] Using credentials eclipse-metro-bot (GitHub bot SSH)
[nexus-staging] $ /bin/bash -ex /tmp/jenkins13398496201062086966.sh
+ TOOLS_PREFIX=/opt/tools
+ JAVA_PREFIX=/opt/tools/java/oracle
+ MVN_HOME=/opt/tools/apache-maven/latest
+ JAVA_HOME=/opt/tools/java/oracle/jdk-9/latest
+ PATH=/opt/tools/apache-maven/latest/bin:/opt/tools/java/oracle/jdk-9/latest/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
+ HELP_PLUGIN=org.apache.maven.plugins:maven-help-plugin:3.1.0
+ NEXUS_PLUGIN=org.sonatype.plugins:nexus-staging-maven-plugin:1.6.7
+ NEXUS_PLUGIN_PARAMS='-DnexusUrl=https://jakarta.oss.sonatype.org/ -DserverId=ossrh'
+ case "${PROJECT}" in
+ GIT_REPO=git@github.com:eclipse-ee4j/metro-wsit.git
+ STAGING_NAME=orgglassfish
+ BUILD_DIR=/home/jenkins/agent/workspace/nexus-staging/wsit
+ '[' -n git@github.com:eclipse-ee4j/metro-wsit.git ']'
+ echo '-[ Cloning Project Repository ]-------------------------------------------------'
-[ Cloning Project Repository ]-------------------------------------------------
+ git clone git@github.com:eclipse-ee4j/metro-wsit.git .
Cloning into '.'...
+ git checkout master
Already on 'master'
Your branch is up to date with 'origin/master'.
+ echo '-[ Reading project identifiers ]------------------------------------------------'
-[ Reading project identifiers ]------------------------------------------------
+ '[' -n /home/jenkins/agent/workspace/nexus-staging/wsit ']'
+ cd /home/jenkins/agent/workspace/nexus-staging/wsit
+ '[' WSIT == WSIT ']'
+ ARTIFACT_ID=wsit
++ mvn -B -Pstaging org.apache.maven.plugins:maven-help-plugin:3.1.0:evaluate -Dexpression=project.groupId
++ grep -Ev '(^\[)'
+ GROUP_ID=org.glassfish.metro
+ echo 'Project:              WSIT API'
Project:              WSIT API
+ echo 'Action:               release'
Action:               release
+ echo 'Repository ID prefix: orgglassfish'
Repository ID prefix: orgglassfish
+ echo 'Artifact:             org.glassfish.metro:wsit'
Artifact:             org.glassfish.metro:wsit
+ case "${ACTION}" in
+ '[' true = true ']'
+ '[' -n comsunxml-1042,comsunxml-1043,comsunxml-1046,comsunxml-1047 ']'
+ echo '-[ Releasing Nexus staging repository for WSIT API ]--------------------------'
-[ Releasing Nexus staging repository for WSIT API ]--------------------------
+ for repo_id in ${VERSION}
+ echo 'Repository ID: comsunxml-1042,comsunxml-1043,comsunxml-1046,comsunxml-1047'
Repository ID: comsunxml-1042,comsunxml-1043,comsunxml-1046,comsunxml-1047
+ mvn -B -DnexusUrl=https://jakarta.oss.sonatype.org/ -DserverId=ossrh org.sonatype.plugins:nexus-staging-maven-plugin:1.6.7:rc-release -DstagingRepositoryId=comsunxml-1042,comsunxml-1043,comsunxml-1046,comsunxml-1047
[INFO] Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] Non-resolvable import POM: Could not find artifact com.sun.xml.ws:jaxws-ri-bom-ext:pom:4.0.0-M4 in eclipse.maven.central.mirror (https://repo.eclipse.org/content/repositories/maven_central/) @ org.glassfish.metro:metro-bom-ext:4.0.0-SNAPSHOT, /home/jenkins/agent/workspace/nexus-staging/wsit/boms/bom-ext/pom.xml, line 63, column 25
[ERROR] Non-resolvable import POM: Could not find artifact com.sun.xml.ws:jaxws-ri-bom:pom:4.0.0-M4 in eclipse.maven.central.mirror (https://repo.eclipse.org/content/repositories/maven_central/) @ org.glassfish.metro:metro-bom:4.0.0-SNAPSHOT, /home/jenkins/agent/workspace/nexus-staging/wsit/boms/bom/pom.xml, line 63, column 25
 @ 
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]   
[ERROR]   The project org.glassfish.metro:metro-project:4.0.0-SNAPSHOT (/home/jenkins/agent/workspace/nexus-staging/wsit/pom.xml) has 2 errors
[ERROR]     Non-resolvable import POM: Could not find artifact com.sun.xml.ws:jaxws-ri-bom-ext:pom:4.0.0-M4 in eclipse.maven.central.mirror (https://repo.eclipse.org/content/repositories/maven_central/) @ org.glassfish.metro:metro-bom-ext:4.0.0-SNAPSHOT, /home/jenkins/agent/workspace/nexus-staging/wsit/boms/bom-ext/pom.xml, line 63, column 25 -> [Help 2]
[ERROR]     Non-resolvable import POM: Could not find artifact com.sun.xml.ws:jaxws-ri-bom:pom:4.0.0-M4 in eclipse.maven.central.mirror (https://repo.eclipse.org/content/repositories/maven_central/) @ org.glassfish.metro:metro-bom:4.0.0-SNAPSHOT, /home/jenkins/agent/workspace/nexus-staging/wsit/boms/bom/pom.xml, line 63, column 25 -> [Help 2]
[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/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
Build step 'Execute shell' marked build as failure
$ ssh-agent -k
unset SSH_AUTH_SOCK;
unset SSH_AGENT_PID;
echo Agent pid 83 killed;
[ssh-agent] Stopped.
Finished: FAILURE