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 97dc6b4d6d9ec4cfcb8af042307f553e9ce97dce
Obtained src/containerBuild/Jenkinsfile.containerBuildPipeline from 97dc6b4d6d9ec4cfcb8af042307f553e9ce97dce
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 2ab562365b8d5edc4a0a270f5ff5f2a6a95ba02a
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 2ab562365b8d5edc4a0a270f5ff5f2a6a95ba02a (main)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 2ab562365b8d5edc4a0a270f5ff5f2a6a95ba02a # timeout=10
Commit message: "fix: hugo build with new containerBuild"
 > git rev-list --no-walk 6b7fda35591eb2bca5cb960bb45e69fbf69acd44 # timeout=10
[GitLab Pipeline Status] Notifying branch build status: RUNNING jpl-containerBuildPipeline/main #8: 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-8-dl0dx-0stsn-5d43x
Agent jpl-containerbuildpipeline-main-8-dl0dx-0stsn-5d43x is provisioned from template jpl-containerBuildPipeline_main_8-dl0dx-0stsn
---
apiVersion: "v1"
kind: "Pod"
metadata:
  annotations:
    buildUrl: "http://jenkins-ui.cbi.svc.cluster.local/cbi/job/jpl-containerBuildPipeline/job/main/8/"
    runUrl: "job/jpl-containerBuildPipeline/job/main/8/"
  labels:
    jenkins: "slave"
    jenkins/label-digest: "5e12b57772cd386d58b03a45d4365168a11f251e"
    jenkins/label: "jpl-containerBuildPipeline_main_8-dl0dx"
  name: "jpl-containerbuildpipeline-main-8-dl0dx-0stsn-5d43x"
  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-8-dl0dx-0stsn-5d43x"
    - name: "JENKINS_NAME"
      value: "jpl-containerbuildpipeline-main-8-dl0dx-0stsn-5d43x"
    - 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-8-dl0dx-0stsn-5d43x 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 97dc6b4d6d9ec4cfcb8af042307f553e9ce97dce (main)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 97dc6b4d6d9ec4cfcb8af042307f553e9ce97dce # timeout=10
Commit message: "fix: HOME ENV in scripted pipeline"
 > git rev-list --no-walk 946a169bcdf566d57aa087a5f28b8a95ff3f113d # timeout=10
[GitLab Pipeline Status] Notifying branch build status: RUNNING jpl-containerBuildPipeline/main #8: 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: 8fadb070-21ee-4b19-b75e-78564837ed42
hudson.remoting.ProxyException: groovy.lang.MissingMethodException: No signature of method: org.eclipsefdn.jenkins.container.ContainerBuild.login() is applicable for argument types: (java.util.LinkedHashMap) values: [[credentialsId:e93ba8f9-59fc-4fe4-a9a7-9a8bd60c17d9, registry:docker.io, ...]]
Possible solutions: login(java.lang.String), login(java.lang.String, java.lang.String), login(java.lang.String, java.lang.String, boolean), 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.GeneratedMethodAccessor790.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.CollectionLiteralBlock$ContinuationImpl.dispatch(CollectionLiteralBlock.java:55)
	at com.cloudbees.groovy.cps.impl.CollectionLiteralBlock$ContinuationImpl.item(CollectionLiteralBlock.java:45)
	at jdk.internal.reflect.GeneratedMethodAccessor793.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.GeneratedMethodAccessor796.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 #8: There was a failure building this commit.
[GitLab Pipeline Status] Notified
Finished: FAILURE