| Summary: | The PR Service deletes the -wal and -shm sqlite files when daemonizing | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] BitBake | Reporter: | Diego Santa cruz <Diego.SantaCruz> | ||||
| Component: | bitbake | Assignee: | Richard Purdie <richard.purdie> | ||||
| Status: | VERIFIED FIXED | QA Contact: | Costin <costin.c.constantin> | ||||
| Severity: | normal | ||||||
| Priority: | High | CC: | bogdanx.a.voiculescu, costin.c.constantin, poky.bs.watcher, poky.watcher | ||||
| Version: | 2.0.2 | ||||||
| Target Milestone: | 2.1 M3 | ||||||
| Hardware: | x86 | ||||||
| OS: | Multiple | ||||||
| Whiteboard: | |||||||
| OS type for building Yocto: | --- | Type of Regression: | --- | ||||
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |||||
| Attachments: |
|
||||||
|
Description
Diego Santa cruz
2016-02-02 13:25:46 UTC
Could you send this patch and those for the other PR server bugs you've opened to the bitbake-devel list please? Sure! I'll subscribe to the list and send them in. Hello,
Tested on latest (23056103c949b498c23b47579e8dd57ce78e6ed9) master on an Ubuntu 15.10 host.
Steps performed:
1) add in local.conf:
PRSERV_HOST = "localhost:0"
INHERIT += "buildhistory"
BUILDHISTORY_COMMIT = "1"
2) start prserv:
bitbake-prserv --start
3) ls builddir:
ls -1 poky/build
...
prserv.sqlite3
prserv.sqlite3-shm
prserv.sqlite3-wal
...
4) a) kill 9 prserv_pid
ps xau | grep python
...
24681 ... python /media/yp_builds/2poky/bitbake/bin/bitbake-prserv --start
...
kill -9 24681
b) simulate power outage by unplugging PC
for both 4.a) and 4.b) -shm and -wal files were still present
Marking as verified.
|