After talking with the team, I wanted to share that the AppleM2ScalerCSCDriver
error is a red herring and can safely be ignored. If you continue to run into issues, please open a support ticket with a link to the failing build for further investigation.
Hey there Alex, I am trying to migrate my pipeline to M1 image, but faced issue with detox tests, it used to work fine, but now i keep getting timeout issue, and some would successfully pass and some tests would not be running, therefore timed out.
error message:
Exceeded timeout of 500000ms while setting up Detox environment
i canβt attach image as i am a new user but it looks like this:
$ detox test -c ios.release --headless --maxWorkers 2 --retries 2 --cleanup e2e/specs/change-pincode.e2e.ts e2e/specs/view-account-details.e2e.ts
06:13:45.696 detox[22433] B jest --config e2e/jest.config.js --maxWorkers 2 e2e/specs/change-pincode.e2e.ts e2e/specs/view-account-details.e2e.ts
FAIL e2e/specs/view-account-details.e2e.ts
β Test suite failed to run
Exceeded timeout of 500000ms while setting up Detox environment
FAIL e2e/specs/change-pincode.e2e.ts
β Test suite failed to run
Exceeded timeout of 500000ms while setting up Detox environment
06:22:08.290 detox[22436] i A worker process has failed to exit gracefully and has been force exited. This is likely caused by tests leaking due to improper teardown. Try running with --detectOpenHandles to find leaks. Active timers can also cause this, ensure that .unref() was called on them.
06:22:08.362 detox[22433] E Command failed with exit code = 1:
jest --config e2e/jest.config.js --maxWorkers 2 e2e/specs/change-pincode.e2e.ts e2e/specs/view-account-details.e2e.ts
06:22:08.363 detox[22433] i There were failing tests in the following files:
- e2e/specs/view-account-details.e2e.ts
- e2e/specs/change-pincode.e2e.ts
@michtnt I recommend opening a support ticket with links to your builds so they can troubleshoot further.