Bug 14024

Summary: kernel headers reproducibility issue with 5.8
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Richard Purdie <richard.purdie>
Component: kernelAssignee: Bruce Ashfield <bruce.ashfield>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium+ CC: randy.macleod, tom.zanussi
Version: 3.2   
Target Milestone: 3.2 M3   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Richard Purdie 2020-08-26 00:45:43 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/56/builds/1169

2020-08-26 02:31:09,610 - oe-selftest - INFO - ======================================================================
2020-08-26 02:31:09,610 - oe-selftest - INFO - FAIL: reproducible.ReproducibleTests.test_reproducible_builds (subunit.RemotedTestCase)
2020-08-26 02:31:09,610 - oe-selftest - INFO - ----------------------------------------------------------------------
2020-08-26 02:31:09,611 - oe-selftest - INFO - testtools.testresult.real._StringException: Binary content:
  extraresults (application/json;charset=utf8)
Traceback (most recent call last):
  File "/home/pokybuild/yocto-worker/oe-selftest/build/meta/lib/oeqa/selftest/cases/reproducible.py", line 239, in test_reproducible_builds
    self.fail('\n'.join(fails))
  File "/usr/lib64/python3.8/unittest/case.py", line 753, in fail
    raise self.failureException(msg)
AssertionError: The following deb packages are missing or different: /home/pokybuild/yocto-worker/oe-selftest/build/build-st-11737/reproducibleB/tmp/deploy/deb/./qemux86_64/kernel-module-kheaders-5.8.2-yocto-standard_5.8.2+git0+89db4beb48_912adf166e-r0_amd64.deb
The following ipk packages are missing or different: /home/pokybuild/yocto-worker/oe-selftest/build/build-st-11737/reproducibleB/tmp/deploy/ipk/./qemux86_64/kernel-module-kheaders-5.8.2-yocto-standard_5.8.2+git0+89db4beb48_912adf166e-r0_qemux86_64.ipk

The problematic files are at:

https://autobuilder.yocto.io/pub/repro-fail/oe-reproducible-20200826-kqzw6jmc/packages/
Comment 1 Bruce Ashfield 2020-08-26 05:49:39 UTC
the IKHEADERS option may have come back on. I'll have a closer look.
Comment 2 Bruce Ashfield 2020-08-27 07:36:14 UTC
IKHEADERS did sneak back on. I cherry-picked the 5.4 patch, and will submit the SRCREV bump to the mailing list shortly.