Displaying 8 results from an estimated 8 matches for "execute_test".
2010 Jan 12
1
[PATCH] Adds the qemu log to the autotest output.
...69,6 +70,15 @@ Usage: $ME [-n test_name] [LOGFILE]
EOF
}
+# $1 - the nodename
+show_libvirt_log () {
+ local logfile=/var/log/libvirt/qemu/$1.log
+
+ printf "\n[${logfile}]\n"
+ sudo cat $logfile
+ printf "[${logfile}]\n\n"
+}
+
# $1 - the test function to call
execute_test () {
local testname=$1
@@ -404,6 +414,8 @@ destroy_node () {
sudo virsh undefine $nodename > /dev/null 2>&1
fi
fi
+
+ show_libvirt_log $nodename
fi
}
--
1.6.5.2
2009 Dec 15
1
[PATCH] The autotest timeout is now a command line configurable option.
...w) show_viewer=true;;
h) usage; exit 0;;
@@ -738,6 +741,7 @@ log "Logging results to file: ${RESULTS}"
log "Begin Testing: ${isoname}"
log "Tests: ${tests}"
+ log "Timeout: ${timeout_period} ms"
for test in ${tests}; do
execute_test $test
--
1.6.5.2
2009 May 19
1
[PATCH node-image] Fixing the autotest script.
...L. Pierce <dpierce at redhat.com>
---
autotest.sh | 115 +++++++++++++++++++++++++++++++++-------------------------
1 files changed, 65 insertions(+), 50 deletions(-)
diff --git a/autotest.sh b/autotest.sh
index 12d3e30..e5e23a8 100755
--- a/autotest.sh
+++ b/autotest.sh
@@ -81,8 +81,7 @@ execute_test () {
log "Completed test: $testname [result=$rc]"
if [ $rc -ne 0 ]; then
- log "Build fails smoke tests."
- exit 1
+ log "Build fails smoke tests."
fi
return $rc
@@ -103,7 +102,7 @@ setup_pxeboot () {
# set default kernel argu...
2010 Mar 26
3
[PATCH node] Update autobuild and autotest scripts for new build structure
...d: enable more verbose output (default: disabled)
+ -t: change the timeout between markers (in ms, default: 120)
+ -v: enable tracing (default: disabled)
+ -w: launch virt-viewer for each VM (default: no window shown)
+ -h: display this help and exit
+EOF
+}
+
+# $1 - the test function to call
+execute_test () {
+ local testname=$1
+
+ if [ -z $testname ]; then die "Missing test name"; fi
+
+ log "Executing test: $testname"
+
+ eval $testname
+
+ rc=$?
+ log "Completed test: $testname [result=$rc]"
+
+ if [ $rc -ne 0 ]; then
+ log "Build f...
2015 Oct 01
4
lld and thread over-subscription
...-Unit :: CoreTests/CoreTests/Range.user1 (25040 of 25181)
******************** TEST 'lld-Unit :: CoreTests/CoreTests/Range.user1' FAILED ********************
Exception during script execution:
Traceback (most recent call last):
File "/src/llvm/utils/lit/lit/run.py", line 166, in execute_test
result = test.config.test_format.execute(test, self.lit_config)
File "/src/llvm/utils/lit/lit/formats/googletest.py", line 113, in execute
cmd, env=test.config.environment)
File "/src/llvm/utils/lit/lit/util.py", line 166, in executeCommand
env=env, close_fds=kUs...
2015 Oct 01
2
lld and thread over-subscription
.../Range.user1 (25040 of
> 25181)
> ******************** TEST 'lld-Unit ::
> CoreTests/CoreTests/Range.user1' FAILED ********************
> Exception during script execution:
> Traceback (most recent call last):
> File "/src/llvm/utils/lit/lit/run.py", line 166, in execute_test
> result = test.config.test_format.execute(test, self.lit_config)
> File "/src/llvm/utils/lit/lit/formats/googletest.py", line 113, in
> execute
> cmd, env=test.config.environment)
> File "/src/llvm/utils/lit/lit/util.py", line 166, in executeCommand
> env=env,...
2015 Oct 03
2
lld and thread over-subscription
...40 of 25181)
>> ******************** TEST 'lld-Unit :: CoreTests/CoreTests/Range.user1'
>> FAILED ********************
>> Exception during script execution:
>> Traceback (most recent call last):
>> File "/src/llvm/utils/lit/lit/run.py", line 166, in execute_test
>> result = test.config.test_format.execute(test, self.lit_config)
>> File "/src/llvm/utils/lit/lit/formats/googletest.py", line 113, in
>> execute
>> cmd, env=test.config.environment)
>> File "/src/llvm/utils/lit/lit/util.py", line 166,...
2015 Oct 01
2
lld and thread over-subscription
Hi Rui, et al.,
I was experimenting yesterday with building lld on my POWER7 PPC64/Linux machine, and ran into an unfortunate problem. When running the regressions tests under lit, almost all of the tests fail like this:
terminate called after throwing an instance of 'std::system_error'
what(): Resource temporarily unavailable
...
5 libc.so.6 0x00000080b7847238 abort +