Skip to content

pages build and deployment #515

pages build and deployment

pages build and deployment #515

GitHub Actions / Test Results failed Sep 6, 2024 in 0s

199 errors, 143 fail, 2 skipped, 217 pass in 5m 48s

    4 files  ±  0    4 suites  ±0   5m 48s ⏱️ -30s
  561 tests ±  0  217 ✅  -   341   2 💤  - 1  143 ❌ +143  199 🔥 +199 
1 698 runs   - 546  678 ✅  - 1 464  93 💤  - 9  377 ❌ +377  550 🔥 +550 

Results for commit 050c371. ± Comparison against earlier commit eb0e34e.

Annotations

Check failure on line 0 in tests.units.test_http_server.RequestTestCase

See this annotation in the file changed.

@github-actions github-actions / Test Results

2 out of 4 runs with error: test_assets_alt_url_blacklist (tests.units.test_http_server.RequestTestCase)

artifacts/unit-test-results-python3.12-ubuntu-latest/junit-report.xml [took 3s]
artifacts/unit-test-results-python3.8-ubuntu-latest/junit-report.xml [took 3s]
Raw output
failed on setup with "yaml.composer.ComposerError: found undefined alias 'variable_list'
  in "/home/runner/work/eodag/eodag/eodag/resources/providers.yml", line 5233, column 13"
cls = <class 'tests.units.test_http_server.RequestTestCase'>

    @classmethod
    def setUpClass(cls):
        super(RequestTestCase, cls).setUpClass()
    
        cls.tested_product_type = "S2_MSI_L1C"
    
        # Mock home and eodag conf directory to tmp dir
        cls.tmp_home_dir = TemporaryDirectory()
        cls.expanduser_mock = mock.patch(
            "os.path.expanduser", autospec=True, return_value=cls.tmp_home_dir.name
        )
        cls.expanduser_mock.start()
    
        # mock os.environ to empty env
        cls.mock_os_environ = mock.patch.dict(os.environ, {}, clear=True)
        cls.mock_os_environ.start()
    
        # disable product types fetch
        os.environ["EODAG_EXT_PRODUCT_TYPES_CFG_FILE"] = ""
    
        # load fake credentials to prevent providers needing auth for search to be pruned
        os.environ["EODAG_CFG_FILE"] = os.path.join(
            TEST_RESOURCES_PATH, "wrong_credentials_conf.yml"
        )
    
        # import after having mocked home_dir because it launches http server (and EODataAccessGateway)
        # reload eodag.rest.core to prevent eodag_api cache conflicts
>       import eodag.rest.core

tests/units/test_http_server.py:90: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
eodag/rest/core.py:90: in <module>
    eodag_api = eodag.EODataAccessGateway()
eodag/api/core.py:123: in __init__
    self.providers_config = load_default_config()
eodag/config.py:437: in load_default_config
    return load_config(eodag_providers_cfg_file)
eodag/config.py:451: in load_config
    providers_configs: List[ProviderConfig] = cached_yaml_load_all(config_path)
eodag/utils/__init__.py:1219: in cached_yaml_load_all
    return copy_deepcopy(_mutable_cached_yaml_load_all(config_path))
eodag/utils/__init__.py:1208: in _mutable_cached_yaml_load_all
    return list(yaml.load_all(fh, Loader=yaml.Loader))
.tox/py38/lib/python3.8/site-packages/yaml/__init__.py:93: in load_all
    yield loader.get_data()
.tox/py38/lib/python3.8/site-packages/yaml/constructor.py:45: in get_data
    return self.construct_document(self.get_node())
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:27: in get_node
    return self.compose_document()
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:55: in compose_document
    node = self.compose_node(None, None)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:84: in compose_node
    node = self.compose_mapping_node(anchor)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:133: in compose_mapping_node
    item_value = self.compose_node(node, item_key)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:84: in compose_node
    node = self.compose_mapping_node(anchor)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:133: in compose_mapping_node
    item_value = self.compose_node(node, item_key)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:84: in compose_node
    node = self.compose_mapping_node(anchor)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:133: in compose_mapping_node
    item_value = self.compose_node(node, item_key)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:84: in compose_node
    node = self.compose_mapping_node(anchor)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:133: in compose_mapping_node
    item_value = self.compose_node(node, item_key)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <yaml.loader.Loader object at 0x7fa35f2e7c10>
parent = MappingNode(tag='tag:yaml.org,2002:map', value=[(ScalarNode(tag='tag:yaml.org,2002:str', value='id'), ScalarNode(tag='...g:yaml.org,2002:str', value='{{"version": "{version}"}}'), ScalarNode(tag='tag:yaml.org,2002:str', value='$.null')]))])
index = ScalarNode(tag='tag:yaml.org,2002:merge', value='<<')

    def compose_node(self, parent, index):
        if self.check_event(AliasEvent):
            event = self.get_event()
            anchor = event.anchor
            if anchor not in self.anchors:
>               raise ComposerError(None, None, "found undefined alias %r"
                        % anchor, event.start_mark)
E               yaml.composer.ComposerError: found undefined alias 'variable_list'
E                 in "/home/runner/work/eodag/eodag/eodag/resources/providers.yml", line 5233, column 13

.tox/py38/lib/python3.8/site-packages/yaml/composer.py:68: ComposerError

Check failure on line 0 in tests.units.test_http_server.RequestTestCase

See this annotation in the file changed.

@github-actions github-actions / Test Results

2 out of 4 runs with error: test_auth_error (tests.units.test_http_server.RequestTestCase)

artifacts/unit-test-results-python3.12-ubuntu-latest/junit-report.xml [took 0s]
artifacts/unit-test-results-python3.8-ubuntu-latest/junit-report.xml [took 0s]
Raw output
failed on setup with "yaml.composer.ComposerError: found undefined alias 'variable_list'
  in "/home/runner/work/eodag/eodag/eodag/resources/providers.yml", line 5233, column 13"
cls = <class 'tests.units.test_http_server.RequestTestCase'>

    @classmethod
    def setUpClass(cls):
        super(RequestTestCase, cls).setUpClass()
    
        cls.tested_product_type = "S2_MSI_L1C"
    
        # Mock home and eodag conf directory to tmp dir
        cls.tmp_home_dir = TemporaryDirectory()
        cls.expanduser_mock = mock.patch(
            "os.path.expanduser", autospec=True, return_value=cls.tmp_home_dir.name
        )
        cls.expanduser_mock.start()
    
        # mock os.environ to empty env
        cls.mock_os_environ = mock.patch.dict(os.environ, {}, clear=True)
        cls.mock_os_environ.start()
    
        # disable product types fetch
        os.environ["EODAG_EXT_PRODUCT_TYPES_CFG_FILE"] = ""
    
        # load fake credentials to prevent providers needing auth for search to be pruned
        os.environ["EODAG_CFG_FILE"] = os.path.join(
            TEST_RESOURCES_PATH, "wrong_credentials_conf.yml"
        )
    
        # import after having mocked home_dir because it launches http server (and EODataAccessGateway)
        # reload eodag.rest.core to prevent eodag_api cache conflicts
>       import eodag.rest.core

tests/units/test_http_server.py:90: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
eodag/rest/core.py:90: in <module>
    eodag_api = eodag.EODataAccessGateway()
eodag/api/core.py:123: in __init__
    self.providers_config = load_default_config()
eodag/config.py:437: in load_default_config
    return load_config(eodag_providers_cfg_file)
eodag/config.py:451: in load_config
    providers_configs: List[ProviderConfig] = cached_yaml_load_all(config_path)
eodag/utils/__init__.py:1219: in cached_yaml_load_all
    return copy_deepcopy(_mutable_cached_yaml_load_all(config_path))
eodag/utils/__init__.py:1208: in _mutable_cached_yaml_load_all
    return list(yaml.load_all(fh, Loader=yaml.Loader))
.tox/py38/lib/python3.8/site-packages/yaml/__init__.py:93: in load_all
    yield loader.get_data()
.tox/py38/lib/python3.8/site-packages/yaml/constructor.py:45: in get_data
    return self.construct_document(self.get_node())
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:27: in get_node
    return self.compose_document()
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:55: in compose_document
    node = self.compose_node(None, None)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:84: in compose_node
    node = self.compose_mapping_node(anchor)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:133: in compose_mapping_node
    item_value = self.compose_node(node, item_key)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:84: in compose_node
    node = self.compose_mapping_node(anchor)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:133: in compose_mapping_node
    item_value = self.compose_node(node, item_key)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:84: in compose_node
    node = self.compose_mapping_node(anchor)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:133: in compose_mapping_node
    item_value = self.compose_node(node, item_key)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:84: in compose_node
    node = self.compose_mapping_node(anchor)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:133: in compose_mapping_node
    item_value = self.compose_node(node, item_key)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <yaml.loader.Loader object at 0x7fa35f2e7c10>
parent = MappingNode(tag='tag:yaml.org,2002:map', value=[(ScalarNode(tag='tag:yaml.org,2002:str', value='id'), ScalarNode(tag='...g:yaml.org,2002:str', value='{{"version": "{version}"}}'), ScalarNode(tag='tag:yaml.org,2002:str', value='$.null')]))])
index = ScalarNode(tag='tag:yaml.org,2002:merge', value='<<')

    def compose_node(self, parent, index):
        if self.check_event(AliasEvent):
            event = self.get_event()
            anchor = event.anchor
            if anchor not in self.anchors:
>               raise ComposerError(None, None, "found undefined alias %r"
                        % anchor, event.start_mark)
E               yaml.composer.ComposerError: found undefined alias 'variable_list'
E                 in "/home/runner/work/eodag/eodag/eodag/resources/providers.yml", line 5233, column 13

.tox/py38/lib/python3.8/site-packages/yaml/composer.py:68: ComposerError

Check failure on line 0 in tests.units.test_http_server.RequestTestCase

See this annotation in the file changed.

@github-actions github-actions / Test Results

2 out of 4 runs with error: test_catalog_browse (tests.units.test_http_server.RequestTestCase)

artifacts/unit-test-results-python3.12-ubuntu-latest/junit-report.xml [took 0s]
artifacts/unit-test-results-python3.8-ubuntu-latest/junit-report.xml [took 0s]
Raw output
failed on setup with "yaml.composer.ComposerError: found undefined alias 'variable_list'
  in "/home/runner/work/eodag/eodag/eodag/resources/providers.yml", line 5233, column 13"
cls = <class 'tests.units.test_http_server.RequestTestCase'>

    @classmethod
    def setUpClass(cls):
        super(RequestTestCase, cls).setUpClass()
    
        cls.tested_product_type = "S2_MSI_L1C"
    
        # Mock home and eodag conf directory to tmp dir
        cls.tmp_home_dir = TemporaryDirectory()
        cls.expanduser_mock = mock.patch(
            "os.path.expanduser", autospec=True, return_value=cls.tmp_home_dir.name
        )
        cls.expanduser_mock.start()
    
        # mock os.environ to empty env
        cls.mock_os_environ = mock.patch.dict(os.environ, {}, clear=True)
        cls.mock_os_environ.start()
    
        # disable product types fetch
        os.environ["EODAG_EXT_PRODUCT_TYPES_CFG_FILE"] = ""
    
        # load fake credentials to prevent providers needing auth for search to be pruned
        os.environ["EODAG_CFG_FILE"] = os.path.join(
            TEST_RESOURCES_PATH, "wrong_credentials_conf.yml"
        )
    
        # import after having mocked home_dir because it launches http server (and EODataAccessGateway)
        # reload eodag.rest.core to prevent eodag_api cache conflicts
>       import eodag.rest.core

tests/units/test_http_server.py:90: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
eodag/rest/core.py:90: in <module>
    eodag_api = eodag.EODataAccessGateway()
eodag/api/core.py:123: in __init__
    self.providers_config = load_default_config()
eodag/config.py:437: in load_default_config
    return load_config(eodag_providers_cfg_file)
eodag/config.py:451: in load_config
    providers_configs: List[ProviderConfig] = cached_yaml_load_all(config_path)
eodag/utils/__init__.py:1219: in cached_yaml_load_all
    return copy_deepcopy(_mutable_cached_yaml_load_all(config_path))
eodag/utils/__init__.py:1208: in _mutable_cached_yaml_load_all
    return list(yaml.load_all(fh, Loader=yaml.Loader))
.tox/py38/lib/python3.8/site-packages/yaml/__init__.py:93: in load_all
    yield loader.get_data()
.tox/py38/lib/python3.8/site-packages/yaml/constructor.py:45: in get_data
    return self.construct_document(self.get_node())
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:27: in get_node
    return self.compose_document()
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:55: in compose_document
    node = self.compose_node(None, None)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:84: in compose_node
    node = self.compose_mapping_node(anchor)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:133: in compose_mapping_node
    item_value = self.compose_node(node, item_key)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:84: in compose_node
    node = self.compose_mapping_node(anchor)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:133: in compose_mapping_node
    item_value = self.compose_node(node, item_key)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:84: in compose_node
    node = self.compose_mapping_node(anchor)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:133: in compose_mapping_node
    item_value = self.compose_node(node, item_key)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:84: in compose_node
    node = self.compose_mapping_node(anchor)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:133: in compose_mapping_node
    item_value = self.compose_node(node, item_key)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <yaml.loader.Loader object at 0x7fa35f2e7c10>
parent = MappingNode(tag='tag:yaml.org,2002:map', value=[(ScalarNode(tag='tag:yaml.org,2002:str', value='id'), ScalarNode(tag='...g:yaml.org,2002:str', value='{{"version": "{version}"}}'), ScalarNode(tag='tag:yaml.org,2002:str', value='$.null')]))])
index = ScalarNode(tag='tag:yaml.org,2002:merge', value='<<')

    def compose_node(self, parent, index):
        if self.check_event(AliasEvent):
            event = self.get_event()
            anchor = event.anchor
            if anchor not in self.anchors:
>               raise ComposerError(None, None, "found undefined alias %r"
                        % anchor, event.start_mark)
E               yaml.composer.ComposerError: found undefined alias 'variable_list'
E                 in "/home/runner/work/eodag/eodag/eodag/resources/providers.yml", line 5233, column 13

.tox/py38/lib/python3.8/site-packages/yaml/composer.py:68: ComposerError

