Skip to content

CI (pull_request) for 144/merge #13

CI (pull_request) for 144/merge

CI (pull_request) for 144/merge #13

GitHub Actions / QA Test Results failed Oct 18, 2024 in 0s

12 errors, 5 fail, 11 pass in 0s

28 tests   11 ✅  0s ⏱️
 1 suites   0 💤
 1 files     5 ❌  12 🔥

Results for commit c8d1cf2.

Annotations

Check warning on line 0 in qa.test_config.TestConfig

See this annotation in the file changed.

@github-actions github-actions / QA Test Results

test_runlog_is_on (qa.test_config.TestConfig) failed

./test_report.xml [took 0s]
Raw output
assert False
self = <test_config.TestConfig object at 0x7f8799e7bad0>
config = {'collate': False, 'exe': 'access-om3-MOM6-CICE6', 'input': ['/g/data/vk83/configurations/inputs/access-om3/share/mesh...3/configurations/inputs/access-om3/mom/grids/mosaic/global.1deg/2020.05.30/ocean_hgrid.nc', ...], 'jobfs': '10GB', ...}

    def test_runlog_is_on(self, config):
        runlog_config = config.get("runlog", {})
        if isinstance(runlog_config, bool):
            runlog_enabled = runlog_config
        else:
            runlog_enabled = runlog_config.get("enable", True)
>       assert runlog_enabled
E       assert False

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

Check warning on line 0 in qa.test_config.TestConfig

See this annotation in the file changed.

@github-actions github-actions / QA Test Results

test_restart_freq_is_date_based (qa.test_config.TestConfig) failed

./test_report.xml [took 0s]
Raw output
AssertionError: Restart frequency should be defined
assert 'restart_freq' in {'collate': False, 'exe': 'access-om3-MOM6-CICE6', 'input': ['/g/data/vk83/configurations/inputs/access-om3/share/mesh...3/configurations/inputs/access-om3/mom/grids/mosaic/global.1deg/2020.05.30/ocean_hgrid.nc', ...], 'jobfs': '10GB', ...}
self = <test_config.TestConfig object at 0x7f8799e7dd10>
config = {'collate': False, 'exe': 'access-om3-MOM6-CICE6', 'input': ['/g/data/vk83/configurations/inputs/access-om3/share/mesh...3/configurations/inputs/access-om3/mom/grids/mosaic/global.1deg/2020.05.30/ocean_hgrid.nc', ...], 'jobfs': '10GB', ...}

    def test_restart_freq_is_date_based(self, config):
>       assert "restart_freq" in config, "Restart frequency should be defined"
E       AssertionError: Restart frequency should be defined
E       assert 'restart_freq' in {'collate': False, 'exe': 'access-om3-MOM6-CICE6', 'input': ['/g/data/vk83/configurations/inputs/access-om3/share/mesh...3/configurations/inputs/access-om3/mom/grids/mosaic/global.1deg/2020.05.30/ocean_hgrid.nc', ...], 'jobfs': '10GB', ...}

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

Check warning on line 0 in qa.test_config.TestConfig

See this annotation in the file changed.

@github-actions github-actions / QA Test Results

test_manifest_reproduce_exe_is_on (qa.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 {})
self = <test_config.TestConfig object at 0x7f8799e7ef90>
config = {'collate': False, 'exe': 'access-om3-MOM6-CICE6', 'input': ['/g/data/vk83/configurations/inputs/access-om3/share/mesh...3/configurations/inputs/access-om3/mom/grids/mosaic/global.1deg/2020.05.30/ocean_hgrid.nc', ...], 'jobfs': '10GB', ...}

    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 {})

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

Check warning on line 0 in qa.test_config.TestConfig

See this annotation in the file changed.

@github-actions github-actions / QA Test Results

test_metadata_is_enabled (qa.test_config.TestConfig) failed

