Skip to content
This repository has been archived by the owner on May 6, 2020. It is now read-only.

metrics: fio: trap failures and remove the containers #904

Open
grahamwhaley opened this issue Feb 8, 2018 · 0 comments
Open

metrics: fio: trap failures and remove the containers #904

grahamwhaley opened this issue Feb 8, 2018 · 0 comments

Comments

@grahamwhaley
Copy link
Contributor

When a server runs out of disk space, quite often we find an fio container still present. This does not help, as whilst the container is present it is still holding open a 4G test file...
We probably want to trap EXIT and ensure we cleanup, along with https://github.com/clearcontainers/tests/blob/master/metrics/storage/fio_job.sh#L233

mid/longer term thought - it might be nice if we had a more generic way to handle this in the metrics tests, in the common code.

mcastelino pushed a commit to mcastelino/tests that referenced this issue Jan 23, 2019
We create a Pod that has one container. The container has handlers for
postStart and preStop events and then we verify the message for the
postStart event.

Fixes clearcontainers#904

Signed-off-by: Gabriela Cervantes <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant