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

Error statuses not consistent #24

Open
timur-g opened this issue Apr 8, 2022 · 0 comments
Open

Error statuses not consistent #24

timur-g opened this issue Apr 8, 2022 · 0 comments

Comments

@timur-g
Copy link

timur-g commented Apr 8, 2022

I was using timeout in bibisect script where "good" was hangup CPU ( --detect-hangups ) and "bad" timeout CPU (set at 75 of CPU). Result of a script is error code.

In order to have a different error codes, a used (renamed) timeout with --confess :
tmt --confess --detect-hangups -t 75 command param

But somehow results were not consistent, Hangup and Timeout had mixed error codes od 137 and 255, instead of different ones.
HANGUP CPU 6.40 status 255
TIMEOUT CPU 75 status 137
TIMEOUT CPU 75 status 137
TIMEOUT CPU 75 status 255
TIMEOUT CPU 75 status 137
TIMEOUT CPU 75 status 255

Please explain.

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

No branches or pull requests

1 participant