Skip to content

Commit

Permalink
Allure report 2067
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Aug 13, 2024
1 parent 681eb8e commit 4457f4e
Show file tree
Hide file tree
Showing 200 changed files with 3,067 additions and 2 deletions.
2 changes: 2 additions & 0 deletions 2067/app.js

Large diffs are not rendered by default.

16 changes: 16 additions & 0 deletions 2067/data/attachments/11b5ea4c04c84659.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
INFO  juju.model:model.py:2972 Waiting for model:
pgbouncer-k8s (waiting for exactly 1 units, current : 2)
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:
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:
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}
21 changes: 21 additions & 0 deletions 2067/data/attachments/12a4100a2597d31a.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
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] blocked: waiting for backend database relation to initialise
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 [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 [idle] active:
100 changes: 100 additions & 0 deletions 2067/data/attachments/12cbc1f9470b27a9.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
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/focal/redis-k8s-7
INFO  juju.model:model.py:2098 Deploying ch:amd64/jammy/postgresql-k8s-349
INFO  juju.model:model.py:2098 Deploying local:jammy/pgbouncer-k8s-0
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
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 [idle] waiting: PgBouncer container currently unavailable
INFO  juju.model:model.py:2972 Waiting for model:
postgresql-k8s/0 [executing] unknown:
postgresql-k8s/1 [executing] unknown:
postgresql-k8s/2 [executing] unknown:
pgbouncer-k8s/0 [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] 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 [executing] unknown:
postgresql-k8s/1 [executing] active: Primary
postgresql-k8s/2 [executing] unknown:
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] 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] blocked: waiting for backend database relation to initialise
redis-k8s/0 [idle] active:
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 cluster to start
pgbouncer-k8s/0 [idle] blocked: waiting for backend database relation to initialise
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
pgbouncer-k8s/0 [idle] active:
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 member to start
pgbouncer-k8s/0 [idle] active:
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:
INFO  juju.model:model.py:2098 Deploying ch:amd64/focal/discourse-charmers-discourse-k8s-28
INFO  juju.model:model.py:2972 Waiting for model:
discourse-charmers-discourse-k8s/0 [allocating] waiting: installing agent
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 [idle] active:
discourse-charmers-discourse-k8s/0 [idle] blocked: db relation is required
redis-k8s/0 [idle] active:
INFO  juju.model:model.py:2972 Waiting for model:
pgbouncer-k8s/0 [idle] active:
discourse-charmers-discourse-k8s/0 [executing] active:
INFO  juju.model:model.py:2972 Waiting for model:
discourse-charmers-discourse-k8s/0 [idle] active:
INFO  juju.model:model.py:2972 Waiting for model:
discourse-charmers-discourse-k8s/0 [idle] active:
INFO  juju.model:model.py:2972 Waiting for model:
discourse-charmers-discourse-k8s/0 [idle] active:
INFO  juju.model:model.py:2972 Waiting for model:
discourse-charmers-discourse-k8s/0 [idle] active:
INFO  juju.model:model.py:2972 Waiting for model:
discourse-charmers-discourse-k8s/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.5 unsupported 01:50:50Z

App Version Status Scale Charm Channel Rev Address Exposed Message
discourse-charmers-discourse-k8s .../discourse:v2.6.1 active 1 discourse-charmers-discourse-k8s latest/stable 28 10.152.183.249 no
pgbouncer-k8s 1.21.0 active 1 pgbouncer-k8s 0 10.152.183.179 no
postgresql-k8s 14.12 active 3 postgresql-k8s 14/edge 349 10.152.183.235 no
redis-k8s ubuntu/redis@691f315 active 1 redis-k8s latest/stable 7 no

Unit Workload Agent Address Ports Message
discourse-charmers-discourse-k8s/0* active idle 10.1.137.147 3000/TCP
pgbouncer-k8s/0* active idle 10.1.137.137
postgresql-k8s/0 active idle 10.1.137.144
postgresql-k8s/1* active idle 10.1.137.143 Primary
postgresql-k8s/2 active idle 10.1.137.142
redis-k8s/0* active idle 10.1.137.145 6379/TCP

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


