Skip to content

Commit

Permalink
Allure report 2242
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Oct 17, 2024
1 parent cb9f72a commit 42e1d84
Show file tree
Hide file tree
Showing 203 changed files with 3,046 additions and 2 deletions.
2 changes: 2 additions & 0 deletions 2242/app.js

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions 2242/data/attachments/11f4cf99f89f919c.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, 'stderr': '/var/lib/juju/agents/unit-postgresql-test-app-0/charm/./src/charm.py:538: DeprecationWarning: Calling `ops.main.main()` is deprecated, call `ops.main()` instead\n main(ApplicationCharm)\n'}
21 changes: 21 additions & 0 deletions 2242/data/attachments/1474dce749a21ed9.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/0 [executing] blocked: Insufficient permissions, try: `juju trust pgbouncer-k8s --scope=cluster`
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:34Z

App Version Status Scale Charm Channel Rev Address Exposed Message
pgbouncer-k8s 1.21.0 active 1 pgbouncer-k8s 0 10.152.183.199 no
postgresql-k8s 14.13 active 1 postgresql-k8s 14/edge 423 10.152.183.35 no
postgresql-test-app active 1 postgresql-test-app latest/edge 263 10.152.183.157 no received database credentials of the first database

Unit Workload Agent Address Ports Message
pgbouncer-k8s/0* active idle 10.1.134.137
postgresql-k8s/0* active idle 10.1.134.139 Primary
postgresql-test-app/0* active idle 10.1.134.136 received database credentials of the first database

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


INFO  pytest_operator.plugin:plugin.py:991 Forgetting model main...
4 changes: 4 additions & 0 deletions 2242/data/attachments/256867b6aa8937ce.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
INFO  root:helpers.py:121 running query:
SELECT data FROM test;
INFO  root:helpers.py:122 {'dbname': 'postgresql_test_app_database', 'query': 'SELECT data FROM test;', 'relation-name': 'database', 'readonly': True}
INFO  root:helpers.py:125 query results: {'results': '[["some data"]]', 'return-code': 0, 'stderr': '/var/lib/juju/agents/unit-postgresql-test-app-0/charm/./src/charm.py:538: DeprecationWarning: Calling `ops.main.main()` is deprecated, call `ops.main()` instead\n main(ApplicationCharm)\n'}
100 changes: 100 additions & 0 deletions 2242/data/attachments/324a2d907b65a378.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
INFO  httpx:_client.py:1786 HTTP Request: DELETE https://10.1.0.138: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.6 unsupported 02:07:59Z

App Version Status Scale Charm Channel Rev Address Exposed Message
data-integrator active 1 data-integrator latest/edge 72 10.152.183.175 no
finos-waltz-k8s active 1 finos-waltz-k8s latest/edge 33 10.152.183.125 no
indico 3.3.1 active 1 indico latest/stable 213 10.152.183.20 no
pgbouncer-k8s 1.21.0 active 2 pgbouncer-k8s 0 10.152.183.71 no
pgbouncer-k8s-secondary 1.21.0 active 1 pgbouncer-k8s 1 10.152.183.173 no
postgresql-k8s 14.13 active 2 postgresql-k8s 14/edge 423 10.152.183.72 no
postgresql-test-app active 1 postgresql-test-app latest/edge 263 10.152.183.103 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 263 10.152.183.172 no received database credentials of the second database

Unit Workload Agent Address Ports Message
data-integrator/0* active idle 10.1.186.212
finos-waltz-k8s/0* active idle 10.1.186.209
indico/0* active idle 10.1.186.215
pgbouncer-k8s-secondary/0* active idle 10.1.186.210
pgbouncer-k8s/0* active idle 10.1.186.220
pgbouncer-k8s/1 active idle 10.1.186.211
postgresql-k8s/0 active idle 10.1.186.205
postgresql-k8s/1* active idle 10.1.186.206 Primary
postgresql-test-app/0* active idle 10.1.186.200
redis-broker/0* active idle 10.1.186.217 6379/TCP
redis-cache/0* active idle 10.1.186.219 6379/TCP
secondary-application/0* active idle 10.1.186.208 received database credentials of the second database

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

