-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Closed
Description
Current behavior
Running with Bazel in a read only FS it throws an EPERM error on MacOS 11.2.3 (not sure about others). Same as #1281 just different error code (EPERM instead of EACCES).
Error reading from: `/private/var/tmp/_bazel_sgunther/bb523b32e1e6201f4465a5fb52d0dab0/sandbox/darwin-sandbox/1/execroot/test-generator/bazel-out/darwin-fastbuild/bin/cypress-trial.sh.runfiles/test-generator/test/acceptance/tests/basic-test/cypress.json`
`Error: EPERM: operation not permitted, access '/private/var/tmp/_bazel_sgunther/bb523b32e1e6201f4465a5fb52d0dab0/sandbox/darwin-sandbox/1/execroot/test-generator/bazel-out/darwin-fastbuild/bin/cypress-trial.sh.runfiles/test-generator/test/acceptance/tests/basic-test'`
{
status: 'failed',
failures: 1,
message: 'Could not find Cypress test run results'
}
Desired behavior
Print a warning like with EACCES here: https://github.com/cypress-io/cypress/blob/develop/packages/server/lib/util/settings.js#L128-L130
Test code to reproduce
It is a whole Bazel setup and the issue is straightforward but if needed I can put something up.
Versions
Metadata
Metadata
Assignees
Labels
No labels