Skip to content

Commit

Permalink
Allure report 2239
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Oct 16, 2024
1 parent f52d3c4 commit cb9f72a
Show file tree
Hide file tree
Showing 202 changed files with 3,016 additions and 2 deletions.
2 changes: 2 additions & 0 deletions 2239/app.js

Large diffs are not rendered by default.

25 changes: 25 additions & 0 deletions 2239/data/attachments/13bda5d05ce64a84.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
INFO  juju.model:model.py:2972 Waiting for model:
pgbouncer-k8s (waiting for exactly 3 units, current : 2)
INFO  juju.model:model.py:2972 Waiting for model:
pgbouncer-k8s/0 [executing] active:
pgbouncer-k8s/1 [executing] active:
pgbouncer-k8s/2 [executing] maintenance: installing charm software
INFO  juju.model:model.py:2972 Waiting for model:
pgbouncer-k8s/0 [idle] active:
pgbouncer-k8s/1 [idle] active:
pgbouncer-k8s/2 [executing] active:
INFO  juju.model:model.py:2972 Waiting for model:
pgbouncer-k8s/0 [executing] active:
pgbouncer-k8s/1 [executing] active:
pgbouncer-k8s/2 [executing] active:
INFO  juju.model:model.py:2972 Waiting for model:
pgbouncer-k8s/0 [idle] active:
pgbouncer-k8s/1 [idle] active:
pgbouncer-k8s/2 [idle] active:
postgresql-test-app/0 [idle] active: received database credentials of the first database
postgresql-k8s/0 [idle] active:
postgresql-k8s/1 [executing] active:
postgresql-k8s/2 [idle] active: Primary
self-signed-certificates/0 [idle] active:
INFO  juju.model:model.py:2972 Waiting for model:
postgresql-k8s/1 [executing] active:
6 changes: 6 additions & 0 deletions 2239/data/attachments/146e9283b5a81212.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
INFO  pytest_operator.plugin:plugin.py:766 Connecting to existing model microk8s-localhost:test on unspecified cloud
INFO  juju.model:model.py:2098 Deploying local:jammy/pgbouncer-k8s-0
INFO  juju.model:model.py:2972 Waiting for model:
pgbouncer-k8s/0 [allocating] waiting: installing agent
INFO  juju.model:model.py:2972 Waiting for model:
pgbouncer-k8s/0 [idle] blocked: waiting for backend database relation to initialise
12 changes: 12 additions & 0 deletions 2239/data/attachments/1a4eb64b5538155a.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
INFO  juju.model:model.py:2972 Waiting for model:
pgbouncer-k8s (waiting for exactly 2 units, current : 3)
INFO  juju.model:model.py:2972 Waiting for model:
pgbouncer-k8s (waiting for exactly 2 units, current : 3)
INFO  juju.model:model.py:2972 Waiting for model:
pgbouncer-k8s/0 [idle] active:
pgbouncer-k8s/1 [idle] active:
postgresql-test-app/0 [idle] active: received database credentials of the first database
postgresql-k8s/0 [idle] active:
postgresql-k8s/1 [idle] active:
postgresql-k8s/2 [idle] active: Primary
self-signed-certificates/0 [idle] active:
55 changes: 55 additions & 0 deletions 2239/data/attachments/1c053ed5f1a07089.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
INFO  juju.model:model.py:2098 Deploying ch:amd64/focal/finos-waltz-k8s-33
INFO  juju.model:model.py:2098 Deploying ch:amd64/jammy/postgresql-k8s-423
INFO  juju.model:model.py:2972 Waiting for model:
pgbouncer-k8s/0 [idle] blocked: waiting for backend database relation to initialise
pgbouncer-k8s/1 [idle] blocked: waiting for backend database relation to initialise
pgbouncer-k8s/2 [idle] blocked: waiting for backend database relation to initialise
INFO  juju.model:model.py:2972 Waiting for model:
postgresql-k8s/0 [allocating] waiting: installing agent
postgresql-k8s/1 [allocating] waiting: installing agent
postgresql-k8s/2 [allocating] waiting: installing agent
INFO  juju.model:model.py:2972 Waiting for model:
postgresql-k8s/0 [allocating] waiting: agent initialising
postgresql-k8s/1 [allocating] waiting: agent initialising
postgresql-k8s/2 [allocating] waiting: agent initialising
INFO  juju.model:model.py:2972 Waiting for model:
postgresql-k8s/0 [executing] unknown:
postgresql-k8s/1 [executing] unknown:
postgresql-k8s/2 [executing] unknown:
INFO  juju.model:model.py:2972 Waiting for model:
postgresql-k8s/0 [executing] waiting: awaiting for cluster to start
postgresql-k8s/1 [executing] unknown:
postgresql-k8s/2 [executing] unknown:
INFO  juju.model:model.py:2972 Waiting for model:
postgresql-k8s/0 [executing] active: Primary
postgresql-k8s/1 [executing] unknown:
postgresql-k8s/2 [executing] unknown:
INFO  juju.model:model.py:2972 Waiting for model:
postgresql-k8s/0 [idle] active: Primary
postgresql-k8s/1 [idle] waiting: awaiting for cluster to start
postgresql-k8s/2 [idle] waiting: awaiting for cluster to start
INFO  juju.model:model.py:2972 Waiting for model:
postgresql-k8s/0 [idle] active: Primary
postgresql-k8s/1 [idle] waiting: awaiting for cluster to start
postgresql-k8s/2 [idle] waiting: awaiting for cluster to start
INFO  juju.model:model.py:2972 Waiting for model:
postgresql-k8s/0 [idle] maintenance: reconfiguring cluster
postgresql-k8s/1 [idle] active:
postgresql-k8s/2 [idle] waiting: awaiting for cluster to start
INFO  juju.model:model.py:2972 Waiting for model:
postgresql-k8s/0 [idle] active: Primary
postgresql-k8s/1 [idle] active:
postgresql-k8s/2 [idle] waiting: awaiting for member to start
INFO  juju.model:model.py:2972 Waiting for model:
postgresql-k8s/0 [idle] active: Primary
postgresql-k8s/1 [idle] active:
postgresql-k8s/2 [idle] active:
WARNING  juju.model:model.py:1564 relate is deprecated and will be removed. Use integrate instead.
INFO  juju.model:model.py:2972 Waiting for model:
pgbouncer-k8s/0 [idle] blocked: waiting for backend database relation to initialise
pgbouncer-k8s/1 [idle] blocked: waiting for backend database relation to initialise
pgbouncer-k8s/2 [idle] blocked: waiting for backend database relation to initialise
INFO  juju.model:model.py:2972 Waiting for model:
postgresql-k8s/0 [idle] active: Primary
postgresql-k8s/1 [idle] active:
postgresql-k8s/2 [idle] active:
25 changes: 25 additions & 0 deletions 2239/data/attachments/1e72adf5a84c2727.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
INFO  pytest_operator.plugin:plugin.py:766 Connecting to existing model microk8s-localhost:test on unspecified cloud
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-71' coro=<Connection.reconnect() done, defined at /home/runner/work/pgbouncer-k8s-operator/pgbouncer-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/runner/work/pgbouncer-k8s-operator/pgbouncer-k8s-operator/.tox/integration/lib/python3.10/site-packages/juju/client/connection.py", line 788, in reconnect
res = await connector(
File "/home/runner/work/pgbouncer-k8s-operator/pgbouncer-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/runner/work/pgbouncer-k8s-operator/pgbouncer-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/runner/work/pgbouncer-k8s-operator/pgbouncer-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/runner/work/pgbouncer-k8s-operator/pgbouncer-k8s-operator/.tox/integration/lib/python3.10/site-packages/juju/client/connection.py", line 427, in _open
return (await websockets.connect(
File "/home/runner/work/pgbouncer-k8s-operator/pgbouncer-k8s-operator/.tox/integration/lib/python3.10/site-packages/websockets/legacy/client.py", line 654, 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
INFO  integration.test_trust:test_trust.py:61 Response from rbac check ('no' means enabled): no
15 changes: 15 additions & 0 deletions 2239/data/attachments/233fbfed79105bde.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
INFO  pytest_operator.plugin:plugin.py:903 Model status:

Model Controller Cloud/Region Version SLA Timestamp
test microk8s-localhost microk8s/localhost 3.4.6 unsupported 01:44:20Z

App Version Status Scale Charm Channel Rev Address Exposed Message
pgbouncer-k8s 1.21.0 waiting 1 pgbouncer-k8s 0 10.152.183.192 no installing agent

Unit Workload Agent Address Ports Message
pgbouncer-k8s/0* blocked idle 10.1.16.200 waiting for backend database relation to initialise

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


INFO  pytest_operator.plugin:plugin.py:991 Forgetting model main...
100 changes: 100 additions & 0 deletions 2239/data/attachments/297ad3f476f54475.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
INFO  httpx:_client.py:1786 HTTP Request: DELETE https://10.1.0.72:16443/api/v1/namespaces/test/pods/pgbouncer-k8s-0 "HTTP/1.1 200 OK"
INFO  juju.model:model.py:2972 Waiting for model:
postgresql-test-app/0 [idle] active:
postgresql-k8s/0 [idle] active: Primary
postgresql-k8s/1 [idle] active:
pgbouncer-k8s/0 [executing] maintenance: stopping charm software
pgbouncer-k8s/1 [idle] active:
secondary-application/0 [idle] active: received database credentials of the second database
finos-waltz-k8s/0 [idle] active:
pgbouncer-k8s-secondary/0 [idle] active:
data-integrator/0 [idle] active:
indico/0 [idle] active:
redis-broker/0 [idle] active:
redis-cache/0 [idle] active:
INFO  juju.model:model.py:2972 Waiting for model:
pgbouncer-k8s/0 [idle] active:
pgbouncer-k8s/1 [idle] active:
INFO  pytest_operator.plugin:plugin.py:903 Model status:

Model Controller Cloud/Region Version SLA Timestamp
test microk8s-localhost microk8s/localhost 3.4.6 unsupported 02:04:19Z

App Version Status Scale Charm Channel Rev Address Exposed Message
data-integrator active 1 data-integrator latest/edge 71 10.152.183.182 no
finos-waltz-k8s active 1 finos-waltz-k8s latest/edge 33 10.152.183.78 no
indico 3.3.1 active 1 indico latest/stable 213 10.152.183.57 no
pgbouncer-k8s 1.21.0 active 2 pgbouncer-k8s 0 10.152.183.181 no
pgbouncer-k8s-secondary 1.21.0 active 1 pgbouncer-k8s 1 10.152.183.51 no
postgresql-k8s 14.13 active 2 postgresql-k8s 14/edge 423 10.152.183.244 no
postgresql-test-app active 1 postgresql-test-app latest/edge 263 10.152.183.189 no
redis-broker ubuntu/redis@691f315 active 1 redis-k8s latest/stable 7 no
redis-cache ubuntu/redis@691f315 active 1 redis-k8s latest/stable 7 no
secondary-application active 1 postgresql-test-app latest/edge 263 10.152.183.124 no received database credentials of the second database

Unit Workload Agent Address Ports Message
data-integrator/0* active idle 10.1.16.212
finos-waltz-k8s/0* active idle 10.1.16.209
indico/0* active idle 10.1.16.216
pgbouncer-k8s-secondary/0* active idle 10.1.16.210
pgbouncer-k8s/0* active idle 10.1.16.220
pgbouncer-k8s/1 active idle 10.1.16.211
postgresql-k8s/0* active idle 10.1.16.205 Primary
postgresql-k8s/1 active idle 10.1.16.206
postgresql-test-app/0* active idle 10.1.16.200
redis-broker/0* active idle 10.1.16.217 6379/TCP
redis-cache/0* active idle 10.1.16.219 6379/TCP
secondary-application/0* active idle 10.1.16.208 received database credentials of the second database

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

unit-postgresql-test-app-0: 01:48:19 ERROR unit.postgresql-test-app/0.juju-log Uncaught exception while in charm code:
Traceback (most recent call last):
File "/var/lib/juju/agents/unit-postgresql-test-app-0/charm/./src/charm.py", line 538, in <module>
main(ApplicationCharm)
File "/var/lib/juju/agents/unit-postgresql-test-app-0/charm/venv/ops/main.py", line 45, in main
return _main.main(charm_class=charm_class, use_juju_for_storage=use_juju_for_storage)
File "/var/lib/juju/agents/unit-postgresql-test-app-0/charm/venv/ops/_main.py", line 543, in main
manager.run()
File "/var/lib/juju/agents/unit-postgresql-test-app-0/charm/venv/ops/_main.py", line 529, in run
self._emit()
File "/var/lib/juju/agents/unit-postgresql-test-app-0/charm/venv/ops/_main.py", line 518, in _emit
_emit_charm_event(self.charm, self.dispatcher.event_name, self._juju_context)
File "/var/lib/juju/agents/unit-postgresql-test-app-0/charm/venv/ops/_main.py", line 134, in _emit_charm_event
event_to_emit.emit(*args, **kwargs)
File "/var/lib/juju/agents/unit-postgresql-test-app-0/charm/venv/ops/framework.py", line 347, in emit
framework._emit(event)
File "/var/lib/juju/agents/unit-postgresql-test-app-0/charm/venv/ops/framework.py", line 857, in _emit
self._reemit(event_path)
File "/var/lib/juju/agents/unit-postgresql-test-app-0/charm/venv/ops/framework.py", line 947, in _reemit
custom_handler(event)
File "/var/lib/juju/agents/unit-postgresql-test-app-0/charm/./src/charm.py", line 467, in _on_run_sql_action
cursor.execute(query)
psycopg2.errors.ReadOnlySqlTransaction: cannot execute DROP TABLE in a read-only transaction

application-redis-cache: 02:00:58 ERROR unit.redis-cache/0.juju-log redis:19: Uncaught exception while in charm code:
Traceback (most recent call last):
File "./src/charm.py", line 159, in <module>
main(RedisCharm)
File "/var/lib/juju/agents/unit-redis-cache-0/charm/venv/ops/main.py", line 402, in main
_emit_charm_event(charm, dispatcher.event_name)
File "/var/lib/juju/agents/unit-redis-cache-0/charm/venv/ops/main.py", line 140, in _emit_charm_event
event_to_emit.emit(*args, **kwargs)
File "/var/lib/juju/agents/unit-redis-cache-0/charm/venv/ops/framework.py", line 278, in emit
framework._emit(event)
File "/var/lib/juju/agents/unit-redis-cache-0/charm/venv/ops/framework.py", line 722, in _emit
self._reemit(event_path)
File "/var/lib/juju/agents/unit-redis-cache-0/charm/venv/ops/framework.py", line 767, in _reemit
custom_handler(event)
File "/var/lib/juju/agents/unit-redis-cache-0/charm/lib/charms/redis_k8s/v0/redis.py", line 91, in _on_relation_changed
event.relation.data[self.model.unit]['hostname'] = str(self._bind_address(event))
File "/var/lib/juju/agents/unit-redis-cache-0/charm/lib/charms/redis_k8s/v0/redis.py", line 103, in _bind_address
return self.app.name
AttributeError: 'RedisProvides' object has no attribute 'app'
application-redis-cache: 02:00:58 ERROR juju.worker.caasoperator.uniter.redis-cache/0.operation hook "redis-relation-changed" (via hook dispatching script: dispatch) failed: exit status 1
unit-pgbouncer-k8s-0: 02:03:26 ERROR unit.pgbouncer-k8s/0.juju-log Cluster upgrade failed, ensure pre-upgrade checks are ran first.
unit-pgbouncer-k8s-0: 02:03:27 ERROR unit.pgbouncer-k8s/0.juju-log pgbouncer not running
unit-pgbouncer-k8s-0: 02:03:30 ERROR unit.pgbouncer-k8s/0.juju-log pgbouncer not running
unit-pgbouncer-k8s-0: 02:03:31 ERROR unit.pgbouncer-k8s/0.juju-log pgbouncer not running

INFO  pytest_operator.plugin:plugin.py:991 Forgetting model main...
22 changes: 22 additions & 0 deletions 2239/data/attachments/29dff45c775497d4.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
INFO  juju.model:model.py:2972 Waiting for model:
pgbouncer-k8s/0 [executing] blocked: Insufficient permissions, try: `juju trust pgbouncer-k8s --scope=cluster`
INFO  pytest_operator.plugin:plugin.py:903 Model status:

Model Controller Cloud/Region Version SLA Timestamp
test microk8s-localhost microk8s/localhost 3.4.6 unsupported 01:48:08Z

App Version Status Scale Charm Channel Rev Address Exposed Message
pgbouncer-k8s 1.21.0 active 1 pgbouncer-k8s 0 10.152.183.83 no
postgresql-k8s 14.13 active 1 postgresql-k8s 14/edge 423 10.152.183.123 no
postgresql-test-app active 1 postgresql-test-app latest/edge 263 10.152.183.27 no received database credentials of the first database

Unit Workload Agent Address Ports Message
pgbouncer-k8s/0* active idle 10.1.139.202
postgresql-k8s/0* active idle 10.1.139.203 Primary
postgresql-test-app/0* active idle 10.1.139.200 received database credentials of the first database

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

model-04f07056-868c-401c-832f-8e28bc8a7c84: 01:43:32 ERROR juju.kubernetes.klog /build/snapcraft-juju-27634432ee3936b423af54d274639583/parts/jujud/build/worker/caasrbacmapper/mapper.go:79: Failed to watch *v1.ServiceAccount: unknown (get serviceaccounts) - error from a previous attempt: read tcp 10.1.139.199:53868->10.152.183.1:443: read: connection reset by peer

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

0 comments on commit cb9f72a

Please sign in to comment.