<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>12979</bug_id>
          
          <creation_ts>2018-11-05 05:56:01 +0000</creation_ts>
          <short_desc>[2.6 M4 rc1] test_recipetool_create_cmake failed on Fedora 27</short_desc>
          <delta_ts>2018-11-09 15:28:40 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>QA/Testing</classification>
          <product>Runtime Testing</product>
          <component>general</component>
          <version>2.6</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.6 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Mohamad Noor Alim">mohamad.noor.alim.hussin</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>richard.purdie</cc>
    
    <cc>ross.burton</cc>
          
          <qa_contact name="Mohamad Noor Alim">mohamad.noor.alim.hussin</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>82013</commentid>
    <comment_count>0</comment_count>
    <who name="Mohamad Noor Alim">mohamad.noor.alim.hussin</who>
    <bug_when>2018-11-05 05:56:01 +0000</bug_when>
    <thetext>Test failed due to SRC_URI[md5sum] do not match.

AssertionError: &apos;16ceaa14aaa22d15f156a5ed3478b731&apos; != &apos;242f398e979a6b8c0f3c802b63435b68&apos;
- 16ceaa14aaa22d15f156a5ed3478b731
+ 242f398e979a6b8c0f3c802b63435b68
 : values for SRC_URI[md5sum] do not match</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82061</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2018-11-08 08:27:11 +0000</bug_when>
    <thetext>Could you provide more details please, there isn&apos;t any context with this error about where it occurred or how to reproduce it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82062</commentid>
    <comment_count>2</comment_count>
    <who name="Mohamad Noor Alim">mohamad.noor.alim.hussin</who>
    <bug_when>2018-11-08 08:33:51 +0000</bug_when>
    <thetext>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 &quot;/home/ab/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/core/decorator/__init__.py&quot;, line 32, in wrapped_f
    return func(*args, **kwargs)
  File &quot;/home/ab/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/selftest/cases/recipetool.py&quot;, line 446, in test_recipetool_create_cmake
    self._test_recipe_contents(recipefile, checkvars, inherits)
  File &quot;/home/ab/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/selftest/cases/devtool.py&quot;, line 169, in _test_recipe_contents
    self.assertEqual(value, needvalue, &apos;values for %s do not match&apos; % var)
  File &quot;/usr/lib64/python3.6/unittest/case.py&quot;, line 846, in assertEqual
    assertion_func(first, second, msg=msg)
  File &quot;/usr/lib64/python3.6/unittest/case.py&quot;, line 1220, in assertMultiLineEqual
    self.fail(self._formatMessage(msg, standardMsg))
  File &quot;/usr/lib64/python3.6/unittest/case.py&quot;, line 687, in fail
    raise self.failureException(msg)
AssertionError: &apos;16ceaa14aaa22d15f156a5ed3478b731&apos; != &apos;242f398e979a6b8c0f3c802b63435b68&apos;
- 16ceaa14aaa22d15f156a5ed3478b731
+ 242f398e979a6b8c0f3c802b63435b68
 : values for SRC_URI[md5sum] do not match</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82069</commentid>
    <comment_count>3</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2018-11-08 15:40:09 +0000</bug_when>
    <thetext>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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82087</commentid>
    <comment_count>4</comment_count>
    <who name="Mohamad Noor Alim">mohamad.noor.alim.hussin</who>
    <bug_when>2018-11-09 01:13:57 +0000</bug_when>
    <thetext>I also get the same md5sum &apos;16ceaa14aaa22d15f156a5ed3478b731&apos; if download navit-0.5.0.tar.gz. But the test case expecting md5sum &apos;242f398e979a6b8c0f3c802b63435b68&apos;. I do not know which version of navit that give the expecting md5sum.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82088</commentid>
    <comment_count>5</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2018-11-09 01:16:05 +0000</bug_when>
    <thetext>The mirror has the expected checksum, so it looks like the tarball has changed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82089</commentid>
    <comment_count>6</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2018-11-09 01:27:02 +0000</bug_when>
    <thetext>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&apos;ve filed a bug upstream too: https://github.com/navit-gps/navit/issues/712</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82090</commentid>
    <comment_count>7</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2018-11-09 01:27:43 +0000</bug_when>
    <thetext>Mohamad, can you fix the test case by changing the URL and verifying the test works again, and if so submit the patch?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82104</commentid>
    <comment_count>8</comment_count>
    <who name="Mohamad Noor Alim">mohamad.noor.alim.hussin</who>
    <bug_when>2018-11-09 12:39:26 +0000</bug_when>
    <thetext>I send patch to openembedded-core mailing list. http://lists.openembedded.org/pipermail/openembedded-core/2018-November/275923.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82123</commentid>
    <comment_count>9</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2018-11-09 15:28:40 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=4f59608a327b31f5b9e6ff6882e0226335a0c999</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>