Check failure on line 0 in tests.units.test_http_server.RequestTestCase

See this annotation in the file changed.

@github-actions github-actions / Test Results

2 out of 4 runs with error: test_catalog_browse_date_search (tests.units.test_http_server.RequestTestCase)

artifacts/unit-test-results-python3.12-ubuntu-latest/junit-report.xml [took 0s]
artifacts/unit-test-results-python3.8-ubuntu-latest/junit-report.xml [took 0s]
Raw output
failed on setup with "yaml.composer.ComposerError: found undefined alias 'variable_list'
  in "/home/runner/work/eodag/eodag/eodag/resources/providers.yml", line 5233, column 13"
cls = <class 'tests.units.test_http_server.RequestTestCase'>

    @classmethod
    def setUpClass(cls):
        super(RequestTestCase, cls).setUpClass()
    
        cls.tested_product_type = "S2_MSI_L1C"
    
        # Mock home and eodag conf directory to tmp dir
        cls.tmp_home_dir = TemporaryDirectory()
        cls.expanduser_mock = mock.patch(
            "os.path.expanduser", autospec=True, return_value=cls.tmp_home_dir.name
        )
        cls.expanduser_mock.start()
    
        # mock os.environ to empty env
        cls.mock_os_environ = mock.patch.dict(os.environ, {}, clear=True)
        cls.mock_os_environ.start()
    
        # disable product types fetch
        os.environ["EODAG_EXT_PRODUCT_TYPES_CFG_FILE"] = ""
    
        # load fake credentials to prevent providers needing auth for search to be pruned
        os.environ["EODAG_CFG_FILE"] = os.path.join(
            TEST_RESOURCES_PATH, "wrong_credentials_conf.yml"
        )
    
        # import after having mocked home_dir because it launches http server (and EODataAccessGateway)
        # reload eodag.rest.core to prevent eodag_api cache conflicts
>       import eodag.rest.core

tests/units/test_http_server.py:90: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
eodag/rest/core.py:90: in <module>
    eodag_api = eodag.EODataAccessGateway()
eodag/api/core.py:123: in __init__
    self.providers_config = load_default_config()
eodag/config.py:437: in load_default_config
    return load_config(eodag_providers_cfg_file)
eodag/config.py:451: in load_config
    providers_configs: List[ProviderConfig] = cached_yaml_load_all(config_path)
eodag/utils/__init__.py:1219: in cached_yaml_load_all
    return copy_deepcopy(_mutable_cached_yaml_load_all(config_path))
eodag/utils/__init__.py:1208: in _mutable_cached_yaml_load_all
    return list(yaml.load_all(fh, Loader=yaml.Loader))
.tox/py38/lib/python3.8/site-packages/yaml/__init__.py:93: in load_all
    yield loader.get_data()
.tox/py38/lib/python3.8/site-packages/yaml/constructor.py:45: in get_data
    return self.construct_document(self.get_node())
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:27: in get_node
    return self.compose_document()
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:55: in compose_document
    node = self.compose_node(None, None)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:84: in compose_node
    node = self.compose_mapping_node(anchor)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:133: in compose_mapping_node
    item_value = self.compose_node(node, item_key)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:84: in compose_node
    node = self.compose_mapping_node(anchor)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:133: in compose_mapping_node
    item_value = self.compose_node(node, item_key)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:84: in compose_node
    node = self.compose_mapping_node(anchor)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:133: in compose_mapping_node
    item_value = self.compose_node(node, item_key)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:84: in compose_node
    node = self.compose_mapping_node(anchor)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:133: in compose_mapping_node
    item_value = self.compose_node(node, item_key)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <yaml.loader.Loader object at 0x7fa35f2e7c10>
parent = MappingNode(tag='tag:yaml.org,2002:map', value=[(ScalarNode(tag='tag:yaml.org,2002:str', value='id'), ScalarNode(tag='...g:yaml.org,2002:str', value='{{"version": "{version}"}}'), ScalarNode(tag='tag:yaml.org,2002:str', value='$.null')]))])
index = ScalarNode(tag='tag:yaml.org,2002:merge', value='<<')

    def compose_node(self, parent, index):
        if self.check_event(AliasEvent):
            event = self.get_event()
            anchor = event.anchor
            if anchor not in self.anchors:
>               raise ComposerError(None, None, "found undefined alias %r"
                        % anchor, event.start_mark)
E               yaml.composer.ComposerError: found undefined alias 'variable_list'
E                 in "/home/runner/work/eodag/eodag/eodag/resources/providers.yml", line 5233, column 13

.tox/py38/lib/python3.8/site-packages/yaml/composer.py:68: ComposerError

Check failure on line 0 in tests.units.test_http_server.RequestTestCase

See this annotation in the file changed.

@github-actions github-actions / Test Results

2 out of 4 runs with error: test_cloud_cover_post_search (tests.units.test_http_server.RequestTestCase)

artifacts/unit-test-results-python3.12-ubuntu-latest/junit-report.xml [took 0s]
artifacts/unit-test-results-python3.8-ubuntu-latest/junit-report.xml [took 0s]
Raw output
failed on setup with "yaml.composer.ComposerError: found undefined alias 'variable_list'
  in "/home/runner/work/eodag/eodag/eodag/resources/providers.yml", line 5233, column 13"
cls = <class 'tests.units.test_http_server.RequestTestCase'>

    @classmethod
    def setUpClass(cls):
        super(RequestTestCase, cls).setUpClass()
    
        cls.tested_product_type = "S2_MSI_L1C"
    
        # Mock home and eodag conf directory to tmp dir
        cls.tmp_home_dir = TemporaryDirectory()
        cls.expanduser_mock = mock.patch(
            "os.path.expanduser", autospec=True, return_value=cls.tmp_home_dir.name
        )
        cls.expanduser_mock.start()
    
        # mock os.environ to empty env
        cls.mock_os_environ = mock.patch.dict(os.environ, {}, clear=True)
        cls.mock_os_environ.start()
    
        # disable product types fetch
        os.environ["EODAG_EXT_PRODUCT_TYPES_CFG_FILE"] = ""
    
        # load fake credentials to prevent providers needing auth for search to be pruned
        os.environ["EODAG_CFG_FILE"] = os.path.join(
            TEST_RESOURCES_PATH, "wrong_credentials_conf.yml"
        )
    
        # import after having mocked home_dir because it launches http server (and EODataAccessGateway)
        # reload eodag.rest.core to prevent eodag_api cache conflicts
>       import eodag.rest.core

tests/units/test_http_server.py:90: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
eodag/rest/core.py:90: in <module>
    eodag_api = eodag.EODataAccessGateway()
eodag/api/core.py:123: in __init__
    self.providers_config = load_default_config()
eodag/config.py:437: in load_default_config
    return load_config(eodag_providers_cfg_file)
eodag/config.py:451: in load_config
    providers_configs: List[ProviderConfig] = cached_yaml_load_all(config_path)
eodag/utils/__init__.py:1219: in cached_yaml_load_all
    return copy_deepcopy(_mutable_cached_yaml_load_all(config_path))
eodag/utils/__init__.py:1208: in _mutable_cached_yaml_load_all
    return list(yaml.load_all(fh, Loader=yaml.Loader))
.tox/py38/lib/python3.8/site-packages/yaml/__init__.py:93: in load_all
    yield loader.get_data()
.tox/py38/lib/python3.8/site-packages/yaml/constructor.py:45: in get_data
    return self.construct_document(self.get_node())
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:27: in get_node
    return self.compose_document()
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:55: in compose_document
    node = self.compose_node(None, None)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:84: in compose_node
    node = self.compose_mapping_node(anchor)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:133: in compose_mapping_node
    item_value = self.compose_node(node, item_key)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:84: in compose_node
    node = self.compose_mapping_node(anchor)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:133: in compose_mapping_node
    item_value = self.compose_node(node, item_key)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:84: in compose_node
    node = self.compose_mapping_node(anchor)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:133: in compose_mapping_node
    item_value = self.compose_node(node, item_key)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:84: in compose_node
    node = self.compose_mapping_node(anchor)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:133: in compose_mapping_node
    item_value = self.compose_node(node, item_key)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <yaml.loader.Loader object at 0x7fa35f2e7c10>
parent = MappingNode(tag='tag:yaml.org,2002:map', value=[(ScalarNode(tag='tag:yaml.org,2002:str', value='id'), ScalarNode(tag='...g:yaml.org,2002:str', value='{{"version": "{version}"}}'), ScalarNode(tag='tag:yaml.org,2002:str', value='$.null')]))])
index = ScalarNode(tag='tag:yaml.org,2002:merge', value='<<')

    def compose_node(self, parent, index):
        if self.check_event(AliasEvent):
            event = self.get_event()
            anchor = event.anchor
            if anchor not in self.anchors:
>               raise ComposerError(None, None, "found undefined alias %r"
                        % anchor, event.start_mark)
E               yaml.composer.ComposerError: found undefined alias 'variable_list'
E                 in "/home/runner/work/eodag/eodag/eodag/resources/providers.yml", line 5233, column 13

.tox/py38/lib/python3.8/site-packages/yaml/composer.py:68: ComposerError

Check failure on line 0 in tests.units.test_http_server.RequestTestCase

See this annotation in the file changed.

@github-actions github-actions / Test Results

2 out of 4 runs with error: test_collection (tests.units.test_http_server.RequestTestCase)

artifacts/unit-test-results-python3.12-ubuntu-latest/junit-report.xml [took 0s]
artifacts/unit-test-results-python3.8-ubuntu-latest/junit-report.xml [took 0s]
Raw output
failed on setup with "yaml.composer.ComposerError: found undefined alias 'variable_list'
  in "/home/runner/work/eodag/eodag/eodag/resources/providers.yml", line 5233, column 13"
cls = <class 'tests.units.test_http_server.RequestTestCase'>

    @classmethod
    def setUpClass(cls):
        super(RequestTestCase, cls).setUpClass()
    
        cls.tested_product_type = "S2_MSI_L1C"
    
        # Mock home and eodag conf directory to tmp dir
        cls.tmp_home_dir = TemporaryDirectory()
        cls.expanduser_mock = mock.patch(
            "os.path.expanduser", autospec=True, return_value=cls.tmp_home_dir.name
        )
        cls.expanduser_mock.start()
    
        # mock os.environ to empty env
        cls.mock_os_environ = mock.patch.dict(os.environ, {}, clear=True)
        cls.mock_os_environ.start()
    
        # disable product types fetch
        os.environ["EODAG_EXT_PRODUCT_TYPES_CFG_FILE"] = ""
    
        # load fake credentials to prevent providers needing auth for search to be pruned
        os.environ["EODAG_CFG_FILE"] = os.path.join(
            TEST_RESOURCES_PATH, "wrong_credentials_conf.yml"
        )
    
        # import after having mocked home_dir because it launches http server (and EODataAccessGateway)
        # reload eodag.rest.core to prevent eodag_api cache conflicts
>       import eodag.rest.core

tests/units/test_http_server.py:90: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
eodag/rest/core.py:90: in <module>
    eodag_api = eodag.EODataAccessGateway()
eodag/api/core.py:123: in __init__
    self.providers_config = load_default_config()
eodag/config.py:437: in load_default_config
    return load_config(eodag_providers_cfg_file)
eodag/config.py:451: in load_config
    providers_configs: List[ProviderConfig] = cached_yaml_load_all(config_path)
eodag/utils/__init__.py:1219: in cached_yaml_load_all
    return copy_deepcopy(_mutable_cached_yaml_load_all(config_path))
eodag/utils/__init__.py:1208: in _mutable_cached_yaml_load_all
    return list(yaml.load_all(fh, Loader=yaml.Loader))
.tox/py38/lib/python3.8/site-packages/yaml/__init__.py:93: in load_all
    yield loader.get_data()
.tox/py38/lib/python3.8/site-packages/yaml/constructor.py:45: in get_data
    return self.construct_document(self.get_node())
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:27: in get_node
    return self.compose_document()
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:55: in compose_document
    node = self.compose_node(None, None)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:84: in compose_node
    node = self.compose_mapping_node(anchor)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:133: in compose_mapping_node
    item_value = self.compose_node(node, item_key)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:84: in compose_node
    node = self.compose_mapping_node(anchor)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:133: in compose_mapping_node
    item_value = self.compose_node(node, item_key)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:84: in compose_node
    node = self.compose_mapping_node(anchor)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:133: in compose_mapping_node
    item_value = self.compose_node(node, item_key)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:84: in compose_node
    node = self.compose_mapping_node(anchor)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:133: in compose_mapping_node
    item_value = self.compose_node(node, item_key)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <yaml.loader.Loader object at 0x7fa35f2e7c10>
parent = MappingNode(tag='tag:yaml.org,2002:map', value=[(ScalarNode(tag='tag:yaml.org,2002:str', value='id'), ScalarNode(tag='...g:yaml.org,2002:str', value='{{"version": "{version}"}}'), ScalarNode(tag='tag:yaml.org,2002:str', value='$.null')]))])
index = ScalarNode(tag='tag:yaml.org,2002:merge', value='<<')

    def compose_node(self, parent, index):
        if self.check_event(AliasEvent):
            event = self.get_event()
            anchor = event.anchor
            if anchor not in self.anchors:
>               raise ComposerError(None, None, "found undefined alias %r"
                        % anchor, event.start_mark)
E               yaml.composer.ComposerError: found undefined alias 'variable_list'
E                 in "/home/runner/work/eodag/eodag/eodag/resources/providers.yml", line 5233, column 13

.tox/py38/lib/python3.8/site-packages/yaml/composer.py:68: ComposerError

Check failure on line 0 in tests.units.test_http_server.RequestTestCase

See this annotation in the file changed.

@github-actions github-actions / Test Results

2 out of 4 runs with error: test_collection_free_text_search (tests.units.test_http_server.RequestTestCase)

artifacts/unit-test-results-python3.12-ubuntu-latest/junit-report.xml [took 0s]
artifacts/unit-test-results-python3.8-ubuntu-latest/junit-report.xml [took 0s]
Raw output
failed on setup with "yaml.composer.ComposerError: found undefined alias 'variable_list'
  in "/home/runner/work/eodag/eodag/eodag/resources/providers.yml", line 5233, column 13"
