compiler-explorer / compiler-explorer/compiler-explorer
Race condition in cleanup?
- Dominant language
- TypeScript
- Stars
- 19.1k
- Forks
- 2.1k
- Avg merge
- 3d 15h
- Merged PRs (30d)
- 67
Description
Saw this in the logs:
Jun 12 13:55:46Z [ip-172-30-5-162](https://my.papertrailapp.com/systems/ip-172-30-5-162/events?focus=1869817888081985550&selected=1869817888081985550) [amazon](https://my.papertrailapp.com/groups/1243314/events?q=program%3Aamazon&focus=1869817888081985550&selected=1869817888081985550) error: Tried to get executable from cache, but got an error:
{
"err": {
"code": "ENOENT",
"errno": -2,
"path": "/nosym/tmp/compiler-explorer-compilerhBN8Fi/fmt/lib/libfmtd.a",
"syscall": "open"
}
}
Jun 12 13:55:46Z [ip-172-30-5-162](https://my.papertrailapp.com/systems/ip-172-30-5-162/events?focus=1869817888232980480&selected=1869817888232980480) [amazon](https://my.papertrailapp.com/groups/1243314/events?q=program%3Aamazon&focus=1869817888232980480&selected=1869817888232980480) error: Failed to remove /nosym/tmp/compiler-explorer-compilerhBN8Fi: Error: ENOTEMPTY: directory not empty, rmdir '/nosym/tmp/compiler-explorer-compilerhBN8Fi'
Looks like a link/path thing was fighting with cleanup; like it thought the tmp directory should be cleaned up while it was still being used
Contributor guide
Assessment
This issue has not been assessed yet.