unit-postgresql-test-app-0: 01:51:56 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 45, in main
return _main.main(charm_class=charm_class, use_juju_for_storage=use_juju_for_storage)
File "/var/lib/juju/agents/unit-postgresql-test-app-0/charm/venv/ops/_main.py", line 543, in main
manager.run()
File "/var/lib/juju/agents/unit-postgresql-test-app-0/charm/venv/ops/_main.py", line 529, in run
self._emit()
File "/var/lib/juju/agents/unit-postgresql-test-app-0/charm/venv/ops/_main.py", line 518, in _emit
_emit_charm_event(self.charm, self.dispatcher.event_name, self._juju_context)
File "/var/lib/juju/agents/unit-postgresql-test-app-0/charm/venv/ops/_main.py", line 134, 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 347, in emit
framework._emit(event)
File "/var/lib/juju/agents/unit-postgresql-test-app-0/charm/venv/ops/framework.py", line 857, in _emit
self._reemit(event_path)
File "/var/lib/juju/agents/unit-postgresql-test-app-0/charm/venv/ops/framework.py", line 947, 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: 02:04:49 ERROR unit.redis-cache/0.juju-log redis:19: 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: 02:04:49 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: 02:07:06 ERROR unit.pgbouncer-k8s/0.juju-log Cluster upgrade failed, ensure pre-upgrade checks are ran first.
unit-pgbouncer-k8s-0: 02:07:08 ERROR unit.pgbouncer-k8s/0.juju-log pgbouncer not running
unit-pgbouncer-k8s-0: 02:07:10 ERROR unit.pgbouncer-k8s/0.juju-log pgbouncer not running
unit-pgbouncer-k8s-0: 02:07:12 ERROR unit.pgbouncer-k8s/0.juju-log pgbouncer not running

INFO  pytest_operator.plugin:plugin.py:991 Forgetting model main...
8 changes: 8 additions & 0 deletions 2242/data/attachments/342af0947eb924c6.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
INFO  juju.model:model.py:2972 Waiting for model:
pgbouncer-k8s/0 [idle] active:
pgbouncer-k8s/1 [executing] active:
postgresql-test-app/0 [idle] active: received database credentials of the first database
postgresql-k8s/0 [idle] active:
postgresql-k8s/1 [idle] active: Primary
postgresql-k8s/2 [idle] active:
self-signed-certificates/0 [executing] active:
9 changes: 9 additions & 0 deletions 2242/data/attachments/367a55f173a012fa.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:
5 changes: 5 additions & 0 deletions 2242/data/attachments/3af206ec1b9dad3e.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
INFO  integration.test_trust:test_trust.py:78 Connection attempt failed: (0)
Reason: Handshake status 500 Internal Server Error -+-+- {'audit-id': '24d1c5b9-25d0-4ebc-bb87-2839b1f2f73b', 'cache-control': 'no-cache, private', 'content-type': 'application/json', 'warning': '299 - "Use tokens from the TokenRequest API or manually created secret-based tokens instead of auto-generated secret-based tokens."', 'date': 'Thu, 17 Oct 2024 01:46:47 GMT', 'content-length': '170'} -+-+- b'{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"error dialing backend: dial tcp 10.1.0.104:10250: connect: connection refused","code":500}\n'

INFO  integration.test_trust:test_trust.py:80 Retrying (1/20)...
INFO  integration.test_trust:test_trust.py:75 Connection established: <class 'juju.client._definitions.FullStatus'>({'applications': {}, 'branches': {}, 'controller_timestamp': '2024-10-17T01:46:50.94491202Z', 'filesystems': [], 'machines': {}, 'model': <class 'juju.client._definitions.ModelStatusInfo'>({'available_version': '', 'cloud_tag': 'cloud-microk8s', 'meter_status': <class 'juju.client._definitions.MeterStatus'>({'color': '', 'message': '', 'unknown_fields': {}}), 'model_status': <class 'juju.client._definitions.DetailedStatus'>({'data': {}, 'err': None, 'info': '', 'kind': '', 'life': '', 'since': '2024-10-17T01:46:07.714188051Z', 'status': 'available', 'version': '', 'unknown_fields': {}}), 'name': 'test', 'region': 'localhost', 'sla': 'unsupported', 'type_': 'caas', 'version': '3.4.6', 'unknown_fields': {}}), 'offers': {}, 'relations': [], 'remote_applications': {}, 'storage': [], 'volumes': [], 'unknown_fields': {}})
55 changes: 55 additions & 0 deletions 2242/data/attachments/4070e4d77ffb165a.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
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 [idle] waiting: other units upgrading first...
pgbouncer-k8s/1 [executing] maintenance: upgrade completed
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] waiting: other units upgrading first...
pgbouncer-k8s/1 [idle] active:
INFO  juju.model:model.py:2972 Waiting for model:
pgbouncer-k8s/0 [executing] maintenance:
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 02:01:15Z

