D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 21019 - Azure pipelines Windows_VisualD win32-ldc fails with Heisenbug
Summary: Azure pipelines Windows_VisualD win32-ldc fails with Heisenbug
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: x86 Windows
: P1 normal
Assignee: No Owner
URL:
Keywords: pull, TestSuite
Depends on:
Blocks:
 
Reported: 2020-07-06 10:40 UTC by Walter Bright
Modified: 2020-07-06 20:38 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Walter Bright 2020-07-06 10:40:08 UTC
The failure message is:

Test compilable\ddoc5.d failed: D:\a\1\s\test\test_results\b2300e367bf8839cd0d6eaaa308caba39ee7b276c4a57ab8ddccc58444c4ca17: The process cannot access the file because it is being used by another process.

What should happen is it should sleep for a bit and then try again, instead of aborting the test.
Comment 1 Dlang Bot 2020-07-06 10:54:08 UTC
@MoonlightSentinel created dlang/dmd pull request #11380 "Fix 21019 - Replace rm with rm_retry in shell scripts" fixing this issue:

- Fix 21019 - Replace rm with rm_retry in shell scripts

https://github.com/dlang/dmd/pull/11380
Comment 2 Dlang Bot 2020-07-06 20:38:06 UTC
dlang/dmd pull request #11380 "Fix 21019 - Replace rm with rm_retry in shell scripts" was merged into master:

- 98b6cebc2febd9d9cc40e8e50673562abee48573 by MoonlightSentinel:
  Fix 21019 - Replace rm with rm_retry in shell scripts

https://github.com/dlang/dmd/pull/11380