#At bzr+ssh://bk-internal.mysql.com/bzrroot/mysql-falcon/ based on
revid:hky@stripped
312 Hakan Kuecuekyilmaz 2008-11-26
Finished initial version of iuds6.tst runner
with crash detection.
modified:
system-qa/bzr_pull_and_prepare_system-qa.sh
system-qa/include/host_caneland.inc
system-qa/include/host_lu0009.inc
system-qa/run_iuds6.sh
per-file messages:
system-qa/bzr_pull_and_prepare_system-qa.sh
Added bzr init-repo in case of initial branching.
system-qa/include/host_caneland.inc
Which mail program to use?
system-qa/include/host_lu0009.inc
Which mail program to use?
system-qa/run_iuds6.sh
Simple check for crash.
=== modified file 'system-qa/bzr_pull_and_prepare_system-qa.sh'
--- a/system-qa/bzr_pull_and_prepare_system-qa.sh 2008-11-25 12:12:50 +0000
+++ b/system-qa/bzr_pull_and_prepare_system-qa.sh 2008-11-26 19:14:11 +0000
@@ -150,6 +150,7 @@ mkdir ${WORK}/${CURRENT_BUILD}
# Get new working copy.
if [ ! -d $FALCON_LOCAL_MASTER ]; then
+ bzr init-repo $WORK
bzr branch ${FALCON_BZR_ROOT}/${FALCON} $FALCON_LOCAL_MASTER >> $LOG
2>&1
fi
if [ $? != 0 ]; then
=== modified file 'system-qa/include/host_caneland.inc'
--- a/system-qa/include/host_caneland.inc 2008-11-25 16:16:43 +0000
+++ b/system-qa/include/host_caneland.inc 2008-11-26 19:14:11 +0000
@@ -38,3 +38,6 @@ BZR_USER_NAME='hakank'
# Concurrency used for make -j<concurrency>.
CONCURRENCY=25
+
+# Path to mail program which accepts -s for sending mails.
+MAIL=mail
=== modified file 'system-qa/include/host_lu0009.inc'
--- a/system-qa/include/host_lu0009.inc 2008-11-20 17:09:23 +0000
+++ b/system-qa/include/host_lu0009.inc 2008-11-26 19:14:11 +0000
@@ -38,3 +38,6 @@ BZR_USER_NAME='hakank'
# Concurrency used for make -j<concurrency>.
CONCURRENCY=9
+
+# Path to mail program which accepts -s for sending mails.
+MAIL=mail
=== modified file 'system-qa/run_iuds6.sh'
--- a/system-qa/run_iuds6.sh 2008-11-20 17:09:23 +0000
+++ b/system-qa/run_iuds6.sh 2008-11-26 19:14:11 +0000
@@ -40,6 +40,7 @@ source "$HOST_INCLUDE_FILE"
#
RUN_SYSTEST='run_systest'
OPTIONS='--scenario=iuds6.tst'
+STACKTRACE='This could be because you hit a bug'
#
# Files.
@@ -96,9 +97,17 @@ fi
#
killall_iuds6_processes()
-
-# TODO
+#
# Check for errors.
#
# - $SYSTEM_QA_WORK/res_init/error*.txt
# - $SYSTEM_QA_WORK/res_run*/error*.txt
+# find . -name "*err*"
+
+CRASH=$(grep "$STACKTRACE" ${ARCHIVE_DIR}/mysql-test/var/log/master.err)
+if [ x"$CRASH" != x"" ]; then
+ # There was a crash! Mail out info.
+ echo "There was a crash on $HOSTNAME" | $MAIL -a
${ARCHIVE_DIR}/mysql-test/var/log/master.err -s "[ERROR]: iuds6.tst failure on $HOSTNAME"
$ADMIN
+else
+ echo "iuds6.tst finished without crash. Please check for others errors on $HOSTNAME"
| $MAIL -s "[INFO]: iuds6.tst finished on $HOSTNAME" $ADMIN
+fi
| Thread |
|---|
| • bzr commit into mysql-falcon branch (hky:312) | Hakan Kuecuekyilmaz | 26 Nov |