Skip to content

Commit

Permalink
Allure report 2351
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Dec 15, 2024
1 parent d8f9c05 commit 22f247b
Show file tree
Hide file tree
Showing 203 changed files with 3,062 additions and 2 deletions.
2 changes: 2 additions & 0 deletions 2351/app.js

Large diffs are not rendered by default.

50 changes: 50 additions & 0 deletions 2351/data/attachments/10edc9d408d9ef3f.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
INFO  juju.model:model.py:2098 Deploying local:jammy/pgbouncer-k8s-0
INFO  juju.model:model.py:2098 Deploying ch:amd64/jammy/postgresql-test-app-301
INFO  juju.model:model.py:2098 Deploying ch:amd64/jammy/postgresql-k8s-470
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 [allocating] waiting: installing agent
postgresql-k8s/0 [allocating] waiting: installing agent
INFO  juju.model:model.py:2972 Waiting for model:
pgbouncer-k8s/0 [allocating] waiting: installing agent
postgresql-k8s/0 [allocating] waiting: installing agent
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-659' 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  juju.model:model.py:2972 Waiting for model:
pgbouncer-k8s/0 [executing] maintenance: installing charm software
postgresql-k8s/0 [allocating] waiting: agent initialising
INFO  juju.model:model.py:2972 Waiting for model:
pgbouncer-k8s/0 [idle] blocked: waiting for backend database relation to initialise
postgresql-k8s/0 [executing] unknown:
INFO  juju.model:model.py:2972 Waiting for model:
pgbouncer-k8s/0 [idle] blocked: waiting for backend database relation to initialise
postgresql-k8s/0 [executing] waiting: awaiting for primary endpoint to be ready
INFO  juju.model:model.py:2972 Waiting for model:
pgbouncer-k8s/0 [idle] blocked: waiting for backend database relation to initialise
postgresql-k8s/0 [idle] active: Primary
INFO  juju.model:model.py:2972 Waiting for model:
postgresql-k8s/0 [idle] active: Primary
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] active:
100 changes: 100 additions & 0 deletions 2351/data/attachments/2054909c4bf1d3da.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.79: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:
postgresql-k8s/1 [idle] active: Primary
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 01:56:38Z

App Version Status Scale Charm Channel Rev Address Exposed Message
data-integrator active 1 data-integrator latest/edge 80 10.152.183.234 no
finos-waltz-k8s active 1 finos-waltz-k8s latest/edge 33 10.152.183.147 no
indico 3.3.1 active 1 indico latest/stable 233 10.152.183.148 no
pgbouncer-k8s 1.21.0 active 2 pgbouncer-k8s 0 10.152.183.150 no
pgbouncer-k8s-secondary 1.21.0 active 1 pgbouncer-k8s 1 10.152.183.156 no
postgresql-k8s 14.13 active 2 postgresql-k8s 14/edge 470 10.152.183.57 no
postgresql-test-app active 1 postgresql-test-app latest/edge 301 10.152.183.94 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 301 10.152.183.162 no received database credentials of the second database

Unit Workload Agent Address Ports Message
data-integrator/0* active idle 10.1.133.20
finos-waltz-k8s/0* active idle 10.1.133.17
indico/0* active idle 10.1.133.23
pgbouncer-k8s-secondary/0* active idle 10.1.133.18
pgbouncer-k8s/0* active idle 10.1.133.28
pgbouncer-k8s/1 active idle 10.1.133.19
postgresql-k8s/0 active idle 10.1.133.13
postgresql-k8s/1* active idle 10.1.133.14 Primary
postgresql-test-app/0* active idle 10.1.133.8
redis-broker/0* active idle 10.1.133.25 6379/TCP
redis-cache/0* active idle 10.1.133.27 6379/TCP
secondary-application/0* active idle 10.1.133.16 received database credentials of the second database

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

unit-postgresql-test-app-0: 01:40:13 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 565, in <module>
main(ApplicationCharm)
File "/var/lib/juju/agents/unit-postgresql-test-app-0/charm/venv/ops/__init__.py", line 343, in __call__
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 494, in _on_run_sql_action
cursor.execute(query)
psycopg2.errors.ReadOnlySqlTransaction: cannot execute DROP TABLE in a read-only transaction

application-redis-cache: 01:53:11 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: 01:53:11 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: 01:55:44 ERROR unit.pgbouncer-k8s/0.juju-log Cluster upgrade failed, ensure pre-upgrade checks are ran first.
unit-pgbouncer-k8s-0: 01:55:46 ERROR unit.pgbouncer-k8s/0.juju-log pgbouncer not running
unit-pgbouncer-k8s-0: 01:55:48 ERROR unit.pgbouncer-k8s/0.juju-log pgbouncer not running
unit-pgbouncer-k8s-0: 01:55:50 ERROR unit.pgbouncer-k8s/0.juju-log pgbouncer not running

