@@ -141,6 +141,7 @@ jobs:
141
141
system_profiler SPStorageDataType | sed -n '1,200p' || true
142
142
143
143
echo "=== Network ==="
144
+ echo $HTTP_PROXY
144
145
ifconfig
145
146
networksetup -listallhardwareports || true
146
147
scutil --get HostName || true
@@ -153,6 +154,7 @@ jobs:
153
154
echo "=== Uptime and Load ==="
154
155
uptime
155
156
sysctl kern.boottime || true
157
+ top -l 1 -n 0 | head -n 10 || true
156
158
157
159
echo "=== Security ==="
158
160
spctl --status || true
@@ -208,6 +210,7 @@ jobs:
208
210
df -h || true
209
211
210
212
echo "=== Network ==="
213
+ echo $HTTP_PROXY
211
214
ip addr show || true
212
215
ip route || true
213
216
ip -s link || true
@@ -219,6 +222,7 @@ jobs:
219
222
echo "=== Uptime and Load ==="
220
223
uptime || true
221
224
who -b || true
225
+ top -b -n1 | head -n 10 || true
222
226
cat /proc/loadavg || true
223
227
awk '{printf "Uptime (seconds): %s\n", $1}' /proc/uptime 2>/dev/null || true
224
228
- uses : actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5
@@ -413,7 +417,7 @@ jobs:
413
417
go tool test2json -t < ./report/testout.txt > ./report/testout.json || true
414
418
STAT=$(gopogh -in ./report/testout.json -out_html ./report/testout.html -out_summary ./report/testout_summary.json -name "${{ matrix.name }} ${GITHUB_REF}" -repo "${GITHUB_REPOSITORY}" -details "${GITHUB_SHA}") || true
415
419
# Check if the test step failed AND the log contains "timed out"
416
- if [[ "${{ steps.run_test.outcome }}" == "failure" && $(grep -c "timed out" ./report/testout.txt) -gt 0 ]]; then
420
+ if [[ "${{ steps.run_test.outcome }}" == "failure" && $(grep -c "panic: test timed out" ./report/testout.txt) -gt 0 ]]; then
417
421
# If it was a timeout, set your custom message
418
422
RESULT_SHORT="⌛⌛⌛ Test Timed out ${TIME_ELAPSED} ⌛⌛⌛"
419
423
else
0 commit comments