Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flaky test on Windows #930

Open
targos opened this issue Sep 29, 2022 · 2 comments
Open

Flaky test on Windows #930

targos opened this issue Sep 29, 2022 · 2 comments

Comments

@targos
Copy link
Member

targos commented Sep 29, 2022

2022-09-28T06:47:07.1528187Z     # Subtest: grab-project: teardown
2022-09-28T06:47:07.1529064Z         not ok 1 - EBUSY: resource busy or locked, rmdir 'C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\citgm-1664347607053'
2022-09-28T06:47:07.1529629Z           ---
2022-09-28T06:47:07.1530000Z           errno: -4082
2022-09-28T06:47:07.1530336Z           code: EBUSY
2022-09-28T06:47:07.1530669Z           syscall: rmdir
2022-09-28T06:47:07.1531246Z           path: C:\Users\RUNNER~1\AppData\Local\Temp\citgm-1664347607053
2022-09-28T06:47:07.1531762Z           tapCaught: returnedPromiseRejection
2022-09-28T06:47:07.1532282Z           test: "grab-project: teardown"
2022-09-28T06:47:07.1532633Z           ...
2022-09-28T06:47:07.1532919Z         
2022-09-28T06:47:07.1533399Z         1..1
2022-09-28T06:47:07.1533764Z         # failed 1 test
2022-09-28T06:47:07.1534306Z     not ok 10 - grab-project: teardown # time=949.825ms
2022-09-28T06:47:07.1534679Z     
2022-09-28T06:47:07.1534971Z     1..10
2022-09-28T06:47:07.1535289Z     # failed 1 of 10 tests
2022-09-28T06:47:07.1535603Z     # time=16282.406ms
2022-09-28T06:47:07.1536295Z not ok 17 - test/test-grab-project.js # time=16282.406ms
2022-09-28T06:47:07.1536736Z   ---
2022-09-28T06:47:07.1537038Z   env: {}
2022-09-28T06:47:07.1537459Z   file: test/test-grab-project.js
2022-09-28T06:47:07.1537822Z   timeout: 480000
2022-09-28T06:47:07.1538322Z   command: C:\hostedtoolcache\windows\node\18.9.1\x64\node.exe
2022-09-28T06:47:07.1538702Z   args:
2022-09-28T06:47:07.1539144Z     - test/test-grab-project.js
2022-09-28T06:47:07.1539493Z   stdio:
2022-09-28T06:47:07.1539836Z     - 0
2022-09-28T06:47:07.1540158Z     - pipe
2022-09-28T06:47:07.1540489Z     - 2
2022-09-28T06:47:07.1540966Z   cwd: D:\a\citgm\citgm
2022-09-28T06:47:07.1541279Z   exitCode: 1
2022-09-28T06:47:07.1541579Z   ...
@richardlau
Copy link
Member

It's coming from

await rimraf(sandbox);

FWIW we'd seen the same failure when we were testing in Travis: #768

@shnooshnoo
Copy link

What's the best way to know if this is still failing? I checked these builds https://ci.nodejs.org/view/Node.js-citgm/ and didnt find anything related, although they seem to always fail and I'm not even sure if this test is being ran there.

Also, if these failures were caused by rimraf it was replaced by fs here

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

No branches or pull requests

3 participants