Skip to content
Failed

Console Output

Started by user Frederic Gurr
Rebuilds build #7
Running as Frederic Gurr
Agent basic-grclq is provisioned from template basic
---
apiVersion: "v1"
kind: "Pod"
metadata:
  annotations: {}
  labels:
    jenkins: "slave"
    jenkins/label-digest: "61a7508ed1b04e9ada836fcd14d4d8ef5687c7dd"
    jenkins/label: "basic"
  name: "basic-grclq"
spec:
  containers:
  - env:
    - name: "JENKINS_SECRET"
      value: "********"
    - name: "JENKINS_TUNNEL"
      value: "jenkins-discovery.yasson.svc.cluster.local:50000"
    - name: "JENKINS_AGENT_NAME"
      value: "basic-grclq"
    - 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-grclq"
    - name: "JENKINS_AGENT_WORKDIR"
      value: "/home/jenkins/agent"
    - name: "JENKINS_URL"
      value: "http://jenkins-ui.yasson.svc.cluster.local/yasson/"
    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-yasson"
      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-grclq (basic) in workspace /home/jenkins/agent/workspace/create_release_pr
[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-V9G2n3skfZW1/agent.68
SSH_AGENT_PID=70
[ssh-agent] Started.
Running ssh-add (command line suppressed)
Identity added: /home/jenkins/agent/workspace/create_release_pr@tmp/private_key_14242466205738445232.key (/home/jenkins/agent/workspace/create_release_pr@tmp/private_key_14242466205738445232.key)
[ssh-agent] Using credentials yasson-bot (GitHub bot SSH)
The recommended git tool is: NONE
using credential github-bot-ssh
Cloning the remote Git repository
Cloning repository git@github.com:eclipse-ee4j/yasson.git
 > git init /home/jenkins/agent/workspace/create_release_pr # timeout=10
Fetching upstream changes from git@github.com:eclipse-ee4j/yasson.git
 > git --version # timeout=10
 > git --version # 'git version 2.20.1'
using GIT_SSH to set credentials GitHub bot SSH
[INFO] Currently running in a labeled security context
 > /usr/bin/chcon --type=ssh_home_t /home/jenkins/agent/workspace/create_release_pr@tmp/jenkins-gitclient-ssh3960057058872766815.key
 > git fetch --tags --force --progress -- git@github.com:eclipse-ee4j/yasson.git +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url git@github.com:eclipse-ee4j/yasson.git # timeout=10
 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
Avoid second fetch
 > git rev-parse origin/3.0.0-RC2-RELEASE^{commit} # timeout=10
Checking out Revision b341dbce37a0bbef66eb5445433f0bb98eec4fde (origin/3.0.0-RC2-RELEASE)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f b341dbce37a0bbef66eb5445433f0bb98eec4fde # timeout=10
Commit message: "Prepare next development cycle for 3.0.0-SNAPSHOT"
 > git rev-list --no-walk b341dbce37a0bbef66eb5445433f0bb98eec4fde # timeout=10
Copied 1 artifact from "provide_hub_extension" build number 1
[create_release_pr] $ /bin/bash -xe /tmp/jenkins18220139533212231420.sh
+ tar -xzf hub-linux-amd64-2.14.2.tgz
+ git config --global hub.protocol ssh
+ git config --global user.email ****@eclipse.org
+ git config --global user.name 'Eclipse Yasson Bot'
+ export HUB_VERBOSE=true
+ HUB_VERBOSE=true
+ hub-linux-amd64-2.14.2/bin/./hub pull-request --base master --head 3.0.0-RC2-RELEASE --message 'Technical merge of released branch 3.0.0-RC2-RELEASE'
$ git rev-parse -q --git-dir
$ git symbolic-ref HEAD
$ git remote -v
$ git config --get-all hub.host
$ git symbolic-ref HEAD
> GET https://api.github.com/repos/eclipse-ee4j/yasson
> Authorization: token [REDACTED]
> Accept: application/vnd.github.v3+json;charset=utf-8
< HTTP 401
{"message":"Bad credentials","documentation_url":"https://docs.github.com/rest"}
> POST https://api.github.com/repos/eclipse-ee4j/yasson/pulls
> Authorization: token [REDACTED]
> Accept: application/vnd.github.shadow-cat-preview+json;charset=utf-8
{"base":"master","head":"eclipse-ee4j:3.0.0-RC2-RELEASE","maintainer_can_modify":true,"title":"Technical merge of released branch 3.0.0-RC2-RELEASE"}
< HTTP 401
{"message":"Bad credentials","documentation_url":"https://docs.github.com/rest"}
Error creating pull request: Unauthorized (HTTP 401)
Bad credentials
Build step 'Execute shell' marked build as failure
$ ssh-agent -k
unset SSH_AUTH_SOCK;
unset SSH_AGENT_PID;
echo Agent pid 70 killed;
[ssh-agent] Stopped.
Finished: FAILURE