Skip to content

Commit

Permalink
Allure report 2287
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Nov 16, 2024
1 parent 34cddcc commit 0f5d141
Show file tree
Hide file tree
Showing 203 changed files with 3,479 additions and 2 deletions.
2 changes: 2 additions & 0 deletions 2287/app.js

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions 2287/data/attachments/1fe0dffe727e9148.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
INFO  root:helpers.py:121 running query:
DROP TABLE test;
INFO  root:helpers.py:122 {'dbname': 'postgresql_test_app_database', 'query': 'DROP TABLE test;', 'relation-name': 'database', 'readonly': True}
INFO  root:helpers.py:125 query results: {'return-code': 1, 'stderr': 'Uncaught ReadOnlySqlTransaction in charm code: cannot execute DROP TABLE in a read-only transaction\n\nUse `juju debug-log` to see the full traceback.\n'}
52 changes: 52 additions & 0 deletions 2287/data/attachments/20815400474a4f55.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
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-279
INFO  juju.model:model.py:2098 Deploying ch:amd64/jammy/postgresql-k8s-457
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 [executing] blocked: PgBouncer service metrics_server not running: service status = ServiceStatus.INACTIVE
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:
INFO  juju.model:model.py:2972 Waiting for model:
pgbouncer-k8s/0 [idle] blocked: Insufficient permissions, try: `juju trust pgbouncer-k8s --scope=cluster`
60 changes: 60 additions & 0 deletions 2287/data/attachments/2207de8f14bc3444.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
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-k8s-457
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:
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:
pgbouncer-k8s/0 [idle] blocked: waiting for backend database relation to initialise
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 [idle] unknown:
postgresql-k8s/1 [idle] unknown:
postgresql-k8s/2 [idle] waiting: awaiting for primary endpoint to be ready
INFO  juju.model:model.py:2972 Waiting for model:
postgresql-k8s/0 [idle] unknown:
postgresql-k8s/1 [idle] unknown:
postgresql-k8s/2 [idle] maintenance: reconfiguring cluster
INFO  juju.model:model.py:2972 Waiting for model:
postgresql-k8s/0 [idle] waiting: awaiting for member to start
postgresql-k8s/1 [idle] waiting: awaiting for cluster to start
postgresql-k8s/2 [idle] active: Primary
INFO  juju.model:model.py:2972 Waiting for model:
postgresql-k8s/0 [idle] active:
postgresql-k8s/1 [idle] waiting: awaiting for cluster to start
postgresql-k8s/2 [idle] maintenance: reconfiguring cluster
INFO  juju.model:model.py:2972 Waiting for model:
postgresql-k8s/0 [idle] active:
postgresql-k8s/1 [idle] waiting: awaiting for member to start
postgresql-k8s/2 [executing] active: Primary
INFO  juju.model:model.py:2972 Waiting for model:
postgresql-k8s/0 [executing] active:
postgresql-k8s/1 [idle] active:
postgresql-k8s/2 [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] blocked: waiting for backend database relation to initialise
postgresql-k8s/0 [idle] active:
postgresql-k8s/1 [idle] active:
postgresql-k8s/2 [idle] active: Primary
INFO  juju.model:model.py:2972 Waiting for model:
pgbouncer-k8s/0 [idle] active:
INFO  root:test_backend_database.py:85 {'databases': {}, 'peers': {'1': 'host=0 port=6432', '2': 'host=1 port=6432', '3': 'host=2 port=6432', '4': 'host=3 port=6432'}, 'pgbouncer': {'peer_id': '1', 'listen_addr': '*', 'listen_port': '6432', 'logfile': '/var/log/pgbouncer/instance_0/pgbouncer.log', 'pidfile': '/var/lib/pgbouncer/instance_0/pgbouncer.pid', 'stats_users': 'pgbouncer_stats_pgbouncer_k8s', 'auth_type': 'md5', 'user': 'postgres', 'max_client_conn': '10000', 'ignore_startup_parameters': 'extra_float_digits,options', 'server_tls_sslmode': 'prefer', 'so_reuseport': '1', 'unix_socket_dir': '/var/lib/pgbouncer/instance_0', 'pool_mode': 'session', 'max_db_connections': '100', 'default_pool_size': '13', 'min_pool_size': '7', 'reserve_pool_size': '7', 'auth_query': 'SELECT username, password FROM pgbouncer_auth_relation_id_5.get_auth($1)', 'auth_file': '/var/lib/pgbouncer/userlist.txt'}}
INFO  root:test_backend_database.py:96 {'data': '{"database": "pgbouncer", "extra-user-roles": "SUPERUSER", "requested-secrets": "[\\"username\\", \\"password\\", \\"tls\\", \\"tls-ca\\", \\"uris\\"]"}', 'database': 'pgbouncer', 'endpoints': 'postgresql-k8s-primary.test.svc.cluster.local:5432', 'read-only-endpoints': 'postgresql-k8s-replicas.test.svc.cluster.local:5432', 'secret-tls': 'secret://4406f5da-87f0-41bf-8f86-7f813ec70294/csrvlkeujvpc74si4gog', 'secret-user': 'secret://4406f5da-87f0-41bf-8f86-7f813ec70294/csrvlkeujvpc74si4go0', 'version': '14.13'}
INFO  juju.model:model.py:2972 Waiting for model:
pgbouncer-k8s/0 [executing] active:
INFO  juju.model:model.py:2972 Waiting for model:
postgresql-k8s/0 [executing] active:
postgresql-k8s/1 [executing] active:
postgresql-k8s/2 [executing] active: Primary
INFO  root:test_backend_database.py:116 {'databases': {}, 'peers': {'1': 'host=0 port=6432', '2': 'host=1 port=6432', '3': 'host=2 port=6432', '4': 'host=3 port=6432'}, 'pgbouncer': {'peer_id': '1', 'listen_addr': '*', 'listen_port': '6432', 'logfile': '/var/log/pgbouncer/instance_0/pgbouncer.log', 'pidfile': '/var/lib/pgbouncer/instance_0/pgbouncer.pid', 'stats_users': '', 'auth_type': 'md5', 'user': 'postgres', 'max_client_conn': '10000', 'ignore_startup_parameters': 'extra_float_digits,options', 'server_tls_sslmode': 'prefer', 'so_reuseport': '1', 'unix_socket_dir': '/var/lib/pgbouncer/instance_0', 'pool_mode': 'session', 'max_db_connections': '100', 'default_pool_size': '13', 'min_pool_size': '7', 'reserve_pool_size': '7', 'auth_query': '', 'auth_file': '/var/lib/pgbouncer/userlist.txt'}}
17 changes: 17 additions & 0 deletions 2287/data/attachments/250951423dadeeaa.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
INFO  juju.model:model.py:2972 Waiting for model:
pgbouncer-k8s (waiting for exactly 2 units, current : 1)
INFO  juju.model:model.py:2972 Waiting for model:
pgbouncer-k8s/0 [executing] active:
pgbouncer-k8s/1 [executing] blocked: waiting for backend database relation to initialise
INFO  juju.model:model.py:2972 Waiting for model:
pgbouncer-k8s/1 [idle] active:
INFO  juju.model:model.py:2972 Waiting for model:
postgresql-test-app/0 [idle] active: received database credentials of the first database
postgresql-k8s/0 [idle] active: Primary
postgresql-k8s/1 [idle] active:
pgbouncer-k8s/0 [idle] active:
pgbouncer-k8s/1 [idle] active:
INFO  root:helpers.py:121 running query:
DROP TABLE IF EXISTS smoke_test;CREATE TABLE smoke_test(data TEXT);INSERT INTO smoke_test(data) VALUES('some data');SELECT data FROM smoke_test;
INFO  root:helpers.py:122 {'dbname': 'postgresql_test_app_database', 'query': "DROP TABLE IF EXISTS smoke_test;CREATE TABLE smoke_test(data TEXT);INSERT INTO smoke_test(data) VALUES('some data');SELECT data FROM smoke_test;", 'relation-name': 'database', 'readonly': False}
INFO  root:helpers.py:125 query results: {'results': '[["some data"]]', 'return-code': 0}
72 changes: 72 additions & 0 deletions 2287/data/attachments/2b227791b8abf85b.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
INFO  integration.test_upgrade_data_integrator:test_upgrade_data_integrator.py:98 Refresh the charm
INFO  integration.test_upgrade_data_integrator:test_upgrade_data_integrator.py:101 Wait for upgrade to start
INFO  integration.test_upgrade_data_integrator:test_upgrade_data_integrator.py:108 Wait for upgrade to complete on first upgrading unit
INFO  juju.model:model.py:2972 Waiting for model:
pgbouncer-k8s/0 [executing] waiting: other units upgrading first...
pgbouncer-k8s/1 [idle] active:
INFO  juju.model:model.py:2972 Waiting for model:
pgbouncer-k8s/0 [idle] waiting: other units upgrading first...
pgbouncer-k8s/1 [idle] active:
INFO  integration.test_upgrade_data_integrator:test_upgrade_data_integrator.py:116 Resume upgrade
INFO  integration.test_upgrade_data_integrator:test_upgrade_data_integrator.py:121 Wait for upgrade to complete
INFO  juju.model:model.py:2972 Waiting for model:
pgbouncer-k8s/0 [executing] maintenance: stopping charm software
pgbouncer-k8s/1 [idle] active:
INFO  juju.model:model.py:2972 Waiting for model:
pgbouncer-k8s/0 [executing] waiting: pgbouncer not running
pgbouncer-k8s/1 [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:54:59Z

App Version Status Scale Charm Channel Rev Address Exposed Message
data-integrator active 2 data-integrator latest/edge 74 10.152.183.179 no
pgbouncer-k8s 1.21.0 active 2 pgbouncer-k8s 0 10.152.183.136 no
postgresql-k8s 14.13 active 3 postgresql-k8s 14/edge 457 10.152.183.181 no

Unit Workload Agent Address Ports Message
data-integrator/0* active idle 10.1.186.8
data-integrator/1 active idle 10.1.186.9
pgbouncer-k8s/0* active idle 10.1.186.19
pgbouncer-k8s/1 active idle 10.1.186.18
postgresql-k8s/0* active idle 10.1.186.15 Primary
postgresql-k8s/1 active idle 10.1.186.17
postgresql-k8s/2 active idle 10.1.186.16

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

unit-postgresql-k8s-1: 01:49:18 ERROR unit.postgresql-k8s/1.juju-log database-peers:5: This operation (update_relation_data()) can only be performed by the leader unit
unit-postgresql-k8s-1: 01:49:18 ERROR unit.postgresql-k8s/1.juju-log database-peers:5: This operation (update_relation_data()) can only be performed by the leader unit
unit-postgresql-k8s-2: 01:49:18 ERROR unit.postgresql-k8s/2.juju-log database-peers:5: This operation (update_relation_data()) can only be performed by the leader unit
unit-postgresql-k8s-2: 01:49:18 ERROR unit.postgresql-k8s/2.juju-log database-peers:5: This operation (update_relation_data()) can only be performed by the leader unit
unit-postgresql-k8s-1: 01:50:53 ERROR unit.postgresql-k8s/1.juju-log database:6: This operation (update_relation_data()) can only be performed by the leader unit
unit-postgresql-k8s-1: 01:50:53 ERROR unit.postgresql-k8s/1.juju-log database:6: This operation (update_relation_data()) can only be performed by the leader unit
unit-postgresql-k8s-1: 01:51:06 ERROR unit.postgresql-k8s/1.juju-log database:6: This operation (update_relation_data()) can only be performed by the leader unit
unit-postgresql-k8s-1: 01:51:06 ERROR unit.postgresql-k8s/1.juju-log database:6: This operation (update_relation_data()) can only be performed by the leader unit
unit-postgresql-k8s-1: 01:51:19 ERROR unit.postgresql-k8s/1.juju-log database:6: This operation (update_relation_data()) can only be performed by the leader unit
unit-postgresql-k8s-1: 01:51:19 ERROR unit.postgresql-k8s/1.juju-log database:6: This operation (update_relation_data()) can only be performed by the leader unit
unit-postgresql-k8s-1: 01:51:31 ERROR unit.postgresql-k8s/1.juju-log database:6: This operation (update_relation_data()) can only be performed by the leader unit
unit-postgresql-k8s-1: 01:51:31 ERROR unit.postgresql-k8s/1.juju-log database:6: This operation (update_relation_data()) can only be performed by the leader unit
unit-postgresql-k8s-1: 01:51:45 ERROR unit.postgresql-k8s/1.juju-log database-peers:5: This operation (update_relation_data()) can only be performed by the leader unit
unit-postgresql-k8s-1: 01:51:45 ERROR unit.postgresql-k8s/1.juju-log database-peers:5: This operation (update_relation_data()) can only be performed by the leader unit
unit-postgresql-k8s-2: 01:51:57 ERROR unit.postgresql-k8s/2.juju-log This operation (update_relation_data()) can only be performed by the leader unit
unit-postgresql-k8s-2: 01:51:57 ERROR unit.postgresql-k8s/2.juju-log This operation (update_relation_data()) can only be performed by the leader unit
unit-postgresql-k8s-2: 01:52:10 ERROR unit.postgresql-k8s/2.juju-log This operation (update_relation_data()) can only be performed by the leader unit
unit-postgresql-k8s-2: 01:52:10 ERROR unit.postgresql-k8s/2.juju-log This operation (update_relation_data()) can only be performed by the leader unit
unit-postgresql-k8s-2: 01:52:23 ERROR unit.postgresql-k8s/2.juju-log This operation (update_relation_data()) can only be performed by the leader unit
unit-postgresql-k8s-2: 01:52:23 ERROR unit.postgresql-k8s/2.juju-log This operation (update_relation_data()) can only be performed by the leader unit
unit-postgresql-k8s-2: 01:52:35 ERROR unit.postgresql-k8s/2.juju-log This operation (update_relation_data()) can only be performed by the leader unit
unit-postgresql-k8s-2: 01:52:35 ERROR unit.postgresql-k8s/2.juju-log This operation (update_relation_data()) can only be performed by the leader unit
unit-pgbouncer-k8s-1: 01:52:50 ERROR unit.pgbouncer-k8s/1.juju-log pgbouncer not running
unit-pgbouncer-k8s-1: 01:52:52 ERROR unit.pgbouncer-k8s/1.juju-log pgbouncer not running
unit-pgbouncer-k8s-1: 01:52:53 ERROR unit.pgbouncer-k8s/1.juju-log pgbouncer not running
unit-pgbouncer-k8s-1: 01:52:54 ERROR unit.pgbouncer-k8s/1.juju-log pgbouncer not running
unit-pgbouncer-k8s-0: 01:53:58 ERROR unit.pgbouncer-k8s/0.juju-log pgbouncer not running
unit-pgbouncer-k8s-0: 01:54:00 ERROR unit.pgbouncer-k8s/0.juju-log pgbouncer not running
unit-pgbouncer-k8s-0: 01:54:01 ERROR unit.pgbouncer-k8s/0.juju-log pgbouncer not running

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

0 comments on commit 0f5d141

Please sign in to comment.