Skip to content

Commit

Permalink
Allure report canonical#101
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jul 4, 2024
1 parent f395893 commit 6b29701
Show file tree
Hide file tree
Showing 220 changed files with 2,296 additions and 2 deletions.
2 changes: 2 additions & 0 deletions 101/app.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions 101/data/attachments/17a855d227fc912a.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
INFO  pytest_operator.plugin:plugin.py:734 Connecting to existing model microk8s-localhost:test on unspecified cloud
150 changes: 150 additions & 0 deletions 101/data/attachments/1ff4a35b6eefdda0.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,150 @@
INFO  juju.model:model.py:2971 Waiting for model:
untrusted-postgresql-k8s/0 [executing] maintenance: installing charm software
untrusted-postgresql-k8s/1 [executing] maintenance: installing charm software
untrusted-postgresql-k8s/2 [executing] blocked: Insufficient permissions, try: `juju trust untrusted-postgresql-k8s --scope=cluster`
INFO  juju.model:model.py:2971 Waiting for model:
untrusted-postgresql-k8s/0 [idle] unknown:
untrusted-postgresql-k8s/1 [idle] unknown:
untrusted-postgresql-k8s/2 [executing] waiting: awaiting for cluster to start
INFO  juju.model:model.py:2971 Waiting for model:
untrusted-postgresql-k8s/0 [idle] unknown:
untrusted-postgresql-k8s/1 [idle] unknown:
untrusted-postgresql-k8s/2 [executing] waiting: awaiting for primary endpoint to be ready
INFO  juju.model:model.py:2971 Waiting for model:
untrusted-postgresql-k8s/0 [idle] unknown:
untrusted-postgresql-k8s/1 [executing] unknown:
untrusted-postgresql-k8s/2 [executing] waiting: awaiting for primary endpoint to be ready
INFO  juju.model:model.py:2971 Waiting for model:
untrusted-postgresql-k8s/0 [idle] unknown:
untrusted-postgresql-k8s/1 [idle] unknown:
untrusted-postgresql-k8s/2 [idle] waiting: awaiting for primary endpoint to be ready
INFO  juju.model:model.py:2971 Waiting for model:
untrusted-postgresql-k8s/0 [idle] unknown:
untrusted-postgresql-k8s/1 [executing] maintenance: stopping charm software
untrusted-postgresql-k8s/2 [idle] active: Primary
INFO  juju.model:model.py:2971 Waiting for model:
untrusted-postgresql-k8s/0 [idle] unknown:
untrusted-postgresql-k8s/1 [executing] waiting: awaiting for cluster to start
untrusted-postgresql-k8s/2 [executing] active: Primary
INFO  juju.model:model.py:2971 Waiting for model:
untrusted-postgresql-k8s/0 [idle] unknown:
untrusted-postgresql-k8s/1 [executing] waiting: awaiting for cluster to start
untrusted-postgresql-k8s/2 [idle] active: Primary
INFO  juju.model:model.py:2971 Waiting for model:
untrusted-postgresql-k8s/0 [idle] waiting: awaiting for cluster to start
untrusted-postgresql-k8s/1 [idle] waiting: awaiting for cluster to start
untrusted-postgresql-k8s/2 [idle] active: Primary
INFO  juju.model:model.py:2971 Waiting for model:
untrusted-postgresql-k8s/0 [idle] waiting: awaiting for member to start
untrusted-postgresql-k8s/1 [executing] waiting: awaiting for cluster to start
untrusted-postgresql-k8s/2 [idle] active: Primary
INFO  juju.model:model.py:2971 Waiting for model:
untrusted-postgresql-k8s/0 [idle] waiting: awaiting for member to start
untrusted-postgresql-k8s/1 [executing] waiting: awaiting for cluster to start
untrusted-postgresql-k8s/2 [idle] maintenance: reconfiguring cluster
INFO  juju.model:model.py:2971 Waiting for model:
untrusted-postgresql-k8s/0 [idle] active:
untrusted-postgresql-k8s/1 [idle] maintenance: stopping charm software
untrusted-postgresql-k8s/2 [idle] active: Primary
INFO  juju.model:model.py:2971 Waiting for model:
untrusted-postgresql-k8s/0 [idle] active:
untrusted-postgresql-k8s/1 [idle] active:
untrusted-postgresql-k8s/2 [executing] maintenance:
INFO  juju.model:model.py:2971 Waiting for model:
untrusted-postgresql-k8s/0 [executing] waiting: awaiting for cluster to start
untrusted-postgresql-k8s/1 [idle] active:
untrusted-postgresql-k8s/2 [idle] waiting: awaiting for cluster to start
INFO  juju.model:model.py:2971 Waiting for model:
untrusted-postgresql-k8s/0 [idle] waiting: awaiting for cluster to start
untrusted-postgresql-k8s/1 [idle] active:
untrusted-postgresql-k8s/2 [idle] waiting: awaiting for cluster to start
INFO  juju.model:model.py:2971 Waiting for model:
untrusted-postgresql-k8s/0 [idle] waiting: awaiting for cluster to start
untrusted-postgresql-k8s/1 [idle] active:
untrusted-postgresql-k8s/2 [idle] waiting: awaiting for cluster to start
INFO  juju.model:model.py:2971 Waiting for model:
untrusted-postgresql-k8s/0 [idle] waiting: awaiting for cluster to start
untrusted-postgresql-k8s/1 [idle] maintenance:
untrusted-postgresql-k8s/2 [idle] waiting: awaiting for cluster to start
INFO  juju.model:model.py:2971 Waiting for model:
untrusted-postgresql-k8s/0 [idle] waiting: awaiting for cluster to start
untrusted-postgresql-k8s/1 [executing] waiting: awaiting for cluster to start
untrusted-postgresql-k8s/2 [idle] waiting: awaiting for cluster to start
INFO  pytest_operator.plugin:plugin.py:862 Model status:

