Skip to content

Conversation

@mikeash
Copy link
Contributor

@mikeash mikeash commented Aug 29, 2024

Print an error message and exit with a non-zero code when we hit the timeout. This makes it clear when a test fails due to a timeout. On Darwin, run sample on the target process first, so that the failure includes some information about what the test was doing when the timeout occurred.

This also temporarily increases the timeout for the large_nested_array.swift.gyb test, which hits this new louder timeout in CI, while we investigate.

@mikeash mikeash requested a review from eeckstein as a code owner August 29, 2024 13:05
@mikeash
Copy link
Contributor Author

mikeash commented Aug 29, 2024

@swift-ci please test

Copy link
Contributor

@eeckstein eeckstein left a comment

Choose a reason for hiding this comment

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

thanks!

Print an error message and exit with a non-zero code when we hit the timeout. This makes it clear when a test fails due to a timeout. On Darwin, run `sample` on the target process first, so that the failure includes some information about what the test was doing when the timeout occurred.
…400 seconds while we investigate timeouts in CI.
@mikeash mikeash force-pushed the test-timeout-error-message-2 branch from 4500e88 to eead3fa Compare August 29, 2024 13:09
@mikeash
Copy link
Contributor Author

mikeash commented Aug 29, 2024

@swift-ci please test

@mikeash mikeash enabled auto-merge August 29, 2024 13:10
@mikeash mikeash merged commit c32487a into main Aug 29, 2024
@mikeash mikeash deleted the test-timeout-error-message-2 branch August 29, 2024 18:50
eeckstein added a commit to eeckstein/swift that referenced this pull request Sep 3, 2024
…b again

It turns out that some CI jobs need 5-6 minutes for this test. To give some slack, use a timeout of 10 minutes.

This is a follow-up of swiftlang#76146
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