App Version Status Scale Charm Channel Rev Address Exposed Message
data-integrator active 2 data-integrator latest/edge 72 10.152.183.165 no
pgbouncer-k8s 1.21.0 active 2 pgbouncer-k8s 0 10.152.183.78 no
postgresql-k8s 14.13 active 3 postgresql-k8s 14/edge 423 10.152.183.152 no

Unit Workload Agent Address Ports Message
data-integrator/0* active idle 10.1.202.136
data-integrator/1 active idle 10.1.202.137
pgbouncer-k8s/0* active idle 10.1.202.147
pgbouncer-k8s/1 active idle 10.1.202.146
postgresql-k8s/0* active idle 10.1.202.141 Primary
postgresql-k8s/1 active idle 10.1.202.142
postgresql-k8s/2 active idle 10.1.202.143

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

unit-postgresql-k8s-1: 01:54:50 ERROR unit.postgresql-k8s/1.juju-log pgdata folder not found in /var/lib/postgresql/data/pgdata
unit-postgresql-k8s-2: 01:55:34 ERROR unit.postgresql-k8s/2.juju-log pgdata folder not found in /var/lib/postgresql/data/pgdata
unit-pgbouncer-k8s-1: 01:58:47 ERROR unit.pgbouncer-k8s/1.juju-log pgbouncer not running
unit-pgbouncer-k8s-1: 01:58:49 ERROR unit.pgbouncer-k8s/1.juju-log pgbouncer not running
unit-pgbouncer-k8s-1: 01:58:51 ERROR unit.pgbouncer-k8s/1.juju-log pgbouncer not running
unit-pgbouncer-k8s-1: 01:58:52 ERROR unit.pgbouncer-k8s/1.juju-log pgbouncer not running
unit-pgbouncer-k8s-0: 02:00:26 ERROR unit.pgbouncer-k8s/0.juju-log pgbouncer not running
unit-pgbouncer-k8s-0: 02:00:28 ERROR unit.pgbouncer-k8s/0.juju-log pgbouncer not running
unit-pgbouncer-k8s-0: 02:00:29 ERROR unit.pgbouncer-k8s/0.juju-log pgbouncer not running

INFO  pytest_operator.plugin:plugin.py:991 Forgetting model main...
51 changes: 51 additions & 0 deletions 2242/data/attachments/42b90b7933d55888.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-211
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:
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:
postgresql-k8s/0 [idle] active:
postgresql-k8s/1 [idle] active:
postgresql-k8s/2 [idle] active: Primary
pgbouncer-k8s/0 [idle] 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:57:58Z

App Version Status Scale Charm Channel Rev Address Exposed Message
pgbouncer-k8s 1.21.0 active 3 pgbouncer-k8s 0 10.152.183.98 no
postgresql-k8s 14.13 active 3 postgresql-k8s 14/edge 423 10.152.183.42 no
postgresql-test-app active 1 postgresql-test-app latest/stable 211 10.152.183.139 no

Unit Workload Agent Address Ports Message
pgbouncer-k8s/0 active idle 10.1.126.206
pgbouncer-k8s/1* active idle 10.1.126.204
pgbouncer-k8s/2 active idle 10.1.126.205
postgresql-k8s/0 active idle 10.1.126.208
postgresql-k8s/1 active idle 10.1.126.207
postgresql-k8s/2* active idle 10.1.126.209 Primary
postgresql-test-app/0* active idle 10.1.126.211

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

unit-pgbouncer-k8s-1: 01:56:47 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...
Loading

0 comments on commit 42e1d84

Please sign in to comment.