Skip to content

do not ignore exit code of failing postinstall commands#1157

Merged
boegel merged 2 commits intoeasybuilders:developfrom
boegel:postinstallcmds_run_cmd
Feb 6, 2015
Merged

do not ignore exit code of failing postinstall commands#1157
boegel merged 2 commits intoeasybuilders:developfrom
boegel:postinstallcmds_run_cmd

Conversation

@boegel
Copy link
Copy Markdown
Member

@boegel boegel commented Feb 6, 2015

issue uncovered by @pescobar

@wpoely86: please review?

@wpoely86
Copy link
Copy Markdown
Member

wpoely86 commented Feb 6, 2015

looks good!

@hpcugentbot
Copy link
Copy Markdown

Refer to this link for build results (access rights to CI server needed):
https://jenkins1.ugent.be/job/easybuild-framework-pr-builder/1252/
Test PASSed.

@wpoely86
Copy link
Copy Markdown
Member

wpoely86 commented Feb 6, 2015

Fix is OK for this problem but when run in debug mode, the return code of run_cmd should always be logged. See https://github.com/hpcugent/easybuild-framework/blob/master/easybuild/tools/run.py#L379

@boegel
Copy link
Copy Markdown
Member Author

boegel commented Feb 6, 2015

@wpoely86: fixed the logging issue in run_cmd, thanks for pointing that out

@hpcugentbot
Copy link
Copy Markdown

Refer to this link for build results (access rights to CI server needed):
https://jenkins1.ugent.be/job/easybuild-framework-pr-builder/1260/
Test PASSed.

@boegel
Copy link
Copy Markdown
Member Author

boegel commented Feb 6, 2015

going in, thanks @wpoely86 for the review!

boegel added a commit that referenced this pull request Feb 6, 2015
do not ignore exit code of failing postinstall commands
@boegel boegel merged commit c565545 into easybuilders:develop Feb 6, 2015
@boegel boegel deleted the postinstallcmds_run_cmd branch February 6, 2015 23:26
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

Successfully merging this pull request may close these issues.

3 participants