Running tests in a Container
by Samuel Petrovic
Hi beaker-devel and beaker-users,
Sam from Kernel Performance here.
There has been a requirement for our team to test inside docker containers. The workflow of our subteam depends on ability to specify tasks in job XML such as environment preparation and running tests (we provide test parameters in job XML). Considering this, we would appreciate the ability to run beaker tasks in docker container directly as shown in user-guide[0].
However, the guide seems to be heavily deprecated and lack working examples. Fedora20 is no longer available in beaker and given restraint repo url is unreachable. Even after specifying existing Fedora distro and official restraint repo, the jobs seem to be stuck somewhere after installation (e.g. [1]).
We could probably make a workaround and specify all we need in some homemade docker image, but that wouldn't really scale for us. Also, with increasing relevancy of containers in Red Hat portfolio, more teams would probably appreciate this functionality as well.
I wanted to ask:
*is this feature ready or will be ready in near future for our testing?
*is there anyone who already successfully uses this feature?
*is it possible to update user-guide with working examples and more info?
Best regards and thanks for answers,
Sam
[0] https://beaker-project.org/docs/user-guide/contained-test-harness.html
[1] https://beaker.engineering.redhat.com/jobs/2744528
5 years, 6 months