feat: Ensure SBAccessPolicy verifies the user owns the sandbox #492
extensions.yml
on: pull_request
pytest-integration
13m 45s
Annotations
11 errors and 4 warnings
Unit test - ./extensions/gubbins/gubbins-client:
extensions/gubbins/gubbins-client/tests/test_gubbins_client.py#L71
test_client_extension
AssertionError: Traceback (most recent call last):
File "/tmp/pytest-of-runner/pytest-0/test_client_extension0/test_client_ext.py", line 3, in <module>
with DiracClient() as api:
^^^^^^^^^^^^^
File "/home/runner/micromamba/envs/test-env/lib/python3.11/site-packages/diracx/client/patches/utils.py", line 309, in __init__
super().__init__( # type: ignore
File "/home/runner/micromamba/envs/test-env/lib/python3.11/site-packages/gubbins/client/generated/_client.py", line 82, in __init__
self.auth = AuthOperations(
^^^^^^^^^^^^^^^
File "/home/runner/micromamba/envs/test-env/lib/python3.11/site-packages/diracx/client/generated/operations/_operations.py", line 787, in __init__
raise_if_not_implemented(
File "/home/runner/micromamba/envs/test-env/lib/python3.11/site-packages/diracx/client/generated/_vendor.py", line 16, in raise_if_not_implemented
raise NotImplementedError(
NotImplementedError: The following methods on operation group 'AuthOperations' are not implemented: 'get_oidc_token'. Please refer to https://aka.ms/azsdk/python/dpcodegen/python/customize to learn how to customize.
|
Unit test - ./extensions/gubbins/gubbins-client:
extensions/gubbins/gubbins-client/tests/test_gubbins_client.py#L103
test_gubbins_client
AssertionError: Traceback (most recent call last):
File "/tmp/pytest-of-runner/pytest-0/test_gubbins_client0/test_client_ext.py", line 3, in <module>
with GubbinsClient() as api:
^^^^^^^^^^^^^^^
File "/home/runner/micromamba/envs/test-env/lib/python3.11/site-packages/diracx/client/patches/utils.py", line 309, in __init__
super().__init__( # type: ignore
File "/home/runner/micromamba/envs/test-env/lib/python3.11/site-packages/gubbins/client/generated/_client.py", line 82, in __init__
self.auth = AuthOperations(
^^^^^^^^^^^^^^^
File "/home/runner/micromamba/envs/test-env/lib/python3.11/site-packages/diracx/client/generated/operations/_operations.py", line 787, in __init__
raise_if_not_implemented(
File "/home/runner/micromamba/envs/test-env/lib/python3.11/site-packages/diracx/client/generated/_vendor.py", line 16, in raise_if_not_implemented
raise NotImplementedError(
NotImplementedError: The following methods on operation group 'AuthOperations' are not implemented: 'get_oidc_token'. Please refer to https://aka.ms/azsdk/python/dpcodegen/python/customize to learn how to customize.
|
Unit test - ./extensions/gubbins/gubbins-client:
extensions/gubbins/gubbins-client/tests/test_gubbins_client.py#L141
test_async_client_extension
AssertionError: Traceback (most recent call last):
File "/tmp/pytest-of-runner/pytest-0/test_async_client_extension0/test_client_ext.py", line 12, in <module>
asyncio.run(main())
File "/home/runner/micromamba/envs/test-env/lib/python3.11/asyncio/runners.py", line 190, in run
return runner.run(main)
^^^^^^^^^^^^^^^^
File "/home/runner/micromamba/envs/test-env/lib/python3.11/asyncio/runners.py", line 118, in run
return self._loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/runner/micromamba/envs/test-env/lib/python3.11/asyncio/base_events.py", line 654, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/tmp/pytest-of-runner/pytest-0/test_async_client_extension0/test_client_ext.py", line 7, in main
async with DiracClient() as api:
^^^^^^^^^^^^^
File "/home/runner/micromamba/envs/test-env/lib/python3.11/site-packages/diracx/client/patches/aio/utils.py", line 163, in __init__
super().__init__( # type: ignore
File "/home/runner/micromamba/envs/test-env/lib/python3.11/site-packages/gubbins/client/generated/aio/_client.py", line 82, in __init__
self.auth = AuthOperations(
^^^^^^^^^^^^^^^
File "/home/runner/micromamba/envs/test-env/lib/python3.11/site-packages/diracx/client/generated/aio/operations/_operations.py", line 231, in __init__
raise_if_not_implemented(
File "/home/runner/micromamba/envs/test-env/lib/python3.11/site-packages/diracx/client/generated/aio/_vendor.py", line 16, in raise_if_not_implemented
raise NotImplementedError(
NotImplementedError: The following methods on operation group 'AuthOperations' are not implemented: 'get_oidc_token'. Please refer to https://aka.ms/azsdk/python/dpcodegen/python/customize to learn how to customize.
|
Unit test - ./extensions/gubbins/gubbins-client:
extensions/gubbins/gubbins-client/tests/test_gubbins_client.py#L178
test_async_gubbins_client
AssertionError: Traceback (most recent call last):
File "/tmp/pytest-of-runner/pytest-0/test_async_gubbins_client0/test_client_ext.py", line 12, in <module>
asyncio.run(main())
File "/home/runner/micromamba/envs/test-env/lib/python3.11/asyncio/runners.py", line 190, in run
return runner.run(main)
^^^^^^^^^^^^^^^^
File "/home/runner/micromamba/envs/test-env/lib/python3.11/asyncio/runners.py", line 118, in run
return self._loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/runner/micromamba/envs/test-env/lib/python3.11/asyncio/base_events.py", line 654, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/tmp/pytest-of-runner/pytest-0/test_async_gubbins_client0/test_client_ext.py", line 7, in main
async with GubbinsClient() as api:
^^^^^^^^^^^^^^^
File "/home/runner/micromamba/envs/test-env/lib/python3.11/site-packages/diracx/client/patches/aio/utils.py", line 163, in __init__
super().__init__( # type: ignore
File "/home/runner/micromamba/envs/test-env/lib/python3.11/site-packages/gubbins/client/generated/aio/_client.py", line 82, in __init__
self.auth = AuthOperations(
^^^^^^^^^^^^^^^
File "/home/runner/micromamba/envs/test-env/lib/python3.11/site-packages/diracx/client/generated/aio/operations/_operations.py", line 231, in __init__
raise_if_not_implemented(
File "/home/runner/micromamba/envs/test-env/lib/python3.11/site-packages/diracx/client/generated/aio/_vendor.py", line 16, in raise_if_not_implemented
raise NotImplementedError(
NotImplementedError: The following methods on operation group 'AuthOperations' are not implemented: 'get_oidc_token'. Please refer to https://aka.ms/azsdk/python/dpcodegen/python/customize to learn how to customize.
|
Unit test - ./extensions/gubbins/gubbins-client
Process completed with exit code 1.
|
client-generation
Process completed with exit code 1.
|
pytest-integration:
extensions/gubbins/gubbins-client/tests/test_gubbins_client.py#L71
test_client_extension
AssertionError: Traceback (most recent call last):
File "/tmp/pytest-of-runner/pytest-0/test_client_extension0/test_client_ext.py", line 3, in <module>
with DiracClient() as api:
^^^^^^^^^^^^^
File "/home/runner/micromamba/envs/diracx-dev/lib/python3.11/site-packages/diracx/client/patches/utils.py", line 309, in __init__
super().__init__( # type: ignore
File "/home/runner/micromamba/envs/diracx-dev/lib/python3.11/site-packages/gubbins/client/generated/_client.py", line 82, in __init__
self.auth = AuthOperations(
^^^^^^^^^^^^^^^
File "/home/runner/micromamba/envs/diracx-dev/lib/python3.11/site-packages/diracx/client/generated/operations/_operations.py", line 787, in __init__
raise_if_not_implemented(
File "/home/runner/micromamba/envs/diracx-dev/lib/python3.11/site-packages/diracx/client/generated/_vendor.py", line 16, in raise_if_not_implemented
raise NotImplementedError(
NotImplementedError: The following methods on operation group 'AuthOperations' are not implemented: 'get_oidc_token'. Please refer to https://aka.ms/azsdk/python/dpcodegen/python/customize to learn how to customize.
|
pytest-integration:
extensions/gubbins/gubbins-client/tests/test_gubbins_client.py#L103
test_gubbins_client
AssertionError: Traceback (most recent call last):
File "/tmp/pytest-of-runner/pytest-0/test_gubbins_client0/test_client_ext.py", line 3, in <module>
with GubbinsClient() as api:
^^^^^^^^^^^^^^^
File "/home/runner/micromamba/envs/diracx-dev/lib/python3.11/site-packages/diracx/client/patches/utils.py", line 309, in __init__
super().__init__( # type: ignore
File "/home/runner/micromamba/envs/diracx-dev/lib/python3.11/site-packages/gubbins/client/generated/_client.py", line 82, in __init__
self.auth = AuthOperations(
^^^^^^^^^^^^^^^
File "/home/runner/micromamba/envs/diracx-dev/lib/python3.11/site-packages/diracx/client/generated/operations/_operations.py", line 787, in __init__
raise_if_not_implemented(
File "/home/runner/micromamba/envs/diracx-dev/lib/python3.11/site-packages/diracx/client/generated/_vendor.py", line 16, in raise_if_not_implemented
raise NotImplementedError(
NotImplementedError: The following methods on operation group 'AuthOperations' are not implemented: 'get_oidc_token'. Please refer to https://aka.ms/azsdk/python/dpcodegen/python/customize to learn how to customize.
|
pytest-integration:
extensions/gubbins/gubbins-client/tests/test_gubbins_client.py#L141
test_async_client_extension
AssertionError: Traceback (most recent call last):
File "/tmp/pytest-of-runner/pytest-0/test_async_client_extension0/test_client_ext.py", line 12, in <module>
asyncio.run(main())
File "/home/runner/micromamba/envs/diracx-dev/lib/python3.11/asyncio/runners.py", line 190, in run
return runner.run(main)
^^^^^^^^^^^^^^^^
File "/home/runner/micromamba/envs/diracx-dev/lib/python3.11/asyncio/runners.py", line 118, in run
return self._loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/runner/micromamba/envs/diracx-dev/lib/python3.11/asyncio/base_events.py", line 654, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/tmp/pytest-of-runner/pytest-0/test_async_client_extension0/test_client_ext.py", line 7, in main
async with DiracClient() as api:
^^^^^^^^^^^^^
File "/home/runner/micromamba/envs/diracx-dev/lib/python3.11/site-packages/diracx/client/patches/aio/utils.py", line 163, in __init__
super().__init__( # type: ignore
File "/home/runner/micromamba/envs/diracx-dev/lib/python3.11/site-packages/gubbins/client/generated/aio/_client.py", line 82, in __init__
self.auth = AuthOperations(
^^^^^^^^^^^^^^^
File "/home/runner/micromamba/envs/diracx-dev/lib/python3.11/site-packages/diracx/client/generated/aio/operations/_operations.py", line 231, in __init__
raise_if_not_implemented(
File "/home/runner/micromamba/envs/diracx-dev/lib/python3.11/site-packages/diracx/client/generated/aio/_vendor.py", line 16, in raise_if_not_implemented
raise NotImplementedError(
NotImplementedError: The following methods on operation group 'AuthOperations' are not implemented: 'get_oidc_token'. Please refer to https://aka.ms/azsdk/python/dpcodegen/python/customize to learn how to customize.
|
pytest-integration:
extensions/gubbins/gubbins-client/tests/test_gubbins_client.py#L178
test_async_gubbins_client
AssertionError: Traceback (most recent call last):
File "/tmp/pytest-of-runner/pytest-0/test_async_gubbins_client0/test_client_ext.py", line 12, in <module>
asyncio.run(main())
File "/home/runner/micromamba/envs/diracx-dev/lib/python3.11/asyncio/runners.py", line 190, in run
return runner.run(main)
^^^^^^^^^^^^^^^^
File "/home/runner/micromamba/envs/diracx-dev/lib/python3.11/asyncio/runners.py", line 118, in run
return self._loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/runner/micromamba/envs/diracx-dev/lib/python3.11/asyncio/base_events.py", line 654, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/tmp/pytest-of-runner/pytest-0/test_async_gubbins_client0/test_client_ext.py", line 7, in main
async with GubbinsClient() as api:
^^^^^^^^^^^^^^^
File "/home/runner/micromamba/envs/diracx-dev/lib/python3.11/site-packages/diracx/client/patches/aio/utils.py", line 163, in __init__
super().__init__( # type: ignore
File "/home/runner/micromamba/envs/diracx-dev/lib/python3.11/site-packages/gubbins/client/generated/aio/_client.py", line 82, in __init__
self.auth = AuthOperations(
^^^^^^^^^^^^^^^
File "/home/runner/micromamba/envs/diracx-dev/lib/python3.11/site-packages/diracx/client/generated/aio/operations/_operations.py", line 231, in __init__
raise_if_not_implemented(
File "/home/runner/micromamba/envs/diracx-dev/lib/python3.11/site-packages/diracx/client/generated/aio/_vendor.py", line 16, in raise_if_not_implemented
raise NotImplementedError(
NotImplementedError: The following methods on operation group 'AuthOperations' are not implemented: 'get_oidc_token'. Please refer to https://aka.ms/azsdk/python/dpcodegen/python/customize to learn how to customize.
|
pytest-integration
Process completed with exit code 1.
|
Unit test - ./extensions/gubbins/gubbins-routers:
home/runner/micromamba/envs/test-env/lib/python3.11/site-packages/M2Crypto/__init__.py#L36
distutils Version classes are deprecated. Use packaging.version instead.
|
pytest-integration:
home/runner/micromamba/envs/diracx-dev/lib/python3.11/site-packages/httpx/_config.py#L51
`verify=<str>` is deprecated. Use `verify=ssl.create_default_context(cafile=...)` or `verify=ssl.create_default_context(capath=...)` instead.
|
pytest-integration:
home/runner/micromamba/envs/diracx-dev/lib/python3.11/site-packages/httpx/_config.py#L51
`verify=<str>` is deprecated. Use `verify=ssl.create_default_context(cafile=...)` or `verify=ssl.create_default_context(capath=...)` instead.
|
pytest-integration:
home/runner/micromamba/envs/diracx-dev/lib/python3.11/site-packages/M2Crypto/__init__.py#L36
distutils Version classes are deprecated. Use packaging.version instead.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
DIRACGrid~diracx~0IPKHN.dockerbuild
|
38.7 KB |
|
DIRACGrid~diracx~TTZBUA.dockerbuild
|
27.4 KB |
|
gubbins-services-img
|
688 MB |
|
gubbins-whl
|
270 KB |
|