./test_report.xml [took 0s]
Raw output
AssertionError: Metadata should be enabled, otherwise new UUIDs will not be generated and branching in Payu would not work - as branch and UUIDs are not used in the name used for archival.
assert False
self = <test_config.TestConfig object at 0x7f8799e7ff10>
config = {'collate': False, 'exe': 'access-om3-MOM6-CICE6', 'input': ['/g/data/vk83/configurations/inputs/access-om3/share/mesh...3/configurations/inputs/access-om3/mom/grids/mosaic/global.1deg/2020.05.30/ocean_hgrid.nc', ...], 'jobfs': '10GB', ...}

    def test_metadata_is_enabled(self, config):
        if "metadata" in config and "enable" in config["metadata"]:
>           assert config["metadata"]["enable"], (
                "Metadata should be enabled, otherwise new UUIDs will not "
                + "be generated and branching in Payu would not work - as "
                + "branch and UUIDs are not used in the name used for archival."
            )
E           AssertionError: Metadata should be enabled, otherwise new UUIDs will not be generated and branching in Payu would not work - as branch and UUIDs are not used in the name used for archival.
E           assert False

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

Check failure on line 0 in qa.test_config.TestConfig

See this annotation in the file changed.

@github-actions github-actions / QA Test Results

test_validate_metadata (qa.test_config.TestConfig) with error

./test_report.xml [took 0s]
Raw output
failed on setup with "FileNotFoundError: [Errno 2] No such file or directory: '/home/runner/work/access-om3-configs/access-om3-configs/metadata.yaml'"
control_path = PosixPath('/home/runner/work/access-om3-configs/access-om3-configs')

    @pytest.fixture(scope="session")
    def metadata(control_path: Path):
        """Read the metadata file in the control directory"""
        metadata_path = control_path / "metadata.yaml"
        # Use ruamel.yaml as that is what is used to read metadata files in Payu
        # It also errors out if there are duplicate keys in metadata
>       content = YAML().load(metadata_path)

/opt/hostedtoolcache/Python/3.11.0/x64/lib/python3.11/site-packages/model_config_tests/conftest.py:48: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/opt/hostedtoolcache/Python/3.11.0/x64/lib/python3.11/site-packages/ruamel/yaml/main.py:445: in load
    with stream.open('rb') as fp:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = PosixPath('/home/runner/work/access-om3-configs/access-om3-configs/metadata.yaml')
mode = 'rb', buffering = -1, encoding = None, errors = None, newline = None

    def open(self, mode='r', buffering=-1, encoding=None,
             errors=None, newline=None):
        """
        Open the file pointed by this path and return a file object, as
        the built-in open() function does.
        """
        if "b" not in mode:
            encoding = io.text_encoding(encoding)
>       return io.open(self, mode, buffering, encoding, errors, newline)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/runner/work/access-om3-configs/access-om3-configs/metadata.yaml'

/opt/hostedtoolcache/Python/3.11.0/x64/lib/python3.11/pathlib.py:1044: FileNotFoundError

Check failure on line 0 in qa.test_config.TestConfig

See this annotation in the file changed.

@github-actions github-actions / QA Test Results

test_metadata_contains_fields[description] (qa.test_config.TestConfig) with error

./test_report.xml [took 0s]
Raw output
failed on setup with "FileNotFoundError: [Errno 2] No such file or directory: '/home/runner/work/access-om3-configs/access-om3-configs/metadata.yaml'"
control_path = PosixPath('/home/runner/work/access-om3-configs/access-om3-configs')

    @pytest.fixture(scope="session")
    def metadata(control_path: Path):
        """Read the metadata file in the control directory"""
        metadata_path = control_path / "metadata.yaml"
        # Use ruamel.yaml as that is what is used to read metadata files in Payu
        # It also errors out if there are duplicate keys in metadata
>       content = YAML().load(metadata_path)

/opt/hostedtoolcache/Python/3.11.0/x64/lib/python3.11/site-packages/model_config_tests/conftest.py:48: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/opt/hostedtoolcache/Python/3.11.0/x64/lib/python3.11/site-packages/ruamel/yaml/main.py:445: in load
    with stream.open('rb') as fp:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = PosixPath('/home/runner/work/access-om3-configs/access-om3-configs/metadata.yaml')
