Bug 2776 - Can not get PRAUTO from remote PR service
Summary: Can not get PRAUTO from remote PR service
Status: VERIFIED WORKSFORME
Alias: None
Product: Meta-yocto
Classification: Build System, Metadata & Runtime
Component: meta-yocto (show other bugs)
Version: 1.3
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.4
Assignee: Richard Purdie
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks: 3310
  Show dependency tree
 
Reported: 2012-07-17 06:21 UTC by Hongna Xu
Modified: 2013-02-21 15:19 UTC (History)
8 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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