Skip to content

Commit

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

Large diffs are not rendered by default.

66 changes: 66 additions & 0 deletions 2352/data/attachments/1444577700d6bb7b.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
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-470
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:
postgresql-k8s/0 [executing] maintenance: installing charm software
postgresql-k8s/1 [executing] maintenance: installing charm software
postgresql-k8s/2 [executing] maintenance: installing charm software
INFO  juju.model:model.py:2972 Waiting for model:
pgbouncer-k8s/0 [executing] maintenance: installing charm software
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 [executing] unknown:
postgresql-k8s/1 [executing] waiting: awaiting for cluster to start
postgresql-k8s/2 [executing] unknown:
INFO  juju.model:model.py:2972 Waiting for model:
postgresql-k8s/0 [executing] unknown:
postgresql-k8s/1 [idle] waiting: awaiting for primary endpoint to be ready
postgresql-k8s/2 [idle] unknown:
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:
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
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
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 [idle] 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:
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: Primary
postgresql-k8s/2 [idle] active:
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://fa48744a-ecf3-40ac-8116-c685c6f6d55c/ctfobia0l3ns7b0vkkvg', 'secret-user': 'secret://fa48744a-ecf3-40ac-8116-c685c6f6d55c/ctfobia0l3ns7b0vkkv0', 'version': '14.13'}
INFO  juju.model:model.py:2972 Waiting for model:
postgresql-k8s/0 [executing] active:
postgresql-k8s/1 [executing] active: Primary
postgresql-k8s/2 [executing] active:
INFO  juju.model:model.py:2972 Waiting for model:
pgbouncer-k8s/0 [executing] active:
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'}}
4 changes: 4 additions & 0 deletions 2352/data/attachments/1ce1b30182ee14b2.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
INFO  root:helpers.py:121 running query:
DROP TABLE IF EXISTS test;CREATE TABLE test(data TEXT);INSERT INTO test(data) VALUES('some data');SELECT data FROM test;
INFO  root:helpers.py:122 {'dbname': 'postgresql_test_app_database', 'query': "DROP TABLE IF EXISTS test;CREATE TABLE test(data TEXT);INSERT INTO test(data) VALUES('some data');SELECT data FROM test;", 'relation-name': 'database', 'readonly': False}
INFO  root:helpers.py:125 query results: {'results': '[["some data"]]', 'return-code': 0}
51 changes: 51 additions & 0 deletions 2352/data/attachments/1e6ca6a17645936c.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
INFO  integration.relations.test_db:test_db.py:183 Deploying test app
INFO  juju.model:model.py:2098 Deploying ch:amd64/jammy/postgresql-test-app-279
WARNING  juju.model:model.py:1564 relate is deprecated and will be removed. Use integrate instead.
INFO  integration.relations.test_db:test_db.py:187 Wait for PGB to block due to extensions
INFO  juju.model:model.py:2972 Waiting for model:
pgbouncer-k8s/0 [executing] active:
pgbouncer-k8s/1 [executing] blocked: bad relation request - remote app requested extensions, which are unsupported. Please remove this relation.
pgbouncer-k8s/2 [executing] active:
INFO  integration.relations.test_db:test_db.py:195 Rerelate with extensions enabled
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:
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-k8s/0 [idle] active:
postgresql-k8s/1 [idle] active: Primary
postgresql-k8s/2 [idle] active:
pgbouncer-k8s/0 [executing] active:
pgbouncer-k8s/1 [idle] active:
pgbouncer-k8s/2 [idle] active:
postgresql-test-app/0 [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:
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:50:56Z

App Version Status Scale Charm Channel Rev Address Exposed Message
pgbouncer-k8s 1.21.0 active 3 pgbouncer-k8s 0 10.152.183.229 no
postgresql-k8s 14.13 active 3 postgresql-k8s 14/edge 470 10.152.183.74 no
postgresql-test-app active 1 postgresql-test-app latest/stable 279 10.152.183.111 no

Unit Workload Agent Address Ports Message
pgbouncer-k8s/0 active idle 10.1.130.137
pgbouncer-k8s/1* active idle 10.1.130.138
pgbouncer-k8s/2 active idle 10.1.130.139
postgresql-k8s/0 active idle 10.1.130.143
postgresql-k8s/1* active idle 10.1.130.144 Primary
postgresql-k8s/2 active idle 10.1.130.145
postgresql-test-app/0* active idle 10.1.130.147

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

unit-pgbouncer-k8s-1: 01:49:44 ERROR unit.pgbouncer-k8s/1.juju-log db:9: ERROR - `extensions` (pg_trgm:public, unaccent:public) cannot be requested through relations - Please enable extensions through `juju config` and add the relation again.

INFO  pytest_operator.plugin:plugin.py:991 Forgetting model main...
8 changes: 8 additions & 0 deletions 2352/data/attachments/1e6ea12128af99b9.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
INFO  root:helpers.py:121 running query:
CREATE DATABASE another_database;
INFO  root:helpers.py:122 {'dbname': 'postgresql_test_app_database', 'query': 'CREATE DATABASE another_database;', 'relation-name': 'database', 'readonly': False}
INFO  root:helpers.py:125 query results: {'results': '["no results to fetch"]', 'return-code': 0}
INFO  root:helpers.py:121 running query:
CREATE USER another_user WITH ENCRYPTED PASSWORD 'test-password';
INFO  root:helpers.py:122 {'dbname': 'postgresql_test_app_database', 'query': "CREATE USER another_user WITH ENCRYPTED PASSWORD 'test-password';", 'relation-name': 'database', 'readonly': False}
INFO  root:helpers.py:125 query results: {'results': '["no results to fetch"]', 'return-code': 0}
11 changes: 11 additions & 0 deletions 2352/data/attachments/1f8f82e427dc9cae.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
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: received database credentials of the first 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:
INFO  httpx:_client.py:1786 HTTP Request: GET https://10.1.0.43:16443/api/v1/namespaces/test/pods/pgbouncer-k8s-0 "HTTP/1.1 200 OK"
INFO  httpx:_client.py:1786 HTTP Request: GET https://10.1.0.43:16443/api/v1/namespaces/test/pods/pgbouncer-k8s-0 "HTTP/1.1 200 OK"
87 changes: 87 additions & 0 deletions 2352/data/attachments/27dc40c930d0e9e9.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
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-269
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_from_stable:test_upgrade_from_stable.py:73 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] waiting: waiting for backend-database relation to connect
postgresql-test-app/0 [idle] active:
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:
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] waiting: waiting for backend-database relation to connect
postgresql-test-app/0 [idle] active: received database credentials of the first database
INFO  juju.model:model.py:2972 Waiting for model:
postgresql-k8s/0 [executing] waiting: awaiting for primary endpoint to be ready
postgresql-k8s/1 [executing] unknown:
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 [executing] waiting: awaiting for primary endpoint to be ready
postgresql-k8s/1 [executing] unknown:
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] active: Primary
postgresql-k8s/1 [idle] unknown:
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] maintenance: reconfiguring cluster
postgresql-k8s/1 [idle] waiting: awaiting for cluster to start
postgresql-k8s/2 [idle] waiting: awaiting for cluster to start
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 [executing] active: Primary
postgresql-k8s/1 [idle] active:
postgresql-k8s/2 [idle] waiting: awaiting for cluster to start
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] waiting: awaiting for member 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: Primary
postgresql-k8s/1 [idle] active:
postgresql-k8s/2 [idle] active:
INFO  juju.model:model.py:2972 Waiting for model:
postgresql-k8s/0 [executing] active: Primary
4 changes: 4 additions & 0 deletions 2352/data/attachments/28194e47e4cb9d54.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
INFO  root:helpers.py:121 running query:
SELECT version();
INFO  root:helpers.py:122 {'dbname': 'postgresql_test_app_database', 'query': 'SELECT version();', 'relation-name': 'database', 'readonly': False}
INFO  root:helpers.py:125 query results: {'results': '[["PostgreSQL 14.13 (Ubuntu 14.13-0ubuntu0.22.04.1) on x86_64-pc-linux-gnu, compiled by gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, 64-bit"]]', 'return-code': 0}
Loading

0 comments on commit 20f8bb1

Please sign in to comment.