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 Windows CI failures #275

Open
Wojtek242 opened this issue Sep 6, 2022 · 4 comments · Fixed by #356
Open

Intermittent Windows CI failures #275

Wojtek242 opened this issue Sep 6, 2022 · 4 comments · Fixed by #356

Comments

@Wojtek242
Copy link
Collaborator

https://github.com/rust-pcap/pcap/runs/8200995220?check_suite_focus=true

Every now and then a windows CI test will fail with (exit code: 0xc0000135, STATUS_DLL_NOT_FOUND). I originally assumed that it must be the wpcap.dll since that's the only one we are installing and it was installed via autohotkey which felt like a windows hack to install an exe silently. However, now the CI runs with Npcap OEM silent installer so it seems much less likely that that was the culprit.

Googling around a bit, one thing about STATUS_DLL_NOT_FOUND is that it does not indicate which DLL failed so perhaps it is not wpcap.dll. However, I don't know how to diagnose this from the CI.

I think for starters it would help if we would run DUMPBIN /DEPENDENTS (https://docs.microsoft.com/en-us/cpp/build/reference/dumpbin-command-line?view=msvc-170) on the test binaries and verify their existence manually in each CI run before running the test.

@Wojtek242
Copy link
Collaborator Author

Not so intermittent anymore https://github.com/rust-pcap/pcap/actions

@Wojtek242
Copy link
Collaborator Author

For now this problem is stopgapped by not running integration tests and instead relying on unit tests alone.

@Wojtek242
Copy link
Collaborator Author

Wojtek242 commented Apr 21, 2024

@Wojtek242
Copy link
Collaborator Author

@Wojtek242 Wojtek242 reopened this May 3, 2024
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

Successfully merging a pull request may close this issue.

1 participant