Skip to content

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

Closed

Description

@vstinner

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).

Activity

  1. vstinner commented on Sep 8, 2020

    @vstinner
    MemberAuthor

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

  2. ewdurbin commented on Sep 8, 2020

    @ewdurbin
    Member

    web hook has been removed.

  3. vstinner commented on Sep 8, 2020

    @vstinner
    MemberAuthor

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions