<?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>12345</bug_id>
          
          <creation_ts>2017-11-14 17:26:45 +0000</creation_ts>
          <short_desc>qemuarm (runqemu): &apos;deploy_dir_image&apos; is not defined</short_desc>
          <delta_ts>2017-11-14 20:15:27 +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.5</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>OBSOLETE</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Juro Bystricky">juro.bystricky</reporter>
          <assigned_to name="Stephano Cetola">stephano</assigned_to>
          <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>78203</commentid>
    <comment_count>0</comment_count>
    <who name="Juro Bystricky">juro.bystricky</who>
    <bug_when>2017-11-14 17:26:45 +0000</bug_when>
    <thetext>do_testimage fails with:

Build Configuration:
BB_VERSION           = &quot;1.37.0&quot;
BUILD_SYS            = &quot;x86_64-linux&quot;
NATIVELSBSTRING      = &quot;universal&quot;
TARGET_SYS           = &quot;arm-poky-linux-gnueabi&quot;
MACHINE              = &quot;qemuarm&quot;
DISTRO               = &quot;poky&quot;
DISTRO_VERSION       = &quot;2.4&quot;
TUNE_FEATURES        = &quot;arm armv5 thumb dsp&quot;
TARGET_FPU           = &quot;soft&quot;
meta                 
meta-poky            
meta-yocto-bsp       = &quot;heads/ross/mut:56d6cfae8b0c4707e6bb58c89ac782c57c368a86&quot;


| DEBUG: Executing python function extend_recipe_sysroot
| NOTE: Direct dependencies are [&apos;/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-arm/build/meta/recipes-devtools/qemu/qemu-helper-native_1.0.bb:do_populate_sysroot&apos;, &apos;virtual:native:/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-arm/build/meta/recipes-devtools/qemu/qemu_2.10.1.bb:do_populate_sysroot&apos;, &apos;virtual:native:/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-arm/build/meta/recipes-extended/cpio/cpio_2.12.bb:do_populate_sysroot&apos;, &apos;virtual:native:/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-arm/build/meta/recipes-devtools/createrepo-c/createrepo-c_git.bb:do_populate_sysroot&apos;]
| NOTE: Installed into sysroot: [&apos;cpio-native&apos;]
| NOTE: Skipping as already exists in sysroot: [&apos;qemu-helper-native&apos;, &apos;qemu-native&apos;, &apos;createrepo-c-native&apos;, &apos;pixman-native&apos;, &apos;zlib-native&apos;, &apos;alsa-lib-native&apos;, &apos;glib-2.0-native&apos;, &apos;libsdl-native&apos;, &apos;pkgconfig-native&apos;, &apos;gnu-config-native&apos;, &apos;autoconf-native&apos;, &apos;quilt-native&apos;, &apos;automake-native&apos;, &apos;dtc-native&apos;, &apos;libtool-native&apos;, &apos;curl-native&apos;, &apos;libxml2-native&apos;, &apos;openssl-native&apos;, &apos;expat-native&apos;, &apos;python3-native&apos;, &apos;cmake-native&apos;, &apos;rpm-native&apos;, &apos;sqlite3-native&apos;, &apos;xz-native&apos;, &apos;file-native&apos;, &apos;gettext-minimal-native&apos;, &apos;texinfo-dummy-native&apos;, &apos;util-macros-native&apos;, &apos;libpng-native&apos;, &apos;libffi-native&apos;, &apos;libpcre-native&apos;, &apos;util-linux-native&apos;, &apos;gettext-native&apos;, &apos;gtk-doc-native&apos;, &apos;libxrender-native&apos;, &apos;libxext-native&apos;, &apos;libxrandr-native&apos;, &apos;libx11-native&apos;, &apos;m4-native&apos;, &apos;bison-native&apos;, &apos;flex-native&apos;, &apos;cryptodev-linux-native&apos;, &apos;makedepend-native&apos;, &apos;pigz-native&apos;, &apos;readline-native&apos;, &apos;bzip2-native&apos;, &apos;db-native&apos;, &apos;popt-native&apos;, &apos;dbus-native&apos;, &apos;libarchive-native&apos;, &apos;nss-native&apos;, &apos;elfutils-native&apos;, &apos;ncurses-native&apos;, &apos;lzo-native&apos;, &apos;xproto-native&apos;, &apos;renderproto-native&apos;, &apos;xextproto-native&apos;, &apos;randrproto-native&apos;, &apos;xtrans-native&apos;, &apos;libxcb-native&apos;, &apos;inputproto-native&apos;, &apos;kbproto-native&apos;, &apos;e2fsprogs-native&apos;, &apos;nspr-native&apos;, &apos;libpthread-stubs-native&apos;, &apos;libxau-native&apos;, &apos;xcb-proto-native&apos;, &apos;libxdmcp-native&apos;, &apos;attr-native&apos;]
| DEBUG: Python function extend_recipe_sysroot finished
| DEBUG: Executing python function do_testimage
| DEBUG: Not using kvm for runqemu
| DEBUG: Created listening socket for qemu serial console on: 127.0.0.1:46333
| DEBUG: Created listening socket for qemu serial console on: 127.0.0.1:48053
| DEBUG: launchcmd=runqemu snapshot   qemuarm /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-arm/build/build/tmp/deploy/images/qemuarm/core-image-minimal-qemuarm.ext4 tcpserial=48053 bootparams=&quot;console=tty1 console=ttyS0,115200n8 printk.time=1&quot; qemuparams=&quot;-serial tcp:127.0.0.1:46333 -pidfile pidfile_44419&quot;
| DEBUG: runqemu started, pid is 44436
| DEBUG: waiting at most 120 seconds for qemu pid
| DEBUG: runqemu exited with code 1
| DEBUG: Output from runqemu:
| Traceback (most recent call last):
|   File &quot;/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-arm/build/scripts/runqemu&quot;, line 1277, in main
|     config.check_and_set()
|   File &quot;/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-arm/build/scripts/runqemu&quot;, line 692, in check_and_set
|     self.check_dtb()
|   File &quot;/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-arm/build/scripts/runqemu&quot;, line 624, in check_dtb
|     cmd_match = &quot;%s/%s&quot; % (deploy_dir_image, dtb)
| NameError: name &apos;deploy_dir_image&apos; is not defined
| Cleanup
| 
| DEBUG: Sending SIGTERM to runqemu
| WARNING: Qemu ended unexpectedly, dump data from host is in /tmp/oe-saved-tests/201711132314_qemu
| DEBUG: Python function do_testimage finished
| ERROR: Function failed: do_testimage

full log (non-persistent):
https://autobuilder.yocto.io/builders/nightly-arm/builds/646/steps/Running%20Sanity%20Tests/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>78204</commentid>
    <comment_count>1</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2017-11-14 20:15:27 +0000</bug_when>
    <thetext>Bug in a runqemu patch, now dropped.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>