Skip to content

Commit

Permalink
Allure report 2251
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Oct 23, 2024
1 parent 61632e3 commit 0e5c5a4
Show file tree
Hide file tree
Showing 195 changed files with 2,890 additions and 2 deletions.
2 changes: 2 additions & 0 deletions 2251/app.js

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions 2251/data/attachments/18a876c32f2e3d4c.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:89 Get leader unit
INFO  integration.test_upgrade_from_stable:test_upgrade_from_stable.py:95 Run pre-upgrade-check action
INFO  integration.test_upgrade_from_stable:test_upgrade_from_stable.py:99 Assert partition is set to 2
INFO  httpx:_client.py:1038 HTTP Request: GET https://10.1.0.190:16443/apis/apps/v1/namespaces/test/statefulsets/pgbouncer-k8s "HTTP/1.1 200 OK"
91 changes: 91 additions & 0 deletions 2251/data/attachments/1eef9ac0590326e.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
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:36Z

App Version Status Scale Charm Channel Rev Address Exposed Message
data-integrator active 1 data-integrator latest/edge 72 10.152.183.133 no
pgbouncer-k8s 1.21.0 active 1 pgbouncer-k8s 0 10.152.183.239 no
postgresql-k8s 14.13 active 3 postgresql-k8s 14/edge 427 10.152.183.230 no
postgresql-test-app active 1 postgresql-test-app latest/edge 271 10.152.183.73 no received database credentials of the first database
postgresql-test-app2 active 1 postgresql-test-app latest/edge 271 10.152.183.158 no received database credentials of the first database
self-signed-certificates active 1 self-signed-certificates latest/stable 155 10.152.183.115 no

Unit Workload Agent Address Ports Message
data-integrator/0* active idle 10.1.53.9
pgbouncer-k8s/0* active idle 10.1.53.8
postgresql-k8s/0* active idle 10.1.53.16 Primary
postgresql-k8s/1 active idle 10.1.53.17
postgresql-k8s/2 active idle 10.1.53.18
postgresql-test-app2/0* active idle 10.1.53.14 received database credentials of the first database
postgresql-test-app/0* active idle 10.1.53.10 received database credentials of the first database
self-signed-certificates/0* active idle 10.1.53.15

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

