Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

exit: null: numeric argument required #73

Open
tgolsson opened this issue Aug 30, 2023 · 0 comments
Open

exit: null: numeric argument required #73

tgolsson opened this issue Aug 30, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@tgolsson
Copy link
Member

Describe the bug

Sometimes, the command hook fails to set a valid exit code on exit, due to being unable to retrieve the job exit code. There's a check above; but it seems like the exit code has the actual value "null", i.e., not empty string.

This causes the build step to fail, when it might otherwise be recoverable (from a CI standpoint).

For example:

Warning: init container failed with exit code null, this usually indicates plugin misconfiguration or infrastructure failure
/buildkite-data/plugins/github-com-EmbarkStudios-k8s-buildkite-plugin-v1-3-1/hooks/command: line 261: exit: null: numeric argument required

To Reproduce

No known reproduction.

Expected behavior

Preferably we don't retrieve a "null" error code.

@tgolsson tgolsson added the bug Something isn't working label Aug 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant