Skip to content

Assert user role before reading package from the request stream #2248

Assert user role before reading package from the request stream

Assert user role before reading package from the request stream #2248

Triggered via pull request January 29, 2025 05:14
@najosenajose
opened #710
Status Failure
Total duration 6m 34s
Artifacts

ci.yml

on: pull_request_target
Matrix: test_quetz
Fit to window
Zoom out
Zoom in

Annotations

40 errors and 40 warnings
test_quetz (ubuntu-latest, postgres, create-tables): quetz/tests/test_pkg_stores.py#L146
test_remove_dirs[s3_store] OSError: [Errno 38] Transfering payloads in multiple chunks using aws-chunked is not supported.
test_quetz (ubuntu-latest, postgres, create-tables): quetz/tests/test_pkg_stores.py#L210
test_store_add_list_files[s3_store] OSError: [Errno 38] Transfering payloads in multiple chunks using aws-chunked is not supported.
test_quetz (ubuntu-latest, postgres, create-tables): quetz/tests/test_pkg_stores.py#L231
test_add_package_async[s3_store] OSError: [Errno 38] Transfering payloads in multiple chunks using aws-chunked is not supported.
test_quetz (ubuntu-latest, postgres, create-tables): quetz/tests/test_pkg_stores.py#L243
test_add_package[s3_store] OSError: [Errno 38] Transfering payloads in multiple chunks using aws-chunked is not supported.
test_quetz (ubuntu-latest, postgres, create-tables): quetz/tests/test_pkg_stores.py#L251
test_move_file[s3_store] OSError: [Errno 38] Transfering payloads in multiple chunks using aws-chunked is not supported.
test_quetz (ubuntu-latest, postgres, create-tables): quetz/tests/test_pkg_stores.py#L260
test_copy_file[s3_store] OSError: [Errno 38] Transfering payloads in multiple chunks using aws-chunked is not supported.
test_quetz (ubuntu-latest, postgres, create-tables): quetz/tests/authentification/test_oauth.py#L373
test_config_create_default_channel[github_response-[users]\ncreate_default_channel = true] TypeError: AsyncClient.__init__() got an unexpected keyword argument 'app'
test_quetz (ubuntu-latest, postgres, create-tables): quetz/tests/authentification/test_oauth.py#L373
test_config_create_default_channel[google_response-[users]\ncreate_default_channel = true] TypeError: AsyncClient.__init__() got an unexpected keyword argument 'app'
test_quetz (ubuntu-latest, postgres, create-tables): quetz/tests/authentification/test_oauth.py#L373
test_config_create_default_channel[jupyter_response-[users]\ncreate_default_channel = true] TypeError: AsyncClient.__init__() got an unexpected keyword argument 'app'
test_quetz (ubuntu-latest, postgres, create-tables): quetz/tests/authentification/test_oauth.py#L373
test_config_create_default_channel[azuread_response-[users]\ncreate_default_channel = true] TypeError: AsyncClient.__init__() got an unexpected keyword argument 'app'
test_quetz (ubuntu-latest, sqlite, create-tables): quetz/tests/test_pkg_stores.py#L146
test_remove_dirs[s3_store] OSError: [Errno 38] Transfering payloads in multiple chunks using aws-chunked is not supported.
test_quetz (ubuntu-latest, sqlite, create-tables): quetz/tests/test_pkg_stores.py#L210
test_store_add_list_files[s3_store] OSError: [Errno 38] Transfering payloads in multiple chunks using aws-chunked is not supported.
test_quetz (ubuntu-latest, sqlite, create-tables): quetz/tests/test_pkg_stores.py#L231
test_add_package_async[s3_store] OSError: [Errno 38] Transfering payloads in multiple chunks using aws-chunked is not supported.
test_quetz (ubuntu-latest, sqlite, create-tables): quetz/tests/test_pkg_stores.py#L243
test_add_package[s3_store] OSError: [Errno 38] Transfering payloads in multiple chunks using aws-chunked is not supported.
test_quetz (ubuntu-latest, sqlite, create-tables): quetz/tests/test_pkg_stores.py#L251
test_move_file[s3_store] OSError: [Errno 38] Transfering payloads in multiple chunks using aws-chunked is not supported.
test_quetz (ubuntu-latest, sqlite, create-tables): quetz/tests/test_pkg_stores.py#L260
test_copy_file[s3_store] OSError: [Errno 38] Transfering payloads in multiple chunks using aws-chunked is not supported.
test_quetz (ubuntu-latest, sqlite, create-tables): quetz/tests/authentification/test_oauth.py#L373
test_config_create_default_channel[github_response-[users]\ncreate_default_channel = true] TypeError: AsyncClient.__init__() got an unexpected keyword argument 'app'
test_quetz (ubuntu-latest, sqlite, create-tables): quetz/tests/authentification/test_oauth.py#L373
test_config_create_default_channel[google_response-[users]\ncreate_default_channel = true] TypeError: AsyncClient.__init__() got an unexpected keyword argument 'app'
test_quetz (ubuntu-latest, sqlite, create-tables): quetz/tests/authentification/test_oauth.py#L373
test_config_create_default_channel[jupyter_response-[users]\ncreate_default_channel = true] TypeError: AsyncClient.__init__() got an unexpected keyword argument 'app'
test_quetz (ubuntu-latest, sqlite, create-tables): quetz/tests/authentification/test_oauth.py#L373
test_config_create_default_channel[azuread_response-[users]\ncreate_default_channel = true] TypeError: AsyncClient.__init__() got an unexpected keyword argument 'app'
test_quetz (ubuntu-latest, postgres, use-migrations): quetz/tests/test_pkg_stores.py#L146
test_remove_dirs[s3_store] OSError: [Errno 38] Transfering payloads in multiple chunks using aws-chunked is not supported.
test_quetz (ubuntu-latest, postgres, use-migrations): quetz/tests/test_pkg_stores.py#L210
test_store_add_list_files[s3_store] OSError: [Errno 38] Transfering payloads in multiple chunks using aws-chunked is not supported.
test_quetz (ubuntu-latest, postgres, use-migrations): quetz/tests/test_pkg_stores.py#L231
test_add_package_async[s3_store] OSError: [Errno 38] Transfering payloads in multiple chunks using aws-chunked is not supported.
test_quetz (ubuntu-latest, postgres, use-migrations): quetz/tests/test_pkg_stores.py#L243
test_add_package[s3_store] OSError: [Errno 38] Transfering payloads in multiple chunks using aws-chunked is not supported.
test_quetz (ubuntu-latest, postgres, use-migrations): quetz/tests/test_pkg_stores.py#L251
test_move_file[s3_store] OSError: [Errno 38] Transfering payloads in multiple chunks using aws-chunked is not supported.
test_quetz (ubuntu-latest, postgres, use-migrations): quetz/tests/test_pkg_stores.py#L260
test_copy_file[s3_store] OSError: [Errno 38] Transfering payloads in multiple chunks using aws-chunked is not supported.
test_quetz (ubuntu-latest, postgres, use-migrations): quetz/tests/authentification/test_oauth.py#L373
test_config_create_default_channel[github_response-[users]\ncreate_default_channel = true] TypeError: AsyncClient.__init__() got an unexpected keyword argument 'app'
test_quetz (ubuntu-latest, postgres, use-migrations): quetz/tests/authentification/test_oauth.py#L373
test_config_create_default_channel[google_response-[users]\ncreate_default_channel = true] TypeError: AsyncClient.__init__() got an unexpected keyword argument 'app'
test_quetz (ubuntu-latest, postgres, use-migrations): quetz/tests/authentification/test_oauth.py#L373
test_config_create_default_channel[jupyter_response-[users]\ncreate_default_channel = true] TypeError: AsyncClient.__init__() got an unexpected keyword argument 'app'
test_quetz (ubuntu-latest, postgres, use-migrations): quetz/tests/authentification/test_oauth.py#L373
test_config_create_default_channel[azuread_response-[users]\ncreate_default_channel = true] TypeError: AsyncClient.__init__() got an unexpected keyword argument 'app'
test_quetz (ubuntu-latest, sqlite, use-migrations): quetz/tests/test_pkg_stores.py#L146
test_remove_dirs[s3_store] OSError: [Errno 38] Transfering payloads in multiple chunks using aws-chunked is not supported.
test_quetz (ubuntu-latest, sqlite, use-migrations): quetz/tests/test_pkg_stores.py#L210
test_store_add_list_files[s3_store] OSError: [Errno 38] Transfering payloads in multiple chunks using aws-chunked is not supported.
test_quetz (ubuntu-latest, sqlite, use-migrations): quetz/tests/test_pkg_stores.py#L231
test_add_package_async[s3_store] OSError: [Errno 38] Transfering payloads in multiple chunks using aws-chunked is not supported.
test_quetz (ubuntu-latest, sqlite, use-migrations): quetz/tests/test_pkg_stores.py#L243
test_add_package[s3_store] OSError: [Errno 38] Transfering payloads in multiple chunks using aws-chunked is not supported.
test_quetz (ubuntu-latest, sqlite, use-migrations): quetz/tests/test_pkg_stores.py#L251
test_move_file[s3_store] OSError: [Errno 38] Transfering payloads in multiple chunks using aws-chunked is not supported.
test_quetz (ubuntu-latest, sqlite, use-migrations): quetz/tests/test_pkg_stores.py#L260
test_copy_file[s3_store] OSError: [Errno 38] Transfering payloads in multiple chunks using aws-chunked is not supported.
test_quetz (ubuntu-latest, sqlite, use-migrations): quetz/tests/authentification/test_oauth.py#L373
test_config_create_default_channel[github_response-[users]\ncreate_default_channel = true] TypeError: AsyncClient.__init__() got an unexpected keyword argument 'app'
test_quetz (ubuntu-latest, sqlite, use-migrations): quetz/tests/authentification/test_oauth.py#L373
test_config_create_default_channel[google_response-[users]\ncreate_default_channel = true] TypeError: AsyncClient.__init__() got an unexpected keyword argument 'app'
test_quetz (ubuntu-latest, sqlite, use-migrations): quetz/tests/authentification/test_oauth.py#L373
test_config_create_default_channel[jupyter_response-[users]\ncreate_default_channel = true] TypeError: AsyncClient.__init__() got an unexpected keyword argument 'app'
test_quetz (ubuntu-latest, sqlite, use-migrations): quetz/tests/authentification/test_oauth.py#L373
test_config_create_default_channel[azuread_response-[users]\ncreate_default_channel = true] TypeError: AsyncClient.__init__() got an unexpected keyword argument 'app'
test_quetz (ubuntu-latest, postgres, create-tables): quetz/metrics/tasks.py#L14
datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
test_quetz (ubuntu-latest, postgres, create-tables): home/runner/micromamba/envs/quetz/lib/python3.12/site-packages/starlette/applications.py#L192
The `route` decorator is deprecated, and will be removed in version 1.0.0. Refer to https://www.starlette.io/routing/ for the recommended approach.
test_quetz (ubuntu-latest, postgres, create-tables): quetz/main.py#L1821
on_event is deprecated, use lifespan event handlers instead. Read more about it in the [FastAPI docs for Lifespan Events](https://fastapi.tiangolo.com/advanced/events/).
test_quetz (ubuntu-latest, postgres, create-tables): home/runner/micromamba/envs/quetz/lib/python3.12/site-packages/fastapi/applications.py#L4495
on_event is deprecated, use lifespan event handlers instead. Read more about it in the [FastAPI docs for Lifespan Events](https://fastapi.tiangolo.com/advanced/events/).
test_quetz (ubuntu-latest, postgres, create-tables): quetz/main.py#L1869
on_event is deprecated, use lifespan event handlers instead. Read more about it in the [FastAPI docs for Lifespan Events](https://fastapi.tiangolo.com/advanced/events/).
test_quetz (ubuntu-latest, postgres, create-tables): home/runner/micromamba/envs/quetz/lib/python3.12/site-packages/fastapi/applications.py#L4495
on_event is deprecated, use lifespan event handlers instead. Read more about it in the [FastAPI docs for Lifespan Events](https://fastapi.tiangolo.com/advanced/events/).
test_quetz (ubuntu-latest, postgres, create-tables): quetz/dao.py#L914
datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
test_quetz (ubuntu-latest, postgres, create-tables): home/runner/micromamba/envs/quetz/lib/python3.12/site-packages/fastapi/openapi/utils.py#L225
Duplicate Operation ID root_endpoint__get for function root_endpoint at /home/runner/work/quetz/quetz/quetz/testing/fixtures.py
test_quetz (ubuntu-latest, postgres, create-tables): home/runner/micromamba/envs/quetz/lib/python3.12/site-packages/sqlalchemy/sql/schema.py#L3609
datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
test_quetz (ubuntu-latest, sqlite, create-tables): quetz/metrics/tasks.py#L14
datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
test_quetz (ubuntu-latest, sqlite, create-tables): home/runner/micromamba/envs/quetz/lib/python3.12/site-packages/starlette/applications.py#L192
The `route` decorator is deprecated, and will be removed in version 1.0.0. Refer to https://www.starlette.io/routing/ for the recommended approach.
test_quetz (ubuntu-latest, sqlite, create-tables): quetz/main.py#L1821
on_event is deprecated, use lifespan event handlers instead. Read more about it in the [FastAPI docs for Lifespan Events](https://fastapi.tiangolo.com/advanced/events/).
test_quetz (ubuntu-latest, sqlite, create-tables): home/runner/micromamba/envs/quetz/lib/python3.12/site-packages/fastapi/applications.py#L4495
on_event is deprecated, use lifespan event handlers instead. Read more about it in the [FastAPI docs for Lifespan Events](https://fastapi.tiangolo.com/advanced/events/).
test_quetz (ubuntu-latest, sqlite, create-tables): quetz/main.py#L1869
on_event is deprecated, use lifespan event handlers instead. Read more about it in the [FastAPI docs for Lifespan Events](https://fastapi.tiangolo.com/advanced/events/).
test_quetz (ubuntu-latest, sqlite, create-tables): home/runner/micromamba/envs/quetz/lib/python3.12/site-packages/fastapi/applications.py#L4495
on_event is deprecated, use lifespan event handlers instead. Read more about it in the [FastAPI docs for Lifespan Events](https://fastapi.tiangolo.com/advanced/events/).
test_quetz (ubuntu-latest, sqlite, create-tables): quetz/dao.py#L914
datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
test_quetz (ubuntu-latest, sqlite, create-tables): home/runner/micromamba/envs/quetz/lib/python3.12/site-packages/fastapi/openapi/utils.py#L225
Duplicate Operation ID root_endpoint__get for function root_endpoint at /home/runner/work/quetz/quetz/quetz/testing/fixtures.py
test_quetz (ubuntu-latest, sqlite, create-tables): home/runner/micromamba/envs/quetz/lib/python3.12/site-packages/sqlalchemy/sql/schema.py#L3609
datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
test_quetz (ubuntu-latest, postgres, use-migrations): quetz/metrics/tasks.py#L14
datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
test_quetz (ubuntu-latest, postgres, use-migrations): home/runner/micromamba/envs/quetz/lib/python3.12/site-packages/starlette/applications.py#L192
The `route` decorator is deprecated, and will be removed in version 1.0.0. Refer to https://www.starlette.io/routing/ for the recommended approach.
test_quetz (ubuntu-latest, postgres, use-migrations): quetz/main.py#L1821
on_event is deprecated, use lifespan event handlers instead. Read more about it in the [FastAPI docs for Lifespan Events](https://fastapi.tiangolo.com/advanced/events/).
test_quetz (ubuntu-latest, postgres, use-migrations): home/runner/micromamba/envs/quetz/lib/python3.12/site-packages/fastapi/applications.py#L4495
on_event is deprecated, use lifespan event handlers instead. Read more about it in the [FastAPI docs for Lifespan Events](https://fastapi.tiangolo.com/advanced/events/).
test_quetz (ubuntu-latest, postgres, use-migrations): quetz/main.py#L1869
on_event is deprecated, use lifespan event handlers instead. Read more about it in the [FastAPI docs for Lifespan Events](https://fastapi.tiangolo.com/advanced/events/).
test_quetz (ubuntu-latest, postgres, use-migrations): home/runner/micromamba/envs/quetz/lib/python3.12/site-packages/fastapi/applications.py#L4495
on_event is deprecated, use lifespan event handlers instead. Read more about it in the [FastAPI docs for Lifespan Events](https://fastapi.tiangolo.com/advanced/events/).
test_quetz (ubuntu-latest, postgres, use-migrations): quetz/dao.py#L914
datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
test_quetz (ubuntu-latest, postgres, use-migrations): home/runner/micromamba/envs/quetz/lib/python3.12/site-packages/fastapi/openapi/utils.py#L225
Duplicate Operation ID root_endpoint__get for function root_endpoint at /home/runner/work/quetz/quetz/quetz/testing/fixtures.py
test_quetz (ubuntu-latest, postgres, use-migrations): home/runner/micromamba/envs/quetz/lib/python3.12/site-packages/sqlalchemy/sql/schema.py#L3609
datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
test_quetz (ubuntu-latest, sqlite, use-migrations): quetz/metrics/tasks.py#L14
datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
test_quetz (ubuntu-latest, sqlite, use-migrations): home/runner/micromamba/envs/quetz/lib/python3.12/site-packages/starlette/applications.py#L192
The `route` decorator is deprecated, and will be removed in version 1.0.0. Refer to https://www.starlette.io/routing/ for the recommended approach.
test_quetz (ubuntu-latest, sqlite, use-migrations): quetz/main.py#L1821
on_event is deprecated, use lifespan event handlers instead. Read more about it in the [FastAPI docs for Lifespan Events](https://fastapi.tiangolo.com/advanced/events/).
test_quetz (ubuntu-latest, sqlite, use-migrations): home/runner/micromamba/envs/quetz/lib/python3.12/site-packages/fastapi/applications.py#L4495
on_event is deprecated, use lifespan event handlers instead. Read more about it in the [FastAPI docs for Lifespan Events](https://fastapi.tiangolo.com/advanced/events/).
test_quetz (ubuntu-latest, sqlite, use-migrations): quetz/main.py#L1869
on_event is deprecated, use lifespan event handlers instead. Read more about it in the [FastAPI docs for Lifespan Events](https://fastapi.tiangolo.com/advanced/events/).
test_quetz (ubuntu-latest, sqlite, use-migrations): home/runner/micromamba/envs/quetz/lib/python3.12/site-packages/fastapi/applications.py#L4495
on_event is deprecated, use lifespan event handlers instead. Read more about it in the [FastAPI docs for Lifespan Events](https://fastapi.tiangolo.com/advanced/events/).
test_quetz (ubuntu-latest, sqlite, use-migrations): quetz/dao.py#L914
datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
test_quetz (ubuntu-latest, sqlite, use-migrations): home/runner/micromamba/envs/quetz/lib/python3.12/site-packages/fastapi/openapi/utils.py#L225
Duplicate Operation ID root_endpoint__get for function root_endpoint at /home/runner/work/quetz/quetz/quetz/testing/fixtures.py
test_quetz (ubuntu-latest, sqlite, use-migrations): home/runner/micromamba/envs/quetz/lib/python3.12/site-packages/sqlalchemy/sql/schema.py#L3609
datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).