summaryrefslogtreecommitdiffstats
path: root/meta/lib
diff options
context:
space:
mode:
authorJoshua Watt <JPEWhacker@gmail.com>2021-02-14 13:12:58 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-02-16 11:28:17 +0000
commit6b08be31ffef5b9b3125ab34833eae53c269d9e9 (patch)
treec571d95edd106b351f8a6565da6f7ee0ffe6011b /meta/lib
parentaeab16e89ae90f37dbf838aac9190ee62132101d (diff)
downloadpoky-6b08be31ffef5b9b3125ab34833eae53c269d9e9.tar.gz
oeqa: reproducible: Add more logging
The reproducible build tests can take a long time, so having more logging messages at various points in the build can help debug where the build is taking a long time. (From OE-Core rev: 6b792afe8759d62af8e713b86dad8f6721961a05) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib')
-rw-r--r--meta/lib/oeqa/selftest/cases/reproducible.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/lib/oeqa/selftest/cases/reproducible.py b/meta/lib/oeqa/selftest/cases/reproducible.py
index 7bc578a20f..99497522d2 100644
--- a/meta/lib/oeqa/selftest/cases/reproducible.py
+++ b/meta/lib/oeqa/selftest/cases/reproducible.py
@@ -261,6 +261,7 @@ class ReproducibleTests(OESelftestTestCase):
261 SSTATE_MIRRORS = "" 261 SSTATE_MIRRORS = ""
262 ''') 262 ''')
263 263
264 self.logger.info("Building %s (sstate%s allowed)..." % (name, '' if use_sstate else ' NOT'))
264 self.write_config(config) 265 self.write_config(config)
265 d = get_bb_vars(capture_vars) 266 d = get_bb_vars(capture_vars)
266 bitbake(' '.join(self.images)) 267 bitbake(' '.join(self.images))
@@ -287,6 +288,7 @@ class ReproducibleTests(OESelftestTestCase):
287 self.logger.info('Non-reproducible packages will be copied to %s', save_dir) 288 self.logger.info('Non-reproducible packages will be copied to %s', save_dir)
288 289
289 vars_A = self.do_test_build('reproducibleA', self.build_from_sstate) 290 vars_A = self.do_test_build('reproducibleA', self.build_from_sstate)
291
290 vars_B = self.do_test_build('reproducibleB', False) 292 vars_B = self.do_test_build('reproducibleB', False)
291 293
292 # NOTE: The temp directories from the reproducible build are purposely 294 # NOTE: The temp directories from the reproducible build are purposely
@@ -301,6 +303,7 @@ class ReproducibleTests(OESelftestTestCase):
301 deploy_A = vars_A['DEPLOY_DIR_' + c.upper()] 303 deploy_A = vars_A['DEPLOY_DIR_' + c.upper()]
302 deploy_B = vars_B['DEPLOY_DIR_' + c.upper()] 304 deploy_B = vars_B['DEPLOY_DIR_' + c.upper()]
303 305
306 self.logger.info('Checking %s packages for differences...' % c)
304 result = self.compare_packages(deploy_A, deploy_B, diffutils_sysroot) 307 result = self.compare_packages(deploy_A, deploy_B, diffutils_sysroot)
305 308
306 self.logger.info('Reproducibility summary for %s: %s' % (c, result)) 309 self.logger.info('Reproducibility summary for %s: %s' % (c, result))