<?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>10744</bug_id>
          
          <creation_ts>2016-11-30 14:33:45 +0000</creation_ts>
          <short_desc>Update test case of smartpm/createrepo under meta/lib/oeqa/runtime</short_desc>
          <delta_ts>2018-07-02 21:38:19 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>QA/Testing</classification>
          <product>Runtime Testing</product>
          <component>general</component>
          <version>2.3</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>2.6 M1</target_milestone>
          <dependson>9675</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jose Perez C">jose.perez.carranza</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>alex.kanavin</cc>
    
    <cc>benjamin.esquivel</cc>
    
    <cc>mariano.lopez</cc>
    
    <cc>mark.hatle</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>robin.l.jordan</cc>
          
          <qa_contact name="Apoorv">apoorv.sangal</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>68720</commentid>
    <comment_count>0</comment_count>
    <who name="Jose Perez C">jose.perez.carranza</who>
    <bug_when>2016-11-30 14:33:45 +0000</bug_when>
    <thetext>After a final on decision on the bug 9675 QA may require to update the current test cases for rpm and smart located on meta/lib/oequa/runtime</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>70339</commentid>
    <comment_count>1</comment_count>
    <who name="Alexander Kanavin">alex.kanavin</who>
    <bug_when>2017-02-01 17:28:57 +0000</bug_when>
    <thetext>I&apos;ve already ported and verified the basic test cases. Some of the original test cases for smartpm have been removed because they make no sense to me.

https://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/tree/meta/lib/oeqa/runtime/cases/dnf.py?h=akanavin/dnf-rpm4

https://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/tree/meta/lib/oeqa/runtime/cases/rpm.py?h=akanavin/dnf-rpm4

I would like you to review them, run them, and perhaps add more advanced tests (send me the patches for any new testcases you write).

(note: the branch akanavin/dnf-rpm4 will be force pushed so be prepared to handle that)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>70340</commentid>
    <comment_count>2</comment_count>
    <who name="Jose Perez C">jose.perez.carranza</who>
    <bug_when>2017-02-01 17:31:36 +0000</bug_when>
    <thetext>Also test IDs should be created on Testopia</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>70365</commentid>
    <comment_count>3</comment_count>
    <who name="Jose Perez C">jose.perez.carranza</who>
    <bug_when>2017-02-02 14:13:25 +0000</bug_when>
    <thetext>According to the list of commands on the documentation [1] there is list of commands that dnf provides below is the full list:

******* CURRENTLY TESTED ************
-help
-history
-info 
-install
-makecache
-reinstall
-remove
-repolist
-search

******* NOT CURRENT TESTED ***********

-autoremove
-check-update
-clean
-distro-sync
-downgrade
-group
-list
-mark
-provides
-repository-packages
-updateinfo
-upgrade
-upgrade-to 

Hence the scope of this bug is to cover the commands not being tested, unless someone has a different command/scenario that should be included. 

1- http://dnf.readthedocs.io/en/latest/command_ref.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>70392</commentid>
    <comment_count>4</comment_count>
    <who name="Alexander Kanavin">alex.kanavin</who>
    <bug_when>2017-02-02 17:19:15 +0000</bug_when>
    <thetext>I think you could also check various options of the dnf command, both from command line and configuration file. Of particular interest:

-x

--installroot (Mark would be particularly interested in this one :)

signature verification of repositories and packages in them (I didn&apos;t implement signing either of those yet, but that doesn&apos;t mean you can&apos;t write the test :)

Don&apos;t blindly make a test for all dnf commands, see what they mean and if testing them makes sense.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>70720</commentid>
    <comment_count>5</comment_count>
    <who name="Jose Perez C">jose.perez.carranza</who>
    <bug_when>2017-02-15 21:44:58 +0000</bug_when>
    <thetext>Depending on bug 9675 that was moved to 2.4</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>72081</commentid>
    <comment_count>6</comment_count>
    <who name="Jose Perez C">jose.perez.carranza</who>
    <bug_when>2017-04-04 19:08:30 +0000</bug_when>
    <thetext>First patch with the test cases ID was already sent 

