Builds randomly fail with "exception was thrown: The operation was canceled"

akira's Avatar

akira

08 Dec, 2023 01:16 AM

Builds randomly fail with exception

[xUnit.net 00:01:17.45] When sending 'PUT http://localhost:46381/api/tests/batch' with body '<long json string>', exception was thrown: The operation was canceled.

The project has three images configured, Windows, MacOS, and Ubuntu. Lately, it has been happening a lot on Ubuntu and occasionally on Windows too.

I can barely find useful info on the internet with these error messages.

See builds like https://ci.appveyor.com/project/stakira/openutau/builds/48708014 and https://ci.appveyor.com/project/stakira/openutau/builds/48707692 on https://ci.appveyor.com/project/stakira/openutau/history

  1. 1 Posted by akira on 08 Dec, 2023 01:29 AM

    akira's Avatar

    Surprised to see xunit has a specialized AppVeyor client that generates this message: https://github.com/xunit/xunit/blob/b72f61a98eb09ba2a8dc7936ce25ed7...
    The JSON sent in my case is 28KB, which doesn't make sense to consistently takes > 30 seconds. There must be something else wrong.

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