However, the --project-name argument to the runner scripts allows the user to specify a string that will, among other things, be used as the first part of the container names. If the user specifies a name with underscores, these functions will return the wrong values. This causes the testing environment to attempt to install irods packages in the database container, which will fail under most circumstances due to distro mismatch.
We have a few functions in
context.py
that try to pull information from container names by splitting them by underscores: https://github.com/irods/irods_testing_environment/blob/615a2e24379b1b3733d7ec4ac6ed03afe8711d47/irods_testing_environment/context.py#L147-L175However, the
--project-name
argument to the runner scripts allows the user to specify a string that will, among other things, be used as the first part of the container names. If the user specifies a name with underscores, these functions will return the wrong values. This causes the testing environment to attempt to install irods packages in the database container, which will fail under most circumstances due to distro mismatch.