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

Random unit test failures on CI #1842

Open
friederbluemle opened this issue Dec 1, 2021 · 0 comments
Open

Random unit test failures on CI #1842

friederbluemle opened this issue Dec 1, 2021 · 0 comments

Comments

@friederbluemle
Copy link
Member

friederbluemle commented Dec 1, 2021

Azure CI occasionally fails on macOS, which can usually be "fixed" by rerunning the tests.

Ref:
https://dev.azure.com/ElectrodeNative/Electrode%20Native/_build/results?buildId=6353&view=logs&j=195f2670-0934-542b-f708-55083700808e&t=aee57a02-7e04-5dc7-01bc-f6a4fd498e68&s=befc156f-4349-50a1-7733-e1f49ac39682

  1) ModuleFactory
       getModuleInstance
         should create the cache directory if it does not exist [remote registry package]:
     Error: ENOENT: no such file or directory, open '/Users/runner/work/1/s/ern-core/test/ModuleFactoryCache/package.json'

followed by:

  1) AndroidRunnerGenerator
       should generate simple-android-runner fixture given same configuration:
     Error: Timeout of 5000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/Users/runner/work/1/s/ern-runner-gen-android/test/AndroidRunnerGenerator-test.ts)

Edit: A similar error also appears on GitHub Actions CI:

https://github.com/electrode-io/electrode-native/runs/4376269267?check_suite_focus=true

  1) CauldronHelper.js
       addYarnLock
         should add the yarn lock:
     Error: EINVAL: invalid argument, read
  

  2) CauldronHelper.js
       getYarnLock
         should return the yarn lock if found for key:
     AggregateError: EBADF: bad file descriptor, read
      at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read_file_context:52:21)

[+ 7 more errors]
@friederbluemle friederbluemle changed the title Random unit test failures on macOS Azure CI Random unit test failures on CI Dec 1, 2021
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

1 participant