Skip to content

run only one workflow at a time #80

run only one workflow at a time

run only one workflow at a time #80

This check has been archived and is scheduled for deletion. Learn more about checks retention
GitHub Actions / JUnit Test Report failed Sep 6, 2023 in 0s

10 tests run, 9 passed, 0 skipped, 1 failed.

Annotations

Check failure on line 25 in cmem-plugin-awesome/tests/test_awesome.py

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

test_awesome.test_integration_placeholder

failed on setup with "requests.exceptions.HTTPError: 409 Client Error: Conflict for url: https://plugin-testing.eccenca.dev/dataintegration/workspace/projects/awesome_test_project"
Raw output
request = <SubRequest 'setup' for <Function test_integration_placeholder>>

    @pytest.fixture
    def setup(request):
        """Provides the DI build project incl. assets."""
>       make_new_project(PROJECT_NAME)

tests/test_awesome.py:25: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
.venv/lib/python3.11/site-packages/cmem/cmempy/workspace/projects/project.py:62: in make_new_project
    response = send_request(get_project_uri().format(name), method="PUT")
.venv/lib/python3.11/site-packages/cmem/cmempy/api.py:55: in send_request
    return request(
.venv/lib/python3.11/site-packages/cmem/cmempy/api.py:155: in request
    response.raise_for_status()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <Response [409]>

    def raise_for_status(self):
        """Raises :class:`HTTPError`, if one occurred."""
    
        http_error_msg = ""
        if isinstance(self.reason, bytes):
            # We attempt to decode utf-8 first because some servers
            # choose to localize their reason strings. If the string
            # isn't utf-8, we fall back to iso-8859-1 for all other
            # encodings. (See PR #3538)
            try:
                reason = self.reason.decode("utf-8")
            except UnicodeDecodeError:
                reason = self.reason.decode("iso-8859-1")
        else:
            reason = self.reason
    
        if 400 <= self.status_code < 500:
            http_error_msg = (
                f"{self.status_code} Client Error: {reason} for url: {self.url}"
            )
    
        elif 500 <= self.status_code < 600:
            http_error_msg = (
                f"{self.status_code} Server Error: {reason} for url: {self.url}"
            )
    
        if http_error_msg:
>           raise HTTPError(http_error_msg, response=self)
E           requests.exceptions.HTTPError: 409 Client Error: Conflict for url: https://plugin-testing.eccenca.dev/dataintegration/workspace/projects/awesome_test_project

.venv/lib/python3.11/site-packages/requests/models.py:1021: HTTPError