Skip to content

Pass the default process timeout from the main process to the subprocesses that build the projects #693

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

Merged
merged 1 commit into from
Aug 10, 2022

Conversation

ahoppen
Copy link
Member

@ahoppen ahoppen commented Aug 10, 2022

If we invoke project_subbilder.build() immediately on the subprocess, it gets a fresh set of global variables and thus also uses the standard default timeout of 10 minutes, ignoring any timeout that was specified using --default-timeout. And 10 minutes is not enough to stress test a project.

…esses that build the projects

If we invoke `project_subbilder.build()` immediately on the subprocess, it gets a fresh set of global variables and thus also uses the standard default timeout of 10 minutes, ignoring any timeout that was specified using `--default-timeout`. And 10 minutes is not enough to stress test a project.
@ahoppen
Copy link
Member Author

ahoppen commented Aug 10, 2022

@swift-ci Please test

Copy link
Collaborator

@justice-adams-apple justice-adams-apple left a comment

Choose a reason for hiding this comment

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

LGTM.

The stress tester ran fine on my M1 and i didn't encounter any timeouts locally, so I apologize for the CI troubles we've seen. In any case, thanks for the quick patches 👍

@ahoppen ahoppen merged commit d7ee51e into swiftlang:main Aug 10, 2022
@ahoppen ahoppen deleted the pr/inherit-default-timeout branch August 10, 2022 19:05
@ahoppen
Copy link
Member Author

ahoppen commented Aug 10, 2022

That’s really interesting. I can’t imagine ACHNBrowserUI finishing stress testing in 10 minutes (it’s more on the order of 2 hours). But anyway, let’s hope it’s fixed now.

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