-
Notifications
You must be signed in to change notification settings - Fork 15
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
b51e921
commit b22ff71
Showing
226 changed files
with
3,199 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,65 @@ | ||
[32mINFO [0m integration.test_backup_gcp:test_backup_gcp.py:269 Deploying a new mysql cluster | ||
[32mINFO [0m juju.model:model.py:2098 Deploying local:mysql-k8s-1 | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
another-mysql-k8s/0 [allocating] waiting: installing agent | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
another-mysql-k8s/0 [executing] maintenance: Initialising mysqld | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
another-mysql-k8s/0 [idle] active: Primary | ||
[33mWARNING [0m juju.model:model.py:1564 relate is deprecated and will be removed. Use integrate instead. | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
another-mysql-k8s/0 [idle] active: Primary | ||
s3-integrator/0 [executing] active: | ||
[32mINFO [0m integration.test_backup_gcp:test_backup_gcp.py:288 Rotating all mysql credentials | ||
[32mINFO [0m integration.test_backup_gcp:test_backup_gcp.py:305 Syncing credentials | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
another-mysql-k8s/0 [idle] active: Primary | ||
s3-integrator/0 [idle] active: | ||
[32mINFO [0m integration.test_backup_gcp:test_backup_gcp.py:321 Restoring backup_id='2024-09-07T01:32:33Z' | ||
[32mINFO [0m integration.test_backup_gcp:test_backup_gcp.py:326 Ensuring that the pre-backup inserted value exists in database, while post-backup inserted value does not | ||
[32mINFO [0m integration.test_backup_gcp:test_backup_gcp.py:340 Inserting value after restore | ||
[32mINFO [0m integration.test_backup_gcp:test_backup_gcp.py:349 Ensuring that pre-backup and post-restore values exist in the database | ||
[32mINFO [0m integration.test_backup_gcp:test_backup_gcp.py:360 Scaling mysql application to 3 units | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
another-mysql-k8s (waiting for exactly 3 units, current : 1) | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
another-mysql-k8s/0 [executing] active: Primary | ||
another-mysql-k8s/2 [executing] maintenance: Initialising mysqld | ||
another-mysql-k8s/1 [executing] maintenance: Initialising mysqld | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
another-mysql-k8s/0 [idle] active: Primary | ||
another-mysql-k8s/2 [idle] waiting: waiting to get cluster primary from peers | ||
another-mysql-k8s/1 [executing] waiting: waiting to get cluster primary from peers | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
another-mysql-k8s/0 [idle] active: Primary | ||
another-mysql-k8s/2 [executing] active: | ||
another-mysql-k8s/1 [idle] maintenance: joining the cluster | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
another-mysql-k8s/0 [idle] active: Primary | ||
another-mysql-k8s/2 [idle] active: | ||
another-mysql-k8s/1 [idle] active: | ||
[32mINFO [0m integration.test_backup_gcp:test_backup_gcp.py:363 Ensuring inserted values before backup and after restore exist on all units | ||
[32mINFO [0m pytest_operator.plugin:plugin.py:790 Model status: | ||
|
||
Model Controller Cloud/Region Version SLA Timestamp | ||
test microk8s-localhost microk8s/localhost 3.4.5 unsupported 01:41:20Z | ||
|
||
App Version Status Scale Charm Channel Rev Address Exposed Message | ||
another-mysql-k8s 8.0.37-0ubuntu0.22.04.3 active 3 mysql-k8s 1 10.152.183.104 no | ||
mysql-k8s 8.0.37-0ubuntu0.22.04.3 active 3 mysql-k8s 0 10.152.183.65 no | ||
s3-integrator active 1 s3-integrator latest/stable 31 10.152.183.251 no | ||
|
||
Unit Workload Agent Address Ports Message | ||
another-mysql-k8s/0* active idle 10.1.222.144 Primary | ||
another-mysql-k8s/1 active idle 10.1.222.148 | ||
another-mysql-k8s/2 active idle 10.1.222.147 | ||
mysql-k8s/0* active idle 10.1.222.137 Primary | ||
mysql-k8s/1 active idle 10.1.222.142 | ||
mysql-k8s/2 active idle 10.1.222.141 | ||
s3-integrator/0* active idle 10.1.222.138 | ||
|
||
[32mINFO [0m pytest_operator.plugin:plugin.py:796 Juju error logs: | ||
|
||
|
||
[32mINFO [0m pytest_operator.plugin:plugin.py:862 Forgetting main... | ||
[32mINFO [0m integration.test_backup_gcp:test_backup_gcp.py:70 Cleaning backups from buckets |
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,99 @@ | ||
[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:2098 Deploying local:mysql-k8s-0 | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
mysql-k8s/0 [allocating] waiting: installing agent | ||
mysql-k8s/1 [allocating] waiting: installing agent | ||
mysql-k8s/2 [allocating] waiting: installing agent | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
mysql-k8s/0 [executing] maintenance: Initialising mysqld | ||
mysql-k8s/1 [executing] maintenance: Initialising mysqld | ||
mysql-k8s/2 [executing] maintenance: Initialising mysqld | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
mysql-k8s/0 [executing] active: Primary | ||
mysql-k8s/1 [idle] maintenance: joining the cluster | ||
mysql-k8s/2 [executing] waiting: waiting to join the cluster | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
mysql-k8s/0 [idle] active: Primary | ||
mysql-k8s/1 [idle] active: | ||
mysql-k8s/2 [executing] maintenance: joining the cluster | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
mysql-k8s/0 [idle] active: Primary | ||
mysql-k8s/1 [idle] active: | ||
mysql-k8s/2 [idle] active: | ||
[32mINFO [0m integration.high_availability.conftest:conftest.py:71 Deploying mysql-test-app | ||
[32mINFO [0m juju.model:model.py:2098 Deploying ch:amd64/jammy/mysql-test-app-58 | ||
[32mINFO [0m juju.model:model.py:2972 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:1564 relate is deprecated and will be removed. Use integrate instead. | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
mysql-k8s/0 [idle] active: Primary | ||
mysql-k8s/1 [idle] active: | ||
mysql-k8s/2 [idle] active: | ||
mysql-test-app/0 [idle] waiting: | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
mysql-k8s/0 [idle] active: Primary | ||
mysql-k8s/1 [idle] active: | ||
mysql-k8s/2 [idle] active: | ||
[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_node_drain:test_node_drain.py:38 Waiting until 3 mysql instances are online | ||
[32mINFO [0m integration.high_availability.test_node_drain:test_node_drain.py:44 Ensuring all units have continuous writes incrementing | ||
[32mINFO [0m integration.high_availability.high_availability_helpers:high_availability_helpers.py:484 max_written_value=707 on unit mysql-k8s/0 | ||
[32mINFO [0m integration.high_availability.high_availability_helpers:high_availability_helpers.py:484 max_written_value=710 on unit mysql-k8s/1 | ||
[32mINFO [0m integration.high_availability.high_availability_helpers:high_availability_helpers.py:484 max_written_value=713 on unit mysql-k8s/2 | ||
[32mINFO [0m integration.high_availability.test_node_drain:test_node_drain.py:50 Evicting primary node mysql-k8s/0 and deleting its PVCs | ||
[32mINFO [0m httpx:_client.py:1026 HTTP Request: GET https://10.1.0.30:16443/api/v1/namespaces/test/pods/mysql-k8s-0 "HTTP/1.1 200 OK" | ||
[32mINFO [0m httpx:_client.py:1026 HTTP Request: GET https://10.1.0.30:16443/api/v1/namespaces/test/persistentvolumeclaims/mysql-k8s-database-b6155160-mysql-k8s-0 "HTTP/1.1 200 OK" | ||
[32mINFO [0m httpx:_client.py:1026 HTTP Request: GET https://10.1.0.30:16443/api/v1/persistentvolumes "HTTP/1.1 200 OK" | ||
[32mINFO [0m integration.high_availability.high_availability_helpers:high_availability_helpers.py:621 Evicting pod mysql-k8s-0 | ||
[32mINFO [0m httpx:_client.py:1026 HTTP Request: POST https://10.1.0.30:16443/api/v1/namespaces/test/pods/mysql-k8s-0/eviction "HTTP/1.1 201 Created" | ||
[32mINFO [0m integration.high_availability.high_availability_helpers:high_availability_helpers.py:648 Deleting PVC mysql-k8s-database-b6155160-mysql-k8s-0 | ||
[32mINFO [0m httpx:_client.py:1026 HTTP Request: DELETE https://10.1.0.30:16443/api/v1/namespaces/test/persistentvolumeclaims/mysql-k8s-database-b6155160-mysql-k8s-0?gracePeriodSeconds=0 "HTTP/1.1 200 OK" | ||
[32mINFO [0m integration.high_availability.high_availability_helpers:high_availability_helpers.py:632 Deleting PV mysql-k8s-database-b6155160-mysql-k8s-0 | ||
[32mINFO [0m httpx:_client.py:1026 HTTP Request: DELETE https://10.1.0.30:16443/api/v1/persistentvolumes/pvc-eb996dd9-cd74-4f54-a1e6-5bef3627df18?gracePeriodSeconds=0 "HTTP/1.1 200 OK" | ||
[32mINFO [0m integration.high_availability.test_node_drain:test_node_drain.py:59 Waiting for evicted primary pod to be rescheduled | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
mysql-k8s/0 [idle] maintenance: stopping charm software | ||
mysql-k8s/1 [idle] active: | ||
mysql-k8s/2 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
mysql-k8s/0 [executing] maintenance: | ||
mysql-k8s/1 [idle] active: | ||
mysql-k8s/2 [idle] active: Primary | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
mysql-k8s/0 [idle] maintenance: joining the cluster | ||
mysql-k8s/1 [idle] active: | ||
mysql-k8s/2 [idle] active: Primary | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
mysql-k8s/0 [idle] active: | ||
mysql-k8s/1 [idle] active: | ||
mysql-k8s/2 [idle] active: Primary | ||
[32mINFO [0m integration.high_availability.test_node_drain:test_node_drain.py:68 Waiting until 3 mysql instances are online | ||
[32mINFO [0m integration.high_availability.test_node_drain:test_node_drain.py:73 Ensuring all units have continuous writes incrementing | ||
[32mINFO [0m integration.high_availability.high_availability_helpers:high_availability_helpers.py:484 max_written_value=9768 on unit mysql-k8s/0 | ||
[32mINFO [0m integration.high_availability.high_availability_helpers:high_availability_helpers.py:484 max_written_value=9772 on unit mysql-k8s/1 | ||
[32mINFO [0m integration.high_availability.high_availability_helpers:high_availability_helpers.py:484 max_written_value=9775 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.4.5 unsupported 01:35:32Z | ||
|
||
App Version Status Scale Charm Channel Rev Address Exposed Message | ||
mysql-k8s 8.0.37-0ubuntu0.22.04.3 active 3 mysql-k8s 0 10.152.183.93 no | ||
mysql-test-app 0.0.2 active 1 mysql-test-app latest/edge 58 10.152.183.245 no Last written value=8988 | ||
|
||
Unit Workload Agent Address Ports Message | ||
mysql-k8s/0* active idle 10.1.129.16 | ||
mysql-k8s/1 active idle 10.1.129.13 | ||
mysql-k8s/2 active idle 10.1.129.12 Primary | ||
mysql-test-app/0* active idle 10.1.129.14 Last written value=8988 | ||
|
||
[32mINFO [0m pytest_operator.plugin:plugin.py:796 Juju error logs: | ||
|
||
unit-mysql-k8s-0: 01:33:56 ERROR unit.mysql-k8s/0.juju-log Cluster upgrade failed, ensure pre-upgrade checks are ran first. | ||
|
||
[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,25 @@ | ||
[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:2972 Waiting for model: | ||
mysql-k8s/0 [idle] active: Primary | ||
s3-integrator/0 [idle] active: | ||
[32mINFO [0m integration.test_backup_ceph:test_backup_ceph.py:206 Restoring backup_id='2024-09-07T01:40:26Z' | ||
[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:2972 Waiting for model: | ||
mysql-k8s (waiting for exactly 3 units, current : 1) | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
mysql-k8s/0 [executing] active: Primary | ||
mysql-k8s/1 [executing] maintenance: Initialising mysqld | ||
mysql-k8s/2 [executing] maintenance: Initialising mysqld | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
mysql-k8s/0 [idle] active: Primary | ||
mysql-k8s/1 [executing] waiting: waiting to join the cluster | ||
mysql-k8s/2 [idle] maintenance: joining the cluster | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
mysql-k8s/0 [executing] active: Primary | ||
mysql-k8s/1 [executing] active: | ||
mysql-k8s/2 [executing] active: | ||
[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.