INFO  pytest_operator.plugin:plugin.py:991 Forgetting model main...
89 changes: 89 additions & 0 deletions 2351/data/attachments/2351b999852e297a.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
INFO  pytest_operator.plugin:plugin.py:766 Connecting to existing model microk8s-localhost:test on unspecified cloud
INFO  juju.model:model.py:2098 Deploying ch:amd64/jammy/postgresql-test-app-301
INFO  juju.model:model.py:2098 Deploying ch:amd64/jammy/pgbouncer-k8s-359
INFO  juju.model:model.py:2098 Deploying ch:amd64/jammy/postgresql-k8s-470
WARNING  juju.model:model.py:1564 relate is deprecated and will be removed. Use integrate instead.
WARNING  juju.model:model.py:1564 relate is deprecated and will be removed. Use integrate instead.
INFO  integration.test_upgrade:test_upgrade.py:79 Wait for applications to become active
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
pgbouncer-k8s/0 [allocating] waiting: installing agent
pgbouncer-k8s/1 [allocating] waiting: installing agent
pgbouncer-k8s/2 [allocating] waiting: installing agent
postgresql-test-app/0 [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
pgbouncer-k8s/0 [executing] maintenance: installing charm software
pgbouncer-k8s/1 [executing] maintenance: installing charm software
pgbouncer-k8s/2 [executing] maintenance: installing charm software
postgresql-test-app/0 [executing] active:
INFO  juju.model:model.py:2972 Waiting for model:
postgresql-k8s/0 [executing] maintenance: installing charm software
postgresql-k8s/1 [executing] maintenance: installing charm software
postgresql-k8s/2 [executing] maintenance: installing charm software
pgbouncer-k8s/0 [executing] blocked: waiting for backend database relation to initialise
pgbouncer-k8s/1 [executing] blocked: waiting for backend database relation to initialise
pgbouncer-k8s/2 [executing] blocked: waiting for backend database relation to initialise
INFO  juju.model:model.py:2972 Waiting for model:
postgresql-k8s/0 [executing] unknown:
postgresql-k8s/1 [executing] waiting: awaiting for cluster to start
postgresql-k8s/2 [executing] unknown:
pgbouncer-k8s/0 [executing] waiting: waiting for backend-database relation to connect
pgbouncer-k8s/1 [executing] blocked: waiting for backend database relation to initialise
pgbouncer-k8s/2 [executing] blocked: waiting for backend database relation to initialise
INFO  juju.model:model.py:2972 Waiting for model:
postgresql-k8s/0 [executing] unknown:
postgresql-k8s/1 [executing] waiting: awaiting for primary endpoint to be ready
postgresql-k8s/2 [executing] unknown:
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] unknown:
postgresql-k8s/1 [executing] waiting: awaiting for primary endpoint to be ready
postgresql-k8s/2 [idle] unknown:
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] unknown:
postgresql-k8s/1 [idle] active: Primary
postgresql-k8s/2 [idle] unknown:
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] waiting: awaiting for cluster to start
postgresql-k8s/1 [idle] active: Primary
postgresql-k8s/2 [idle] waiting: awaiting for cluster to start
pgbouncer-k8s/0 [executing] active:
pgbouncer-k8s/1 [executing] active:
pgbouncer-k8s/2 [executing] active:
postgresql-test-app/0 [idle] active:
INFO  juju.model:model.py:2972 Waiting for model:
postgresql-k8s/0 [idle] waiting: awaiting for cluster to start
postgresql-k8s/1 [executing] maintenance: reconfiguring cluster
postgresql-k8s/2 [idle] waiting: awaiting for cluster to start
INFO  juju.model:model.py:2972 Waiting for model:
postgresql-k8s/0 [idle] waiting: awaiting for member to start
postgresql-k8s/1 [idle] active: Primary
postgresql-k8s/2 [idle] waiting: awaiting for cluster to start
pgbouncer-k8s/0 [idle] active:
pgbouncer-k8s/1 [idle] active:
pgbouncer-k8s/2 [idle] active:
INFO  juju.model:model.py:2972 Waiting for model:
postgresql-k8s/0 [idle] active:
postgresql-k8s/1 [idle] maintenance: reconfiguring cluster
postgresql-k8s/2 [idle] waiting: awaiting for cluster to start
INFO  juju.model:model.py:2972 Waiting for model:
postgresql-k8s/0 [idle] active:
postgresql-k8s/1 [executing] active: Primary
postgresql-k8s/2 [idle] waiting: awaiting for member to start
INFO  juju.model:model.py:2972 Waiting for model:
postgresql-k8s/0 [idle] active:
postgresql-k8s/1 [idle] active: Primary
postgresql-k8s/2 [idle] active:
16 changes: 16 additions & 0 deletions 2351/data/attachments/2806d17fd549d354.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
INFO  juju.model:model.py:2098 Deploying ch:amd64/jammy/data-integrator-80
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:
postgresql-test-app/0 [idle] active:
postgresql-k8s/0 [idle] active:
postgresql-k8s/1 [idle] active: Primary
pgbouncer-k8s/0 [executing] active:
pgbouncer-k8s/1 [executing] 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 [allocating] waiting: installing agent
INFO  juju.model:model.py:2972 Waiting for model:
pgbouncer-k8s/0 [executing] active:
pgbouncer-k8s/1 [executing] active:
data-integrator/0 [idle] blocked: Please relate the data-integrator with the desired product
9 changes: 9 additions & 0 deletions 2351/data/attachments/2ac8e4dcb4f2a7a0.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
INFO  juju.model:model.py:2972 Waiting for model:
postgresql-test-app/0 [executing] active: received database credentials of the second database
postgresql-k8s/0 [idle] active:
postgresql-k8s/1 [idle] active: Primary
pgbouncer-k8s/0 [executing] active:
pgbouncer-k8s/1 [executing] active:
INFO  juju.model:model.py:2972 Waiting for model:
pgbouncer-k8s/0 [idle] active:
pgbouncer-k8s/1 [idle] active:
Loading

0 comments on commit 22f247b

Please sign in to comment.