cls = <class 'tests.units.test_http_server.RequestTestCase'>

    @classmethod
    def setUpClass(cls):
        super(RequestTestCase, cls).setUpClass()
    
        cls.tested_product_type = "S2_MSI_L1C"
    
        # Mock home and eodag conf directory to tmp dir
        cls.tmp_home_dir = TemporaryDirectory()
        cls.expanduser_mock = mock.patch(
            "os.path.expanduser", autospec=True, return_value=cls.tmp_home_dir.name
        )
        cls.expanduser_mock.start()
    
        # mock os.environ to empty env
        cls.mock_os_environ = mock.patch.dict(os.environ, {}, clear=True)
        cls.mock_os_environ.start()
    
        # disable product types fetch
        os.environ["EODAG_EXT_PRODUCT_TYPES_CFG_FILE"] = ""
    
        # load fake credentials to prevent providers needing auth for search to be pruned
        os.environ["EODAG_CFG_FILE"] = os.path.join(
            TEST_RESOURCES_PATH, "wrong_credentials_conf.yml"
        )
    
        # import after having mocked home_dir because it launches http server (and EODataAccessGateway)
        # reload eodag.rest.core to prevent eodag_api cache conflicts
>       import eodag.rest.core

tests/units/test_http_server.py:90: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
eodag/rest/core.py:90: in <module>
    eodag_api = eodag.EODataAccessGateway()
eodag/api/core.py:123: in __init__
    self.providers_config = load_default_config()
eodag/config.py:437: in load_default_config
    return load_config(eodag_providers_cfg_file)
eodag/config.py:451: in load_config
    providers_configs: List[ProviderConfig] = cached_yaml_load_all(config_path)
eodag/utils/__init__.py:1219: in cached_yaml_load_all
    return copy_deepcopy(_mutable_cached_yaml_load_all(config_path))
eodag/utils/__init__.py:1208: in _mutable_cached_yaml_load_all
    return list(yaml.load_all(fh, Loader=yaml.Loader))
.tox/py38/lib/python3.8/site-packages/yaml/__init__.py:93: in load_all
    yield loader.get_data()
.tox/py38/lib/python3.8/site-packages/yaml/constructor.py:45: in get_data
    return self.construct_document(self.get_node())
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:27: in get_node
    return self.compose_document()
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:55: in compose_document
    node = self.compose_node(None, None)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:84: in compose_node
    node = self.compose_mapping_node(anchor)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:133: in compose_mapping_node
    item_value = self.compose_node(node, item_key)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:84: in compose_node
    node = self.compose_mapping_node(anchor)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:133: in compose_mapping_node
    item_value = self.compose_node(node, item_key)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:84: in compose_node
    node = self.compose_mapping_node(anchor)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:133: in compose_mapping_node
    item_value = self.compose_node(node, item_key)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:84: in compose_node
    node = self.compose_mapping_node(anchor)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:133: in compose_mapping_node
    item_value = self.compose_node(node, item_key)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <yaml.loader.Loader object at 0x7fa35f2e7c10>
parent = MappingNode(tag='tag:yaml.org,2002:map', value=[(ScalarNode(tag='tag:yaml.org,2002:str', value='id'), ScalarNode(tag='...g:yaml.org,2002:str', value='{{"version": "{version}"}}'), ScalarNode(tag='tag:yaml.org,2002:str', value='$.null')]))])
index = ScalarNode(tag='tag:yaml.org,2002:merge', value='<<')

    def compose_node(self, parent, index):
        if self.check_event(AliasEvent):
            event = self.get_event()
            anchor = event.anchor
            if anchor not in self.anchors:
>               raise ComposerError(None, None, "found undefined alias %r"
                        % anchor, event.start_mark)
E               yaml.composer.ComposerError: found undefined alias 'variable_list'
E                 in "/home/runner/work/eodag/eodag/eodag/resources/providers.yml", line 5233, column 13

.tox/py38/lib/python3.8/site-packages/yaml/composer.py:68: ComposerError

Check failure on line 0 in tests.units.test_http_server.RequestTestCase

See this annotation in the file changed.

@github-actions github-actions / Test Results

2 out of 4 runs with error: test_conformance (tests.units.test_http_server.RequestTestCase)

artifacts/unit-test-results-python3.12-ubuntu-latest/junit-report.xml [took 0s]
artifacts/unit-test-results-python3.8-ubuntu-latest/junit-report.xml [took 0s]
Raw output
failed on setup with "yaml.composer.ComposerError: found undefined alias 'variable_list'
  in "/home/runner/work/eodag/eodag/eodag/resources/providers.yml", line 5233, column 13"
cls = <class 'tests.units.test_http_server.RequestTestCase'>

    @classmethod
    def setUpClass(cls):
        super(RequestTestCase, cls).setUpClass()
    
        cls.tested_product_type = "S2_MSI_L1C"
    
        # Mock home and eodag conf directory to tmp dir
        cls.tmp_home_dir = TemporaryDirectory()
        cls.expanduser_mock = mock.patch(
            "os.path.expanduser", autospec=True, return_value=cls.tmp_home_dir.name
        )
        cls.expanduser_mock.start()
    
        # mock os.environ to empty env
        cls.mock_os_environ = mock.patch.dict(os.environ, {}, clear=True)
        cls.mock_os_environ.start()
    
        # disable product types fetch
        os.environ["EODAG_EXT_PRODUCT_TYPES_CFG_FILE"] = ""
    
        # load fake credentials to prevent providers needing auth for search to be pruned
        os.environ["EODAG_CFG_FILE"] = os.path.join(
            TEST_RESOURCES_PATH, "wrong_credentials_conf.yml"
        )
    
        # import after having mocked home_dir because it launches http server (and EODataAccessGateway)
        # reload eodag.rest.core to prevent eodag_api cache conflicts
>       import eodag.rest.core

tests/units/test_http_server.py:90: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
eodag/rest/core.py:90: in <module>
    eodag_api = eodag.EODataAccessGateway()
eodag/api/core.py:123: in __init__
    self.providers_config = load_default_config()
eodag/config.py:437: in load_default_config
    return load_config(eodag_providers_cfg_file)
eodag/config.py:451: in load_config
    providers_configs: List[ProviderConfig] = cached_yaml_load_all(config_path)
eodag/utils/__init__.py:1219: in cached_yaml_load_all
    return copy_deepcopy(_mutable_cached_yaml_load_all(config_path))
eodag/utils/__init__.py:1208: in _mutable_cached_yaml_load_all
    return list(yaml.load_all(fh, Loader=yaml.Loader))
.tox/py38/lib/python3.8/site-packages/yaml/__init__.py:93: in load_all
    yield loader.get_data()
.tox/py38/lib/python3.8/site-packages/yaml/constructor.py:45: in get_data
    return self.construct_document(self.get_node())
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:27: in get_node
    return self.compose_document()
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:55: in compose_document
    node = self.compose_node(None, None)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:84: in compose_node
    node = self.compose_mapping_node(anchor)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:133: in compose_mapping_node
    item_value = self.compose_node(node, item_key)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:84: in compose_node
    node = self.compose_mapping_node(anchor)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:133: in compose_mapping_node
    item_value = self.compose_node(node, item_key)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:84: in compose_node
    node = self.compose_mapping_node(anchor)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:133: in compose_mapping_node
    item_value = self.compose_node(node, item_key)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:84: in compose_node
    node = self.compose_mapping_node(anchor)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:133: in compose_mapping_node
    item_value = self.compose_node(node, item_key)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <yaml.loader.Loader object at 0x7fa35f2e7c10>
parent = MappingNode(tag='tag:yaml.org,2002:map', value=[(ScalarNode(tag='tag:yaml.org,2002:str', value='id'), ScalarNode(tag='...g:yaml.org,2002:str', value='{{"version": "{version}"}}'), ScalarNode(tag='tag:yaml.org,2002:str', value='$.null')]))])
index = ScalarNode(tag='tag:yaml.org,2002:merge', value='<<')

    def compose_node(self, parent, index):
        if self.check_event(AliasEvent):
            event = self.get_event()
            anchor = event.anchor
            if anchor not in self.anchors:
>               raise ComposerError(None, None, "found undefined alias %r"
                        % anchor, event.start_mark)
E               yaml.composer.ComposerError: found undefined alias 'variable_list'
E                 in "/home/runner/work/eodag/eodag/eodag/resources/providers.yml", line 5233, column 13

.tox/py38/lib/python3.8/site-packages/yaml/composer.py:68: ComposerError

Check failure on line 0 in tests.units.test_http_server.RequestTestCase

See this annotation in the file changed.

@github-actions github-actions / Test Results

2 out of 4 runs with error: test_cql_post_search (tests.units.test_http_server.RequestTestCase)

artifacts/unit-test-results-python3.12-ubuntu-latest/junit-report.xml [took 0s]
artifacts/unit-test-results-python3.8-ubuntu-latest/junit-report.xml [took 0s]
Raw output
failed on setup with "yaml.composer.ComposerError: found undefined alias 'variable_list'
  in "/home/runner/work/eodag/eodag/eodag/resources/providers.yml", line 5233, column 13"
cls = <class 'tests.units.test_http_server.RequestTestCase'>

    @classmethod
    def setUpClass(cls):
        super(RequestTestCase, cls).setUpClass()
    
        cls.tested_product_type = "S2_MSI_L1C"
    
        # Mock home and eodag conf directory to tmp dir
        cls.tmp_home_dir = TemporaryDirectory()
        cls.expanduser_mock = mock.patch(
            "os.path.expanduser", autospec=True, return_value=cls.tmp_home_dir.name
        )
        cls.expanduser_mock.start()
    
        # mock os.environ to empty env
        cls.mock_os_environ = mock.patch.dict(os.environ, {}, clear=True)
        cls.mock_os_environ.start()
    
        # disable product types fetch
        os.environ["EODAG_EXT_PRODUCT_TYPES_CFG_FILE"] = ""
    
        # load fake credentials to prevent providers needing auth for search to be pruned
        os.environ["EODAG_CFG_FILE"] = os.path.join(
            TEST_RESOURCES_PATH, "wrong_credentials_conf.yml"
        )
    
        # import after having mocked home_dir because it launches http server (and EODataAccessGateway)
        # reload eodag.rest.core to prevent eodag_api cache conflicts
>       import eodag.rest.core

tests/units/test_http_server.py:90: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
eodag/rest/core.py:90: in <module>
    eodag_api = eodag.EODataAccessGateway()
eodag/api/core.py:123: in __init__
    self.providers_config = load_default_config()
eodag/config.py:437: in load_default_config
    return load_config(eodag_providers_cfg_file)
eodag/config.py:451: in load_config
    providers_configs: List[ProviderConfig] = cached_yaml_load_all(config_path)
eodag/utils/__init__.py:1219: in cached_yaml_load_all
    return copy_deepcopy(_mutable_cached_yaml_load_all(config_path))
eodag/utils/__init__.py:1208: in _mutable_cached_yaml_load_all
    return list(yaml.load_all(fh, Loader=yaml.Loader))
.tox/py38/lib/python3.8/site-packages/yaml/__init__.py:93: in load_all
    yield loader.get_data()
.tox/py38/lib/python3.8/site-packages/yaml/constructor.py:45: in get_data
    return self.construct_document(self.get_node())
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:27: in get_node
    return self.compose_document()
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:55: in compose_document
    node = self.compose_node(None, None)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:84: in compose_node
    node = self.compose_mapping_node(anchor)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:133: in compose_mapping_node
    item_value = self.compose_node(node, item_key)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:84: in compose_node
    node = self.compose_mapping_node(anchor)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:133: in compose_mapping_node
    item_value = self.compose_node(node, item_key)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:84: in compose_node
    node = self.compose_mapping_node(anchor)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:133: in compose_mapping_node
    item_value = self.compose_node(node, item_key)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:84: in compose_node
    node = self.compose_mapping_node(anchor)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:133: in compose_mapping_node
    item_value = self.compose_node(node, item_key)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <yaml.loader.Loader object at 0x7fa35f2e7c10>
parent = MappingNode(tag='tag:yaml.org,2002:map', value=[(ScalarNode(tag='tag:yaml.org,2002:str', value='id'), ScalarNode(tag='...g:yaml.org,2002:str', value='{{"version": "{version}"}}'), ScalarNode(tag='tag:yaml.org,2002:str', value='$.null')]))])
index = ScalarNode(tag='tag:yaml.org,2002:merge', value='<<')

    def compose_node(self, parent, index):
        if self.check_event(AliasEvent):
            event = self.get_event()
            anchor = event.anchor
            if anchor not in self.anchors:
>               raise ComposerError(None, None, "found undefined alias %r"
                        % anchor, event.start_mark)
E               yaml.composer.ComposerError: found undefined alias 'variable_list'
E                 in "/home/runner/work/eodag/eodag/eodag/resources/providers.yml", line 5233, column 13

.tox/py38/lib/python3.8/site-packages/yaml/composer.py:68: ComposerError

Check failure on line 0 in tests.units.test_http_server.RequestTestCase

See this annotation in the file changed.

@github-actions github-actions / Test Results

2 out of 4 runs with error: test_date_post_search (tests.units.test_http_server.RequestTestCase)

artifacts/unit-test-results-python3.12-ubuntu-latest/junit-report.xml [took 0s]
artifacts/unit-test-results-python3.8-ubuntu-latest/junit-report.xml [took 0s]
Raw output
failed on setup with "yaml.composer.ComposerError: found undefined alias 'variable_list'
  in "/home/runner/work/eodag/eodag/eodag/resources/providers.yml", line 5233, column 13"
cls = <class 'tests.units.test_http_server.RequestTestCase'>

    @classmethod
    def setUpClass(cls):
        super(RequestTestCase, cls).setUpClass()
    
        cls.tested_product_type = "S2_MSI_L1C"
    
        # Mock home and eodag conf directory to tmp dir
        cls.tmp_home_dir = TemporaryDirectory()
        cls.expanduser_mock = mock.patch(
            "os.path.expanduser", autospec=True, return_value=cls.tmp_home_dir.name
        )
        cls.expanduser_mock.start()
    
        # mock os.environ to empty env
        cls.mock_os_environ = mock.patch.dict(os.environ, {}, clear=True)
        cls.mock_os_environ.start()
    
        # disable product types fetch
        os.environ["EODAG_EXT_PRODUCT_TYPES_CFG_FILE"] = ""
    
        # load fake credentials to prevent providers needing auth for search to be pruned
        os.environ["EODAG_CFG_FILE"] = os.path.join(
            TEST_RESOURCES_PATH, "wrong_credentials_conf.yml"
        )
    
        # import after having mocked home_dir because it launches http server (and EODataAccessGateway)
        # reload eodag.rest.core to prevent eodag_api cache conflicts
