Displaying 5 results from an estimated 5 matches for "test_stateful_pxe".
2009 Jul 21
1
[PATCH node-image] Moved all temporary files into a single work directory to clean up.
...less_pxe_with_nohd"
test_stateless_pxe_with_nohd () {
local nodename="${vm_prefix}-stateless-pxe-nohd"
- local workdir=$(mktemp -d)
+ local workdir=$WORKDIR
start_networking $nodename $IFACE_NAME false true $workdir
@@ -556,7 +557,7 @@ exit 3'
add_test "test_stateful_pxe"
test_stateful_pxe () {
local nodename="${vm_prefix}-stateful-pxe"
- local workdir=$(mktemp -d)
+ local workdir=$WORKDIR
local ipaddress=${NODE_ADDRESS}
for var in nodename workdir ipaddress; do
@@ -683,6 +684,7 @@ cleanup_after_testing () {
destroy_n...
2009 Jul 16
1
[PATCH node-image] Removes the explicit setting of the emulator for testing.
...evices
result="${result}\n<devices>"
- result="${result}\n<emulator>${emulator}</emulator>"
# inject the hard disk if defined
if [ -n "$harddrive" ]; then
debug "Adding a hard drive to the node"
@@ -566,7 +564,7 @@ test_stateful_pxe () {
start_networking $nodename $IFACE_NAME false true $workdir
configure_node "${nodename}" "network" "" "10000" "" "local noapic=true"
- boot_with_pxe "${nodename}" "standalone storage_init=/dev/vda local_bo...
2009 Dec 15
1
[PATCH] The autotest timeout is now a command line configurable option.
...s-pxe.log
@@ -526,7 +527,7 @@ test_stateless_pxe_with_nohd () {
boot_with_pxe "${nodename}" "firstboot=no" "${workdir}"
expect -c '
-set timeout 120
+set timeout '${timeout_period}'
log_file -noappend stateless-pxe.log
@@ -575,7 +576,7 @@ test_stateful_pxe () {
# verify the booting and installation
expect -c '
-set timeout 120
+set timeout '${timeout_period}'
log_file -noappend stateful-pxe.log
spawn sudo virsh console '"${nodename}"'
@@ -608,7 +609,7 @@ exit 3'
boot_from_hd "${nodename...
2010 Mar 26
3
[PATCH node] Update autobuild and autotest scripts for new build structure
...it 1
+ } eof {
+ send_log "Unexpected end of file."
+ exit 2
+ }
+}
+
+send_log "\n\nUnexpected end of interaction.\n\n"
+exit 3'
+
+ result=$?
+
+ destroy_node $nodename
+ stop_networking $IFACE_NAME true
+
+ return $result
+}
+
+add_test "test_stateful_pxe"
+test_stateful_pxe () {
+ local nodename="${vm_prefix}-stateful-pxe"
+ local workdir=$WORKDIR
+ local ipaddress=${NODE_ADDRESS}
+
+ for var in nodename workdir ipaddress; do
+ eval debug "::\$$var: $var"
+ done
+
+ start_networking $nodename $IFACE...
2009 May 19
1
[PATCH node-image] Fixing the autotest script.
...1
} eof {
- send_log "Unexpected end of file."
- exit 2
+ send_log "Unexpected end of file."
+ exit 2
}
}
send_log "\n\nUnexpected end of interaction.\n\n"
exit 3'
+
result=$?
destroy_node $nodename
@@ -568,7 +566,7 @@ test_stateful_pxe () {
start_networking $nodename $IFACE_NAME false true $workdir
configure_node "${nodename}" "network" "" "10000" "" "local noapic=true"
- boot_with_pxe "${nodename}" "ovirt_standalone ovirt_init=/dev/vda ovir...