-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c170a07
commit 697b17c
Showing
335 changed files
with
10,772 additions
and
2 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,130 @@ | ||
[32mINFO [0m pytest_operator.plugin:plugin.py:787 Connecting to existing model localhost-localhost:test on unspecified cloud | ||
[32mINFO [0m juju.model:__init__.py:2301 Deploying local:postgresql-0 | ||
[32mINFO [0m juju.model:__init__.py:3254 Waiting for model: | ||
postgresql/0 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:__init__.py:3254 Waiting for model: | ||
postgresql/0 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:__init__.py:3254 Waiting for model: | ||
postgresql/0 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:__init__.py:3254 Waiting for model: | ||
postgresql/0 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:__init__.py:3254 Waiting for model: | ||
postgresql/0 [executing] maintenance: installing PostgreSQL | ||
[32mINFO [0m juju.model:__init__.py:3254 Waiting for model: | ||
postgresql/0 [executing] waiting: waiting to start PostgreSQL | ||
[32mINFO [0m juju.model:__init__.py:3254 Waiting for model: | ||
postgresql/0 [executing] active: Primary | ||
[32mINFO [0m juju.model:__init__.py:3254 Waiting for model: | ||
postgresql/0 [idle] active: Primary | ||
[32mINFO [0m juju.model:__init__.py:2301 Deploying ch:amd64/jammy/data-integrator-78 | ||
[32mINFO [0m juju.model:__init__.py:3254 Waiting for model: | ||
data-integrator/0 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:__init__.py:3254 Waiting for model: | ||
data-integrator/0 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:__init__.py:3254 Waiting for model: | ||
data-integrator/0 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:__init__.py:3254 Waiting for model: | ||
data-integrator/0 [allocating] waiting: waiting for machine | ||
[33mWARNING [0m juju.model:__init__.py:1683 relate is deprecated and will be removed. Use integrate instead. | ||
[32mINFO [0m juju.model:__init__.py:3254 Waiting for model: | ||
postgresql/0 [idle] active: Primary | ||
data-integrator/0 [idle] blocked: Please relate the data-integrator with the desired product | ||
[32mINFO [0m juju.model:__init__.py:3254 Waiting for model: | ||
data-integrator/0 [idle] active: | ||
[33mWARNING [0m juju.model:__init__.py:1683 relate is deprecated and will be removed. Use integrate instead. | ||
[32mINFO [0m juju.model:__init__.py:3254 Waiting for model: | ||
postgresql/0 [idle] active: Primary | ||
data-integrator/0 [idle] blocked: Please relate the data-integrator with the desired product | ||
[32mINFO [0m juju.model:__init__.py:3254 Waiting for model: | ||
data-integrator/0 [idle] active: | ||
[33mWARNING [0m juju.model:__init__.py:1683 relate is deprecated and will be removed. Use integrate instead. | ||
[32mINFO [0m juju.model:__init__.py:3254 Waiting for model: | ||
postgresql/0 [idle] active: Primary | ||
data-integrator/0 [idle] blocked: Please relate the data-integrator with the desired product | ||
[32mINFO [0m integration.new_relations.test_relations_coherence:test_relations_coherence.py:131 connecting to the following database: data_integrator | ||
[32mINFO [0m integration.new_relations.test_relations_coherence:test_relations_coherence.py:131 connecting to the following database: postgres | ||
[32mINFO [0m pytest_operator.plugin:plugin.py:929 Model status: | ||
|
||
Model Controller Cloud/Region Version SLA Timestamp | ||
test localhost-localhost localhost/localhost 3.4.6 unsupported 01:38:29Z | ||
|
||
App Version Status Scale Charm Channel Rev Exposed Message | ||
data-integrator active 1 data-integrator latest/stable 78 no | ||
postgresql 14.13 active 1 postgresql 0 no | ||
|
||
Unit Workload Agent Machine Public address Ports Message | ||
data-integrator/0* active idle 1 10.105.28.199 | ||
postgresql/0* active idle 0 10.105.28.162 5432/tcp Primary | ||
|
||
Machine State Address Inst id Base AZ Message | ||
0 started 10.105.28.162 juju-5f3b1e-0 ubuntu@22.04 Running | ||
1 started 10.105.28.199 juju-5f3b1e-1 ubuntu@22.04 Running | ||
|
||
[32mINFO [0m pytest_operator.plugin:plugin.py:935 Juju error logs: | ||
|
||
machine-0: 01:32:51 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-0: 01:32:51 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
unit-postgresql-0: 01:32:51 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
unit-postgresql-0: 01:33: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 0x7efe618f2a10>: 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.105.28.162', port=8008): Max retries exceeded with url: /cluster (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7efe618f2a10>: 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.105.28.162', port=8008): Max retries exceeded with url: /cluster (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7efe618f2a10>: Failed to establish a new connection: [Errno 111] Connection refused')) | ||
machine-1: 01:36:30 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-1: 01:36:30 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
unit-data-integrator-0: 01:36:30 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
|
||
[32mINFO [0m pytest_operator.plugin:plugin.py:1017 Forgetting model main... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
[32mINFO [0m juju.model:__init__.py:3254 Waiting for model: | ||
postgresql-test-app/0 [idle] active: | ||
postgresql-test-app2/0 [executing] active: | ||
[33mWARNING [0m juju.model:__init__.py:1683 relate is deprecated and will be removed. Use integrate instead. | ||
[33mWARNING [0m juju.model:__init__.py:1683 relate is deprecated and will be removed. Use integrate instead. | ||
[32mINFO [0m integration.test_db:test_db.py:277 Verify that the charm remains blocked if there are other blocking relations | ||
[32mINFO [0m integration.test_db:test_db.py:288 Verify that active status is restored when all blocking relations are gone |
Oops, something went wrong.