<?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>10972</bug_id>
          
          <creation_ts>2017-01-25 22:27:25 +0000</creation_ts>
          <short_desc>[Test Case 142] Enable PR service with remote server/local client mode</short_desc>
          <delta_ts>2017-04-12 19:22:13 +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>2.3</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.3 M2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jair Gonzalez">jair.de.jesus.gonzalez.plascencia</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>jose.perez.carranza</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
          
          <qa_contact name="oscar lopez arandas">oscarx.lopez.arandas</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>70165</commentid>
    <comment_count>0</comment_count>
    <who name="Jair Gonzalez">jair.de.jesus.gonzalez.plascencia</who>
    <bug_when>2017-01-25 22:27:25 +0000</bug_when>
    <thetext>STATUS: FAILED
BUILD: 2,3_M2 : 62d7d4130202d8ede16abf9e7d779361ca70847e
ENVIRONMENT: Fedora 24 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 (/meta/recipes-graphics/xcursor-transparent-theme/xcursor-transparent-theme_git.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;
}
---------------------------------------
6. Check the veriosn of  &quot;xcursor-transparent-theme&quot; under tmp/deploy/rpm/all is r0.0
       - example &quot; xcursor-transparent-theme*-r0.0.all.rpm&quot;
	
7. re-run &quot;bitbake xcursor-transparent-theme&quot;, task do_packge for recipe xcursor-transparent-theme should be re-run
8. check the xcursor-transparent-theme package built out under deploy folder, the PR
 number should bump up automatically
		

EXPECTED OUTCOME: PR number should bump up with remote server/local client mode

- example &quot; xcursor-transparent-theme*-r0.1.all.rpm&quot;

ACTUAL RESULTS:

In both cases after executing &quot;bitbake xcursor-transparent-theme&quot; on steps 4 and 7, the result is the following file name under tmp/deploy/rpm/all (it only contains r0 instead of r0.0 or r0.1):

xcursor-transparent-theme-0.1.1+git0+23c8af5ba4-r0.all.rpm</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>70229</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2017-01-27 17:40:23 +0000</bug_when>
    <thetext>Are you setting PRSERV_HOST in both builds in the local.conf file? If the recipe is version &quot;r0&quot;, it sounds like the PR Server isn&apos;t enabled at all?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>70232</commentid>
    <comment_count>2</comment_count>
    <who name="Jair Gonzalez">jair.de.jesus.gonzalez.plascencia</who>
    <bug_when>2017-01-27 18:22:09 +0000</bug_when>
    <thetext>I was setting the variable only on the shell environment. After setting it on local.conf on the second poky source and re-executing the test, the behavior is as expected. I&apos;ll close the ticket as invalid and mark the test case as passed. In addition, to ensure future tests are executed correctly, I added a note on the test case&apos;s steps specifying the change should be done on the local.conf file.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>70245</commentid>
    <comment_count>3</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2017-01-28 10:20:21 +0000</bug_when>
    <thetext>Thanks, sounds like it was a documentation issue and if we fix the documentation we should be good, thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>70246</commentid>
    <comment_count>4</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2017-01-28 12:44:04 +0000</bug_when>
    <thetext>Sorry, didn&apos;t mean to reopen, just comment.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>72408</commentid>
    <comment_count>5</comment_count>
    <who name="oscar lopez arandas">oscarx.lopez.arandas</who>
    <bug_when>2017-04-12 19:22:13 +0000</bug_when>
    <thetext>STATUS: pass
BUILD: 2,3_M3 : 415b72ffcbd26e5f3664370d8b2a9b8105fb6342
ENVIRONMENT: linux 

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 (/meta/recipes-graphics/xcursor-transparent-theme/xcursor-transparent-theme_git.bb)

6. Check the veriosn of  &quot;xcursor-transparent-theme&quot; under tmp/deploy/rpm/all is r0.0
       - example &quot; xcursor-transparent-theme*-r0.0.all.rpm&quot;
	
7. re-run &quot;bitbake xcursor-transparent-theme&quot;, task do_packge for recipe xcursor-transparent-theme should be re-run
8. check the xcursor-transparent-theme package built out under deploy folder, the PR
 number should bump up automatically
		

EXPECTED OUTCOME: PR number should bump up with remote server/local client mode

- example &quot; xcursor-transparent-theme*-r0.1.all.rpm&quot;

ACTUAL RESULTS:
&apos;xcursor-transparent-theme*-r0.1.all.rpm&quot;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>