diff options
author | Joshua Watt <JPEWhacker@gmail.com> | 2021-02-14 13:12:58 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-03-04 17:39:08 +0000 |
commit | 76a3b07f901f4ada87092f3ea9a95306273f2009 (patch) | |
tree | 1699b7c3dbd5efecd0deef21591c5f5a3b59fe92 /meta/lib | |
parent | 790949cec9962c1133d7086afb2c8806d43f6273 (diff) | |
download | poky-76a3b07f901f4ada87092f3ea9a95306273f2009.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: 60a9e095297b756175e4a414bbee297b74547a7a)
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: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib')
-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 d01a2665c2..d4800022df 100644 --- a/meta/lib/oeqa/selftest/cases/reproducible.py +++ b/meta/lib/oeqa/selftest/cases/reproducible.py | |||
@@ -161,6 +161,7 @@ class ReproducibleTests(OESelftestTestCase): | |||
161 | SSTATE_MIRRORS = "" | 161 | SSTATE_MIRRORS = "" |
162 | ''') | 162 | ''') |
163 | 163 | ||
164 | self.logger.info("Building %s (sstate%s allowed)..." % (name, '' if use_sstate else ' NOT')) | ||
164 | self.write_config(config) | 165 | self.write_config(config) |
165 | d = get_bb_vars(capture_vars) | 166 | d = get_bb_vars(capture_vars) |
166 | bitbake(' '.join(self.images)) | 167 | bitbake(' '.join(self.images)) |
@@ -187,6 +188,7 @@ class ReproducibleTests(OESelftestTestCase): | |||
187 | self.logger.info('Non-reproducible packages will be copied to %s', save_dir) | 188 | self.logger.info('Non-reproducible packages will be copied to %s', save_dir) |
188 | 189 | ||
189 | vars_A = self.do_test_build('reproducibleA', self.build_from_sstate) | 190 | vars_A = self.do_test_build('reproducibleA', self.build_from_sstate) |
191 | |||
190 | vars_B = self.do_test_build('reproducibleB', False) | 192 | vars_B = self.do_test_build('reproducibleB', False) |
191 | 193 | ||
192 | # NOTE: The temp directories from the reproducible build are purposely | 194 | # NOTE: The temp directories from the reproducible build are purposely |
@@ -201,6 +203,7 @@ class ReproducibleTests(OESelftestTestCase): | |||
201 | deploy_A = vars_A['DEPLOY_DIR_' + c.upper()] | 203 | deploy_A = vars_A['DEPLOY_DIR_' + c.upper()] |
202 | deploy_B = vars_B['DEPLOY_DIR_' + c.upper()] | 204 | deploy_B = vars_B['DEPLOY_DIR_' + c.upper()] |
203 | 205 | ||
206 | self.logger.info('Checking %s packages for differences...' % c) | ||
204 | result = self.compare_packages(deploy_A, deploy_B, diffutils_sysroot) | 207 | result = self.compare_packages(deploy_A, deploy_B, diffutils_sysroot) |
205 | 208 | ||
206 | self.logger.info('Reproducibility summary for %s: %s' % (c, result)) | 209 | self.logger.info('Reproducibility summary for %s: %s' % (c, result)) |