Open Wojtek242 opened 2 years ago
Not so intermittent anymore https://github.com/rust-pcap/pcap/actions
For now this problem is stopgapped by not running integration tests and instead relying on unit tests alone.
Nope, still happens: https://github.com/rust-pcap/pcap/actions/runs/8936617851/job/24547312634
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.