-
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
9303387
commit df9067a
Showing
246 changed files
with
3,229 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,6 @@ | ||
[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.high_availability.test_async_replication:test_async_replication.py:419 Testing data replication | ||
[32mINFO [0m integration.high_availability.test_async_replication:test_async_replication.py:426 Stopping continuous writes and wait (5s) for replication | ||
[32mINFO [0m integration.high_availability.test_async_replication:test_async_replication.py:433 Querying max value on all units | ||
[32mINFO [0m integration.high_availability.conftest:conftest.py:36 Clearing continuous writes |
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,8 @@ | ||
[32mINFO [0m integration.test_tls:test_tls.py:129 Deploy TLS operator | ||
[32mINFO [0m juju.model:model.py:2098 Deploying ch:amd64/jammy/self-signed-certificates-155 | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
self-signed-certificates/0 [allocating] waiting: installing agent | ||
[32mINFO [0m integration.test_tls:test_tls.py:137 Relate to TLS operator | ||
[33mWARNING [0m juju.model:model.py:1564 relate is deprecated and will be removed. Use integrate instead. | ||
[32mINFO [0m integration.test_tls:test_tls.py:144 Asserting connections after relation | ||
[32mINFO [0m integration.test_tls:test_tls.py:157 Assert TLS file exists |
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,4 @@ | ||
[32mINFO [0m integration.high_availability.test_async_replication:test_async_replication.py:129 Creating offers in first model | ||
[32mINFO [0m integration.high_availability.test_async_replication:test_async_replication.py:132 Consume offer in second model | ||
[32mINFO [0m integration.high_availability.test_async_replication:test_async_replication.py:135 Relating the two mysql clusters | ||
[32mINFO [0m integration.high_availability.test_async_replication:test_async_replication.py:138 Waiting for the applications to settle |
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,83 @@ | ||
[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 [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 [idle] active: Primary | ||
mysql-k8s/1 [executing] maintenance: joining the cluster | ||
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-63 | ||
[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: Primary | ||
mysql-k8s/1 [idle] active: | ||
mysql-k8s/2 [idle] active: | ||
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.high_availability.high_availability_helpers:high_availability_helpers.py:251 Deploying Chaos Mesh | ||
[32mINFO [0m integration.high_availability.high_availability_helpers:high_availability_helpers.py:261 Ensure chaos mesh is ready | ||
[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:312 Ensuring that there are 3 online mysql members | ||
[32mINFO [0m integration.high_availability.test_self_healing:test_self_healing.py:317 Ensuring that all instances have incrementing continuous writes | ||
[32mINFO [0m integration.high_availability.high_availability_helpers:high_availability_helpers.py:484 max_written_value=3450 on unit mysql-k8s/0 | ||
[32mINFO [0m integration.high_availability.high_availability_helpers:high_availability_helpers.py:484 max_written_value=3453 on unit mysql-k8s/1 | ||
[32mINFO [0m integration.high_availability.high_availability_helpers:high_availability_helpers.py:484 max_written_value=3456 on unit mysql-k8s/2 | ||
[32mINFO [0m integration.high_availability.test_self_healing:test_self_healing.py:325 Creating networkchaos policy to isolate instance mysql-k8s/0 from the cluster | ||
[32mINFO [0m integration.high_availability.test_self_healing:test_self_healing.py:332 Wait until MySQL GR actually detects isolated instance | ||
[32mINFO [0m integration.high_availability.test_self_healing:test_self_healing.py:349 Ensure all units have incrementing continuous writes | ||
[32mINFO [0m integration.high_availability.high_availability_helpers:high_availability_helpers.py:484 max_written_value=13121 on unit mysql-k8s/1 | ||
[32mINFO [0m integration.high_availability.high_availability_helpers:high_availability_helpers.py:484 max_written_value=13124 on unit mysql-k8s/2 | ||
[32mINFO [0m integration.high_availability.test_self_healing:test_self_healing.py:354 Remove networkchaos policy isolating instance from cluster | ||
[32mINFO [0m integration.high_availability.test_self_healing:test_self_healing.py:358 Wait until returning instance enters recovery | ||
[32mINFO [0m integration.high_availability.test_self_healing:test_self_healing.py:362 Wait until returning instance become active | ||
[32mINFO [0m integration.high_availability.test_self_healing:test_self_healing.py:367 Wait until all units are online | ||
[32mINFO [0m integration.high_availability.test_self_healing:test_self_healing.py:372 Ensure isolated instance is now secondary | ||
[32mINFO [0m integration.high_availability.test_self_healing:test_self_healing.py:381 Ensure there are 3 online mysql members | ||
[32mINFO [0m integration.high_availability.test_self_healing:test_self_healing.py:386 Ensure all units have incrementing continuous writes | ||
[32mINFO [0m integration.high_availability.high_availability_helpers:high_availability_helpers.py:484 max_written_value=16846 on unit mysql-k8s/0 | ||
[32mINFO [0m integration.high_availability.high_availability_helpers:high_availability_helpers.py:484 max_written_value=16849 on unit mysql-k8s/1 | ||
[32mINFO [0m integration.high_availability.high_availability_helpers:high_availability_helpers.py:484 max_written_value=16852 on unit mysql-k8s/2 | ||
[32mINFO [0m integration.high_availability.conftest:conftest.py:47 Destroying chaos mesh | ||
[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:39:36Z | ||
|
||
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.161 no | ||
mysql-test-app 0.0.2 active 1 mysql-test-app latest/edge 63 10.152.183.117 no Last written value=15061 | ||
|
||
Unit Workload Agent Address Ports Message | ||
mysql-k8s/0 active idle 10.1.189.75 | ||
mysql-k8s/1* active idle 10.1.189.76 Primary | ||
mysql-k8s/2 active idle 10.1.189.77 | ||
mysql-test-app/0* active idle 10.1.189.78 Last written value=15061 | ||
|
||
[32mINFO [0m pytest_operator.plugin:plugin.py:796 Juju error logs: | ||
|
||
unit-mysql-k8s-1: 01:35:50 ERROR unit.mysql-k8s/1.juju-log Failed to get cluster status for test_cluster | ||
unit-mysql-k8s-0: 01:38:02 ERROR juju.worker.dependency "api-caller" manifold worker returned unexpected error: [dfc5c0] "unit-mysql-k8s-0" cannot open api: cannot resolve "controller-service.controller-microk8s-localhost.svc.cluster.local": lookup controller-service.controller-microk8s-localhost.svc.cluster.local: i/o timeout | ||
unit-mysql-k8s-0: 01:38:08 ERROR juju.worker.dependency "api-caller" manifold worker returned unexpected error: [dfc5c0] "unit-mysql-k8s-0" cannot open api: cannot resolve "controller-service.controller-microk8s-localhost.svc.cluster.local": lookup controller-service.controller-microk8s-localhost.svc.cluster.local: i/o timeout | ||
unit-mysql-k8s-0: 01:38:16 ERROR juju.worker.dependency "api-caller" manifold worker returned unexpected error: [dfc5c0] "unit-mysql-k8s-0" cannot open api: try was stopped | ||
unit-mysql-k8s-0: 01:38:25 ERROR juju.worker.dependency "api-caller" manifold worker returned unexpected error: [dfc5c0] "unit-mysql-k8s-0" cannot open api: cannot resolve "controller-service.controller-microk8s-localhost.svc.cluster.local": lookup controller-service.controller-microk8s-localhost.svc.cluster.local: i/o timeout | ||
|
||
[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,5 @@ | ||
[32mINFO [0m integration.high_availability.test_upgrade:test_upgrade.py:76 Get leader unit | ||
[32mINFO [0m integration.high_availability.test_upgrade:test_upgrade.py:80 Run pre-upgrade-check action | ||
[32mINFO [0m integration.high_availability.test_upgrade:test_upgrade.py:83 Assert slow shutdown is enabled | ||
[32mINFO [0m integration.high_availability.test_upgrade:test_upgrade.py:92 Assert partition is set to 2 | ||
[32mINFO [0m httpx:_client.py:1026 HTTP Request: GET https://10.1.0.11:16443/apis/apps/v1/namespaces/test/statefulsets/mysql-k8s "HTTP/1.1 200 OK" |
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_aws:test_backup_aws.py:194 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_aws:test_backup_aws.py:210 Restoring backup_id='2024-09-15T01:34:02Z' | ||
[32mINFO [0m integration.test_backup_aws:test_backup_aws.py:215 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:229 Inserting value after restore | ||
[32mINFO [0m integration.test_backup_aws:test_backup_aws.py:237 Ensuring that pre-backup and post-restore values exist in the database | ||
[32mINFO [0m integration.test_backup_aws:test_backup_aws.py:248 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 [executing] active: Primary | ||
mysql-k8s/1 [executing] waiting: waiting to get cluster primary from peers | ||
mysql-k8s/2 [idle] maintenance: joining the cluster | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
mysql-k8s/0 [idle] active: Primary | ||
mysql-k8s/1 [executing] active: | ||
mysql-k8s/2 [idle] active: | ||
[32mINFO [0m integration.test_backup_aws:test_backup_aws.py:251 Ensuring inserted values before backup and after restore exist on all units |
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 integration.test_charm:test_charm.py:329 Checking that max_connections is set to 100 on mysql-k8s/0 | ||
[32mINFO [0m integration.test_charm:test_charm.py:329 Checking that innodb_buffer_pool_size is set to 20971520 on mysql-k8s/0 | ||
[32mINFO [0m integration.test_charm:test_charm.py:329 Checking that innodb_buffer_pool_chunk_size is set to 1048576 on mysql-k8s/0 | ||
[32mINFO [0m integration.test_charm:test_charm.py:329 Checking that group_replication_message_cache_size is set to 134217728 on mysql-k8s/0 | ||
[32mINFO [0m integration.test_charm:test_charm.py:329 Checking that max_connections is set to 100 on mysql-k8s/1 | ||
[32mINFO [0m integration.test_charm:test_charm.py:329 Checking that innodb_buffer_pool_size is set to 20971520 on mysql-k8s/1 | ||
[32mINFO [0m integration.test_charm:test_charm.py:329 Checking that innodb_buffer_pool_chunk_size is set to 1048576 on mysql-k8s/1 | ||
[32mINFO [0m integration.test_charm:test_charm.py:329 Checking that group_replication_message_cache_size is set to 134217728 on mysql-k8s/1 | ||
[32mINFO [0m integration.test_charm:test_charm.py:329 Checking that max_connections is set to 100 on mysql-k8s/2 | ||
[32mINFO [0m integration.test_charm:test_charm.py:329 Checking that innodb_buffer_pool_size is set to 20971520 on mysql-k8s/2 | ||
[32mINFO [0m integration.test_charm:test_charm.py:329 Checking that innodb_buffer_pool_chunk_size is set to 1048576 on mysql-k8s/2 | ||
[32mINFO [0m integration.test_charm:test_charm.py:329 Checking that group_replication_message_cache_size is set to 134217728 on mysql-k8s/2 | ||
[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:59Z | ||
|
||
App Version Status Scale Charm Channel Rev Address Exposed Message | ||
mysql-k8s active 3 mysql-k8s 0 10.152.183.144 no | ||
|
||
Unit Workload Agent Address Ports Message | ||
mysql-k8s/0* active idle 10.1.232.11 Primary | ||
mysql-k8s/1 active idle 10.1.232.19 | ||
mysql-k8s/2 active idle 10.1.232.18 | ||
|
||
[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,21 @@ | ||
[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_upgrade:test_upgrade.py:100 Ensure continuous_writes | ||
[32mINFO [0m integration.high_availability.high_availability_helpers:high_availability_helpers.py:484 max_written_value=573 on unit mysql-k8s/0 | ||
[32mINFO [0m integration.high_availability.high_availability_helpers:high_availability_helpers.py:484 max_written_value=575 on unit mysql-k8s/1 | ||
[32mINFO [0m integration.high_availability.high_availability_helpers:high_availability_helpers.py:484 max_written_value=577 on unit mysql-k8s/2 | ||
[32mINFO [0m integration.high_availability.test_upgrade:test_upgrade.py:106 Build charm locally | ||
[32mINFO [0m integration.high_availability.test_upgrade:test_upgrade.py:109 Refresh the charm | ||
[32mINFO [0m integration.high_availability.test_upgrade:test_upgrade.py:112 Wait for upgrade to complete on first upgrading unit | ||
[32mINFO [0m integration.high_availability.test_upgrade:test_upgrade.py:123 Resume upgrade | ||
[32mINFO [0m httpx:_client.py:1026 HTTP Request: GET https://10.1.0.11: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.11: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.11:16443/apis/apps/v1/namespaces/test/statefulsets/mysql-k8s "HTTP/1.1 200 OK" | ||
[32mINFO [0m integration.high_availability.test_upgrade:test_upgrade.py:135 Wait for upgrade to complete | ||
[32mINFO [0m integration.high_availability.test_upgrade:test_upgrade.py:141 Ensure continuous_writes | ||
[32mINFO [0m integration.high_availability.high_availability_helpers:high_availability_helpers.py:484 max_written_value=9811 on unit mysql-k8s/0 | ||
[32mINFO [0m integration.high_availability.high_availability_helpers:high_availability_helpers.py:484 max_written_value=10388 on unit mysql-k8s/0 | ||
[32mINFO [0m integration.high_availability.high_availability_helpers:high_availability_helpers.py:484 max_written_value=10392 on unit mysql-k8s/1 | ||
[32mINFO [0m integration.high_availability.high_availability_helpers:high_availability_helpers.py:484 max_written_value=10395 on unit mysql-k8s/2 | ||
[32mINFO [0m integration.high_availability.conftest:conftest.py:36 Clearing continuous writes |
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,11 @@ | ||
[32mINFO [0m integration.conftest:conftest.py:20 Getting credentials for the MySQL cluster | ||
[32mINFO [0m integration.test_backup_gcp:test_backup_gcp.py:125 Inserting value before backup | ||
[32mINFO [0m integration.test_backup_gcp:test_backup_gcp.py:133 Setting s3 config | ||
[32mINFO [0m integration.test_backup_gcp:test_backup_gcp.py:135 Syncing credentials | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
mysql-k8s/0 [executing] active: Primary | ||
s3-integrator/0 [executing] active: | ||
[32mINFO [0m integration.test_backup_gcp:test_backup_gcp.py:149 Listing existing backup ids | ||
[32mINFO [0m integration.test_backup_gcp:test_backup_gcp.py:156 Creating backup | ||
[32mINFO [0m integration.test_backup_gcp:test_backup_gcp.py:162 Listing backup ids post backup | ||
[32mINFO [0m integration.test_backup_gcp:test_backup_gcp.py:171 Inserting value after backup |
Oops, something went wrong.