<?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>8062</bug_id>
          
          <creation_ts>2015-07-28 11:07:25 +0000</creation_ts>
          <short_desc>ptest - quilt ptest is broken - has many failures</short_desc>
          <delta_ts>2016-02-15 17:08:42 +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>1.9</version>
          <rep_platform>NUC</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>normal</bug_severity>
          <target_milestone>1.9</target_milestone>
          
          <blocked>9119</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexandru Georgescu">alexandru.c.georgescu</reporter>
          <assigned_to name="Maxin B. John (inactive)">maxin.baby.john</assigned_to>
          <cc>bogdanx.a.voiculescu</cc>
    
    <cc>maxin.baby.john</cc>
          
          <qa_contact name="Alexandru Georgescu">alexandru.c.georgescu</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>52656</commentid>
    <comment_count>0</comment_count>
    <who name="Alexandru Georgescu">alexandru.c.georgescu</who>
    <bug_when>2015-07-28 11:07:25 +0000</bug_when>
    <thetext>commit: f9ea480e6c26fea46c3011c4e9d0e2de3d5c81b4
AB Link: http://autobuilder.yoctoproject.org/pub/releases/yocto-yocto-1.9_M1.rc2/ptest/machines/genericx86-64/

HW: core-image-sato-sdk-genericx86-64 on NUC

For full log, see attachment 2605:

2015-07-22T16:32
BEGIN: /usr/lib/quilt/ptest
[add-filename-check.test]
[1] $ mkdir patches -- ok
[3] $ quilt new test.diff -- failed
/usr/lib/quilt/ptest/quilt/new: line 48: getopt: command not found != Patch patches/test.diff is now on top
Usage: quilt new [-p n|-p ab] {patchname} != ~
[6] $ echo foo &gt; foo -- ok
[7] $ quilt add foo -- failed
/usr/lib/quilt/ptest/quilt/add: line 63: getopt: command not found != File foo added to patch patches/test.diff
Usage: quilt add [-P patch] {file} ... != ~
[10] $ quilt add patches/bar -- failed
/usr/lib/quilt/ptest/quilt/add: line 63: getopt: command not found != File patches/bar is located below patches/
Usage: quilt add [-P patch] {file} ... != ~
[13] $ quilt add .pc/baz -- failed
/usr/lib/quilt/ptest/quilt/add: line 63: getopt: command not found != File .pc/baz is located below .pc/
Usage: quilt add [-P patch] {file} ... != ~
6 commands (2 passed, 4 failed)
Makefile:9: recipe for target &apos;check-add-filename-check&apos; failed
FAIL: add-filename-check.test
[altered-series.test]
[3] $ mkdir patches -- ok
[4] $ cat &gt; patches/series -- ok
[9] $ quilt push -q 2 -- failed
/usr/lib/quilt/ptest/quilt/push: line 299: getopt: command not found != Applying patch patches/01.patch
Usage: quilt push [-afqv] [--merge[=merge|diff3]] [--leave-rejects] [--color[=always|auto|never]] [--refresh] [num|patch] != Patch patches/01.patch does not exist; applied empty patch
~                                     != Applying patch patches/02.patch
~                                     != Patch patches/02.patch does not exist; applied empty patch
~                                     != Now at patch patches/02.patch
[16] $ quilt series -v -- failed
/usr/lib/quilt/ptest/quilt/series: line 50: getopt: command not found != + patches/01.patch
Usage: quilt series [--color[=always|auto|never]] [-v] != = patches/02.patch
~                                     !=   patches/03.patch
[22] $ touch patches/series -- ok
[24] $ quilt series -v -- failed
/usr/lib/quilt/ptest/quilt/series: line 50: getopt: command not found != + patches/01.patch
Usage: quilt series [--color[=always|auto|never]] [-v] != = patches/02.patch
~                                     !=   patches/03.patch
[30] $ cat &gt; patches/series -- ok
[35] $ quilt series -v -- failed
/usr/lib/quilt/ptest/quilt/series: line 50: getopt: command not found != The series file no longer matches the applied patches. Please run &apos;quilt pop -a&apos;.
Usage: quilt series [--color[=always|auto|never]] [-v] != ~
[38] $ quilt pop -- failed
/usr/lib/quilt/ptest/quilt/pop: line 169: getopt: command not found != Patch patches/02.patch appears to be empty, removing
Usage: quilt pop [-afRqv] [--refresh] [num|patch] !=
~                                     != Now at patch patches/01.patch
[44] $ quilt series -v -- failed
/usr/lib/quilt/ptest/quilt/series: line 50: getopt: command not found != The series file no longer matches the applied patches. Please run &apos;quilt pop -a&apos;.
Usage: quilt series [--color[=always|auto|never]] [-v] != ~
[47] $ quilt pop -a -- failed
/usr/lib/quilt/ptest/quilt/pop: line 169: getopt: command not found != Patch patches/01.patch appears to be empty, removing
Usage: quilt pop [-afRqv] [--refresh] [num|patch] !=
~                                     != No patches applied
[52] $ quilt series -v -- failed
/usr/lib/quilt/ptest/quilt/series: line 50: getopt: command not found !=   patches/03.patch
Usage: quilt series [--color[=always|auto|never]] [-v] !=   patches/01.patch
~                                     !=   patches/02.patch
12 commands (4 passed, 8 failed)
Makefile:9: recipe for target &apos;check-altered-series&apos; failed
FAIL: altered-series.test
[annotate.test]
[1] $ mkdir patches -- ok
[3] $ cat &gt; foo -- ok
[8] $ quilt new patch -- failed
/usr/lib/quilt/ptest/quilt/new: line 48: getopt: command not found != Patch patches/patch is now on top
Usage: quilt new [-p n|-p ab] {patchname} != ~
[11] $ quilt add foo -- failed
/usr/lib/quilt/ptest/quilt/add: line 63: getopt: command not found != File foo added to patch patches/patch
Usage: quilt add [-P patch] {file} ... != ~
[14] $ sed -e &apos;s:b:B:&apos; foo &gt; foo.new -- ok
[15] $ mv foo.new foo -- ok
[16] $ quilt refresh -- failed
/usr/lib/quilt/ptest/quilt/refresh: line 92: getopt: command not found != Refreshed patch patches/patch
Usage: quilt refresh [-p n|-p ab] [-u|-U num|-c|-C num] [-z[new_name]] [-f] [--no-timestamps] [--no-index] [--diffstat] [--sort] [--backup] [--strip-trailing-whitespace] [patch] != ~
[19] $ quilt annotate foo -- failed
/usr/lib/quilt/ptest/quilt/annotate: line 88: getopt: command not found !=      foo
Usage: quilt annotate [-P patch] {file} != 1    Bar
~                                     != 1      Baz
~                                     !=
~                                     != 1      patches/patch
[26] $ quilt new patch2 -- failed
/usr/lib/quilt/ptest/quilt/new: line 48: getopt: command not found != Patch patches/patch2 is now on top
Usage: quilt new [-p n|-p ab] {patchname} != ~
[29] $ quilt add foo -- failed
/usr/lib/quilt/ptest/quilt/add: line 63: getopt: command not found != File foo added to patch patches/patch2
Usage: quilt add [-P patch] {file} ... != ~
[32] $ sed -e &apos;s:Baz:baz:&apos; foo &gt; foo.new -- ok
[33] $ mv foo.new foo -- ok
[34] $ quilt refresh -- failed
/usr/lib/quilt/ptest/quilt/refresh: line 92: getopt: command not found != Refreshed patch patches/patch2
Usage: quilt refresh [-p n|-p ab] [-u|-U num|-c|-C num] [-z[new_name]] [-f] [--no-timestamps] [--no-index] [--diffstat] [--sort] [--backup] [--strip-trailing-whitespace] [patch] != ~
[37] $ quilt annotate foo -- failed
/usr/lib/quilt/ptest/quilt/annotate: line 88: getopt: command not found !=      foo
Usage: quilt annotate [-P patch] {file} != 1    Bar
~                                     != 2      baz
~                                     !=
~                                     != 1      patches/patch
~                                     != 2      patches/patch2
[45] $ quilt new patch3 -- failed
/usr/lib/quilt/ptest/quilt/new: line 48: getopt: command not found != Patch patches/patch3 is now on top</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>52839</commentid>
    <comment_count>1</comment_count>
    <who name="Alexandru Georgescu">alexandru.c.georgescu</who>
    <bug_when>2015-08-05 15:51:57 +0000</bug_when>
    <thetext>Same issues present in 1.9_M2.rc1
