Skip to content
Failed

Console Output

Started by user Sébastien Heurtematte
Running as Sébastien Heurtematte
Querying the current revision of branch main...
Current revision of branch main is 6efc0db43736fd35c068b3c19d94b34c0484e336
Obtained src/containerBuild/Jenkinsfile.containerBuildPipeline from 6efc0db43736fd35c068b3c19d94b34c0484e336
Loading library releng-pipeline@main
Attempting to resolve main from remote references...
 > git --version # timeout=10
 > git --version # 'git version 2.43.0'
 > git ls-remote -- https://gitlab.eclipse.org/eclipsefdn/it/releng/jenkins-pipeline-service/jenkins-pipeline-library.git # timeout=10
Found match: refs/heads/main revision f90d806e2d2d0aba347f91e3e0e5ca13583a7995
The recommended git tool is: NONE
No credentials specified
 > git rev-parse --resolve-git-dir /var/jenkins/workspace/jpl-containerBuildPipeline_main@libs/4355fc0889d6bce1359578d0eed196c62b68f858e457d99b09b4a866d782b91d/.git # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://gitlab.eclipse.org/eclipsefdn/it/releng/jenkins-pipeline-service/jenkins-pipeline-library.git # timeout=10
Fetching without tags
Fetching upstream changes from https://gitlab.eclipse.org/eclipsefdn/it/releng/jenkins-pipeline-service/jenkins-pipeline-library.git
 > git --version # timeout=10
 > git --version # 'git version 2.43.0'
 > git fetch --no-tags --force --progress -- https://gitlab.eclipse.org/eclipsefdn/it/releng/jenkins-pipeline-service/jenkins-pipeline-library.git +refs/heads/main:refs/remotes/origin/main # timeout=10
Checking out Revision f90d806e2d2d0aba347f91e3e0e5ca13583a7995 (main)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f f90d806e2d2d0aba347f91e3e0e5ca13583a7995 # timeout=10
Commit message: "fix: hugo build with new containerBuild"
 > git rev-list --no-walk f90d806e2d2d0aba347f91e3e0e5ca13583a7995 # timeout=10
[GitLab Pipeline Status] Notifying branch build status: RUNNING jpl-containerBuildPipeline/main #12: Build started...
[Pipeline] Start of Pipeline
[Pipeline] libraryResource
[Pipeline] echo
Final resourceContent: apiVersion: v1
kind: Pod
spec:
  containers:
  - name: containertools
    image: eclipsefdn/containertools:alpine-latest
    imagePullPolicy: Always
    command: [ "sleep" ]
    args: [ "infinity" ]
    resources:
      limits:
        cpu: 500m
        memory: 256Mi

[Pipeline] podTemplate
[Pipeline] {
[Pipeline] node
Still waiting to schedule task
All nodes of label ‘jpl-containerBuildPipeline_main_12-8sj2c’ are offline
Created Pod: kubernetes cbi/jpl-containerbuildpipeline-main-12-8sj2c-ts4lv-xc3jp
Agent jpl-containerbuildpipeline-main-12-8sj2c-ts4lv-xc3jp is provisioned from template jpl-containerBuildPipeline_main_12-8sj2c-ts4lv
---
apiVersion: "v1"
kind: "Pod"
metadata:
  annotations:
    buildUrl: "http://jenkins-ui.cbi.svc.cluster.local/cbi/job/jpl-containerBuildPipeline/job/main/12/"
    runUrl: "job/jpl-containerBuildPipeline/job/main/12/"
  labels:
    jenkins: "slave"
    jenkins/label-digest: "25b5d8603d4b6c97d8651f22e0ef9f80f355a0dd"
    jenkins/label: "jpl-containerBuildPipeline_main_12-8sj2c"
  name: "jpl-containerbuildpipeline-main-12-8sj2c-ts4lv-xc3jp"
  namespace: "cbi"
spec:
  containers:
  - args:
    - "infinity"
    command:
    - "sleep"
    image: "eclipsefdn/containertools:alpine-latest"
    imagePullPolicy: "Always"
    name: "containertools"
    resources:
      limits:
        cpu: "500m"
        memory: "256Mi"
    volumeMounts:
    - mountPath: "/home/jenkins/agent"
      name: "workspace-volume"
      readOnly: false
  - env:
    - name: "JENKINS_SECRET"
      value: "********"
    - name: "JENKINS_TUNNEL"
      value: "jenkins-discovery.cbi.svc.cluster.local:50000"
    - name: "JENKINS_AGENT_NAME"
      value: "jpl-containerbuildpipeline-main-12-8sj2c-ts4lv-xc3jp"
    - name: "JENKINS_NAME"
      value: "jpl-containerbuildpipeline-main-12-8sj2c-ts4lv-xc3jp"
    - name: "JENKINS_AGENT_WORKDIR"
      value: "/home/jenkins/agent"
    - name: "JENKINS_URL"
      value: "http://jenkins-ui.cbi.svc.cluster.local/cbi/"
    image: "docker.io/eclipsecbi/jiro-agent-basic:remoting-3160.vd76b_9ddd10cc"
    name: "jnlp"
    resources:
      requests:
        memory: "256Mi"
        cpu: "100m"
    volumeMounts:
    - mountPath: "/home/jenkins/agent"
      name: "workspace-volume"
      readOnly: false
  nodeSelector:
    kubernetes.io/os: "linux"
  restartPolicy: "Never"
  volumes:
  - emptyDir:
      medium: ""
    name: "workspace-volume"

Running on jpl-containerbuildpipeline-main-12-8sj2c-ts4lv-xc3jp in /home/jenkins/agent/workspace/jpl-containerBuildPipeline_main
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Declarative: Checkout SCM)
[Pipeline] checkout
The recommended git tool is: NONE
No credentials specified
Cloning the remote Git repository
Cloning with configured refspecs honoured and without tags
Cloning repository https://gitlab.eclipse.org/eclipsefdn/it/releng/jenkins-pipeline-service/jenkins-pipeline-library-sample.git
 > git init /home/jenkins/agent/workspace/jpl-containerBuildPipeline_main # timeout=10