unit-postgresql-k8s-2: 01:47:07 ERROR unit.postgresql-k8s/2.juju-log Uncaught exception while in charm code:
Traceback (most recent call last):
File "/var/lib/juju/agents/unit-postgresql-k8s-2/charm/venv/websocket/_socket.py", line 118, in recv
bytes_ = _recv()
File "/var/lib/juju/agents/unit-postgresql-k8s-2/charm/venv/websocket/_socket.py", line 97, in _recv
return sock.recv(bufsize)
TimeoutError: timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/var/lib/juju/agents/unit-postgresql-k8s-2/charm/venv/ops/pebble.py", line 2906, in exec
control_ws = self._connect_websocket(task_id, 'control')
File "/var/lib/juju/agents/unit-postgresql-k8s-2/charm/venv/ops/pebble.py", line 2994, in _connect_websocket
ws.connect(url, socket=sock)
File "/var/lib/juju/agents/unit-postgresql-k8s-2/charm/venv/websocket/_core.py", line 261, in connect
self.handshake_response = handshake(self.sock, url, *addrs, **options)
File "/var/lib/juju/agents/unit-postgresql-k8s-2/charm/venv/websocket/_handshake.py", line 65, in handshake
status, resp = _get_resp_headers(sock)
File "/var/lib/juju/agents/unit-postgresql-k8s-2/charm/venv/websocket/_handshake.py", line 141, in _get_resp_headers
status, resp_headers, status_message = read_headers(sock)
File "/var/lib/juju/agents/unit-postgresql-k8s-2/charm/venv/websocket/_http.py", line 351, in read_headers
line = recv_line(sock)
File "/var/lib/juju/agents/unit-postgresql-k8s-2/charm/venv/websocket/_socket.py", line 140, in recv_line
c = recv(sock, 1)
File "/var/lib/juju/agents/unit-postgresql-k8s-2/charm/venv/websocket/_socket.py", line 120, in recv
raise WebSocketTimeoutException("Connection timed out")
websocket._exceptions.WebSocketTimeoutException: Connection timed out

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/var/lib/juju/agents/unit-postgresql-k8s-2/charm/./src/charm.py", line 2211, in <module>
main(PostgresqlOperatorCharm, use_juju_for_storage=True)
File "/var/lib/juju/agents/unit-postgresql-k8s-2/charm/venv/ops/__init__.py", line 343, in __call__
return _main.main(charm_class=charm_class, use_juju_for_storage=use_juju_for_storage)
File "/var/lib/juju/agents/unit-postgresql-k8s-2/charm/venv/ops/_main.py", line 543, in main
manager.run()
File "/var/lib/juju/agents/unit-postgresql-k8s-2/charm/venv/ops/_main.py", line 529, in run
self._emit()
File "/var/lib/juju/agents/unit-postgresql-k8s-2/charm/venv/ops/_main.py", line 515, in _emit
self.framework.reemit()
File "/var/lib/juju/agents/unit-postgresql-k8s-2/charm/venv/ops/framework.py", line 867, in reemit
self._reemit()
File "/var/lib/juju/agents/unit-postgresql-k8s-2/charm/venv/ops/framework.py", line 947, in _reemit
custom_handler(event)
File "/var/lib/juju/agents/unit-postgresql-k8s-2/charm/lib/charms/tempo_coordinator_k8s/v0/charm_tracing.py", line 734, in wrapped_function
return callable(*args, **kwargs) # type: ignore
File "/var/lib/juju/agents/unit-postgresql-k8s-2/charm/./src/charm.py", line 933, in _on_postgresql_pebble_ready
self.push_tls_files_to_workload(container)
File "/var/lib/juju/agents/unit-postgresql-k8s-2/charm/lib/charms/tempo_coordinator_k8s/v0/charm_tracing.py", line 734, in wrapped_function
return callable(*args, **kwargs) # type: ignore
File "/var/lib/juju/agents/unit-postgresql-k8s-2/charm/./src/charm.py", line 1740, in push_tls_files_to_workload
container.exec(["update-ca-certificates"]).wait()
File "/var/lib/juju/agents/unit-postgresql-k8s-2/charm/venv/ops/model.py", line 2996, in exec
return self._pebble.exec(
File "/var/lib/juju/agents/unit-postgresql-k8s-2/charm/venv/ops/pebble.py", line 2915, in exec
raise ChangeError(change.err, change) from e
ops.pebble.ChangeError: cannot perform the following tasks:
- exec command "update-ca-certificates" (exec 76: timeout waiting for websocket connections: context deadline exceeded)
----- Logs from task 0 -----
2024-10-23T01:47:07Z ERROR exec 76: timeout waiting for websocket connections: context deadline exceeded
-----
unit-postgresql-k8s-2: 01:47:07 ERROR juju.worker.uniter.operation hook "secret-changed" (via hook dispatching script: dispatch) failed: exit status 1

INFO  pytest_operator.plugin:plugin.py:991 Forgetting model main...
34 changes: 34 additions & 0 deletions 2251/data/attachments/28a5a215052ef035.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
INFO  juju.model:model.py:2098 Deploying local:jammy/pgbouncer-k8s-1
INFO  juju.model:model.py:2972 Waiting for model:
pgbouncer-k8s-secondary/0 [allocating] waiting: installing agent
INFO  juju.model:model.py:2972 Waiting for model:
pgbouncer-k8s-secondary/0 [executing] maintenance: installing charm software
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: received database credentials of the second database
postgresql-k8s/0 [executing] active:
postgresql-k8s/1 [executing] active: Primary
pgbouncer-k8s/0 [idle] active:
pgbouncer-k8s/1 [idle] active:
pgbouncer-k8s-secondary/0 [executing] blocked: waiting for backend database relation to initialise
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: received database credentials of the second database
postgresql-k8s/0 [idle] active:
postgresql-k8s/1 [idle] active: Primary
pgbouncer-k8s/0 [idle] active:
pgbouncer-k8s/1 [idle] active:
secondary-application/0 [executing] active: received database credentials of the first database
finos-waltz-k8s/0 [idle] active:
pgbouncer-k8s-secondary/0 [executing] active:
INFO  juju.model:model.py:2972 Waiting for model:
pgbouncer-k8s/0 [idle] active:
pgbouncer-k8s/1 [idle] active:
INFO  root:helpers.py:121 running query:
DROP TABLE IF EXISTS check_multiple_pgb_connected_to_one_postgres;CREATE TABLE check_multiple_pgb_connected_to_one_postgres(data TEXT);INSERT INTO check_multiple_pgb_connected_to_one_postgres(data) VALUES('some data');SELECT data FROM check_multiple_pgb_connected_to_one_postgres;
INFO  root:helpers.py:122 {'dbname': 'secondary_application_second_database', 'query': "DROP TABLE IF EXISTS check_multiple_pgb_connected_to_one_postgres;CREATE TABLE check_multiple_pgb_connected_to_one_postgres(data TEXT);INSERT INTO check_multiple_pgb_connected_to_one_postgres(data) VALUES('some data');SELECT data FROM check_multiple_pgb_connected_to_one_postgres;", 'relation-name': 'second-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 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}
6 changes: 6 additions & 0 deletions 2251/data/attachments/2a716bb01d883960.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
INFO  pytest_operator.plugin:plugin.py:766 Connecting to existing model microk8s-localhost:test on unspecified cloud
INFO  juju.model:model.py:2098 Deploying local:jammy/pgbouncer-k8s-0
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 [idle] blocked: waiting for backend database relation to initialise
9 changes: 9 additions & 0 deletions 2251/data/attachments/2db0ce6c60ccd0ca.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:
92 changes: 92 additions & 0 deletions 2251/data/attachments/338a0ee9cbd212c.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
INFO  pytest_operator.plugin:plugin.py:766 Connecting to existing model microk8s-localhost:test on unspecified cloud
INFO  juju.model:model.py:2098 Deploying local:jammy/pgbouncer-k8s-0
INFO  juju.model:model.py:2098 Deploying ch:amd64/jammy/postgresql-test-app-271
WARNING  juju.model:model.py:1564 relate is deprecated and will be removed. Use integrate instead.
INFO  juju.model:model.py:2098 Deploying ch:amd64/jammy/postgresql-k8s-427
WARNING  juju.model:model.py:1564 relate is deprecated and will be removed. Use integrate instead.
INFO  juju.model:model.py:2098 Deploying ch:amd64/jammy/self-signed-certificates-155
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:
pgbouncer-k8s/0 [allocating] waiting: installing agent
pgbouncer-k8s/1 [allocating] waiting: installing agent
postgresql-test-app/0 [allocating] waiting: installing agent
postgresql-k8s/0 [allocating] waiting: installing agent
postgresql-k8s/1 [allocating] waiting: installing agent
postgresql-k8s/2 [allocating] waiting: installing agent
self-signed-certificates/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
pgbouncer-k8s/1 [executing] blocked: waiting for backend database relation to initialise
postgresql-test-app/0 [idle] active:
postgresql-k8s/0 [allocating] waiting: installing agent
postgresql-k8s/1 [allocating] waiting: installing agent
postgresql-k8s/2 [allocating] waiting: installing agent
self-signed-certificates/0 [executing] maintenance: installing charm software
INFO  juju.model:model.py:2972 Waiting for model:
pgbouncer-k8s/0 [executing] blocked: waiting for backend database relation to initialise
pgbouncer-k8s/1 [executing] waiting: waiting for backend-database relation to connect
postgresql-k8s/0 [executing] maintenance: installing charm software
postgresql-k8s/1 [executing] maintenance: installing charm software
postgresql-k8s/2 [executing] maintenance: installing charm software
self-signed-certificates/0 [idle] active:
INFO  juju.model:model.py:2972 Waiting for model:
pgbouncer-k8s/0 [idle] blocked: waiting for backend database relation to initialise
pgbouncer-k8s/1 [idle] waiting: waiting for backend-database relation to connect
postgresql-k8s/0 [executing] 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:
pgbouncer-k8s/0 [idle] blocked: waiting for backend database relation to initialise
pgbouncer-k8s/1 [idle] blocked: waiting for backend database relation to initialise
postgresql-k8s/0 [executing] waiting: awaiting for primary endpoint to be ready
postgresql-k8s/1 [executing] unknown:
postgresql-k8s/2 [executing] unknown:
self-signed-certificates/0 [idle] active:
INFO  juju.model:model.py:2972 Waiting for model:
pgbouncer-k8s/0 [idle] blocked: waiting for backend database relation to initialise
pgbouncer-k8s/1 [idle] blocked: waiting for backend database relation to initialise
postgresql-k8s/0 [idle] waiting: awaiting for primary endpoint to be ready
postgresql-k8s/1 [executing] unknown:
postgresql-k8s/2 [executing] unknown:
INFO  juju.model:model.py:2972 Waiting for model:
pgbouncer-k8s/0 [idle] blocked: waiting for backend database relation to initialise
pgbouncer-k8s/1 [idle] blocked: waiting for backend database relation to initialise
postgresql-k8s/0 [idle] active: Primary
postgresql-k8s/1 [idle] unknown:
postgresql-k8s/2 [idle] unknown:
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: 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:
pgbouncer-k8s/0 [executing] active:
pgbouncer-k8s/1 [executing] active:
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] active:
postgresql-k8s/2 [idle] waiting: awaiting for cluster to start
INFO  juju.model:model.py:2972 Waiting for model:
postgresql-k8s/0 [executing] waiting: Awaiting restart operation
postgresql-k8s/1 [executing] maintenance: Executing restart operation
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] maintenance: reinitialising replica
postgresql-k8s/2 [idle] active:
INFO  juju.model:model.py:2972 Waiting for model:
pgbouncer-k8s/0 [idle] blocked: backend database relation not ready
pgbouncer-k8s/1 [idle] waiting: waiting for backend-database relation to connect
postgresql-k8s/0 [executing] active:
postgresql-k8s/1 [idle] active:
postgresql-k8s/2 [executing] waiting: Awaiting restart operation
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:
Loading

0 comments on commit 0e5c5a4

Please sign in to comment.