@@ -142,21 +142,6 @@ jobs:
142142 run : |
143143 set -euo pipefail
144144
145- echo "== Runner uname =="
146- uname -a
147-
148- echo "== macOS sw_vers =="
149- sw_vers || true
150-
151- echo "== System Version Plist =="
152- cat /System/Library/CoreServices/SystemVersion.plist || true
153-
154- echo "== Xcode path =="
155- xcode-select -p || true
156-
157- echo "== Host Architecture =="
158- arch || true
159-
160145 echo "Installing Apple container CLI..."
161146 tmpdir="$(mktemp -d)"
162147 curl -fsSL -o "$tmpdir/container-installer-signed.pkg" \
@@ -180,25 +165,26 @@ jobs:
180165
181166 - name : Start Testservice
182167 if : ${{ inputs.run_critical_flows }}
183- continue-on-error : true
184168 shell : bash
185169 run : |
186170 set -euo pipefail
187171 echo "Starting Testservice container (Apple container CLI)..."
188172
189173 # Ensure container system is running (first run may install components; keep non-interactive)
190- yes | sudo container system start || true
174+ container system start || true
191175
192176 # Cleanup any previous run
193- sudo container delete wire-testservice >/dev/null 2>&1 || true
177+ container delete wire-testservice >/dev/null 2>&1 || true
194178
195- # Run and publish ports to localhost (to match hardcoded UI test URL)
196- if ! sudo container run --detach --name wire-testservice \
179+ # Run and publish ports to localhost
180+ if ! container run --detach --name wire-testservice \
197181 --publish 127.0.0.1:8080:8080/tcp \
198182 --publish 127.0.0.1:8081:8081/tcp \
199183 quay.io/wire/testservice:latest; then
200- echo "::warning::Failed to start Testservice with Apple container. UI tests may fail where they require Testservice."
201- exit 0
184+ echo "::error::Failed to start Testservice with Apple container. Aborting job."
185+ container system status || true
186+ container system logs --last 200 || true
187+ exit 1
202188 fi
203189
204190 for i in {1..45}; do
@@ -209,9 +195,11 @@ jobs:
209195 sleep 1
210196 done
211197
212- echo "::warning::Testservice not reachable on http://localhost:8080 within 45s"
213- sudo container logs wire-testservice || true
214- exit 0
198+ echo "::error::Testservice not reachable on http://localhost:8080 within 45s"
199+ container logs wire-testservice || true
200+ container system status || true
201+ container system logs --last 200 || true
202+ exit 1
215203
216204 - name : Install 1Password
217205 if : ${{ inputs.run_critical_flows }}
@@ -333,7 +321,7 @@ jobs:
333321 if : always()
334322 shell : bash
335323 run : |
336- sudo container delete wire-testservice >/dev/null 2>&1 || true
324+ container delete wire-testservice >/dev/null 2>&1 || true
337325
338326 - name : Archiving DerivedData Logs
339327 uses : actions/upload-artifact@v4
0 commit comments