<?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>14217</bug_id>
          
          <creation_ts>2021-02-03 19:30:19 +0000</creation_ts>
          <short_desc>ptest-runner says child process returns 256 instead of 1</short_desc>
          <delta_ts>2021-04-07 14:20:12 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>QA/Testing</classification>
          <product>Package Testing (ptest)</product>
          <component>ptest</component>
          <version>unspecified</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>normal</bug_severity>
          <target_milestone>3.3 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Yi Fan Yu">yf3yu</reporter>
          <assigned_to name="Aníbal Limón">anibal</assigned_to>
          <cc>anibal</cc>
    
    <cc>randy.macleod</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>89127</commentid>
    <comment_count>0</comment_count>
    <who name="Yi Fan Yu">yf3yu</who>
    <bug_when>2021-02-03 19:30:19 +0000</bug_when>
    <thetext>minor issue
writing a run-ptest script in shell to exit 1, 


but the ptest-runner will say 
`ERROR: Exit status is 256`

this might help:

https://stackoverflow.com/questions/3659616/why-does-wait-set-status-to-256-instead-of-the-1-exit-status-of-the-forked-pr</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89140</commentid>
    <comment_count>1</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2021-02-04 15:57:35 +0000</bug_when>
    <thetext>Richard thinks there&apos;s a missing macro/mask in the ptest code.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89686</commentid>
    <comment_count>2</comment_count>
    <who name="Aníbal Limón">anibal</who>
    <bug_when>2021-03-22 23:14:24 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; Richard thinks there&apos;s a missing macro/mask in the ptest code.

Indeed, I have a patch for this one, I&apos;m working on #14220 to send together.

https://github.com/alimon/ptest-runner2/commit/3f68279340398b07cbb23d570782e82811d5ce26</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89689</commentid>
    <comment_count>3</comment_count>
    <who name="Aníbal Limón">anibal</who>
    <bug_when>2021-03-23 02:18:20 +0000</bug_when>
    <thetext>Patches sent to ML and dev branch,

https://github.com/alimon/ptest-runner2/tree/ptest_fixes</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89844</commentid>
    <comment_count>4</comment_count>
    <who name="Aníbal Limón">anibal</who>
    <bug_when>2021-04-01 14:45:12 +0000</bug_when>
    <thetext>Patch in ptest-runner,

http://git.yoctoproject.org/cgit/cgit.cgi/ptest-runner2/commit/?id=cb2840a659154651334be7e1be6233df724f2832

Recipe bump to 2.4.1 in the ML.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89881</commentid>
    <comment_count>5</comment_count>
    <who name="Aníbal Limón">anibal</who>
    <bug_when>2021-04-07 14:20:12 +0000</bug_when>
    <thetext>Merge at,

https://git.openembedded.org/openembedded-core/commit/?id=e3fd8f17dfb41173dbe037c25087a69f90b1346f</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>