<?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>901</bug_id>
          
          <creation_ts>2011-03-17 20:37:32 +0000</creation_ts>
          <short_desc>qemumips sanity tests fail at rpm_query and connman due to no space on device</short_desc>
          <delta_ts>2011-03-18 18:36:54 +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>Other YP Layers</product>
          <component>layers</component>
          <version>1.0</version>
          <rep_platform>Other</rep_platform>
          <op_sys>mips</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>1.0 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Beth Flanagan">elizabeth.flanagan</reporter>
          <assigned_to name="Saul Wold">sgw</assigned_to>
          <cc>edwin.zhai</cc>
    
    <cc>elizabeth.flanagan</cc>
    
    <cc>jiajun.xu</cc>
    
    <cc>kevin.tian</cc>
    
    <cc>meta.layer.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>yp.test.watcher</cc>
    
    <cc>yp.watcher</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>12792</commentid>
    <comment_count>0</comment_count>
    <who name="Beth Flanagan">elizabeth.flanagan</who>
    <bug_when>2011-03-17 20:37:32 +0000</bug_when>
    <thetext>rpm_query and connman failed on the autobuilder due to no space left on the qemumips device:

connman_test.sh                                 0%    0     0.0KB/s   --:-- ETA
connman_test.sh                               100% 1308     1.3KB/s   00:00
| scp: /opt/test/connman_test.sh: No space left on device

and

rpm_test.sh                                     0%    0     0.0KB/s   --:-- ETA
rpm_test.sh                                   100%  786     0.8KB/s   00:00
| scp: /opt/test/rpm_test.sh: No space left on device</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12801</commentid>
    <comment_count>1</comment_count>
    <who name="Jiajun Xu">jiajun.xu</who>
    <bug_when>2011-03-17 22:35:33 +0000</bug_when>
    <thetext>The problem is that qemu rootfs has no enough disk space. I think we may need to find why qemumips rootfs has no spare size.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12804</commentid>
    <comment_count>2</comment_count>
    <who name="Jiajun Xu">jiajun.xu</who>
    <bug_when>2011-03-17 23:47:26 +0000</bug_when>
    <thetext>The no space issue is caused by the zypper search command. In case &quot;zypper search&quot;, sanity test will run &quot;zypper search avahi&quot; in target. This will casue target out of disk space. I manually run the command in qemumips image and got following information:

##########
root@qemumips:~# df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/root               271885    247658     10407  96% /
tmpfs                       40         0        40   0% /mnt/.psplash
none                     61356       112     61244   0% /dev
tmpfs                    61356        56     61300   0% /var/volatile
tmpfs                    61356         0     61356   0% /media/ram

root@qemumips:~#
root@qemumips:~#
root@qemumips:~# ls
root@qemumips:~# zypper search avahi
Loading repository data...
Reading installed packages...

S | Name             | Summary                                           | Type
--+------------------+---------------------------------------------------+--------
i | avahi-daemon     | Avahi IPv4LL network address configuration daemon | package
i | libavahi-client3 | Avahi IPv4LL network address configuration daemon | package
i | libavahi-common3 | Avahi IPv4LL network address configuration daemon | package
i | libavahi-core7   | Avahi IPv4LL network address configuration daemon | package
i | libavahi-glib1   | Avahi IPv4LL network address configuration daemon | package


root@qemumips:~# df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/root               271885    267402         0 100% /
tmpfs                       40         0        40   0% /mnt/.psplash
none                     61356       112     61244   0% /dev
tmpfs                    61356       280     61076   0% /var/volatile
tmpfs                    61356         0     61356   0% /media/ram
##########

And the failed connman and rpm tests could pass if target has enough disk space.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12805</commentid>
    <comment_count>3</comment_count>
    <who name="Kevin Tian">kevin.tian</who>
    <bug_when>2011-03-17 23:50:07 +0000</bug_when>
    <thetext>qemuppc sanity test failed too, with same &quot;No space left on device&quot; error.

It looks that recent rpm/zypper changes add more footprint. Beth is trying to increase IMAGE_OVERHEAD_FACTOR now...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12812</commentid>
    <comment_count>4</comment_count>
    <who name="Jiajun Xu">jiajun.xu</who>
    <bug_when>2011-03-18 00:24:34 +0000</bug_when>
    <thetext>I remove /lost+found folder on target and find command &quot;zypper search avahi&quot;
needs about 20M disk space:

####root@qemumips:/# df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/root               265.5M    228.3M     23.7M  91% /
tmpfs                    40.0K         0     40.0K   0% /mnt/.psplash
none                     59.9M    112.0K     59.8M   0% /dev
tmpfs                    59.9M     56.0K     59.9M   0% /var/volatile
tmpfs                    59.9M         0     59.9M   0% /media/ram

root@qemumips:/# zypper search avahi
Loading repository data...
Reading installed packages...

S | Name             | Summary                                           | Type
--+------------------+---------------------------------------------------+--------
i | avahi-daemon     | Avahi IPv4LL network address configuration daemon |
package
i | libavahi-client3 | Avahi IPv4LL network address configuration daemon |
package
i | libavahi-common3 | Avahi IPv4LL network address configuration daemon |
package
i | libavahi-core7   | Avahi IPv4LL network address configuration daemon |
package
i | libavahi-glib1   | Avahi IPv4LL network address configuration daemon |
package

root@qemumips:/# df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/root               265.5M    247.6M      4.4M  98% /
tmpfs                    40.0K         0     40.0K   0% /mnt/.psplash
none                     59.9M    112.0K     59.8M   0% /dev
tmpfs                    59.9M    280.0K     59.6M   0% /var/volatile
tmpfs                    59.9M         0     59.9M   0% /media/ram
####</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12813</commentid>
    <comment_count>5</comment_count>
    <who name="Edwin Zhai">edwin.zhai</who>
    <bug_when>2011-03-18 00:28:58 +0000</bug_when>
    <thetext>Mips sato image is ~460M, so increasing IMAGE_OVERHEAD_FACTOR from 1.2 to 1.3 is enough for 20M space.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12814</commentid>
    <comment_count>6</comment_count>
    <who name="Beth Flanagan">elizabeth.flanagan</who>
    <bug_when>2011-03-18 00:43:49 +0000</bug_when>
    <thetext>Testing the fix for it on my test ab. When I verify it, I&apos;ll implement on the autobuilders.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12848</commentid>
    <comment_count>7</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2011-03-18 18:36:54 +0000</bug_when>
    <thetext>Fixed in http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=75c5760fe8adeae8c4755a1826769b26eba45f40</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>