Model Controller Cloud/Region Version SLA Timestamp
test microk8s-localhost microk8s/localhost 3.1.8 unsupported 01:47:42Z

App Version Status Scale Charm Channel Rev Address Exposed Message
untrusted-postgresql-k8s 14.11 waiting 3 postgresql-k8s 0 10.152.183.135 no installing agent

Unit Workload Agent Address Ports Message
untrusted-postgresql-k8s/0 waiting idle 10.1.21.139 awaiting for cluster to start
untrusted-postgresql-k8s/1 error idle 10.1.21.141 hook failed: "upgrade-relation-changed"
untrusted-postgresql-k8s/2* maintenance idle 10.1.21.140 stopping charm software

INFO  pytest_operator.plugin:plugin.py:868 Juju error logs:

model-5e42e8ba-f673-4a9b-84c2-dfdd9250060f: 01:36:41 ERROR juju.kubernetes.klog github.com/juju/juju/worker/caasrbacmapper/mapper.go:79: Failed to watch *v1.ServiceAccount: unknown (get serviceaccounts)
unit-untrusted-postgresql-k8s-2: 01:38:42 ERROR unit.untrusted-postgresql-k8s/2.juju-log
Access to k8s cluster resources is not authorized. This happens when RBAC is enabled and the deployed application was not trusted by the juju admin.
To fix this issue, run `juju trust untrusted-postgresql-k8s --scope=cluster` (or remove & re-deploy untrusted-postgresql-k8s with `--trust`)

unit-untrusted-postgresql-k8s-2: 01:38:42 ERROR unit.untrusted-postgresql-k8s/2.juju-log
Access to k8s cluster resources is not authorized. This happens when RBAC is enabled and the deployed application was not trusted by the juju admin.
To fix this issue, run `juju trust untrusted-postgresql-k8s --scope=cluster` (or remove & re-deploy untrusted-postgresql-k8s with `--trust`)

