<?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>11201</bug_id>
          
          <creation_ts>2017-03-21 22:54:27 +0000</creation_ts>
          <short_desc>QA: Validate testing TPM(v1.2) support on QEMU has been enabled</short_desc>
          <delta_ts>2017-05-23 22:04:18 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>QA/Testing</classification>
          <product>IoT Reference OS Kit Testing</product>
          <component>intel-iot-refkit-automated-runtime-testing</component>
          <version>2.3</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>2.3 M4</target_milestone>
          <dependson>11080</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jair Gonzalez">jair.de.jesus.gonzalez.plascencia</reporter>
          <assigned_to name="Humberto Ibarra">humberto.ibarra.lopez</assigned_to>
          <cc>randy.macleod</cc>
          
          <qa_contact name="Jair Gonzalez">jair.de.jesus.gonzalez.plascencia</qa_contact>
          <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>71545</commentid>
    <comment_count>0</comment_count>
    <who name="Jair Gonzalez">jair.de.jesus.gonzalez.plascencia</who>
    <bug_when>2017-03-21 22:54:27 +0000</bug_when>
    <thetext>Using swtpm with qemu currently depends on starting swtpm as root before each runqemu invocation. This is incompatible with the &quot;no root&quot; requirement for automated testing. A solution is being developed to connect qemu to swtpm through a unix domain datagram socket so no root rights are needed.

The purpose of this item is to track the development of a test suite to validate the following conditions are met on the qemu to swtpm connection:

- Read/write can work correctly.
- ioctls could be mapped to out-of-band messages.
- If the unix domain socket pair is created by qemu and passed to swtpm as stdin/out, then it is guaranteed that swtpm stops when qemu gets killed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>72563</commentid>
    <comment_count>1</comment_count>
    <who name="Jair Gonzalez">jair.de.jesus.gonzalez.plascencia</who>
    <bug_when>2017-04-17 21:28:13 +0000</bug_when>
    <thetext>After an agreement with the Refkit team, the progress on the minimal required sanity tests to release a feature will be tracked on the same bug issue used to track the feature&apos;s development. Analogous QA bugs like this one may be created if required, and will be used to track the development of more extensive test cases.

According to this, the dependence will be inverted in relation to the feature bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73456</commentid>
    <comment_count>2</comment_count>
    <who name="Humberto Ibarra">humberto.ibarra.lopez</who>
    <bug_when>2017-05-23 22:04:18 +0000</bug_when>
    <thetext>No more tests for this are considered at the moment aside of the core ones which already being described as part of a different bug. Closing for now.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>