WMCore icon indicating copy to clipboard operation
WMCore copied to clipboard

Create Alma9 WMCore-dev image to run unit tests, with CouchDB/MariaDB dependencies

Open khurtado opened this issue 5 months ago • 0 comments

Impact of the new feature Create a development Alma9 image of WMAgent/WMCore that includes unittests and necessary dependencies to run unittests

Is your feature request related to a problem? Please describe. While working on https://github.com/dmwm/WMCore/issues/11568 , if we want to run unittests in containers, we cannot use the production WMAgent image, since it does not contain unittests.

Describe the solution you'd like Creating a new development image dedicated for WMCore/WMAgent unittests that includes necessary dependencies to run unittests. Revisit current setup in cmsdocks and other locations and see if we can deprecate/remove older images. Update documentation

Describe alternatives you've considered Similar to the current image for unittests, running all 3 services together: CouchDB + MariaDB + WMAgent

Additional context Spec from cmsdist for creating a unittest docker image: https://github.com/cms-sw/cmsdist/blob/comp_gcc630/wmcorepy3-devtools.spec

services that we build and upload to PyPi: https://github.com/dmwm/WMCore/blob/master/.github/workflows/pypi_build_and_images.yaml#L29C17-L30C117

and list of services that we build a docker image https://github.com/dmwm/WMCore/blob/master/.github/workflows/pypi_build_and_images.yaml#L44

Repository that we build WMCore unit test image (and other images): https://gitlab.cern.ch/CMSDOCKS/dmwm/-/tree/master?ref_type=heads

khurtado avatar Sep 26 '24 14:09 khurtado