[OE-core][kirkstone 28/38] selftest/reproducible: Drop rawlogs

Steve Sakoman
2024-12-04T17:55:05Z

From: Richard Purdie <richard.purdie@linuxfoundation.org>

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.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5b2c70fab2ffa409b861d83f048b65d458d03a90)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
---
meta/lib/oeqa/selftest/cases/reproducible.py | 6 ------
1 file changed, 6 deletions(-)

diff --git a/meta/lib/oeqa/selftest/cases/reproducible.py b/meta/lib/oeqa/selftest/cases/reproducible.py
index 49318be43a..df7d9cc159 100644
--- a/meta/lib/oeqa/selftest/cases/reproducible.py
+++ b/meta/lib/oeqa/selftest/cases/reproducible.py
@@ -163,12 +163,8 @@ class ReproducibleTests(OESelftestTestCase):
setattr(self, v.lower(), bb_vars[v])

self.extraresults = {}
- self.extraresults.setdefault('reproducible.rawlogs', {})['log'] = ''
self.extraresults.setdefault('reproducible', {}).setdefault('files', {})

- def append_to_log(self, msg):
- self.extraresults['reproducible.rawlogs']['log'] += msg
-
def compare_packages(self, reference_dir, test_dir, diffutils_sysroot):
result = PackageCompareResults()

@@ -282,8 +278,6 @@ class ReproducibleTests(OESelftestTestCase):

self.logger.info('Reproducibility summary for %s: %s' % (c, result))

- self.append_to_log('\n'.join("%s: %s" % (r.status, r.test) for r in result.total))
-
self.write_package_list(package_class, 'missing', result.missing)
self.write_package_list(package_class, 'different', result.different)
self.write_package_list(package_class, 'different_excluded', result.different_excluded)
--
2.34.1