mode = 'rb', buffering = -1, encoding = None, errors = None, newline = None

    def open(self, mode='r', buffering=-1, encoding=None,
             errors=None, newline=None):
        """
        Open the file pointed by this path and return a file object, as
        the built-in open() function does.
        """
        if "b" not in mode:
            encoding = io.text_encoding(encoding)
>       return io.open(self, mode, buffering, encoding, errors, newline)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/runner/work/access-om3-configs/access-om3-configs/metadata.yaml'

/opt/hostedtoolcache/Python/3.11.0/x64/lib/python3.11/pathlib.py:1044: FileNotFoundError

Check failure on line 0 in qa.test_config.TestConfig

See this annotation in the file changed.

@github-actions github-actions / QA Test Results

test_metadata_contains_fields[notes] (qa.test_config.TestConfig) with error

./test_report.xml [took 0s]
Raw output
failed on setup with "FileNotFoundError: [Errno 2] No such file or directory: '/home/runner/work/access-om3-configs/access-om3-configs/metadata.yaml'"
control_path = PosixPath('/home/runner/work/access-om3-configs/access-om3-configs')

    @pytest.fixture(scope="session")
    def metadata(control_path: Path):
        """Read the metadata file in the control directory"""
        metadata_path = control_path / "metadata.yaml"
        # Use ruamel.yaml as that is what is used to read metadata files in Payu
        # It also errors out if there are duplicate keys in metadata
>       content = YAML().load(metadata_path)

/opt/hostedtoolcache/Python/3.11.0/x64/lib/python3.11/site-packages/model_config_tests/conftest.py:48: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/opt/hostedtoolcache/Python/3.11.0/x64/lib/python3.11/site-packages/ruamel/yaml/main.py:445: in load
    with stream.open('rb') as fp:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = PosixPath('/home/runner/work/access-om3-configs/access-om3-configs/metadata.yaml')
mode = 'rb', buffering = -1, encoding = None, errors = None, newline = None

    def open(self, mode='r', buffering=-1, encoding=None,
             errors=None, newline=None):
        """
        Open the file pointed by this path and return a file object, as
        the built-in open() function does.
        """
        if "b" not in mode:
            encoding = io.text_encoding(encoding)
>       return io.open(self, mode, buffering, encoding, errors, newline)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/runner/work/access-om3-configs/access-om3-configs/metadata.yaml'

/opt/hostedtoolcache/Python/3.11.0/x64/lib/python3.11/pathlib.py:1044: FileNotFoundError

Check failure on line 0 in qa.test_config.TestConfig

See this annotation in the file changed.

@github-actions github-actions / QA Test Results

test_metadata_contains_fields[keywords] (qa.test_config.TestConfig) with error

./test_report.xml [took 0s]
Raw output
failed on setup with "FileNotFoundError: [Errno 2] No such file or directory: '/home/runner/work/access-om3-configs/access-om3-configs/metadata.yaml'"
control_path = PosixPath('/home/runner/work/access-om3-configs/access-om3-configs')

    @pytest.fixture(scope="session")
    def metadata(control_path: Path):
        """Read the metadata file in the control directory"""
        metadata_path = control_path / "metadata.yaml"
        # Use ruamel.yaml as that is what is used to read metadata files in Payu
        # It also errors out if there are duplicate keys in metadata
>       content = YAML().load(metadata_path)

/opt/hostedtoolcache/Python/3.11.0/x64/lib/python3.11/site-packages/model_config_tests/conftest.py:48: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/opt/hostedtoolcache/Python/3.11.0/x64/lib/python3.11/site-packages/ruamel/yaml/main.py:445: in load
    with stream.open('rb') as fp:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = PosixPath('/home/runner/work/access-om3-configs/access-om3-configs/metadata.yaml')
mode = 'rb', buffering = -1, encoding = None, errors = None, newline = None

    def open(self, mode='r', buffering=-1, encoding=None,
             errors=None, newline=None):
        """
        Open the file pointed by this path and return a file object, as
        the built-in open() function does.
        """
        if "b" not in mode:
            encoding = io.text_encoding(encoding)
>       return io.open(self, mode, buffering, encoding, errors, newline)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/runner/work/access-om3-configs/access-om3-configs/metadata.yaml'

