-
-
Notifications
You must be signed in to change notification settings - Fork 21
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
ModuleLoadTest Class #189
Comments
Would module load be a command associated with |
I'm generally thinking that a class should represent an actual wrapper for something in the real world (e.g. the module command) and then different states / functions can be represented with that class (e.g., module load). So my question is - why is |
I understand your reasoning. The What i had in mind is the YAML schema can have some key maybe Since The The way i see ModuleLoadTest working is the following
This is just an idea of how i think The include-list and exclude-list are version specific that can be useful with filtering modules or excluding modules that are in development or bound to break. For instance some modules like The Hope that makes sense. |
closing this ticket I have captured this in buildtesters/lmodule#1 |
Now that we have a
Spider()
class we can implement theModuleLoad
class which should provide the following featuremodule purge
andmodule --force purge
before each testbuildtest module list --filter-include "GCC"
)buildtest module loadtest --login
We may also want to ensure
MODULEPATH
is set to tree specified inModuleLoadTest
class.The purpose of this feature is to provide SysAdmin or SoftwareAdministrator to validate all their modules in their stack with a single command. This feature is already present in buildtest, but the intent is to make this an API and refactor existing code. Users can use the API to customize for their site on how they want to test their modules.
Currently, buildtest only provides a command line method. This works really well now that we have a
Spider
class we can get all modules from a tree and then test each one.Ultimately this would replace module_load_test method which is quite ugly https://github.com/HPC-buildtest/buildtest-framework/blob/devel/buildtest/tools/modules.py#L231
The text was updated successfully, but these errors were encountered: