on ‎2024 Nov 26 1:20 PM
Stage Logs (purchase-Order-Job #10 - Build)
[2024-11-26T13:04:26.902Z] [INFO] No runFirst command defined for current stage (Build). Will not execute additional commands step
[2024-11-26T13:04:27.278Z] Trying to acquire lock on [Resource: purchase-Order-Job]
[2024-11-26T13:04:27.290Z] Resource [purchase-Order-Job] did not exist. Created.
[2024-11-26T13:04:27.296Z] Lock acquired on [Resource: purchase-Order-Job]
[2024-11-26T13:04:27.353Z] Running on Jenkins in /jenkins_home/workspace/purchase-Order-Job@2
[2024-11-26T13:04:27.419Z] Unstash content: pipelineConfigAndTests
[2024-11-26T13:04:27.473Z] Unstash content: source
[2024-11-26T13:04:27.910Z] Unstash content: cloudcitransfer
[2024-11-26T13:04:28.348Z] --- Begin library step of: buildExecute ---
[2024-11-26T13:04:28.897Z] --- Begin library step of: mtaBuild ---
[2024-11-26T13:04:29.173Z] + '[' -x ./piper ]
[2024-11-26T13:04:29.188Z] Found piper binary in the workspace - skipping unstash
[2024-11-26T13:04:29.209Z] Unstash content: pipelineConfigAndTests
[2024-11-26T13:04:29.276Z] Step params [:]
[2024-11-26T13:04:29.323Z] PIPER_parametersJSON: {}
[2024-11-26T13:04:29.596Z] + ./piper getConfig --contextConfig --stepMetadata .pipeline/tmp/metadata/mtaBuild.yaml --defaultConfig .pipeline/.pipeline/cicdCommonBaseDefaults.yml,.pipeline/.pipeline/cicdPipelineSpecificDefaults.yml --ignoreCustomDefaults
[2024-11-26T13:04:29.596Z] time="2024-11-26T13:04:29Z" level=info msg="Version 364238f1541540bb2e135b56a87ad9962acd649c" library=SAP/jenkins-library
[2024-11-26T13:04:29.597Z] time="2024-11-26T13:04:29Z" level=info msg="Printing stepName " library=SAP/jenkins-library
[2024-11-26T13:04:29.632Z] Context Config: [contextConfig:true, defaultConfig:[.pipeline/.pipeline/cicdCommonBaseDefaults.yml, .pipeline/.pipeline/cicdPipelineSpecificDefaults.yml], dockerImage:devxci/mbtci-java17-node18@sha256:b88099d4bb2037317c91e2f882eb28ee4d88f073d0587799a6ae2c341833468c, ignoreCustomDefaults:true, stepMetadata:.pipeline/tmp/metadata/mtaBuild.yaml]
[2024-11-26T13:04:29.651Z] [INFO] executing pipeline step 'mtaBuild' with docker image 'devxci/mbtci-java17-node18@sha256:b88099d4bb2037317c91e2f882eb28ee4d88f073d0587799a6ae2c341833468c'
[2024-11-26T13:04:30.130Z] --- Begin library step of: dockerExecute ---
[2024-11-26T13:04:30.806Z] --- Begin library step of: dockerExecuteOnKubernetes ---
[2024-11-26T13:04:30.953Z] Stash content: workspace-8f9bb62f-00fe-4689-87ab-98393e946370 (includes: **/*, excludes: nohup.out, useDefaultExcludes: true, allowEmpty: true)
[2024-11-26T13:04:34.095Z] Stashed 84 file(s)
[2024-11-26T13:04:36.020Z] Created Pod: kubernetes steward-run-vki8s-main-lkw4l/dynamic-agent-8f9bb62f-00fe-4689-87ab-98393e946370-4mc02-41m69
[2024-11-26T13:04:38.601Z] Agent dynamic-agent-8f9bb62f-00fe-4689-87ab-98393e946370-4mc02-41m69 is provisioned from template dynamic-agent-8f9bb62f-00fe-4689-87ab-98393e946370-4mc02
[2024-11-26T13:04:38.610Z] Running on dynamic-agent-8f9bb62f-00fe-4689-87ab-98393e946370-4mc02-41m69 in /home/jenkins/agent/workspace/purchase-Order-Job
[2024-11-26T13:04:38.654Z] ContainerConfig: [name:container-exec]
[2024-11-26T13:04:38.705Z] Unstash content: workspace-8f9bb62f-00fe-4689-87ab-98393e946370
[2024-11-26T13:04:40.088Z] invalidate stash workspace-8f9bb62f-00fe-4689-87ab-98393e946370
[2024-11-26T13:04:40.113Z] Stash content: workspace-8f9bb62f-00fe-4689-87ab-98393e946370 (includes: **/*.*, excludes: **/*, useDefaultExcludes: true, allowEmpty: true)
[2024-11-26T13:04:40.136Z] Warning: overwriting stash ‘workspace-8f9bb62f-00fe-4689-87ab-98393e946370’
[2024-11-26T13:04:40.298Z] Stashed 0 file(s)
[2024-11-26T13:04:40.315Z] [INFO][dockerExecute] Executing inside a Kubernetes Pod. Docker image: devxci/mbtci-java17-node18@sha256:b88099d4bb2037317c91e2f882eb28ee4d88f073d0587799a6ae2c341833468c
[2024-11-26T13:04:41.067Z] + ./piper writePipelineEnv
[2024-11-26T13:04:41.067Z] time="2024-11-26T13:04:40Z" level=info msg="Version 364238f1541540bb2e135b56a87ad9962acd649c" library=SAP/jenkins-library
[2024-11-26T13:04:41.133Z] Unstash content: pipelineStepReports
[2024-11-26T13:04:41.170Z] Unstash failed: pipelineStepReports (No such saved stash ‘pipelineStepReports’)
[2024-11-26T13:04:41.841Z] + ./piper mtaBuild --defaultConfig .pipeline/.pipeline/cicdCommonBaseDefaults.yml,.pipeline/.pipeline/cicdPipelineSpecificDefaults.yml --ignoreCustomDefaults
[2024-11-26T13:04:41.841Z] time="2024-11-26T13:04:41Z" level=info msg="Version 364238f1541540bb2e135b56a87ad9962acd649c" library=SAP/jenkins-library
[2024-11-26T13:04:41.841Z] info mtaBuild - running command: npm config get registry -ws=false -iwr
[2024-11-26T13:04:41.841Z] info mtaBuild - Discovered pre-configured npm registry registry with value https://registry.npmjs.org/
[2024-11-26T13:04:41.841Z]
[2024-11-26T13:04:41.841Z] info mtaBuild - "mta.yaml" file found in project sources
[2024-11-26T13:04:41.842Z] info mtaBuild - No timestamp contained in "mta.yaml". File has not been modified.
[2024-11-26T13:04:41.842Z] info mtaBuild - Executing mta build call: "mbt build --mtar mycapm.mtar --platform CF --source ./ --target /home/jenkins/agent/workspace/purchase-Order-Job"
[2024-11-26T13:04:41.842Z] info mtaBuild - running command: mbt build --mtar mycapm.mtar --platform CF --source ./ --target /home/jenkins/agent/workspace/purchase-Order-Job
[2024-11-26T13:04:41.844Z] info mtaBuild - [2024-11-26 13:04:41] INFO Cloud MTA Build Tool version 1.2.31
[2024-11-26T13:04:41.844Z] info mtaBuild - [2024-11-26 13:04:41] INFO generating the "Makefile_20241126130441.mta" file...
[2024-11-26T13:04:41.844Z] info mtaBuild - [2024-11-26 13:04:41] INFO done
[2024-11-26T13:04:41.844Z] info mtaBuild - [2024-11-26 13:04:41] INFO executing the "make -f Makefile_20241126130441.mta p=CF mtar=mycapm.mtar strict=true mode= t=\"/home/jenkins/agent/workspace/purchase-Order-Job\"" command...
[2024-11-26T13:04:41.844Z] info mtaBuild - [2024-11-26 13:04:41] INFO validating the MTA project
[2024-11-26T13:04:41.844Z] info mtaBuild - [2024-11-26 13:04:41] INFO running the "before-all" build...
[2024-11-26T13:04:41.844Z] info mtaBuild - [2024-11-26 13:04:41] INFO executing the "npm install" command...
[2024-11-26T13:04:48.389Z] info mtaBuild - .....
[2024-11-26T13:04:48.389Z] info mtaBuild - added 182 packages, and audited 408 packages in 6s
[2024-11-26T13:04:48.389Z] info mtaBuild -
[2024-11-26T13:04:48.389Z] info mtaBuild - 44 packages are looking for funding
[2024-11-26T13:04:48.389Z] info mtaBuild - run `npm fund` for details
[2024-11-26T13:04:48.389Z] info mtaBuild -
[2024-11-26T13:04:48.389Z] info mtaBuild - found 0 vulnerabilities
[2024-11-26T13:04:48.390Z] info mtaBuild - [2024-11-26 13:04:47] INFO executing the "npx cds build --production" command...
[2024-11-26T13:04:48.645Z] info mtaBuild - npm error could not determine executable to run
[2024-11-26T13:04:48.645Z] info mtaBuild - npm error A complete log of this run can be found in: /home/mta/.npm/_logs/2024-11-26T13_04_47_812Z-debug-0.log
[2024-11-26T13:04:48.645Z] error mtaBuild - [2024-11-26 13:04:48] ERROR the "before-all"" build failed: could not execute the "npx cds build --production" command: exit status 1
[2024-11-26T13:04:48.646Z] info mtaBuild - make: *** [Makefile_20241126130441.mta:28: pre_build] Error 1
[2024-11-26T13:04:48.646Z] info mtaBuild - Error: could not build the MTA project: could not execute the "make -f Makefile_20241126130441.mta p=CF mtar=mycapm.mtar strict=true mode= t=\"/home/jenkins/agent/workspace/purchase-Order-Job\"" command: exit status 2
[2024-11-26T13:04:48.646Z] error mtaBuild - [2024-11-26 13:04:48] ERROR could not build the MTA project: could not execute the "make -f Makefile_20241126130441.mta p=CF mtar=mycapm.mtar strict=true mode= t=\"/home/jenkins/agent/workspace/purchase-Order-Job\"" command: exit status 2
[2024-11-26T13:04:48.646Z] info mtaBuild - fatal error: errorDetails{"category":"build","correlationId":"n/a","error":"running command 'mbt' failed: cmd.Run() failed: exit status 1","library":"SAP/jenkins-library","message":"failed to execute mta build","result":"failure","stepName":"mtaBuild","time":"2024-11-26T13:04:48.576854495Z"}
[2024-11-26T13:04:48.646Z] fatal mtaBuild - failed to execute mta build - running command 'mbt' failed: cmd.Run() failed: exit status 1
[2024-11-26T13:04:48.646Z] info mtaBuild - persisting reports to GCS is disabled, because gcsBucketId is empty
[2024-11-26T13:04:48.646Z] info mtaBuild - Step telemetry data:{"StepStartTime":"2024-11-26 13:04:41.643082318 +0000 UTC","PipelineURLHash":"50f013532a9770a2c2cfdc38b7581dd01df69b70","BuildURLHash":"50f013532a9770a2c2cfdc38b7581dd01df69b70","StageName":"Build","StepName":"mtaBuild","ErrorCode":"1","StepDuration":"6934","ErrorCategory":"build","CorrelationID":"n/a","PiperCommitHash":"364238f1541540bb2e135b56a87ad9962acd649c","ErrorDetail":{"category":"build","correlationId":"n/a","error":"running command 'mbt' failed: cmd.Run() failed: exit status 1","library":"SAP/jenkins-library","message":"failed to execute mta build","result":"failure","stepName":"mtaBuild","time":"2024-11-26T13:04:48.576854495Z"}}
[2024-11-26T13:04:49.439Z] + ./piper readPipelineEnv
[2024-11-26T13:04:49.439Z] time="2024-11-26T13:04:49Z" level=info msg="Version 364238f1541540bb2e135b56a87ad9962acd649c" library=SAP/jenkins-library
[2024-11-26T13:04:49.493Z] Transfer Influx data
[2024-11-26T13:04:49.533Z] Stash content: pipelineStepReports (includes: .pipeline/stepReports/**, excludes: , useDefaultExcludes: true, allowEmpty: true)
[2024-11-26T13:04:49.560Z] Stashed 0 file(s)
[2024-11-26T13:04:50.390Z] Stash content: container-8f9bb62f-00fe-4689-87ab-98393e946370 (includes: **/*, excludes: **/node_modules/**,nohup.out,.git/**, useDefaultExcludes: true, allowEmpty: true)
[2024-11-26T13:04:54.317Z] Stashed 92 file(s)
[2024-11-26T13:04:54.465Z] Unstash content: container-8f9bb62f-00fe-4689-87ab-98393e946370
[2024-11-26T13:04:55.303Z] invalidate stash container-8f9bb62f-00fe-4689-87ab-98393e946370
[2024-11-26T13:04:55.363Z] Stash content: container-8f9bb62f-00fe-4689-87ab-98393e946370 (includes: **/*.*, excludes: **/*, useDefaultExcludes: true, allowEmpty: true)
[2024-11-26T13:04:55.390Z] Warning: overwriting stash ‘container-8f9bb62f-00fe-4689-87ab-98393e946370’
[2024-11-26T13:04:55.398Z] Stashed 0 file(s)
[2024-11-26T13:04:55.481Z] ----------------------------------------------------------
[2024-11-26T13:04:55.482Z] --- An error occurred in the library step: dockerExecuteOnKubernetes
[2024-11-26T13:04:55.482Z] ----------------------------------------------------------
[2024-11-26T13:04:55.482Z]
[2024-11-26T13:04:55.482Z] The following parameters were available to the step:
[2024-11-26T13:04:55.482Z] ***
[2024-11-26T13:04:55.482Z] *** to show step parameters, set verbose:true in general pipeline configuration
[2024-11-26T13:04:55.482Z] *** WARNING: this may reveal sensitive information. ***
[2024-11-26T13:04:55.482Z] ***
[2024-11-26T13:04:55.483Z]
[2024-11-26T13:04:55.483Z] The error was:
[2024-11-26T13:04:55.483Z] ***
[2024-11-26T13:04:55.483Z] hudson.AbortException: [mtaBuild] Step execution failed (category: build). Error: running command 'mbt' failed: cmd.Run() failed: exit status 1
[2024-11-26T13:04:55.483Z] ***
[2024-11-26T13:04:55.483Z]
[2024-11-26T13:04:55.483Z] Further information:
[2024-11-26T13:04:55.483Z] * Documentation of library step dockerExecuteOnKubernetes: https://sap.github.io/jenkins-library/steps/dockerExecuteOnKubernetes/
[2024-11-26T13:04:55.483Z] * Source code of library step dockerExecuteOnKubernetes: https://github.com/SAP/jenkins-library/blob/master/vars/dockerExecuteOnKubernetes.groovy
[2024-11-26T13:04:55.483Z] * Library documentation: https://sap.github.io/jenkins-library/
[2024-11-26T13:04:55.483Z] * Library repository: https://github.com/SAP/jenkins-library/
[2024-11-26T13:04:55.483Z]
[2024-11-26T13:04:55.484Z] ----------------------------------------------------------
[2024-11-26T13:04:55.484Z] --- End library step of: dockerExecuteOnKubernetes ---
[2024-11-26T13:04:55.540Z] ----------------------------------------------------------
[2024-11-26T13:04:55.540Z] --- An error occurred in the library step: dockerExecute
[2024-11-26T13:04:55.540Z] ----------------------------------------------------------
[2024-11-26T13:04:55.540Z]
[2024-11-26T13:04:55.540Z] The following parameters were available to the step:
[2024-11-26T13:04:55.540Z] ***
[2024-11-26T13:04:55.540Z] *** to show step parameters, set verbose:true in general pipeline configuration
[2024-11-26T13:04:55.540Z] *** WARNING: this may reveal sensitive information. ***
[2024-11-26T13:04:55.541Z] ***
[2024-11-26T13:04:55.541Z]
[2024-11-26T13:04:55.541Z] The error was:
[2024-11-26T13:04:55.541Z] ***
[2024-11-26T13:04:55.541Z] hudson.AbortException: [mtaBuild] Step execution failed (category: build). Error: running command 'mbt' failed: cmd.Run() failed: exit status 1
[2024-11-26T13:04:55.541Z] ***
[2024-11-26T13:04:55.541Z]
[2024-11-26T13:04:55.541Z] Further information:
[2024-11-26T13:04:55.541Z] * Documentation of library step dockerExecute: https://sap.github.io/jenkins-library/steps/dockerExecute/
[2024-11-26T13:04:55.541Z] * Source code of library step dockerExecute: https://github.com/SAP/jenkins-library/blob/master/vars/dockerExecute.groovy
[2024-11-26T13:04:55.541Z] * Library documentation: https://sap.github.io/jenkins-library/
[2024-11-26T13:04:55.541Z] * Library repository: https://github.com/SAP/jenkins-library/
[2024-11-26T13:04:55.541Z]
[2024-11-26T13:04:55.541Z] ----------------------------------------------------------
[2024-11-26T13:04:55.541Z] --- End library step of: dockerExecute ---
[2024-11-26T13:04:55.639Z] ----------------------------------------------------------
[2024-11-26T13:04:55.639Z] --- An error occurred in the library step: mtaBuild
[2024-11-26T13:04:55.639Z] ----------------------------------------------------------
[2024-11-26T13:04:55.639Z]
[2024-11-26T13:04:55.639Z] The following parameters were available to the step:
[2024-11-26T13:04:55.639Z] ***
[2024-11-26T13:04:55.639Z] *** to show step parameters, set verbose:true in general pipeline configuration
[2024-11-26T13:04:55.640Z] *** WARNING: this may reveal sensitive information. ***
[2024-11-26T13:04:55.640Z] ***
[2024-11-26T13:04:55.640Z]
[2024-11-26T13:04:55.640Z] The error was:
[2024-11-26T13:04:55.640Z] ***
[2024-11-26T13:04:55.640Z] hudson.AbortException: [mtaBuild] Step execution failed (category: build). Error: running command 'mbt' failed: cmd.Run() failed: exit status 1
[2024-11-26T13:04:55.640Z] ***
[2024-11-26T13:04:55.640Z]
[2024-11-26T13:04:55.640Z] Further information:
[2024-11-26T13:04:55.640Z] * Documentation of library step mtaBuild: https://sap.github.io/jenkins-library/steps/mtaBuild/
[2024-11-26T13:04:55.640Z] * Source code of library step mtaBuild: https://github.com/SAP/jenkins-library/blob/master/vars/mtaBuild.groovy
[2024-11-26T13:04:55.640Z] * Library documentation: https://sap.github.io/jenkins-library/
[2024-11-26T13:04:55.640Z] * Library repository: https://github.com/SAP/jenkins-library/
[2024-11-26T13:04:55.641Z]
[2024-11-26T13:04:55.641Z] ----------------------------------------------------------
[2024-11-26T13:04:55.641Z] --- End library step of: mtaBuild ---
[2024-11-26T13:04:55.737Z] ----------------------------------------------------------
[2024-11-26T13:04:55.737Z] --- An error occurred in the library step: buildExecute
[2024-11-26T13:04:55.738Z] ----------------------------------------------------------
[2024-11-26T13:04:55.738Z]
[2024-11-26T13:04:55.738Z] The following parameters were available to the step:
[2024-11-26T13:04:55.738Z] ***
[2024-11-26T13:04:55.738Z] *** to show step parameters, set verbose:true in general pipeline configuration
[2024-11-26T13:04:55.738Z] *** WARNING: this may reveal sensitive information. ***
[2024-11-26T13:04:55.738Z] ***
[2024-11-26T13:04:55.738Z]
[2024-11-26T13:04:55.738Z] The error was:
[2024-11-26T13:04:55.738Z] ***
[2024-11-26T13:04:55.738Z] hudson.AbortException: [mtaBuild] Step execution failed (category: build). Error: running command 'mbt' failed: cmd.Run() failed: exit status 1
[2024-11-26T13:04:55.738Z] ***
[2024-11-26T13:04:55.739Z]
[2024-11-26T13:04:55.739Z] Further information:
[2024-11-26T13:04:55.739Z] * Documentation of library step buildExecute: https://sap.github.io/jenkins-library/steps/buildExecute/
[2024-11-26T13:04:55.739Z] * Source code of library step buildExecute: https://github.com/SAP/jenkins-library/blob/master/vars/buildExecute.groovy
[2024-11-26T13:04:55.739Z] * Library documentation: https://sap.github.io/jenkins-library/
[2024-11-26T13:04:55.739Z] * Library repository: https://github.com/SAP/jenkins-library/
[2024-11-26T13:04:55.739Z]
[2024-11-26T13:04:55.739Z] ----------------------------------------------------------
[2024-11-26T13:04:55.739Z] --- End library step of: buildExecute ---
[2024-11-26T13:04:55.767Z] Stash content: cloudcitransfer (includes: cloudcitransfer/**/*, excludes: cloudcitransfer/**/node_modules/**)
[2024-11-26T13:04:55.794Z] Warning: overwriting stash ‘cloudcitransfer’
[2024-11-26T13:04:55.795Z] Stashed 2 file(s)
[2024-11-26T13:04:55.892Z] Lock released on resource [Resource: purchase-Order-Job]Please could you help!
Best regards,
Mohammed BOUSALEM
Request clarification before answering.
| User | Count |
|---|---|
| 7 | |
| 6 | |
| 6 | |
| 5 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 3 | |
| 3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.