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

scriptworker_client: properly handle signals in run_command #1030

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jcristau
Copy link
Contributor

No description provided.

@jcristau jcristau requested a review from a team June 20, 2024 08:19
Copy link
Contributor

@bhearsum bhearsum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If I understand correctly, this PR suggests that the combination of #324 + mozilla-releng/scriptworker#480 didn't ever work correctly in the first place?

@@ -171,8 +171,8 @@ def test_get_log_filehandle(path, tmpdir):
True,
),
(
["bash", "-c", ">&2 echo bar && echo foo && exit -11"],
245,
["bash", "-c", ">&2 echo bar && echo foo && kill -11 $$"],
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Clearly this test was wrong originally. #324 also cites some real world testing, which might be good to do if you haven't already.

@jcristau
Copy link
Contributor Author

If I understand correctly, this PR suggests that the combination of #324 + mozilla-releng/scriptworker#480 didn't ever work correctly in the first place?

I think so, yes. I just resurrected this commit that I had sitting around locally since November, around the time of mozilla-releng/scriptworker#626 / https://bugzilla.mozilla.org/show_bug.cgi?id=1864413 which is also relevant for this.

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.

2 participants