Skip to content

Start integrating RASENMAEHER to Keycloak and TAK to KC (via LDAP) #1009

Start integrating RASENMAEHER to Keycloak and TAK to KC (via LDAP)

Start integrating RASENMAEHER to Keycloak and TAK to KC (via LDAP) #1009

Triggered via pull request September 8, 2024 17:45
@ramborambo
synchronize #95
keycloak
Status Failure
Total duration 11m 48s
Artifacts

build.yml

on: pull_request
Matrix: apiunits
Matrix: build_and_publish
Fit to window
Zoom out
Zoom in

Annotations

44 errors and 1 warning
test_descriptions.test_product_instructons[fi]: api/tests/test_descriptions.py#L34
failed on setup with "file /home/runner/work/docker-rasenmaeher-integration/docker-rasenmaeher-integration/api/tests/test_descriptions.py, line 34 @pytest.mark.parametrize("lang", ["fi", "en"]) @pytest.mark.asyncio async def test_product_instructons(user_mtls_client: TestClient, lang: str) -> None: """Make sure we get product instructions""" resp = await user_mtls_client.get(f"/api/v1/instructions/fake/{lang}") assert resp payload = resp.json() LOGGER.debug(payload) assert payload assert payload["callsign"] E fixture 'user_mtls_client' not found > available fixtures: announce_server, anyio_backend, anyio_backend_name, anyio_backend_options, app_client, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, docker_cleanup, docker_compose_command, docker_compose_file, docker_compose_project_name, docker_ip, docker_services, docker_setup, doctest_namespace, event_loop, issuer_cl, kraftwerk_jwt_client, monkeypatch, monkeysession, mtls_client, nice_tmpdir_mod, nice_tmpdir_ses, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, rm_jwt_client, session_env_config, taskmaster_closer, test_user_secrets, tilauspalvelu_jwt_admin_client, tilauspalvelu_jwt_client, tilauspalvelu_jwt_user_client, tilauspalvelu_jwt_user_koira_client, tilauspalvelu_jwt_without_proper_user_client, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unauth_client, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, verifier > use 'pytest --fixtures [testpath]' for help on them. /home/runner/work/docker-rasenmaeher-integration/docker-rasenmaeher-integration/api/tests/test_descriptions.py:34"
test_descriptions.test_product_instructons[en]: api/tests/test_descriptions.py#L34
failed on setup with "file /home/runner/work/docker-rasenmaeher-integration/docker-rasenmaeher-integration/api/tests/test_descriptions.py, line 34 @pytest.mark.parametrize("lang", ["fi", "en"]) @pytest.mark.asyncio async def test_product_instructons(user_mtls_client: TestClient, lang: str) -> None: """Make sure we get product instructions""" resp = await user_mtls_client.get(f"/api/v1/instructions/fake/{lang}") assert resp payload = resp.json() LOGGER.debug(payload) assert payload assert payload["callsign"] E fixture 'user_mtls_client' not found > available fixtures: announce_server, anyio_backend, anyio_backend_name, anyio_backend_options, app_client, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, docker_cleanup, docker_compose_command, docker_compose_file, docker_compose_project_name, docker_ip, docker_services, docker_setup, doctest_namespace, event_loop, issuer_cl, kraftwerk_jwt_client, monkeypatch, monkeysession, mtls_client, nice_tmpdir_mod, nice_tmpdir_ses, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, rm_jwt_client, session_env_config, taskmaster_closer, test_user_secrets, tilauspalvelu_jwt_admin_client, tilauspalvelu_jwt_client, tilauspalvelu_jwt_user_client, tilauspalvelu_jwt_user_koira_client, tilauspalvelu_jwt_without_proper_user_client, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unauth_client, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, verifier > use 'pytest --fixtures [testpath]' for help on them. /home/runner/work/docker-rasenmaeher-integration/docker-rasenmaeher-integration/api/tests/test_descriptions.py:34"
test_enrollment.test_enroll_verif_code[tilauspalvelu_jwt_admin_client0]: api/tests/test_enrollment.py#L1
failed on setup with "gino.exceptions.UninitializedError: Gino engine is not initialized."
test_enrollment.test_enroll_show_verif_code[tilauspalvelu_jwt_admin_client0]: api/tests/test_enrollment.py#L1
failed on setup with "gino.exceptions.UninitializedError: Gino engine is not initialized."
test_enrollment.test_enroll_show_verifcode_bad_code[tilauspalvelu_jwt_admin_client0]: api/tests/test_enrollment.py#L1
failed on setup with "gino.exceptions.UninitializedError: Gino engine is not initialized."
test_enrollment.test_post_init[tilauspalvelu_jwt_admin_client0]: api/tests/test_enrollment.py#L1
failed on setup with "gino.exceptions.UninitializedError: Gino engine is not initialized."
test_enrollment.test_promote_demote[tilauspalvelu_jwt_admin_client0]: api/tests/test_enrollment.py#L1
failed on setup with "gino.exceptions.UninitializedError: Gino engine is not initialized."
test_enrollment.test_lock[tilauspalvelu_jwt_admin_client0]: api/tests/test_enrollment.py#L1
failed on setup with "gino.exceptions.UninitializedError: Gino engine is not initialized."
test_enrollment.test_accept[tilauspalvelu_jwt_admin_client0]: api/tests/test_enrollment.py#L1
failed on setup with "gino.exceptions.UninitializedError: Gino engine is not initialized."
test_enrollment.test_accept_no_such_user[tilauspalvelu_jwt_admin_client0]: api/tests/test_enrollment.py#L1
failed on setup with "gino.exceptions.UninitializedError: Gino engine is not initialized."
test_enrollment.test_invitecode_create[tilauspalvelu_jwt_admin_client0]: api/tests/test_enrollment.py#L1
failed on setup with "gino.exceptions.UninitializedError: Gino engine is not initialized."
test_enrollment.test_invitecode_dectivate[tilauspalvelu_jwt_admin_client0]: api/tests/test_enrollment.py#L1
failed on setup with "gino.exceptions.UninitializedError: Gino engine is not initialized."
test_enrollment.test_invitecode_activate[tilauspalvelu_jwt_admin_client0]: api/tests/test_enrollment.py#L1
failed on setup with "gino.exceptions.UninitializedError: Gino engine is not initialized."
test_enrollment.test_show_verifcode_no_permission: api/tests/test_enrollment.py#L1
failed on setup with "gino.exceptions.UninitializedError: Gino engine is not initialized."
test_enrollment.test_have_i_been_accepted_yes: api/tests/test_enrollment.py#L1
failed on setup with "gino.exceptions.UninitializedError: Gino engine is not initialized."
test_enrollment.test_have_i_been_accepted_no: api/tests/test_enrollment.py#L1
failed on setup with "gino.exceptions.UninitializedError: Gino engine is not initialized."
test_enrollment.test_status_koira: api/tests/test_enrollment.py#L1
failed on setup with "gino.exceptions.UninitializedError: Gino engine is not initialized."
test_enrollment.test_status_not_found: api/tests/test_enrollment.py#L1
failed on setup with "gino.exceptions.UninitializedError: Gino engine is not initialized."
test_enrollment.test_list_as_adm: api/tests/test_enrollment.py#L1
failed on setup with "gino.exceptions.UninitializedError: Gino engine is not initialized."
test_enrollment.test_list_as_usr: api/tests/test_enrollment.py#L1
failed on setup with "gino.exceptions.UninitializedError: Gino engine is not initialized."
test_enrollment.test_init_as_usr: api/tests/test_enrollment.py#L1
failed on setup with "gino.exceptions.UninitializedError: Gino engine is not initialized."
test_enrollment.test_promote_as_usr: api/tests/test_enrollment.py#L1
failed on setup with "gino.exceptions.UninitializedError: Gino engine is not initialized."
test_enrollment.test_lock_as_usr: api/tests/test_enrollment.py#L1
failed on setup with "gino.exceptions.UninitializedError: Gino engine is not initialized."
test_enrollment.test_accept_as_usr: api/tests/test_enrollment.py#L1
failed on setup with "gino.exceptions.UninitializedError: Gino engine is not initialized."
test_enrollment.test_create_as_usr: api/tests/test_enrollment.py#L1
failed on setup with "gino.exceptions.UninitializedError: Gino engine is not initialized."
test_enrollment.test_invite_code: api/tests/test_enrollment.py#L1
failed on setup with "gino.exceptions.UninitializedError: Gino engine is not initialized."
test_enrollment.test_enroll_with_invite_code: api/tests/test_enrollment.py#L1
failed on setup with "gino.exceptions.UninitializedError: Gino engine is not initialized."
test_fixtures.test_check_auth_admin: api/tests/usersapis/test_fixtures.py#L1
failed on setup with "asyncpg.exceptions._base.InterfaceError: cannot perform operation: another operation is in progress"
test_fixtures.test_check_auth_user: api/tests/usersapis/test_fixtures.py#L1
failed on setup with "asyncpg.exceptions._base.InterfaceError: cannot perform operation: another operation is in progress"
test_fragments.test_admin_fragment: api/tests/usersapis/test_fragments.py#L1
failed on setup with "asyncpg.exceptions._base.InterfaceError: cannot perform operation: another operation is in progress"
test_fragments.test_user_fragment: api/tests/usersapis/test_fragments.py#L1
failed on setup with "asyncpg.exceptions._base.InterfaceError: cannot perform operation: another operation is in progress"
test_people.test_admin_people_list: api/tests/usersapis/test_people.py#L1
failed on setup with "asyncpg.exceptions._base.InterfaceError: cannot perform operation: another operation is in progress"
test_people.test_product_people_list: api/tests/usersapis/test_people.py#L1
failed on setup with "asyncpg.exceptions._base.InterfaceError: cannot perform operation: another operation is in progress"
test_pools.test_list_pools: api/tests/usersapis/test_pools.py#L1
failed on setup with "asyncpg.exceptions._base.InterfaceError: cannot perform operation: another operation is in progress"
test_pools.test_list_pools_by_owner: api/tests/usersapis/test_pools.py#L1
failed on setup with "asyncpg.exceptions._base.InterfaceError: cannot perform operation: another operation is in progress"
test_pools.test_list_pools_wrong_owner: api/tests/usersapis/test_pools.py#L1
failed on setup with "asyncpg.exceptions._base.InterfaceError: cannot perform operation: another operation is in progress"
test_userinfos.test_user_pfx[ENROLLUSERa]: api/tests/usersapis/test_userinfos.py#L1
failed on setup with "asyncpg.exceptions._base.InterfaceError: cannot perform operation: another operation is in progress"
test_userinfos.test_user_pfx[ENROLLUSERa.pfx]: api/tests/usersapis/test_userinfos.py#L1
failed on setup with "asyncpg.exceptions._base.InterfaceError: cannot perform operation: another operation is in progress"
apiunits (3.11)
Process completed with exit code 1.
test_first_time_user.test_firstuser_add_admin: .mypy_cache/3.10/tests/validations/test_first_time_user.data.json#L87
aiohttp.client_exceptions.ClientResponseError: 500, message='Internal Server Error', url=URL('https://localmaeher.pvarki.fi:4439/api/v1/firstuser/add-admin')
test_first_time_user.test_duplicate_firstuser_admin: .mypy_cache/3.10/tests/validations/test_first_time_user.data.json#L110
aiohttp.client_exceptions.ContentTypeError: 0, message='Attempt to decode JSON with unexpected mimetype: text/plain; charset=utf-8', url=URL('https://localmaeher.pvarki.fi:4439/api/v1/firstuser/add-admin')
rmlocal
Process completed with exit code 1.
rmlocal
Process completed with exit code 1.
rmlocal
Process completed with exit code 1.
apiunits (3.11)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-python@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/