<?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>222</bug_id>
          
          <creation_ts>2010-08-23 22:31:51 +0000</creation_ts>
          <short_desc>poky-image-sato-live build failure</short_desc>
          <delta_ts>2010-12-21 06:07:14 +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>Meta-yocto</product>
          <component>meta-yocto</component>
          <version>0.9</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>High</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>1.0 M1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Kevin Tian">kevin.tian</reporter>
          <assigned_to name="Mark Hatle">mark.hatle</assigned_to>
          <cc>jessica.zhang</cc>
    
    <cc>kevin.tian</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>sgw</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          <cf_verified>Program Management</cf_verified>
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>9350</commentid>
    <comment_count>0</comment_count>
    <who name="Kevin Tian">kevin.tian</who>
    <bug_when>2010-08-23 22:31:51 +0000</bug_when>
    <thetext>| + rm -rf /srv/home/pokybuild/poky-slave/nightly-release/build/build/tmp/work/emenlow-poky-linux/poky-image-minimal-initramfs-1.0-r0/rootfs
| + mkdir -p /srv/home/pokybuild/poky-slave/nightly-release/build/build/tmp/work/emenlow-poky-linux/poky-image-minimal-initramfs-1.0-r0/rootfs
| + mkdir -p /srv/home/pokybuild/poky-slave/nightly-release/build/build/tmp/deploy/images
| + &apos;[&apos; 0 &apos;!=&apos; 1 &apos;]&apos;
| + for devtable in /srv/home/pokybuild/poky-slave/nightly-release/build/meta/files/device_table-minimal.txt
| + makedevs -r /srv/home/pokybuild/poky-slave/nightly-release/build/build/tmp/work/emenlow-poky-linux/poky-image-minimal-initramfs-1.0-r0/rootfs -D /srv/home/pokybuild/poky-slave/nightly-release/build/meta/files/device_table-minimal.txt
| makedevs: /srv/home/pokybuild/poky-slave/nightly-release/build/build/tmp/work/emenlow-poky-linux/poky-image-minimal-initramfs-1.0-r0/rootfs/dev/hda: file type does not match specified type!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9370</commentid>
    <comment_count>1</comment_count>
    <who name="Dexuan Cui">dexuan.cui</who>
    <bug_when>2010-08-24 22:24:00 +0000</bug_when>
    <thetext>I tried to reproduce the issue locally, but couldn&apos;t... 

1) I built the emenlow poky-image-sato-live from scratch successfully.

2) I built the emenlow poky-image-sdk-live from scratch successfully, later I built poky-image-minimal-live successfully, and finally I could also build poky-image-sato-live successfully.

I used a newer git commit: 8 commits newer than that used by the autobuilder: the issue might have been fixed by the commits?? e.g., commit ca95d02ce0dd7e1ab(package.bbclass: Fix shlibs race) by RP.
I&apos;ll watch the latest nightly build log about this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9503</commentid>
    <comment_count>2</comment_count>
    <who name="Dexuan Cui">dexuan.cui</who>
    <bug_when>2010-09-01 17:56:45 +0000</bug_when>
    <thetext>The netbook/emenlow poky-image-sato-live builds succeed now...
The pesudo related commits might fix the issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9631</commentid>
    <comment_count>3</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2010-09-07 15:53:36 +0000</bug_when>
    <thetext>ERROR: Task failed: (&apos;function do_rootfs failed&apos;, &apos;/srv/home/pokybuild/poky-slave/milestone-release/build/build/tmp/work/netbook-poky-linux/poky-image-minimal-initramfs-1.0-r0/temp/log.do_rootfs.19169&apos;)
