<?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>11438</bug_id>
          
          <creation_ts>2017-05-02 10:43:00 +0000</creation_ts>
          <short_desc>oeqa: QemuRunner improvements</short_desc>
          <delta_ts>2020-10-22 07:09:18 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>QA/Testing</classification>
          <product>Build Testing</product>
          <component>general</component>
          <version>unspecified</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>Medium</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>Future</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Mikko Ylinen">mikko.ylinen</reporter>
          <assigned_to name="Unassigned">unassigned</assigned_to>
          <cc>benjamin.esquivel</cc>
    
    <cc>patrick.ohly</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>richard.purdie</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>72978</commentid>
    <comment_count>0</comment_count>
    <who name="Mikko Ylinen">mikko.ylinen</who>
    <bug_when>2017-05-02 10:43:00 +0000</bug_when>
    <thetext>oeqa&apos;s  QemuRunner needs a few enhancements/cleanups, for example, to make it more suitable for ovmf (EFI Shell) testing with Qemu.

Background: since ovmf was added in OE-core, it opens us up more opportunities to do, e.g., UEFI secure boot testing using Qemu.

TODO list:

- It must be possible to run commands in EFI shell too (see ovmf-shell-image). Currently, QemuRunner fails if it does not find regular login prompt (http://git.openembedded.org/openembedded-core/tree/meta/lib/oeqa/utils/qemurunner.py#n277) and if the login fails (http://git.openembedded.org/openembedded-core/tree/meta/lib/oeqa/utils/qemurunner.py#n301). This logic must be made more flexible so that qemu connection is also available in EFI shell (&apos;Shell&gt;&apos;). Perhaps implement &apos;autologin&apos; imagefeature (See Refkit) and start using that.
- These prints are redundant http://git.openembedded.org/openembedded-core/tree/meta/lib/oeqa/utils/qemurunner.py#n291 because qemulog is printed out later.
- targetcontrol.py shall not depend on bb. Things like http://git.openembedded.org/openembedded-core/tree/meta/lib/oeqa/targetcontrol.py#n201 are better in logger.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>88453</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2020-10-22 07:09:18 +0000</bug_when>
    <thetext>I checked and I think some of the latter generic pieces were sorted out. The EFI issues probably remain but would need someone coming at it from a fresh perspective now, this bug isn&apos;t ageing well. Marking as obsolete as someone would come at this from a fresh perspective now.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>