INFO  pytest_operator.plugin:plugin.py:991 Forgetting model main...
28 changes: 28 additions & 0 deletions 2067/data/attachments/1676919766186dad.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
INFO  juju.model:model.py:2098 Deploying ch:amd64/jammy/postgresql-test-app-217
INFO  juju.model:model.py:2972 Waiting for model:
secondary-application/0 [allocating] waiting: installing agent
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:
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:
secondary-application/0 [idle] active:
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 [executing] active:
pgbouncer-k8s/1 [executing] 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}
INFO  root:helpers.py:121 running query:
DROP TABLE IF EXISTS check_multiple_apps_connected_to_one_cluster;CREATE TABLE check_multiple_apps_connected_to_one_cluster(data TEXT);INSERT INTO check_multiple_apps_connected_to_one_cluster(data) VALUES('some data');SELECT data FROM check_multiple_apps_connected_to_one_cluster;
INFO  root:helpers.py:122 {'dbname': 'secondary_application_database', 'query': "DROP TABLE IF EXISTS check_multiple_apps_connected_to_one_cluster;CREATE TABLE check_multiple_apps_connected_to_one_cluster(data TEXT);INSERT INTO check_multiple_apps_connected_to_one_cluster(data) VALUES('some data');SELECT data FROM check_multiple_apps_connected_to_one_cluster;", 'relation-name': 'database', 'readonly': False}
INFO  root:helpers.py:125 query results: {'results': '[["some data"]]', 'return-code': 0}
INFO  httpx:_client.py:1773 HTTP Request: GET https://10.1.0.21:16443/api/v1/namespaces/test/pods/pgbouncer-k8s-0 "HTTP/1.1 200 OK"
INFO  httpx:_client.py:1773 HTTP Request: GET https://10.1.0.21:16443/api/v1/namespaces/test/pods/pgbouncer-k8s-0 "HTTP/1.1 200 OK"
INFO  integration.relations.pgbouncer_provider.test_pgbouncer_provider:test_pgbouncer_provider.py:332 dbname='postgresql_test_app_database' user='relation_id_7' host='10.1.237.139' password='UY7tb90rS4NVmPrXY8hDpUEW' connect_timeout=10 port=6432
INFO  integration.relations.pgbouncer_provider.test_pgbouncer_provider:test_pgbouncer_provider.py:333 dbname='secondary_application_database' user='relation_id_9' host='10.1.237.139' password='9Fp8DreurMs93f8ukH5GdU1L' connect_timeout=10 port=6432
4 changes: 4 additions & 0 deletions 2067/data/attachments/17a1355c6e066997.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
INFO  juju.model:model.py:2972 Waiting for model:
pgbouncer-k8s/0 [idle] blocked: waiting for backend database relation to initialise
INFO  integration.test_charm:test_charm.py:48 {'databases': {}, 'peers': {'1': 'host=0 port=6464', '2': 'host=1 port=6464', '3': 'host=2 port=6464', '4': 'host=3 port=6464'}, 'pgbouncer': {'peer_id': '1', 'listen_addr': '*', 'listen_port': '6464', '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'}}
INFO  integration.test_charm:test_charm.py:49 {'listen_port': {'default': 6432, 'description': 'The port on which pgbouncer listens for traffic. Corresponds to\nlisten_port in pgbouncer config.\n', 'source': 'user', 'type': 'int', 'value': 6464}, 'max_db_connections': {'default': 100, 'description': 'Do not allow more than this many server connections per database\n(regardless of user). This considers the PgBouncer database that the\nclient has connected to, not the PostgreSQL database of the outgoing\nconnection.\n\nNote that when you hit the limit, closing a client connection to one pool\nwill not immediately allow a server connection to be established for\nanother pool, because the server connection for the first pool is still\nopen. Once the server connection closes (due to idle timeout), a new\nserver connection will immediately be opened for the waiting pool.\n\nThis is used to calculate the following pgbouncer.ini config options,\nwhich are documented in the pgbouncer config docs here:\nhttps://www.pgbouncer.org/config.html.\n\n- Firstly, the number of pgbouncer instances is calculated based on the\n number of CPU cores in the current deployment.\n- effective DB connections = max_db_connections / pgbouncer instances\n- default_pool_size = effective connections / 2\n- min_pool_size = effective connections / 4\n- reserve_pool_size = effective connections / 4\n\nIf max_db_connections is set to 0, the derivatives are set thusly, based\non pgbouncer defaults:\n- default_pool_size = 20\n- min_pool_size = 10\n- reserve_pool_size = 10\n\n0 = unlimited.\n', 'source': 'default', 'type': 'int', 'value': 100}, 'pool_mode': {'default': 'session', 'description': 'Specifies when a server connection can be reused by other clients. Can\nbe one of the following values:\n\nsession\nServer is released back to pool after client disconnects. Default.\n\ntransaction\nServer is released back to pool after transaction finishes.\n\nstatement\nServer is released back to pool after query finishes. Transactions\nspanning multiple statements are disallowed in this mode.\n', 'source': 'default', 'type': 'string', 'value': 'session'}}
30 changes: 30 additions & 0 deletions 2067/data/attachments/18d141b491cfd8b0.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
INFO  juju.model:model.py:2098 Deploying ch:amd64/focal/indico-213
INFO  juju.model:model.py:2098 Deploying ch:amd64/focal/redis-k8s-7
INFO  juju.model:model.py:2098 Deploying ch:amd64/focal/redis-k8s-7
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  juju.model:model.py:2972 Waiting for model:
indico/0 [allocating] waiting: installing agent
INFO  juju.model:model.py:2972 Waiting for model:
indico/0 [allocating] waiting: agent initialising
INFO  juju.model:model.py:2972 Waiting for model:
indico/0 [idle] waiting: Waiting for database availability
INFO  integration.relations.pgbouncer_provider.test_pgbouncer_provider:test_pgbouncer_provider.py:520 Verifying that the charm doesn't block when the extensions are enabled
INFO  juju.model:model.py:2972 Waiting for model:
postgresql-k8s/0 [idle] active: Primary
postgresql-k8s/1 [idle] active:
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:
postgresql-k8s/0 [idle] active: Primary
postgresql-k8s/1 [idle] active:
pgbouncer-k8s/0 [executing] active:
pgbouncer-k8s/1 [executing] active:
indico/0 [executing] waiting: Waiting for database availability
INFO  juju.model:model.py:2972 Waiting for model:
pgbouncer-k8s/0 [idle] active:
pgbouncer-k8s/1 [idle] active:
indico/0 [idle] maintenance: Adding indico layer to pebble
INFO  juju.model:model.py:2972 Waiting for model:
indico/0 [idle] active:
13 changes: 13 additions & 0 deletions 2067/data/attachments/21f736edc6d249cb.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
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:
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:
27 changes: 27 additions & 0 deletions 2067/data/attachments/2660ad09305656d9.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
INFO  pytest_operator.plugin:plugin.py:903 Model status:

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