http://lists.openembedded.org/pipermail/openembedded-core/2017-April/135155.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73174</commentid>
    <comment_count>7</comment_count>
    <who name="Jose Perez C">jose.perez.carranza</who>
    <bug_when>2017-05-10 19:38:24 +0000</bug_when>
    <thetext>Patch sent

https://patchwork.openembedded.org/patch/139734/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73211</commentid>
    <comment_count>8</comment_count>
    <who name="Jose Perez C">jose.perez.carranza</who>
    <bug_when>2017-05-11 17:33:39 +0000</bug_when>
    <thetext>PATCH v2 sent 

https://patchwork.openembedded.org/patch/139781/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73262</commentid>
    <comment_count>9</comment_count>
    <who name="Jose Perez C">jose.perez.carranza</who>
    <bug_when>2017-05-15 19:21:08 +0000</bug_when>
    <thetext>V3 on the list 

https://patchwork.openembedded.org/patch/139873/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73950</commentid>
    <comment_count>10</comment_count>
    <who name="Jose Perez C">jose.perez.carranza</who>
    <bug_when>2017-06-09 16:33:44 +0000</bug_when>
    <thetext>Some rework needed due failures on AB moving to M2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>74115</commentid>
    <comment_count>11</comment_count>
    <who name="Jose Perez C">jose.perez.carranza</who>
    <bug_when>2017-06-13 19:55:36 +0000</bug_when>
    <thetext>V4 on the list 

https://patchwork.openembedded.org/patch/140804/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>75155</commentid>
    <comment_count>12</comment_count>
    <who name="Jose Perez C">jose.perez.carranza</who>
    <bug_when>2017-07-19 19:50:14 +0000</bug_when>
    <thetext>Moved to M3 as was not integrated for M2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>75984</commentid>
    <comment_count>13</comment_count>
    <who name="Jose Perez C">jose.perez.carranza</who>
    <bug_when>2017-08-18 14:02:51 +0000</bug_when>
    <thetext>There are some issues with archs and image types, reworking to create test cases applicable for all arch and image types. Moving to 2.5 as this is an enhancement and does not apply for 2.4 M4.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>78407</commentid>
    <comment_count>14</comment_count>
    <who name="Jose Perez C">jose.perez.carranza</who>
    <bug_when>2017-11-29 17:41:32 +0000</bug_when>
    <thetext>A proposed pact is on below branch 

http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=jperez/bug-10744-dnf</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>78418</commentid>
    <comment_count>15</comment_count>
    <who name="Alexander Kanavin">alex.kanavin</who>
    <bug_when>2017-11-30 11:49:50 +0000</bug_when>
    <thetext>So were you able to resolve issues mentioned in comment 13? If so, the patch should go on oe-core list.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>78426</commentid>
    <comment_count>16</comment_count>
    <who name="Jose Perez C">jose.perez.carranza</who>
    <bug_when>2017-11-30 16:19:03 +0000</bug_when>
    <thetext>patch sent to the list 

https://patchwork.openembedded.org/patch/146317/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>80506</commentid>
    <comment_count>17</comment_count>
    <who name="Robin Jordan">robin.l.jordan</who>
    <bug_when>2018-05-07 17:27:17 +0000</bug_when>
    <thetext>Did this go into 2.5?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>80512</commentid>
    <comment_count>18</comment_count>
    <who name="Alexander Kanavin">alex.kanavin</who>
    <bug_when>2018-05-07 22:31:22 +0000</bug_when>
    <thetext>No, as far as I see. Since QA team was moved from GDC to Penang, no progress has happened. I don&apos;t remember what was the issue with the last iteration of the patch specifically that prevented it going in.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81000</commentid>
    <comment_count>19</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2018-07-02 21:38:19 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=cb68e9a2feade1ee05f8c27438b41bdeac55ae3d</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>