msquic icon indicating copy to clipboard operation
msquic copied to clipboard

Tests that Fail to Clean up Block Future Jobs

Open nibanks opened this issue 3 years ago • 0 comments

Describe the bug

When we run tests on our hosted machines and they don't clean up properly (leave a driver running) then the next job fails to deploy with access denied errors.

Affected OS

  • [X] All
  • [ ] Windows Server 2022
  • [ ] Windows 11
  • [ ] Windows Insider Preview (specify affected build below)
  • [ ] Ubuntu
  • [ ] Debian
  • [ ] Other (specify below)

Additional OS information

No response

MsQuic version

main

Steps taken to reproduce bug

Run a test that fails to clean up. Run another job on the same mcahine.

Expected behavior

The next job shouldn't be affected by the previous.

Actual outcome

The next job fails to start.

Additional details

We should stage the test artifacts in a separate directory before trying to run them, so as to not block the space the next job needs to deploy. Then, we can add initialization code in the next job to make sure nothing was already running.

nibanks avatar Mar 05 '22 16:03 nibanks