diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-02-24 10:47:35 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-02-24 15:38:06 +0000 |
commit | 0ab3325ffb407dbce6aa5ccc20478568abd8b8fb (patch) | |
tree | 2a1f2885790d1f88863aab12ae5bdb37a76048d2 /meta/lib/oeqa | |
parent | 22fc74fc01ea9bc109217ba2456149ae7e824af7 (diff) | |
download | poky-0ab3325ffb407dbce6aa5ccc20478568abd8b8fb.tar.gz |
oeqa/selftest/prservice: Improve debug output for failure
We keep seeing this failure on the autobuilder but the output amounts
to "False is not True". Improve the debug message on the chance it may
make the issue clearer.
(From OE-Core rev: d03f4cf19c2cc96e9d942252a451521dfec42ebc)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa')
-rw-r--r-- | meta/lib/oeqa/selftest/cases/prservice.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oeqa/selftest/cases/prservice.py b/meta/lib/oeqa/selftest/cases/prservice.py index cb95503c2c..9fe3b80a31 100644 --- a/meta/lib/oeqa/selftest/cases/prservice.py +++ b/meta/lib/oeqa/selftest/cases/prservice.py | |||
@@ -77,7 +77,7 @@ class BitbakePrTests(OESelftestTestCase): | |||
77 | exported_db_path = os.path.join(self.builddir, 'export.inc') | 77 | exported_db_path = os.path.join(self.builddir, 'export.inc') |
78 | export_result = runCmd("bitbake-prserv-tool export %s" % exported_db_path, ignore_status=True) | 78 | export_result = runCmd("bitbake-prserv-tool export %s" % exported_db_path, ignore_status=True) |
79 | self.assertEqual(export_result.status, 0, msg="PR Service database export failed: %s" % export_result.output) | 79 | self.assertEqual(export_result.status, 0, msg="PR Service database export failed: %s" % export_result.output) |
80 | self.assertTrue(os.path.exists(exported_db_path)) | 80 | self.assertTrue(os.path.exists(exported_db_path), msg="%s didn't exist, tool output %s" % (exported_db_path, export_result.output)) |
81 | 81 | ||
82 | if replace_current_db: | 82 | if replace_current_db: |
83 | current_db_path = os.path.join(get_bb_var('PERSISTENT_DIR'), 'prserv.sqlite3') | 83 | current_db_path = os.path.join(get_bb_var('PERSISTENT_DIR'), 'prserv.sqlite3') |