NOTE: package poky-image-sato-1.0-r0: task do_setscene: Started
NOTE: Removing shared state for package poky-image-sato
NOTE: package poky-image-sato-1.0-r0: task do_setscene: Succeeded
ERROR: Logfile of failure stored in: /srv/home/pokybuild/poky-slave/milestone-release/build/build/tmp/work/netbook-poky-linux/poky-image-minimal-initramfs-1.0-r0/temp/log.do_rootfs.19169
Log data follows:
| + rm -rf /srv/home/pokybuild/poky-slave/milestone-release/build/build/tmp/work/netbook-poky-linux/poky-image-minimal-initramfs-1.0-r0/rootfs
| + mkdir -p /srv/home/pokybuild/poky-slave/milestone-release/build/build/tmp/work/netbook-poky-linux/poky-image-minimal-initramfs-1.0-r0/rootfs
| + mkdir -p /srv/home/pokybuild/poky-slave/milestone-release/build/build/tmp/deploy/images
| + &apos;[&apos; 0 &apos;!=&apos; 1 &apos;]&apos;
| + for devtable in /srv/home/pokybuild/poky-slave/milestone-release/build/meta/files/device_table-minimal.txt
| + makedevs -r /srv/home/pokybuild/poky-slave/milestone-release/build/build/tmp/work/netbook-poky-linux/poky-image-minimal-initramfs-1.0-r0/rootfs -D /srv/home/pokybuild/poky-slave/milestone-release/build/meta/files/device_table-minimal.txt
| makedevs: /srv/home/pokybuild/poky-slave/milestone-release/build/build/tmp/work/netbook-poky-linux/poky-image-minimal-initramfs-1.0-r0/rootfs/dev/hda: file type does not match specified type!
NOTE: package poky-image-minimal-initramfs-1.0-r0: task do_rootfs: Failed</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9632</commentid>
    <comment_count>4</comment_count>
    <who name="Mark Hatle">mark.hatle</who>
    <bug_when>2010-09-07 16:10:44 +0000</bug_when>
    <thetext>If we can get another reproducer for this, tar up the tmp/work/... directory where the failure occurred, we need to inspect the filesystem and pseudo log files.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9849</commentid>
    <comment_count>5</comment_count>
    <who name="Mark Hatle">mark.hatle</who>
    <bug_when>2010-09-15 18:08:48 +0000</bug_when>
    <thetext>So far we&apos;ve been unable to figure out a cause for this problem.  Still looking...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10374</commentid>
    <comment_count>6</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2010-10-12 06:35:26 +0000</bug_when>
    <thetext>I have some further details on this bug:

a) I was able to reproduce on an ubuntu maverick 64 bit system

b) It seems most likely to happen when there are multiple rootfs tasks running in parallel such as when a -live image is built (the main rootfs and initramfs are built in parallel).

c) It only seems to happen every other build.

d) It is likely that the rm_work class is triggering the problem, perhaps by cleaning the rootfs directory within WORKDIR.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10375</commentid>
    <comment_count>7</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2010-10-12 06:36:43 +0000</bug_when>
    <thetext>I meant to add:

e) The bug is fastest to reproduce if the contents of do_rootfs in image.bbclass is removed after the makedevs code block. Its always the makedevs command that triggers the bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10376</commentid>
    <comment_count>8</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2010-10-12 06:42:09 +0000</bug_when>
    <thetext>With my established reproducible failing test case, if I stopped rm_work wiping out ${WORKDIR}/rootfs/, the bug stopped happening. I&apos;m pretty sure this is happening due to the removal of files by rm_work outside of pseudo&apos;s knowledge.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10471</commentid>
    <comment_count>9</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2010-10-13 21:54:19 +0000</bug_when>
    <thetext>http://git.pokylinux.org/cgit.cgi/poky/commit/?id=99c0cbd6d6ab0d0130c251ad89b114a09c6df1c4</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10730</commentid>
    <comment_count>10</comment_count>
    <who name="Kevin Tian">kevin.tian</who>
    <bug_when>2010-10-21 00:58:56 +0000</bug_when>
    <thetext>verified as autobuilder doesn&apos;t show this problem now</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>