-
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
e4aab57
commit 4a23a32
Showing
224 changed files
with
3,059 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,75 @@ | ||
[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] 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:2972 Waiting for model: | ||
mysql-k8s/0 [executing] active: | ||
mysql-k8s/1 [executing] maintenance: joining the cluster | ||
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.conftest:conftest.py:71 Deploying mysql-test-app | ||
[32mINFO [0m juju.model:model.py:2098 Deploying ch:amd64/jammy/mysql-test-app-51 | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
mysql-test-app/0 [allocating] waiting: installing agent | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
mysql-test-app/0 [idle] waiting: | ||
[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: | ||
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:51 Waiting until 3 mysql instances are online | ||
[32mINFO [0m integration.high_availability.test_self_healing:test_self_healing.py:57 Ensuring all units have continuous writes incrementing | ||
[32mINFO [0m integration.high_availability.high_availability_helpers:high_availability_helpers.py:484 max_written_value=693 on unit mysql-k8s/0 | ||
[32mINFO [0m integration.high_availability.high_availability_helpers:high_availability_helpers.py:484 max_written_value=696 on unit mysql-k8s/1 | ||
[32mINFO [0m integration.high_availability.high_availability_helpers:high_availability_helpers.py:484 max_written_value=698 on unit mysql-k8s/2 | ||
[32mINFO [0m integration.high_availability.test_self_healing:test_self_healing.py:67 Sending SIGKILL to unit mysql-k8s/2 | ||
[32mINFO [0m integration.high_availability.test_self_healing:test_self_healing.py:79 Waiting until 3 mysql instances are online | ||
[32mINFO [0m integration.high_availability.test_self_healing:test_self_healing.py:97 Ensuring all units have continuous writes incrementing | ||
[32mINFO [0m integration.high_availability.high_availability_helpers:high_availability_helpers.py:484 max_written_value=936 on unit mysql-k8s/0 | ||
[32mINFO [0m integration.high_availability.high_availability_helpers:high_availability_helpers.py:484 max_written_value=936 on unit mysql-k8s/0 | ||
[32mINFO [0m integration.high_availability.high_availability_helpers:high_availability_helpers.py:484 max_written_value=936 on unit mysql-k8s/0 | ||
[32mINFO [0m integration.high_availability.high_availability_helpers:high_availability_helpers.py:484 max_written_value=1747 on unit mysql-k8s/0 | ||
[32mINFO [0m integration.high_availability.high_availability_helpers:high_availability_helpers.py:484 max_written_value=1750 on unit mysql-k8s/1 | ||
[32mINFO [0m integration.high_availability.high_availability_helpers:high_availability_helpers.py:484 max_written_value=1753 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:34:47Z | ||
|
||
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.245 no | ||
mysql-test-app 0.0.2 active 1 mysql-test-app latest/edge 51 10.152.183.40 no Last written value=1710 | ||
|
||
Unit Workload Agent Address Ports Message | ||
mysql-k8s/0 active idle 10.1.41.203 Primary | ||
mysql-k8s/1 active idle 10.1.41.204 | ||
mysql-k8s/2* active idle 10.1.41.205 | ||
mysql-test-app/0* active idle 10.1.41.206 Last written value=1710 | ||
|
||
[32mINFO [0m pytest_operator.plugin:plugin.py:796 Juju error logs: | ||
|
||
unit-mysql-k8s-0: 01:33:41 ERROR unit.mysql-k8s/0.juju-log Failed to get cluster status for test_cluster | ||
unit-mysql-k8s-0: 01:33:53 ERROR unit.mysql-k8s/0.juju-log Failed to get cluster status for test_cluster | ||
|
||
[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,61 @@ | ||
[32mINFO [0m integration.test_backup_aws:test_backup_aws.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 [idle] active: | ||
[32mINFO [0m integration.test_backup_aws:test_backup_aws.py:288 Rotating all mysql credentials | ||
[32mINFO [0m integration.test_backup_aws:test_backup_aws.py:305 Syncing credentials | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
another-mysql-k8s/0 [executing] active: Primary | ||
s3-integrator/0 [idle] active: | ||
[32mINFO [0m integration.test_backup_aws:test_backup_aws.py:321 Restoring backup_id='2024-09-05T01:33:19Z' | ||
[32mINFO [0m integration.test_backup_aws:test_backup_aws.py:326 Ensuring that the pre-backup inserted value exists in database, while post-backup inserted value does not | ||
[32mINFO [0m integration.test_backup_aws:test_backup_aws.py:340 Inserting value after restore | ||
[32mINFO [0m integration.test_backup_aws:test_backup_aws.py:349 Ensuring that pre-backup and post-restore values exist in the database | ||
[32mINFO [0m integration.test_backup_aws:test_backup_aws.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] maintenance: joining the cluster | ||
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 [idle] active: | ||
another-mysql-k8s/1 [idle] maintenance: joining the cluster | ||
[32mINFO [0m integration.test_backup_aws:test_backup_aws.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:40:48Z | ||
|
||
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.134 no | ||
mysql-k8s 8.0.37-0ubuntu0.22.04.3 active 3 mysql-k8s 0 10.152.183.124 no | ||
s3-integrator active 1 s3-integrator latest/stable 31 10.152.183.30 no | ||
|
||
Unit Workload Agent Address Ports Message | ||
another-mysql-k8s/0* active idle 10.1.96.16 Primary | ||
another-mysql-k8s/1 active idle 10.1.96.20 | ||
another-mysql-k8s/2 active idle 10.1.96.19 | ||
mysql-k8s/0* active idle 10.1.96.9 Primary | ||
mysql-k8s/1 active idle 10.1.96.14 | ||
mysql-k8s/2 active idle 10.1.96.13 | ||
s3-integrator/0* active idle 10.1.96.10 | ||
|
||
[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_aws:test_backup_aws.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,31 @@ | ||
[32mINFO [0m integration.high_availability.test_upgrade_rollback_incompat:test_upgrade_rollback_incompat.py:126 Get leader unit | ||
[32mINFO [0m integration.high_availability.test_upgrade_rollback_incompat:test_upgrade_rollback_incompat.py:131 Run pre-upgrade-check action | ||
[32mINFO [0m integration.high_availability.test_upgrade_rollback_incompat:test_upgrade_rollback_incompat.py:134 Refresh with previous charm | ||
[32mINFO [0m integration.high_availability.test_upgrade_rollback_incompat:test_upgrade_rollback_incompat.py:141 Wait for upgrade to start | ||
[32mINFO [0m integration.high_availability.test_upgrade_rollback_incompat:test_upgrade_rollback_incompat.py:148 Wait for upgrade to complete on first upgrading unit | ||
[32mINFO [0m integration.high_availability.test_upgrade_rollback_incompat:test_upgrade_rollback_incompat.py:155 Resume upgrade | ||
[32mINFO [0m httpx:_client.py:1026 HTTP Request: GET https://10.1.0.74:16443/apis/apps/v1/namespaces/test/statefulsets/mysql-k8s "HTTP/1.1 200 OK" | ||
[32mINFO [0m httpx:_client.py:1026 HTTP Request: GET https://10.1.0.74:16443/apis/apps/v1/namespaces/test/statefulsets/mysql-k8s "HTTP/1.1 200 OK" | ||
[32mINFO [0m integration.high_availability.test_upgrade_rollback_incompat:test_upgrade_rollback_incompat.py:168 Wait for application to recover | ||
[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:33Z | ||
|
||
App Version Status Scale Charm Channel Rev Address Exposed Message | ||
mysql-k8s 8.0.34-0ubuntu0.22.04.1 waiting 3 mysql-k8s 1 10.152.183.215 no waiting for units to settle down | ||
|
||
Unit Workload Agent Address Ports Message | ||
mysql-k8s/0 active executing 10.1.189.81 | ||
mysql-k8s/1* active executing 10.1.189.80 | ||
mysql-k8s/2 active executing 10.1.189.79 | ||
|
||
[32mINFO [0m pytest_operator.plugin:plugin.py:796 Juju error logs: | ||
|
||
unit-mysql-k8s-2: 01:33:00 ERROR unit.mysql-k8s/2.juju-log Unit failed to rejoin the cluster after upgrade | ||
unit-mysql-k8s-2: 01:33:00 CRITICAL unit.mysql-k8s/2.juju-log Upgrade failed, follow the instructions below to rollback: | ||
1 - Run `juju run mysql-k8s/leader pre-upgrade-check` to configure rollback | ||
2 - Run `juju refresh --revision <previous-revision> mysql-k8s` to initiate the rollback | ||
3 - Run `juju run mysql-k8s/leader resume-upgrade` to resume the rollback | ||
|
||
[32mINFO [0m pytest_operator.plugin:plugin.py:862 Forgetting main... |
Oops, something went wrong.