Appveyor getting stuck during build

Sebastiano's Avatar

Sebastiano

21 Nov, 2020 05:58 PM

Hi,

Because of some problems with pacman failing with 404 errors, I've started using the Visual Studio 2019 image (setting APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019).

The issue now is that the jobs get stuck during builds and then fail (I believe because of a timeout).

See an example here (which behaves the same after retries): https://ci.appveyor.com/project/etr/libhttpserver/builds/36440094

Any way that I can fix this behaviour?

  1. Support Staff 1 Posted by Feodor Fitsner on 21 Nov, 2020 06:32 PM

    Feodor Fitsner's Avatar

    Most probably there is a child process spawned during tests and hanging around after they finish. Enable RDP to see what's going on during the tests. You may need to add teardown logic to your tests to shutdown any sub-processes.

  2. 2 Posted by Sebastiano on 21 Nov, 2020 10:37 PM

    Sebastiano's Avatar

    Every test in the library that uses a threaded implementation is now getting stuck on signals. Not sure why this changes between the previous worker image and this one. I configured the build to skip those tests for now. But definitely something changed.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac