Skip to Content
0
Dec 18, 2020 at 01:10 PM

mtabuid taking indefinite time to build data.zip so large and ultimately Filesystem gets full

88 Views

Hi Experts,

I am following Piper project : [https://sap.github.io/jenkins-library/guidedtour/]
Created cx server = Properly running
Duplicated hello world git project in git repo - done
Created Jenkins File - Done
Created yaml file - Done
Created .pipeline/config.yml = Done
Created jenkins multibranch job and configure git - Done

Stage 1 - SCM : succeeded
Stage 2 - MTA build : Failing due to space problem {before build 47% remaining in Linux system} {after build failed 99% failed}
Stage 3 - Deployment : Never started

Please find attached zip for created config files: Jenkins, mta.yaml, pipelibe/config.yml

jenkinsfile.txt

mtayaml.txt

configyml.txt

Jenkins Console Log:

info mtaBuild - npm registry registry was not configured, setting it to http://cx-nexus:8081/repository/npm-proxy

info mtaBuild - running command: npm config set registry http://cx-nexus:8081/repository/npm-proxy

info mtaBuild - "mta.yaml" file found in project sources
info mtaBuild - No timestamp contained in "mta.yaml". File has not been modified.
info mtaBuild - Executing mta build call: "mbt build --mtar com.sap.piper.node.hello.world.mtar --platform CF --target ./"
info mtaBuild - running command: mbt build --mtar com.sap.piper.node.hello.world.mtar --platform CF --target ./
info mtaBuild - [2020-12-17 13:39:54] INFO Cloud MTA Build Tool version 1.0.16
info mtaBuild - [2020-12-17 13:39:54] INFO generating the "Makefile_20201217133954.mta" file...
info mtaBuild - [2020-12-17 13:39:54] INFO done
info mtaBuild - [2020-12-17 13:39:54] INFO executing the "make -f Makefile_20201217133954.mta p=CF mtar=com.sap.piper.node.hello.world.mtar strict=true mode= t="./"" command...
info mtaBuild - [2020-12-17 13:39:54] INFO validating the MTA project
info mtaBuild - [2020-12-17 13:39:54] INFO validating the MTA project
info mtaBuild - [2020-12-17 13:39:54] INFO building the "piper.node.hello.world" module...
info mtaBuild - [2020-12-17 13:39:54] INFO executing the "npm install --production" command...
info mtaBuild - ..up to date in 1.117s
info mtaBuild - [2020-12-17 13:39:56] INFO the build results of the "piper.node.hello.world" module will be packaged and saved in the ".stPiper_1_REST_persist_in_Memory_mta_build_tmp/piper.node.hello.world" folder
error mtaBuild - [2020-12-17 14:31:35] ERROR could not package the "piper.node.hello.world" module when archiving: write .stPiper_1_REST_persist_in_Memory_mta_build_tmp/piper.node.hello.world/data.zip: no space left on device
info mtaBuild - make: *** [Makefile_20201217133954.mta:37: piper.node.hello.world] Error 1
info mtaBuild - Error: could not build the MTA project: could not execute the "make -f Makefile_20201217133954.mta p=CF mtar=com.sap.piper.node.hello.world.mtar strict=true mode= t="./"" command: exit status 2
fatal mtaBuild - failed to execute mta build - running command 'mbt' failed: cmd.Run() failed: exit status 1
[Pipeline] fileExists

where we can see the logs other than jenkins when the build is running and what is taking so huge to create a Hello World Project in Piper?

Regards,

Sanjay B