Skip to content

Commit

Permalink
Allure report 3731
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Dec 31, 2024
1 parent 4a267c9 commit 4bd39c1
Show file tree
Hide file tree
Showing 336 changed files with 11,327 additions and 2 deletions.
2 changes: 2 additions & 0 deletions 3731/app.js

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions 3731/data/attachments/1202fe86756dc016.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
INFO  pytest_operator.plugin:plugin.py:787 Connecting to existing model localhost-localhost:test on unspecified cloud
INFO  juju.model:__init__.py:2301 Deploying local:postgresql-0
13 changes: 13 additions & 0 deletions 3731/data/attachments/175c16ceff8ced22.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
WARNING  juju.model:__init__.py:1683 relate is deprecated and will be removed. Use integrate instead.
WARNING  juju.model:__init__.py:1683 relate is deprecated and will be removed. Use integrate instead.
INFO  juju.model:__init__.py:3254 Waiting for model:
postgresql-test-app/0 [idle] active: received database credentials of the first database
postgresql-test-app/1 [idle] active: received database credentials of the first database
database/0 [idle] active: Primary
database/1 [executing] active:
another-database/0 [executing] active: Primary
another-database/1 [executing] active:
INFO  juju.model:__init__.py:3254 Waiting for model:
database/0 [idle] active: Primary
another-database/0 [idle] active: Primary
another-database/1 [idle] active:
13 changes: 13 additions & 0 deletions 3731/data/attachments/22818865a967d9d4.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
INFO  juju.model:__init__.py:3254 Waiting for model:
database/0 [idle] active:
database/1 [idle] active:
INFO  juju.model:__init__.py:3254 Waiting for model:
database/1 [executing] active:
INFO  juju.model:__init__.py:3254 Waiting for model:
database/1 [executing] active:
INFO  juju.model:__init__.py:3254 Waiting for model:
database/0 [executing] active: Primary
database/1 [executing] active:
INFO  juju.model:__init__.py:3254 Waiting for model:
database/0 [idle] active:
database/1 [idle] active:
8 changes: 8 additions & 0 deletions 3731/data/attachments/2b0d151231ba2a7a.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
WARNING  juju.model:__init__.py:1683 relate is deprecated and will be removed. Use integrate instead.
INFO  juju.model:__init__.py:3254 Waiting for model:
postgresql-test-app/0 [idle] active: received database credentials for cluster2
postgresql-test-app/1 [idle] active: received database credentials for cluster2
database/0 [idle] active: Primary
database/1 [idle] active:
another-database/0 [idle] active: Primary
another-database/1 [idle] active:
163 changes: 163 additions & 0 deletions 3731/data/attachments/2b1320cd99a84be4.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,163 @@
INFO  pytest_operator.plugin:plugin.py:929 Model status:

Model Controller Cloud/Region Version SLA Timestamp
test localhost-localhost localhost/localhost 3.4.6 unsupported 02:04:08Z

App Version Status Scale Charm Channel Rev Exposed Message
mailman3-core active 1 mailman3-core latest/stable 18 no Ready (source version/commit e1d5a03)
postgresql 14.13 active 2 postgresql 0 no
postgresql-test-app active 1 postgresql-test-app latest/edge 305 no
postgresql-test-app2 active 1 postgresql-test-app latest/edge 305 no

Unit Workload Agent Machine Public address Ports Message
mailman3-core/0* active idle 2 10.22.246.138 25/tcp Ready (source version/commit e1d5a03)
postgresql-test-app2/0* active executing 6 10.22.246.80
postgresql-test-app/0* active executing 5 10.22.246.235
postgresql/2* blocked executing 3 10.22.246.29 5432/tcp extensions requested through relation, enable them through config options
postgresql/3 active executing 4 10.22.246.250 5432/tcp

Machine State Address Inst id Base AZ Message
2 started 10.22.246.138 juju-83b406-2 ubuntu@20.04 Running
3 started 10.22.246.29 juju-83b406-3 ubuntu@22.04 Running
4 started 10.22.246.250 juju-83b406-4 ubuntu@22.04 Running
5 started 10.22.246.235 juju-83b406-5 ubuntu@22.04 Running
6 started 10.22.246.80 juju-83b406-6 ubuntu@22.04 Running

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

