Bug 2776

Summary: Can not get PRAUTO from remote PR service
Product: [Build System, Metadata & Runtime] Meta-yocto Reporter: Hongna Xu <hongnax.xu>
Component: meta-yoctoAssignee: Richard Purdie <richard.purdie>
Status: VERIFIED WORKSFORME QA Contact:
Severity: normal    
Priority: Medium CC: constantinx.musca, corneliux.stoicescu, jiajun.xu, ningx.ma, poky.bs.watcher, poky.watcher, sgw, yilongx.y.sun
Version: 1.3   
Target Milestone: 1.4   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---
Bug Depends on:    
Bug Blocks: 3310    

Description Hongna Xu 2012-07-17 06:21:51 UTC
With latest poky/master, commit: eb0cb7e8234f5d2e5623406e9660be91cf52f65e, Can not get PRAUTO from remote PR service, i got the log:
***********************
NOTE: package linux-libc-headers-3.4-r0: task do_package: Started
ERROR: Can NOT get PRAUTO from remote PR service
ERROR: Function failed: package_get_auto_pr
ERROR: Logfile of failure stored in: /home/build/poky/pr/tmp/work/i586-poky-linux/linux-libc-headers-3.4-r0/temp/log.do_package.356
NOTE: package linux-libc-headers-3.4-r0: task do_package: Failed
ERROR: Task 464 (/home/build/poky/meta/recipes-kernel/linux-libc-headers/linux-libc-headers_3.4.bb, do_package) failed with exit code '1'
*************************
Stps are:
1. prepare 2 poky build environments
2. in one of the poky source, run "bitbake-prserv --start"
3. in the second poky source, set PRSERV_HOST to 127.0.0.1 and PRSERV_PORT to 8585
4. run "bitbake man" and then add following lines into man_${PV}.bb
#######
do_package_append() {
        bb.build.exec_func('do_test_prserv', d)
}

do_test_prserv() {
 echo "Test if PR service could work"
}
#######
5. re-run "bitbake man", task do_packge for recipe man should be re-run
Comment 1 Constantin Musca 2012-11-23 15:49:37 UTC
I cannot reproduce this bug. Can you give me more details about your setup?

Thanks,
Constantin
Comment 2 Richard Purdie 2012-12-05 13:23:04 UTC
Please reopen if more details can be provided.
Comment 3 Stoicescu Cornel 2013-02-21 15:19:19 UTC
Verified in master:7d22ef28e64de06b6238d0ef9b664c0bee6efa46