summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2024-11-21 14:55:44 +0000
committerSteve Sakoman <steve@sakoman.com>2024-12-09 06:54:14 -0800
commit96900f953f9dde46d1e7408412b75ab560d83c6a (patch)
tree66a4b674b19e3047c7bd9806c4eafd209ce7f134
parent924cf07fc0edd83a70f2542ea76b8adec6451647 (diff)
downloadpoky-96900f953f9dde46d1e7408412b75ab560d83c6a.tar.gz
selftest/reproducible: Drop rawlogs
The "rawlogs" data consists of a long string of results data which is already in a structured data format. I can't see this is adding much value in duplciating the data but it does create a huge string with a lot of long problematic pathnames and inflates the results data size. I suggest we drop this data as obsolete and not necessary. (From OE-Core rev: 296f64cbf83c40759b368526335502a6b130aa14) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 5b2c70fab2ffa409b861d83f048b65d458d03a90) Signed-off-by: Steve Sakoman <steve@sakoman.com>
-rw-r--r--meta/lib/oeqa/selftest/cases/reproducible.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/meta/lib/oeqa/selftest/cases/reproducible.py b/meta/lib/oeqa/selftest/cases/reproducible.py
index 021e894012..139c43c7e0 100644
--- a/meta/lib/oeqa/selftest/cases/reproducible.py
+++ b/meta/lib/oeqa/selftest/cases/reproducible.py
@@ -177,12 +177,8 @@ class ReproducibleTests(OESelftestTestCase):
177 self.sstate_targets = bb_vars['OEQA_REPRODUCIBLE_TEST_SSTATE_TARGETS'].split() 177 self.sstate_targets = bb_vars['OEQA_REPRODUCIBLE_TEST_SSTATE_TARGETS'].split()
178 178
179 self.extraresults = {} 179 self.extraresults = {}
180 self.extraresults.setdefault('reproducible.rawlogs', {})['log'] = ''
181 self.extraresults.setdefault('reproducible', {}).setdefault('files', {}) 180 self.extraresults.setdefault('reproducible', {}).setdefault('files', {})
182 181
183 def append_to_log(self, msg):
184 self.extraresults['reproducible.rawlogs']['log'] += msg
185
186 def compare_packages(self, reference_dir, test_dir, diffutils_sysroot): 182 def compare_packages(self, reference_dir, test_dir, diffutils_sysroot):
187 result = PackageCompareResults(self.oeqa_reproducible_excluded_packages) 183 result = PackageCompareResults(self.oeqa_reproducible_excluded_packages)
188 184
@@ -295,8 +291,6 @@ class ReproducibleTests(OESelftestTestCase):
295 291
296 self.logger.info('Reproducibility summary for %s: %s' % (c, result)) 292 self.logger.info('Reproducibility summary for %s: %s' % (c, result))
297 293
298 self.append_to_log('\n'.join("%s: %s" % (r.status, r.test) for r in result.total))
299
300 self.write_package_list(package_class, 'missing', result.missing) 294 self.write_package_list(package_class, 'missing', result.missing)
301 self.write_package_list(package_class, 'different', result.different) 295 self.write_package_list(package_class, 'different', result.different)
302 self.write_package_list(package_class, 'different_excluded', result.different_excluded) 296 self.write_package_list(package_class, 'different_excluded', result.different_excluded)