diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-11-21 14:55:44 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-11-22 16:53:37 +0000 |
| commit | 68d40bd122c3f08b46df3d0ba6f6105f4d222b03 (patch) | |
| tree | e62e8d51eefbe6c21dcb6c549f52c39fceea9a2c /meta/lib | |
| parent | 3ac6922c04089e1729bbebea947e1d5c3ac942c5 (diff) | |
| download | poky-68d40bd122c3f08b46df3d0ba6f6105f4d222b03.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: 5b2c70fab2ffa409b861d83f048b65d458d03a90)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib')
| -rw-r--r-- | meta/lib/oeqa/selftest/cases/reproducible.py | 6 |
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 415a1ef577..1ea33cbe78 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 | ||
| @@ -341,8 +337,6 @@ class ReproducibleTests(OESelftestTestCase): | |||
| 341 | 337 | ||
| 342 | self.logger.info('Reproducibility summary for %s: %s' % (c, result)) | 338 | self.logger.info('Reproducibility summary for %s: %s' % (c, result)) |
| 343 | 339 | ||
| 344 | self.append_to_log('\n'.join("%s: %s" % (r.status, r.test) for r in result.total)) | ||
| 345 | |||
| 346 | self.write_package_list(package_class, 'missing', result.missing) | 340 | self.write_package_list(package_class, 'missing', result.missing) |
| 347 | self.write_package_list(package_class, 'different', result.different) | 341 | self.write_package_list(package_class, 'different', result.different) |
| 348 | self.write_package_list(package_class, 'different_excluded', result.different_excluded) | 342 | self.write_package_list(package_class, 'different_excluded', result.different_excluded) |
