-
-
Notifications
You must be signed in to change notification settings - Fork 56
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
Pass --fail-rerun option on the main branch #387
Conversation
vstinner
commented
Sep 5, 2023
- Treat regrtest exit code 5 (EXITCODE_RERUN_FAIL) as WARNINGS, rather than FAILURE.
- Rename ONLY_MASTER_BRANCH to ONLY_MAIN_BRANCH.
- Add MAIN_BRANCH_NAME and JUNIT_FILENAME constants.
- Always pass the branch to Test() steps.
- Test steps use lists for test options, rather than strings.
- Remove unused SlowSharedUnixBuild and FreezeBuild factories.
* Treat regrtest exit code 5 (EXITCODE_RERUN_FAIL) as WARNINGS, rather than FAILURE. * Rename ONLY_MASTER_BRANCH to ONLY_MAIN_BRANCH. * Add MAIN_BRANCH_NAME and JUNIT_FILENAME constants. * Always pass the branch to Test() steps. * Test steps use lists for test options, rather than strings. * Remove unused SlowSharedUnixBuild and FreezeBuild factories.
I'm waiting for python/cpython#108896 to be merged. cc @zware |
I merged my PR. This PR is now ready for review :-) |
I restarted the server manually:
I'm now curious if the cron job will kill this process to spawn a new one. |
15 min later, it didn't:
|
I scheduled a job on FreeBSD on the main branch and it worked successfully! https://buildbot.python.org/all/#/builders/1223/builds/128
test_tarfile failure is known and unrelated |
I scheduled a Windows job: https://buildbot.python.org/all/#/builders/146/builds/6354 The
My change works as expected:
The orange color is a hint that something went wrong. Here is problem is that
This issue is tracked as: python/cpython#108987 |
For comparison, I scheduled a FreeBSD job on the 3.11 branch: https://buildbot.python.org/all/#/builders/1218/builds/35 On the 3.11 branch, tests are not run with
|