-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Run more thorough tests of various parts of the machine #129
Comments
Just to mention that there is a bit of a "mix" of approaches here at the moment. Tests often take a lot of time (and sometimes produce extra files), which is why they are not run as part of a regular execution of a role. Some roles check for whether a Line 28 in 34d60e0
Since the introduction of CI tests, the tests have moved to the molecule/tests/verify.yml task list (e.g. https://github.com/marvel-nccr/ansible-role-aiida/blob/master/molecule/default/verify.yml), which is run as a final step during CI.
The second approach means that it isn't as straightforward to run the tests on a fully built Quantum Mobile (perhaps there is a way, I haven't checked) but I think it's the cleaner and more scalable approach. |
note the full build is now tested on pushes to master or tag/release creation: https://github.com/marvel-nccr/quantum-mobile/actions/runs/308356597 😄 This kind of closes this issue, although we should probably decide (and document) a consistent approach to using |
My remark was not so much about the technical solution but rather that it is not scalable to use the (very time consuming) Quantum Mobile build to detect issues with individual roles (which is what we did in the very beginning before I started testing roles individually). Ideally, this would make it obsolete to e.g. run fleur tests during a build of the quantum mobile (e.g. I would suggest to actually turn The |
I guess my main concern is if you can truly say/assume that: because these tests pass when installing the role into an empty docker container (i.e. the role's molecule testing), this means they will also pass when run as part of a full image build, where the VM will have likely gone through many other modifications before reaching a particular role. For a production build of the VM, I'd rather have to wait a longer time (within reason) to include these test tasks, if it gives greater assurance that the final VM will have no issues. |
I think we agree on this - for releases, one can afford to run even long-running tests (and, of course, interaction between roles can cause problems). You can use either the In the end, I think there are going to be tests that are prone to role interference, where using |
To start, here is a testing procedure for Siesta: marvel-nccr/ansible-role-aiida#43
The text was updated successfully, but these errors were encountered: