appveyor vcpkg seemingly corrupts itself #19440

issue MarcoFalke openend this issue on July 3, 2020
  1. MarcoFalke commented at 11:27 pm on July 3, 2020: member

    This is the second time this week, see https://ci.appveyor.com/project/DrahtBot/bitcoin/history

    Failure looks like:

    0msbuild /p:TrackFileAccess=false build_msvc\bitcoin.sln /m /v:q /nologo
    1C:\projects\bitcoin\src\util\url.cpp(7,10): fatal error C1083: Cannot open include file: 'event2/http.h': No such file or directory [C:\projects\bitcoin\build_msvc\libbitcoin_util\libbitcoin_util.vcxproj]
    2C:\projects\bitcoin\src\script\standard.h(12,10): fatal error C1083: Cannot open include file: 'boost/variant.hpp': No such file or directory [C:\projects\bitcoin\build_msvc\libbitcoin_common\libbitcoin_common.vcxproj]
    
  2. MarcoFalke added the label Bug on Jul 3, 2020
  3. MarcoFalke added the label Tests on Jul 3, 2020
  4. MarcoFalke added the label Upstream on Jul 3, 2020
  5. MarcoFalke added the label Windows on Jul 3, 2020
  6. sipsorcery commented at 7:24 am on July 4, 2020: member

    I’m starting to think the 15 minutes saved by having the cache isn’t justified if the cache is regularly breaking the whole build.

    imho #19431 is a good idea after all.

  7. sipsorcery commented at 7:38 am on July 4, 2020: member

    I had a look at the appveyor logs for the builds before and after the failures started and there doesn’t appear to be anything in the jobs that affected the vcpkg dependencies. Seems that between jobs master.22410 and master.22411 the cached C:\tools\vcpkg\installed directory got corrupted.

    We could do something like add a checksum for each cached directory but that ends up being one more step to go wrong. I think it’s worth commenting out the cache parts of the appveyor job and seeing how it goes for a while.

  8. MarcoFalke commented at 10:55 am on July 4, 2020: member
    I am not sure if #19431 helps with regard to this issue. If the cache corrupts while being stored on the appveyor servers, then there is nothing we can do. If the cache corrupts while running our appveyor script, then #19431 might help. (or disabling the cache altogether will help as well)
  9. MarcoFalke referenced this in commit 8783bcc099 on Jul 4, 2020
  10. MarcoFalke commented at 3:54 pm on July 8, 2020: member
    Fixed by #19444
  11. MarcoFalke closed this on Jul 8, 2020

  12. DrahtBot locked this on Feb 15, 2022

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-12-19 06:12 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me