diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-03-30 09:02:35 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-03-30 09:07:39 +0000 |
commit | 53071c6b569067f98c558ee667bb1a4be0d8f6db (patch) | |
tree | 2af3574eedee28e35f7bef794fdcf935d9f96557 /scripts/qemuimage-testlib | |
parent | 79a2252545ab50c79e00e02c328191c1163f917d (diff) | |
download | openembedded-core-53071c6b569067f98c558ee667bb1a4be0d8f6db.tar.gz openembedded-core-53071c6b569067f98c558ee667bb1a4be0d8f6db.tar.bz2 openembedded-core-53071c6b569067f98c558ee667bb1a4be0d8f6db.zip |
qemuimage-testlib: Increase qemu startup timeouts
We are seeing timeouts on the autobuilder where qemu does start but the script
doesn't appear to be able to detect it in time. This patch increases the
timeouts since there seems little harm in doing so.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/qemuimage-testlib')
-rwxr-xr-x | scripts/qemuimage-testlib | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/qemuimage-testlib b/scripts/qemuimage-testlib index 9aaf552f48..8fb2538490 100755 --- a/scripts/qemuimage-testlib +++ b/scripts/qemuimage-testlib @@ -418,7 +418,7 @@ Test_Create_Qemu() sleep 5 fi - while [ ${up_time} -lt 10 ] + while [ ${up_time} -lt 30 ] do QEMUPID=`qemuimage-testlib-pythonhelper --findqemu $XTERMPID 2>/dev/null` if [ $? -ne 0 ]; then @@ -432,7 +432,7 @@ Test_Create_Qemu() fi done - if [ ${up_time} == 10 ]; then + if [ ${up_time} == 30 ]; then Test_Info "No qemu process appeared to start, exiting" ps axww -O ppid Test_Info "Process list dumped for debugging purposes" @@ -442,6 +442,7 @@ Test_Create_Qemu() return 1 fi + up_time=0 # Parse IP address of target from the qemu command line TARGET_IPADDR=`Test_Fetch_Target_IP $QEMUPID` echo "Target IP is ${TARGET_IPADDR}" |