From: Richard Purdie Date: Wed, 2 Jun 2021 22:29:35 +0000 (+0100) Subject: qemurunner: Increase startup timeout 120 -> 300 X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~7576 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a40087c966af5ffb9309e1ddfdb3d06973e0bddd;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git qemurunner: Increase startup timeout 120 -> 300 We now spend time copying the VM image into a tmpfs and with IO load on the system, the time + the boot time of the VM can take longer than 120s. Increase the timeout to match the added overhead of copying the image file. Signed-off-by: Richard Purdie --- diff --git a/meta/lib/oeqa/utils/qemurunner.py b/meta/lib/oeqa/utils/qemurunner.py index 24af2fb20bb..5dc1a136e3b 100644 --- a/meta/lib/oeqa/utils/qemurunner.py +++ b/meta/lib/oeqa/utils/qemurunner.py @@ -65,7 +65,7 @@ class QemuRunner: self.boot_patterns = boot_patterns self.tmpfsdir = tmpfsdir - self.runqemutime = 120 + self.runqemutime = 300 if not workdir: workdir = os.getcwd() self.qemu_pidfile = workdir + '/pidfile_' + str(os.getpid())