<?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>9304</bug_id>
          
          <creation_ts>2016-03-18 09:53:31 +0000</creation_ts>
          <short_desc>Attempt to remove pexpect requirement from rpm signing</short_desc>
          <delta_ts>2016-05-04 10:07:03 +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.1</version>
          <rep_platform>All</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</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.1 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ross Burton">ross.burton</reporter>
          <assigned_to name="Markus Lehtonen">markus.lehtonen</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>valentinx.hangan</cc>
          
          <qa_contact name="Valentin Hangan">valentinx.hangan</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>60146</commentid>
    <comment_count>0</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2016-03-18 09:53:31 +0000</bug_when>
    <thetext>meta/lib/oe/gpg_sign.py uses pexpect to feed RPM the gpg passphrase.  As pexpect isn&apos;t a core module this is an undocumented external dependency.  We need to see if this can be removed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>60293</commentid>
    <comment_count>1</comment_count>
    <who name="Markus Lehtonen">markus.lehtonen</who>
    <bug_when>2016-03-22 15:36:00 +0000</bug_when>
    <thetext>One attempt submitted as an RFC patch:
http://patchwork.openembedded.org/patch/118373/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61916</commentid>
    <comment_count>2</comment_count>
    <who name="Valentin Hangan">valentinx.hangan</who>
    <bug_when>2016-05-04 10:07:03 +0000</bug_when>
    <thetext>Verfied on master with commit: f7b520878babbaa7527151f22c031ae160512753
Pexpect is removed from function sign_rpms (meta/lib/oe/gpg_sign.py).

Run test signing packages:
oe-selftest --run-tests-by id 1362
2016-05-04 12:10:47,242 - selftest - INFO - Running bitbake -e to get BBPATH
DEBUG: tc id missing for test_sstate_noop_samesigs
2016-05-04 12:10:49,031 - selftest - INFO - Checking that everything is in order before running the tests
2016-05-04 12:10:49,954 - selftest - INFO - Running bitbake -p
2016-05-04 12:11:12,875 - selftest - INFO - Loading tests from: oeqa.selftest.signing.Signing.test_signing_packages
2016-05-04 12:11:12,875 - selftest - INFO - Adding: &quot;include selftest.inc&quot; in local.conf
2016-05-04 12:11:12,875 - selftest - INFO - Adding: &quot;include bblayers.inc&quot; in bblayers.conf
2016-05-04 12:11:12 - test_signing_packages (oeqa.selftest.signing.Signing) ... ok

----------------------------------------------------------------------
Ran 1 test in 1483.475s

OK
2016-05-04 12:35:56,351 - selftest - INFO - Finished
2016-05-04 12:35:56,351 - selftest - INFO - Removing the include from local.conf
2016-05-04 12:35:56,351 - selftest - INFO - Removing the include from bblayers.conf

Close this bug as VERIFIED - FIXED</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>