22078d5e533e59a9aa6999abefbf6ece4e01de8d</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>53094</commentid>
    <comment_count>2</comment_count>
    <who name="Maxin B. John (inactive)">maxin.baby.john</who>
    <bug_when>2015-08-13 15:36:43 +0000</bug_when>
    <thetext>Additional package requirements of quilt ptest can be resolved with the following patch:

diff --git a/meta/recipes-devtools/quilt/quilt.inc b/meta/recipes-devtools/quilt/quilt.inc
index ac7ef93..837b36b 100644
--- a/meta/recipes-devtools/quilt/quilt.inc
+++ b/meta/recipes-devtools/quilt/quilt.inc
@@ -57,5 +57,6 @@ do_install_ptest() {
 RDEPENDS_${PN}-ptest = &quot;make file sed gawk diffutils findutils ed perl \
                         perl-module-filehandle perl-module-getopt-std \
                         perl-module-posix perl-module-file-temp \
-                        perl-module-text-parsewords bash \
-&quot;
+                        perl-module-text-parsewords perl-module-overloading \
+                        bash util-linux-getopt \
+                       &quot;
1|majo@sestofb10:/media/data/fb/majo/master/poky/build</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>53106</commentid>
    <comment_count>3</comment_count>
    <who name="Maxin B. John (inactive)">maxin.baby.john</who>
    <bug_when>2015-08-13 22:47:22 +0000</bug_when>
    <thetext>http://lists.openembedded.org/pipermail/openembedded-core/2015-August/108773.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>53135</commentid>
    <comment_count>4</comment_count>
    <who name="Maxin B. John (inactive)">maxin.baby.john</who>
    <bug_when>2015-08-16 22:59:20 +0000</bug_when>
    <thetext>Fix accepted upstream:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=a25e8bd47a654e5cc03d92f471e1e817c66f96c7</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>