unit-untrusted-postgresql-k8s-1: 01:44:55 ERROR unit.untrusted-postgresql-k8s/1.juju-log failed to change plugins:
Traceback (most recent call last):
File "/var/lib/juju/agents/unit-untrusted-postgresql-k8s-1/charm/lib/charms/postgresql_k8s/v0/postgresql.py", line 303, in enable_disable_extensions
with self._connect_to_database() as connection, connection.cursor() as cursor:
File "/var/lib/juju/agents/unit-untrusted-postgresql-k8s-1/charm/lib/charms/tempo_k8s/v1/charm_tracing.py", line 544, in wrapped_function
return callable(*args, **kwargs) # type: ignore
File "/var/lib/juju/agents/unit-untrusted-postgresql-k8s-1/charm/lib/charms/postgresql_k8s/v0/postgresql.py", line 127, in _connect_to_database
connection = psycopg2.connect(
File "/var/lib/juju/agents/unit-untrusted-postgresql-k8s-1/charm/venv/psycopg2/__init__.py", line 122, in connect
conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
psycopg2.OperationalError: connection to server at "untrusted-postgresql-k8s-primary.test.svc.cluster.local" (10.152.183.101), port 5432 failed: Connection refused
Is the server running on that host and accepting TCP/IP connections?


During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/var/lib/juju/agents/unit-untrusted-postgresql-k8s-1/charm/./src/charm.py", line 639, in enable_disable_extensions
self.postgresql.enable_disable_extensions(extensions, database)
File "/var/lib/juju/agents/unit-untrusted-postgresql-k8s-1/charm/lib/charms/tempo_k8s/v1/charm_tracing.py", line 544, in wrapped_function
return callable(*args, **kwargs) # type: ignore
File "/var/lib/juju/agents/unit-untrusted-postgresql-k8s-1/charm/lib/charms/postgresql_k8s/v0/postgresql.py", line 327, in enable_disable_extensions
raise PostgreSQLEnableDisableExtensionError()
charms.postgresql_k8s.v0.postgresql.PostgreSQLEnableDisableExtensionError
unit-untrusted-postgresql-k8s-1: 01:47:38 ERROR unit.untrusted-postgresql-k8s/1.juju-log upgrade:2: Uncaught exception while in charm code:
Traceback (most recent call last):
File "/var/lib/juju/agents/unit-untrusted-postgresql-k8s-1/charm/./src/charm.py", line 1837, in <module>
main(PostgresqlOperatorCharm, use_juju_for_storage=True)
File "/var/lib/juju/agents/unit-untrusted-postgresql-k8s-1/charm/venv/ops/main.py", line 548, in main
manager.run()
File "/var/lib/juju/agents/unit-untrusted-postgresql-k8s-1/charm/venv/ops/main.py", line 527, in run
self._emit()
File "/var/lib/juju/agents/unit-untrusted-postgresql-k8s-1/charm/venv/ops/main.py", line 513, in _emit
self.framework.reemit()
File "/var/lib/juju/agents/unit-untrusted-postgresql-k8s-1/charm/venv/ops/framework.py", line 870, in reemit
self._reemit()
File "/var/lib/juju/agents/unit-untrusted-postgresql-k8s-1/charm/venv/ops/framework.py", line 950, in _reemit
custom_handler(event)
File "/var/lib/juju/agents/unit-untrusted-postgresql-k8s-1/charm/lib/charms/tempo_k8s/v1/charm_tracing.py", line 544, in wrapped_function
return callable(*args, **kwargs) # type: ignore
File "/var/lib/juju/agents/unit-untrusted-postgresql-k8s-1/charm/./src/charm.py", line 842, in _on_postgresql_pebble_ready
self.push_tls_files_to_workload(container)
File "/var/lib/juju/agents/unit-untrusted-postgresql-k8s-1/charm/lib/charms/tempo_k8s/v1/charm_tracing.py", line 544, in wrapped_function
return callable(*args, **kwargs) # type: ignore
File "/var/lib/juju/agents/unit-untrusted-postgresql-k8s-1/charm/./src/charm.py", line 1534, in push_tls_files_to_workload
return self.update_config()
File "/var/lib/juju/agents/unit-untrusted-postgresql-k8s-1/charm/lib/charms/tempo_k8s/v1/charm_tracing.py", line 544, in wrapped_function
return callable(*args, **kwargs) # type: ignore
File "/var/lib/juju/agents/unit-untrusted-postgresql-k8s-1/charm/./src/charm.py", line 1659, in update_config
if metrics_service := current_layer.services[self._metrics_service]:
KeyError: 'metrics_server'
unit-untrusted-postgresql-k8s-1: 01:47:38 ERROR juju.worker.uniter.operation hook "upgrade-relation-changed" (via hook dispatching script: dispatch) failed: exit status 1

INFO  pytest_operator.plugin:plugin.py:947 Forgetting model main...
17 changes: 17 additions & 0 deletions 101/data/attachments/2108ef481ea49a36.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
INFO  pytest_operator.plugin:plugin.py:862 Model status:

Model Controller Cloud/Region Version SLA Timestamp
test microk8s-localhost microk8s/localhost 3.1.8 unsupported 01:36:10Z

App Version Status Scale Charm Channel Rev Address Exposed Message
postgresql-k8s waiting 0/3 postgresql-k8s 0 no installing agent

Unit Workload Agent Address Ports Message
postgresql-k8s/0 waiting allocating installing agent
postgresql-k8s/1 waiting allocating installing agent
postgresql-k8s/2 waiting allocating installing agent

INFO  pytest_operator.plugin:plugin.py:868 Juju error logs:


INFO  pytest_operator.plugin:plugin.py:947 Forgetting model main...
26 changes: 26 additions & 0 deletions 101/data/attachments/2c59eeedcc73e80b.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
INFO  juju.model:model.py:2097 Deploying local:postgresql-k8s-0
WARNING  juju.client.connection:connection.py:578 Receiver: Connection closed, reconnecting
ERROR  asyncio:base_events.py:1758 Task exception was never retrieved
future: <Task finished name='Task-234' coro=<Connection.reconnect() done, defined at /home/ubuntu/actions-runner/_work/test-runners-2-is-arm64-postgresql-k8s-operator/test-runners-2-is-arm64-postgresql-k8s-operator/.tox/integration/lib/python3.10/site-packages/juju/client/connection.py:779> exception=OSError(9, 'Bad file descriptor')>
Traceback (most recent call last):
File "/home/ubuntu/actions-runner/_work/test-runners-2-is-arm64-postgresql-k8s-operator/test-runners-2-is-arm64-postgresql-k8s-operator/.tox/integration/lib/python3.10/site-packages/juju/client/connection.py", line 788, in reconnect
res = await connector(
File "/home/ubuntu/actions-runner/_work/test-runners-2-is-arm64-postgresql-k8s-operator/test-runners-2-is-arm64-postgresql-k8s-operator/.tox/integration/lib/python3.10/site-packages/juju/client/connection.py", line 868, in _connect_with_login
await self._connect(endpoints)
File "/home/ubuntu/actions-runner/_work/test-runners-2-is-arm64-postgresql-k8s-operator/test-runners-2-is-arm64-postgresql-k8s-operator/.tox/integration/lib/python3.10/site-packages/juju/client/connection.py", line 817, in _connect
result = await task
File "/usr/lib/python3.10/asyncio/tasks.py", line 571, in _wait_for_one
return f.result() # May raise f.exception().
File "/home/ubuntu/actions-runner/_work/test-runners-2-is-arm64-postgresql-k8s-operator/test-runners-2-is-arm64-postgresql-k8s-operator/.tox/integration/lib/python3.10/site-packages/juju/client/connection.py", line 806, in _try_endpoint
return await self._open(endpoint, cacert)
File "/home/ubuntu/actions-runner/_work/test-runners-2-is-arm64-postgresql-k8s-operator/test-runners-2-is-arm64-postgresql-k8s-operator/.tox/integration/lib/python3.10/site-packages/juju/client/connection.py", line 427, in _open
return (await websockets.connect(
File "/home/ubuntu/actions-runner/_work/test-runners-2-is-arm64-postgresql-k8s-operator/test-runners-2-is-arm64-postgresql-k8s-operator/.tox/integration/lib/python3.10/site-packages/websockets/legacy/client.py", line 647, in __await_impl_timeout__
return await self.__await_impl__()
File "/home/ubuntu/actions-runner/_work/test-runners-2-is-arm64-postgresql-k8s-operator/test-runners-2-is-arm64-postgresql-k8s-operator/.tox/integration/lib/python3.10/site-packages/websockets/legacy/client.py", line 651, in __await_impl__
_transport, _protocol = await self._create_connection()
File "/usr/lib/python3.10/asyncio/base_events.py", line 1103, in create_connection
transport, protocol = await self._create_connection_transport(
File "/usr/lib/python3.10/asyncio/base_events.py", line 1119, in _create_connection_transport
sock.setblocking(False)
OSError: [Errno 9] Bad file descriptor
10 changes: 10 additions & 0 deletions 101/data/attachments/2fb0ce6f5db5a5d6.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
INFO  integration.test_backups:test_backups.py:87 deleting the previously created backups
INFO  pytest_operator.plugin:plugin.py:862 Model status:

Model Controller Cloud/Region Version SLA Timestamp
test microk8s-localhost microk8s/localhost 3.1.8 unsupported 01:36:49Z

INFO  pytest_operator.plugin:plugin.py:868 Juju error logs:


INFO  pytest_operator.plugin:plugin.py:947 Forgetting model main...
18 changes: 18 additions & 0 deletions 101/data/attachments/3eb160c2bfd9e6ab.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
INFO  integration.ha_tests.test_async_replication:test_async_replication.py:85 Destroying second model
INFO  pytest_operator.plugin:plugin.py:862 Model status:

Model Controller Cloud/Region Version SLA Timestamp
test microk8s-localhost microk8s/localhost 3.1.8 unsupported 01:40:34Z

App Version Status Scale Charm Channel Rev Address Exposed Message
postgresql-k8s waiting 0/3 postgresql-k8s 0 10.152.183.57 no installing agent

Unit Workload Agent Address Ports Message
postgresql-k8s/0 waiting allocating installing agent
postgresql-k8s/1 waiting allocating installing agent
postgresql-k8s/2 waiting allocating installing agent

INFO  pytest_operator.plugin:plugin.py:868 Juju error logs:


INFO  pytest_operator.plugin:plugin.py:947 Forgetting model main...
Loading

0 comments on commit 6b29701

Please sign in to comment.