Skip to content

Update charm libraries #348

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Update charm libraries #348

wants to merge 1 commit into from

Conversation

is-devops-bot
Copy link
Collaborator

Automated action to fetch latest version of charm libraries. The branch of this PR
will be wiped during the next check. Unless you really know what you're doing, you
most likely don't want to push any commits to this branch.

@is-devops-bot is-devops-bot requested a review from a team as a code owner August 7, 2024 01:29
@github-actions github-actions bot requested a review from yanksyoon as a code owner June 20, 2025 01:31
@github-actions github-actions bot force-pushed the chore/auto-libs branch 7 times, most recently from f6fdd0c to f470cd4 Compare June 27, 2025 01:31
@github-actions github-actions bot force-pushed the chore/auto-libs branch 7 times, most recently from 8629008 to 2001844 Compare July 4, 2025 01:31
@github-actions github-actions bot force-pushed the chore/auto-libs branch 4 times, most recently from 2ac72e2 to 8eb19f1 Compare July 8, 2025 01:31
@github-actions github-actions bot force-pushed the chore/auto-libs branch 7 times, most recently from 1967e61 to 8f8dc5a Compare July 23, 2025 01:31
@github-actions github-actions bot force-pushed the chore/auto-libs branch 5 times, most recently from 409b1ca to 6d932a0 Compare July 28, 2025 01:31
@yhaliaw yhaliaw closed this Jul 28, 2025
@yhaliaw yhaliaw reopened this Jul 28, 2025
Copy link
Contributor

Test results for commit 6d932a0

Unit tests failed for 6d932a0

