-
Notifications
You must be signed in to change notification settings - Fork 16
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
e8cda28
commit 505404a
Showing
254 changed files
with
3,494 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,98 @@ | ||
[32mINFO [0m pytest_operator.plugin:plugin.py:675 Connecting to existing model microk8s-localhost:test on unspecified cloud | ||
[32mINFO [0m integration.high_availability.test_k8s_endpoints:test_k8s_endpoints.py:31 Deploying first mysql cluster | ||
[32mINFO [0m juju.model:model.py:2284 Deploying local:mysql-k8s-0 | ||
[32mINFO [0m juju.model:model.py:3211 Waiting for model: | ||
mysql1/0 [allocating] waiting: installing agent | ||
mysql1/1 [allocating] waiting: installing agent | ||
[32mINFO [0m juju.model:model.py:3211 Waiting for model: | ||
mysql1/0 [executing] maintenance: installing charm software | ||
mysql1/1 [executing] maintenance: installing charm software | ||
mysql1/2 [executing] maintenance: installing charm software | ||
[32mINFO [0m juju.model:model.py:3211 Waiting for model: | ||
mysql1/0 [executing] active: Primary | ||
mysql1/1 [executing] waiting: waiting to get cluster primary from peers | ||
mysql1/2 [idle] waiting: waiting to get cluster primary from peers | ||
[32mINFO [0m juju.model:model.py:3211 Waiting for model: | ||
mysql1/0 [executing] active: Primary | ||
mysql1/1 [idle] maintenance: joining the cluster | ||
mysql1/2 [executing] active: | ||
[32mINFO [0m juju.model:model.py:3211 Waiting for model: | ||
mysql1/0 [idle] active: Primary | ||
[32mINFO [0m integration.high_availability.test_k8s_endpoints:test_k8s_endpoints.py:39 Deploying and relating test app with cluster | ||
[32mINFO [0m juju.model:model.py:2284 Deploying ch:amd64/jammy/mysql-test-app-63 | ||
[32mINFO [0m juju.model:model.py:3211 Waiting for model: | ||
mysql-test-app1/0 [allocating] waiting: installing agent | ||
[33mWARNING [0m juju.model:model.py:1666 relate is deprecated and will be removed. Use integrate instead. | ||
[32mINFO [0m juju.model:model.py:3211 Waiting for model: | ||
mysql1/0 [idle] active: Primary | ||
mysql1/1 [idle] active: | ||
mysql1/2 [idle] active: | ||
mysql-test-app1/0 [idle] waiting: | ||
[32mINFO [0m integration.high_availability.test_k8s_endpoints:test_k8s_endpoints.py:52 Deploying second mysql application with same cluster name | ||
[32mINFO [0m juju.model:model.py:2284 Deploying local:mysql-k8s-1 | ||
[32mINFO [0m juju.model:model.py:3211 Waiting for model: | ||
mysql2/0 [allocating] waiting: installing agent | ||
mysql2/1 [allocating] waiting: installing agent | ||
mysql2/2 [allocating] waiting: installing agent | ||
[32mINFO [0m juju.model:model.py:3211 Waiting for model: | ||
mysql2/0 [executing] maintenance: installing charm software | ||
mysql2/1 [executing] maintenance: installing charm software | ||
mysql2/2 [executing] maintenance: installing charm software | ||
[32mINFO [0m juju.model:model.py:3211 Waiting for model: | ||
mysql2/0 [executing] waiting: waiting to get cluster primary from peers | ||
mysql2/1 [executing] active: Primary | ||
mysql2/2 [executing] waiting: waiting to get cluster primary from peers | ||
[32mINFO [0m juju.model:model.py:3211 Waiting for model: | ||
mysql2/0 [executing] active: | ||
mysql2/1 [executing] active: Primary | ||
mysql2/2 [executing] waiting: waiting to join the cluster | ||
[32mINFO [0m juju.model:model.py:3211 Waiting for model: | ||
mysql2/0 [idle] active: | ||
mysql2/1 [idle] active: Primary | ||
mysql2/2 [idle] active: | ||
[32mINFO [0m integration.high_availability.test_k8s_endpoints:test_k8s_endpoints.py:60 Deploying and relating another test app with second cluster | ||
[32mINFO [0m juju.model:model.py:2284 Deploying ch:amd64/jammy/mysql-test-app-63 | ||
[32mINFO [0m juju.model:model.py:3211 Waiting for model: | ||
mysql-test-app2/0 [allocating] waiting: installing agent | ||
[32mINFO [0m juju.model:model.py:3211 Waiting for model: | ||
mysql-test-app2/0 [idle] waiting: | ||
[33mWARNING [0m juju.model:model.py:1666 relate is deprecated and will be removed. Use integrate instead. | ||
[32mINFO [0m juju.model:model.py:3211 Waiting for model: | ||
mysql2/0 [idle] active: | ||
mysql2/1 [idle] active: Primary | ||
mysql2/2 [idle] active: | ||
mysql-test-app2/0 [executing] waiting: | ||
[32mINFO [0m juju.model:model.py:3211 Waiting for model: | ||
mysql2/0 [idle] active: | ||
mysql2/1 [idle] active: Primary | ||
mysql2/2 [idle] active: | ||
[32mINFO [0m integration.high_availability.test_k8s_endpoints:test_k8s_endpoints.py:73 Ensuring that the created k8s endpoints have correct addresses | ||
[32mINFO [0m httpx:_client.py:1026 HTTP Request: GET https://10.1.0.87:16443/api/v1/namespaces/test/endpoints/mysql1-primary "HTTP/1.1 200 OK" | ||
[32mINFO [0m httpx:_client.py:1026 HTTP Request: GET https://10.1.0.87:16443/api/v1/namespaces/test/endpoints/mysql1-replicas "HTTP/1.1 200 OK" | ||
[32mINFO [0m httpx:_client.py:1026 HTTP Request: GET https://10.1.0.87:16443/api/v1/namespaces/test/endpoints/mysql2-primary "HTTP/1.1 200 OK" | ||
[32mINFO [0m httpx:_client.py:1026 HTTP Request: GET https://10.1.0.87:16443/api/v1/namespaces/test/endpoints/mysql2-replicas "HTTP/1.1 200 OK" | ||
[32mINFO [0m pytest_operator.plugin:plugin.py:790 Model status: | ||
|
||
Model Controller Cloud/Region Version SLA Timestamp | ||
test microk8s-localhost microk8s/localhost 3.6.1 unsupported 01:35:21Z | ||
|
||
App Version Status Scale Charm Channel Rev Address Exposed Message | ||
mysql1 8.0.39-0ubuntu0.22.04.1 active 3 mysql-k8s 0 10.152.183.210 no | ||
mysql2 8.0.39-0ubuntu0.22.04.1 active 3 mysql-k8s 1 10.152.183.142 no | ||
mysql-test-app1 0.0.2 active 1 mysql-test-app latest/edge 63 10.152.183.62 no Last written value=10093 | ||
mysql-test-app2 0.0.2 active 1 mysql-test-app latest/edge 63 10.152.183.26 no | ||
|
||
Unit Workload Agent Address Ports Message | ||
mysql1/0* active idle 10.1.160.11 Primary | ||
mysql1/1 active idle 10.1.160.12 | ||
mysql1/2 active idle 10.1.160.13 | ||
mysql2/0 active idle 10.1.160.18 | ||
mysql2/1* active idle 10.1.160.19 Primary | ||
mysql2/2 active idle 10.1.160.20 | ||
mysql-test-app1/0* active idle 10.1.160.14 Last written value=10093 | ||
mysql-test-app2/0* active idle 10.1.160.21 | ||
|
||
[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,122 @@ | ||
[32mINFO [0m pytest_operator.plugin:plugin.py:675 Connecting to existing model microk8s-localhost:test on unspecified cloud | ||
[32mINFO [0m integration.high_availability.conftest:conftest.py:68 Deploying mysql-k8s and scaling to 3 units | ||
[32mINFO [0m juju.model:model.py:2284 Deploying local:mysql-k8s-0 | ||
[32mINFO [0m juju.model:model.py:3211 Waiting for model: | ||
mysql-k8s/0 [allocating] waiting: installing agent | ||
mysql-k8s/1 [allocating] waiting: installing agent | ||
[32mINFO [0m juju.model:model.py:3211 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 | ||
[32mINFO [0m juju.model:model.py:3211 Waiting for model: | ||
mysql-k8s/0 [executing] waiting: waiting to get cluster primary from peers | ||
mysql-k8s/1 [executing] waiting: waiting to get cluster primary from peers | ||
mysql-k8s/2 [executing] active: Primary | ||
[32mINFO [0m juju.model:model.py:3211 Waiting for model: | ||
mysql-k8s/0 [executing] active: | ||
mysql-k8s/1 [executing] maintenance: joining the cluster | ||
mysql-k8s/2 [executing] active: Primary | ||
[32mINFO [0m juju.model:model.py:3211 Waiting for model: | ||
mysql-k8s/0 [idle] active: | ||
mysql-k8s/1 [idle] active: | ||
mysql-k8s/2 [idle] active: Primary | ||
[32mINFO [0m integration.high_availability.conftest:conftest.py:71 Deploying mysql-test-app | ||
[32mINFO [0m juju.model:model.py:2284 Deploying ch:amd64/jammy/mysql-test-app-63 | ||
[32mINFO [0m juju.model:model.py:3211 Waiting for model: | ||
mysql-test-app/0 [allocating] waiting: installing agent | ||
[32mINFO [0m integration.high_availability.conftest:conftest.py:74 Relating mysql-k8s with mysql-test-app | ||
[33mWARNING [0m juju.model:model.py:1666 relate is deprecated and will be removed. Use integrate instead. | ||
[32mINFO [0m juju.model:model.py:3211 Waiting for model: | ||
mysql-k8s/0 [idle] active: | ||
mysql-k8s/1 [idle] active: | ||
mysql-k8s/2 [idle] active: Primary | ||
mysql-test-app/0 [idle] waiting: | ||
[32mINFO [0m integration.high_availability.conftest:conftest.py:29 Clearing continuous writes | ||
[32mINFO [0m integration.high_availability.conftest:conftest.py:31 Starting continuous writes | ||
[32mINFO [0m integration.conftest:conftest.py:20 Getting credentials for the MySQL cluster | ||
[32mINFO [0m integration.high_availability.test_self_healing:test_self_healing.py:124 Ensuring that all units continuous writes incrementing | ||
[32mINFO [0m integration.high_availability.high_availability_helpers:high_availability_helpers.py:505 max_written_value=803 on unit mysql-k8s/0 | ||
[32mINFO [0m integration.high_availability.high_availability_helpers:high_availability_helpers.py:505 max_written_value=806 on unit mysql-k8s/1 | ||
[32mINFO [0m integration.high_availability.high_availability_helpers:high_availability_helpers.py:505 max_written_value=807 on unit mysql-k8s/2 | ||
[32mINFO [0m integration.high_availability.test_self_healing:test_self_healing.py:135 Sending SIGSTOP to unit mysql-k8s/2 | ||
[32mINFO [0m integration.high_availability.test_self_healing:test_self_healing.py:158 Waiting for new primary to be elected | ||
[32mINFO [0m integration.high_availability.test_self_healing:test_self_healing.py:172 Ensuring all remaining units continuous writes incrementing | ||
[32mINFO [0m integration.high_availability.high_availability_helpers:high_availability_helpers.py:505 max_written_value=1236 on unit mysql-k8s/0 | ||
[32mINFO [0m integration.high_availability.high_availability_helpers:high_availability_helpers.py:505 max_written_value=1236 on unit mysql-k8s/0 | ||
[32mINFO [0m integration.high_availability.high_availability_helpers:high_availability_helpers.py:505 max_written_value=1236 on unit mysql-k8s/0 | ||
[32mINFO [0m integration.high_availability.high_availability_helpers:high_availability_helpers.py:505 max_written_value=1236 on unit mysql-k8s/0 | ||
[32mINFO [0m integration.high_availability.high_availability_helpers:high_availability_helpers.py:505 max_written_value=1236 on unit mysql-k8s/0 | ||
[32mINFO [0m integration.high_availability.high_availability_helpers:high_availability_helpers.py:505 max_written_value=1236 on unit mysql-k8s/0 | ||
[32mINFO [0m integration.high_availability.high_availability_helpers:high_availability_helpers.py:505 max_written_value=1236 on unit mysql-k8s/0 | ||
[32mINFO [0m integration.high_availability.high_availability_helpers:high_availability_helpers.py:505 max_written_value=1236 on unit mysql-k8s/0 | ||
[32mINFO [0m integration.high_availability.high_availability_helpers:high_availability_helpers.py:505 max_written_value=1236 on unit mysql-k8s/0 | ||
[32mINFO [0m integration.high_availability.high_availability_helpers:high_availability_helpers.py:505 max_written_value=1236 on unit mysql-k8s/0 | ||
[32mINFO [0m integration.high_availability.high_availability_helpers:high_availability_helpers.py:505 max_written_value=1236 on unit mysql-k8s/0 | ||
[32mINFO [0m integration.high_availability.high_availability_helpers:high_availability_helpers.py:505 max_written_value=1236 on unit mysql-k8s/0 | ||
[32mINFO [0m integration.high_availability.high_availability_helpers:high_availability_helpers.py:505 max_written_value=1236 on unit mysql-k8s/0 | ||
[32mINFO [0m integration.high_availability.high_availability_helpers:high_availability_helpers.py:505 max_written_value=1236 on unit mysql-k8s/0 | ||
[32mINFO [0m integration.high_availability.high_availability_helpers:high_availability_helpers.py:505 max_written_value=1236 on unit mysql-k8s/0 | ||
[32mINFO [0m integration.high_availability.high_availability_helpers:high_availability_helpers.py:505 max_written_value=1236 on unit mysql-k8s/0 | ||
[32mINFO [0m integration.high_availability.high_availability_helpers:high_availability_helpers.py:505 max_written_value=1236 on unit mysql-k8s/0 | ||
[32mINFO [0m integration.high_availability.high_availability_helpers:high_availability_helpers.py:505 max_written_value=1236 on unit mysql-k8s/0 | ||
[32mINFO [0m integration.high_availability.high_availability_helpers:high_availability_helpers.py:505 max_written_value=1236 on unit mysql-k8s/0 | ||
[32mINFO [0m integration.high_availability.high_availability_helpers:high_availability_helpers.py:505 max_written_value=1236 on unit mysql-k8s/0 | ||
[32mINFO [0m integration.high_availability.high_availability_helpers:high_availability_helpers.py:505 max_written_value=1236 on unit mysql-k8s/0 | ||
[32mINFO [0m integration.high_availability.high_availability_helpers:high_availability_helpers.py:505 max_written_value=1236 on unit mysql-k8s/0 | ||
[32mINFO [0m integration.high_availability.high_availability_helpers:high_availability_helpers.py:505 max_written_value=1237 on unit mysql-k8s/0 | ||
[32mINFO [0m integration.high_availability.high_availability_helpers:high_availability_helpers.py:505 max_written_value=1239 on unit mysql-k8s/1 | ||
[32mINFO [0m integration.high_availability.test_self_healing:test_self_healing.py:181 Sending SIGCONT to mysql-k8s/2 | ||
[32mINFO [0m juju.model:model.py:3211 Waiting for model: | ||
mysql-k8s/0 [idle] active: Primary | ||
mysql-k8s/1 [idle] active: | ||
mysql-k8s/2 [idle] maintenance: Unable to get member state | ||
[32mINFO [0m juju.model:model.py:3211 Waiting for model: | ||
mysql-k8s/0 [idle] active: Primary | ||
mysql-k8s/1 [idle] active: | ||
mysql-k8s/2 [idle] maintenance: Unable to get member state | ||
[32mINFO [0m juju.model:model.py:3211 Waiting for model: | ||
mysql-k8s/0 [idle] active: Primary | ||
mysql-k8s/1 [idle] active: | ||
mysql-k8s/2 [idle] active: | ||
[32mINFO [0m integration.high_availability.test_self_healing:test_self_healing.py:224 Ensuring that there are 3 online mysql members | ||
[32mINFO [0m integration.high_availability.test_self_healing:test_self_healing.py:229 Ensure all units continuous writes incrementing | ||
[32mINFO [0m integration.high_availability.high_availability_helpers:high_availability_helpers.py:505 max_written_value=8867 on unit mysql-k8s/0 | ||
[32mINFO [0m integration.high_availability.high_availability_helpers:high_availability_helpers.py:505 max_written_value=8870 on unit mysql-k8s/1 | ||
[32mINFO [0m integration.high_availability.high_availability_helpers:high_availability_helpers.py:505 max_written_value=8873 on unit mysql-k8s/2 | ||
[32mINFO [0m integration.high_availability.conftest:conftest.py:36 Clearing continuous writes | ||
[32mINFO [0m pytest_operator.plugin:plugin.py:790 Model status: | ||
|
||
Model Controller Cloud/Region Version SLA Timestamp | ||
test microk8s-localhost microk8s/localhost 3.6.1 unsupported 01:38:46Z | ||
|
||
App Version Status Scale Charm Channel Rev Address Exposed Message | ||
mysql-k8s 8.0.39-0ubuntu0.22.04.1 active 3 mysql-k8s 0 10.152.183.192 no | ||
mysql-test-app 0.0.2 active 1 mysql-test-app latest/edge 63 10.152.183.82 no Last written value=6917 | ||
|
||
Unit Workload Agent Address Ports Message | ||
mysql-k8s/0 active idle 10.1.5.140 Primary | ||
mysql-k8s/1 active idle 10.1.5.141 | ||
mysql-k8s/2* active idle 10.1.5.139 | ||
mysql-test-app/0* active idle 10.1.5.142 Last written value=6917 | ||
|
||
[32mINFO [0m pytest_operator.plugin:plugin.py:796 Juju error logs: | ||
|
||
unit-mysql-k8s-0: 01:32:23 ERROR unit.mysql-k8s/0.juju-log Failed to get cluster status for test_cluster | ||
unit-mysql-k8s-2: 01:36:11 ERROR unit.mysql-k8s/2.juju-log Failed to get member state: mysqld daemon is down | ||
unit-mysql-k8s-2: 01:36:31 ERROR unit.mysql-k8s/2.juju-log Failed to get member state: mysqld daemon is down | ||
unit-mysql-k8s-2: 01:36:51 ERROR unit.mysql-k8s/2.juju-log Failed to get member state: mysqld daemon is down | ||
unit-mysql-k8s-2: 01:36:51 ERROR unit.mysql-k8s/2.juju-log Error getting member state while checking if cluster is blocked | ||
unit-mysql-k8s-2: 01:37:01 ERROR unit.mysql-k8s/2.juju-log Failed to get member state: mysqld daemon is down | ||
unit-mysql-k8s-2: 01:37:21 ERROR unit.mysql-k8s/2.juju-log Failed to get member state: mysqld daemon is down | ||
unit-mysql-k8s-2: 01:37:32 ERROR unit.mysql-k8s/2.juju-log Failed to get cluster status for test_cluster | ||
unit-mysql-k8s-2: 01:37:32 ERROR unit.mysql-k8s/2.juju-log Failed to get cluster endpoints | ||
Traceback (most recent call last): | ||
File "/var/lib/juju/agents/unit-mysql-k8s-2/charm/src/mysql_k8s_helpers.py", line 792, in update_endpoints | ||
rw_endpoints, ro_endpoints, offline = self.get_cluster_endpoints(get_ips=False) | ||
File "/var/lib/juju/agents/unit-mysql-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-mysql-k8s-2/charm/lib/charms/mysql/v0/mysql.py", line 1954, in get_cluster_endpoints | ||
raise MySQLGetClusterEndpointsError("Failed to get endpoints from cluster status") | ||
charms.mysql.v0.mysql.MySQLGetClusterEndpointsError: Failed to get endpoints from cluster status | ||
|
||
[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,27 @@ | ||
[32mINFO [0m integration.conftest:conftest.py:20 Getting credentials for the MySQL cluster | ||
[32mINFO [0m integration.test_backup_ceph:test_backup_ceph.py:190 Syncing credentials | ||
[32mINFO [0m juju.model:model.py:3211 Waiting for model: | ||
mysql-k8s/0 [idle] active: Primary | ||
s3-integrator/0 [idle] active: | ||
[32mINFO [0m juju.model:model.py:3211 Waiting for model: | ||
mysql-k8s/0 [idle] active: Primary | ||
[32mINFO [0m integration.test_backup_ceph:test_backup_ceph.py:206 Restoring backup_id='2025-01-03T01:32:28Z' | ||
[32mINFO [0m integration.test_backup_ceph:test_backup_ceph.py:211 Ensuring that the pre-backup inserted value exists in database, while post-backup inserted value does not | ||
[32mINFO [0m integration.test_backup_ceph:test_backup_ceph.py:225 Inserting value after restore | ||
[32mINFO [0m integration.test_backup_ceph:test_backup_ceph.py:233 Ensuring that pre-backup and post-restore values exist in the database | ||
[32mINFO [0m integration.test_backup_ceph:test_backup_ceph.py:244 Scaling mysql application to 3 units | ||
[32mINFO [0m juju.model:model.py:3211 Waiting for model: | ||
mysql-k8s (waiting for exactly 3 units, current : 1) | ||
[32mINFO [0m juju.model:model.py:3211 Waiting for model: | ||
mysql-k8s/0 [executing] active: Primary | ||
mysql-k8s/2 [executing] maintenance: Initialising mysqld | ||
mysql-k8s/1 [executing] maintenance: Initialising mysqld | ||
[32mINFO [0m juju.model:model.py:3211 Waiting for model: | ||
mysql-k8s/0 [idle] active: Primary | ||
mysql-k8s/2 [idle] maintenance: joining the cluster | ||
mysql-k8s/1 [executing] waiting: waiting to get cluster primary from peers | ||
[32mINFO [0m juju.model:model.py:3211 Waiting for model: | ||
mysql-k8s/0 [idle] active: Primary | ||
mysql-k8s/2 [idle] active: | ||
mysql-k8s/1 [executing] maintenance: joining the cluster | ||
[32mINFO [0m integration.test_backup_ceph:test_backup_ceph.py:247 Ensuring inserted values before backup and after restore exist on all units |
Oops, something went wrong.