poky/scripts/qemuimage-tests/sanity/boot
Richard Purdie 7f468c2247 qemuimage-tests/sanity/boot: Increase timeout
As we've increased the parallelisation on the build servers, we've started to see
core-image-minimal sanity test boot failures where the network never comes up. We
don't see those failures for core-image-sato, its always minimal.

Looking at the results, it can take ~100 seconds for the network to come up,
even on the sato images if the machine has a high load. The timeout for the boot
test is only 120 seconds compared to 400 on every other test.

This change makes the timeout equal for all the tests at 400 seconds in the hope
that the load on the autobuilder is causing the sanity tests to run slowly and
hence triggering the false negatives.

(From OE-Core rev: f03a0eb83be9acb1b418ff4632611a32bd69bf6c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-23 13:00:54 +01:00

580 B
Executable File

#!/bin/bash

Boot Test Case for Sanity Test

The case boot up the Qemu target with runqemu qemuxxx.

Then check if qemu and qemu network is up.

Author: Jiajun Xu jiajun.xu@intel.com

This file is licensed under the GNU General Public License,

Version 2.

. $COREBASE/scripts/qemuimage-testlib

TIMEOUT=400

Start qemu and check its network

Test_Create_Qemu ${TIMEOUT}

if [ $? -eq 0 ]; then Test_Info "Boot Test PASS" Test_Kill_Qemu Test_Print_Result "Boot" 0 exit 0 else Test_Info "Boot Test FAIL" Test_Kill_Qemu Test_Print_Result "Boot" 1 exit 1 fi