```

============================= test session starts ==============================
platform linux -- Python 3.10.18, pytest-8.4.1, pluggy-1.6.0 -- /home/ubuntu/actions-runner/_work/github-runner-operator/github-runner-operator/.tox/unit/bin/python
cachedir: .tox/unit/.pytest_cache
rootdir: /home/ubuntu/actions-runner/_work/github-runner-operator/github-runner-operator
configfile: pyproject.toml
plugins: requests-mock-1.12.1, Faker-37.4.2
collecting ... collected 199 items

jobmanager/client/test/test_default_api.py::TestDefaultApi::test_health_check_health_get PASSED
jobmanager/client/test/test_default_api.py::TestDefaultApi::test_root_get PASSED
jobmanager/client/test/test_http_validation_error.py::TestHTTPValidationError::testHTTPValidationError PASSED
jobmanager/client/test/test_job_create.py::TestJobCreate::testJobCreate PASSED
jobmanager/client/test/test_job_read.py::TestJobRead::testJobRead PASSED
jobmanager/client/test/test_job_update.py::TestJobUpdate::testJobUpdate PASSED
jobmanager/client/test/test_jobs_api.py::TestJobsApi::test_create_job_v1_jobs_post PASSED
jobmanager/client/test/test_jobs_api.py::TestJobsApi::test_download_object_v1_jobs_job_id_object_object_name_get PASSED
jobmanager/client/test/test_jobs_api.py::TestJobsApi::test_generate_token_v1_jobs_job_id_token_post PASSED
jobmanager/client/test/test_jobs_api.py::TestJobsApi::test_get_health_v1_jobs_job_id_health_get PASSED
jobmanager/client/test/test_jobs_api.py::TestJobsApi::test_get_job_v1_jobs_job_id_get PASSED
jobmanager/client/test/test_jobs_api.py::TestJobsApi::test_get_jobs_v1_jobs_get PASSED
jobmanager/client/test/test_jobs_api.py::TestJobsApi::test_update_health_v1_jobs_job_id_health_put PASSED
jobmanager/client/test/test_jobs_api.py::TestJobsApi::test_update_job_v1_jobs_job_id_put PASSED
jobmanager/client/test/test_runners_api.py::TestRunnersApi::test_get_runner_health_v1_runners_runner_id_health_get PASSED
jobmanager/client/test/test_runners_api.py::TestRunnersApi::test_register_runner_v1_runners_register_post PASSED
jobmanager/client/test/test_runners_api.py::TestRunnersApi::test_update_runner_health_v1_runners_runner_id_health_put PASSED
jobmanager/client/test/test_tokens_api.py::TestTokensApi::test_create_api_access_token_v1_api_access_token_post PASSED
jobmanager/client/test/test_tokens_api.py::TestTokensApi::test_revoke_api_access_token_v1_api_access_token_delete PASSED
jobmanager/client/test/test_validation_error.py::TestValidationError::testValidationError PASSED
jobmanager/client/test/test_validation_error_loc_inner.py::TestValidationErrorLocInner::testValidationErrorLocInner PASSED
jobmanager/client/test/test_vm_dependencies.py::TestVmDependencies::testVmDependencies PASSED
tests/unit/test_charm.py::test_proxy_setting PASSED
tests/unit/test_charm.py::test_common_install_code[Install] PASSED
tests/unit/test_charm.py::test_common_install_code[Upgrade] PASSED
tests/unit/test_charm.py::test_on_config_changed_failure PASSED
tests/unit/test_charm.py::test__on_config_changed_flush[Path] PASSED
tests/unit/test_charm.py::test__on_config_changed_flush[Token] PASSED
tests/unit/test_charm.py::test__on_config_changed_flush[Labels] PASSED
tests/unit/test_charm.py::test__on_config_changed_no_flush[Path] PASSED
tests/unit/test_charm.py::test__on_config_changed_no_flush[Token] PASSED
tests/unit/test_charm.py::test__on_config_changed_no_flush[Labels] PASSED
tests/unit/test_charm.py::test_on_stop_busy_flush_and_stop_service PASSED
tests/unit/test_charm.py::test_on_install_failure[Install] PASSED
tests/unit/test_charm.py::test_on_install_failure[Upgrade] PASSED
tests/unit/test_charm.py::test_charm_goes_into_waiting_state_on_missing_integration_data PASSED
tests/unit/test_charm.py::test_check_runners_action_with_errors PASSED
tests/unit/test_charm.py::test_catch_charm_errors[charm config error] PASSED
tests/unit/test_charm.py::test_catch_charm_errors[github token error] PASSED
tests/unit/test_charm.py::test_catch_action_errors[charm config error] PASSED
tests/unit/test_charm.py::test_openstack_image_ready_status[Image integration missing.] PASSED
tests/unit/test_charm.py::test_openstack_image_ready_status[Image not ready.] PASSED
tests/unit/test_charm.py::test_openstack_image_ready_status[Valid image integration.] PASSED
tests/unit/test_charm.py::test__on_image_relation_image_not_ready PASSED
tests/unit/test_charm.py::test__on_image_relation_image_ready PASSED
tests/unit/test_charm.py::test__on_image_relation_joined PASSED
tests/unit/test_charm.py::test_on_config_changed_openstack_clouds_yaml PASSED
tests/unit/test_charm.py::test_metric_log_ownership_for_upgrade PASSED
tests/unit/test_charm.py::test_attempting_disable_legacy_service_for_upgrade PASSED
tests/unit/test_charm.py::test_database_integration_events_setup_service[Database Created] PASSED
tests/unit/test_charm.py::test_database_integration_events_setup_service[Endpoints Changed] PASSED
tests/unit/test_charm.py::test_database_integration_events_setup_service[MongoDB Relation Departed] PASSED
tests/unit/test_charm_state.py::test_github_config_from_charm_invalid_path PASSED
tests/unit/test_charm_state.py::test_github_jobmanager_config_from_charm_empty_path[GithubConfig] PASSED
tests/unit/test_charm_state.py::test_github_jobmanager_config_from_charm_empty_path[JobManagerConfig] PASSED
tests/unit/test_charm_state.py::test_github_config_from_charm_invalid_token PASSED
tests/unit/test_charm_state.py::test_jobmanager_config_from_charm_empty_token PASSED
tests/unit/test_charm_state.py::test_github_config_from_charm_url_path_returns_none PASSED
tests/unit/test_charm_state.py::test_jobmanager_config_from_charm_non_http_path_returns_none PASSED
tests/unit/test_charm_state.py::test_parse_github_path[owner/repo-test_group-GitHubRepo-expected_attrs0] PASSED
tests/unit/test_charm_state.py::test_parse_github_path[test_org-test_group-GitHubOrg-expected_attrs1] PASSED
tests/unit/test_charm_state.py::test_parse_labels_invalid PASSED
tests/unit/test_charm_state.py::test_parse_labels[label1,label2,label3-expected_valid_labels0] PASSED
tests/unit/test_charm_state.py::test_parse_labels[label1, label2, label3-expected_valid_labels1] PASSED
tests/unit/test_charm_state.py::test_parse_labels[label1,label2,label3,-expected_valid_labels2] PASSED
tests/unit/test_charm_state.py::test_parse_labels[label1,,label2,label3-expected_valid_labels3] PASSED
tests/unit/test_charm_state.py::test_parse_labels[label1,label2,label3, -expected_valid_labels4] PASSED
tests/unit/test_charm_state.py::test_parse_labels[-expected_valid_labels5] PASSED
tests/unit/test_charm_state.py::test_parse_labels[label-1, label-2, label-3-expected_valid_labels6] PASSED
tests/unit/test_charm_state.py::test_parse_dockerhub_mirror_invalid_scheme PASSED
tests/unit/test_charm_state.py::test_parse_dockerhub_mirror[-None] PASSED
tests/unit/test_charm_state.py::test_parse_dockerhub_mirror[https://example.com-https://example.com] PASSED
tests/unit/test_charm_state.py::test_parse_openstack_clouds_config_empty PASSED
tests/unit/test_charm_state.py::test_parse_openstack_clouds_config_invalid_yaml PASSED
tests/unit/test_charm_state.py::test_parse_openstack_clouds_config_invalid_yaml_list PASSED
tests/unit/test_charm_state.py::test_parse_openstack_clouds_config_valid PASSED
tests/unit/test_charm_state.py::test_check_reconcile_interval_invalid[0] PASSED
tests/unit/test_charm_state.py::test_check_reconcile_interval_invalid[1] PASSED
tests/unit/test_charm_state.py::test_check_reconcile_interval_valid[2] PASSED
tests/unit/test_charm_state.py::test_check_reconcile_interval_valid[5] PASSED
tests/unit/test_charm_state.py::test_check_reconcile_interval_valid[10] PASSED
tests/unit/test_charm_state.py::test_charm_config_from_charm_invalid_reconcile_interval PASSED
tests/unit/test_charm_state.py::test_charm_config_from_charm_invalid_labels PASSED
tests/unit/test_charm_state.py::test_charm_config_from_charm_sets_jobmanager_config PASSED
tests/unit/test_charm_state.py::test_charm_config_from_charm_valid PASSED
tests/unit/test_charm_state.py::test_openstack_image_from_charm_no_connections PASSED
tests/unit/test_charm_state.py::test_openstack_image_from_charm_data_not_ready PASSED
tests/unit/test_charm_state.py::test_openstack_image_from_charm PASSED
tests/unit/test_charm_state.py::test___bool__[http://proxy.example.com-None-True] PASSED
tests/unit/test_charm_state.py::test___bool__[None-https://secureproxy.example.com-True] PASSED
tests/unit/test_charm_state.py::test___bool__[http://proxy.example.com-https://secureproxy.example.com-True] PASSED
tests/unit/test_charm_state.py::test___bool__[None-None-False] PASSED
tests/unit/test_charm_state.py::test_proxy_config_from_charm[None-None-localhost] PASSED
tests/unit/test_charm_state.py::test_proxy_config_from_charm[None-http://internal.proxy-None] PASSED
tests/unit/test_charm_state.py::test_ssh_debug_connection_from_charm_no_connections PASSED
tests/unit/test_charm_state.py::test_ssh_debug_connection_from_charm_data_not_ready PASSED
tests/unit/test_charm_state.py::test_ssh_debug_connection_from_charm[True] PASSED
tests/unit/test_charm_state.py::test_ssh_debug_connection_from_charm[False] PASSED
tests/unit/test_charm_state.py::test_reactive_config_from_charm FAILED
tests/unit/test_charm_state.py::test_reactive_config_from_database_returns_none PASSED
tests/unit/test_charm_state.py::test_reactive_config_from_database_integration_data_missing FAILED
tests/unit/test_charm_state.py::test_charm_state_from_charm_invalid_cases[charm_state-build_proxy_config_from_charm-exc0] PASSED
tests/unit/test_charm_state.py::test_charm_state_from_charm_invalid_cases[charm_state-build_proxy_config_from_charm-ValueError] PASSED
tests/unit/test_charm_state.py::test_charm_state_from_charm_invalid_cases[CharmConfig-from_charm-exc2] PASSED
tests/unit/test_charm_state.py::test_charm_state_from_charm_invalid_cases[CharmConfig-from_charm-ValueError] PASSED
tests/unit/test_charm_state.py::test_charm_state_from_charm_invalid_cases[charm_state-_build_ssh_debug_connection_from_charm-exc4] PASSED
tests/unit/test_charm_state.py::test_charm_state_from_charm PASSED
tests/unit/test_charm_state.py::test_parse_virtual_machine_numbers[0-0-0-0-0] PASSED
tests/unit/test_charm_state.py::test_parse_virtual_machine_numbers[3-0-0-3-3] PASSED
tests/unit/test_charm_state.py::test_parse_virtual_machine_numbers[0-1-2-1-2] PASSED
tests/unit/test_charm_state.py::test_parse_virtual_machine_numbers[0-0-2-0-2] PASSED
tests/unit/test_charm_state.py::test_parse_virtual_machine_numbers[0-2-0-2-0] PASSED
tests/unit/test_charm_state.py::test_error_parse_virtual_machine_numbers[1-2-3-deprecated and new configuration are set for the number of machines to spawn] PASSED
tests/unit/test_charm_state.py::test_error_parse_virtual_machine_numbers[3-1-0-deprecated and new configuration are set for the number of machines to spawn] PASSED
tests/unit/test_charm_state.py::test_error_parse_virtual_machine_numbers[3-0-1-deprecated and new configuration are set for the number of machines to spawn] PASSED
tests/unit/test_charm_state.py::test_parse_flavor_config[m1.small---expected_flavor_label_combinations0-expected_labels0] PASSED
tests/unit/test_charm_state.py::test_parse_flavor_config[m1.small--one,two-expected_flavor_label_combinations1-expected_labels1] PASSED
tests/unit/test_charm_state.py::test_parse_flavor_config[-m1.small:small-one,two-expected_flavor_label_combinations2-expected_labels2] PASSED
tests/unit/test_charm_state.py::test_parse_flavor_config[m1.notused-m1.small:small-one,two-expected_flavor_label_combinations3-expected_labels3] PASSED
tests/unit/test_charm_state.py::test_errror_flavor_config[---flavor not specified] PASSED
tests/unit/test_charm_state.py::test_errror_flavor_config[-,--Invalid flavor-label] PASSED
tests/unit/test_charm_state.py::test_errror_flavor_config[-,,--Invalid flavor-label] PASSED
tests/unit/test_charm_state.py::test_errror_flavor_config[-a:a,--Invalid flavor-label] PASSED
tests/unit/test_charm_state.py::test_errror_flavor_config[-a::a,--Invalid flavor-label] PASSED
tests/unit/test_charm_state.py::test_errror_flavor_config[-,a:a--Invalid flavor-label] PASSED
tests/unit/test_charm_state.py::test_errror_flavor_config[-a:a,,b:b--Invalid flavor-label] PASSED
tests/unit/test_charm_state.py::test_errror_flavor_config[-a--Invalid flavor-label] PASSED
tests/unit/test_charm_state.py::test_errror_flavor_config[-:zz--empty flavor] PASSED
tests/unit/test_charm_state.py::test_errror_flavor_config[-zz:--empty label] PASSED
tests/unit/test_charm_state.py::test_errror_flavor_config[-xx:yy,:--empty flavor] PASSED
tests/unit/test_charm_state.py::test_errror_flavor_config[-xx:yy,xx:--empty label] PASSED
tests/unit/test_charm_state.py::test_errror_flavor_config[-zz:aa,xx:yy--not yet implemented] PASSED
tests/unit/test_charm_state.py::test_charm_state__log_prev_state_redacts_sensitive_information PASSED
tests/unit/test_charm_state.py::test_proxy_config[No proxy. No aproxy] PASSED
tests/unit/test_charm_state.py::test_proxy_config[No proxy with only no_proxy. No aproxy] PASSED
tests/unit/test_charm_state.py::test_proxy_config[Only proxy from juju. No aproxy.] PASSED
tests/unit/test_charm_state.py::test_proxy_config[Both juju and runner proxy. No aproxy.] PASSED
tests/unit/test_charm_state.py::test_proxy_config[Only proxy in runner. aproxy configured.] PASSED
tests/unit/test_charm_state.py::test_proxy_config[Proxy in juju and the runner. aproxy configured.] PASSED
tests/unit/test_charm_state.py::test_proxy_config[Proxy in juju and the runner. aproxy configured with exclude addresses and redirect ports.] PASSED
tests/unit/test_charm_state.py::test_invalid_aproxy_config_in_charm_state[256.0.0.0/8-] PASSED
tests/unit/test_charm_state.py::test_invalid_aproxy_config_in_charm_state[10.0.0.0--] PASSED
tests/unit/test_charm_state.py::test_invalid_aproxy_config_in_charm_state[-192.168.0.0-] PASSED
tests/unit/test_charm_state.py::test_invalid_aproxy_config_in_charm_state[--0] PASSED
tests/unit/test_charm_state.py::test_invalid_aproxy_config_in_charm_state[foobar-] PASSED
tests/unit/test_charm_state.py::test_invalid_aproxy_config_in_charm_state[-foobar] PASSED
tests/unit/test_charm_state.py::test_invalid_aproxy_config_in_charm_state[-99999] PASSED
tests/unit/test_charm_state.py::test_invalid_aproxy_config_in_charm_state[--1] PASSED
tests/unit/test_charm_state.py::test_invalid_aproxy_config_in_charm_state[-80-] PASSED
tests/unit/test_charm_state.py::test_invalid_aproxy_config_in_charm_state[--2] PASSED
tests/unit/test_factories.py::test_create_application_configuration[with_github_config] PASSED
tests/unit/test_factories.py::test_create_application_configuration[with_jobmanager_config] PASSED
tests/unit/test_factories.py::test_create_openstack_configuration PASSED
tests/unit/test_logrotate.py::test_setup_enables_logrotate_timer PASSED
tests/unit/test_logrotate.py::test_setup_raises_error PASSED
tests/unit/test_logrotate.py::test_setup_writes_logrotate_config PASSED
tests/unit/test_logrotate.py::test__write_config[daily-True-True-True] PASSED
tests/unit/test_logrotate.py::test__write_config[daily-True-True-False] PASSED
tests/unit/test_logrotate.py::test__write_config[daily-True-False-True] PASSED
tests/unit/test_logrotate.py::test__write_config[daily-True-False-False] PASSED
tests/unit/test_logrotate.py::test__write_config[daily-False-True-True] PASSED
tests/unit/test_logrotate.py::test__write_config[daily-False-True-False] PASSED
tests/unit/test_logrotate.py::test__write_config[daily-False-False-True] PASSED
tests/unit/test_logrotate.py::test__write_config[daily-False-False-False] PASSED
tests/unit/test_logrotate.py::test__write_config[weekly-True-True-True] PASSED
tests/unit/test_logrotate.py::test__write_config[weekly-True-True-False] PASSED
tests/unit/test_logrotate.py::test__write_config[weekly-True-False-True] PASSED
tests/unit/test_logrotate.py::test__write_config[weekly-True-False-False] PASSED
tests/unit/test_logrotate.py::test__write_config[weekly-False-True-True] PASSED
tests/unit/test_logrotate.py::test__write_config[weekly-False-True-False] PASSED
tests/unit/test_logrotate.py::test__write_config[weekly-False-False-True] PASSED
tests/unit/test_logrotate.py::test__write_config[weekly-False-False-False] PASSED
tests/unit/test_logrotate.py::test__write_config[monthly-True-True-True] PASSED
tests/unit/test_logrotate.py::test__write_config[monthly-True-True-False] PASSED
tests/unit/test_logrotate.py::test__write_config[monthly-True-False-True] PASSED
tests/unit/test_logrotate.py::test__write_config[monthly-True-False-False] PASSED
tests/unit/test_logrotate.py::test__write_config[monthly-False-True-True] PASSED
tests/unit/test_logrotate.py::test__write_config[monthly-False-True-False] PASSED
tests/unit/test_logrotate.py::test__write_config[monthly-False-False-True] PASSED
tests/unit/test_logrotate.py::test__write_config[monthly-False-False-False] PASSED
tests/unit/test_logrotate.py::test__write_config[yearly-True-True-True] PASSED
tests/unit/test_logrotate.py::test__write_config[yearly-True-True-False] PASSED
tests/unit/test_logrotate.py::test__write_config[yearly-True-False-True] PASSED
tests/unit/test_logrotate.py::test__write_config[yearly-True-False-False] PASSED
tests/unit/test_logrotate.py::test__write_config[yearly-False-True-True] PASSED
tests/unit/test_logrotate.py::test__write_config[yearly-False-True-False] PASSED
tests/unit/test_logrotate.py::test__write_config[yearly-False-False-True] PASSED
tests/unit/test_logrotate.py::test__write_config[yearly-False-False-False] PASSED
tests/unit/test_manager_client.py::test_check_runner_success PASSED
tests/unit/test_manager_client.py::test_check_runner_http_error PASSED
tests/unit/test_manager_client.py::test_check_runner_http_error_no_response PASSED
tests/unit/test_manager_client.py::test_check_runner_connection_error PASSED
tests/unit/test_manager_service.py::test_setup_started PASSED
tests/unit/test_manager_service.py::test_setup_no_started PASSED
tests/unit/test_manager_service.py::test_setup_systemd_error PASSED
tests/unit/test_manager_service.py::test_install_package_failure PASSED
tests/unit/test_manager_service.py::test_stop_with_running_service PASSED
tests/unit/test_manager_service.py::test_stop_with_stopped_service PASSED
tests/unit/test_utilities.py::test_execute_command_with_error PASSED

=================================== FAILURES ===================================
_______________________ test_reactive_config_from_charm ________________________
Traceback (most recent call last):
File "/home/ubuntu/actions-runner/_work/github-runner-operator/github-runner-operator/.tox/unit/lib/python3.10/site-packages/_pytest/runner.py", line 344, in from_call
result: TResult | None = func()
File "/home/ubuntu/actions-runner/_work/github-runner-operator/github-runner-operator/.tox/unit/lib/python3.10/site-packages/_pytest/runner.py", line 246, in
lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise
File "/home/ubuntu/actions-runner/_work/github-runner-operator/github-runner-operator/.tox/unit/lib/python3.10/site-packages/pluggy/_hooks.py", line 512, in call
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
File "/home/ubuntu/actions-runner/_work/github-runner-operator/github-runner-operator/.tox/unit/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/home/ubuntu/actions-runner/_work/github-runner-operator/github-runner-operator/.tox/unit/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall
raise exception
File "/home/ubuntu/actions-runner/_work/github-runner-operator/github-runner-operator/.tox/unit/lib/python3.10/site-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/home/ubuntu/actions-runner/_work/github-runner-operator/github-runner-operator/.tox/unit/lib/python3.10/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call
yield
File "/home/ubuntu/actions-runner/_work/github-runner-operator/github-runner-operator/.tox/unit/lib/python3.10/site-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/home/ubuntu/actions-runner/_work/github-runner-operator/github-runner-operator/.tox/unit/lib/python3.10/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call
return (yield)
File "/home/ubuntu/actions-runner/_work/github-runner-operator/github-runner-operator/.tox/unit/lib/python3.10/site-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/home/ubuntu/actions-runner/_work/github-runner-operator/github-runner-operator/.tox/unit/lib/python3.10/site-packages/_pytest/skipping.py", line 263, in pytest_runtest_call
return (yield)
File "/home/ubuntu/actions-runner/_work/github-runner-operator/github-runner-operator/.tox/unit/lib/python3.10/site-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
File "/home/ubuntu/actions-runner/_work/github-runner-operator/github-runner-operator/.tox/unit/lib/python3.10/site-packages/_pytest/runner.py", line 178, in pytest_runtest_call
item.runtest()
File "/home/ubuntu/actions-runner/_work/github-runner-operator/github-runner-operator/.tox/unit/lib/python3.10/site-packages/_pytest/python.py", line 1671, in runtest
self.ihook.pytest_pyfunc_call(pyfuncitem=self)
File "/home/ubuntu/actions-runner/_work/github-runner-operator/github-runner-operator/.tox/unit/lib/python3.10/site-packages/pluggy/_hooks.py", line 512, in call
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
File "/home/ubuntu/actions-runner/_work/github-runner-operator/github-runner-operator/.tox/unit/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/home/ubuntu/actions-runner/_work/github-runner-operator/github-runner-operator/.tox/unit/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall
raise exception
File "/home/ubuntu/actions-runner/_work/github-runner-operator/github-runner-operator/.tox/unit/lib/python3.10/site-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
File "/home/ubuntu/actions-runner/_work/github-runner-operator/github-runner-operator/.tox/unit/lib/python3.10/site-packages/_pytest/python.py", line 157, in pytest_pyfunc_call
result = testfunction(**testargs)
File "/home/ubuntu/actions-runner/_work/github-runner-operator/github-runner-operator/tests/unit/test_charm_state.py", line 660, in test_reactive_config_from_charm
connection_info = charm_state.ReactiveConfig.from_database(database)
File "/home/ubuntu/actions-runner/_work/github-runner-operator/github-runner-operator/src/charm_state.py", line 788, in from_database
relation_data = list(database.fetch_relation_data(fields=[uri_field]).values())
File "/home/ubuntu/actions-runner/_work/github-runner-operator/github-runner-operator/lib/charms/data_platform_libs/v0/data_interfaces.py", line 1680, in fetch_relation_data
data[relation.id] = self._fetch_specific_relation_data(relation, fields)
File "/home/ubuntu/actions-runner/_work/github-runner-operator/github-runner-operator/lib/charms/data_platform_libs/v0/data_interfaces.py", line 1188, in _fetch_specific_relation_data
self._load_secrets_from_databag(relation)
File "/home/ubuntu/actions-runner/_work/github-runner-operator/github-runner-operator/lib/charms/data_platform_libs/v0/data_interfaces.py", line 2035, in _load_secrets_from_databag
requested_secrets = get_encoded_list(relation, self.local_unit, REQ_SECRET_FIELDS)
File "/home/ubuntu/actions-runner/_work/github-runner-operator/github-runner-operator/lib/charms/data_platform_libs/v0/data_interfaces.py", line 540, in get_encoded_list
data = json.loads(relation.data[member].get(field, "[]"))
KeyError:
_________ test_reactive_config_from_database_integration_data_missing __________
Traceback (most recent call last):
File "/home/ubuntu/actions-runner/_work/github-runner-operator/github-runner-operator/.tox/unit/lib/python3.10/site-packages/_pytest/runner.py", line 344, in from_call
result: TResult | None = func()
File "/home/ubuntu/actions-runner/_work/github-runner-operator/github-runner-operator/.tox/unit/lib/python3.10/site-packages/_pytest/runner.py", line 246, in
lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise
File "/home/ubuntu/actions-runner/_work/github-runner-operator/github-runner-operator/.tox/unit/lib/python3.10/site-packages/pluggy/_hooks.py", line 512, in call
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
File "/home/ubuntu/actions-runner/_work/github-runner-operator/github-runner-operator/.tox/unit/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/home/ubuntu/actions-runner/_work/github-runner-operator/github-runner-operator/.tox/unit/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall
raise exception
File "/home/ubuntu/actions-runner/_work/github-runner-operator/github-runner-operator/.tox/unit/lib/python3.10/site-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/home/ubuntu/actions-runner/_work/github-runner-operator/github-runner-operator/.tox/unit/lib/python3.10/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call
yield
File "/home/ubuntu/actions-runner/_work/github-runner-operator/github-runner-operator/.tox/unit/lib/python3.10/site-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/home/ubuntu/actions-runner/_work/github-runner-operator/github-runner-operator/.tox/unit/lib/python3.10/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call
return (yield)
File "/home/ubuntu/actions-runner/_work/github-runner-operator/github-runner-operator/.tox/unit/lib/python3.10/site-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/home/ubuntu/actions-runner/_work/github-runner-operator/github-runner-operator/.tox/unit/lib/python3.10/site-packages/_pytest/skipping.py", line 263, in pytest_runtest_call
return (yield)
File "/home/ubuntu/actions-runner/_work/github-runner-operator/github-runner-operator/.tox/unit/lib/python3.10/site-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
File "/home/ubuntu/actions-runner/_work/github-runner-operator/github-runner-operator/.tox/unit/lib/python3.10/site-packages/_pytest/runner.py", line 178, in pytest_runtest_call
item.runtest()
File "/home/ubuntu/actions-runner/_work/github-runner-operator/github-runner-operator/.tox/unit/lib/python3.10/site-packages/_pytest/python.py", line 1671, in runtest
self.ihook.pytest_pyfunc_call(pyfuncitem=self)
File "/home/ubuntu/actions-runner/_work/github-runner-operator/github-runner-operator/.tox/unit/lib/python3.10/site-packages/pluggy/_hooks.py", line 512, in call
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
File "/home/ubuntu/actions-runner/_work/github-runner-operator/github-runner-operator/.tox/unit/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/home/ubuntu/actions-runner/_work/github-runner-operator/github-runner-operator/.tox/unit/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall
raise exception
File "/home/ubuntu/actions-runner/_work/github-runner-operator/github-runner-operator/.tox/unit/lib/python3.10/site-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
File "/home/ubuntu/actions-runner/_work/github-runner-operator/github-runner-operator/.tox/unit/lib/python3.10/site-packages/_pytest/python.py", line 157, in pytest_pyfunc_call
result = testfunction(**testargs)
File "/home/ubuntu/actions-runner/_work/github-runner-operator/github-runner-operator/tests/unit/test_charm_state.py", line 706, in test_reactive_config_from_database_integration_data_missing
charm_state.ReactiveConfig.from_database(database)
File "/home/ubuntu/actions-runner/_work/github-runner-operator/github-runner-operator/src/charm_state.py", line 788, in from_database
relation_data = list(database.fetch_relation_data(fields=[uri_field]).values())
File "/home/ubuntu/actions-runner/_work/github-runner-operator/github-runner-operator/lib/charms/data_platform_libs/v0/data_interfaces.py", line 1680, in fetch_relation_data
data[relation.id] = self._fetch_specific_relation_data(relation, fields)
File "/home/ubuntu/actions-runner/_work/github-runner-operator/github-runner-operator/lib/charms/data_platform_libs/v0/data_interfaces.py", line 1188, in _fetch_specific_relation_data
self._load_secrets_from_databag(relation)
File "/home/ubuntu/actions-runner/_work/github-runner-operator/github-runner-operator/lib/charms/data_platform_libs/v0/data_interfaces.py", line 2035, in _load_secrets_from_databag
requested_secrets = get_encoded_list(relation, self.local_unit, REQ_SECRET_FIELDS)
File "/home/ubuntu/actions-runner/_work/github-runner-operator/github-runner-operator/lib/charms/data_platform_libs/v0/data_interfaces.py", line 540, in get_encoded_list
data = json.loads(relation.data[member].get(field, "[]"))
KeyError:
=============================== warnings summary ===============================
tests/unit/test_charm.py: 13 warnings
/home/ubuntu/actions-runner/_work/github-runner-operator/github-runner-operator/tests/unit/test_charm.py:149: PendingDeprecationWarning: Harness is deprecated. For the recommended approach, see: https://ops.readthedocs.io/en/latest/howto/write-unit-tests-for-a-charm.html
harness = Harness(GithubRunnerCharm)

tests/unit/test_charm.py::test__on_config_changed_flush[Path]
tests/unit/test_charm.py::test__on_config_changed_flush[Token]
tests/unit/test_charm.py::test__on_config_changed_flush[Labels]
/home/ubuntu/actions-runner/_work/github-runner-operator/github-runner-operator/tests/unit/test_charm.py:263: PendingDeprecationWarning: Harness is deprecated. For the recommended approach, see: https://ops.readthedocs.io/en/latest/howto/write-unit-tests-for-a-charm.html
harness = Harness(GithubRunnerCharm)

tests/unit/test_charm.py::test__on_config_changed_no_flush[Path]
tests/unit/test_charm.py::test__on_config_changed_no_flush[Token]
tests/unit/test_charm.py::test__on_config_changed_no_flush[Labels]
/home/ubuntu/actions-runner/_work/github-runner-operator/github-runner-operator/tests/unit/test_charm.py:292: PendingDeprecationWarning: Harness is deprecated. For the recommended approach, see: https://ops.readthedocs.io/en/latest/howto/write-unit-tests-for-a-charm.html
harness = Harness(GithubRunnerCharm)

tests/unit/test_charm.py::test_check_runners_action_with_errors
/home/ubuntu/actions-runner/_work/github-runner-operator/github-runner-operator/tests/unit/test_charm.py:379: PendingDeprecationWarning: Harness is deprecated. For the recommended approach, see: https://ops.readthedocs.io/en/latest/howto/write-unit-tests-for-a-charm.html
harness = Harness(GithubRunnerCharm)

tests/unit/test_charm.py::test_openstack_image_ready_status[Image integration missing.]
tests/unit/test_charm.py::test_openstack_image_ready_status[Image not ready.]
tests/unit/test_charm.py::test_openstack_image_ready_status[Valid image integration.]
/home/ubuntu/actions-runner/_work/github-runner-operator/github-runner-operator/tests/unit/test_charm.py:499: PendingDeprecationWarning: Harness is deprecated. For the recommended approach, see: https://ops.readthedocs.io/en/latest/howto/write-unit-tests-for-a-charm.html
harness = Harness(GithubRunnerCharm)

tests/unit/test_charm.py::test__on_image_relation_image_not_ready
/home/ubuntu/actions-runner/_work/github-runner-operator/github-runner-operator/tests/unit/test_charm.py:517: PendingDeprecationWarning: Harness is deprecated. For the recommended approach, see: https://ops.readthedocs.io/en/latest/howto/write-unit-tests-for-a-charm.html
harness = Harness(GithubRunnerCharm)

tests/unit/test_charm.py::test__on_image_relation_image_ready
/home/ubuntu/actions-runner/_work/github-runner-operator/github-runner-operator/tests/unit/test_charm.py:535: PendingDeprecationWarning: Harness is deprecated. For the recommended approach, see: https://ops.readthedocs.io/en/latest/howto/write-unit-tests-for-a-charm.html
harness = Harness(GithubRunnerCharm)

tests/unit/test_charm.py::test__on_image_relation_joined
/home/ubuntu/actions-runner/_work/github-runner-operator/github-runner-operator/tests/unit/test_charm.py:554: PendingDeprecationWarning: Harness is deprecated. For the recommended approach, see: https://ops.readthedocs.io/en/latest/howto/write-unit-tests-for-a-charm.html
harness = Harness(GithubRunnerCharm)

tests/unit/test_charm.py::test_on_config_changed_openstack_clouds_yaml
/home/ubuntu/actions-runner/_work/github-runner-operator/github-runner-operator/tests/unit/test_charm.py:588: PendingDeprecationWarning: Harness is deprecated. For the recommended approach, see: https://ops.readthedocs.io/en/latest/howto/write-unit-tests-for-a-charm.html
harness = Harness(GithubRunnerCharm)

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED tests/unit/test_charm_state.py::test_reactive_config_from_charm - KeyE...
FAILED tests/unit/test_charm_state.py::test_reactive_config_from_database_integration_data_missing
================== 2 failed, 197 passed, 27 warnings in 2.97s ==================

Copy link
Contributor

Test results for commit 6d932a0

Test coverage for 6d932a0

Wrote XML report to coverage/coverage.xml

Static code analysis report

Run started:2025-07-28 03:43:35.090233

Test results:
  No issues identified.

Code scanned:
  Total lines of code: 2024
  Total lines skipped (#nosec): 2
  Total potential issues skipped due to specifically being disabled (e.g., #nosec BXXX): 1

Run metrics:
  Total issues (by severity):
  	Undefined: 0
  	Low: 0
  	Medium: 0
  	High: 0
  Total issues (by confidence):
  	Undefined: 0
  	Low: 0
  	Medium: 0
  	High: 0
Files skipped (0):

@github-actions github-actions bot force-pushed the chore/auto-libs branch 8 times, most recently from 8e61b46 to 99d7a54 Compare August 5, 2025 01:31
@github-actions github-actions bot force-pushed the chore/auto-libs branch 4 times, most recently from 866dc29 to 335985f Compare August 9, 2025 01:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants