Skip to content
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

Travis CI: new job created on a GitHub PR if a build is restarted #374

Closed
vstinner opened this issue Sep 8, 2020 · 3 comments
Closed

Travis CI: new job created on a GitHub PR if a build is restarted #374

vstinner opened this issue Sep 8, 2020 · 3 comments

Comments

@vstinner
Copy link
Member

vstinner commented Sep 8, 2020

In short, I need a GitHub admin to remove an outdated Travis CI webhook: https://travis-ci.community/t/duplicate-job-attempts-for-pr-builds-causing-queued-build-created-problems/9776/2

who are the admins of the cpython GitHub project? cc @ewdurbin @pablogsal @Mariatta @ned-deily

Long story: on my PR python/cpython#22143 the "doc" job of Travis CI was stuck in "queued", whereas the job completed (successfully!). Since Travis CI is mandatoary, I cannot merge my PR. So I clicked on (Restart build) at Travis CI. Problem: the old job is still around, and a new job was added. Even if the new job completed successfully, the old job is still stuck and so I still cannot merge my PR.

Closing/Reopening the PR doesn't work around the problem: the old job is still there and still stuck.

It's the https://travis-ci.community/t/duplicate-job-attempts-for-pr-builds-causing-queued-build-created-problems/9776 bug. The solution is to remove an old webhook from the https://github.com/python/cpython/ project (admin page).

@vstinner
Copy link
Member Author

vstinner commented Sep 8, 2020

Note: this issue is a side effect of the fix of the previous Travis CI issue, #371

@ewdurbin
Copy link
Member

ewdurbin commented Sep 8, 2020

web hook has been removed.

@vstinner
Copy link
Member Author

vstinner commented Sep 8, 2020

web hook has been removed.

Thanks @ewdurbin! To check that the issue is really fixed, I clicked on (Restart build) on https://travis-ci.com/github/python/cpython/builds/183369816 of my python/cpython#22150 PR. The PR only has the new build, the old one is gone. It works as expected. Good!

I checked a personal project that I recently migrated from travis-ci.org to travis-ci.com, and it also had the remaining webhook. I also removed it.

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

No branches or pull requests

2 participants