/opt/hostedtoolcache/Python/3.11.0/x64/lib/python3.11/pathlib.py:1044: FileNotFoundError

Check failure on line 0 in qa.test_config.TestConfig

See this annotation in the file changed.

@github-actions github-actions / QA Test Results

test_metadata_contains_fields[nominal_resolution] (qa.test_config.TestConfig) with error

./test_report.xml [took 0s]
Raw output
failed on setup with "FileNotFoundError: [Errno 2] No such file or directory: '/home/runner/work/access-om3-configs/access-om3-configs/metadata.yaml'"
control_path = PosixPath('/home/runner/work/access-om3-configs/access-om3-configs')

    @pytest.fixture(scope="session")
    def metadata(control_path: Path):
        """Read the metadata file in the control directory"""
        metadata_path = control_path / "metadata.yaml"
        # Use ruamel.yaml as that is what is used to read metadata files in Payu
        # It also errors out if there are duplicate keys in metadata
>       content = YAML().load(metadata_path)

/opt/hostedtoolcache/Python/3.11.0/x64/lib/python3.11/site-packages/model_config_tests/conftest.py:48: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/opt/hostedtoolcache/Python/3.11.0/x64/lib/python3.11/site-packages/ruamel/yaml/main.py:445: in load
    with stream.open('rb') as fp:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = PosixPath('/home/runner/work/access-om3-configs/access-om3-configs/metadata.yaml')
mode = 'rb', buffering = -1, encoding = None, errors = None, newline = None

    def open(self, mode='r', buffering=-1, encoding=None,
             errors=None, newline=None):
        """
        Open the file pointed by this path and return a file object, as
        the built-in open() function does.
        """
        if "b" not in mode:
            encoding = io.text_encoding(encoding)
>       return io.open(self, mode, buffering, encoding, errors, newline)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/runner/work/access-om3-configs/access-om3-configs/metadata.yaml'

/opt/hostedtoolcache/Python/3.11.0/x64/lib/python3.11/pathlib.py:1044: FileNotFoundError

Check failure on line 0 in qa.test_config.TestConfig

See this annotation in the file changed.

@github-actions github-actions / QA Test Results

test_metadata_contains_fields[version] (qa.test_config.TestConfig) with error

./test_report.xml [took 0s]
Raw output
failed on setup with "FileNotFoundError: [Errno 2] No such file or directory: '/home/runner/work/access-om3-configs/access-om3-configs/metadata.yaml'"
control_path = PosixPath('/home/runner/work/access-om3-configs/access-om3-configs')

    @pytest.fixture(scope="session")
    def metadata(control_path: Path):
        """Read the metadata file in the control directory"""
        metadata_path = control_path / "metadata.yaml"
        # Use ruamel.yaml as that is what is used to read metadata files in Payu
        # It also errors out if there are duplicate keys in metadata
>       content = YAML().load(metadata_path)

/opt/hostedtoolcache/Python/3.11.0/x64/lib/python3.11/site-packages/model_config_tests/conftest.py:48: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/opt/hostedtoolcache/Python/3.11.0/x64/lib/python3.11/site-packages/ruamel/yaml/main.py:445: in load
    with stream.open('rb') as fp:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = PosixPath('/home/runner/work/access-om3-configs/access-om3-configs/metadata.yaml')
mode = 'rb', buffering = -1, encoding = None, errors = None, newline = None

    def open(self, mode='r', buffering=-1, encoding=None,
             errors=None, newline=None):
        """
        Open the file pointed by this path and return a file object, as
        the built-in open() function does.
        """
        if "b" not in mode:
            encoding = io.text_encoding(encoding)
>       return io.open(self, mode, buffering, encoding, errors, newline)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/runner/work/access-om3-configs/access-om3-configs/metadata.yaml'

/opt/hostedtoolcache/Python/3.11.0/x64/lib/python3.11/pathlib.py:1044: FileNotFoundError

Check failure on line 0 in qa.test_config.TestConfig

See this annotation in the file changed.

@github-actions github-actions / QA Test Results

