Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Computational Backend: CompRuns validation error #4637

Closed
Tracked by #950
sanderegg opened this issue Aug 22, 2023 · 0 comments · Fixed by #4646
Closed
Tracked by #950

Computational Backend: CompRuns validation error #4637

sanderegg opened this issue Aug 22, 2023 · 0 comments · Fixed by #4646
Assignees
Labels
a:director-v2 issue related with the director-v2 service bug buggy, it does not work as expected
Milestone

Comments

@sanderegg
Copy link
Member

I see a lot of these errors in director-v2 on master. I wonder if they are impacting something. I cannot tell.

2023-08-22T07:35:12.515435902Z log_level=ERROR | log_timestamp=2023-08-22 07:35:12,514 | log_source=uvicorn.error:run_asgi(431) | log_uid=None | log_msg=Exception in ASGI application
Traceback (most recent call last):
  File "/home/scu/.venv/lib/python3.10/site-packages/uvicorn/protocols/http/httptools_impl.py", line 426, in run_asgi
    result = await app(  # type: ignore[func-returns-value]
  File "/home/scu/.venv/lib/python3.10/site-packages/uvicorn/middleware/proxy_headers.py", line 84, in __call__
    return await self.app(scope, receive, send)
  File "/home/scu/.venv/lib/python3.10/site-packages/fastapi/applications.py", line 290, in __call__
    await super().__call__(scope, receive, send)
  File "/home/scu/.venv/lib/python3.10/site-packages/starlette/applications.py", line 122, in __call__
    await self.middleware_stack(scope, receive, send)
  File "/home/scu/.venv/lib/python3.10/site-packages/starlette/middleware/errors.py", line 184, in __call__
    raise exc
  File "/home/scu/.venv/lib/python3.10/site-packages/starlette/middleware/errors.py", line 162, in __call__
    await self.app(scope, receive, _send)
  File "/home/scu/.venv/lib/python3.10/site-packages/starlette/middleware/exceptions.py", line 79, in __call__
    raise exc
  File "/home/scu/.venv/lib/python3.10/site-packages/starlette/middleware/exceptions.py", line 68, in __call__
    await self.app(scope, receive, sender)
  File "/home/scu/.venv/lib/python3.10/site-packages/fastapi/middleware/asyncexitstack.py", line 20, in __call__
    raise e
  File "/home/scu/.venv/lib/python3.10/site-packages/fastapi/middleware/asyncexitstack.py", line 17, in __call__
    await self.app(scope, receive, send)
  File "/home/scu/.venv/lib/python3.10/site-packages/starlette/routing.py", line 718, in __call__
    await route.handle(scope, receive, send)
  File "/home/scu/.venv/lib/python3.10/site-packages/starlette/routing.py", line 276, in handle
    await self.app(scope, receive, send)
  File "/home/scu/.venv/lib/python3.10/site-packages/starlette/routing.py", line 66, in app
    response = await func(request)
  File "/home/scu/.venv/lib/python3.10/site-packages/fastapi/routing.py", line 241, in app
    raw_response = await run_endpoint_function(
  File "/home/scu/.venv/lib/python3.10/site-packages/fastapi/routing.py", line 167, in run_endpoint_function
    return await dependant.call(**values)
  File "/home/scu/.venv/lib/python3.10/site-packages/simcore_service_director_v2/api/routes/computations.py", line 347, in get_computation
    last_run = await comp_runs_repo.get(user_id=user_id, project_id=project_id)
  File "/home/scu/.venv/lib/python3.10/site-packages/simcore_service_director_v2/modules/db/repositories/comp_runs.py", line 54, in get
    return CompRunsAtDB.from_orm(row)
  File "pydantic/main.py", line 579, in pydantic.main.BaseModel.from_orm
pydantic.error_wrappers.ValidationError: 1 validation error for CompRunsAtDB
metadata
  none is not an allowed value (type=type_error.none.not_allowed)

Issue created from a Mattermost message by @GitHK.

@sanderegg sanderegg added the a:director-v2 issue related with the director-v2 service label Aug 22, 2023
@sanderegg sanderegg added this to the Baklava milestone Aug 22, 2023
@sanderegg sanderegg self-assigned this Aug 22, 2023
@sanderegg sanderegg added the bug buggy, it does not work as expected label Aug 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a:director-v2 issue related with the director-v2 service bug buggy, it does not work as expected
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant