ci: s390x qemu fails after qt5.15 #23730

issue MarcoFalke opened this issue on December 10, 2021
  1. MarcoFalke commented at 8:32 AM on December 10, 2021: member

    To reproduce:

    FILE_ENV="./ci/test/00_setup_env_s390x.sh" ./ci/test_run_all.sh
    

    Commit:

    c870027cc261ebe6e0e2030df06619a8f663e80a is the first bad commit

    commit c870027cc261ebe6e0e2030df06619a8f663e80a
    Author: fanquake <fanquake@gmail.com>
    Date:   Wed Jul 29 18:29:58 2020 +0800
    
        build: qt 5.15.2
    

    Failure:

    FAIL: qt/test/test_bitcoin-qt
    =============================
    QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
    ********* Start testing of AppTests *********
    Config: Using QtTest library 5.15.2, Qt 5.15.2 (s390x-big_endian-lp64 static release build; by GCC 11.2.0), debian unknown
    PASS   : AppTests::initTestCase()
    QINFO  : AppTests::appTests() Backing up GUI settings to "/tmp/test_common_Bitcoin Core/d998825417af270308dd8d0729d4d88871adf7b18797f101da9241141e5d10dd/regtest/guisettings.ini.bak"
    === Received signal at function time: 300003ms, total time: 300078ms, dumping stack ===
    === End of stack trace ===
    QFATAL : AppTests::appTests() Test function timed out
    FAIL!  : AppTests::appTests() Received a fatal error.
       Loc: [Unknown file(0)]
    Totals: 1 passed, 1 failed, 0 skipped, 0 blacklisted, 300090ms
    ********* Finished testing of AppTests *********
    ./qt/test/test_bitcoin-qt: line 2: 131196 Aborted                 (core dumped) qemu-s390x "/tmp/cirrus-ci-build/bitcoin-core/ci/scratch/build/bitcoin-s390x-linux-gnu/src/qt/test/test_bitcoin-qt_orig" "$@"
    FAIL qt/test/test_bitcoin-qt (exit status: 134)
    ============================================================================
    Testsuite summary for Bitcoin Core 22.99.0
    ============================================================================
    # TOTAL: 5
    # PASS:  4
    # SKIP:  0
    # XFAIL: 0
    # FAIL:  1
    # XPASS: 0
    # ERROR: 0
    ============================================================================
    See src/test-suite.log
    Please report to https://github.com/bitcoin/bitcoin/issues
    ============================================================================
    
  2. MarcoFalke added the label Bug on Dec 10, 2021
  3. MarcoFalke commented at 12:21 PM on December 15, 2021: member

    The error today seems to be:

    root@493cf39951c6:/bitcoin-core# qemu-s390x /bitcoin-core/ci/scratch/build/bitcoin-s390x-linux-gnu/src/qt/test/test_bitcoin-qt_orig  
    /bitcoin-core/ci/scratch/build/bitcoin-s390x-linux-gnu/src/qt/test/test_bitcoin-qt_orig:
    error while loading shared libraries: libxcb-icccm.so.4: cannot open shared object file: No such file or directory
    
  4. hebasto commented at 12:11 PM on December 16, 2021: member

    The error today seems to be:

    root@493cf39951c6:/bitcoin-core# qemu-s390x /bitcoin-core/ci/scratch/build/bitcoin-s390x-linux-gnu/src/qt/test/test_bitcoin-qt_orig  
    /bitcoin-core/ci/scratch/build/bitcoin-s390x-linux-gnu/src/qt/test/test_bitcoin-qt_orig:
    error while loading shared libraries: libxcb-icccm.so.4: cannot open shared object file: No such file or directory
    

    The required dependencies are:

    --- a/ci/test/00_setup_env_s390x.sh
    +++ b/ci/test/00_setup_env_s390x.sh
    @@ -14,7 +14,7 @@ export PACKAGES="python3-zmq"
     if [ -n "$QEMU_USER_CMD" ]; then
       # Likely cross-compiling, so install the needed gcc and qemu-user
       export DPKG_ADD_ARCH="s390x"
    -  export PACKAGES="$PACKAGES g++-s390x-linux-gnu qemu-user libc6:s390x libstdc++6:s390x libfontconfig1:s390x libxcb1:s390x"
    +  export PACKAGES="$PACKAGES g++-s390x-linux-gnu qemu-user libc6:s390x libstdc++6:s390x libfontconfig1:s390x libxcb1:s390x libxkbcommon-x11-0:s390x libxcb-icccm4:s390x libxcb-image0:s390x libxcb-keysyms1:s390x libxcb-randr0:s390x libxcb-render-util0:s390x libxcb-shape0:s390x libxcb-sync1:s390x libxcb-xfixes0:s390x libxcb-xinerama0:s390x libxcb-shm0:s390x libxcb-render0:s390x libxcb-xkb1:s390x"
     fi
     # Use debian to avoid 404 apt errors
     export CONTAINER_NAME=ci_s390x
    

    but qt/test/test_bitcoin-qt still fails (

  5. MarcoFalke commented at 4:06 PM on December 17, 2021: member

    Steps to reproduce on debian:bookworm:

    Slow:

    MAKEJOBS="-j9" FILE_ENV="./ci/test/00_setup_env_s390x.sh" ./ci/test_run_all.sh
    

    Faster:

    dpkg --add-architecture s390x && apt update && apt install -y qemu-user libc6:s390x libstdc++6:s390x libfontconfig1:s390x libxcb1:s390x libxkbcommon-x11-0:s390x libxcb-icccm4:s390x libxcb-image0:s390x libxcb-keysyms1:s390x libxcb-randr0:s390x libxcb-render-util0:s390x libxcb-shape0:s390x libxcb-sync1:s390x libxcb-xfixes0:s390x libxcb-xinerama0:s390x libxcb-shm0:s390x libxcb-render0:s390x libxcb-xkb1:s390x wget
    wget "https://dankbox.click/blobs/s390x-linux-gnu-test_bitcoin-qt_orig"
    chmod +x ./s390x-linux-gnu-test_bitcoin-qt_orig
    qemu-s390x ./s390x-linux-gnu-test_bitcoin-qt_orig
    

    Output:

    # qemu-s390x ./s390x-linux-gnu-test_bitcoin-qt_orig 
    QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
    ********* Start testing of AppTests *********
    Config: Using QtTest library 5.15.2, Qt 5.15.2 (s390x-big_endian-lp64 static release build; by GCC 11.2.0), debian unknown
    PASS   : AppTests::initTestCase()
    QINFO  : AppTests::appTests() Backing up GUI settings to "/tmp/test_common_Bitcoin Core/66a6c7c44f5b797760433b694d000d76c91990551a541e99c9809c7db21aad08/regtest/guisettings.ini.bak"
    
    === Received signal at function time: 300008ms, total time: 300032ms, dumping stack ===
    === End of stack trace ===
    QFATAL : AppTests::appTests() Test function timed out
    FAIL!  : AppTests::appTests() Received a fatal error.
       Loc: [Unknown file(0)]
    Totals: 1 passed, 1 failed, 0 skipped, 0 blacklisted, 300064ms
    ********* Finished testing of AppTests *********
    Aborted (core dumped)
    
  6. MarcoFalke commented at 3:04 PM on December 24, 2021: member

    This is still an issue, but low prio

  7. MarcoFalke closed this on Dec 24, 2021

  8. DrahtBot locked this on Dec 24, 2022
  9. hebasto commented at 1:49 PM on June 30, 2023: member

    It is not an issue anymore. See: #28014.

Contributors
Labels

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-04-17 06:14 UTC

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