machine-0: 01:38:34 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available
machine-0: 01:38:34 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available
unit-postgresql-0: 01:38:34 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk
machine-1: 01:38:38 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available
machine-1: 01:38:38 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available
unit-postgresql-1: 01:38:38 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk
unit-postgresql-0: 01:39:40 ERROR unit.postgresql/0.juju-log Unable to get the state of the cluster
Traceback (most recent call last):
File "/var/lib/juju/agents/unit-postgresql-0/charm/venv/urllib3/connection.py", line 198, in _new_conn
sock = connection.create_connection(
File "/var/lib/juju/agents/unit-postgresql-0/charm/venv/urllib3/util/connection.py", line 85, in create_connection
raise err
File "/var/lib/juju/agents/unit-postgresql-0/charm/venv/urllib3/util/connection.py", line 73, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

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

Traceback (most recent call last):
File "/var/lib/juju/agents/unit-postgresql-0/charm/venv/urllib3/connectionpool.py", line 787, in urlopen
response = self._make_request(
File "/var/lib/juju/agents/unit-postgresql-0/charm/venv/urllib3/connectionpool.py", line 493, in _make_request
conn.request(
File "/var/lib/juju/agents/unit-postgresql-0/charm/venv/urllib3/connection.py", line 445, in request
self.endheaders()
File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output
self.send(msg)
File "/usr/lib/python3.10/http/client.py", line 976, in send
self.connect()
File "/var/lib/juju/agents/unit-postgresql-0/charm/venv/urllib3/connection.py", line 276, in connect
self.sock = self._new_conn()
File "/var/lib/juju/agents/unit-postgresql-0/charm/venv/urllib3/connection.py", line 213, in _new_conn
raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fc815be28c0>: Failed to establish a new connection: [Errno 111] Connection refused

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

Traceback (most recent call last):
File "/var/lib/juju/agents/unit-postgresql-0/charm/venv/requests/adapters.py", line 667, in send
resp = conn.urlopen(
File "/var/lib/juju/agents/unit-postgresql-0/charm/venv/urllib3/connectionpool.py", line 841, in urlopen
retries = retries.increment(
File "/var/lib/juju/agents/unit-postgresql-0/charm/venv/urllib3/util/retry.py", line 519, in increment
raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type]
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='10.22.246.170', port=8008): Max retries exceeded with url: /cluster (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fc815be28c0>: Failed to establish a new connection: [Errno 111] Connection refused'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/var/lib/juju/agents/unit-postgresql-0/charm/src/cluster.py", line 531, in are_replicas_up
response = requests.get(
File "/var/lib/juju/agents/unit-postgresql-0/charm/venv/requests/api.py", line 73, in get
return request("get", url, params=params, **kwargs)
File "/var/lib/juju/agents/unit-postgresql-0/charm/venv/requests/api.py", line 59, in request
return session.request(method=method, url=url, **kwargs)
File "/var/lib/juju/agents/unit-postgresql-0/charm/venv/requests/sessions.py", line 589, in request
resp = self.send(prep, **send_kwargs)
File "/var/lib/juju/agents/unit-postgresql-0/charm/venv/requests/sessions.py", line 703, in send
r = adapter.send(request, **kwargs)
File "/var/lib/juju/agents/unit-postgresql-0/charm/venv/requests/adapters.py", line 700, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='10.22.246.170', port=8008): Max retries exceeded with url: /cluster (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fc815be28c0>: Failed to establish a new connection: [Errno 111] Connection refused'))
machine-2: 01:43:30 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available
machine-2: 01:43:30 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available
unit-mailman3-core-0: 01:43:30 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk
machine-3: 01:50:04 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available
machine-3: 01:50:04 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available
unit-postgresql-2: 01:50:04 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk
machine-4: 01:50:05 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available
machine-4: 01:50:05 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available
unit-postgresql-3: 01:50:05 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk
unit-postgresql-3: 01:52:46 ERROR unit.postgresql/3.juju-log Failed to get PostgreSQL version: connection to server at "10.22.246.250", port 5432 failed: Connection refused
Is the server running on that host and accepting TCP/IP connections?

unit-postgresql-3: 01:52:46 ERROR unit.postgresql/3.juju-log Failed to retrieve the PostgreSQL version to initialise/update db relation
Traceback (most recent call last):
File "/var/lib/juju/agents/unit-postgresql-3/charm/lib/charms/postgresql_k8s/v0/postgresql.py", line 487, in get_postgresql_version
with self._connect_to_database(
File "/var/lib/juju/agents/unit-postgresql-3/charm/lib/charms/tempo_coordinator_k8s/v0/charm_tracing.py", line 1064, in wrapped_function
return callable(*args, **kwargs) # type: ignore
File "/var/lib/juju/agents/unit-postgresql-3/charm/lib/charms/postgresql_k8s/v0/postgresql.py", line 154, in _connect_to_database
connection = psycopg2.connect(
File "/var/lib/juju/agents/unit-postgresql-3/charm/venv/psycopg2/__init__.py", line 122, in connect
conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
psycopg2.OperationalError: connection to server at "10.22.246.250", port 5432 failed: Connection refused
Is the server running on that host and accepting TCP/IP connections?


During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/var/lib/juju/agents/unit-postgresql-3/charm/src/relations/db.py", line 321, in update_endpoints
postgresql_version = self.charm.postgresql.get_postgresql_version()
File "/var/lib/juju/agents/unit-postgresql-3/charm/lib/charms/tempo_coordinator_k8s/v0/charm_tracing.py", line 1064, in wrapped_function
return callable(*args, **kwargs) # type: ignore
File "/var/lib/juju/agents/unit-postgresql-3/charm/lib/charms/postgresql_k8s/v0/postgresql.py", line 495, in get_postgresql_version
raise PostgreSQLGetPostgreSQLVersionError()
charms.postgresql_k8s.v0.postgresql.PostgreSQLGetPostgreSQLVersionError
unit-postgresql-0: 01:58:47 ERROR unit.postgresql/0.juju-log Failed to get PostgreSQL version: connection to server at "10.22.246.170", port 5432 failed: Connection refused
Is the server running on that host and accepting TCP/IP connections?

unit-postgresql-0: 01:58:47 ERROR unit.postgresql/0.juju-log Failed to retrieve the PostgreSQL version to initialise/update db relation
Traceback (most recent call last):
File "/var/lib/juju/agents/unit-postgresql-0/charm/lib/charms/postgresql_k8s/v0/postgresql.py", line 487, in get_postgresql_version
with self._connect_to_database(
File "/var/lib/juju/agents/unit-postgresql-0/charm/lib/charms/tempo_coordinator_k8s/v0/charm_tracing.py", line 1064, in wrapped_function
return callable(*args, **kwargs) # type: ignore
File "/var/lib/juju/agents/unit-postgresql-0/charm/lib/charms/postgresql_k8s/v0/postgresql.py", line 154, in _connect_to_database
connection = psycopg2.connect(
File "/var/lib/juju/agents/unit-postgresql-0/charm/venv/psycopg2/__init__.py", line 122, in connect
conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
psycopg2.OperationalError: connection to server at "10.22.246.170", port 5432 failed: Connection refused
Is the server running on that host and accepting TCP/IP connections?


During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/var/lib/juju/agents/unit-postgresql-0/charm/src/relations/db.py", line 321, in update_endpoints
postgresql_version = self.charm.postgresql.get_postgresql_version()
File "/var/lib/juju/agents/unit-postgresql-0/charm/lib/charms/tempo_coordinator_k8s/v0/charm_tracing.py", line 1064, in wrapped_function
return callable(*args, **kwargs) # type: ignore
File "/var/lib/juju/agents/unit-postgresql-0/charm/lib/charms/postgresql_k8s/v0/postgresql.py", line 495, in get_postgresql_version
raise PostgreSQLGetPostgreSQLVersionError()
charms.postgresql_k8s.v0.postgresql.PostgreSQLGetPostgreSQLVersionError
machine-5: 02:03:01 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available
machine-5: 02:03:01 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available
machine-6: 02:03:01 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available
machine-6: 02:03:01 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available
unit-postgresql-test-app-0: 02:03:01 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk
unit-postgresql-test-app2-0: 02:03:01 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk
unit-postgresql-2: 02:04:07 ERROR unit.postgresql/2.juju-log db:8: ERROR - `extensions` (unaccent, pg_trgm) cannot be requested through relations - Please enable extensions through `juju config` and add the relation again.

INFO  pytest_operator.plugin:plugin.py:1017 Forgetting model main...
10 changes: 10 additions & 0 deletions 3731/data/attachments/2b5d6b50b449d63.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
INFO  juju.model:__init__.py:3254 Waiting for model:
postgresql/1 [idle] active:
postgresql/2 [idle] active:
postgresql/3 [idle] active:
postgresql-test-app/0 [idle] active: received database credentials of the first database
INFO  juju.model:__init__.py:3254 Waiting for model:
postgresql/1 [idle] active:
postgresql/3 [idle] active:
INFO  integration.ha_tests.helpers:helpers.py:103 Initial writes {'test.postgresql-1': 3303, 'test.postgresql-2': 3304}
INFO  integration.ha_tests.helpers:helpers.py:113 Retry writes {'test.postgresql-1': 3443, 'test.postgresql-2': 3444}
Loading

0 comments on commit 4bd39c1

Please sign in to comment.