test_metadata_contains_fields[reference] (qa.test_config.TestConfig) with error

./test_report.xml [took 0s]
Raw output
failed on setup with "FileNotFoundError: [Errno 2] No such file or directory: '/home/runner/work/access-om3-configs/access-om3-configs/metadata.yaml'"
control_path = PosixPath('/home/runner/work/access-om3-configs/access-om3-configs')

    @pytest.fixture(scope="session")
    def metadata(control_path: Path):
        """Read the metadata file in the control directory"""
        metadata_path = control_path / "metadata.yaml"
        # Use ruamel.yaml as that is what is used to read metadata files in Payu
        # It also errors out if there are duplicate keys in metadata
>       content = YAML().load(metadata_path)

/opt/hostedtoolcache/Python/3.11.0/x64/lib/python3.11/site-packages/model_config_tests/conftest.py:48: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/opt/hostedtoolcache/Python/3.11.0/x64/lib/python3.11/site-packages/ruamel/yaml/main.py:445: in load
    with stream.open('rb') as fp:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = PosixPath('/home/runner/work/access-om3-configs/access-om3-configs/metadata.yaml')
mode = 'rb', buffering = -1, encoding = None, errors = None, newline = None

    def open(self, mode='r', buffering=-1, encoding=None,
             errors=None, newline=None):
        """
        Open the file pointed by this path and return a file object, as
        the built-in open() function does.
        """
        if "b" not in mode:
            encoding = io.text_encoding(encoding)
>       return io.open(self, mode, buffering, encoding, errors, newline)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/runner/work/access-om3-configs/access-om3-configs/metadata.yaml'

/opt/hostedtoolcache/Python/3.11.0/x64/lib/python3.11/pathlib.py:1044: FileNotFoundError

Check failure on line 0 in qa.test_config.TestConfig

See this annotation in the file changed.

@github-actions github-actions / QA Test Results

test_metadata_contains_fields[url] (qa.test_config.TestConfig) with error

./test_report.xml [took 0s]
Raw output
failed on setup with "FileNotFoundError: [Errno 2] No such file or directory: '/home/runner/work/access-om3-configs/access-om3-configs/metadata.yaml'"
control_path = PosixPath('/home/runner/work/access-om3-configs/access-om3-configs')

    @pytest.fixture(scope="session")
    def metadata(control_path: Path):
        """Read the metadata file in the control directory"""
        metadata_path = control_path / "metadata.yaml"
        # Use ruamel.yaml as that is what is used to read metadata files in Payu
        # It also errors out if there are duplicate keys in metadata
>       content = YAML().load(metadata_path)

/opt/hostedtoolcache/Python/3.11.0/x64/lib/python3.11/site-packages/model_config_tests/conftest.py:48: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/opt/hostedtoolcache/Python/3.11.0/x64/lib/python3.11/site-packages/ruamel/yaml/main.py:445: in load
    with stream.open('rb') as fp:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = PosixPath('/home/runner/work/access-om3-configs/access-om3-configs/metadata.yaml')
mode = 'rb', buffering = -1, encoding = None, errors = None, newline = None

    def open(self, mode='r', buffering=-1, encoding=None,
             errors=None, newline=None):
        """
        Open the file pointed by this path and return a file object, as
        the built-in open() function does.
        """
        if "b" not in mode:
            encoding = io.text_encoding(encoding)
>       return io.open(self, mode, buffering, encoding, errors, newline)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/runner/work/access-om3-configs/access-om3-configs/metadata.yaml'

/opt/hostedtoolcache/Python/3.11.0/x64/lib/python3.11/pathlib.py:1044: FileNotFoundError

Check failure on line 0 in qa.test_config.TestConfig

See this annotation in the file changed.

@github-actions github-actions / QA Test Results

test_metadata_contains_fields[model] (qa.test_config.TestConfig) with error

./test_report.xml [took 0s]
Raw output
failed on setup with "FileNotFoundError: [Errno 2] No such file or directory: '/home/runner/work/access-om3-configs/access-om3-configs/metadata.yaml'"
control_path = PosixPath('/home/runner/work/access-om3-configs/access-om3-configs')

    @pytest.fixture(scope="session")
    def metadata(control_path: Path):
        """Read the metadata file in the control directory"""
        metadata_path = control_path / "metadata.yaml"
        # Use ruamel.yaml as that is what is used to read metadata files in Payu
        # It also errors out if there are duplicate keys in metadata