>       import eodag.rest.core

tests/units/test_http_server.py:90: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
eodag/rest/core.py:90: in <module>
    eodag_api = eodag.EODataAccessGateway()
eodag/api/core.py:123: in __init__
    self.providers_config = load_default_config()
eodag/config.py:437: in load_default_config
    return load_config(eodag_providers_cfg_file)
eodag/config.py:451: in load_config
    providers_configs: List[ProviderConfig] = cached_yaml_load_all(config_path)
eodag/utils/__init__.py:1219: in cached_yaml_load_all
    return copy_deepcopy(_mutable_cached_yaml_load_all(config_path))
eodag/utils/__init__.py:1208: in _mutable_cached_yaml_load_all
    return list(yaml.load_all(fh, Loader=yaml.Loader))
.tox/py38/lib/python3.8/site-packages/yaml/__init__.py:93: in load_all
    yield loader.get_data()
.tox/py38/lib/python3.8/site-packages/yaml/constructor.py:45: in get_data
    return self.construct_document(self.get_node())
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:27: in get_node
    return self.compose_document()
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:55: in compose_document
    node = self.compose_node(None, None)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:84: in compose_node
    node = self.compose_mapping_node(anchor)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:133: in compose_mapping_node
    item_value = self.compose_node(node, item_key)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:84: in compose_node
    node = self.compose_mapping_node(anchor)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:133: in compose_mapping_node
    item_value = self.compose_node(node, item_key)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:84: in compose_node
    node = self.compose_mapping_node(anchor)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:133: in compose_mapping_node
    item_value = self.compose_node(node, item_key)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:84: in compose_node
    node = self.compose_mapping_node(anchor)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:133: in compose_mapping_node
    item_value = self.compose_node(node, item_key)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <yaml.loader.Loader object at 0x7fa35f2e7c10>
parent = MappingNode(tag='tag:yaml.org,2002:map', value=[(ScalarNode(tag='tag:yaml.org,2002:str', value='id'), ScalarNode(tag='...g:yaml.org,2002:str', value='{{"version": "{version}"}}'), ScalarNode(tag='tag:yaml.org,2002:str', value='$.null')]))])
index = ScalarNode(tag='tag:yaml.org,2002:merge', value='<<')

    def compose_node(self, parent, index):
        if self.check_event(AliasEvent):
            event = self.get_event()
            anchor = event.anchor
            if anchor not in self.anchors:
>               raise ComposerError(None, None, "found undefined alias %r"
                        % anchor, event.start_mark)
E               yaml.composer.ComposerError: found undefined alias 'variable_list'
E                 in "/home/runner/work/eodag/eodag/eodag/resources/providers.yml", line 5233, column 13

.tox/py38/lib/python3.8/site-packages/yaml/composer.py:68: ComposerError

Check failure on line 0 in tests.units.test_http_server.RequestTestCase

See this annotation in the file changed.

@github-actions github-actions / Test Results

2 out of 4 runs with error: test_date_search (tests.units.test_http_server.RequestTestCase)

artifacts/unit-test-results-python3.12-ubuntu-latest/junit-report.xml [took 0s]
artifacts/unit-test-results-python3.8-ubuntu-latest/junit-report.xml [took 0s]
Raw output
failed on setup with "yaml.composer.ComposerError: found undefined alias 'variable_list'
  in "/home/runner/work/eodag/eodag/eodag/resources/providers.yml", line 5233, column 13"
cls = <class 'tests.units.test_http_server.RequestTestCase'>

    @classmethod
    def setUpClass(cls):
        super(RequestTestCase, cls).setUpClass()
    
        cls.tested_product_type = "S2_MSI_L1C"
    
        # Mock home and eodag conf directory to tmp dir
        cls.tmp_home_dir = TemporaryDirectory()
        cls.expanduser_mock = mock.patch(
            "os.path.expanduser", autospec=True, return_value=cls.tmp_home_dir.name
        )
        cls.expanduser_mock.start()
    
        # mock os.environ to empty env
        cls.mock_os_environ = mock.patch.dict(os.environ, {}, clear=True)
        cls.mock_os_environ.start()
    
        # disable product types fetch
        os.environ["EODAG_EXT_PRODUCT_TYPES_CFG_FILE"] = ""
    
        # load fake credentials to prevent providers needing auth for search to be pruned
        os.environ["EODAG_CFG_FILE"] = os.path.join(
            TEST_RESOURCES_PATH, "wrong_credentials_conf.yml"
        )
    
        # import after having mocked home_dir because it launches http server (and EODataAccessGateway)
        # reload eodag.rest.core to prevent eodag_api cache conflicts
>       import eodag.rest.core

tests/units/test_http_server.py:90: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
eodag/rest/core.py:90: in <module>
    eodag_api = eodag.EODataAccessGateway()
eodag/api/core.py:123: in __init__
    self.providers_config = load_default_config()
eodag/config.py:437: in load_default_config
    return load_config(eodag_providers_cfg_file)
eodag/config.py:451: in load_config
    providers_configs: List[ProviderConfig] = cached_yaml_load_all(config_path)
eodag/utils/__init__.py:1219: in cached_yaml_load_all
    return copy_deepcopy(_mutable_cached_yaml_load_all(config_path))
eodag/utils/__init__.py:1208: in _mutable_cached_yaml_load_all
    return list(yaml.load_all(fh, Loader=yaml.Loader))
.tox/py38/lib/python3.8/site-packages/yaml/__init__.py:93: in load_all
    yield loader.get_data()
.tox/py38/lib/python3.8/site-packages/yaml/constructor.py:45: in get_data
    return self.construct_document(self.get_node())
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:27: in get_node
    return self.compose_document()
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:55: in compose_document
    node = self.compose_node(None, None)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:84: in compose_node
    node = self.compose_mapping_node(anchor)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:133: in compose_mapping_node
    item_value = self.compose_node(node, item_key)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:84: in compose_node
    node = self.compose_mapping_node(anchor)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:133: in compose_mapping_node
    item_value = self.compose_node(node, item_key)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:84: in compose_node
    node = self.compose_mapping_node(anchor)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:133: in compose_mapping_node
    item_value = self.compose_node(node, item_key)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:84: in compose_node
    node = self.compose_mapping_node(anchor)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:133: in compose_mapping_node
    item_value = self.compose_node(node, item_key)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <yaml.loader.Loader object at 0x7fa35f2e7c10>
parent = MappingNode(tag='tag:yaml.org,2002:map', value=[(ScalarNode(tag='tag:yaml.org,2002:str', value='id'), ScalarNode(tag='...g:yaml.org,2002:str', value='{{"version": "{version}"}}'), ScalarNode(tag='tag:yaml.org,2002:str', value='$.null')]))])
index = ScalarNode(tag='tag:yaml.org,2002:merge', value='<<')

    def compose_node(self, parent, index):
        if self.check_event(AliasEvent):
            event = self.get_event()
            anchor = event.anchor
            if anchor not in self.anchors:
>               raise ComposerError(None, None, "found undefined alias %r"
                        % anchor, event.start_mark)
E               yaml.composer.ComposerError: found undefined alias 'variable_list'
E                 in "/home/runner/work/eodag/eodag/eodag/resources/providers.yml", line 5233, column 13

.tox/py38/lib/python3.8/site-packages/yaml/composer.py:68: ComposerError

Check failure on line 0 in tests.units.test_http_server.RequestTestCase

See this annotation in the file changed.

@github-actions github-actions / Test Results

2 out of 4 runs with error: test_date_search_from_catalog_items (tests.units.test_http_server.RequestTestCase)

artifacts/unit-test-results-python3.12-ubuntu-latest/junit-report.xml [took 0s]
artifacts/unit-test-results-python3.8-ubuntu-latest/junit-report.xml [took 0s]
Raw output
failed on setup with "yaml.composer.ComposerError: found undefined alias 'variable_list'
  in "/home/runner/work/eodag/eodag/eodag/resources/providers.yml", line 5233, column 13"
cls = <class 'tests.units.test_http_server.RequestTestCase'>

    @classmethod
    def setUpClass(cls):
        super(RequestTestCase, cls).setUpClass()
    
        cls.tested_product_type = "S2_MSI_L1C"
    
        # Mock home and eodag conf directory to tmp dir
        cls.tmp_home_dir = TemporaryDirectory()
        cls.expanduser_mock = mock.patch(
            "os.path.expanduser", autospec=True, return_value=cls.tmp_home_dir.name
        )
        cls.expanduser_mock.start()
    
        # mock os.environ to empty env
        cls.mock_os_environ = mock.patch.dict(os.environ, {}, clear=True)
        cls.mock_os_environ.start()
    
        # disable product types fetch
        os.environ["EODAG_EXT_PRODUCT_TYPES_CFG_FILE"] = ""
    
        # load fake credentials to prevent providers needing auth for search to be pruned
        os.environ["EODAG_CFG_FILE"] = os.path.join(
            TEST_RESOURCES_PATH, "wrong_credentials_conf.yml"
        )
    
        # import after having mocked home_dir because it launches http server (and EODataAccessGateway)
        # reload eodag.rest.core to prevent eodag_api cache conflicts
>       import eodag.rest.core

tests/units/test_http_server.py:90: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
eodag/rest/core.py:90: in <module>
    eodag_api = eodag.EODataAccessGateway()
eodag/api/core.py:123: in __init__
    self.providers_config = load_default_config()
eodag/config.py:437: in load_default_config
    return load_config(eodag_providers_cfg_file)
eodag/config.py:451: in load_config
    providers_configs: List[ProviderConfig] = cached_yaml_load_all(config_path)
eodag/utils/__init__.py:1219: in cached_yaml_load_all
    return copy_deepcopy(_mutable_cached_yaml_load_all(config_path))
eodag/utils/__init__.py:1208: in _mutable_cached_yaml_load_all
    return list(yaml.load_all(fh, Loader=yaml.Loader))
.tox/py38/lib/python3.8/site-packages/yaml/__init__.py:93: in load_all
    yield loader.get_data()
.tox/py38/lib/python3.8/site-packages/yaml/constructor.py:45: in get_data
    return self.construct_document(self.get_node())
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:27: in get_node
    return self.compose_document()
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:55: in compose_document
    node = self.compose_node(None, None)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:84: in compose_node
    node = self.compose_mapping_node(anchor)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:133: in compose_mapping_node
    item_value = self.compose_node(node, item_key)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:84: in compose_node
    node = self.compose_mapping_node(anchor)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:133: in compose_mapping_node
    item_value = self.compose_node(node, item_key)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:84: in compose_node
    node = self.compose_mapping_node(anchor)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:133: in compose_mapping_node
    item_value = self.compose_node(node, item_key)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:84: in compose_node
    node = self.compose_mapping_node(anchor)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:133: in compose_mapping_node
    item_value = self.compose_node(node, item_key)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <yaml.loader.Loader object at 0x7fa35f2e7c10>
parent = MappingNode(tag='tag:yaml.org,2002:map', value=[(ScalarNode(tag='tag:yaml.org,2002:str', value='id'), ScalarNode(tag='...g:yaml.org,2002:str', value='{{"version": "{version}"}}'), ScalarNode(tag='tag:yaml.org,2002:str', value='$.null')]))])
index = ScalarNode(tag='tag:yaml.org,2002:merge', value='<<')

    def compose_node(self, parent, index):
        if self.check_event(AliasEvent):
            event = self.get_event()
            anchor = event.anchor
            if anchor not in self.anchors:
>               raise ComposerError(None, None, "found undefined alias %r"
                        % anchor, event.start_mark)
E               yaml.composer.ComposerError: found undefined alias 'variable_list'
E                 in "/home/runner/work/eodag/eodag/eodag/resources/providers.yml", line 5233, column 13

.tox/py38/lib/python3.8/site-packages/yaml/composer.py:68: ComposerError

Check failure on line 0 in tests.units.test_http_server.RequestTestCase

See this annotation in the file changed.

@github-actions github-actions / Test Results

2 out of 4 runs with error: test_date_search_from_catalog_items_with_provider (tests.units.test_http_server.RequestTestCase)

artifacts/unit-test-results-python3.12-ubuntu-latest/junit-report.xml [took 0s]
artifacts/unit-test-results-python3.8-ubuntu-latest/junit-report.xml [took 0s]
Raw output
failed on setup with "yaml.composer.ComposerError: found undefined alias 'variable_list'
  in "/home/runner/work/eodag/eodag/eodag/resources/providers.yml", line 5233, column 13"
cls = <class 'tests.units.test_http_server.RequestTestCase'>

    @classmethod
    def setUpClass(cls):
        super(RequestTestCase, cls).setUpClass()
    
        cls.tested_product_type = "S2_MSI_L1C"
    
        # Mock home and eodag conf directory to tmp dir
        cls.tmp_home_dir = TemporaryDirectory()
        cls.expanduser_mock = mock.patch(
            "os.path.expanduser", autospec=True, return_value=cls.tmp_home_dir.name
        )
        cls.expanduser_mock.start()
    
        # mock os.environ to empty env
        cls.mock_os_environ = mock.patch.dict(os.environ, {}, clear=True)
        cls.mock_os_environ.start()
    
        # disable product types fetch
        os.environ["EODAG_EXT_PRODUCT_TYPES_CFG_FILE"] = ""
    
        # load fake credentials to prevent providers needing auth for search to be pruned
        os.environ["EODAG_CFG_FILE"] = os.path.join(
            TEST_RESOURCES_PATH, "wrong_credentials_conf.yml"
        )
    
        # import after having mocked home_dir because it launches http server (and EODataAccessGateway)
        # reload eodag.rest.core to prevent eodag_api cache conflicts
>       import eodag.rest.core

tests/units/test_http_server.py:90: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
eodag/rest/core.py:90: in <module>
    eodag_api = eodag.EODataAccessGateway()
