99jobs :
1010 stm32h563_m33mu_ssh_tzen :
1111 runs-on : ubuntu-latest
12- timeout-minutes : 45
12+ timeout-minutes : 20
1313 container :
1414 image : ghcr.io/wolfssl/wolfboot-ci-m33mu:latest
1515 options : --privileged
5656 grep -Fq "Initializing SSH server" /tmp/wolfip-app.strings
5757
5858 - name : Run m33mu + DHCP + SSH test
59- timeout-minutes : 30
59+ timeout-minutes : 10
6060 run : |
6161 set -euo pipefail
6262
@@ -87,13 +87,12 @@ jobs:
8787 sudo dnsmasq --conf-file=/tmp/dnsmasq.conf --pid-file=/tmp/dnsmasq.pid
8888
8989 # wolfBoot does a full software ECC256 verify of the 300 KB
90- # signed NS image, which takes ~10 minutes inside m33mu before
91- # it BLXNSes into wolfIP. Allow up to 25 minutes total runtime
92- # and ~20 minutes for the DHCP lease to appear.
90+ # signed NS image before it BLXNSes into wolfIP. End-to-end the
91+ # m33mu run takes ~3 minutes; 360s gives ~2x headroom.
9392 sudo m33mu \
9493 ../wolfboot/wolfboot.bin \
9594 src/port/stm32h563/app_v1_signed.bin:0x60000 \
96- --cpu stm32h563 --tap:tap0 --uart-stdout --timeout 1500 --quit-on-faults \
95+ --cpu stm32h563 --tap:tap0 --uart-stdout --timeout 360 --quit-on-faults \
9796 2>&1 | tee /tmp/m33mu.log &
9897 sleep 1
9998 m33mu_pid="$(pgrep -n -x m33mu || true)"
@@ -102,7 +101,7 @@ jobs:
102101 fi
103102
104103 ip=""
105- for _ in $(seq 1 1200 ); do
104+ for _ in $(seq 1 300 ); do
106105 if [ -s /tmp/dnsmasq.leases ]; then
107106 ip="$(tail -n1 /tmp/dnsmasq.leases | cut -d' ' -f3)"
108107 fi
0 commit comments