>       content = YAML().load(metadata_path)

/opt/hostedtoolcache/Python/3.11.0/x64/lib/python3.11/site-packages/model_config_tests/conftest.py:48: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/opt/hostedtoolcache/Python/3.11.0/x64/lib/python3.11/site-packages/ruamel/yaml/main.py:445: in load
    with stream.open('rb') as fp:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = PosixPath('/home/runner/work/access-om3-configs/access-om3-configs/metadata.yaml')
mode = 'rb', buffering = -1, encoding = None, errors = None, newline = None

    def open(self, mode='r', buffering=-1, encoding=None,
             errors=None, newline=None):
        """
        Open the file pointed by this path and return a file object, as
        the built-in open() function does.
        """
        if "b" not in mode:
            encoding = io.text_encoding(encoding)
>       return io.open(self, mode, buffering, encoding, errors, newline)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/runner/work/access-om3-configs/access-om3-configs/metadata.yaml'

/opt/hostedtoolcache/Python/3.11.0/x64/lib/python3.11/pathlib.py:1044: FileNotFoundError

Check failure on line 0 in qa.test_config.TestConfig

See this annotation in the file changed.

@github-actions github-actions / QA Test Results

test_metadata_contains_fields[realm] (qa.test_config.TestConfig) with error

./test_report.xml [took 0s]
Raw output
failed on setup with "FileNotFoundError: [Errno 2] No such file or directory: '/home/runner/work/access-om3-configs/access-om3-configs/metadata.yaml'"
control_path = PosixPath('/home/runner/work/access-om3-configs/access-om3-configs')

    @pytest.fixture(scope="session")
    def metadata(control_path: Path):
        """Read the metadata file in the control directory"""
        metadata_path = control_path / "metadata.yaml"
        # Use ruamel.yaml as that is what is used to read metadata files in Payu
        # It also errors out if there are duplicate keys in metadata
>       content = YAML().load(metadata_path)

/opt/hostedtoolcache/Python/3.11.0/x64/lib/python3.11/site-packages/model_config_tests/conftest.py:48: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/opt/hostedtoolcache/Python/3.11.0/x64/lib/python3.11/site-packages/ruamel/yaml/main.py:445: in load
    with stream.open('rb') as fp:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = PosixPath('/home/runner/work/access-om3-configs/access-om3-configs/metadata.yaml')
mode = 'rb', buffering = -1, encoding = None, errors = None, newline = None

    def open(self, mode='r', buffering=-1, encoding=None,
             errors=None, newline=None):
        """
        Open the file pointed by this path and return a file object, as
        the built-in open() function does.
        """
        if "b" not in mode:
            encoding = io.text_encoding(encoding)
>       return io.open(self, mode, buffering, encoding, errors, newline)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/runner/work/access-om3-configs/access-om3-configs/metadata.yaml'

/opt/hostedtoolcache/Python/3.11.0/x64/lib/python3.11/pathlib.py:1044: FileNotFoundError

Check failure on line 0 in qa.test_config.TestConfig

See this annotation in the file changed.

@github-actions github-actions / QA Test Results

test_metadata_does_contain_UUID (qa.test_config.TestConfig) with error

./test_report.xml [took 0s]
Raw output
failed on setup with "FileNotFoundError: [Errno 2] No such file or directory: '/home/runner/work/access-om3-configs/access-om3-configs/metadata.yaml'"
control_path = PosixPath('/home/runner/work/access-om3-configs/access-om3-configs')

    @pytest.fixture(scope="session")
    def metadata(control_path: Path):
        """Read the metadata file in the control directory"""
        metadata_path = control_path / "metadata.yaml"
        # Use ruamel.yaml as that is what is used to read metadata files in Payu
        # It also errors out if there are duplicate keys in metadata
>       content = YAML().load(metadata_path)

