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 9344fa0c7cd67f982ac33dc21b1b2628aebb42dc
Obtained src/containerBuild/Jenkinsfile.containerBuildPipeline from 9344fa0c7cd67f982ac33dc21b1b2628aebb42dc
Loading library releng-pipeline@main
Attempting to resolve main from remote references...
 > git --version # timeout=10
 > git --version # 'git version 2.42.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 10b09f14df8b07cb3a78f12dfb1652151d7fcbd7
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.42.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 10b09f14df8b07cb3a78f12dfb1652151d7fcbd7 (main)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 10b09f14df8b07cb3a78f12dfb1652151d7fcbd7 # timeout=10
Commit message: "fix: container build annotations"
 > git rev-list --no-walk 10b09f14df8b07cb3a78f12dfb1652151d7fcbd7 # timeout=10
[GitLab Pipeline Status] Notifying branch build status: RUNNING jpl-containerBuildPipeline/main #5: Build started...
[GitLab Pipeline Status] Notified
[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
Created Pod: kubernetes cbi/jpl-containerbuildpipeline-main-5-dmpjs-xql4f-qgz8z
Still waiting to schedule task
‘jpl-containerbuildpipeline-main-5-dmpjs-xql4f-qgz8z’ is offline
Agent jpl-containerbuildpipeline-main-5-dmpjs-xql4f-qgz8z is provisioned from template jpl-containerBuildPipeline_main_5-dmpjs-xql4f
---
apiVersion: "v1"
kind: "Pod"
metadata:
  annotations:
    buildUrl: "http://jenkins-ui.cbi.svc.cluster.local/cbi/job/jpl-containerBuildPipeline/job/main/5/"
    runUrl: "job/jpl-containerBuildPipeline/job/main/5/"
  labels:
    jenkins: "slave"
    jenkins/label-digest: "302f225d0f35210ebed62cf5bc2277307b9dad08"
    jenkins/label: "jpl-containerBuildPipeline_main_5-dmpjs"
  name: "jpl-containerbuildpipeline-main-5-dmpjs-xql4f-qgz8z"
  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-5-dmpjs-xql4f-qgz8z"
    - name: "JENKINS_NAME"
      value: "jpl-containerbuildpipeline-main-5-dmpjs-xql4f-qgz8z"
    - 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-5-dmpjs-xql4f-qgz8z 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 9344fa0c7cd67f982ac33dc21b1b2628aebb42dc (main)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 9344fa0c7cd67f982ac33dc21b1b2628aebb42dc # timeout=10
Commit message: "feat: move from main branch to default branch configure in jenkins"
First time build. Skipping changelog.
[GitLab Pipeline Status] Notifying branch build status: RUNNING jpl-containerBuildPipeline/main #5: Build started...
[Pipeline] }
[Pipeline] // stage
[Pipeline] withEnv
[Pipeline] {
[Pipeline] withEnv
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Build image)
[Pipeline] container
[Pipeline] {
[Pipeline] script
[Pipeline] {
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // container
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // podTemplate
[Pipeline] End of Pipeline
Also:   org.jenkinsci.plugins.workflow.actions.ErrorAction$ErrorId: 46988f62-d9eb-4ffb-911b-f0ec6809d6fb
hudson.remoting.ProxyException: groovy.lang.MissingMethodException: No signature of method: org.eclipsefdn.jenkins.container.ContainerBuild.login() is applicable for argument types: (java.lang.String, java.lang.String, java.lang.String) values: [e93ba8f9-59fc-4fe4-a9a7-9a8bd60c17d9, docker.io, true]
Possible solutions: login(java.lang.String, java.lang.String), login(java.lang.String, java.lang.String, boolean), login(java.lang.String), notify(), wait(), find()
	at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:71)
	at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:77)
	at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:53)
	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
	at org.kohsuke.groovy.sandbox.impl.Checker$1.call(Checker.java:180)
	at org.kohsuke.groovy.sandbox.GroovyInterceptor.onMethodCall(GroovyInterceptor.java:23)
	at org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.SandboxInterceptor.onMethodCall(SandboxInterceptor.java:163)
	at org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.SandboxInterceptor.onMethodCall(SandboxInterceptor.java:148)
	at org.kohsuke.groovy.sandbox.impl.Checker$1.call(Checker.java:178)
	at org.kohsuke.groovy.sandbox.impl.Checker.checkedCall(Checker.java:182)
	at com.cloudbees.groovy.cps.sandbox.SandboxInvoker.methodCall(SandboxInvoker.java:17)
	at org.jenkinsci.plugins.workflow.cps.LoggingInvoker.methodCall(LoggingInvoker.java:105)
	at containerBuildPipeline.build(containerBuildPipeline.groovy:48)
	at containerBuildPipeline.call(containerBuildPipeline.groovy:37)
	at ___cps.transform___(Native Method)
	at com.cloudbees.groovy.cps.impl.ContinuationGroup.methodCall(ContinuationGroup.java:90)
	at com.cloudbees.groovy.cps.impl.FunctionCallBlock$ContinuationImpl.dispatchOrArg(FunctionCallBlock.java:116)
	at com.cloudbees.groovy.cps.impl.FunctionCallBlock$ContinuationImpl.fixArg(FunctionCallBlock.java:85)
	at jdk.internal.reflect.GeneratedMethodAccessor230.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 com.cloudbees.groovy.cps.impl.ContinuationPtr$ContinuationImpl.receive(ContinuationPtr.java:72)
	at com.cloudbees.groovy.cps.impl.PropertyishBlock$ContinuationImpl.get(PropertyishBlock.java:75)
	at com.cloudbees.groovy.cps.LValueBlock$GetAdapter.receive(LValueBlock.java:30)
	at com.cloudbees.groovy.cps.impl.PropertyishBlock$ContinuationImpl.fixName(PropertyishBlock.java:65)
	at jdk.internal.reflect.GeneratedMethodAccessor234.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 com.cloudbees.groovy.cps.impl.ContinuationPtr$ContinuationImpl.receive(ContinuationPtr.java:72)
	at com.cloudbees.groovy.cps.impl.ConstantBlock.eval(ConstantBlock.java:21)
	at com.cloudbees.groovy.cps.Next.step(Next.java:83)
	at com.cloudbees.groovy.cps.Continuable$1.call(Continuable.java:152)
	at com.cloudbees.groovy.cps.Continuable$1.call(Continuable.java:146)
	at org.codehaus.groovy.runtime.GroovyCategorySupport$ThreadCategoryInfo.use(GroovyCategorySupport.java:136)
	at org.codehaus.groovy.runtime.GroovyCategorySupport.use(GroovyCategorySupport.java:275)
	at com.cloudbees.groovy.cps.Continuable.run0(Continuable.java:146)
	at org.jenkinsci.plugins.workflow.cps.SandboxContinuable.access$001(SandboxContinuable.java:18)
	at org.jenkinsci.plugins.workflow.cps.SandboxContinuable.run0(SandboxContinuable.java:51)
	at org.jenkinsci.plugins.workflow.cps.CpsThread.runNextChunk(CpsThread.java:187)
	at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.run(CpsThreadGroup.java:423)
	at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:331)
	at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:295)
	at org.jenkinsci.plugins.workflow.cps.CpsVmExecutorService$2.call(CpsVmExecutorService.java:97)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at hudson.remoting.SingleLaneExecutorService$1.run(SingleLaneExecutorService.java:139)
	at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28)
	at jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:68)
	at jenkins.util.ErrorLoggingExecutorService.lambda$wrap$0(ErrorLoggingExecutorService.java:51)
	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)
	at java.base/java.lang.Thread.run(Thread.java:839)
[GitLab Pipeline Status] Notifying branch build status: FAILED jpl-containerBuildPipeline/main #5: There was a failure building this commit.
[GitLab Pipeline Status] Notified
Finished: FAILURE