Skip to content

miss-islington broken again #228

Closed

Description

@vstinner

I don't know what to do when this bot is broken :-(

I requested a backport from master to 3.7 on python/cpython#13421 The bot wrote "Thanks @erikjanss for the PR, and @vstinner for merging it .. I'm working now to backport this PR to: 3.7." and then nothing, as if it fails but doesn't say anything about its failure.

Who operates this bot? Who knows how to debug it?

Activity

  1. Mariatta commented on May 21, 2019

    @Mariatta
    Member

    Sorry of the problem. This is known issue that was raised in https://mail.python.org/pipermail/python-committers/2019-May/006728.html.

    Example error log from earlier incident: https://mail.python.org/pipermail/python-committers/2019-May/006729.html

    I think one way to fix it is to catch the redis.exceptions.ConnectionError and retry the task. Sorry I haven't had time to fix it. I will try adding the fix later today. For now, it seems like there is merge conflict so you'll still need to backport manually 😰

  2. vstinner commented on May 21, 2019

    @vstinner
    MemberAuthor

    I think one way to fix it is to catch the redis.exceptions.ConnectionError and retry the task.

    Well, I cannot say which option is the best. But if the bot fails to produce the PR, would it be possible to add a comment "Sorry, I failed to backport the change: internal error." Something like that?

  3. vstinner commented on May 21, 2019

    @vstinner
    MemberAuthor

    For now, it seems like there is merge conflict so you'll still need to backport manually cold_sweat

    Oh, that's perfectly fine. I will ask the author to do the backport ;-)

  4. matrixise commented on May 21, 2019

    @matrixise
    Member

    just another point, when there is this issue, just add a label "waiting backport" ? it's not a problem to create the backport for the PRs I review.

  5. matrixise commented on May 21, 2019

    @matrixise
    Member

    @Mariatta not sure, but I think the issue is mainly with the celery worker and not with your task.

  6. matrixise commented on May 21, 2019

    @matrixise
    Member

    I add this issue to the current issue from the kombu project celery/kombu#1019

  7. Mariatta commented on May 21, 2019

    @Mariatta
    Member

    just another point, when there is this issue, just add a label "waiting backport" ? it's not a problem to create the backport for the PRs I review.

    I don't think we need another label. If miss-islington's backport failed, the "needs backport to ..." label is still there, so we know it is still needs to be backported. In addition, the PR becomes assigned to the core dev who reviews the PR, so core dev also knows they need to do something about it.

  8. terryjreedy commented on May 21, 2019

    @terryjreedy
    Member

    A workaround when no backport appears after, say, 20 minutes, is to remove the backport label and then add it again to trigger the bot again. I have done this twice and the second try worked both times.

  9. Mariatta commented on May 22, 2019

    @Mariatta
    Member

    I've made it so it will post a comment that there is problem with backporting because of redis Connection Error. It will also retry the backport up to 5 times (with 60 minutes delay).

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