]> code.ossystems Code Review - openembedded-core.git/commitdiff
qemurunner: Increase startup timeout 120 -> 300
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 2 Jun 2021 22:29:35 +0000 (23:29 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 11 Jun 2021 22:49:47 +0000 (23:49 +0100)
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 <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/utils/qemurunner.py

index 24af2fb20bb005df9fe3f8f0f5a40a75ad579e80..5dc1a136e3bde1b3e7d51e085f2b4d438db1f86b 100644 (file)
@@ -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())