eodag/api/core.py:123: in __init__
    self.providers_config = load_default_config()
eodag/config.py:437: in load_default_config
    return load_config(eodag_providers_cfg_file)
eodag/config.py:451: in load_config
    providers_configs: List[ProviderConfig] = cached_yaml_load_all(config_path)
eodag/utils/__init__.py:1219: in cached_yaml_load_all
    return copy_deepcopy(_mutable_cached_yaml_load_all(config_path))
eodag/utils/__init__.py:1208: in _mutable_cached_yaml_load_all
    return list(yaml.load_all(fh, Loader=yaml.Loader))
.tox/py38/lib/python3.8/site-packages/yaml/__init__.py:93: in load_all
    yield loader.get_data()
.tox/py38/lib/python3.8/site-packages/yaml/constructor.py:45: in get_data
    return self.construct_document(self.get_node())
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:27: in get_node
    return self.compose_document()
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:55: in compose_document
    node = self.compose_node(None, None)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:84: in compose_node
    node = self.compose_mapping_node(anchor)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:133: in compose_mapping_node
    item_value = self.compose_node(node, item_key)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:84: in compose_node
    node = self.compose_mapping_node(anchor)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:133: in compose_mapping_node
    item_value = self.compose_node(node, item_key)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:84: in compose_node
    node = self.compose_mapping_node(anchor)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:133: in compose_mapping_node
    item_value = self.compose_node(node, item_key)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:84: in compose_node
    node = self.compose_mapping_node(anchor)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:133: in compose_mapping_node
    item_value = self.compose_node(node, item_key)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <yaml.loader.Loader object at 0x7fa35f2e7c10>
parent = MappingNode(tag='tag:yaml.org,2002:map', value=[(ScalarNode(tag='tag:yaml.org,2002:str', value='id'), ScalarNode(tag='...g:yaml.org,2002:str', value='{{"version": "{version}"}}'), ScalarNode(tag='tag:yaml.org,2002:str', value='$.null')]))])
index = ScalarNode(tag='tag:yaml.org,2002:merge', value='<<')

    def compose_node(self, parent, index):
        if self.check_event(AliasEvent):
            event = self.get_event()
            anchor = event.anchor
            if anchor not in self.anchors:
>               raise ComposerError(None, None, "found undefined alias %r"
                        % anchor, event.start_mark)
E               yaml.composer.ComposerError: found undefined alias 'variable_list'
E                 in "/home/runner/work/eodag/eodag/eodag/resources/providers.yml", line 5233, column 13

.tox/py38/lib/python3.8/site-packages/yaml/composer.py:68: ComposerError

Check failure on line 0 in tests.units.test_http_server.RequestTestCase

See this annotation in the file changed.

@github-actions github-actions / Test Results

2 out of 4 runs with error: test_date_search_from_items (tests.units.test_http_server.RequestTestCase)

artifacts/unit-test-results-python3.12-ubuntu-latest/junit-report.xml [took 0s]
artifacts/unit-test-results-python3.8-ubuntu-latest/junit-report.xml [took 0s]
Raw output
failed on setup with "yaml.composer.ComposerError: found undefined alias 'variable_list'
  in "/home/runner/work/eodag/eodag/eodag/resources/providers.yml", line 5233, column 13"
cls = <class 'tests.units.test_http_server.RequestTestCase'>

    @classmethod
    def setUpClass(cls):
        super(RequestTestCase, cls).setUpClass()
    
        cls.tested_product_type = "S2_MSI_L1C"
    
        # Mock home and eodag conf directory to tmp dir
        cls.tmp_home_dir = TemporaryDirectory()
        cls.expanduser_mock = mock.patch(
            "os.path.expanduser", autospec=True, return_value=cls.tmp_home_dir.name
        )
        cls.expanduser_mock.start()
    
        # mock os.environ to empty env
        cls.mock_os_environ = mock.patch.dict(os.environ, {}, clear=True)
        cls.mock_os_environ.start()
    
        # disable product types fetch
        os.environ["EODAG_EXT_PRODUCT_TYPES_CFG_FILE"] = ""
    
        # load fake credentials to prevent providers needing auth for search to be pruned
        os.environ["EODAG_CFG_FILE"] = os.path.join(
            TEST_RESOURCES_PATH, "wrong_credentials_conf.yml"
        )
    
        # import after having mocked home_dir because it launches http server (and EODataAccessGateway)
        # reload eodag.rest.core to prevent eodag_api cache conflicts
>       import eodag.rest.core

tests/units/test_http_server.py:90: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
eodag/rest/core.py:90: in <module>
    eodag_api = eodag.EODataAccessGateway()
eodag/api/core.py:123: in __init__
    self.providers_config = load_default_config()
eodag/config.py:437: in load_default_config
    return load_config(eodag_providers_cfg_file)
eodag/config.py:451: in load_config
    providers_configs: List[ProviderConfig] = cached_yaml_load_all(config_path)
eodag/utils/__init__.py:1219: in cached_yaml_load_all
    return copy_deepcopy(_mutable_cached_yaml_load_all(config_path))
eodag/utils/__init__.py:1208: in _mutable_cached_yaml_load_all
    return list(yaml.load_all(fh, Loader=yaml.Loader))
.tox/py38/lib/python3.8/site-packages/yaml/__init__.py:93: in load_all
    yield loader.get_data()
.tox/py38/lib/python3.8/site-packages/yaml/constructor.py:45: in get_data
    return self.construct_document(self.get_node())
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:27: in get_node
    return self.compose_document()
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:55: in compose_document
    node = self.compose_node(None, None)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:84: in compose_node
    node = self.compose_mapping_node(anchor)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:133: in compose_mapping_node
    item_value = self.compose_node(node, item_key)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:84: in compose_node
    node = self.compose_mapping_node(anchor)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:133: in compose_mapping_node
    item_value = self.compose_node(node, item_key)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:84: in compose_node
    node = self.compose_mapping_node(anchor)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:133: in compose_mapping_node
    item_value = self.compose_node(node, item_key)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:84: in compose_node
    node = self.compose_mapping_node(anchor)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:133: in compose_mapping_node
    item_value = self.compose_node(node, item_key)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <yaml.loader.Loader object at 0x7fa35f2e7c10>
parent = MappingNode(tag='tag:yaml.org,2002:map', value=[(ScalarNode(tag='tag:yaml.org,2002:str', value='id'), ScalarNode(tag='...g:yaml.org,2002:str', value='{{"version": "{version}"}}'), ScalarNode(tag='tag:yaml.org,2002:str', value='$.null')]))])
index = ScalarNode(tag='tag:yaml.org,2002:merge', value='<<')

    def compose_node(self, parent, index):
        if self.check_event(AliasEvent):
            event = self.get_event()
            anchor = event.anchor
            if anchor not in self.anchors:
>               raise ComposerError(None, None, "found undefined alias %r"
                        % anchor, event.start_mark)
E               yaml.composer.ComposerError: found undefined alias 'variable_list'
E                 in "/home/runner/work/eodag/eodag/eodag/resources/providers.yml", line 5233, column 13

.tox/py38/lib/python3.8/site-packages/yaml/composer.py:68: ComposerError

Check failure on line 0 in tests.units.test_http_server.RequestTestCase

See this annotation in the file changed.

@github-actions github-actions / Test Results

2 out of 4 runs with error: test_download_item_from_catalog_stream (tests.units.test_http_server.RequestTestCase)

artifacts/unit-test-results-python3.12-ubuntu-latest/junit-report.xml [took 0s]
artifacts/unit-test-results-python3.8-ubuntu-latest/junit-report.xml [took 0s]
Raw output
failed on setup with "yaml.composer.ComposerError: found undefined alias 'variable_list'
  in "/home/runner/work/eodag/eodag/eodag/resources/providers.yml", line 5233, column 13"
cls = <class 'tests.units.test_http_server.RequestTestCase'>

    @classmethod
    def setUpClass(cls):
        super(RequestTestCase, cls).setUpClass()
    
        cls.tested_product_type = "S2_MSI_L1C"
    
        # Mock home and eodag conf directory to tmp dir
        cls.tmp_home_dir = TemporaryDirectory()
        cls.expanduser_mock = mock.patch(
            "os.path.expanduser", autospec=True, return_value=cls.tmp_home_dir.name
        )
        cls.expanduser_mock.start()
    
        # mock os.environ to empty env
        cls.mock_os_environ = mock.patch.dict(os.environ, {}, clear=True)
        cls.mock_os_environ.start()
    
        # disable product types fetch
        os.environ["EODAG_EXT_PRODUCT_TYPES_CFG_FILE"] = ""
    
        # load fake credentials to prevent providers needing auth for search to be pruned
        os.environ["EODAG_CFG_FILE"] = os.path.join(
            TEST_RESOURCES_PATH, "wrong_credentials_conf.yml"
        )
    
        # import after having mocked home_dir because it launches http server (and EODataAccessGateway)
        # reload eodag.rest.core to prevent eodag_api cache conflicts
>       import eodag.rest.core

tests/units/test_http_server.py:90: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
eodag/rest/core.py:90: in <module>
    eodag_api = eodag.EODataAccessGateway()
eodag/api/core.py:123: in __init__
    self.providers_config = load_default_config()
eodag/config.py:437: in load_default_config
    return load_config(eodag_providers_cfg_file)
eodag/config.py:451: in load_config
    providers_configs: List[ProviderConfig] = cached_yaml_load_all(config_path)
eodag/utils/__init__.py:1219: in cached_yaml_load_all
    return copy_deepcopy(_mutable_cached_yaml_load_all(config_path))
eodag/utils/__init__.py:1208: in _mutable_cached_yaml_load_all
    return list(yaml.load_all(fh, Loader=yaml.Loader))
.tox/py38/lib/python3.8/site-packages/yaml/__init__.py:93: in load_all
    yield loader.get_data()
.tox/py38/lib/python3.8/site-packages/yaml/constructor.py:45: in get_data
    return self.construct_document(self.get_node())
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:27: in get_node
    return self.compose_document()
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:55: in compose_document
    node = self.compose_node(None, None)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:84: in compose_node
    node = self.compose_mapping_node(anchor)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:133: in compose_mapping_node
    item_value = self.compose_node(node, item_key)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:84: in compose_node
    node = self.compose_mapping_node(anchor)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:133: in compose_mapping_node
    item_value = self.compose_node(node, item_key)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:84: in compose_node
    node = self.compose_mapping_node(anchor)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:133: in compose_mapping_node
    item_value = self.compose_node(node, item_key)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:84: in compose_node
    node = self.compose_mapping_node(anchor)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:133: in compose_mapping_node
    item_value = self.compose_node(node, item_key)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <yaml.loader.Loader object at 0x7fa35f2e7c10>
parent = MappingNode(tag='tag:yaml.org,2002:map', value=[(ScalarNode(tag='tag:yaml.org,2002:str', value='id'), ScalarNode(tag='...g:yaml.org,2002:str', value='{{"version": "{version}"}}'), ScalarNode(tag='tag:yaml.org,2002:str', value='$.null')]))])
index = ScalarNode(tag='tag:yaml.org,2002:merge', value='<<')

    def compose_node(self, parent, index):
        if self.check_event(AliasEvent):
            event = self.get_event()
            anchor = event.anchor
            if anchor not in self.anchors:
>               raise ComposerError(None, None, "found undefined alias %r"
                        % anchor, event.start_mark)
E               yaml.composer.ComposerError: found undefined alias 'variable_list'
E                 in "/home/runner/work/eodag/eodag/eodag/resources/providers.yml", line 5233, column 13

.tox/py38/lib/python3.8/site-packages/yaml/composer.py:68: ComposerError

Check failure on line 0 in tests.units.test_http_server.RequestTestCase

See this annotation in the file changed.

@github-actions github-actions / Test Results

2 out of 4 runs with error: test_download_item_from_collection_no_stream (tests.units.test_http_server.RequestTestCase)

artifacts/unit-test-results-python3.12-ubuntu-latest/junit-report.xml [took 0s]
artifacts/unit-test-results-python3.8-ubuntu-latest/junit-report.xml [took 0s]
Raw output
failed on setup with "yaml.composer.ComposerError: found undefined alias 'variable_list'
  in "/home/runner/work/eodag/eodag/eodag/resources/providers.yml", line 5233, column 13"
cls = <class 'tests.units.test_http_server.RequestTestCase'>

    @classmethod
    def setUpClass(cls):
        super(RequestTestCase, cls).setUpClass()
    
        cls.tested_product_type = "S2_MSI_L1C"
    
        # Mock home and eodag conf directory to tmp dir
        cls.tmp_home_dir = TemporaryDirectory()
        cls.expanduser_mock = mock.patch(
            "os.path.expanduser", autospec=True, return_value=cls.tmp_home_dir.name
        )
        cls.expanduser_mock.start()
    
        # mock os.environ to empty env
        cls.mock_os_environ = mock.patch.dict(os.environ, {}, clear=True)
        cls.mock_os_environ.start()
    
        # disable product types fetch
        os.environ["EODAG_EXT_PRODUCT_TYPES_CFG_FILE"] = ""
    
        # load fake credentials to prevent providers needing auth for search to be pruned
        os.environ["EODAG_CFG_FILE"] = os.path.join(
            TEST_RESOURCES_PATH, "wrong_credentials_conf.yml"
        )
    
        # import after having mocked home_dir because it launches http server (and EODataAccessGateway)
        # reload eodag.rest.core to prevent eodag_api cache conflicts
>       import eodag.rest.core

tests/units/test_http_server.py:90: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
eodag/rest/core.py:90: in <module>
    eodag_api = eodag.EODataAccessGateway()
eodag/api/core.py:123: in __init__
    self.providers_config = load_default_config()
eodag/config.py:437: in load_default_config
    return load_config(eodag_providers_cfg_file)
eodag/config.py:451: in load_config
    providers_configs: List[ProviderConfig] = cached_yaml_load_all(config_path)
eodag/utils/__init__.py:1219: in cached_yaml_load_all
    return copy_deepcopy(_mutable_cached_yaml_load_all(config_path))
eodag/utils/__init__.py:1208: in _mutable_cached_yaml_load_all
    return list(yaml.load_all(fh, Loader=yaml.Loader))
