summaryrefslogtreecommitdiff
path: root/round-robin-bisect.sh
diff options
context:
space:
mode:
authorChristophe Lyon <christophe.lyon@linaro.org>2020-02-14 13:45:57 +0000
committerChristophe Lyon <christophe.lyon@linaro.org>2020-02-18 14:12:27 +0000
commitba03ff8ab02f3754c40c2eefff21bdd5b3fee1bc (patch)
treef1cd8b7b94dcfdcfc552ecc7bed38c127ea2445b /round-robin-bisect.sh
parentb8d32cdee5ac1f71f84c5abf86708ad5cca8fbd3 (diff)
Round-robin scripts: improve regression email contents
When a regression occurs after the build phase, don't include harmless errors from the the build stage, and provide info from the test phase. Change-Id: I75ce76e81ecbda4492bb49e7d765c25cac599f12
Diffstat (limited to 'round-robin-bisect.sh')
-rwxr-xr-xround-robin-bisect.sh13
1 files changed, 3 insertions, 10 deletions
diff --git a/round-robin-bisect.sh b/round-robin-bisect.sh
index ff027257..7f67484d 100755
--- a/round-robin-bisect.sh
+++ b/round-robin-bisect.sh
@@ -495,16 +495,9 @@ Could not identify regression in *$current_project* in CI configuration ${rr[ci_
EOF
fi
-# In log scan for errors below
-# - sed -e 's/"[^"]*"//g' -- removes quoted "error: app diagnostics" strings
-# - " error:" detects compiler errors from GCC and Clang (including GCC ICEs)
-# - "^ERROR:" detects linker errors
-# - ": undefined reference" detects missing symbols during linking
-# - "] Error " detects GNU make errors
-cat >> $artifacts/jenkins/mail-body.txt <<EOF
-First few errors in logs of $bad_name:
-$(cat $artifacts/build-$bad_sha1/console.log | sed -e 's/"[^"]*"//g' | grep " error:\|^ERROR:\|: undefined reference\|\] Error " | head)
-EOF
+# Include error logs
+cat $artifacts/build-$bad_sha1/regressions.txt | tee -a $artifacts/jenkins/mail-body.txt
+
if [ x"${JIRA_PASSWORD+set}" = x"set" -a -f $artifacts/first-bad ]; then
case "${rr[ci_project]}/${rr[ci_config]}" in