Skip to content

Commit c7e115e

Browse files
committed
debug logs
1 parent 1b540f9 commit c7e115e

File tree

1 file changed

+26
-3
lines changed

1 file changed

+26
-3
lines changed

.github/workflows/_reusable_run_tests.yml

Lines changed: 26 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,21 @@ 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+
145160
echo "Installing Apple container CLI..."
146161
tmpdir="$(mktemp -d)"
147162
curl -fsSL -o "$tmpdir/container-installer-signed.pkg" \
@@ -150,8 +165,17 @@ jobs:
150165
sudo installer -pkg "$tmpdir/container-installer-signed.pkg" -target /
151166
container --version
152167
153-
# Start once so system components are prepared (non-interactive)
154-
yes | sudo container system start
168+
echo "== container system start =="
169+
container system start || true
170+
171+
echo "== container system status =="
172+
container system status || true
173+
174+
echo "== container system logs (last 200) =="
175+
container system logs --last 200 || true
176+
177+
echo "== launchctl (user domain) =="
178+
launchctl print gui/$(id -u) | head -n 120 || true
155179
156180
157181
- name: Start Testservice
@@ -177,7 +201,6 @@ jobs:
177201
exit 0
178202
fi
179203
180-
# Readiness check (prefer a real endpoint, not / which may 404)
181204
for i in {1..45}; do
182205
if curl -fsS "http://localhost:8080/api/v1/instance" >/dev/null 2>&1; then
183206
echo "Testservice reachable at http://localhost:8080"

0 commit comments

Comments
 (0)