.tox/py38/lib/python3.8/site-packages/yaml/__init__.py:93: in load_all
    yield loader.get_data()
.tox/py38/lib/python3.8/site-packages/yaml/constructor.py:45: in get_data
    return self.construct_document(self.get_node())
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:27: in get_node
    return self.compose_document()
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:55: in compose_document
    node = self.compose_node(None, None)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:84: in compose_node
    node = self.compose_mapping_node(anchor)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:133: in compose_mapping_node
    item_value = self.compose_node(node, item_key)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:84: in compose_node
    node = self.compose_mapping_node(anchor)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:133: in compose_mapping_node
    item_value = self.compose_node(node, item_key)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:84: in compose_node
    node = self.compose_mapping_node(anchor)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:133: in compose_mapping_node
    item_value = self.compose_node(node, item_key)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:84: in compose_node
    node = self.compose_mapping_node(anchor)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:133: in compose_mapping_node
    item_value = self.compose_node(node, item_key)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <yaml.loader.Loader object at 0x7fa35f2e7c10>
parent = MappingNode(tag='tag:yaml.org,2002:map', value=[(ScalarNode(tag='tag:yaml.org,2002:str', value='id'), ScalarNode(tag='...g:yaml.org,2002:str', value='{{"version": "{version}"}}'), ScalarNode(tag='tag:yaml.org,2002:str', value='$.null')]))])
index = ScalarNode(tag='tag:yaml.org,2002:merge', value='<<')

    def compose_node(self, parent, index):
        if self.check_event(AliasEvent):
            event = self.get_event()
            anchor = event.anchor
            if anchor not in self.anchors:
>               raise ComposerError(None, None, "found undefined alias %r"
                        % anchor, event.start_mark)
E               yaml.composer.ComposerError: found undefined alias 'variable_list'
E                 in "/home/runner/work/eodag/eodag/eodag/resources/providers.yml", line 5233, column 13

.tox/py38/lib/python3.8/site-packages/yaml/composer.py:68: ComposerError

Check failure on line 0 in tests.units.test_http_server.RequestTestCase

See this annotation in the file changed.

@github-actions github-actions / Test Results

2 out of 4 runs with error: test_download_offline_item_from_catalog (tests.units.test_http_server.RequestTestCase)

artifacts/unit-test-results-python3.12-ubuntu-latest/junit-report.xml [took 0s]
artifacts/unit-test-results-python3.8-ubuntu-latest/junit-report.xml [took 0s]
Raw output
failed on setup with "yaml.composer.ComposerError: found undefined alias 'variable_list'
  in "/home/runner/work/eodag/eodag/eodag/resources/providers.yml", line 5233, column 13"
cls = <class 'tests.units.test_http_server.RequestTestCase'>

    @classmethod
    def setUpClass(cls):
        super(RequestTestCase, cls).setUpClass()
    
        cls.tested_product_type = "S2_MSI_L1C"
    
        # Mock home and eodag conf directory to tmp dir
        cls.tmp_home_dir = TemporaryDirectory()
        cls.expanduser_mock = mock.patch(
            "os.path.expanduser", autospec=True, return_value=cls.tmp_home_dir.name
        )
        cls.expanduser_mock.start()
    
        # mock os.environ to empty env
        cls.mock_os_environ = mock.patch.dict(os.environ, {}, clear=True)
        cls.mock_os_environ.start()
    
        # disable product types fetch
        os.environ["EODAG_EXT_PRODUCT_TYPES_CFG_FILE"] = ""
    
        # load fake credentials to prevent providers needing auth for search to be pruned
        os.environ["EODAG_CFG_FILE"] = os.path.join(
            TEST_RESOURCES_PATH, "wrong_credentials_conf.yml"
        )
    
        # import after having mocked home_dir because it launches http server (and EODataAccessGateway)
        # reload eodag.rest.core to prevent eodag_api cache conflicts
>       import eodag.rest.core

tests/units/test_http_server.py:90: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
eodag/rest/core.py:90: in <module>
    eodag_api = eodag.EODataAccessGateway()
eodag/api/core.py:123: in __init__
    self.providers_config = load_default_config()
eodag/config.py:437: in load_default_config
    return load_config(eodag_providers_cfg_file)
eodag/config.py:451: in load_config
    providers_configs: List[ProviderConfig] = cached_yaml_load_all(config_path)
eodag/utils/__init__.py:1219: in cached_yaml_load_all
    return copy_deepcopy(_mutable_cached_yaml_load_all(config_path))
eodag/utils/__init__.py:1208: in _mutable_cached_yaml_load_all
    return list(yaml.load_all(fh, Loader=yaml.Loader))
.tox/py38/lib/python3.8/site-packages/yaml/__init__.py:93: in load_all
    yield loader.get_data()
.tox/py38/lib/python3.8/site-packages/yaml/constructor.py:45: in get_data
    return self.construct_document(self.get_node())
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:27: in get_node
    return self.compose_document()
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:55: in compose_document
    node = self.compose_node(None, None)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:84: in compose_node
    node = self.compose_mapping_node(anchor)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:133: in compose_mapping_node
    item_value = self.compose_node(node, item_key)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:84: in compose_node
    node = self.compose_mapping_node(anchor)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:133: in compose_mapping_node
    item_value = self.compose_node(node, item_key)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:84: in compose_node
    node = self.compose_mapping_node(anchor)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:133: in compose_mapping_node
    item_value = self.compose_node(node, item_key)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:84: in compose_node
    node = self.compose_mapping_node(anchor)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:133: in compose_mapping_node
    item_value = self.compose_node(node, item_key)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <yaml.loader.Loader object at 0x7fa35f2e7c10>
parent = MappingNode(tag='tag:yaml.org,2002:map', value=[(ScalarNode(tag='tag:yaml.org,2002:str', value='id'), ScalarNode(tag='...g:yaml.org,2002:str', value='{{"version": "{version}"}}'), ScalarNode(tag='tag:yaml.org,2002:str', value='$.null')]))])
index = ScalarNode(tag='tag:yaml.org,2002:merge', value='<<')

    def compose_node(self, parent, index):
        if self.check_event(AliasEvent):
            event = self.get_event()
            anchor = event.anchor
            if anchor not in self.anchors:
>               raise ComposerError(None, None, "found undefined alias %r"
                        % anchor, event.start_mark)
E               yaml.composer.ComposerError: found undefined alias 'variable_list'
E                 in "/home/runner/work/eodag/eodag/eodag/resources/providers.yml", line 5233, column 13

.tox/py38/lib/python3.8/site-packages/yaml/composer.py:68: ComposerError

Check failure on line 0 in tests.units.test_http_server.RequestTestCase

See this annotation in the file changed.

@github-actions github-actions / Test Results

2 out of 4 runs with error: test_filter (tests.units.test_http_server.RequestTestCase)

artifacts/unit-test-results-python3.12-ubuntu-latest/junit-report.xml [took 0s]
artifacts/unit-test-results-python3.8-ubuntu-latest/junit-report.xml [took 0s]
Raw output
failed on setup with "yaml.composer.ComposerError: found undefined alias 'variable_list'
  in "/home/runner/work/eodag/eodag/eodag/resources/providers.yml", line 5233, column 13"
cls = <class 'tests.units.test_http_server.RequestTestCase'>

    @classmethod
    def setUpClass(cls):
        super(RequestTestCase, cls).setUpClass()
    
        cls.tested_product_type = "S2_MSI_L1C"
    
        # Mock home and eodag conf directory to tmp dir
        cls.tmp_home_dir = TemporaryDirectory()
        cls.expanduser_mock = mock.patch(
            "os.path.expanduser", autospec=True, return_value=cls.tmp_home_dir.name
        )
        cls.expanduser_mock.start()
    
        # mock os.environ to empty env
        cls.mock_os_environ = mock.patch.dict(os.environ, {}, clear=True)
        cls.mock_os_environ.start()
    
        # disable product types fetch
        os.environ["EODAG_EXT_PRODUCT_TYPES_CFG_FILE"] = ""
    
        # load fake credentials to prevent providers needing auth for search to be pruned
        os.environ["EODAG_CFG_FILE"] = os.path.join(
            TEST_RESOURCES_PATH, "wrong_credentials_conf.yml"
        )
    
        # import after having mocked home_dir because it launches http server (and EODataAccessGateway)
        # reload eodag.rest.core to prevent eodag_api cache conflicts
>       import eodag.rest.core

tests/units/test_http_server.py:90: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
eodag/rest/core.py:90: in <module>
    eodag_api = eodag.EODataAccessGateway()
eodag/api/core.py:123: in __init__
    self.providers_config = load_default_config()
eodag/config.py:437: in load_default_config
    return load_config(eodag_providers_cfg_file)
eodag/config.py:451: in load_config
    providers_configs: List[ProviderConfig] = cached_yaml_load_all(config_path)
eodag/utils/__init__.py:1219: in cached_yaml_load_all
    return copy_deepcopy(_mutable_cached_yaml_load_all(config_path))
eodag/utils/__init__.py:1208: in _mutable_cached_yaml_load_all
    return list(yaml.load_all(fh, Loader=yaml.Loader))
.tox/py38/lib/python3.8/site-packages/yaml/__init__.py:93: in load_all
    yield loader.get_data()
.tox/py38/lib/python3.8/site-packages/yaml/constructor.py:45: in get_data
    return self.construct_document(self.get_node())
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:27: in get_node
    return self.compose_document()
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:55: in compose_document
    node = self.compose_node(None, None)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:84: in compose_node
    node = self.compose_mapping_node(anchor)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:133: in compose_mapping_node
    item_value = self.compose_node(node, item_key)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:84: in compose_node
    node = self.compose_mapping_node(anchor)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:133: in compose_mapping_node
    item_value = self.compose_node(node, item_key)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:84: in compose_node
    node = self.compose_mapping_node(anchor)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:133: in compose_mapping_node
    item_value = self.compose_node(node, item_key)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:84: in compose_node
    node = self.compose_mapping_node(anchor)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:133: in compose_mapping_node
    item_value = self.compose_node(node, item_key)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <yaml.loader.Loader object at 0x7fa35f2e7c10>
parent = MappingNode(tag='tag:yaml.org,2002:map', value=[(ScalarNode(tag='tag:yaml.org,2002:str', value='id'), ScalarNode(tag='...g:yaml.org,2002:str', value='{{"version": "{version}"}}'), ScalarNode(tag='tag:yaml.org,2002:str', value='$.null')]))])
index = ScalarNode(tag='tag:yaml.org,2002:merge', value='<<')

    def compose_node(self, parent, index):
        if self.check_event(AliasEvent):
            event = self.get_event()
            anchor = event.anchor
            if anchor not in self.anchors:
>               raise ComposerError(None, None, "found undefined alias %r"
                        % anchor, event.start_mark)
E               yaml.composer.ComposerError: found undefined alias 'variable_list'
E                 in "/home/runner/work/eodag/eodag/eodag/resources/providers.yml", line 5233, column 13

.tox/py38/lib/python3.8/site-packages/yaml/composer.py:68: ComposerError

Check failure on line 0 in tests.units.test_http_server.RequestTestCase

See this annotation in the file changed.

@github-actions github-actions / Test Results

2 out of 4 runs with error: test_forward (tests.units.test_http_server.RequestTestCase)

artifacts/unit-test-results-python3.12-ubuntu-latest/junit-report.xml [took 0s]
artifacts/unit-test-results-python3.8-ubuntu-latest/junit-report.xml [took 0s]
Raw output
failed on setup with "yaml.composer.ComposerError: found undefined alias 'variable_list'
  in "/home/runner/work/eodag/eodag/eodag/resources/providers.yml", line 5233, column 13"
cls = <class 'tests.units.test_http_server.RequestTestCase'>

    @classmethod
    def setUpClass(cls):
        super(RequestTestCase, cls).setUpClass()
    
        cls.tested_product_type = "S2_MSI_L1C"
    
        # Mock home and eodag conf directory to tmp dir
        cls.tmp_home_dir = TemporaryDirectory()
        cls.expanduser_mock = mock.patch(
            "os.path.expanduser", autospec=True, return_value=cls.tmp_home_dir.name
        )
        cls.expanduser_mock.start()
    
        # mock os.environ to empty env
        cls.mock_os_environ = mock.patch.dict(os.environ, {}, clear=True)
        cls.mock_os_environ.start()
    
        # disable product types fetch
        os.environ["EODAG_EXT_PRODUCT_TYPES_CFG_FILE"] = ""
    
        # load fake credentials to prevent providers needing auth for search to be pruned
        os.environ["EODAG_CFG_FILE"] = os.path.join(
            TEST_RESOURCES_PATH, "wrong_credentials_conf.yml"
        )
    
        # import after having mocked home_dir because it launches http server (and EODataAccessGateway)
        # reload eodag.rest.core to prevent eodag_api cache conflicts
>       import eodag.rest.core

tests/units/test_http_server.py:90: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
eodag/rest/core.py:90: in <module>
    eodag_api = eodag.EODataAccessGateway()
eodag/api/core.py:123: in __init__
    self.providers_config = load_default_config()
eodag/config.py:437: in load_default_config
    return load_config(eodag_providers_cfg_file)
eodag/config.py:451: in load_config
    providers_configs: List[ProviderConfig] = cached_yaml_load_all(config_path)
eodag/utils/__init__.py:1219: in cached_yaml_load_all
    return copy_deepcopy(_mutable_cached_yaml_load_all(config_path))
eodag/utils/__init__.py:1208: in _mutable_cached_yaml_load_all
    return list(yaml.load_all(fh, Loader=yaml.Loader))
.tox/py38/lib/python3.8/site-packages/yaml/__init__.py:93: in load_all
    yield loader.get_data()
.tox/py38/lib/python3.8/site-packages/yaml/constructor.py:45: in get_data
    return self.construct_document(self.get_node())
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:27: in get_node
    return self.compose_document()
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:55: in compose_document
    node = self.compose_node(None, None)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:84: in compose_node
    node = self.compose_mapping_node(anchor)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:133: in compose_mapping_node
    item_value = self.compose_node(node, item_key)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:84: in compose_node
    node = self.compose_mapping_node(anchor)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:133: in compose_mapping_node
    item_value = self.compose_node(node, item_key)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:84: in compose_node
    node = self.compose_mapping_node(anchor)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:133: in compose_mapping_node
    item_value = self.compose_node(node, item_key)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:84: in compose_node
    node = self.compose_mapping_node(anchor)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:133: in compose_mapping_node
    item_value = self.compose_node(node, item_key)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <yaml.loader.Loader object at 0x7fa35f2e7c10>
