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

Intermittent CI failures on windows (Cannot find module) #6756

Open
MarkMcCulloh opened this issue Jun 21, 2024 · 0 comments
Open

Intermittent CI failures on windows (Cannot find module) #6756

MarkMcCulloh opened this issue Jun 21, 2024 · 0 comments
Labels
🐛 bug Something isn't working 🎨 sdk SDK 🧪 testing 💻 windows Related to Windows support

Comments

@MarkMcCulloh
Copy link
Contributor

MarkMcCulloh commented Jun 21, 2024

I tried this:

Run sdk_tests/resource/call.test.w on Windows in CI

(Example https://github.com/winglang/wing/actions/runs/9618038572/job/26531168752)

This happened:

Error: R] resource can log messages at different levels | Error: an error log
Error: R] resource.call times out if the method takes too long | Error: Resource is not running (it may have crashed or stopped)
Error: R] resource.call times out if the method takes too long | Error: Process exited with code null, signal SIGTERM
Error: R] resource.call times out if the method takes too long | Error: node:internal/modules/cjs/loader:1148
Error: R] resource.call times out if the method takes too long | Error:   throw err;
Error: R] resource.call times out if the method takes too long | Error:   ^
Error: R] resource.call times out if the method takes too long | Error: 
Error: R] resource.call times out if the method takes too long | Error: Cannot find module 'D:/a/wing/wing/examples/tests/sdk_tests/resource/target/test/call.test.wsim/.wing/resource_c823d293.sandbox.cjs.bundle/index.cjs'
Error: R] resource.call times out if the method takes too long | Error: 
Error: R] resource.call times out if the method takes too long | Error: 
Error: R] resource.call times out if the method takes too long | Error: 
Error: R] resource.call times out if the method takes too long | Error: 
Error: R] resource.call times out if the method takes too long | Error:   code: 'MODULE_NOT_FOUND',
Error: R] resource.call times out if the method takes too long | Error:   requireStack: []
Error: R] resource.call times out if the method takes too long | Error: }
Error: R] resource.call times out if the method takes too long | Error: 
Error: R] resource.call times out if the method takes too long | Error: Node.js v20.14.0

Anything else?

Seems to have started with the update to vitest v2 for hangar

Community Notes

  • Please vote by adding a 👍 reaction to the issue to help us prioritize.
  • If you are interested to work on this issue, please leave a comment.
@MarkMcCulloh MarkMcCulloh added 🐛 bug Something isn't working 🎨 sdk SDK 🧪 testing 💻 windows Related to Windows support labels Jun 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working 🎨 sdk SDK 🧪 testing 💻 windows Related to Windows support
Projects
Status: 🤝 Backlog - handoff to owners
Development

No branches or pull requests

1 participant