Bug 5984 - PR server closes using SIGTERM
Summary: PR server closes using SIGTERM
Status: VERIFIED FIXED
Alias: None
Product: BitBake
Classification: Build System, Metadata & Runtime
Component: bitbake (show other bugs)
Version: 1.6
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.6 M5
Assignee: Richard Purdie
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2014-03-17 09:42 UTC by Stoicescu Cornel
Modified: 2014-04-01 14:03 UTC (History)
2 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: Regression (Used to work)
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stoicescu Cornel 2014-03-17 09:42:20 UTC
STATUS: PASSED
BUILD: master:1960f6b2ecbb793b40ebc9aed25c8f9cb7884c9a
ENVIRONMENT: Ubuntu 13.10 x86_64
STEPS TO REPRODUCE: 
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:8585
4. run "bitbake xcursor-transparent-theme" and then add following lines into xcursor-transparent-theme_${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 xcursor-transparent-theme"
6. return to the first poky source and from its build directory issue 'bitbake-prserv --stop'

Notice output:
cornel@NODE-3:~/SSD/poky/build$ bitbake-prserv --stop
Waiting for pr-server to exit.
Waiting for pr-server to exit.
Waiting for pr-server to exit.
Waiting for pr-server to exit.
Waiting for pr-server to exit.
Waiting for pr-server to exit.
Waiting for pr-server to exit.
Waiting for pr-server to exit.
Waiting for pr-server to exit.
Waiting for pr-server to exit.
Sending SIGTERM to pr-server.
Comment 1 Stoicescu Cornel 2014-03-17 09:43:33 UTC
Notice normal behavior:
cornel@NODE-3:~/SSD/poky/build$ bitbake-prserv --start
cornel@NODE-3:~/SSD/poky/build$ bitbake-prserv --stop
Waiting for pr-server to exit.
cornel@NODE-3:~/SSD/poky/build$'
Comment 3 Stoicescu Cornel 2014-04-01 14:03:19 UTC
Verified in poky master:f688f6b566f455eb55d6e5491c80b88c493e158b