Test failed due to SRC_URI[md5sum] do not match. AssertionError: '16ceaa14aaa22d15f156a5ed3478b731' != '242f398e979a6b8c0f3c802b63435b68' - 16ceaa14aaa22d15f156a5ed3478b731 + 242f398e979a6b8c0f3c802b63435b68 : values for SRC_URI[md5sum] do not match
Could you provide more details please, there isn't any context with this error about where it occurred or how to reproduce it.
Steps to reproduce 1. clone poky 2. source oe-init 3. $ oe-selftest -r recipetool.RecipetoolTests.test_recipetool_create_cmake this is example of error log =============================== 2018-11-02 15:31:39,729 - oe-selftest - INFO - FAIL: recipetool.RecipetoolTests.test_recipetool_create_cmake (subunit.RemotedTestCase) 2018-11-02 15:31:39,730 - oe-selftest - INFO - ---------------------------------------------------------------------- 2018-11-02 15:31:39,730 - oe-selftest - INFO - testtools.testresult.real._StringException: Traceback (most recent call last): File "/home/ab/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/core/decorator/__init__.py", line 32, in wrapped_f return func(*args, **kwargs) File "/home/ab/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/selftest/cases/recipetool.py", line 446, in test_recipetool_create_cmake self._test_recipe_contents(recipefile, checkvars, inherits) File "/home/ab/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/selftest/cases/devtool.py", line 169, in _test_recipe_contents self.assertEqual(value, needvalue, 'values for %s do not match' % var) File "/usr/lib64/python3.6/unittest/case.py", line 846, in assertEqual assertion_func(first, second, msg=msg) File "/usr/lib64/python3.6/unittest/case.py", line 1220, in assertMultiLineEqual self.fail(self._formatMessage(msg, standardMsg)) File "/usr/lib64/python3.6/unittest/case.py", line 687, in fail raise self.failureException(msg) AssertionError: '16ceaa14aaa22d15f156a5ed3478b731' != '242f398e979a6b8c0f3c802b63435b68' - 16ceaa14aaa22d15f156a5ed3478b731 + 242f398e979a6b8c0f3c802b63435b68 : values for SRC_URI[md5sum] do not match
FWIW I can verify this happens: $ wget http://downloads.sourceforge.net/project/navit/v0.5.0/navit-0.5.0.tar.gz [...] 2018-11-08 15:38:59 (1.26 MB/s) - ‘navit-0.5.0.tar.gz’ saved [6502437/6502437] $ md5sum navit-0.5.0.tar.gz 16ceaa14aaa22d15f156a5ed3478b731 navit-0.5.0.tar.gz
I also get the same md5sum '16ceaa14aaa22d15f156a5ed3478b731' if download navit-0.5.0.tar.gz. But the test case expecting md5sum '242f398e979a6b8c0f3c802b63435b68'. I do not know which version of navit that give the expecting md5sum.
The mirror has the expected checksum, so it looks like the tarball has changed.
The contents have *totally* changed: $ tar ztvf old-navit-0.5.0.tar.gz |head drwxrwxr-x root/root 0 2015-12-31 07:42 navit-0.5.0/ -rw-rw-r-- root/root 35 2015-12-31 07:42 navit-0.5.0/.gitignore -rw-rw-r-- root/root 338 2015-12-31 07:42 navit-0.5.0/AUTHORS -rwxrwxr-x root/root 28998 2015-12-31 07:42 navit-0.5.0/CMakeLists.txt -rw-rw-r-- root/root 3763 2015-12-31 07:42 navit-0.5.0/COPYING -rw-rw-r-- root/root 144 2015-12-31 07:42 navit-0.5.0/COPYRIGHT -rw-rw-r-- root/root 210 2015-12-31 07:42 navit-0.5.0/ChangeLog -rw-rw-r-- root/root 17987 2015-12-31 07:42 navit-0.5.0/GPL-2 -rw-rw-r-- root/root 25284 2015-12-31 07:42 navit-0.5.0/LGPL-2 -rw-rw-r-- root/root 681 2015-12-31 07:42 navit-0.5.0/Makefile.am $ tar ztvf new-navit-0.5.0.tar.gz |head drwxrwxr-x root/root 0 2015-12-31 07:42 navit-gps-navit-4c7e3da/ -rw-rw-r-- root/root 35 2015-12-31 07:42 navit-gps-navit-4c7e3da/.gitignore -rw-rw-r-- root/root 338 2015-12-31 07:42 navit-gps-navit-4c7e3da/AUTHORS -rwxrwxr-x root/root 28998 2015-12-31 07:42 navit-gps-navit-4c7e3da/CMakeLists.txt -rw-rw-r-- root/root 3763 2015-12-31 07:42 navit-gps-navit-4c7e3da/COPYING -rw-rw-r-- root/root 144 2015-12-31 07:42 navit-gps-navit-4c7e3da/COPYRIGHT -rw-rw-r-- root/root 210 2015-12-31 07:42 navit-gps-navit-4c7e3da/ChangeLog -rw-rw-r-- root/root 17987 2015-12-31 07:42 navit-gps-navit-4c7e3da/GPL-2 -rw-rw-r-- root/root 25284 2015-12-31 07:42 navit-gps-navit-4c7e3da/LGPL-2 -rw-rw-r-- root/root 681 2015-12-31 07:42 navit-gps-navit-4c7e3da/Makefile.am We should just point the test case at our mirror (http://downloads.yoctoproject.org/mirror/sources/navit-0.5.0.tar.gz) for now. I've filed a bug upstream too: https://github.com/navit-gps/navit/issues/712
Mohamad, can you fix the test case by changing the URL and verifying the test works again, and if so submit the patch?
I send patch to openembedded-core mailing list. http://lists.openembedded.org/pipermail/openembedded-core/2018-November/275923.html
http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=4f59608a327b31f5b9e6ff6882e0226335a0c999