Bug 3930 - [Test Case 146] Check if AUTOPR could be export/lockdown for package build.
Summary: [Test Case 146] Check if AUTOPR could be export/lockdown for package build.
Status: RESOLVED WORKSFORME
Alias: None
Product: BitBake
Classification: Build System, Metadata & Runtime
Component: bitbake (show other bugs)
Version: 1.4
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 1.4 M5
Assignee: Constantin Musca
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2013-02-25 14:11 UTC by Stoicescu Cornel
Modified: 2013-03-08 08:20 UTC (History)
3 users (show)

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


Attachments
log for do_package (395 bytes, application/octet-stream)
2013-02-25 14:11 UTC, Stoicescu Cornel
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stoicescu Cornel 2013-02-25 14:11:05 UTC
Created attachment 1083 [details]
log for do_package

STATUS: FAILED
BUILD: master:7d22ef28e64de06b6238d0ef9b664c0bee6efa46
ENVIRONMENT: Ubuntu 12.04 x86_64
STEPS TO REPRODUCE: 
1. prepare 2 poky build environments
2. in one of the poky source, set PRSERV_HOST to localhost:0 in local.conf
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", and check the deploy folder if the packages for man are re-generated with PR number bump up
6. run "bitbake-prserv-tool export export.inc"
7. in the second poky source, set PRSERV_HOST to localhost:0 in local.conf
8. copy export.inc into the second poky source's build directory
9. run "bitbake -R export.inc man"

Notice Error:

ERROR: Can NOT get PRAUTO from lockdown exported file
ERROR: Function failed: package_get_auto_pr
ERROR: Logfile of failure stored in: /home/cornel/SSD/3poky/build/tmp/work/x86_64-poky-linux/linux-libc-headers/3.7-r1/temp/log.do_package.31117
ERROR: Task 366 (/home/cornel/SSD/3poky/meta/recipes-kernel/linux-libc-headers/linux-libc-headers_3.7.bb, do_package) failed with exit code '1'
Comment 1 Constantin Musca 2013-03-08 08:20:01 UTC
I can't reproduce this bug.

Cheers,
Constantin