Skip to content
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

Issue with running single restart test #1057

Closed
uturuncoglu opened this issue Feb 19, 2022 · 0 comments · Fixed by #1045
Closed

Issue with running single restart test #1057

uturuncoglu opened this issue Feb 19, 2022 · 0 comments · Fixed by #1045
Labels
enhancement New feature or request

Comments

@uturuncoglu
Copy link
Collaborator

uturuncoglu commented Feb 19, 2022

Description

A single RT can be run using ./rt.sh -n [test name] command but when same command is used for the restart tests, it does not run the dependency test (the control). This causes failure in the regression test since the restart files are not available. As a workaround, i am creating a custom rt.conf file that includes only subset of the RTs such as cpld_control_c96_p8 and cpld_restart_c96_p8 to run only those tests.

Following information can be used to see the issue:

  1. checkout UFS weather model
    git clone --recursive https://github.com/ufs-community/ufs-weather-model.git
  2. goto test directory cd ufs-weather-model/tests
  3. try run coupled restart test using ./rt.sh -n cpld_restart_c96_p8
  4. the test will fail due to missing restart files

Solution

The issue can be solved by extending rt.sh script by providing multiple entry to -n option like ./rt.sh -n cpld_control_c96_p8,cpld_restart_c96_p8

Alternatives

The rt_single function in ./rt.sh can be modified to check the RT for dependency and include the dependency test to the rt.conf.single file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
1 participant