CI (pull_request) for 143/merge #65
GitHub Actions / QA Test Results
failed
Sep 27, 2024 in 0s
2 fail, 34 pass in 0s
36 tests 34 ✅ 0s ⏱️
1 suites 0 💤
1 files 2 ❌
Results for commit 7975707.
Annotations
Check warning on line 0 in test_config.TestConfig
github-actions / QA Test Results
test_absolute_input_paths (test_config.TestConfig) failed
./test_report.xml [took 0s]
Raw output
AssertionError: Input path should be absolute: inputs/access-om2/remapping_weights/JRA55/global.1deg/2020.05.30/JRA55_MOM1_conserve2nd.nc
assert False
+ where False = is_absolute()
+ where is_absolute = PosixPath('inputs/access-om2/remapping_weights/JRA55/global.1deg/2020.05.30/JRA55_MOM1_conserve2nd.nc').is_absolute
+ where PosixPath('inputs/access-om2/remapping_weights/JRA55/global.1deg/2020.05.30/JRA55_MOM1_conserve2nd.nc') = Path('inputs/access-om2/remapping_weights/JRA55/global.1deg/2020.05.30/JRA55_MOM1_conserve2nd.nc')
self = <model_config_tests.test_config.TestConfig object at 0x7f65bc5485d0>
config = {'collate': {'exe': '/g/data/vk83/apps/spack/0.22/release/linux-rocky8-x86_64/intel-19.0.5.281/mom5-git.2024.06.27_202.../access-om2/remapping_weights/JRA55/global.1deg/2020.05.30/rmp_jra55_cice_patch.nc'], 'jobname': '1deg_jra55_ryf', ...}
def test_absolute_input_paths(self, config):
for path in insist_array(config.get("input", [])):
> assert Path(path).is_absolute(), f"Input path should be absolute: {path}"
E AssertionError: Input path should be absolute: inputs/access-om2/remapping_weights/JRA55/global.1deg/2020.05.30/JRA55_MOM1_conserve2nd.nc
E assert False
E + where False = is_absolute()
E + where is_absolute = PosixPath('inputs/access-om2/remapping_weights/JRA55/global.1deg/2020.05.30/JRA55_MOM1_conserve2nd.nc').is_absolute
E + where PosixPath('inputs/access-om2/remapping_weights/JRA55/global.1deg/2020.05.30/JRA55_MOM1_conserve2nd.nc') = Path('inputs/access-om2/remapping_weights/JRA55/global.1deg/2020.05.30/JRA55_MOM1_conserve2nd.nc')
/opt/hostedtoolcache/Python/3.11.0/x64/lib/python3.11/site-packages/model_config_tests/test_config.py:54: AssertionError
Check warning on line 0 in test_config.TestConfig
github-actions / QA Test Results
test_absolute_submodel_input_paths (test_config.TestConfig) failed
./test_report.xml [took 0s]
Raw output
AssertionError: Input path for atmosphere submodel should be absolute: inputs/access-om2/remapping_weights/JRA55/global.1deg/2020.05.30/rmp_jrar_to_cict_CONSERV.nc
assert False
+ where False = is_absolute()
+ where is_absolute = PosixPath('inputs/access-om2/remapping_weights/JRA55/global.1deg/2020.05.30/rmp_jrar_to_cict_CONSERV.nc').is_absolute
+ where PosixPath('inputs/access-om2/remapping_weights/JRA55/global.1deg/2020.05.30/rmp_jrar_to_cict_CONSERV.nc') = Path('inputs/access-om2/remapping_weights/JRA55/global.1deg/2020.05.30/rmp_jrar_to_cict_CONSERV.nc')
self = <model_config_tests.test_config.TestConfig object at 0x7f65bc548c50>
config = {'collate': {'exe': '/g/data/vk83/apps/spack/0.22/release/linux-rocky8-x86_64/intel-19.0.5.281/mom5-git.2024.06.27_202.../access-om2/remapping_weights/JRA55/global.1deg/2020.05.30/rmp_jra55_cice_patch.nc'], 'jobname': '1deg_jra55_ryf', ...}
def test_absolute_submodel_input_paths(self, config):
for model in config.get("submodels", []):
for path in insist_array(model.get("input", [])):
> assert Path(path).is_absolute(), (
f"Input path for {model['name']} submodel should be "
+ f" absolute: {path}"
)
E AssertionError: Input path for atmosphere submodel should be absolute: inputs/access-om2/remapping_weights/JRA55/global.1deg/2020.05.30/rmp_jrar_to_cict_CONSERV.nc
E assert False
E + where False = is_absolute()
E + where is_absolute = PosixPath('inputs/access-om2/remapping_weights/JRA55/global.1deg/2020.05.30/rmp_jrar_to_cict_CONSERV.nc').is_absolute
E + where PosixPath('inputs/access-om2/remapping_weights/JRA55/global.1deg/2020.05.30/rmp_jrar_to_cict_CONSERV.nc') = Path('inputs/access-om2/remapping_weights/JRA55/global.1deg/2020.05.30/rmp_jrar_to_cict_CONSERV.nc')
/opt/hostedtoolcache/Python/3.11.0/x64/lib/python3.11/site-packages/model_config_tests/test_config.py:59: AssertionError
Loading