parent = MappingNode(tag='tag:yaml.org,2002:map', value=[(ScalarNode(tag='tag:yaml.org,2002:str', value='id'), ScalarNode(tag='...g:yaml.org,2002:str', value='{{"version": "{version}"}}'), ScalarNode(tag='tag:yaml.org,2002:str', value='$.null')]))])
index = ScalarNode(tag='tag:yaml.org,2002:merge', value='<<')

    def compose_node(self, parent, index):
        if self.check_event(AliasEvent):
            event = self.get_event()
            anchor = event.anchor
            if anchor not in self.anchors:
>               raise ComposerError(None, None, "found undefined alias %r"
                        % anchor, event.start_mark)
E               yaml.composer.ComposerError: found undefined alias 'variable_list'
E                 in "/home/runner/work/eodag/eodag/eodag/resources/providers.yml", line 5233, column 13

.tox/py38/lib/python3.8/site-packages/yaml/composer.py:68: ComposerError

Check failure on line 0 in tests.units.test_http_server.RequestTestCase

See this annotation in the file changed.

@github-actions github-actions / Test Results

2 out of 4 runs with error: test_ids_post_search (tests.units.test_http_server.RequestTestCase)

artifacts/unit-test-results-python3.12-ubuntu-latest/junit-report.xml [took 0s]
artifacts/unit-test-results-python3.8-ubuntu-latest/junit-report.xml [took 0s]
Raw output
failed on setup with "yaml.composer.ComposerError: found undefined alias 'variable_list'
  in "/home/runner/work/eodag/eodag/eodag/resources/providers.yml", line 5233, column 13"
cls = <class 'tests.units.test_http_server.RequestTestCase'>

    @classmethod
    def setUpClass(cls):
        super(RequestTestCase, cls).setUpClass()
    
        cls.tested_product_type = "S2_MSI_L1C"
    
        # Mock home and eodag conf directory to tmp dir
        cls.tmp_home_dir = TemporaryDirectory()
        cls.expanduser_mock = mock.patch(
            "os.path.expanduser", autospec=True, return_value=cls.tmp_home_dir.name
        )
        cls.expanduser_mock.start()
    
        # mock os.environ to empty env
        cls.mock_os_environ = mock.patch.dict(os.environ, {}, clear=True)
        cls.mock_os_environ.start()
    
        # disable product types fetch
        os.environ["EODAG_EXT_PRODUCT_TYPES_CFG_FILE"] = ""
    
        # load fake credentials to prevent providers needing auth for search to be pruned
        os.environ["EODAG_CFG_FILE"] = os.path.join(
            TEST_RESOURCES_PATH, "wrong_credentials_conf.yml"
        )
    
        # import after having mocked home_dir because it launches http server (and EODataAccessGateway)
        # reload eodag.rest.core to prevent eodag_api cache conflicts
>       import eodag.rest.core

tests/units/test_http_server.py:90: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
eodag/rest/core.py:90: in <module>
    eodag_api = eodag.EODataAccessGateway()
eodag/api/core.py:123: in __init__
    self.providers_config = load_default_config()
eodag/config.py:437: in load_default_config
    return load_config(eodag_providers_cfg_file)
eodag/config.py:451: in load_config
    providers_configs: List[ProviderConfig] = cached_yaml_load_all(config_path)
eodag/utils/__init__.py:1219: in cached_yaml_load_all
    return copy_deepcopy(_mutable_cached_yaml_load_all(config_path))
eodag/utils/__init__.py:1208: in _mutable_cached_yaml_load_all
    return list(yaml.load_all(fh, Loader=yaml.Loader))
.tox/py38/lib/python3.8/site-packages/yaml/__init__.py:93: in load_all
    yield loader.get_data()
.tox/py38/lib/python3.8/site-packages/yaml/constructor.py:45: in get_data
    return self.construct_document(self.get_node())
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:27: in get_node
    return self.compose_document()
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:55: in compose_document
    node = self.compose_node(None, None)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:84: in compose_node
    node = self.compose_mapping_node(anchor)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:133: in compose_mapping_node
    item_value = self.compose_node(node, item_key)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:84: in compose_node
    node = self.compose_mapping_node(anchor)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:133: in compose_mapping_node
    item_value = self.compose_node(node, item_key)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:84: in compose_node
    node = self.compose_mapping_node(anchor)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:133: in compose_mapping_node
    item_value = self.compose_node(node, item_key)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:84: in compose_node
    node = self.compose_mapping_node(anchor)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:133: in compose_mapping_node
    item_value = self.compose_node(node, item_key)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <yaml.loader.Loader object at 0x7fa35f2e7c10>
parent = MappingNode(tag='tag:yaml.org,2002:map', value=[(ScalarNode(tag='tag:yaml.org,2002:str', value='id'), ScalarNode(tag='...g:yaml.org,2002:str', value='{{"version": "{version}"}}'), ScalarNode(tag='tag:yaml.org,2002:str', value='$.null')]))])
index = ScalarNode(tag='tag:yaml.org,2002:merge', value='<<')

    def compose_node(self, parent, index):
        if self.check_event(AliasEvent):
            event = self.get_event()
            anchor = event.anchor
            if anchor not in self.anchors:
>               raise ComposerError(None, None, "found undefined alias %r"
                        % anchor, event.start_mark)
E               yaml.composer.ComposerError: found undefined alias 'variable_list'
E                 in "/home/runner/work/eodag/eodag/eodag/resources/providers.yml", line 5233, column 13

.tox/py38/lib/python3.8/site-packages/yaml/composer.py:68: ComposerError

Check failure on line 0 in tests.units.test_http_server.RequestTestCase

See this annotation in the file changed.

@github-actions github-actions / Test Results

2 out of 4 runs with error: test_intersects_post_search (tests.units.test_http_server.RequestTestCase)

artifacts/unit-test-results-python3.12-ubuntu-latest/junit-report.xml [took 0s]
artifacts/unit-test-results-python3.8-ubuntu-latest/junit-report.xml [took 0s]
Raw output
failed on setup with "yaml.composer.ComposerError: found undefined alias 'variable_list'
  in "/home/runner/work/eodag/eodag/eodag/resources/providers.yml", line 5233, column 13"
cls = <class 'tests.units.test_http_server.RequestTestCase'>

    @classmethod
    def setUpClass(cls):
        super(RequestTestCase, cls).setUpClass()
    
        cls.tested_product_type = "S2_MSI_L1C"
    
        # Mock home and eodag conf directory to tmp dir
        cls.tmp_home_dir = TemporaryDirectory()
        cls.expanduser_mock = mock.patch(
            "os.path.expanduser", autospec=True, return_value=cls.tmp_home_dir.name
        )
        cls.expanduser_mock.start()
    
        # mock os.environ to empty env
        cls.mock_os_environ = mock.patch.dict(os.environ, {}, clear=True)
        cls.mock_os_environ.start()
    
        # disable product types fetch
        os.environ["EODAG_EXT_PRODUCT_TYPES_CFG_FILE"] = ""
    
        # load fake credentials to prevent providers needing auth for search to be pruned
        os.environ["EODAG_CFG_FILE"] = os.path.join(
            TEST_RESOURCES_PATH, "wrong_credentials_conf.yml"
        )
    
        # import after having mocked home_dir because it launches http server (and EODataAccessGateway)
        # reload eodag.rest.core to prevent eodag_api cache conflicts
>       import eodag.rest.core

tests/units/test_http_server.py:90: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
eodag/rest/core.py:90: in <module>
    eodag_api = eodag.EODataAccessGateway()
eodag/api/core.py:123: in __init__
    self.providers_config = load_default_config()
eodag/config.py:437: in load_default_config
    return load_config(eodag_providers_cfg_file)
eodag/config.py:451: in load_config
    providers_configs: List[ProviderConfig] = cached_yaml_load_all(config_path)
eodag/utils/__init__.py:1219: in cached_yaml_load_all
    return copy_deepcopy(_mutable_cached_yaml_load_all(config_path))
eodag/utils/__init__.py:1208: in _mutable_cached_yaml_load_all
    return list(yaml.load_all(fh, Loader=yaml.Loader))
.tox/py38/lib/python3.8/site-packages/yaml/__init__.py:93: in load_all
    yield loader.get_data()
.tox/py38/lib/python3.8/site-packages/yaml/constructor.py:45: in get_data
    return self.construct_document(self.get_node())
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:27: in get_node
    return self.compose_document()
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:55: in compose_document
    node = self.compose_node(None, None)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:84: in compose_node
    node = self.compose_mapping_node(anchor)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:133: in compose_mapping_node
    item_value = self.compose_node(node, item_key)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:84: in compose_node
    node = self.compose_mapping_node(anchor)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:133: in compose_mapping_node
    item_value = self.compose_node(node, item_key)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:84: in compose_node
    node = self.compose_mapping_node(anchor)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:133: in compose_mapping_node
    item_value = self.compose_node(node, item_key)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:84: in compose_node
    node = self.compose_mapping_node(anchor)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:133: in compose_mapping_node
    item_value = self.compose_node(node, item_key)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <yaml.loader.Loader object at 0x7fa35f2e7c10>
parent = MappingNode(tag='tag:yaml.org,2002:map', value=[(ScalarNode(tag='tag:yaml.org,2002:str', value='id'), ScalarNode(tag='...g:yaml.org,2002:str', value='{{"version": "{version}"}}'), ScalarNode(tag='tag:yaml.org,2002:str', value='$.null')]))])
index = ScalarNode(tag='tag:yaml.org,2002:merge', value='<<')

    def compose_node(self, parent, index):
        if self.check_event(AliasEvent):
            event = self.get_event()
            anchor = event.anchor
            if anchor not in self.anchors:
>               raise ComposerError(None, None, "found undefined alias %r"
                        % anchor, event.start_mark)
E               yaml.composer.ComposerError: found undefined alias 'variable_list'
E                 in "/home/runner/work/eodag/eodag/eodag/resources/providers.yml", line 5233, column 13

.tox/py38/lib/python3.8/site-packages/yaml/composer.py:68: ComposerError

Check failure on line 0 in tests.units.test_http_server.RequestTestCase

See this annotation in the file changed.

@github-actions github-actions / Test Results

2 out of 4 runs with error: test_items_response (tests.units.test_http_server.RequestTestCase)

artifacts/unit-test-results-python3.12-ubuntu-latest/junit-report.xml [took 0s]
artifacts/unit-test-results-python3.8-ubuntu-latest/junit-report.xml [took 0s]
Raw output
failed on setup with "yaml.composer.ComposerError: found undefined alias 'variable_list'
  in "/home/runner/work/eodag/eodag/eodag/resources/providers.yml", line 5233, column 13"
cls = <class 'tests.units.test_http_server.RequestTestCase'>

    @classmethod
    def setUpClass(cls):
        super(RequestTestCase, cls).setUpClass()
    
        cls.tested_product_type = "S2_MSI_L1C"
    
        # Mock home and eodag conf directory to tmp dir
        cls.tmp_home_dir = TemporaryDirectory()
        cls.expanduser_mock = mock.patch(
            "os.path.expanduser", autospec=True, return_value=cls.tmp_home_dir.name
        )
        cls.expanduser_mock.start()
    
        # mock os.environ to empty env
        cls.mock_os_environ = mock.patch.dict(os.environ, {}, clear=True)
        cls.mock_os_environ.start()
    
        # disable product types fetch
        os.environ["EODAG_EXT_PRODUCT_TYPES_CFG_FILE"] = ""
    
        # load fake credentials to prevent providers needing auth for search to be pruned
        os.environ["EODAG_CFG_FILE"] = os.path.join(
            TEST_RESOURCES_PATH, "wrong_credentials_conf.yml"
        )
    
        # import after having mocked home_dir because it launches http server (and EODataAccessGateway)
        # reload eodag.rest.core to prevent eodag_api cache conflicts
>       import eodag.rest.core

tests/units/test_http_server.py:90: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
eodag/rest/core.py:90: in <module>
    eodag_api = eodag.EODataAccessGateway()
eodag/api/core.py:123: in __init__
    self.providers_config = load_default_config()
eodag/config.py:437: in load_default_config
    return load_config(eodag_providers_cfg_file)
eodag/config.py:451: in load_config
    providers_configs: List[ProviderConfig] = cached_yaml_load_all(config_path)
eodag/utils/__init__.py:1219: in cached_yaml_load_all
    return copy_deepcopy(_mutable_cached_yaml_load_all(config_path))
eodag/utils/__init__.py:1208: in _mutable_cached_yaml_load_all
    return list(yaml.load_all(fh, Loader=yaml.Loader))
.tox/py38/lib/python3.8/site-packages/yaml/__init__.py:93: in load_all
    yield loader.get_data()
.tox/py38/lib/python3.8/site-packages/yaml/constructor.py:45: in get_data
    return self.construct_document(self.get_node())
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:27: in get_node
    return self.compose_document()
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:55: in compose_document
    node = self.compose_node(None, None)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:84: in compose_node
    node = self.compose_mapping_node(anchor)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:133: in compose_mapping_node
    item_value = self.compose_node(node, item_key)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:84: in compose_node
    node = self.compose_mapping_node(anchor)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:133: in compose_mapping_node
    item_value = self.compose_node(node, item_key)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:84: in compose_node
    node = self.compose_mapping_node(anchor)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:133: in compose_mapping_node
    item_value = self.compose_node(node, item_key)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:84: in compose_node
    node = self.compose_mapping_node(anchor)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:133: in compose_mapping_node
    item_value = self.compose_node(node, item_key)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <yaml.loader.Loader object at 0x7fa35f2e7c10>
parent = MappingNode(tag='tag:yaml.org,2002:map', value=[(ScalarNode(tag='tag:yaml.org,2002:str', value='id'), ScalarNode(tag='...g:yaml.org,2002:str', value='{{"version": "{version}"}}'), ScalarNode(tag='tag:yaml.org,2002:str', value='$.null')]))])
index = ScalarNode(tag='tag:yaml.org,2002:merge', value='<<')

    def compose_node(self, parent, index):
        if self.check_event(AliasEvent):
            event = self.get_event()
            anchor = event.anchor
            if anchor not in self.anchors:
