diff options
author | Joshua Watt <JPEWhacker@gmail.com> | 2021-02-14 13:12:58 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-02-26 15:30:40 +0000 |
commit | ceb37a91c1f45a889744fa3be39cd4b75844b2a3 (patch) | |
tree | 3eb3438196977b35c0578a7b8a76b7c54862973e | |
parent | b43ba849f9c220f0e42e3903817e2774f15588cc (diff) | |
download | poky-ceb37a91c1f45a889744fa3be39cd4b75844b2a3.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: 3ea201b2bcb40a3de6a2e36a43859fe354706b26)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6b792afe8759d62af8e713b86dad8f6721961a05)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/lib/oeqa/selftest/cases/reproducible.py | 3 |
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 2d675f1771..4f9adaf301 100644 --- a/meta/lib/oeqa/selftest/cases/reproducible.py +++ b/meta/lib/oeqa/selftest/cases/reproducible.py | |||
@@ -187,6 +187,7 @@ class ReproducibleTests(OESelftestTestCase): | |||
187 | SSTATE_MIRRORS = "" | 187 | SSTATE_MIRRORS = "" |
188 | ''') | 188 | ''') |
189 | 189 | ||
190 | self.logger.info("Building %s (sstate%s allowed)..." % (name, '' if use_sstate else ' NOT')) | ||
190 | self.write_config(config) | 191 | self.write_config(config) |
191 | d = get_bb_vars(capture_vars) | 192 | d = get_bb_vars(capture_vars) |
192 | bitbake(' '.join(self.images)) | 193 | bitbake(' '.join(self.images)) |
@@ -213,6 +214,7 @@ class ReproducibleTests(OESelftestTestCase): | |||
213 | self.logger.info('Non-reproducible packages will be copied to %s', save_dir) | 214 | self.logger.info('Non-reproducible packages will be copied to %s', save_dir) |
214 | 215 | ||
215 | vars_A = self.do_test_build('reproducibleA', self.build_from_sstate) | 216 | vars_A = self.do_test_build('reproducibleA', self.build_from_sstate) |
217 | |||
216 | vars_B = self.do_test_build('reproducibleB', False) | 218 | vars_B = self.do_test_build('reproducibleB', False) |
217 | 219 | ||
218 | # NOTE: The temp directories from the reproducible build are purposely | 220 | # NOTE: The temp directories from the reproducible build are purposely |
@@ -227,6 +229,7 @@ class ReproducibleTests(OESelftestTestCase): | |||
227 | deploy_A = vars_A['DEPLOY_DIR_' + c.upper()] | 229 | deploy_A = vars_A['DEPLOY_DIR_' + c.upper()] |
228 | deploy_B = vars_B['DEPLOY_DIR_' + c.upper()] | 230 | deploy_B = vars_B['DEPLOY_DIR_' + c.upper()] |
229 | 231 | ||
232 | self.logger.info('Checking %s packages for differences...' % c) | ||
230 | result = self.compare_packages(deploy_A, deploy_B, diffutils_sysroot) | 233 | result = self.compare_packages(deploy_A, deploy_B, diffutils_sysroot) |
231 | 234 | ||
232 | self.logger.info('Reproducibility summary for %s: %s' % (c, result)) | 235 | self.logger.info('Reproducibility summary for %s: %s' % (c, result)) |