From Fedora Project Wiki
No edit summary |
No edit summary |
||
Line 25: | Line 25: | ||
</ol> | </ol> | ||
|results= | |results= | ||
#abrt-cli list's output should contain these fiels: container, container_cmdline, container_id, container_image, docker_inspect | #abrt-cli list's output should contain these fiels: container, container_cmdline, container_id, container_image, docker_inspect (which will be empty if you have SELinux enforcing : https://bugzilla.redhat.com/show_bug.cgi?id=1194280) | ||
}} | }} | ||
[[Category:Package_abrt_test_cases]] | [[Category:Package_abrt_test_cases]] |
Revision as of 06:47, 14 April 2015
Description
This test case tests the ABRT's ability to process crashes of binaries running in a container.
Setup
Install you favourite container technology (Docker, LXC, systemd-nspawn) and start a container. You can use [Docker and Fedora 22 Alpha Base image]
How to test
- Turn on ABRT core dump hook:
systemctl start abrt-ccpp.service
-
Kill sleep with SIGSEGV in your container.
docker run -it --rm Fedora-Docker-Base-22_Alpha-20150305.x86_64 bash sleep 1000 & kill -SEGV %%
-
run
abrt-cli
sudo abrt-cli list -d
Expected Results
- abrt-cli list's output should contain these fiels: container, container_cmdline, container_id, container_image, docker_inspect (which will be empty if you have SELinux enforcing : https://bugzilla.redhat.com/show_bug.cgi?id=1194280)