forked from canonical/mysql-router-k8s-operator
-
Notifications
You must be signed in to change notification settings - Fork 0
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
8d8c30c
commit 1dfd0e9
Showing
75 changed files
with
1,333 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,25 @@ | ||
[32mINFO [0m pytest_operator.plugin:plugin.py:790 Model status: | ||
|
||
Model Controller Cloud/Region Version SLA Timestamp | ||
test microk8s-localhost microk8s/localhost 3.4.3 unsupported 02:50:17Z | ||
|
||
App Version Status Scale Charm Channel Rev Address Exposed Message | ||
data-integrator waiting 1 data-integrator latest/edge 72 10.152.183.186 no installing agent | ||
mysql-k8s 8.0.37-0ubuntu0.22.04.3 active 3 mysql-k8s 8.0/edge 206 10.152.183.143 no | ||
mysql-router-k8s waiting 1 mysql-router-k8s 0 10.152.183.136 no installing agent | ||
mysql-test-app 0.0.2 waiting 1 mysql-test-app latest/edge 63 10.152.183.50 no installing agent | ||
self-signed-certificates active 1 self-signed-certificates latest/stable 155 10.152.183.249 no | ||
|
||
Unit Workload Agent Address Ports Message | ||
data-integrator/0* blocked idle 10.1.185.9 Please relate the data-integrator with the desired product | ||
mysql-k8s/0* active executing 10.1.185.15 Primary | ||
mysql-k8s/1 active executing 10.1.185.16 | ||
mysql-k8s/2 active executing 10.1.185.17 | ||
mysql-router-k8s/0* unknown idle 10.1.185.8 | ||
mysql-test-app/0* waiting idle 10.1.185.10 | ||
self-signed-certificates/0* active idle 10.1.185.11 | ||
|
||
[32mINFO [0m pytest_operator.plugin:plugin.py:796 Juju error logs: | ||
|
||
|
||
[32mINFO [0m pytest_operator.plugin:plugin.py:862 Forgetting 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,40 @@ | ||
[32mINFO [0m pytest_operator.plugin:plugin.py:790 Model status: | ||
|
||
Model Controller Cloud/Region Version SLA Timestamp | ||
test microk8s-localhost microk8s/localhost 3.4.3 unsupported 02:50:06Z | ||
|
||
App Version Status Scale Charm Channel Rev Address Exposed Message | ||
mysql-k8s 8.0.37-0ubuntu0.22.04.3 active 1 mysql-k8s 8.0/edge 206 10.152.183.113 no | ||
mysql-router-k8s waiting 1 mysql-router-k8s 0 10.152.183.232 no installing agent | ||
mysql-test-app 0.0.2 waiting 1 mysql-test-app latest/edge 63 10.152.183.234 no installing agent | ||
self-signed-certificates active 1 self-signed-certificates latest/stable 155 10.152.183.106 no | ||
|
||
Unit Workload Agent Address Ports Message | ||
mysql-k8s/0* active executing 10.1.185.11 Primary | ||
mysql-router-k8s/0* unknown idle 10.1.185.9 | ||
mysql-test-app/0* waiting idle 10.1.185.10 | ||
self-signed-certificates/0* active idle 10.1.185.12 | ||
|
||
[32mINFO [0m pytest_operator.plugin:plugin.py:796 Juju error logs: | ||
|
||
|
||
[32mINFO [0m pytest_operator.plugin:plugin.py:862 Forgetting main... | ||
[31m[1mERROR [0m websockets.client:protocol.py:1015 data transfer failed | ||
Traceback (most recent call last): | ||
File "/home/runner/work/mysql-router-k8s-operator/mysql-router-k8s-operator/.tox/integration/lib/python3.10/site-packages/websockets/legacy/protocol.py", line 959, in transfer_data | ||
message = await self.read_message() | ||
File "/home/runner/work/mysql-router-k8s-operator/mysql-router-k8s-operator/.tox/integration/lib/python3.10/site-packages/websockets/legacy/protocol.py", line 1029, in read_message | ||
frame = await self.read_data_frame(max_size=self.max_size) | ||
File "/home/runner/work/mysql-router-k8s-operator/mysql-router-k8s-operator/.tox/integration/lib/python3.10/site-packages/websockets/legacy/protocol.py", line 1104, in read_data_frame | ||
frame = await self.read_frame(max_size) | ||
File "/home/runner/work/mysql-router-k8s-operator/mysql-router-k8s-operator/.tox/integration/lib/python3.10/site-packages/websockets/legacy/protocol.py", line 1161, in read_frame | ||
frame = await Frame.read( | ||
File "/home/runner/work/mysql-router-k8s-operator/mysql-router-k8s-operator/.tox/integration/lib/python3.10/site-packages/websockets/legacy/framing.py", line 68, in read | ||
data = await reader(2) | ||
File "/usr/lib/python3.10/asyncio/streams.py", line 708, in readexactly | ||
await self._wait_for_data('readexactly') | ||
File "/usr/lib/python3.10/asyncio/streams.py", line 501, in _wait_for_data | ||
await self._waiter | ||
File "/usr/lib/python3.10/asyncio/selector_events.py", line 924, in write | ||
n = self._sock.send(data) | ||
OSError: [Errno 9] Bad file descriptor |
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,29 @@ | ||
[32mINFO [0m pytest_operator.plugin:plugin.py:675 Connecting to existing model microk8s-localhost:test on unspecified cloud | ||
[33mWARNING [0m juju.client.connection:connection.py:927 unexpected facade UserSecretsDrain received from the controller | ||
[33mWARNING [0m juju.client.connection:connection.py:927 unexpected facade UserSecretsManager received from the controller | ||
[32mINFO [0m integration.test_charm:test_charm.py:48 Deploying mysql, mysqlrouter and application | ||
[32mINFO [0m juju.model:model.py:2069 Deploying local:jammy/mysql-router-k8s-0 | ||
[32mINFO [0m juju.model:model.py:2069 Deploying ch:amd64/jammy/mysql-test-app-63 | ||
[32mINFO [0m juju.model:model.py:2069 Deploying ch:amd64/jammy/mysql-k8s-206 | ||
[32mINFO [0m integration.test_charm:test_charm.py:79 Waiting for mysqlrouter to be in BlockedStatus | ||
[32mINFO [0m pytest_operator.plugin:plugin.py:790 Model status: | ||
|
||
Model Controller Cloud/Region Version SLA Timestamp | ||
test microk8s-localhost microk8s/localhost 3.4.3 unsupported 02:50:37Z | ||
|
||
App Version Status Scale Charm Channel Rev Address Exposed Message | ||
mysql-k8s 8.0.37-0ubuntu0.22.04.3 active 3 mysql-k8s 8.0/edge 206 10.152.183.20 no | ||
mysql-router-k8s waiting 1 mysql-router-k8s 0 10.152.183.123 no installing agent | ||
mysql-test-app 0.0.2 waiting 1 mysql-test-app latest/edge 63 10.152.183.64 no installing agent | ||
|
||
Unit Workload Agent Address Ports Message | ||
mysql-k8s/0 active executing 10.1.66.141 | ||
mysql-k8s/1* active executing 10.1.66.142 Primary | ||
mysql-k8s/2 active executing 10.1.66.143 | ||
mysql-router-k8s/0* unknown idle 10.1.66.136 | ||
mysql-test-app/0* waiting idle 10.1.66.137 | ||
|
||
[32mINFO [0m pytest_operator.plugin:plugin.py:796 Juju error logs: | ||
|
||
|
||
[32mINFO [0m pytest_operator.plugin:plugin.py:862 Forgetting 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,215 @@ | ||
[32mINFO [0m pytest_operator.plugin:plugin.py:675 Connecting to existing model microk8s-localhost:test on unspecified cloud | ||
[33mWARNING [0m juju.client.connection:connection.py:927 unexpected facade UserSecretsDrain received from the controller | ||
[33mWARNING [0m juju.client.connection:connection.py:927 unexpected facade UserSecretsManager received from the controller | ||
[32mINFO [0m integration.test_node_port:test_node_port.py:53 Deploying mysql, mysqlrouter and application | ||
[32mINFO [0m juju.model:model.py:2069 Deploying local:jammy/mysql-router-k8s-0 | ||
[32mINFO [0m juju.model:model.py:2069 Deploying ch:amd64/jammy/data-integrator-72 | ||
[32mINFO [0m juju.model:model.py:2069 Deploying ch:amd64/jammy/mysql-test-app-63 | ||
[32mINFO [0m juju.model:model.py:2069 Deploying ch:amd64/jammy/self-signed-certificates-155 | ||
[32mINFO [0m juju.model:model.py:2069 Deploying ch:amd64/jammy/mysql-k8s-206 | ||
[32mINFO [0m integration.test_node_port:test_node_port.py:96 Relating mysql, mysqlrouter and application | ||
[33mWARNING [0m juju.model:model.py:1558 relate is deprecated and will be removed. Use integrate instead. | ||
[33mWARNING [0m juju.model:model.py:1558 relate is deprecated and will be removed. Use integrate instead. | ||
[33mWARNING [0m juju.model:model.py:1558 relate is deprecated and will be removed. Use integrate instead. | ||
[33mWARNING [0m juju.model:model.py:1558 relate is deprecated and will be removed. Use integrate instead. | ||
[33mWARNING [0m juju.model:model.py:1558 relate is deprecated and will be removed. Use integrate instead. | ||
[32mINFO [0m juju.model:model.py:2759 Waiting for model: | ||
mysql-k8s/0 [allocating] waiting: installing agent | ||
mysql-k8s/1 [allocating] waiting: installing agent | ||
mysql-k8s/2 [allocating] waiting: installing agent | ||
mysql-router-k8s/0 [allocating] waiting: installing agent | ||
mysql-test-app/0 [allocating] waiting: installing agent | ||
data-integrator/0 [allocating] waiting: installing agent | ||
self-signed-certificates/0 [allocating] waiting: installing agent | ||
[32mINFO [0m juju.model:model.py:2759 Waiting for model: | ||
mysql-k8s/0 [allocating] waiting: installing agent | ||
mysql-k8s/1 [allocating] waiting: installing agent | ||
mysql-k8s/2 [allocating] waiting: installing agent | ||
mysql-router-k8s/0 [idle] unknown: | ||
mysql-test-app/0 [executing] maintenance: installing charm software | ||
data-integrator/0 [executing] blocked: Please relate the data-integrator with the desired product | ||
self-signed-certificates/0 [allocating] waiting: agent initialising | ||
[32mINFO [0m juju.model:model.py:2759 Waiting for model: | ||
mysql-k8s/0 [executing] maintenance: installing charm software | ||
mysql-k8s/1 [executing] maintenance: installing charm software | ||
mysql-k8s/2 [executing] maintenance: installing charm software | ||
mysql-router-k8s/0 [idle] unknown: | ||
mysql-test-app/0 [idle] waiting: | ||
data-integrator/0 [idle] blocked: Please relate the data-integrator with the desired product | ||
self-signed-certificates/0 [executing] active: | ||
[32mINFO [0m juju.model:model.py:2759 Waiting for model: | ||
mysql-k8s/0 [executing] active: Primary | ||
mysql-k8s/1 [executing] waiting: waiting to get cluster primary from peers | ||
mysql-k8s/2 [executing] waiting: waiting to get cluster primary from peers | ||
mysql-router-k8s/0 [idle] unknown: | ||
mysql-test-app/0 [idle] waiting: | ||
data-integrator/0 [idle] blocked: Please relate the data-integrator with the desired product | ||
[32mINFO [0m juju.model:model.py:2759 Waiting for model: | ||
mysql-k8s/0 [executing] active: Primary | ||
mysql-k8s/1 [idle] maintenance: joining the cluster | ||
mysql-k8s/2 [executing] active: | ||
mysql-router-k8s/0 [idle] unknown: | ||
mysql-test-app/0 [idle] waiting: | ||
data-integrator/0 [idle] blocked: Please relate the data-integrator with the desired product | ||
[32mINFO [0m juju.model:model.py:2759 Waiting for model: | ||
mysql-k8s/0 [executing] active: Primary | ||
mysql-k8s/1 [executing] active: | ||
mysql-k8s/2 [executing] active: | ||
mysql-router-k8s/0 [idle] unknown: | ||
mysql-test-app/0 [idle] waiting: | ||
data-integrator/0 [idle] blocked: Please relate the data-integrator with the desired product | ||
self-signed-certificates/0 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2759 Waiting for model: | ||
mysql-k8s/0 [idle] active: Primary | ||
mysql-k8s/1 [idle] active: | ||
mysql-k8s/2 [idle] active: | ||
mysql-router-k8s/0 [idle] unknown: | ||
mysql-test-app/0 [idle] waiting: | ||
data-integrator/0 [idle] blocked: Please relate the data-integrator with the desired product | ||
[32mINFO [0m juju.model:model.py:2759 Waiting for model: | ||
mysql-router-k8s/0 [idle] unknown: | ||
mysql-test-app/0 [idle] waiting: | ||
data-integrator/0 [idle] blocked: Please relate the data-integrator with the desired product | ||
[32mINFO [0m juju.model:model.py:2759 Waiting for model: | ||
mysql-k8s/0 [idle] active: Primary | ||
mysql-router-k8s/0 [idle] unknown: | ||
mysql-test-app/0 [idle] waiting: | ||
data-integrator/0 [idle] blocked: Please relate the data-integrator with the desired product | ||
[32mINFO [0m juju.model:model.py:2759 Waiting for model: | ||
mysql-router-k8s/0 [idle] unknown: | ||
mysql-test-app/0 [idle] waiting: | ||
data-integrator/0 [idle] blocked: Please relate the data-integrator with the desired product | ||
[32mINFO [0m juju.model:model.py:2759 Waiting for model: | ||
mysql-k8s/0 [executing] active: Primary | ||
mysql-k8s/1 [executing] active: | ||
mysql-k8s/2 [idle] active: | ||
mysql-router-k8s/0 [idle] unknown: | ||
mysql-test-app/0 [idle] waiting: | ||
data-integrator/0 [idle] blocked: Please relate the data-integrator with the desired product | ||
[32mINFO [0m juju.model:model.py:2759 Waiting for model: | ||
mysql-k8s/0 [executing] active: Primary | ||
mysql-router-k8s/0 [idle] unknown: | ||
mysql-test-app/0 [idle] waiting: | ||
data-integrator/0 [idle] blocked: Please relate the data-integrator with the desired product | ||
[32mINFO [0m juju.model:model.py:2759 Waiting for model: | ||
mysql-k8s/0 [executing] active: Primary | ||
mysql-k8s/1 [idle] active: | ||
mysql-k8s/2 [idle] active: | ||
mysql-router-k8s/0 [idle] unknown: | ||
mysql-test-app/0 [idle] waiting: | ||
data-integrator/0 [idle] blocked: Please relate the data-integrator with the desired product | ||
[32mINFO [0m juju.model:model.py:2759 Waiting for model: | ||
mysql-k8s/0 [executing] active: Primary | ||
mysql-router-k8s/0 [idle] unknown: | ||
mysql-test-app/0 [idle] waiting: | ||
data-integrator/0 [idle] blocked: Please relate the data-integrator with the desired product | ||
[32mINFO [0m juju.model:model.py:2759 Waiting for model: | ||
mysql-k8s/0 [executing] active: Primary | ||
mysql-k8s/1 [executing] active: | ||
mysql-k8s/2 [executing] active: | ||
mysql-router-k8s/0 [idle] unknown: | ||
mysql-test-app/0 [idle] waiting: | ||
data-integrator/0 [idle] blocked: Please relate the data-integrator with the desired product | ||
[32mINFO [0m juju.model:model.py:2759 Waiting for model: | ||
mysql-k8s/0 [executing] active: Primary | ||
mysql-router-k8s/0 [idle] unknown: | ||
mysql-test-app/0 [idle] waiting: | ||
data-integrator/0 [idle] blocked: Please relate the data-integrator with the desired product | ||
[32mINFO [0m juju.model:model.py:2759 Waiting for model: | ||
mysql-k8s/0 [executing] active: Primary | ||
mysql-k8s/1 [executing] active: | ||
mysql-k8s/2 [executing] active: | ||
mysql-router-k8s/0 [idle] unknown: | ||
mysql-test-app/0 [idle] waiting: | ||
data-integrator/0 [idle] blocked: Please relate the data-integrator with the desired product | ||
[32mINFO [0m juju.model:model.py:2759 Waiting for model: | ||
mysql-k8s/0 [executing] active: Primary | ||
mysql-k8s/1 [executing] active: | ||
mysql-k8s/2 [executing] active: | ||
mysql-router-k8s/0 [idle] unknown: | ||
mysql-test-app/0 [idle] waiting: | ||
data-integrator/0 [idle] blocked: Please relate the data-integrator with the desired product | ||
[32mINFO [0m juju.model:model.py:2759 Waiting for model: | ||
mysql-k8s/0 [executing] active: Primary | ||
mysql-k8s/1 [executing] active: | ||
mysql-k8s/2 [executing] active: | ||
mysql-router-k8s/0 [idle] unknown: | ||
mysql-test-app/0 [idle] waiting: | ||
data-integrator/0 [idle] blocked: Please relate the data-integrator with the desired product | ||
[32mINFO [0m juju.model:model.py:2759 Waiting for model: | ||
mysql-k8s/0 [executing] active: Primary | ||
mysql-k8s/1 [executing] active: | ||
mysql-k8s/2 [executing] active: | ||
mysql-router-k8s/0 [idle] unknown: | ||
mysql-test-app/0 [idle] waiting: | ||
data-integrator/0 [idle] blocked: Please relate the data-integrator with the desired product | ||
[32mINFO [0m juju.model:model.py:2759 Waiting for model: | ||
mysql-k8s/0 [executing] active: Primary | ||
mysql-k8s/1 [executing] active: | ||
mysql-k8s/2 [executing] active: | ||
mysql-router-k8s/0 [idle] unknown: | ||
mysql-test-app/0 [idle] waiting: | ||
data-integrator/0 [idle] blocked: Please relate the data-integrator with the desired product | ||
[32mINFO [0m juju.model:model.py:2759 Waiting for model: | ||
mysql-k8s/0 [executing] active: Primary | ||
mysql-k8s/1 [executing] active: | ||
mysql-k8s/2 [executing] active: | ||
mysql-router-k8s/0 [idle] unknown: | ||
mysql-test-app/0 [idle] waiting: | ||
data-integrator/0 [idle] blocked: Please relate the data-integrator with the desired product | ||
[32mINFO [0m juju.model:model.py:2759 Waiting for model: | ||
mysql-k8s/0 [executing] active: Primary | ||
mysql-k8s/1 [executing] active: | ||
mysql-k8s/2 [executing] active: | ||
mysql-router-k8s/0 [idle] unknown: | ||
mysql-test-app/0 [idle] waiting: | ||
data-integrator/0 [idle] blocked: Please relate the data-integrator with the desired product | ||
[32mINFO [0m juju.model:model.py:2759 Waiting for model: | ||
mysql-k8s/0 [executing] active: Primary | ||
mysql-k8s/1 [idle] active: | ||
mysql-k8s/2 [executing] active: | ||
mysql-router-k8s/0 [idle] unknown: | ||
mysql-test-app/0 [idle] waiting: | ||
data-integrator/0 [idle] blocked: Please relate the data-integrator with the desired product | ||
[32mINFO [0m juju.model:model.py:2759 Waiting for model: | ||
mysql-k8s/0 [executing] active: Primary | ||
mysql-k8s/1 [executing] active: | ||
mysql-k8s/2 [executing] active: | ||
mysql-router-k8s/0 [idle] unknown: | ||
mysql-test-app/0 [idle] waiting: | ||
data-integrator/0 [idle] blocked: Please relate the data-integrator with the desired product | ||
[32mINFO [0m juju.model:model.py:2759 Waiting for model: | ||
mysql-k8s/0 [executing] active: Primary | ||
mysql-k8s/1 [idle] active: | ||
mysql-k8s/2 [executing] active: | ||
mysql-router-k8s/0 [idle] unknown: | ||
mysql-test-app/0 [idle] waiting: | ||
data-integrator/0 [idle] blocked: Please relate the data-integrator with the desired product | ||
[32mINFO [0m juju.model:model.py:2759 Waiting for model: | ||
mysql-k8s/0 [executing] active: Primary | ||
mysql-k8s/1 [executing] active: | ||
mysql-k8s/2 [executing] active: | ||
mysql-router-k8s/0 [idle] unknown: | ||
mysql-test-app/0 [idle] waiting: | ||
data-integrator/0 [idle] blocked: Please relate the data-integrator with the desired product | ||
[32mINFO [0m juju.model:model.py:2759 Waiting for model: | ||
mysql-k8s/0 [executing] active: Primary | ||
mysql-k8s/1 [executing] active: | ||
mysql-k8s/2 [executing] active: | ||
mysql-router-k8s/0 [idle] unknown: | ||
mysql-test-app/0 [idle] waiting: | ||
data-integrator/0 [idle] blocked: Please relate the data-integrator with the desired product | ||
[32mINFO [0m juju.model:model.py:2759 Waiting for model: | ||
mysql-k8s/0 [executing] active: Primary | ||
mysql-k8s/1 [executing] active: | ||
mysql-k8s/2 [executing] active: | ||
mysql-router-k8s/0 [idle] unknown: | ||
mysql-test-app/0 [idle] waiting: | ||
data-integrator/0 [idle] blocked: Please relate the data-integrator with the desired product | ||
[32mINFO [0m juju.model:model.py:2759 Waiting for model: | ||
mysql-k8s/0 [executing] active: Primary | ||
mysql-k8s/1 [executing] active: | ||
mysql-k8s/2 [executing] active: | ||
mysql-router-k8s/0 [idle] unknown: | ||
mysql-test-app/0 [idle] waiting: | ||
data-integrator/0 [idle] blocked: Please relate the data-integrator with the desired product |
Oops, something went wrong.