-
Notifications
You must be signed in to change notification settings - Fork 120
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
Replace shell-based WE2E test scripts and run_srw_tests.py
script with run_WE2E_tests.py
and monitor_jobs.py
#586
Comments
@mkavulich -
Visual inspection, using rocotostat, for the experiment showed that all of the experiment tasks completed successfully. This behavior is also being seen while running several tests (i.e., fundamental WE2E tests). |
Thanks, I noticed this problem earlier today also. This is an error in the final print message before completing due to some last-minute changes I made that were not committed back correctly. This error only appears after all runs complete, so it shouldn't affect the results, but I can commit a quick fix later today. |
All the needed features have been implemented. Needs comments/docs updates. Then will open the PR. This PR will remove the bash version, and all the other bash scripts in that directory. |
PR needs reviewers, and has a few more comments to address. |
Description
#558 introduced the first implementation of
run_WE2E_tests.py
andmonitor_jobs.py
. The current version accomplishes most of the existing functionality ofrun_WE2E_tests.sh
, but stopped short of a full replacement to reduce the scope of the effort. Now that the first PR has been merged, we should identify the work needed to completely deprecaterun_WE2E_tests.sh
and shift all testing efforts to the python script.The scripts that will be deprecated are:
run_WE2E_tests.sh
: This is the original, bash-based script for generating and submitting the workflow end-to-end testsrun_srw_tests.py
: Introduced in [develop] Python-based crontab replacement #466, this was a temporary solution to platforms that had limitations running full experiment suites in crontabs.monitor_jobs.py
offers a more robust solution.get_WE2Etest_names_subdirs_descs.sh
: This is a script that creates a pipe-delimited .csv file describing the various WE2E tests and settings within. There is a lot of other functionality used by therun_WE2E_tests.sh
script, but this is unnecessary in the python version.get_expts_status.sh
This scriptcreate_WE2E_resource_summary.py
This script prints out a summary of the number of core hours used by a given experiment or set of experiments based on information in the rocoto database files for each experiment.Solution
This issue will track the steps needed to achieve this replacement without disruption to the normal development process.
Requirements
run_WE2E_tests.py
and its related functions should include all functionality present in scripts to be replacedrun_WE2E_tests.sh
run_srw_tests.py
get_WE2Etest_names_subdirs_descs.sh
--print_test_details
flagget_expts_status.sh
create_WE2E_resource_summary.py
WE2E_summary.py
, with several improvements:Acceptance Criteria
Dependencies
Will track relevant PRs here.
The text was updated successfully, but these errors were encountered: