Skip to content

Commit

Permalink
Allure report 2073
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Aug 15, 2024
1 parent f13ae24 commit 72bdf97
Show file tree
Hide file tree
Showing 193 changed files with 2,725 additions and 2 deletions.
2 changes: 2 additions & 0 deletions 2073/app.js

Large diffs are not rendered by default.

16 changes: 16 additions & 0 deletions 2073/data/attachments/22e611dc09d9c422.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-41
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] active:
46 changes: 46 additions & 0 deletions 2073/data/attachments/2959155e84b145f1.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
INFO  integration.test_upgrade:test_upgrade.py:113 starting continuous writes to the database
INFO  integration.test_upgrade:test_upgrade.py:117 checking whether writes are increasing
INFO  httpx:_client.py:1026 HTTP Request: GET https://10.1.0.180: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.180: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.180: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.180: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.180: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.180:16443/api/v1/namespaces/test/pods/postgresql-k8s-1 "HTTP/1.1 200 OK"
INFO  integration.test_upgrade:test_upgrade.py:123 Refresh the charm
INFO  integration.test_upgrade:test_upgrade.py:126 Wait for upgrade to complete on first upgrading unit
INFO  juju.model:model.py:2972 Waiting for model:
pgbouncer-k8s/0 [idle] active:
pgbouncer-k8s/1 [idle] active:
pgbouncer-k8s/2 [idle] active:
INFO  juju.model:model.py:2972 Waiting for model:
pgbouncer-k8s/0 [idle] waiting: other units upgrading first...
pgbouncer-k8s/1 [idle] waiting: other units upgrading first...
pgbouncer-k8s/2 [idle] active:
INFO  integration.test_upgrade:test_upgrade.py:134 Resume upgrade
INFO  integration.test_upgrade:test_upgrade.py:139 Wait for upgrade to complete
INFO  juju.model:model.py:2972 Waiting for model:
pgbouncer-k8s/0 [idle] waiting: other units upgrading first...
pgbouncer-k8s/1 [executing] maintenance: stopping charm software
pgbouncer-k8s/2 [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:
pgbouncer-k8s/2 [idle] active:
INFO  juju.model:model.py:2972 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:2972 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:146 checking whether writes are increasing
INFO  httpx:_client.py:1026 HTTP Request: GET https://10.1.0.180: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.180: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.180: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.180: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.180: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.180:16443/api/v1/namespaces/test/pods/postgresql-k8s-1 "HTTP/1.1 200 OK"
INFO  integration.test_upgrade:test_upgrade.py:151 checking whether no writes were lost
INFO  httpx:_client.py:1026 HTTP Request: GET https://10.1.0.180: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.180:16443/api/v1/namespaces/test/pods/postgresql-k8s-1 "HTTP/1.1 200 OK"
68 changes: 68 additions & 0 deletions 2073/data/attachments/2b7c394a28fdc89a.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
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-356
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
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:
pgbouncer-k8s/0 [executing] blocked: waiting for backend database relation to initialise
INFO  juju.model:model.py:2972 Waiting for model:
postgresql-k8s/0 [allocating] maintenance: installing charm software
postgresql-k8s/1 [allocating] maintenance: installing charm software
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] waiting: awaiting for cluster to start
postgresql-k8s/1 [executing] unknown:
postgresql-k8s/2 [executing] unknown:
INFO  juju.model:model.py:2972 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:2972 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:2972 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: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
INFO  juju.model:model.py:2972 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: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
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:
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: Primary
postgresql-k8s/1 [idle] active:
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: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://9e1ac7e8-6fe5-482b-824c-9b32422467bb/cqulnr0gtd5c7b784vcg', 'version': '14.12'}
INFO  juju.model:model.py:2972 Waiting for model:
postgresql-k8s/0 [executing] active: Primary
postgresql-k8s/1 [executing] active:
postgresql-k8s/2 [executing] active:
INFO  juju.model:model.py:2972 Waiting for model:
pgbouncer-k8s/0 [idle] 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'}}
16 changes: 16 additions & 0 deletions 2073/data/attachments/2c4965421c906d87.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:
postgresql-k8s/1 [idle] active: Primary
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:
postgresql-k8s/1 [idle] active: Primary
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}
4 changes: 4 additions & 0 deletions 2073/data/attachments/309844a169973a2c.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
INFO  integration.test_upgrade:test_upgrade.py:92 Get leader unit
INFO  integration.test_upgrade:test_upgrade.py:98 Run pre-upgrade-check action
INFO  integration.test_upgrade:test_upgrade.py:102 Assert partition is set to 2
INFO  httpx:_client.py:1026 HTTP Request: GET https://10.1.0.180:16443/apis/apps/v1/namespaces/test/statefulsets/pgbouncer-k8s "HTTP/1.1 200 OK"
9 changes: 9 additions & 0 deletions 2073/data/attachments/4bfe14011f7beb65.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:
95 changes: 95 additions & 0 deletions 2073/data/attachments/52ade2936b98361c.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
INFO  httpx:_client.py:1773 HTTP Request: DELETE https://10.1.0.15: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.5 unsupported 01:52:18Z

App Version Status Scale Charm Channel Rev Address Exposed Message
data-integrator active 1 data-integrator latest/edge 41 10.152.183.88 no
finos-waltz-k8s active 1 finos-waltz-k8s latest/edge 33 10.152.183.182 no
indico 3.3.1 active 1 indico latest/stable 213 10.152.183.112 no
pgbouncer-k8s 1.21.0 active 2 pgbouncer-k8s 0 10.152.183.180 no
pgbouncer-k8s-secondary 1.21.0 active 1 pgbouncer-k8s 1 10.152.183.253 no
postgresql-k8s 14.12 active 2 postgresql-k8s 14/edge 356 10.152.183.252 no
postgresql-test-app active 1 postgresql-test-app latest/edge 217 10.152.183.141 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 217 10.152.183.214 no received database credentials of the second database

Unit Workload Agent Address Ports Message
data-integrator/0* active idle 10.1.52.212
finos-waltz-k8s/0* active idle 10.1.52.209
indico/0* active idle 10.1.52.215
pgbouncer-k8s-secondary/0* active idle 10.1.52.210
pgbouncer-k8s/0* active idle 10.1.52.220
pgbouncer-k8s/1 active idle 10.1.52.211
postgresql-k8s/0 active idle 10.1.52.205
postgresql-k8s/1* active idle 10.1.52.206 Primary
postgresql-test-app/0* active idle 10.1.52.200
redis-broker/0* active idle 10.1.52.217 6379/TCP
redis-cache/0* active idle 10.1.52.219 6379/TCP
secondary-application/0* active idle 10.1.52.208 received database credentials of the second database

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

unit-postgresql-test-app-0: 01:36:26 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 538, in <module>
main(ApplicationCharm)
File "/var/lib/juju/agents/unit-postgresql-test-app-0/charm/venv/ops/main.py", line 551, in main
manager.run()
File "/var/lib/juju/agents/unit-postgresql-test-app-0/charm/venv/ops/main.py", line 530, in run
self._emit()
File "/var/lib/juju/agents/unit-postgresql-test-app-0/charm/venv/ops/main.py", line 519, in _emit
_emit_charm_event(self.charm, self.dispatcher.event_name)
File "/var/lib/juju/agents/unit-postgresql-test-app-0/charm/venv/ops/main.py", line 147, 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 348, in emit
framework._emit(event)
File "/var/lib/juju/agents/unit-postgresql-test-app-0/charm/venv/ops/framework.py", line 860, in _emit
self._reemit(event_path)
File "/var/lib/juju/agents/unit-postgresql-test-app-0/charm/venv/ops/framework.py", line 950, in _reemit
custom_handler(event)
File "/var/lib/juju/agents/unit-postgresql-test-app-0/charm/./src/charm.py", line 467, in _on_run_sql_action
cursor.execute(query)
psycopg2.errors.ReadOnlySqlTransaction: cannot execute DROP TABLE in a read-only transaction

application-redis-cache: 01:48:58 ERROR unit.redis-cache/0.juju-log redis:20: 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:48:59 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:51:24 ERROR unit.pgbouncer-k8s/0.juju-log Cluster upgrade failed, ensure pre-upgrade checks are ran first.

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

0 comments on commit 72bdf97

Please sign in to comment.