Fetching upstream changes from https://gitlab.eclipse.org/eclipsefdn/it/releng/jenkins-pipeline-service/jenkins-pipeline-library-sample.git
 > git --version # timeout=10
 > git --version # 'git version 2.20.1'
 > git fetch --no-tags --force --progress -- https://gitlab.eclipse.org/eclipsefdn/it/releng/jenkins-pipeline-service/jenkins-pipeline-library-sample.git +refs/heads/main:refs/remotes/origin/main # timeout=10
 > git config remote.origin.url https://gitlab.eclipse.org/eclipsefdn/it/releng/jenkins-pipeline-service/jenkins-pipeline-library-sample.git # timeout=10
 > git config --add remote.origin.fetch +refs/heads/main:refs/remotes/origin/main # timeout=10
Avoid second fetch
Checking out Revision 6efc0db43736fd35c068b3c19d94b34c0484e336 (main)
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // podTemplate
[Pipeline] End of Pipeline
hudson.plugins.git.GitException: Command "git checkout -f 6efc0db43736fd35c068b3c19d94b34c0484e336" returned status code 128:
stdout: 
stderr: fatal: reference is not a tree: 6efc0db43736fd35c068b3c19d94b34c0484e336

	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2842)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$9.execute(CliGitAPIImpl.java:3170)
Also:   hudson.remoting.Channel$CallSiteStackTrace: Remote call to JNLP4-connect connection from 10.40.52.247/10.40.52.247:59880
		at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1787)
		at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:356)
		at hudson.remoting.Channel.call(Channel.java:1003)
		at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.execute(RemoteGitImpl.java:153)
		at jdk.internal.reflect.GeneratedMethodAccessor1216.invoke(Unknown Source)
		at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
		at java.base/java.lang.reflect.Method.invoke(Method.java:566)
		at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.invoke(RemoteGitImpl.java:138)
		at com.sun.proxy.$Proxy255.execute(Unknown Source)
		at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1355)
		at org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:129)
		at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:97)
		at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:84)
		at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
		at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
		at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
		at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
		at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
Also:   org.jenkinsci.plugins.workflow.actions.ErrorAction$ErrorId: 26bc1e8e-847b-448a-915c-4c4a77bf7239
Caused: hudson.plugins.git.GitException: Could not checkout 6efc0db43736fd35c068b3c19d94b34c0484e336
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$9.execute(CliGitAPIImpl.java:3198)
	at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$GitCommandMasterToSlaveCallable.call(RemoteGitImpl.java:170)
	at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$GitCommandMasterToSlaveCallable.call(RemoteGitImpl.java:161)
	at hudson.remoting.UserRequest.perform(UserRequest.java:211)
	at hudson.remoting.UserRequest.perform(UserRequest.java:54)
	at hudson.remoting.Request$2.run(Request.java:377)
	at hudson.remoting.InterceptingExecutorService.lambda$wrap$0(InterceptingExecutorService.java:78)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at hudson.remoting.Engine$1.lambda$newThread$0(Engine.java:125)
	at java.base/java.lang.Thread.run(Thread.java:839)
[GitLab Pipeline Status] Notifying branch build status: FAILED jpl-containerBuildPipeline/main #12: There was a failure building this commit.
[GitLab Pipeline Status] Notified
Finished: FAILURE