>               raise ComposerError(None, None, "found undefined alias %r"
                        % anchor, event.start_mark)
E               yaml.composer.ComposerError: found undefined alias 'variable_list'
E                 in "/home/runner/work/eodag/eodag/eodag/resources/providers.yml", line 5233, column 13

.tox/py38/lib/python3.8/site-packages/yaml/composer.py:68: ComposerError

Check failure on line 0 in tests.units.test_http_server.RequestTestCase

See this annotation in the file changed.

@github-actions github-actions / Test Results

2 out of 4 runs with error: test_list_product_types_nok (tests.units.test_http_server.RequestTestCase)

artifacts/unit-test-results-python3.12-ubuntu-latest/junit-report.xml [took 0s]
artifacts/unit-test-results-python3.8-ubuntu-latest/junit-report.xml [took 0s]
Raw output
failed on setup with "yaml.composer.ComposerError: found undefined alias 'variable_list'
  in "/home/runner/work/eodag/eodag/eodag/resources/providers.yml", line 5233, column 13"
cls = <class 'tests.units.test_http_server.RequestTestCase'>

    @classmethod
    def setUpClass(cls):
        super(RequestTestCase, cls).setUpClass()
    
        cls.tested_product_type = "S2_MSI_L1C"
    
        # Mock home and eodag conf directory to tmp dir
        cls.tmp_home_dir = TemporaryDirectory()
        cls.expanduser_mock = mock.patch(
            "os.path.expanduser", autospec=True, return_value=cls.tmp_home_dir.name
        )
        cls.expanduser_mock.start()
    
        # mock os.environ to empty env
        cls.mock_os_environ = mock.patch.dict(os.environ, {}, clear=True)
        cls.mock_os_environ.start()
    
        # disable product types fetch
        os.environ["EODAG_EXT_PRODUCT_TYPES_CFG_FILE"] = ""
    
        # load fake credentials to prevent providers needing auth for search to be pruned
        os.environ["EODAG_CFG_FILE"] = os.path.join(
            TEST_RESOURCES_PATH, "wrong_credentials_conf.yml"
        )
    
        # import after having mocked home_dir because it launches http server (and EODataAccessGateway)
        # reload eodag.rest.core to prevent eodag_api cache conflicts
>       import eodag.rest.core

tests/units/test_http_server.py:90: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
eodag/rest/core.py:90: in <module>
    eodag_api = eodag.EODataAccessGateway()
eodag/api/core.py:123: in __init__
    self.providers_config = load_default_config()
eodag/config.py:437: in load_default_config
    return load_config(eodag_providers_cfg_file)
eodag/config.py:451: in load_config
    providers_configs: List[ProviderConfig] = cached_yaml_load_all(config_path)
eodag/utils/__init__.py:1219: in cached_yaml_load_all
    return copy_deepcopy(_mutable_cached_yaml_load_all(config_path))
eodag/utils/__init__.py:1208: in _mutable_cached_yaml_load_all
    return list(yaml.load_all(fh, Loader=yaml.Loader))
.tox/py38/lib/python3.8/site-packages/yaml/__init__.py:93: in load_all
    yield loader.get_data()
.tox/py38/lib/python3.8/site-packages/yaml/constructor.py:45: in get_data
    return self.construct_document(self.get_node())
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:27: in get_node
    return self.compose_document()
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:55: in compose_document
    node = self.compose_node(None, None)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:84: in compose_node
    node = self.compose_mapping_node(anchor)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:133: in compose_mapping_node
    item_value = self.compose_node(node, item_key)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:84: in compose_node
    node = self.compose_mapping_node(anchor)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:133: in compose_mapping_node
    item_value = self.compose_node(node, item_key)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:84: in compose_node
    node = self.compose_mapping_node(anchor)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:133: in compose_mapping_node
    item_value = self.compose_node(node, item_key)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:84: in compose_node
    node = self.compose_mapping_node(anchor)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:133: in compose_mapping_node
    item_value = self.compose_node(node, item_key)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <yaml.loader.Loader object at 0x7fa35f2e7c10>
parent = MappingNode(tag='tag:yaml.org,2002:map', value=[(ScalarNode(tag='tag:yaml.org,2002:str', value='id'), ScalarNode(tag='...g:yaml.org,2002:str', value='{{"version": "{version}"}}'), ScalarNode(tag='tag:yaml.org,2002:str', value='$.null')]))])
index = ScalarNode(tag='tag:yaml.org,2002:merge', value='<<')

    def compose_node(self, parent, index):
        if self.check_event(AliasEvent):
            event = self.get_event()
            anchor = event.anchor
            if anchor not in self.anchors:
>               raise ComposerError(None, None, "found undefined alias %r"
                        % anchor, event.start_mark)
E               yaml.composer.ComposerError: found undefined alias 'variable_list'
E                 in "/home/runner/work/eodag/eodag/eodag/resources/providers.yml", line 5233, column 13

.tox/py38/lib/python3.8/site-packages/yaml/composer.py:68: ComposerError

Check failure on line 0 in tests.units.test_http_server.RequestTestCase

See this annotation in the file changed.

@github-actions github-actions / Test Results

2 out of 4 runs with error: test_list_product_types_ok (tests.units.test_http_server.RequestTestCase)

artifacts/unit-test-results-python3.12-ubuntu-latest/junit-report.xml [took 0s]
artifacts/unit-test-results-python3.8-ubuntu-latest/junit-report.xml [took 0s]
Raw output
failed on setup with "yaml.composer.ComposerError: found undefined alias 'variable_list'
  in "/home/runner/work/eodag/eodag/eodag/resources/providers.yml", line 5233, column 13"
cls = <class 'tests.units.test_http_server.RequestTestCase'>

    @classmethod
    def setUpClass(cls):
        super(RequestTestCase, cls).setUpClass()
    
        cls.tested_product_type = "S2_MSI_L1C"
    
        # Mock home and eodag conf directory to tmp dir
        cls.tmp_home_dir = TemporaryDirectory()
        cls.expanduser_mock = mock.patch(
            "os.path.expanduser", autospec=True, return_value=cls.tmp_home_dir.name
        )
        cls.expanduser_mock.start()
    
        # mock os.environ to empty env
        cls.mock_os_environ = mock.patch.dict(os.environ, {}, clear=True)
        cls.mock_os_environ.start()
    
        # disable product types fetch
        os.environ["EODAG_EXT_PRODUCT_TYPES_CFG_FILE"] = ""
    
        # load fake credentials to prevent providers needing auth for search to be pruned
        os.environ["EODAG_CFG_FILE"] = os.path.join(
            TEST_RESOURCES_PATH, "wrong_credentials_conf.yml"
        )
    
        # import after having mocked home_dir because it launches http server (and EODataAccessGateway)
        # reload eodag.rest.core to prevent eodag_api cache conflicts
>       import eodag.rest.core

tests/units/test_http_server.py:90: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
eodag/rest/core.py:90: in <module>
    eodag_api = eodag.EODataAccessGateway()
eodag/api/core.py:123: in __init__
    self.providers_config = load_default_config()
eodag/config.py:437: in load_default_config
    return load_config(eodag_providers_cfg_file)
eodag/config.py:451: in load_config
    providers_configs: List[ProviderConfig] = cached_yaml_load_all(config_path)
eodag/utils/__init__.py:1219: in cached_yaml_load_all
    return copy_deepcopy(_mutable_cached_yaml_load_all(config_path))
eodag/utils/__init__.py:1208: in _mutable_cached_yaml_load_all
    return list(yaml.load_all(fh, Loader=yaml.Loader))
.tox/py38/lib/python3.8/site-packages/yaml/__init__.py:93: in load_all
    yield loader.get_data()
.tox/py38/lib/python3.8/site-packages/yaml/constructor.py:45: in get_data
    return self.construct_document(self.get_node())
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:27: in get_node
    return self.compose_document()
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:55: in compose_document
    node = self.compose_node(None, None)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:84: in compose_node
    node = self.compose_mapping_node(anchor)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:133: in compose_mapping_node
    item_value = self.compose_node(node, item_key)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:84: in compose_node
    node = self.compose_mapping_node(anchor)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:133: in compose_mapping_node
    item_value = self.compose_node(node, item_key)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:84: in compose_node
    node = self.compose_mapping_node(anchor)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:133: in compose_mapping_node
    item_value = self.compose_node(node, item_key)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:84: in compose_node
    node = self.compose_mapping_node(anchor)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:133: in compose_mapping_node
    item_value = self.compose_node(node, item_key)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <yaml.loader.Loader object at 0x7fa35f2e7c10>
parent = MappingNode(tag='tag:yaml.org,2002:map', value=[(ScalarNode(tag='tag:yaml.org,2002:str', value='id'), ScalarNode(tag='...g:yaml.org,2002:str', value='{{"version": "{version}"}}'), ScalarNode(tag='tag:yaml.org,2002:str', value='$.null')]))])
index = ScalarNode(tag='tag:yaml.org,2002:merge', value='<<')

    def compose_node(self, parent, index):
        if self.check_event(AliasEvent):
            event = self.get_event()
            anchor = event.anchor
            if anchor not in self.anchors:
>               raise ComposerError(None, None, "found undefined alias %r"
                        % anchor, event.start_mark)
E               yaml.composer.ComposerError: found undefined alias 'variable_list'
E                 in "/home/runner/work/eodag/eodag/eodag/resources/providers.yml", line 5233, column 13

.tox/py38/lib/python3.8/site-packages/yaml/composer.py:68: ComposerError

Check failure on line 0 in tests.units.test_http_server.RequestTestCase

See this annotation in the file changed.

@github-actions github-actions / Test Results

2 out of 4 runs with error: test_not_found (tests.units.test_http_server.RequestTestCase)

artifacts/unit-test-results-python3.12-ubuntu-latest/junit-report.xml [took 0s]
artifacts/unit-test-results-python3.8-ubuntu-latest/junit-report.xml [took 0s]
Raw output
failed on setup with "yaml.composer.ComposerError: found undefined alias 'variable_list'
  in "/home/runner/work/eodag/eodag/eodag/resources/providers.yml", line 5233, column 13"
cls = <class 'tests.units.test_http_server.RequestTestCase'>

    @classmethod
    def setUpClass(cls):
        super(RequestTestCase, cls).setUpClass()
    
        cls.tested_product_type = "S2_MSI_L1C"
    
        # Mock home and eodag conf directory to tmp dir
        cls.tmp_home_dir = TemporaryDirectory()
        cls.expanduser_mock = mock.patch(
            "os.path.expanduser", autospec=True, return_value=cls.tmp_home_dir.name
        )
        cls.expanduser_mock.start()
    
        # mock os.environ to empty env
        cls.mock_os_environ = mock.patch.dict(os.environ, {}, clear=True)
        cls.mock_os_environ.start()
    
        # disable product types fetch
        os.environ["EODAG_EXT_PRODUCT_TYPES_CFG_FILE"] = ""
    
        # load fake credentials to prevent providers needing auth for search to be pruned
        os.environ["EODAG_CFG_FILE"] = os.path.join(
            TEST_RESOURCES_PATH, "wrong_credentials_conf.yml"
        )
    
        # import after having mocked home_dir because it launches http server (and EODataAccessGateway)
        # reload eodag.rest.core to prevent eodag_api cache conflicts
>       import eodag.rest.core

tests/units/test_http_server.py:90: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
eodag/rest/core.py:90: in <module>
    eodag_api = eodag.EODataAccessGateway()
eodag/api/core.py:123: in __init__
    self.providers_config = load_default_config()
eodag/config.py:437: in load_default_config
    return load_config(eodag_providers_cfg_file)
eodag/config.py:451: in load_config
    providers_configs: List[ProviderConfig] = cached_yaml_load_all(config_path)
eodag/utils/__init__.py:1219: in cached_yaml_load_all
    return copy_deepcopy(_mutable_cached_yaml_load_all(config_path))
eodag/utils/__init__.py:1208: in _mutable_cached_yaml_load_all
    return list(yaml.load_all(fh, Loader=yaml.Loader))
.tox/py38/lib/python3.8/site-packages/yaml/__init__.py:93: in load_all
    yield loader.get_data()
.tox/py38/lib/python3.8/site-packages/yaml/constructor.py:45: in get_data
    return self.construct_document(self.get_node())
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:27: in get_node
    return self.compose_document()
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:55: in compose_document
    node = self.compose_node(None, None)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:84: in compose_node
    node = self.compose_mapping_node(anchor)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:133: in compose_mapping_node
    item_value = self.compose_node(node, item_key)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:84: in compose_node
    node = self.compose_mapping_node(anchor)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:133: in compose_mapping_node
    item_value = self.compose_node(node, item_key)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:84: in compose_node
    node = self.compose_mapping_node(anchor)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:133: in compose_mapping_node
    item_value = self.compose_node(node, item_key)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:84: in compose_node
    node = self.compose_mapping_node(anchor)
.tox/py38/lib/python3.8/site-packages/yaml/composer.py:133: in compose_mapping_node
    item_value = self.compose_node(node, item_key)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <yaml.loader.Loader object at 0x7fa35f2e7c10>
parent = MappingNode(tag='tag:yaml.org,2002:map', value=[(ScalarNode(tag='tag:yaml.org,2002:str', value='id'), ScalarNode(tag='...g:yaml.org,2002:str', value='{{"version": "{version}"}}'), ScalarNode(tag='tag:yaml.org,2002:str', value='$.null')]))])
index = ScalarNode(tag='tag:yaml.org,2002:merge', value='<<')

    def compose_node(self, parent, index):
        if self.check_event(AliasEvent):
            event = self.get_event()
            anchor = event.anchor
            if anchor not in self.anchors:
>               raise ComposerError(None, None, "found undefined alias %r"
                        % anchor, event.start_mark)
E               yaml.composer.ComposerError: found undefined alias 'variable_list'
E                 in "/home/runner/work/eodag/eodag/eodag/resources/providers.yml", line 5233, column 13

.tox/py38/lib/python3.8/site-packages/yaml/composer.py:68: ComposerError