Skip to content

AppVeyor PR builds can hang sporadically and then timeout/abort after only 3 hours #7038

Closed

Description

Not sure if this has happened before or is due to a new test, but there were recently 2 different AppVeyor PR builds that got stuck and then only aborted due to the 3 hour timeout.

I first saw it in this PR build of PR 7013 and then also in this PR build of PR 7033
The log stops at different tests in those 2 runs, therefore not sure if it is a problem of a specific test or aftereffect of a certain test suite or an AppVeyor problem

Activity

  1. added
    WG-Maintainers-Build
    Issue-Discussion
    on Jun 13, 2018
  2. iSazonov commented on Jun 13, 2018

    @iSazonov
    Collaborator

    I guess there was unhandled error in build process.

  3. bergmeister commented on Jun 19, 2018

    @bergmeister
    ContributorAuthor
  4. TravisEz13 commented on Jun 19, 2018

    @TravisEz13
    Member

    The last two hangs I saw where in this code: https://github.com/PowerShell/PowerShell/blob/master/tools/appveyor.psm1#L551

    I'm guessing that AppVeyor is hanging after we throw the error back to appveyor.
    Finish is a really wierd place to be doing this type of stuff... building a package and testing it. I would refactor this into a different bulid and test job if I had the time and see if it behaves better.

  5. iSazonov commented on Jun 20, 2018

    @iSazonov
    Collaborator

    Maybe don't throw - write an error and exit -1?

  6. TravisEz13 commented on Jun 20, 2018

    @TravisEz13
    Member

    We could try it, but need to make sure it works.
    I added a way to include a failing test to the travis-ci workflow to make sure this type of code works:

    $hasRunFailingTestTag = $commitMessage -match '\[includeFailingTest\]'

  7. RDIL commented on May 8, 2020

    @RDIL
    Contributor

    This is fixed now

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

    Issue-DiscussionWG-Maintainers-Build

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions