oeqa/selftest/tinfoil: Drop test for functionality removed upstream
PATCH 1/2 oeqa/selftest/tinfoil: Drop test for functionality removed upstream
bitbake dropped support for this piece of functionality (the test was the only user), drop the test too.
Signed-off-by Richard Purdie <[email protected]>
--- meta/lib/oeqa/selftest/cases/tinfoil.py | 13 ------------- 1 file changed, 13 deletions(-)
meta/lib/oeqa/selftest/cases/tinfoil.py +0 -13
@@ -65,19 +65,6 @@ class TinfoilTests(OESelftestTestCase): localdata.setVar('PN', 'hello') self.assertEqual('hello', localdata.getVar('BPN')) - def test_parse_recipe_initial_datastore(self): - with bb.tinfoil.Tinfoil() as tinfoil: - tinfoil.prepare(config_only=False, quiet=2) - testrecipe = 'mdadm' - best = tinfoil.find_best_provider(testrecipe) - if not best: - self.fail('Unable to find recipe providing %s' % testrecipe) - dcopy = bb.data.createCopy(tinfoil.config_data) - dcopy.setVar('MYVARIABLE', 'somevalue') - rd = tinfoil.parse_recipe_file(best[3], config_data=dcopy) - # Check we can get variable values - self.assertEqual('somevalue', rd.getVar('MYVARIABLE')) - def test_list_recipes(self): with bb.tinfoil.Tinfoil() as tinfoil: tinfoil.prepare(config_only=False, quiet=2)
Signature · 1 line
2.25.1
PATCH 2/2 oeqa/qemurunner: Don't print a warning for harmless exception
Printing a warning for something which is harmless just causes the people monitoring the autobuilder more work. Silently ignore this race.
Signed-off-by Richard Purdie <[email protected]>
--- meta/lib/oeqa/utils/qemurunner.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
meta/lib/oeqa/utils/qemurunner.py +2 -1
@@ -430,7 +430,8 @@ class QemuRunner: try: os.remove(self.qemu_pidfile) except FileNotFoundError as e: - self.logger.warning('qemu pidfile is no longer present') + # We raced, ignore + pass if self.monitorpipe: self.monitorpipe.close()
Signature · 1 line
2.25.1