summaryrefslogtreecommitdiffstats
path: root/lib/oeqa/selftest/cases/updater_minnowboard.py
diff options
context:
space:
mode:
authorLaurent Bonnans <laurent.bonnans@here.com>2019-03-21 13:59:52 +0100
committerLaurent Bonnans <laurent.bonnans@here.com>2019-03-21 13:59:52 +0100
commite1867d7a7bd52d79fa3d051bb7b16f50934b88e6 (patch)
treed4aca54f1e8ff8e2a3409c2df2506f1f17152d3e /lib/oeqa/selftest/cases/updater_minnowboard.py
parent262654d184264412498abb461b34c47ec3736e78 (diff)
downloadmeta-updater-e1867d7a7bd52d79fa3d051bb7b16f50934b88e6.tar.gz
Cleanup (not) provisioned checks in oe-selftestfeat/OTA-2142/aktualizr-resource-control
Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
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