App Version Status Scale Charm Channel Rev Address Exposed Message
data-integrator active 1 data-integrator latest/edge 41 10.152.183.134 no
pgbouncer-k8s 1.21.0 active 1 pgbouncer-k8s 0 10.152.183.32 no
postgresql-k8s 14.12 active 3 postgresql-k8s 14/edge 349 10.152.183.210 no
postgresql-test-app active 1 postgresql-test-app latest/edge 217 10.152.183.93 no received database credentials of the first database
postgresql-test-app2 active 1 postgresql-test-app latest/edge 217 10.152.183.142 no received database credentials of the first database
self-signed-certificates active 1 self-signed-certificates latest/stable 155 10.152.183.62 no

Unit Workload Agent Address Ports Message
data-integrator/0* active idle 10.1.125.9
pgbouncer-k8s/0* active idle 10.1.125.8
postgresql-k8s/0 active idle 10.1.125.16
postgresql-k8s/1* active idle 10.1.125.18 Primary
postgresql-k8s/2 active idle 10.1.125.17
postgresql-test-app2/0* active idle 10.1.125.14 received database credentials of the first database
postgresql-test-app/0* active idle 10.1.125.10 received database credentials of the first database
self-signed-certificates/0* active idle 10.1.125.15

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


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

0 comments on commit 4457f4e

Please sign in to comment.