Quite frequently I see PRs that have all but one test green, and one test just hanging for a long time (e.g. 19 hours). It would be useful to have the ability to restart a particular test rather than re-running all tests (by closing and reopening the PR). Does this functionality exist? IIRC on Travis-CI it did exist, but only for privileged users. Does GitHub Actions have such a thing?
Example: https://github.com/python/cpython/pull/25551 -- the Address Sanitizer run has been waiting for 19 hours.
Github actions doesn't have the ability to restart individual jobs, sadly (I've asked for this when they've done research sessions).
FWIW, I'd recommend adding a timeout to jobs (it can be set in the YML file), that way hung jobs don't hang for hours and hours.
Alex
On Tue, Jun 22, 2021 at 3:16 PM Guido van Rossum guido@python.org wrote:
Quite frequently I see PRs that have all but one test green, and one test just hanging for a long time (e.g. 19 hours). It would be useful to have the ability to restart a particular test rather than re-running all tests (by closing and reopening the PR). Does this functionality exist? IIRC on Travis-CI it did exist, but only for privileged users. Does GitHub Actions have such a thing?
Example: https://github.com/python/cpython/pull/25551 -- the Address Sanitizer run has been waiting for 19 hours.
-- --Guido van Rossum (python.org/~guido) Pronouns: he/him (why is my pronoun here?) _______________________________________________ python-committers mailing list -- python-committers@python.org To unsubscribe send an email to python-committers-leave@python.org https://mail.python.org/mailman3/lists/python-committers.python.org/ Message archived at https://mail.python.org/archives/list/python-committers@python.org/message/X... Code of Conduct: https://www.python.org/psf/codeofconduct/
That's too bad, we really should ask for this.
A timeout on a job still marks it as failed, I presume, so we still have to restart all jobs... :-(
On Tue, Jun 22, 2021 at 12:40 PM Alex Gaynor alex.gaynor@gmail.com wrote:
Github actions doesn't have the ability to restart individual jobs, sadly (I've asked for this when they've done research sessions).
FWIW, I'd recommend adding a timeout to jobs (it can be set in the YML file), that way hung jobs don't hang for hours and hours.
Alex
On Tue, Jun 22, 2021 at 3:16 PM Guido van Rossum guido@python.org wrote:
Quite frequently I see PRs that have all but one test green, and one
test just hanging for a long time (e.g. 19 hours). It would be useful to have the ability to restart a particular test rather than re-running all tests (by closing and reopening the PR). Does this functionality exist? IIRC on Travis-CI it did exist, but only for privileged users. Does GitHub Actions have such a thing?
Example: https://github.com/python/cpython/pull/25551 -- the Address
Sanitizer run has been waiting for 19 hours.
-- --Guido van Rossum (python.org/~guido) Pronouns: he/him (why is my pronoun here?) _______________________________________________ python-committers mailing list -- python-committers@python.org To unsubscribe send an email to python-committers-leave@python.org https://mail.python.org/mailman3/lists/python-committers.python.org/ Message archived at
https://mail.python.org/archives/list/python-committers@python.org/message/X...
Code of Conduct: https://www.python.org/psf/codeofconduct/
-- All that is necessary for evil to succeed is for good people to do nothing.
Yes, but at least you don't have to wait 19 hours to do so (github actions also doesn't let you restart jobs until they're all completed, or cancelled I suppose).
Alex
On Tue, Jun 22, 2021 at 3:54 PM Guido van Rossum guido@python.org wrote:
That's too bad, we really should ask for this.
A timeout on a job still marks it as failed, I presume, so we still have to restart all jobs... :-(
On Tue, Jun 22, 2021 at 12:40 PM Alex Gaynor alex.gaynor@gmail.com wrote:
Github actions doesn't have the ability to restart individual jobs, sadly (I've asked for this when they've done research sessions).
FWIW, I'd recommend adding a timeout to jobs (it can be set in the YML file), that way hung jobs don't hang for hours and hours.
Alex
On Tue, Jun 22, 2021 at 3:16 PM Guido van Rossum guido@python.org wrote:
Quite frequently I see PRs that have all but one test green, and one test just hanging for a long time (e.g. 19 hours). It would be useful to have the ability to restart a particular test rather than re-running all tests (by closing and reopening the PR). Does this functionality exist? IIRC on Travis-CI it did exist, but only for privileged users. Does GitHub Actions have such a thing?
Example: https://github.com/python/cpython/pull/25551 -- the Address Sanitizer run has been waiting for 19 hours.
-- --Guido van Rossum (python.org/~guido) Pronouns: he/him (why is my pronoun here?) _______________________________________________ python-committers mailing list -- python-committers@python.org To unsubscribe send an email to python-committers-leave@python.org https://mail.python.org/mailman3/lists/python-committers.python.org/ Message archived at https://mail.python.org/archives/list/python-committers@python.org/message/X... Code of Conduct: https://www.python.org/psf/codeofconduct/
-- All that is necessary for evil to succeed is for good people to do nothing.
-- --Guido van Rossum (python.org/~guido) Pronouns: he/him (why is my pronoun here?)
Well, the 19 hours was just that I came back to the PR after 19 hours and it was still not finished. I suspect that some message was just lost, and either it never ran or was never marked as complete. :-)
On Tue, Jun 22, 2021 at 12:56 PM Alex Gaynor alex.gaynor@gmail.com wrote:
Yes, but at least you don't have to wait 19 hours to do so (github actions also doesn't let you restart jobs until they're all completed, or cancelled I suppose).
Alex
On Tue, Jun 22, 2021 at 3:54 PM Guido van Rossum guido@python.org wrote:
That's too bad, we really should ask for this.
A timeout on a job still marks it as failed, I presume, so we still have
to restart all jobs... :-(
On Tue, Jun 22, 2021 at 12:40 PM Alex Gaynor alex.gaynor@gmail.com
wrote:
Github actions doesn't have the ability to restart individual jobs, sadly (I've asked for this when they've done research sessions).
FWIW, I'd recommend adding a timeout to jobs (it can be set in the YML file), that way hung jobs don't hang for hours and hours.
Alex
On Tue, Jun 22, 2021 at 3:16 PM Guido van Rossum guido@python.org
wrote:
Quite frequently I see PRs that have all but one test green, and one
test just hanging for a long time (e.g. 19 hours). It would be useful to have the ability to restart a particular test rather than re-running all tests (by closing and reopening the PR). Does this functionality exist? IIRC on Travis-CI it did exist, but only for privileged users. Does GitHub Actions have such a thing?
Example: https://github.com/python/cpython/pull/25551 -- the Address
Sanitizer run has been waiting for 19 hours.
-- --Guido van Rossum (python.org/~guido) Pronouns: he/him (why is my pronoun here?) _______________________________________________ python-committers mailing list -- python-committers@python.org To unsubscribe send an email to python-committers-leave@python.org https://mail.python.org/mailman3/lists/python-committers.python.org/ Message archived at
https://mail.python.org/archives/list/python-committers@python.org/message/X...
Code of Conduct: https://www.python.org/psf/codeofconduct/
-- All that is necessary for evil to succeed is for good people to do
nothing.
-- --Guido van Rossum (python.org/~guido) Pronouns: he/him (why is my pronoun here?)
-- All that is necessary for evil to succeed is for good people to do nothing.
Hi,
If someone sees a random issue on a CI, I suggest to open an issue at bugs.python.org to track it. Otherwise, slowly, the number of random failures becomes so high that it takes several "re-run all jobs" steps, and so merging a basic typo fix takes 1 hour if not longer.
Victor
On Tue, Jun 22, 2021 at 9:16 PM Guido van Rossum guido@python.org wrote:
Example: https://github.com/python/cpython/pull/25551 -- the Address Sanitizer run has been waiting for 19 hours.
From this link, I cannot find the Address Sanitizer job which hanged, even when I navigate between the 4 commits in the Checks tab. GitHub doesn't provide a simple way to navigate in the history of a PR :-( It is basically restricted to the most recent PR version. History is more or less lost each time a PR is updated.
Night gathers, and now my watch begins. It shall not end until my death.