appveyor vcpkg seemingly corrupts itself #19440

issue MarcoFalke opened 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:

    msbuild /p:TrackFileAccess=false build_msvc\bitcoin.sln /m /v:q /nologo
    C:\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]
    C:\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 cross-referenced this on Jul 4, 2020 from issue ci: Avoid failing pull requests destory the appveyor cache by MarcoFalke
  9. 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)

  10. sipsorcery cross-referenced this on Jul 4, 2020 from issue test: Remove cached directories and associated script blocks from appveyor config by sipsorcery
  11. MarcoFalke referenced this in commit 8783bcc099 on Jul 4, 2020
  12. MarcoFalke commented at 3:54 PM on July 8, 2020: member

    Fixed by #19444

  13. MarcoFalke closed this on Jul 8, 2020

  14. MarcoFalke cross-referenced this on Jul 8, 2020 from issue [0.20] Backports by fanquake
  15. decryp2kanon cross-referenced this on Oct 3, 2020 from issue appveyor limitation of 60 minutes by decryp2kanon
  16. bitcoin 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: 2026-05-20 06:54 UTC