You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
AppVeyor PR builds can hang sporadically and then timeout/abort after only 3 hours #7038
Issue-Discussionthe issue may not have a clear classification yet. The issue may generate an RFC or may be reclassifWG-Maintainers-Buildspecific to affecting the build
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
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.
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:
Issue-Discussionthe issue may not have a clear classification yet. The issue may generate an RFC or may be reclassifWG-Maintainers-Buildspecific to affecting the build
Activity
iSazonov commentedon Jun 13, 2018
I guess there was unhandled error in build process.
bergmeister commentedon Jun 19, 2018
It happened again (in master on a normal and on a daily build) yesterday:
cc Travis Plunk (@TravisEz13)
TravisEz13 commentedon Jun 19, 2018
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.
iSazonov commentedon Jun 20, 2018
Maybe don't throw - write an error and
exit -1?TravisEz13 commentedon Jun 20, 2018
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:
PowerShell/tools/travis.ps1
Line 173 in d76cdc3
RDIL commentedon May 8, 2020
This is fixed now