From 27c3728bf35cf61cec77dccfccaee2048c2cc6ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20M=C3=BChlstrasser?= Date: Mon, 26 Feb 2024 21:36:49 +0100 Subject: [PATCH] Try a fix for hanging QEMU runs Check whether producing an endless stream of data with "yes" could be the cause for the QEMU hangs in the GitHub action. --- .github/workflows/smoketest.yaml | 2 +- libs/circle-newlib | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/smoketest.yaml b/.github/workflows/smoketest.yaml index 84cefcf..c0cfb02 100644 --- a/.github/workflows/smoketest.yaml +++ b/.github/workflows/smoketest.yaml @@ -116,4 +116,4 @@ jobs: # Guard against endless loop in QEMU run (120 CPU secs) ulimit -t 120 # Run QEMU with simulated network - $CFG_QEMU_BIN -M ${{ matrix.config.qemu-machine }} $CFG_QEMU_OPT $CFG_QEMU_IMG -display none -nographic -semihosting -sd sdcard.img -netdev "user,id=net0,hostfwd=tcp::5000-:5000,guestfwd=tcp:10.0.2.100:5001-cmd:yes simulated server" -device usb-net,netdev=net0 + $CFG_QEMU_BIN -M ${{ matrix.config.qemu-machine }} $CFG_QEMU_OPT $CFG_QEMU_IMG -display none -nographic -semihosting -sd sdcard.img -netdev "user,id=net0,hostfwd=tcp::5000-:5000,guestfwd=tcp:10.0.2.100:5001-cmd:/bin/echo simulated server" -device usb-net,netdev=net0 diff --git a/libs/circle-newlib b/libs/circle-newlib index 8558c64..c937ed5 160000 --- a/libs/circle-newlib +++ b/libs/circle-newlib @@ -1 +1 @@ -Subproject commit 8558c64b81c3c07da84a9ea3f7aee2d6e366529d +Subproject commit c937ed51246545aa323324e1341af118c783dc12