ci: migrate Windows cross compile to Ubuntu Focal #21122

issue fanquake opened this issue on February 9, 2021
  1. fanquake commented at 7:10 AM on February 9, 2021: member

    We'd like to move the Windows cross compile in the CI to use Ubuntu Focal, to match the gitian descriptors that were just migrated to Focal.

    I failed to do this as part of #21112. One issue seems to be using wine64, see logs here.

  2. fanquake added the label Tests on Feb 9, 2021
  3. MarcoFalke cross-referenced this on Feb 9, 2021 from issue ci: Properly bump to focal for win cross build by MarcoFalke
  4. fanquake closed this on Feb 10, 2021

  5. MarcoFalke commented at 7:54 AM on February 10, 2021: member

    I think this is still racy and absent any other solutions, we'll have to remove the unit tests

  6. MarcoFalke commented at 7:56 AM on February 10, 2021: member

    Example failure:

    Making check in src
    make[1]: Entering directory '/tmp/cirrus-ci-build/ci/scratch/build/bitcoin-x86_64-w64-mingw32/src'
    make[2]: Entering directory '/tmp/cirrus-ci-build/ci/scratch/build/bitcoin-x86_64-w64-mingw32/src'
    make  check-TESTS check-local
    make[3]: Entering directory '/tmp/cirrus-ci-build/ci/scratch/build/bitcoin-x86_64-w64-mingw32/src'
    Running tests: addrman_tests from test/addrman_tests.cpp
    Running tests: amount_tests from test/amount_tests.cpp
    Running tests: arith_uint256_tests from test/arith_uint256_tests.cpp
    make[4]: Entering directory '/tmp/cirrus-ci-build/ci/scratch/build/bitcoin-x86_64-w64-mingw32/src'
    ============================================================================
    Testsuite summary for Bitcoin Core 21.99.0
    ============================================================================
    # TOTAL: 0
    # PASS:  0
    # SKIP:  0
    # XFAIL: 0
    # FAIL:  0
    # XPASS: 0
    # ERROR: 0
    ============================================================================
    make[4]: Leaving directory '/tmp/cirrus-ci-build/ci/scratch/build/bitcoin-x86_64-w64-mingw32/src'
    Running tests: allocator_tests from test/allocator_tests.cpp
    wine: created the configuration directory '/root/.wine'
    wine: chdir to /tmp/wine-30FsIX/server-32-33c686 : No such file or directory
    make[3]: *** [Makefile:16876: test/arith_uint256_tests.cpp.test] Error 1
    make[3]: *** Waiting for unfinished jobs....
    make[3]: Leaving directory '/tmp/cirrus-ci-build/ci/scratch/build/bitcoin-x86_64-w64-mingw32/src'
    make[2]: *** [Makefile:15393: check-am] Error 2
    make[2]: Leaving directory '/tmp/cirrus-ci-build/ci/scratch/build/bitcoin-x86_64-w64-mingw32/src'
    make[1]: *** [Makefile:15078: check-recursive] Error 1
    make[1]: Leaving directory '/tmp/cirrus-ci-build/ci/scratch/build/bitcoin-x86_64-w64-mingw32/src'
    make: *** [Makefile:812: check-recursive] Error 1
    

    https://cirrus-ci.com/task/6142530959966208?command=ci#L4523

  7. MarcoFalke cross-referenced this on Feb 10, 2021 from issue ci: Re-run wine tests once if they fail by MarcoFalke
  8. fanquake referenced this in commit cda914228a on Feb 10, 2021
  9. bitcoin locked this on Aug 18, 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