From 90982f7e5c46905c3f72cfdffb1d6051a93c1fa6 Mon Sep 17 00:00:00 2001 From: "Sergey V. Lobanov" Date: Thu, 28 Nov 2024 21:44:11 +0100 Subject: [PATCH] ci: fix build on alpine BE (s390x) bump libpcre, disable chap_secrets in tests --- .github/workflows/run-tests-bigendian.yml | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/.github/workflows/run-tests-bigendian.yml b/.github/workflows/run-tests-bigendian.yml index 76e9fca9..0e98ab47 100644 --- a/.github/workflows/run-tests-bigendian.yml +++ b/.github/workflows/run-tests-bigendian.yml @@ -6,7 +6,6 @@ on: push: branches: - master - - be jobs: @@ -27,12 +26,12 @@ jobs: NEEDRESTART_SUSPEND=1 DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true sudo -E apt -y install wget openssh-client screen libglib2.0-dev libfdt-dev libpixman-1-dev zlib1g-dev libslirp-dev ninja-build - - name: Build Qemu 9.0.2 + - name: Build Qemu 9.1.2 # Qemu 8.2 from Ubuntu24.04 has critical s390x-related bugs so Qemu9 is required run: | - wget -nv https://github.com/qemu/qemu/archive/refs/tags/v9.0.2.tar.gz - tar -xf v9.0.2.tar.gz - cd qemu-9.0.2 + wget -nv https://github.com/qemu/qemu/archive/refs/tags/v9.1.2.tar.gz + tar -xf v9.1.2.tar.gz + cd qemu-9.1.2 ./configure --target-list=s390x-softmmu --enable-slirp make -j sudo make install @@ -118,7 +117,7 @@ jobs: ssh -i ssh-key -p2222 root@localhost "cat /etc/passwd" - name: Install build tools (on target OS) run: > - ssh -i ssh-key -p2222 root@localhost "setup-apkrepos -o && apk add --no-cache git cmake make g++ pcre-dev openssl-dev linux-headers libucontext-dev lua5.1-dev linux-lts-dev py3-pip + ssh -i ssh-key -p2222 root@localhost "setup-apkrepos -o && apk add --no-cache git cmake make g++ pcre2-dev openssl-dev linux-headers libucontext-dev lua5.1-dev linux-lts-dev py3-pip ppp ppp-pppoe iproute2 dhclient && (pip3 install pytest pytest-dependency pytest-order || pip3 install --break-system-packages pytest pytest-dependency pytest-order)" - name: Copy source code to target OS @@ -138,7 +137,7 @@ jobs: timeout-minutes: 5 run: > ssh -i ssh-key -p2222 root@localhost "cd accel-ppp/tests && - python3 -m pytest -Wall --order-dependencies -v -m \"not ipoe_driver and not vlan_mon_driver\"" + python3 -m pytest -Wall --order-dependencies -v -m \"not ipoe_driver and not vlan_mon_driver and not chap_secrets\"" - name: Display processes and dmesg after tests if: ${{ always() }} run: ssh -i ssh-key -p2222 -o ConnectTimeout=5 root@localhost "ps aux | grep accel- && dmesg" @@ -151,7 +150,7 @@ jobs: timeout-minutes: 5 run: > ssh -i ssh-key -p2222 root@localhost "cd accel-ppp/tests && - python3 -m pytest -Wall --order-dependencies -v -m \"not vlan_mon_driver\"" + python3 -m pytest -Wall --order-dependencies -v -m \"not vlan_mon_driver and not chap_secrets\"" - name: Display processes and dmesg after tests if: ${{ always() }} run: ssh -i ssh-key -p2222 -o ConnectTimeout=5 root@localhost "ps aux | grep accel- && dmesg" @@ -164,7 +163,7 @@ jobs: timeout-minutes: 5 run: > ssh -i ssh-key -p2222 root@localhost "cd accel-ppp/tests && - python3 -m pytest -Wall --order-dependencies -v" + python3 -m pytest -Wall --order-dependencies -v -m \"not chap_secrets\"" - name: Display processes and dmesg after tests if: ${{ always() }} run: ssh -i ssh-key -p2222 -o ConnectTimeout=5 root@localhost "ps aux | grep accel- && dmesg"