Bug 13637 - recipetool license failure when reproducible_build class is inherited
Summary: recipetool license failure when reproducible_build class is inherited
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: devtools / tool chain (show other bugs)
Version: 3.0
Hardware: x86 Multiple
: High normal
Target Milestone: 3.1 M1
Assignee: Paul Eggleton
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2019-11-18 12:28 UTC by Richard Purdie
Modified: 2019-11-23 14:42 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Purdie 2019-11-18 12:28:32 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/87/builds/481

There were a ton of failures when:

INHERIT += "reproducible_build"

was added. This bug covers the recipetool license selftest failure

2019-11-16 20:12:25,418 - oe-selftest - INFO - 10: 39/78 149/378 (5.63s) (recipetool.RecipetoolTests.test_recipetool_create_simple)
2019-11-16 20:12:25,418 - oe-selftest - INFO - testtools.testresult.real._StringException: Traceback (most recent call last):
  File "/home/pokybuild/yocto-worker/oe-selftest-ubuntu/build/meta/lib/oeqa/selftest/cases/recipetool.py", line 406, in test_recipetool_create_simple
    self._test_recipe_contents(os.path.join(temprecipe, dirlist[0]), checkvars, inherits)
  File "/home/pokybuild/yocto-worker/oe-selftest-ubuntu/build/meta/lib/oeqa/selftest/cases/devtool.py", line 172, in _test_recipe_contents
    self.assertEqual(value, needvalue, 'values for %s do not match' % var)
  File "/usr/lib/python3.6/unittest/case.py", line 829, in assertEqual
    assertion_func(first, second, msg=msg)
  File "/usr/lib/python3.6/unittest/case.py", line 1082, in assertSetEqual
    self.fail(self._formatMessage(msg, standardMsg))
  File "/usr/lib/python3.6/unittest/case.py", line 670, in fail
    raise self.failureException(msg)
AssertionError: Items in the first set but not the second:
'file://socat-1.7.3.0/COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263'
'file://socat-1.7.3.0/COPYING.OpenSSL;md5=5c9bccc77f67a8328ef4ebaf468116f4'
Items in the second set but not the first:
'file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263'
'file://COPYING.OpenSSL;md5=5c9bccc77f67a8328ef4ebaf468116f4' : values for LIC_FILES_CHKSUM do not match