Skip to content

Commit 31dd761

Browse files
authored
Update platform check to fall back to any reference to platform
1 parent cebefd5 commit 31dd761

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

bin/analyze_job_output.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,8 @@ def parse_log(osg_test_log, test_exceptions, components):
232232
# Get the arch of the host
233233
# This can currently be found by RPM names in the logs, but we might want
234234
# to make it a first class log message
235-
platform = re_extract(r'el[0-9]\.(aarch64|x86_64).rpm', run_job_log, group=1)
235+
platform = (re_extract(r'el[0-9]\.(aarch64|x86_64).rpm', run_job_log, group=1) or
236+
re_extract(r'(aarch64|x86_64)', run_job_log, group=1))
236237
data['platform'] = platform
237238

238239
# Look for whole-run failures

0 commit comments

Comments
 (0)