summaryrefslogtreecommitdiffstats
path: root/lib/oeqa/selftest/cases/updater_minnowboard.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/oeqa/selftest/cases/updater_minnowboard.py')
-rw-r--r--lib/oeqa/selftest/cases/updater_minnowboard.py13
1 files changed, 1 insertions, 12 deletions
diff --git a/lib/oeqa/selftest/cases/updater_minnowboard.py b/lib/oeqa/selftest/cases/updater_minnowboard.py
index 97b2a86..f5df584 100644
--- a/lib/oeqa/selftest/cases/updater_minnowboard.py
+++ b/lib/oeqa/selftest/cases/updater_minnowboard.py
@@ -1,9 +1,8 @@
1import os 1import os
2import re 2import re
3from time import sleep
4 3
5from oeqa.selftest.case import OESelftestTestCase 4from oeqa.selftest.case import OESelftestTestCase
6from oeqa.utils.commands import runCmd, bitbake, get_bb_var 5from oeqa.utils.commands import runCmd, get_bb_var
7from testutils import qemu_launch, qemu_send_command, qemu_terminate, verifyProvisioned 6from testutils import qemu_launch, qemu_send_command, qemu_terminate, verifyProvisioned
8 7
9 8
@@ -55,16 +54,6 @@ class MinnowTests(OESelftestTestCase):
55 self.assertEqual(value, machine, 54 self.assertEqual(value, machine,
56 'MACHINE does not match hostname: ' + machine + ', ' + value + 55 'MACHINE does not match hostname: ' + machine + ', ' + value +
57 '\nIs TianoCore ovmf installed on your host machine?') 56 '\nIs TianoCore ovmf installed on your host machine?')
58 print(value)
59 print('Checking output of aktualizr-info:')
60 ran_ok = False
61 for delay in [1, 2, 5, 10, 15]:
62 stdout, stderr, retcode = self.qemu_command('aktualizr-info')
63 if retcode == 0 and stderr == b'':
64 ran_ok = True
65 break
66 sleep(delay)
67 self.assertTrue(ran_ok, 'aktualizr-info failed: ' + stderr.decode() + stdout.decode())
68 57
69 verifyProvisioned(self, machine) 58 verifyProvisioned(self, machine)
70 59