| Summary: |
[Test Case 146] Check if AUTOPR could be export/lockdown for package build. |
| Product: |
[Build System, Metadata & Runtime] BitBake
|
Reporter: |
Stoicescu Cornel <corneliux.stoicescu> |
| Component: |
bitbake | Assignee: |
Constantin Musca <constantinx.musca> |
| Status: |
RESOLVED
WORKSFORME
|
QA Contact: |
|
| Severity: |
normal
|
|
|
| Priority: |
Medium+
|
CC: |
poky.bs.watcher, poky.watcher, sgw
|
| Version: |
1.4 | |
|
| Target Milestone: |
1.4 M5 | |
|
| Hardware: |
x86 | |
|
| OS: |
Multiple | |
|
| Whiteboard: |
|
|
OS type for building Yocto:
|
---
|
Type of Regression:
|
---
|
|
Verified:
|
|
Documentation change:
|
---
|
| Attachments: |
|
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'