-
Notifications
You must be signed in to change notification settings - Fork 752
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
[CI] Add more Windows hung test checks #16859
Conversation
cd69b01
to
cb9e183
Compare
Signed-off-by: Sarnie, Nick <nick.sarnie@intel.com>
Invoke-WebRequest -Uri "https://raw.githubusercontent.com/intel/llvm/refs/heads/sycl/devops/scripts/windows_detect_hung_tests.ps1" -OutFile "windows_detect_hung_tests.ps1" | ||
powershell.exe -File windows_detect_hung_tests.ps1 | ||
exit $LASTEXITCODE |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this should NOT result in any failure.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
couple of points here
- the single place we call it today already does
- im worried we will never catch hung tests if we dont fail because otherwise the only way to catch it would be to manually read the ci logs
@@ -47,6 +47,13 @@ jobs: | |||
environment: WindowsCILock | |||
env: ${{ fromJSON(inputs.env) }} | |||
steps: | |||
- name: Detect hung tests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same comments apply to this file.
Signed-off-by: Sarnie, Nick <nick.sarnie@intel.com>
Signed-off-by: Sarnie, Nick <nick.sarnie@intel.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Obviously we shouldn't have to do this, but these hang issues are causing serious CI issues and annoying users.
If there is a hung test detected, CI will fail after killing the process, so we should still catch the hung tests.
I can't add an action instead of downloading the script because you need to do a (cached) checkout to get the action file and that tries to reset the git repo which fails if there's locked files.