<?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>11952</bug_id>
          
          <creation_ts>2017-08-18 16:51:25 +0000</creation_ts>
          <short_desc>runqemu - ERROR - Acquiring lockfile /tmp/qemu-tap-locks/tap0.lock failed: [Errno 11] Resource temporarily unavailable</short_desc>
          <delta_ts>2017-09-07 14:19:34 +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>Scripts and Tools</component>
          <version>2.4</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.4 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Juro Bystricky">juro.bystricky</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>joshuagloe</cc>
    
    <cc>ross.burton</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>76001</commentid>
    <comment_count>0</comment_count>
    <who name="Juro Bystricky">juro.bystricky</who>
    <bug_when>2017-08-18 16:51:25 +0000</bug_when>
    <thetext>As seen in Autobuilder:
https://autobuilder.yocto.io/builders/nightly-ppc-lsb/builds/421/steps/Running%20Sanity%20Tests/logs/stdio

ERROR: core-image-lsb-1.0-r0 do_testimage: Didn&apos;t receive a console connection from qemu. Here is the qemu command line used:
tmp/work/x86_64-linux/qemu-helper-native/1.0-r1/recipe-sysroot-native/usr/bin//qemu-system-ppc-devicevirtio-net-pci,netdev=net0,mac=52:54:00:12:34:04-netdevtap,id=net0,ifname=tap1,script=no,downscript=no-drivefile=/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-ppc-lsb/build/build/tmp/deploy/images/qemuppc/core-image-lsb-qemuppc.ext4,if=virtio,format=raw-show-cursor-usb-usbdevicetablet-devicevirtio-rng-pci-serialtcp:127.0.0.1:46580-machinemac99-cpuG4-m256-serialtcp:127.0.0.1:47257-snapshot-kerneltmp/deploy/images/qemuppc/vmlinux--4.1.42+git0+9f9c9a66ef_1e29490acc-r0.2-qemuppc-20170817003236.bin-appendroot=/dev/vda rw highres=off  mem=256M ip=192.168.7.4::192.168.7.3:255.255.255.0 console=tty console=ttyS0 console=tty1 console=ttyS0,115200n8 printk.time=1
and output from runqemu:
runqemu - INFO - Continuing with the following parameters:

runqemu - ERROR - Acquiring lockfile /tmp/qemu-tap-locks/tap0.lock failed: [Errno 11] Resource temporarily unavailable



I believe &quot;[Errno 11] Resource temporarily unavailable&quot; should be handled by re-trying, instead of erroring out immediately</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>76232</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2017-08-29 15:05:50 +0000</bug_when>
    <thetext>FWIW it does retry for a later tap device and that this wasn&apos;t really an error. The real error seems to be the qemu console didn&apos;t appear in 60s</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>76623</commentid>
    <comment_count>2</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2017-09-07 14:19:34 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=06280ec2e329bbc7413dc162177d1da642608c05 fixes the &quot;error&quot; messages and makes them warnings. Bug 12001 tracks the process not appearing in 60s issue.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>