/opt/hostedtoolcache/Python/3.11.0/x64/lib/python3.11/site-packages/model_config_tests/conftest.py:48: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/opt/hostedtoolcache/Python/3.11.0/x64/lib/python3.11/site-packages/ruamel/yaml/main.py:445: in load
    with stream.open('rb') as fp:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = PosixPath('/home/runner/work/access-om3-configs/access-om3-configs/metadata.yaml')
mode = 'rb', buffering = -1, encoding = None, errors = None, newline = None

    def open(self, mode='r', buffering=-1, encoding=None,
             errors=None, newline=None):
        """
        Open the file pointed by this path and return a file object, as
        the built-in open() function does.
        """
        if "b" not in mode:
            encoding = io.text_encoding(encoding)
>       return io.open(self, mode, buffering, encoding, errors, newline)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/runner/work/access-om3-configs/access-om3-configs/metadata.yaml'

/opt/hostedtoolcache/Python/3.11.0/x64/lib/python3.11/pathlib.py:1044: FileNotFoundError

Check failure on line 0 in qa.test_config.TestConfig

See this annotation in the file changed.

@github-actions github-actions / QA Test Results

test_metadata_license (qa.test_config.TestConfig) with error

./test_report.xml [took 0s]
Raw output
failed on setup with "FileNotFoundError: [Errno 2] No such file or directory: '/home/runner/work/access-om3-configs/access-om3-configs/metadata.yaml'"
control_path = PosixPath('/home/runner/work/access-om3-configs/access-om3-configs')

    @pytest.fixture(scope="session")
    def metadata(control_path: Path):
        """Read the metadata file in the control directory"""
        metadata_path = control_path / "metadata.yaml"
        # Use ruamel.yaml as that is what is used to read metadata files in Payu
        # It also errors out if there are duplicate keys in metadata
>       content = YAML().load(metadata_path)

/opt/hostedtoolcache/Python/3.11.0/x64/lib/python3.11/site-packages/model_config_tests/conftest.py:48: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/opt/hostedtoolcache/Python/3.11.0/x64/lib/python3.11/site-packages/ruamel/yaml/main.py:445: in load
    with stream.open('rb') as fp:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = PosixPath('/home/runner/work/access-om3-configs/access-om3-configs/metadata.yaml')
mode = 'rb', buffering = -1, encoding = None, errors = None, newline = None

    def open(self, mode='r', buffering=-1, encoding=None,
             errors=None, newline=None):
        """
        Open the file pointed by this path and return a file object, as
        the built-in open() function does.
        """
        if "b" not in mode:
            encoding = io.text_encoding(encoding)
>       return io.open(self, mode, buffering, encoding, errors, newline)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/runner/work/access-om3-configs/access-om3-configs/metadata.yaml'

/opt/hostedtoolcache/Python/3.11.0/x64/lib/python3.11/pathlib.py:1044: FileNotFoundError

Check warning on line 0 in qa.test_config.TestConfig

See this annotation in the file changed.

@github-actions github-actions / QA Test Results

test_license_file (qa.test_config.TestConfig) failed

./test_report.xml [took 0s]
Raw output
AssertionError: LICENSE file should exist and equal to CC-BY-4.0 found here: https://creativecommons.org/licenses/by/4.0/legalcode.txt
assert False
 +  where False = exists()
 +    where exists = PosixPath('/home/runner/work/access-om3-configs/access-om3-configs/LICENSE').exists
self = <test_config.TestConfig object at 0x7f8799e69c10>
control_path = PosixPath('/home/runner/work/access-om3-configs/access-om3-configs')

    def test_license_file(self, control_path):
        license_path = control_path / "LICENSE"
>       assert license_path.exists(), (
            f"LICENSE file should exist and equal to {LICENSE} found here: "
            + LICENSE_URL
        )
E       AssertionError: LICENSE file should exist and equal to CC-BY-4.0 found here: https://creativecommons.org/licenses/by/4.0/legalcode.txt
E       assert False
E        +  where False = exists()
E        +    where exists = PosixPath('/home/runner/work/access-om3-configs/access-om3-configs/LICENSE').exists

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