build
build copied to clipboard
Build step error in `citgm-smoker` configuration
The last build step in https://ci.nodejs.org/view/Node.js-citgm/job/citgm-smoker/configure generates the following error
+ find /home/iojs/tmp -mtime +3
+ xargs rm -rf
+ temp=/home/iojs/tmp/citgm_tmp
+ rm -rf '/home/iojs/tmp/citgm_tmp/*'
+ mkdir /home/iojs/tmp/citgm_tmp
mkdir: cannot create directory ‘/home/iojs/tmp/citgm_tmp’: No such file or directory
+ true
I think the issue is that the /home/iojs/tmp directory itself is deleted when the find /home/iojs/tmp -mtime +3 | xargs rm -rf command is executed. The problem then is that os.tmpdir() returns a directory that does not exists.
A quick fix might be to change find /home/iojs/tmp -mtime +3 | xargs rm -rf to find /home/iojs/tmp/* -mtime +3 | xargs rm -rf
Refs: https://github.com/nodejs/node/pull/57005#issuecomment-2655694578 Refs: https://github.com/nodejs/node/pull/57005#issuecomment-2665385631