Skip to content

Commit

Permalink
Allure report #1712
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Apr 11, 2024
1 parent e906a1a commit 0b04179
Show file tree
Hide file tree
Showing 127 changed files with 2,588 additions and 2 deletions.
2 changes: 2 additions & 0 deletions 1712/app.js

Large diffs are not rendered by default.

96 changes: 96 additions & 0 deletions 1712/data/attachments/1056175d803d84c6.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
INFO  httpx:_client.py:1773 HTTP Request: DELETE https://10.1.0.132:16443/api/v1/namespaces/test/pods/pgbouncer-k8s-0 "HTTP/1.1 200 OK"
INFO  juju.model:model.py:2958 Waiting for model:
postgresql-test-app/0 [idle] active: received database credentials of the second database
postgresql-k8s/0 [idle] active: Primary
postgresql-k8s/1 [idle] active:
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:2958 Waiting for model:
pgbouncer-k8s/0 [idle] active:
pgbouncer-k8s/1 [idle] active:
INFO  httpx:_client.py:1773 HTTP Request: GET https://10.1.0.132:16443/api/v1/namespaces/test/pods/pgbouncer-k8s-0 "HTTP/1.1 200 OK"
INFO  pytest_operator.plugin:plugin.py:834 Model status:

Model Controller Cloud/Region Version SLA Timestamp
test microk8s-localhost microk8s/localhost 3.1.7 unsupported 01:52:59Z

App Version Status Scale Charm Channel Rev Address Exposed Message
data-integrator active 1 data-integrator edge 25 10.152.183.158 no
finos-waltz-k8s active 1 finos-waltz-k8s edge 33 10.152.183.32 no
indico 3.3.1 active 1 indico stable 189 10.152.183.73 no
pgbouncer-k8s 1.21.0 active 2 pgbouncer-k8s 0 10.152.183.82 no
pgbouncer-k8s-secondary 1.21.0 active 1 pgbouncer-k8s 1 10.152.183.88 no
postgresql-k8s 14.11 active 2 postgresql-k8s 14/edge 233 10.152.183.63 no Primary
postgresql-test-app active 1 postgresql-test-app edge 96 10.152.183.59 no received database credentials of the second database
redis-broker ubuntu/redis@691f315 active 1 redis-k8s stable 7 no
redis-cache ubuntu/redis@691f315 active 1 redis-k8s stable 7 no
secondary-application active 1 postgresql-test-app edge 96 10.152.183.212 no received database credentials of the second database

Unit Workload Agent Address Ports Message
data-integrator/0* active idle 10.1.252.84
finos-waltz-k8s/0* active idle 10.1.252.81
indico/0* active idle 10.1.252.87
pgbouncer-k8s-secondary/0* active idle 10.1.252.82
pgbouncer-k8s/0* active idle 10.1.252.92
pgbouncer-k8s/1 active idle 10.1.252.83
postgresql-k8s/0* active idle 10.1.252.77 Primary
postgresql-k8s/1 active idle 10.1.252.78
postgresql-test-app/0 active idle 10.1.252.72 received database credentials of the second database
redis-broker/0* active idle 10.1.252.89 6379/TCP
redis-cache/0* active idle 10.1.252.91 6379/TCP
secondary-application/0* active idle 10.1.252.80 received database credentials of the second database

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

unit-postgresql-test-app-0: 01:36:11 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 504, in <module>
main(ApplicationCharm)
File "/var/lib/juju/agents/unit-postgresql-test-app-0/charm/venv/ops/main.py", line 544, in main
manager.run()
File "/var/lib/juju/agents/unit-postgresql-test-app-0/charm/venv/ops/main.py", line 520, in run
self._emit()
File "/var/lib/juju/agents/unit-postgresql-test-app-0/charm/venv/ops/main.py", line 509, 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 143, 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 352, in emit
framework._emit(event)
File "/var/lib/juju/agents/unit-postgresql-test-app-0/charm/venv/ops/framework.py", line 851, in _emit
self._reemit(event_path)
File "/var/lib/juju/agents/unit-postgresql-test-app-0/charm/venv/ops/framework.py", line 941, in _reemit
custom_handler(event)
File "/var/lib/juju/agents/unit-postgresql-test-app-0/charm/./src/charm.py", line 432, in _on_run_sql_action
cursor.execute(query)
psycopg2.errors.ReadOnlySqlTransaction: cannot execute DROP TABLE in a read-only transaction

application-redis-cache: 01:50:06 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:50:06 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:52:25 ERROR unit.pgbouncer-k8s/0.juju-log Cluster upgrade failed, ensure pre-upgrade checks are ran first.

INFO  pytest_operator.plugin:plugin.py:904 Forgetting main...
18 changes: 18 additions & 0 deletions 1712/data/attachments/1426875a387d5629.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
INFO  juju.model:model.py:2958 Waiting for model:
pgbouncer-k8s (waiting for exactly 1 units, current : 2)
INFO  juju.model:model.py:2958 Waiting for model:
pgbouncer-k8s/0 [idle] active:
INFO  juju.model:model.py:2958 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:2958 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:120 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:121 {'dbname': 'postgresql_test_app_first_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-id': 7, 'relation-name': 'first-database', 'readonly': False}
INFO  root:helpers.py:124 query results: {'results': '[["some data"]]', 'return-code': 0}
4 changes: 4 additions & 0 deletions 1712/data/attachments/16d7831a8a5fe6be.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.179:16443/apis/apps/v1/namespaces/test/statefulsets/pgbouncer-k8s "HTTP/1.1 200 OK"
Loading

0 comments on commit 0b04179

Please sign in to comment.