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

Update config.yaml #152

Closed

Update config.yaml

5448752
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Closed

Update config.yaml #152

Update config.yaml
5448752
Select commit
Loading
Failed to load commit list.
GitHub Actions / QA Test Results failed Dec 11, 2024 in 0s

2 fail, 34 pass in 0s

36 tests   34 ✅  0s ⏱️
 1 suites   0 💤
 1 files     2 ❌

Results for commit 5448752.

Annotations

Check warning on line 0 in test_config.TestConfig

See this annotation in the file changed.

@github-actions github-actions / QA Test Results

test_sub_model_exe_paths_in_manifest (test_config.TestConfig) failed

./test_report.xml [took 0s]
Raw output
KeyError: 'exe'
self = <model_config_tests.test_config.TestConfig object at 0x7ff075d4d750>
config = {'collate': {'exe': '/g/data/vk83/apps/mppnccombine-fast/0.2/bin/mppnccombine-fast', 'mem': '16GB', 'mpi': True, 'ncpu...ccess-om2/remapping_weights/JRA55/global.01deg/2020.05.30/rmp_jra55_cice_patch.nc'], 'jobname': '01deg_jra55_ryf', ...}
exe_manifest_fullpaths = {'/g/data/vk83/apps/spack/0.20/release/linux-rocky8-x86_64/intel-19.0.5.281/libaccessom2-git.2023.10.26=2023.10.26-ltf...-19.0.5.281/cice5-git.2023.10.19_2023.10.19-i5krrcaxu6i3elyb4e3pcgzkvotybsoj/bin/cice_auscom_3600x2700_90x90_722p.exe'}

    def test_sub_model_exe_paths_in_manifest(self, config, exe_manifest_fullpaths):
        for model in config.get("submodels", []):
            if "exe" in model:
                assert model["exe"] in exe_manifest_fullpaths, (
                    f"Submodel {model['name']} executable path should be in "
>                   + f"Manifest file (e.g. manifests/exe.yaml): {config['exe']}"
                )
E               KeyError: 'exe'

/opt/hostedtoolcache/Python/3.11.0/x64/lib/python3.11/site-packages/model_config_tests/test_config.py:108: KeyError

Check warning on line 0 in test_config.TestConfig

See this annotation in the file changed.

@github-actions github-actions / QA Test Results

test_manifest_reproduce_exe_is_on (test_config.TestConfig) failed

./test_report.xml [took 0s]
Raw output
AssertionError: Executable reproducibility should be enforced, e.g set:
  manifest:
      reproduce:
          exe: True
assert ('exe' in {'exe': False} and False)
self = <model_config_tests.test_config.TestConfig object at 0x7ff075d541d0>
config = {'collate': {'exe': '/g/data/vk83/apps/mppnccombine-fast/0.2/bin/mppnccombine-fast', 'mem': '16GB', 'mpi': True, 'ncpu...ccess-om2/remapping_weights/JRA55/global.01deg/2020.05.30/rmp_jra55_cice_patch.nc'], 'jobname': '01deg_jra55_ryf', ...}

    def test_manifest_reproduce_exe_is_on(self, config):
        manifest_reproduce = config.get("manifest", {}).get("reproduce", {})
>       assert "exe" in manifest_reproduce and manifest_reproduce["exe"], (
            "Executable reproducibility should be enforced, e.g set:\n"
            + "manifest:\n    reproduce:\n        exe: True"
        )
E       AssertionError: Executable reproducibility should be enforced, e.g set:
E         manifest:
E             reproduce:
E                 exe: True
E       assert ('exe' in {'exe': False} and False)

/opt/hostedtoolcache/Python/3.11.0/x64/lib/python3.11/site-packages/model_config_tests/test_config.py:135: AssertionError