Skip to content

Console Output

Started by an SCM change
Obtained Jenkinsfile from git https://gitlab.eclipse.org/eclipse/opencert/opencert.website.git
[Pipeline] Start of Pipeline
[Pipeline] echo
[WARNING] label option is deprecated. To use a static pod template, use the 'inheritFrom' option.
[Pipeline] podTemplate
[Pipeline] {
[Pipeline] node
Created Pod: kubernetes opencert/hugo-agent-5xnx0-h9lfc
Still waiting to schedule task
‘hugo-agent-5xnx0-h9lfc’ is offline
Agent hugo-agent-5xnx0-h9lfc is provisioned from template hugo-agent-5xnx0
---
apiVersion: "v1"
kind: "Pod"
metadata:
  annotations:
    buildUrl: "http://jenkins-ui.opencert.svc.cluster.local/opencert/job/Opencert-Website-Pipeline/9/"
    runUrl: "job/Opencert-Website-Pipeline/9/"
  labels:
    run: "hugo"
    jenkins: "slave"
    jenkins/label-digest: "7ac110df4066c009b519c7b03c365692b5eeb4d5"
    jenkins/label: "hugo-agent"
  name: "hugo-agent-5xnx0-h9lfc"
  namespace: "opencert"
spec:
  containers:
  - env:
    - name: "JENKINS_SECRET"
      value: "********"
    - name: "JENKINS_TUNNEL"
      value: "jenkins-discovery.opencert.svc.cluster.local:50000"
    - name: "JENKINS_AGENT_NAME"
      value: "hugo-agent-5xnx0-h9lfc"
    - name: "JENKINS_NAME"
      value: "hugo-agent-5xnx0-h9lfc"
    - name: "JENKINS_AGENT_WORKDIR"
      value: "/home/jenkins/agent"
    - name: "JENKINS_URL"
      value: "http://jenkins-ui.opencert.svc.cluster.local/opencert/"
    - name: "HOME"
      value: "/home/jenkins"
    image: "docker.io/eclipsecbi/jiro-agent-basic:remoting-4.13.3"
    name: "jnlp"
    resources:
      limits: {}
      requests:
        memory: "256Mi"
        cpu: "100m"
    volumeMounts:
    - mountPath: "/home/jenkins/.ssh"
      name: "volume-known-hosts"
    - mountPath: "/home/jenkins/agent"
      name: "workspace-volume"
      readOnly: false
  - command:
    - "cat"
    image: "eclipsecbi/hugo:0.81.0"
    name: "hugo"
    tty: true
    volumeMounts:
    - mountPath: "/home/jenkins/agent"
      name: "workspace-volume"
      readOnly: false
  nodeSelector:
    kubernetes.io/os: "linux"
  restartPolicy: "Never"
  volumes:
  - emptyDir:
      medium: ""
    name: "workspace-volume"
  - configMap:
      name: "known-hosts"
    name: "volume-known-hosts"

Running on hugo-agent-5xnx0-h9lfc in /home/jenkins/agent/workspace/Opencert-Website-Pipeline
[Pipeline] {
[Pipeline] dir
Running in /home/jenkins/agent/workspace/Opencert-Website-Pipeline/hugo
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Declarative: Checkout SCM)
[Pipeline] checkout
The recommended git tool is: git
using credential git.eclipse.org-bot-ssh
Cloning the remote Git repository
Cloning repository https://gitlab.eclipse.org/eclipse/opencert/opencert.website.git
 > git init /home/jenkins/agent/workspace/Opencert-Website-Pipeline/hugo # timeout=10
Fetching upstream changes from https://gitlab.eclipse.org/eclipse/opencert/opencert.website.git
 > git --version # timeout=10
 > git --version # 'git version 2.20.1'
using GIT_SSH to set credentials ssh://genie.opencert@git.eclipse.org
[INFO] Currently running in a labeled security context
 > /usr/bin/chcon --type=ssh_home_t /home/jenkins/agent/workspace/Opencert-Website-Pipeline/hugo@tmp/jenkins-gitclient-ssh1299956701915416698.key
Verifying host key using known hosts file
 > git fetch --tags --force --progress -- https://gitlab.eclipse.org/eclipse/opencert/opencert.website.git +refs/heads/*:refs/remotes/origin/* # timeout=10
Avoid second fetch
Checking out Revision 3a8a5225cc8ac7811b6f600956d2ad96df81e4de (refs/remotes/origin/main)
 > git config remote.origin.url https://gitlab.eclipse.org/eclipse/opencert/opencert.website.git # timeout=10
 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git rev-parse refs/remotes/origin/main^{commit} # timeout=10
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 3a8a5225cc8ac7811b6f600956d2ad96df81e4de # timeout=10
Commit message: "Credentials ID and checkout URL corrected"
 > git rev-list --no-walk af5bc8d1839bf3639855d1fb56b4c150e92cf255 # timeout=10
 > git remote # timeout=10
 > git submodule init # timeout=10
 > git submodule sync # timeout=10
 > git config --get remote.origin.url # timeout=10
 > git submodule init # timeout=10
 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10
 > git config --get submodule.themes/hugo-solstice-theme.url # timeout=10
 > git config -f .gitmodules --get submodule.themes/hugo-solstice-theme.path # timeout=10
 > git submodule update --init --recursive themes/hugo-solstice-theme # timeout=10
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // dir
[Pipeline] withEnv
[Pipeline] {
[Pipeline] withEnv
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Checkout www repo)
[Pipeline] dir
Running in /home/jenkins/agent/workspace/Opencert-Website-Pipeline/www
[Pipeline] {
[Pipeline] sshagent
[ssh-agent] Using credentials opencert-bot (GitLab bot (SSH))
[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-1ArHWfXmHwMF/agent.368
SSH_AGENT_PID=370
Running ssh-add (command line suppressed)
Identity added: /home/jenkins/agent/workspace/Opencert-Website-Pipeline/www@tmp/private_key_15804048215659973068.key (opencert-bot@eclipse.org)
[ssh-agent] Started.
[Pipeline] {
[Pipeline] sh
+ git clone git@gitlab.eclipse.org:eclipse/opencert/opencert.website-output.git .
Cloning into '.'...
Failed to add the RSA host key for IP address '141.94.179.217' to the list of known hosts (/home/jenkins/.ssh/known_hosts).
+ '[' main = main ']'
+ git checkout master
error: pathspec 'master' did not match any file(s) known to git
[Pipeline] }
$ ssh-agent -k
unset SSH_AUTH_SOCK;
unset SSH_AGENT_PID;
echo Agent pid 370 killed;
[ssh-agent] Stopped.
[Pipeline] // sshagent
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Build website (main) with Hugo)
Stage "Build website (main) with Hugo" skipped due to earlier failure(s)
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Build website (staging) with Hugo)
Stage "Build website (staging) with Hugo" skipped due to earlier failure(s)
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Push to $env.BRANCH_NAME branch)
Stage "Push to $env.BRANCH_NAME branch" skipped due to earlier failure(s)
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // podTemplate
[Pipeline] End of Pipeline
ERROR: script returned exit code 1
Finished: FAILURE