Skip to content

Fix the two CI failures that hit most runs since 2026-10-16 - #6014

Open
ramonsmits wants to merge 2 commits into
masterfrom
ci-flaky-fixes
Open

ramonsmits wants to merge 2 commits into
masterfrom
ci-flaky-fixes

Conversation

@ramonsmits

@ramonsmits ramonsmits commented Oct 16, 2026 •

Copy link
Copy Markdown
Member

Two CI jobs fail on most runs since 2026-10-16, independent of the change under test. Both causes are in CI infrastructure, not in the code the jobs test.

Windows-DefaultCore: PackagedRavenDBTests fails while it deletes its temp folder. The test (added in #6004) kills the packaged RavenDB server and deletes the extracted server folder in the same finally block. Windows still holds a server DLL for a moment after the process exits and reports UnauthorizedAccessException for it. FileUtils.RunWithRetries only retried IOException, so the delete failed on the first attempt. It now retries UnauthorizedAccessException as well, which also covers an antivirus scanner that holds a file during an uninstall. The test reports a failed cleanup as a warning instead of a failure, because the temp folder is not what it verifies.

Azure jobs: Azure CLI deadlocks while it creates the Service Bus namespace. Azure CLI 2.91.0 runs on Python 3.14 and hits the import deadlock reported in Azure/azure-cli#33996 during long-running operations, on Linux and on Windows. The fix (Azure/azure-cli#34201) merged on 2026-10-12 and is not in 2.91.0. The composite action that upgraded the CLI to the latest version now installs 2.90.0: the .deb from the Microsoft package repository on Linux, the MSI on Windows. The action carries a comment with the condition to restore the upgrade.

Not addressed: Windows-IBMMQ and other WSL jobs cancelled after 30 minutes. The Setup WSL step hangs and the runner ignores the step timeout. The cause is in Particular/setup-wsl-action, where a diagnostics change is in review.

@ramonsmits
ramonsmits force-pushed the ci-flaky-fixes branch 2 times, most recently from 06ed917 to 15d495b Compare October 16, 2026 10:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant