Skip to content

Commit

Permalink
Allure report #1944
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jul 1, 2024
1 parent 3b9cabe commit f6e5dee
Show file tree
Hide file tree
Showing 192 changed files with 2,757 additions and 2 deletions.
2 changes: 2 additions & 0 deletions 1944/app.js

Large diffs are not rendered by default.

68 changes: 68 additions & 0 deletions 1944/data/attachments/1a0ad4b69e5c04ca.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
INFO  pytest_operator.plugin:plugin.py:734 Connecting to existing model microk8s-localhost:test on unspecified cloud
INFO  juju.model:model.py:2097 Deploying ch:amd64/jammy/postgresql-k8s-292
INFO  juju.model:model.py:2097 Deploying local:jammy/pgbouncer-k8s-0
INFO  juju.model:model.py:2971 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:2971 Waiting for model:
pgbouncer-k8s/0 [allocating] waiting: installing agent
INFO  juju.model:model.py:2971 Waiting for model:
pgbouncer-k8s/0 [executing] blocked: waiting for backend database relation to initialise
INFO  juju.model:model.py:2971 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:2971 Waiting for model:
postgresql-k8s/0 [executing] unknown:
postgresql-k8s/1 [executing] unknown:
postgresql-k8s/2 [executing] unknown:
INFO  juju.model:model.py:2971 Waiting for model:
postgresql-k8s/0 [idle] waiting: awaiting for cluster to start
postgresql-k8s/1 [idle] unknown:
postgresql-k8s/2 [idle] unknown:
INFO  juju.model:model.py:2971 Waiting for model:
postgresql-k8s/0 [executing] active: Primary
postgresql-k8s/1 [idle] unknown:
postgresql-k8s/2 [idle] unknown:
INFO  juju.model:model.py:2971 Waiting for model:
postgresql-k8s/0 [idle] active: Primary
postgresql-k8s/1 [executing] waiting: awaiting for cluster to start
postgresql-k8s/2 [executing] waiting: awaiting for cluster to start
INFO  juju.model:model.py:2971 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:2971 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
INFO  juju.model:model.py:2971 Waiting for model:
postgresql-k8s/0 [idle] maintenance: reconfiguring cluster
postgresql-k8s/1 [idle] waiting: awaiting for member to start
postgresql-k8s/2 [idle] waiting: awaiting for cluster to start
INFO  juju.model:model.py:2971 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:2971 Waiting for model:
postgresql-k8s/0 [idle] active: Primary
postgresql-k8s/1 [idle] active:
postgresql-k8s/2 [idle] active:
WARNING  juju.model:model.py:1563 relate is deprecated and will be removed. Use integrate instead.
INFO  juju.model:model.py:2971 Waiting for model:
pgbouncer-k8s/0 [idle] blocked: waiting for backend database relation to initialise
postgresql-k8s/0 [idle] active: Primary
postgresql-k8s/1 [idle] active:
postgresql-k8s/2 [idle] active:
INFO  juju.model:model.py:2971 Waiting for model:
pgbouncer-k8s/0 [idle] active:
INFO  root:test_backend_database.py:87 {'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:98 {'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-user': 'secret://c2135520-0c9b-4a86-8ee6-b001f4f239f3/cq10h00i8ths75i0vd6g', 'version': '14.11'}
INFO  juju.model:model.py:2971 Waiting for model:
postgresql-k8s/0 [executing] active: Primary
postgresql-k8s/1 [executing] active:
postgresql-k8s/2 [executing] active:
INFO  juju.model:model.py:2971 Waiting for model:
pgbouncer-k8s/0 [executing] active:
INFO  root:test_backend_database.py:118 {'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 1944/data/attachments/1e2ca68ba904f6ee.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
INFO  integration.test_upgrade_from_stable:test_upgrade_from_stable.py:84 Get leader unit
INFO  integration.test_upgrade_from_stable:test_upgrade_from_stable.py:90 Run pre-upgrade-check action
INFO  integration.test_upgrade_from_stable:test_upgrade_from_stable.py:94 Assert partition is set to 2
INFO  httpx:_client.py:1026 HTTP Request: GET https://10.1.0.157:16443/apis/apps/v1/namespaces/test/statefulsets/pgbouncer-k8s "HTTP/1.1 200 OK"
26 changes: 26 additions & 0 deletions 1944/data/attachments/210cb9761737e1a0.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
INFO  juju.model:model.py:2971 Waiting for model:
pgbouncer-k8s/0 [idle] active:
pgbouncer-k8s/1 [idle] active:
pgbouncer-k8s/2 [idle] active:
INFO  juju.model:model.py:2971 Waiting for model:
postgresql-k8s/0 [idle] active:
postgresql-k8s/1 [idle] active: Primary
postgresql-k8s/2 [idle] active:
INFO  juju.model:model.py:2971 Waiting for model:
pgbouncer-k8s/0 [idle] active:
pgbouncer-k8s/1 [idle] active:
pgbouncer-k8s/2 [idle] active:
finos-waltz/0 [idle] active:
INFO  juju.model:model.py:2971 Waiting for model:
pgbouncer-k8s (waiting for exactly 2 units, current : 3)
INFO  juju.model:model.py:2971 Waiting for model:
pgbouncer-k8s/0 [idle] active:
pgbouncer-k8s/1 [idle] active:
INFO  juju.model:model.py:2971 Waiting for model:
postgresql-k8s/0 [idle] active:
postgresql-k8s/1 [idle] active: Primary
postgresql-k8s/2 [idle] active:
INFO  juju.model:model.py:2971 Waiting for model:
pgbouncer-k8s/0 [idle] active:
pgbouncer-k8s/1 [idle] active:
finos-waltz/0 [idle] active:
87 changes: 87 additions & 0 deletions 1944/data/attachments/2384093721c9cd4e.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
INFO  integration.test_upgrade:test_upgrade.py:157 starting continuous writes to the database
INFO  integration.test_upgrade:test_upgrade.py:161 checking whether writes are increasing
INFO  httpx:_client.py:1026 HTTP Request: GET https://10.1.0.98:16443/api/v1/namespaces/test/pods/postgresql-k8s-0 "HTTP/1.1 200 OK"
INFO  httpx:_client.py:1026 HTTP Request: GET https://10.1.0.98:16443/api/v1/namespaces/test/pods/postgresql-k8s-1 "HTTP/1.1 200 OK"
INFO  httpx:_client.py:1026 HTTP Request: GET https://10.1.0.98:16443/api/v1/namespaces/test/pods/postgresql-k8s-0 "HTTP/1.1 200 OK"
INFO  httpx:_client.py:1026 HTTP Request: GET https://10.1.0.98:16443/api/v1/namespaces/test/pods/postgresql-k8s-1 "HTTP/1.1 200 OK"
INFO  httpx:_client.py:1026 HTTP Request: GET https://10.1.0.98:16443/api/v1/namespaces/test/pods/postgresql-k8s-0 "HTTP/1.1 200 OK"
INFO  httpx:_client.py:1026 HTTP Request: GET https://10.1.0.98:16443/api/v1/namespaces/test/pods/postgresql-k8s-1 "HTTP/1.1 200 OK"
INFO  integration.test_upgrade:test_upgrade.py:164 Get leader unit
INFO  integration.test_upgrade:test_upgrade.py:170 Run pre-upgrade-check action
INFO  integration.test_upgrade:test_upgrade.py:181 Inject dependency fault
INFO  integration.test_upgrade:test_upgrade.py:186 Refresh the charm
INFO  integration.test_upgrade:test_upgrade.py:189 Get first upgrading unit
INFO  integration.test_upgrade:test_upgrade.py:193 Wait for upgrade to fail on first upgrading unit
INFO  integration.test_upgrade:test_upgrade.py:200 Ensure continuous_writes while in failure state on remaining units
INFO  httpx:_client.py:1026 HTTP Request: GET https://10.1.0.98:16443/api/v1/namespaces/test/pods/postgresql-k8s-0 "HTTP/1.1 200 OK"
INFO  httpx:_client.py:1026 HTTP Request: GET https://10.1.0.98:16443/api/v1/namespaces/test/pods/postgresql-k8s-1 "HTTP/1.1 200 OK"
INFO  httpx:_client.py:1026 HTTP Request: GET https://10.1.0.98:16443/api/v1/namespaces/test/pods/postgresql-k8s-0 "HTTP/1.1 200 OK"
INFO  httpx:_client.py:1026 HTTP Request: GET https://10.1.0.98:16443/api/v1/namespaces/test/pods/postgresql-k8s-1 "HTTP/1.1 200 OK"
INFO  httpx:_client.py:1026 HTTP Request: GET https://10.1.0.98:16443/api/v1/namespaces/test/pods/postgresql-k8s-0 "HTTP/1.1 200 OK"
INFO  httpx:_client.py:1026 HTTP Request: GET https://10.1.0.98:16443/api/v1/namespaces/test/pods/postgresql-k8s-1 "HTTP/1.1 200 OK"
INFO  integration.test_upgrade:test_upgrade.py:203 Re-run pre-upgrade-check action
INFO  integration.test_upgrade:test_upgrade.py:207 Re-refresh the charm
INFO  juju.model:model.py:2971 Waiting for model:
pgbouncer-k8s/0 [idle] active:
pgbouncer-k8s/1 [idle] blocked: ready to rollback application
pgbouncer-k8s/2 [executing] active:
INFO  juju.model:model.py:2971 Waiting for model:
pgbouncer-k8s/0 [idle] waiting: other units upgrading first...
pgbouncer-k8s/1 [idle] blocked: ready to rollback application
pgbouncer-k8s/2 [executing] active:
INFO  juju.model:model.py:2971 Waiting for model:
pgbouncer-k8s/0 [idle] active:
pgbouncer-k8s/1 [idle] active:
pgbouncer-k8s/2 [idle] active:
INFO  integration.test_upgrade:test_upgrade.py:214 Resume upgrade
INFO  integration.test_upgrade:test_upgrade.py:218 Wait for application to recover
INFO  juju.model:model.py:2971 Waiting for model:
pgbouncer-k8s/0 [idle] active:
pgbouncer-k8s/1 [executing] maintenance:
pgbouncer-k8s/2 [idle] active:
INFO  juju.model:model.py:2971 Waiting for model:
pgbouncer-k8s/0 [idle] waiting: other units upgrading first...
pgbouncer-k8s/1 [idle] active:
pgbouncer-k8s/2 [idle] active:
INFO  juju.model:model.py:2971 Waiting for model:
pgbouncer-k8s/0 [executing] maintenance: upgrading unit
pgbouncer-k8s/1 [idle] active:
pgbouncer-k8s/2 [idle] active:
INFO  juju.model:model.py:2971 Waiting for model:
pgbouncer-k8s/0 [idle] active:
pgbouncer-k8s/1 [idle] active:
pgbouncer-k8s/2 [idle] active:
INFO  integration.test_upgrade:test_upgrade.py:222 Ensure continuous_writes after rollback procedure
INFO  httpx:_client.py:1026 HTTP Request: GET https://10.1.0.98:16443/api/v1/namespaces/test/pods/postgresql-k8s-0 "HTTP/1.1 200 OK"
INFO  httpx:_client.py:1026 HTTP Request: GET https://10.1.0.98:16443/api/v1/namespaces/test/pods/postgresql-k8s-1 "HTTP/1.1 200 OK"
INFO  httpx:_client.py:1026 HTTP Request: GET https://10.1.0.98:16443/api/v1/namespaces/test/pods/postgresql-k8s-0 "HTTP/1.1 200 OK"
INFO  httpx:_client.py:1026 HTTP Request: GET https://10.1.0.98:16443/api/v1/namespaces/test/pods/postgresql-k8s-1 "HTTP/1.1 200 OK"
INFO  httpx:_client.py:1026 HTTP Request: GET https://10.1.0.98:16443/api/v1/namespaces/test/pods/postgresql-k8s-0 "HTTP/1.1 200 OK"
INFO  httpx:_client.py:1026 HTTP Request: GET https://10.1.0.98:16443/api/v1/namespaces/test/pods/postgresql-k8s-1 "HTTP/1.1 200 OK"
INFO  integration.test_upgrade:test_upgrade.py:227 Checking whether no writes were lost
INFO  httpx:_client.py:1026 HTTP Request: GET https://10.1.0.98:16443/api/v1/namespaces/test/pods/postgresql-k8s-0 "HTTP/1.1 200 OK"
INFO  httpx:_client.py:1026 HTTP Request: GET https://10.1.0.98:16443/api/v1/namespaces/test/pods/postgresql-k8s-1 "HTTP/1.1 200 OK"
INFO  pytest_operator.plugin:plugin.py:862 Model status:

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

App Version Status Scale Charm Channel Rev Address Exposed Message
pgbouncer-k8s 1.21.0 active 3 pgbouncer-k8s 2 10.152.183.32 no
postgresql-k8s 14.11 active 3 postgresql-k8s 14/edge 292 10.152.183.216 no
postgresql-test-app active 1 postgresql-test-app edge 166 10.152.183.17 no received database credentials of the first database

Unit Workload Agent Address Ports Message
pgbouncer-k8s/0 active idle 10.1.249.152
pgbouncer-k8s/1* active idle 10.1.249.151
pgbouncer-k8s/2 active idle 10.1.249.150
postgresql-k8s/0 active idle 10.1.249.145
postgresql-k8s/1* active idle 10.1.249.143 Primary
postgresql-k8s/2 active idle 10.1.249.144
postgresql-test-app/0* active idle 10.1.249.136 received database credentials of the first database

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

unit-pgbouncer-k8s-2: 01:43:50 ERROR unit.pgbouncer-k8s/2.juju-log charms.data_platform_libs.v0.upgrade.VersionError - {'message': 'Versions incompatible, charm 1 can not be upgraded to 15.0', 'cause': 'Upgrades only supported for specific versions, charm versions satisfying requirement ^15', 'resolution': ''}

INFO  pytest_operator.plugin:plugin.py:947 Forgetting model main...
28 changes: 28 additions & 0 deletions 1944/data/attachments/294b83d22a550b6a.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
INFO  juju.model:model.py:2097 Deploying ch:amd64/focal/indico-213
INFO  juju.model:model.py:2097 Deploying ch:amd64/focal/redis-k8s-7
INFO  juju.model:model.py:2097 Deploying ch:amd64/focal/redis-k8s-7
WARNING  juju.model:model.py:1563 relate is deprecated and will be removed. Use integrate instead.
WARNING  juju.model:model.py:1563 relate is deprecated and will be removed. Use integrate instead.
INFO  juju.model:model.py:2971 Waiting for model:
indico/0 [allocating] waiting: installing agent
INFO  juju.model:model.py:2971 Waiting for model:
indico/0 [executing] maintenance: installing charm software
INFO  juju.model:model.py:2971 Waiting for model:
indico/0 [idle] waiting: Waiting for database availability
INFO  integration.relations.pgbouncer_provider.test_pgbouncer_provider:test_pgbouncer_provider.py:523 Verifying that the charm doesn't block when the extensions are enabled
INFO  juju.model:model.py:2971 Waiting for model:
postgresql-k8s/0 [executing] active: Primary
postgresql-k8s/1 [executing] active:
INFO  juju.model:model.py:2971 Waiting for model:
postgresql-k8s/0 [idle] active: Primary
WARNING  juju.model:model.py:1563 relate is deprecated and will be removed. Use integrate instead.
INFO  juju.model:model.py:2971 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:2971 Waiting for model:
indico/0 [idle] active:
INFO  juju.model:model.py:2971 Waiting for model:
indico/0 [idle] active:
8 changes: 8 additions & 0 deletions 1944/data/attachments/3015746c24d0027e.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
INFO  root:helpers.py:120 running query:
CREATE DATABASE another_database;
INFO  root:helpers.py:121 {'dbname': 'postgresql_test_app_first_database', 'query': 'CREATE DATABASE another_database;', 'relation-id': 7, 'relation-name': 'first-database', 'readonly': False}
INFO  root:helpers.py:124 query results: {'results': '["no results to fetch"]', 'return-code': 0}
INFO  root:helpers.py:120 running query:
CREATE USER another_user WITH ENCRYPTED PASSWORD 'test-password';
INFO  root:helpers.py:121 {'dbname': 'postgresql_test_app_first_database', 'query': "CREATE USER another_user WITH ENCRYPTED PASSWORD 'test-password';", 'relation-id': 7, 'relation-name': 'first-database', 'readonly': False}
INFO  root:helpers.py:124 query results: {'results': '["no results to fetch"]', 'return-code': 0}
15 changes: 15 additions & 0 deletions 1944/data/attachments/3e3faa15b581f286.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
INFO  pytest_operator.plugin:plugin.py:862 Model status:

Model Controller Cloud/Region Version SLA Timestamp
test microk8s-localhost microk8s/localhost 3.1.8 unsupported 01:34:06Z

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

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

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


INFO  pytest_operator.plugin:plugin.py:947 Forgetting model main...
4 changes: 4 additions & 0 deletions 1944/data/attachments/4089c18a5d7e2d58.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
INFO  root:helpers.py:120 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:121 {'dbname': 'postgresql_test_app_first_database', 'query': "DROP TABLE IF EXISTS test;CREATE TABLE test(data TEXT);INSERT INTO test(data) VALUES('some data');SELECT data FROM test;", 'relation-id': 7, 'relation-name': 'first-database', 'readonly': False}
INFO  root:helpers.py:124 query results: {'results': '[["some data"]]', 'return-code': 0}
12 changes: 12 additions & 0 deletions 1944/data/attachments/4459da0519e3b4a1.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
INFO  juju.model:model.py:2971 Waiting for model:
pgbouncer-k8s (waiting for exactly 2 units, current : 3)
INFO  juju.model:model.py:2971 Waiting for model:
pgbouncer-k8s (waiting for exactly 2 units, current : 3)
INFO  juju.model:model.py:2971 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: Primary
postgresql-k8s/1 [idle] active:
postgresql-k8s/2 [idle] active:
self-signed-certificates/0 [idle] active:
Loading

0 comments on commit f6e5dee

Please sign in to comment.