Skip to content

Unified rc12 testing: diags_environment_commands doesn't seem to be set up properly for Compy #482

@forsyth2

Description

@forsyth2
$ zppy -c tests/integration/generated/test_complete_run_compy.cfg
$ cd /compyfs/fors729/zppy_test_complete_run_output/v2.LR.historical_0201/post/scripts
$ grep "ERROR" *status
e3sm_diags_atm_monthly_180x360_aave_environment_commands_model_vs_obs_1850-1851.status:ERROR (5)
e3sm_diags_atm_monthly_180x360_aave_environment_commands_model_vs_obs_1850-1853.status:ERROR (5)
e3sm_diags_atm_monthly_180x360_aave_environment_commands_model_vs_obs_1852-1853.status:ERROR (5)
$ cat e3sm_diags_atm_monthly_180x360_aave_environment_commands_model_vs_obs_1850-1851.o553041 
Could not find conda environment: e3sm_diags_20230816
You can list all discoverable environments with `conda info --envs`.

/tmp/slurmd/job553041/slurm_script: line 121: cdscan: command not found

From the cfg:
environment_commands = "source /qfs/people/fors729/miniconda3/etc/profile.d/conda.sh; conda activate e3sm_diags_20230816" (set by "diags_environment_commands": "source /qfs/people/fors729/miniconda3/etc/profile.d/conda.sh; conda activate e3sm_diags_20230816", in tests/integration/utils.py).

Metadata

Metadata

Assignees

No one assigned

    Labels

    TestingFiles in `tests` modifiedsemver: bugBug fix (will increment patch version)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions