<?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>13106</bug_id>
          
          <creation_ts>2018-12-26 23:20:04 +0000</creation_ts>
          <short_desc>Occasional timeouts when selftest starts qemu</short_desc>
          <delta_ts>2019-05-09 15:42:07 +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>2.6</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://errors.yoctoproject.org/Errors/Build/74271/</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.7 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Armin Kuster">akuster</reporter>
          <assigned_to name="Ross Burton">ross.burton</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>randy.macleod</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>82606</commentid>
    <comment_count>0</comment_count>
    <who name="Armin Kuster">akuster</who>
    <bug_when>2018-12-26 23:20:04 +0000</bug_when>
    <thetext>ERROR: Command . ./oe-init-build-env; ${SCRIPTSDIR}/checkvnc; DISPLAY=:1 oe-selftest --skip-tests distrodata.Distrodata.test_checkpkg -j 15 failed with exit code 1, see errors above. (1545846294.5: 4186.2)


thud does not have the new checkpkg if I am reading this right.( maybe I am getting confused)

or checkpkg make sense for Master, not a stable branch if I am interpreting this correctly. thinking in terms of AUH changes RP make to master.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82645</commentid>
    <comment_count>1</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2019-01-03 15:42:32 +0000</bug_when>
    <thetext>That checkpkg mention is an exclusion, ignore that.

2018-12-26 17:44:49,900 - oe-selftest - INFO - FAIL: runqemu.RunqemuTests.test_boot_recipe_image (subunit.RemotedTestCase)
...
AssertionError: False is not true : Failed: runqemu nographic core-image-minimal, INFO: rootfs file: 
...
DEBUG: Waiting at most 1000 seconds for login banner (12/26/18 16:58:48)
DEBUG: Connection from 127.0.0.1:58672
DEBUG: Reached login banner in 87.00987339019775 seconds (12/26/18 17:00:15)
DEBUG: Couldn&apos;t login into serial console as root using blank password

The image didn&apos;t boot.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82646</commentid>
    <comment_count>2</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2019-01-03 15:46:15 +0000</bug_when>
    <thetext>Actual failure: 2018-12-26 17:44:49,900 - oe-selftest - INFO - ======================================================================
2018-12-26 17:44:49,900 - oe-selftest - INFO - FAIL: runqemu.RunqemuTests.test_boot_recipe_image (subunit.RemotedTestCase)
2018-12-26 17:44:49,901 - oe-selftest - INFO - ----------------------------------------------------------------------
2018-12-26 17:44:49,901 - oe-selftest - INFO - testtools.testresult.real._StringException: Traceback (most recent call last):
  File &quot;/home/pokybuild/yocto-worker/oe-selftest-ubuntu/build/meta/lib/oeqa/core/decorator/__init__.py&quot;, line 32, in wrapped_f
    return func(*args, **kwargs)
  File &quot;/home/pokybuild/yocto-worker/oe-selftest-ubuntu/build/meta/lib/oeqa/selftest/cases/runqemu.py&quot;, line 70, in test_boot_recipe_image
    self.assertTrue(qemu.runner.logged, &quot;Failed: %s, %s&quot; % (cmd, f.read()))
  File &quot;/usr/lib/python3.6/unittest/case.py&quot;, line 682, in assertTrue
    raise self.failureException(msg)
AssertionError: False is not true : Failed: runqemu nographic core-image-minimal, INFO: rootfs file: 
INFO: Qemu log file: /home/pokybuild/yocto-worker/oe-selftest-ubuntu/build/build-st-29505/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/testimage/qemu_boot_log.20181226165840
INFO: SSH log file: /home/pokybuild/yocto-worker/oe-selftest-ubuntu/build/build-st-29505/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/testimage/ssh_target_log.20181226165840
DEBUG: Created listening socket for qemu serial console on: 127.0.0.1:40649
DEBUG: Created listening socket for qemu serial console on: 127.0.0.1:59033
DEBUG: launchcmd=runqemu nographic core-image-minimal tcpserial=59033 bootparams=&quot;console=tty1 console=ttyS0,115200n8 printk.time=1&quot; qemuparams=&quot;-serial tcp:127.0.0.1:40649 -pidfile pidfile_29505&quot;
DEBUG: runqemu started, pid is 5404
DEBUG: waiting at most 120 seconds for qemu pid (12/26/18 16:58:44)
DEBUG: qemu started in 3.504581928253174 seconds - qemu procces pid is 6755 (12/26/18 16:58:48)
DEBUG: Target IP: None
DEBUG: Server IP: None
DEBUG: Starting logging thread
DEBUG: Starting thread event loop
DEBUG: Connection request received
DEBUG: Setting connection established event
DEBUG: Output from runqemu:
runqemu - INFO - Running bitbake -e...
runqemu - INFO - Continuing with the following parameters:

runqemu - INFO - Using preconfigured tap device tap0
runqemu - INFO - If this is not intended, touch /tmp/qemu-tap-locks/tap0.skip to make runqemu skip tap0.
runqemu - INFO - Network configuration: 192.168.7.2::192.168.7.1:255.255.255.0
runqemu - INFO - Running /home/pokybuild/yocto-worker/oe-selftest-ubuntu/build/build-st-29505/tmp/work/x86_64-linux/qemu-helper-native/1.0-r1/recipe-sysroot-native/usr/bin/qemu-system-x86_64 -device virtio-net-pci,netdev=net0,mac=52:54:00:12:34:02 -netdev tap,id=net0,ifname=tap0,script=no,downscript=no -drive file=/home/pokybuild/yocto-worker/oe-selftest-ubuntu/build/build-st-29505/tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64.ext4,if=virtio,format=raw -vga vmware -show-cursor -usb -device usb-tablet -device virtio-rng-pci  -nographic -serial tcp:127.0.0.1:40649 -pidfile pidfile_29505  -cpu core2duo -m 256 -serial tcp:127.0.0.1:59033 -kernel /home/pokybuild/yocto-worker/oe-selftest-ubuntu/build/build-st-29505/tmp/deploy/images/qemux86-64/bzImage--4.18.21+git0+8f4a98c938_9eddc793f9-r0.2-qemux86-64-20181226163340.bin -append &apos;root=/dev/vda rw highres=off  console=ttyS0 mem=256M ip=192.168.7.2::192.168.7.1:255.255.255.0 vga=0 uvesafb.mode_option=640x480-32 oprofile.timer=1 uvesafb.task_timeout=-1 console=tty1 console=ttyS0,115200n8 printk.time=1&apos;

QEMU 3.0.0 monitor - type &apos;help&apos; for more information
(qemu) 
DEBUG: Waiting at most 1000 seconds for login banner (12/26/18 16:58:48)
DEBUG: Connection from 127.0.0.1:58672
DEBUG: Reached login banner in 87.00987339019775 seconds (12/26/18 17:00:15)
DEBUG: Couldn&apos;t login into serial console as root using blank password

----------------------------------------------------------------------</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82648</commentid>
    <comment_count>3</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2019-01-03 15:50:25 +0000</bug_when>
    <thetext>Making this the canonical bug for the problem where selftest&apos;s qemu can timeout.  Robert has two patches: one to enable KVM, and another to increase the timeout.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>83772</commentid>
    <comment_count>4</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2019-05-09 15:42:07 +0000</bug_when>
    <thetext>All fixed now.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>