Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

whitesourceExecuteScan failed to download docker image: rename ./.piper-download- #4758

Closed
radianer opened this issue Jan 8, 2024 · 2 comments

Comments

@radianer
Copy link
Contributor

radianer commented Jan 8, 2024

Since the last change 4755
We get this errors in the whitesourceExecuteScan:

[2024-01-08T07:14:57.165Z] ----------------------------------------------------------
[2024-01-08T07:14:57.165Z] --- An error occurred in the library step: whitesourceContainerScan
[2024-01-08T07:14:57.165Z] ----------------------------------------------------------
[2024-01-08T07:14:57.165Z] 
[2024-01-08T07:14:57.165Z] The following parameters were available to the step:
[2024-01-08T07:14:57.165Z] ***
[2024-01-08T07:14:57.165Z] [script:WorkflowScript@1b1aeb54, verbose:true, gateIds:[whitesource-container-scan-gate], gitUrl:https://github.wdf.sap.corp/delphi/csi-di-cluster-operator.git, gitCommit:b58c6b6cdab1f585e8cc6924f1464809cca001f7, changeId:, changeTarget:master, gitBranch:master, groupId:foo, artifactId:bar, artifactVersion:1.0-1590.b58c6b6c, complianceServiceJobId:30c7cbb5-4e96-48d7-b032-a9624a456102, runtimeParameters:{}]
[2024-01-08T07:14:57.165Z] ***
[2024-01-08T07:14:57.165Z] 
[2024-01-08T07:14:57.165Z] The error was:
[2024-01-08T07:14:57.165Z] ***
[2024-01-08T07:14:57.165Z] hudson.AbortException: [whitesourceExecuteScan] Step execution failed (category: undefined). Error: failed to execute WhiteSource scan: failed to download docker image: failed to download Docker image foo/bar:1.0-1590.b58c6b6c: failed to download docker image: rename ./.piper-download-2449611845 foo/bar:1.0-1590.b58c6b6c.tar: no such file or directory
[2024-01-08T07:14:57.165Z] ***
[2024-01-08T07:14:57.165Z] 
[2024-01-08T07:14:57.165Z] Further information:
[2024-01-08T07:14:57.165Z] * Documentation of library step whitesourceContainerScan: https://github.wdf.sap.corp/pages/ContinuousDelivery/piper-doc/steps/whitesourceContainerScan/
[2024-01-08T07:14:57.165Z] * Source code of library step whitesourceContainerScan: https://github.com/SAP/jenkins-library/blob/master/vars/whitesourceContainerScan.groovy
[2024-01-08T07:14:57.165Z] * Library documentation: https://github.wdf.sap.corp/pages/ContinuousDelivery/piper-doc/
[2024-01-08T07:14:57.165Z] * Library repository: https://github.com/SAP/jenkins-library/
[2024-01-08T07:14:57.165Z] 
[2024-01-08T07:14:57.165Z] ----------------------------------------------------------
[2024-01-08T07:14:57.165Z] --- End library step of: whitesourceContainerScan ---
[2024-01-08T07:14:57.183Z] [Pipeline] echo
[2024-01-08T07:14:57.186Z] Microdelivery ERROR: Caught exception hudson.AbortException: [whitesourceExecuteScan] Step execution failed (category: undefined). Error: failed to execute WhiteSource scan: failed to download docker image: failed to download Docker image foo/bar:1.0-1590.b58c6b6c: failed to download docker image: rename ./.piper-download-2449611845 foo/bar:1.0-1590.b58c6b6c.tar: no such file or directory
[2024-01-08T07:14:57.186Z] hudson.AbortException: [whitesourceExecuteScan] Step execution failed (category: undefined). Error: failed to execute WhiteSource scan: failed to download docker image: failed to download Docker image foo/bar:1.0-1590.b58c6b6c: failed to download docker image: rename ./.piper-download-2449611845 foo/bar:1.0-1590.b58c6b6c.tar: no such file or directory
[2024-01-08T07:14:57.186Z] 	at org.jenkinsci.plugins.workflow.steps.ErrorStep$Execution.run(ErrorStep.java:64)
[2024-01-08T07:14:57.186Z] 	at org.jenkinsci.plugins.workflow.steps.ErrorStep$Execution.run(ErrorStep.java:51)
[2024-01-08T07:14:57.186Z] 	at org.jenkinsci.plugins.workflow.steps.SynchronousStepExecution.start(SynchronousStepExecution.java:37)
[2024-01-08T07:14:57.186Z] 	at org.jenkinsci.plugins.workflow.cps.DSL.invokeStep(DSL.java:323)
[2024-01-08T07:14:57.186Z] 	at org.jenkinsci.plugins.workflow.cps.DSL.invokeMethod(DSL.java:196)
[2024-01-08T07:14:57.186Z] 	at org.jenkinsci.plugins.workflow.cps.CpsScript.invokeMethod(CpsScript.java:124)
[2024-01-08T07:14:57.186Z] 	at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:47)
[2024-01-08T07:14:57.186Z] 	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
[2024-01-08T07:14:57.186Z] 	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
[2024-01-08T07:14:57.186Z] 	at com.cloudbees.groovy.cps.sandbox.DefaultInvoker.methodCall(DefaultInvoker.java:20)
[2024-01-08T07:14:57.186Z] 	at org.jenkinsci.plugins.workflow.cps.LoggingInvoker.methodCall(LoggingInvoker.java:105)
[2024-01-08T07:14:57.186Z] 	at piperExecuteBin.handleErrorDetails(piperExecuteBin.groovy:285)
[2024-01-08T07:14:57.186Z] 	at piperExecuteBin.call(piperExecuteBin.groovy:73)
[2024-01-08T07:14:57.186Z] 	at piperExecuteBin.dockerWrapper(piperExecuteBin.groovy:169)
[2024-01-08T07:14:57.186Z] 	at piperExecuteBin.call(piperExecuteBin.groovy:72)
[2024-01-08T07:14:57.186Z] 	at ___cps.transform___(Native Method)
[2024-01-08T07:14:57.186Z] 	at com.cloudbees.groovy.cps.impl.ContinuationGroup.methodCall(ContinuationGroup.java:90)
[2024-01-08T07:14:57.186Z] 	at com.cloudbees.groovy.cps.impl.FunctionCallBlock$ContinuationImpl.dispatchOrArg(FunctionCallBlock.java:116)
[2024-01-08T07:14:57.186Z] 	at com.cloudbees.groovy.cps.impl.FunctionCallBlock$ContinuationImpl.fixArg(FunctionCallBlock.java:85)
[2024-01-08T07:14:57.186Z] 	at jdk.internal.reflect.GeneratedMethodAccessor481.invoke(Unknown Source)
[2024-01-08T07:14:57.186Z] 	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[2024-01-08T07:14:57.186Z] 	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
[2024-01-08T07:14:57.186Z] 	at com.cloudbees.groovy.cps.impl.ContinuationPtr$ContinuationImpl.receive(ContinuationPtr.java:72)
[2024-01-08T07:14:57.186Z] 	at com.cloudbees.groovy.cps.impl.FunctionCallBlock$ContinuationImpl.dispatchOrArg(FunctionCallBlock.java:110)
[2024-01-08T07:14:57.186Z] 	at com.cloudbees.groovy.cps.impl.FunctionCallBlock$ContinuationImpl.fixArg(FunctionCallBlock.java:85)
[2024-01-08T07:14:57.186Z] 	at jdk.internal.reflect.GeneratedMethodAccessor481.invoke(Unknown Source)
[2024-01-08T07:14:57.186Z] 	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[2024-01-08T07:14:57.186Z] 	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
[2024-01-08T07:14:57.186Z] 	at com.cloudbees.groovy.cps.impl.ContinuationPtr$ContinuationImpl.receive(ContinuationPtr.java:72)
[2024-01-08T07:14:57.186Z] 	at com.cloudbees.groovy.cps.impl.CastBlock$ContinuationImpl.cast(CastBlock.java:47)
[2024-01-08T07:14:57.186Z] 	at jdk.internal.reflect.GeneratedMethodAccessor486.invoke(Unknown Source)
[2024-01-08T07:14:57.186Z] 	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[2024-01-08T07:14:57.186Z] 	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
[2024-01-08T07:14:57.186Z] 	at com.cloudbees.groovy.cps.impl.ContinuationPtr$ContinuationImpl.receive(ContinuationPtr.java:72)
[2024-01-08T07:14:57.186Z] 	at com.cloudbees.groovy.cps.impl.CollectionLiteralBlock$ContinuationImpl.dispatch(CollectionLiteralBlock.java:55)
[2024-01-08T07:14:57.186Z] 	at com.cloudbees.groovy.cps.impl.CollectionLiteralBlock$ContinuationImpl.item(CollectionLiteralBlock.java:45)
[2024-01-08T07:14:57.186Z] 	at jdk.internal.reflect.GeneratedMethodAccessor478.invoke(Unknown Source)
[2024-01-08T07:14:57.186Z] 	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[2024-01-08T07:14:57.186Z] 	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
[2024-01-08T07:14:57.186Z] 	at com.cloudbees.groovy.cps.impl.ContinuationPtr$ContinuationImpl.receive(ContinuationPtr.java:72)
[2024-01-08T07:14:57.186Z] 	at com.cloudbees.groovy.cps.impl.ConstantBlock.eval(ConstantBlock.java:21)
[2024-01-08T07:14:57.186Z] 	at com.cloudbees.groovy.cps.Next.step(Next.java:83)
[2024-01-08T07:14:57.186Z] 	at com.cloudbees.groovy.cps.Continuable$1.call(Continuable.java:152)
[2024-01-08T07:14:57.186Z] 	at com.cloudbees.groovy.cps.Continuable$1.call(Continuable.java:146)
[2024-01-08T07:14:57.186Z] 	at org.codehaus.groovy.runtime.GroovyCategorySupport$ThreadCategoryInfo.use(GroovyCategorySupport.java:136)
[2024-01-08T07:14:57.186Z] 	at org.codehaus.groovy.runtime.GroovyCategorySupport.use(GroovyCategorySupport.java:275)
[2024-01-08T07:14:57.186Z] 	at com.cloudbees.groovy.cps.Continuable.run0(Continuable.java:146)
[2024-01-08T07:14:57.186Z] 	at org.jenkinsci.plugins.workflow.cps.SandboxContinuable.access$001(SandboxContinuable.java:18)
[2024-01-08T07:14:57.186Z] 	at org.jenkinsci.plugins.workflow.cps.SandboxContinuable.run0(SandboxContinuable.java:51)
[2024-01-08T07:14:57.186Z] 	at org.jenkinsci.plugins.workflow.cps.CpsThread.runNextChunk(CpsThread.java:187)
[2024-01-08T07:14:57.186Z] 	at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.run(CpsThreadGroup.java:423)
[2024-01-08T07:14:57.186Z] 	at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:331)
[2024-01-08T07:14:57.186Z] 	at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:295)
[2024-01-08T07:14:57.186Z] 	at org.jenkinsci.plugins.workflow.cps.CpsVmExecutorService$2.call(CpsVmExecutorService.java:97)
[2024-01-08T07:14:57.186Z] 	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
[2024-01-08T07:14:57.186Z] 	at hudson.remoting.SingleLaneExecutorService$1.run(SingleLaneExecutorService.java:139)
[2024-01-08T07:14:57.186Z] 	at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28)
[2024-01-08T07:14:57.186Z] 	at jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:68)
[2024-01-08T07:14:57.186Z] 	at jenkins.util.ErrorLoggingExecutorService.lambda$wrap$0(ErrorLoggingExecutorService.java:51)
[2024-01-08T07:14:57.186Z] 	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
[2024-01-08T07:14:57.186Z] 	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
[2024-01-08T07:14:57.186Z] 	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
[2024-01-08T07:14:57.186Z] 	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
[2024-01-08T07:14:57.186Z] 	at java.base/java.lang.Thread.run(Thread.java:833)
[2024-01-08T07:14:57.186Z] 	Suppressed: org.jenkinsci.plugins.workflow.actions.ErrorAction$ErrorId: 49bfecf8-5a05-4990-807d-d12238dbda7f
@dimaste
Copy link
Member

dimaste commented Jan 8, 2024

Hi Could you please provide me your config/previous pipeline runs privately?

@radianer
Copy link
Contributor Author

fixed with PR: #4759

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants