Skip to content

Race when provisioning the EMSDK #52254

Closed
@ViktorHofer

Description

@ViktorHofer
eng/testing/tests.wasm.targets(138,5): error MSB3026: (NETCORE_ENGINEERING_TELEMETRY=Build) Could not copy "/usr/local/emscripten/emsdk/node/14.15.5_64bit/bin/npx" to "/__w/1/s/src/mono/wasm/emsdk/node/14.15.5_64bit/bin/npx". Beginning retry 1 in 1000ms. The process cannot access the file '/__w/1/s/src/mono/wasm/emsdk/node/14.15.5_64bit/bin/npx' because it is being used by another process. 

from https://dev.azure.com/dnceng/public/_build/results?buildId=1120261&view=logs&jobId=fddee5b2-3265-5a91-40c1-750d81e69f3f.

This happens when wasm test projects are bundled in parallel. Usually we try to avoid to provision things in a context that might run in parallel and which doesn't reference the project in any way. In this case I believe the EMSDK provisioning should happen in the context of the sendtohelix project and not as part of a test project's bundle publishing.

cc @steveisok @akoeplinger

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions