rust-pcap / pcap

Rust language pcap library
Apache License 2.0
598 stars 138 forks source link

Scheduled CI often fails to download windows dll #256

Closed Wojtek242 closed 1 year ago

Wojtek242 commented 1 year ago

Re-running failed tests usually sorts things out suggesting it's an infrastructure issue.

Stargateur commented 1 year ago

do you know why it's look we install winpcap twice ?

        run: |
          cinst -y winpcap --version 4.1.3.20161116
          (New-Object System.Net.WebClient).DownloadFile("https://www.winpcap.org/install/bin/WpdPack_4_1_2.zip", "C:/WpdPack.zip")
          Expand-Archive -LiteralPath C:/WpdPack.zip -DestinationPath C:/
          echo "LIB=C:/WpdPack/Lib/x64" >> $env:GITHUB_ENV

one with choco and one manually.

sekineh commented 1 year ago

@Stargateur 1st line (cinst) is for winpcap (I guess it contains driver and dlls). 2nd line is for WpdPack.zip which is a sdk for winpcap (I guess it contains .h files).

Stargateur commented 1 year ago

See https://github.com/rust-pcap/pcap/pull/262, I found the problem (I think).