<?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>5984</bug_id>
          
          <creation_ts>2014-03-17 09:42:20 +0000</creation_ts>
          <short_desc>PR server closes using SIGTERM</short_desc>
          <delta_ts>2014-04-01 14:03:19 +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>BitBake</product>
          <component>bitbake</component>
          <version>1.6</version>
          <rep_platform>x86</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>1.6 M5</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Stoicescu Cornel">corneliux.stoicescu</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>Regression (Used to work)</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>41301</commentid>
    <comment_count>0</comment_count>
    <who name="Stoicescu Cornel">corneliux.stoicescu</who>
    <bug_when>2014-03-17 09:42:20 +0000</bug_when>
    <thetext>STATUS: PASSED
BUILD: master:1960f6b2ecbb793b40ebc9aed25c8f9cb7884c9a
ENVIRONMENT: Ubuntu 13.10 x86_64
STEPS TO REPRODUCE: 
1. prepare 2 poky build environments
2. in one of the poky source, run &quot;bitbake-prserv --start&quot;
3. in the second poky source, set PRSERV_HOST to 127.0.0.1:8585
4. run &quot;bitbake xcursor-transparent-theme&quot; and then add following lines into xcursor-transparent-theme_${PV}.bb

#######
do_package_append() {
bb.build.exec_func(&apos;do_test_prserv&apos;, d)
}

do_test_prserv() {
echo &quot;Test if PR service could work&quot;
}
#######

5. re-run &quot;bitbake xcursor-transparent-theme&quot;
6. return to the first poky source and from its build directory issue &apos;bitbake-prserv --stop&apos;

Notice output:
cornel@NODE-3:~/SSD/poky/build$ bitbake-prserv --stop
Waiting for pr-server to exit.
Waiting for pr-server to exit.
Waiting for pr-server to exit.
Waiting for pr-server to exit.
Waiting for pr-server to exit.
Waiting for pr-server to exit.
Waiting for pr-server to exit.
Waiting for pr-server to exit.
Waiting for pr-server to exit.
Waiting for pr-server to exit.
Sending SIGTERM to pr-server.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>41302</commentid>
    <comment_count>1</comment_count>
    <who name="Stoicescu Cornel">corneliux.stoicescu</who>
    <bug_when>2014-03-17 09:43:33 +0000</bug_when>
    <thetext>Notice normal behavior:
cornel@NODE-3:~/SSD/poky/build$ bitbake-prserv --start
cornel@NODE-3:~/SSD/poky/build$ bitbake-prserv --stop
Waiting for pr-server to exit.
cornel@NODE-3:~/SSD/poky/build$&apos;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>41924</commentid>
    <comment_count>2</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2014-03-30 09:55:53 +0000</bug_when>
    <thetext>Fixed in master: http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=6448634205ac1c62fc2ed163498cf65f0f21ca6b</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>42032</commentid>
    <comment_count>3</comment_count>
    <who name="Stoicescu Cornel">corneliux.stoicescu</who>
    <bug_when>2014-04-01 14:03:19 +0000</bug_when>
    <thetext>Verified in poky master:f688f6b566f455eb55d6e5491c80b88c493e158b</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>