Skip to content

Auto update dev-MC_100km_jra_ryf to use access-om3/pr260-5 - #1552

Closed
access-bot wants to merge 1 commit into
dev-MC_100km_jra_ryffrom
auto/pr260/dev-MC_100km_jra_ryf
Closed

access-bot wants to merge 1 commit into
dev-MC_100km_jra_ryffrom
auto/pr260/dev-MC_100km_jra_ryf

auto: use access-om3/pr260-5 from https://github.com/ACCESS-NRI/ACCES…

efcbbe9
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
GitHub Actions / QA Test Results failed Aug 10, 2026 in 0s

1 fail, 2 skipped, 10 pass in 0s

13 tests   10 ✅  0s ⏱️
 1 suites   2 💤
 1 files     1 ❌

Results for commit efcbbe9.

Annotations

Check warning on line 0 in qa.test_access_om3_config.TestAccessOM3

See this annotation in the file changed.

@github-actions github-actions / QA Test Results

test_access_om3_manifest_exe_in_release_spack_location (qa.test_access_om3_config.TestAccessOM3) failed

./test_report.xml [took 0s]
Raw output
AssertionError: Failed to find release artefact for model version at https://github.com/ACCESS-NRI/ACCESS-OM3/releases/tag/pr260-5
assert 404 == 200
 +  where 404 = <Response [404]>.status_code
 +    where <Response [404]> = <function get at 0x7f19b573e340>('https://github.com/ACCESS-NRI/ACCESS-OM3/releases/tag/pr260-5')
 +      where <function get at 0x7f19b573e340> = requests.get
self = <test_access_om3_config.TestAccessOM3 object at 0x7f19b55d9bd0>
config = {'sync': {'enable': False, 'base_path': None, 'restarts': True, 'exclude_uncollated': False}, 'modules': {'use': ['/g/...83/modules', '/g/data/vk83/prerelease/modules'], 'load': ['access-om3/pr260-5']}, 'queue': 'normal', 'ncpus': 240, ...}
control_path = PosixPath('/home/runner/work/access-om3-configs/access-om3-configs')

    def test_access_om3_manifest_exe_in_release_spack_location(
        self, config, control_path
    ):
    
>       check_manifest_exes_in_spack_location(
            model_module_name="access-om3",
            model_repo_name="ACCESS-OM3",
            control_path=control_path,
            config=config,
        )

/opt/hostedtoolcache/Python/3.11.0/x64/lib/python3.11/site-packages/model_config_tests/config_tests/qa/test_access_om3_config.py:21: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/opt/hostedtoolcache/Python/3.11.0/x64/lib/python3.11/site-packages/model_config_tests/config_tests/qa/test_config.py:345: in check_manifest_exes_in_spack_location
    spack_location = get_spack_location_file(model_repo_name, module_version)
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

model_repo_name = 'ACCESS-OM3', model_version = 'pr260-5'

    def get_spack_location_file(model_repo_name, model_version):
        """Return the spack.location file for the model version
        from a Github release artefact. Raises an AssertionError if the
        release artefact or spack.location file is not found."""
        base_url = f"https://github.com/ACCESS-NRI/{model_repo_name}/releases"
        # Check whether there is a release artefact for the model version
        release_url = f"{base_url}/tag/{model_version}"
>       assert (
            requests.get(release_url).status_code == 200
        ), f"Failed to find release artefact for model version at {release_url}"
E       AssertionError: Failed to find release artefact for model version at https://github.com/ACCESS-NRI/ACCESS-OM3/releases/tag/pr260-5
E       assert 404 == 200
E        +  where 404 = <Response [404]>.status_code
E        +    where <Response [404]> = <function get at 0x7f19b573e340>('https://github.com/ACCESS-NRI/ACCESS-OM3/releases/tag/pr260-5')
E        +      where <function get at 0x7f19b573e340> = requests.get

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