Skip to content

Build step error in citgm-smoker configuration #4023

@lpinca

Description

@lpinca

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: nodejs/node#57005 (comment)
Refs: nodejs/node#57005 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions