<?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>13601</bug_id>
          
          <creation_ts>2019-10-20 14:44:08 +0000</creation_ts>
          <short_desc>[master-next &amp; stable/warrior-nmut] oe-selftest-fedora test_devtool_deploy_target failed fedora30-ty-1</short_desc>
          <delta_ts>2019-11-11 15:37:10 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>core</component>
          <version>3.0</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>High</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>3.1 M1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Armin Kuster">akuster</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>seebs</cc>
          
          
          <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>85399</commentid>
    <comment_count>0</comment_count>
    <who name="Armin Kuster">akuster</who>
    <bug_when>2019-10-20 14:44:08 +0000</bug_when>
    <thetext>Both master-next and stable/warrior-nmut failed:


2019-10-19 18:25:33,133 - oe-selftest - INFO - FAIL: devtool.DevtoolExtractTests.test_devtool_deploy_target (subunit.RemotedTestCase)
2019-10-19 18:25:33,133 - oe-selftest - INFO - ----------------------------------------------------------------------
2019-10-19 18:25:33,133 - oe-selftest - INFO - testtools.testresult.real._StringException: Traceback (most recent call last):
  File &quot;/home/pokybuild/yocto-worker/oe-selftest-fedora/build/meta/lib/oeqa/selftest/cases/devtool.py&quot;, line 1289, in test_devtool_deploy_target
    self.assertEqual(filelist1, filelist2)
  File &quot;/usr/lib64/python3.7/unittest/case.py&quot;, line 852, in assertEqual
    assertion_func(first, second, msg=msg)
  File &quot;/usr/lib64/python3.7/unittest/case.py&quot;, line 1058, in assertListEqual
    self.assertSequenceEqual(list1, list2, msg, seq_type=list)
  File &quot;/usr/lib64/python3.7/unittest/case.py&quot;, line 1040, in assertSequenceEqual
    self.fail(msg)
  File &quot;/usr/lib64/python3.7/unittest/case.py&quot;, line 693, in fail
    raise self.failureException(msg)
AssertionError: Lists differ: [&apos;-rwxr-xr-x 6000 6000 /etc/init.d/mdmonitor&apos;, &apos;-rw-r-[10124 chars]n.8&apos;] != [&apos;-rwxr-xr-x root root /etc/init.d/mdmonitor&apos;, &apos;-rw-r-[10124 chars]n.8&apos;]
First differing element 0:
&apos;-rwxr-xr-x 6000 6000 /etc/init.d/mdmonitor&apos;
&apos;-rwxr-xr-x root root /etc/init.d/mdmonitor&apos;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>85430</commentid>
    <comment_count>1</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2019-10-24 14:38:47 +0000</bug_when>
    <thetext>The large value of the UID may be a factor perhaps only when using sstate according to RP.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>85480</commentid>
    <comment_count>2</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2019-11-06 07:38:04 +0000</bug_when>
    <thetext>This is a pseudo bug. &quot;ls&quot; on fedora30 uses the new statx() syscall via glibc&apos;s statx() function which pseudo doesn&apos;t wrap. We need to add a function wrapper to avoid this problem.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>85481</commentid>
    <comment_count>3</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2019-11-06 07:40:11 +0000</bug_when>
    <thetext>To reproduce the issue you can disable the recipe clean in the test, then:

cd /home/pokybuild/yocto-worker/oe-selftest-fedora/build/build/tmp/work/core2-64-poky-linux/mdadm/4.1-r0/image

PSEUDO_PREFIX=/home/pokybuild/yocto-worker/oe-selftest-fedora/build/build/tmp/sysroots-components/x86_64/pseudo-native/usr PSEUDO_LOCALSTATEDIR=/home/pokybuild/yocto-worker/oe-selftest-fedora/build/build/tmp/work/core2-64-poky-linux/mdadm/4.1-r0/pseudo/ PSEUDO_PASSWD=/home/pokybuild/yocto-worker/oe-selftest-fedora/build/build/tmp/work/core2-64-poky-linux/mdadm/4.1-r0/recipe-sysroot:/home/pokybuild/yocto-worker/oe-selftest-fedora/build/build/tmp/sysroots-components/x86_64/pseudo-native PSEUDO_NOSYMLINKEXP=1 PSEUDO_DISABLED=0 /home/pokybuild/yocto-worker/oe-selftest-fedora/build/build/tmp/sysroots-components/x86_64/pseudo-native/usr/bin/pseudo find . -type f -exec ls -l {} \;

or simply run ls under pseudo/strace and see the statx() syscall.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>85482</commentid>
    <comment_count>4</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2019-11-06 13:56:45 +0000</bug_when>
    <thetext>Patch undergoing testing in master-next</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>85511</commentid>
    <comment_count>5</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2019-11-11 11:52:29 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=4dab6ebbdf5da361c7e1c5ec0b62a5e32f7c6e83</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>85512</commentid>
    <comment_count>6</comment_count>
    <who name="Armin Kuster">akuster</who>
    <bug_when>2019-11-11 15:37:10 +0000</bug_when>
    <thetext>(In reply to comment #5)
&gt; http://git.yoctoproject.org/cgit.cgi/poky/commit/
&gt; ?id=4dab6ebbdf5da361c7e1c5ec0b62a5e32f7c6e83

backported to zeus and warrior</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>