-
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
3e094bc
commit 192a0a8
Showing
253 changed files
with
3,456 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,66 @@ | ||
[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: installing charm software | ||
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 [executing] 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-63 | ||
[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: | ||
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.high_availability.test_log_rotation:test_log_rotation.py:40 Extending update-status-hook-interval to 60m | ||
[32mINFO [0m integration.high_availability.test_log_rotation:test_log_rotation.py:53 Overwriting the log rotate dispatcher script | ||
[32mINFO [0m integration.high_availability.test_log_rotation:test_log_rotation.py:63 Stopping the log rotate dispatcher | ||
[32mINFO [0m integration.high_availability.test_log_rotation:test_log_rotation.py:66 Stopping any running logrotate jobs | ||
[32mINFO [0m integration.high_availability.test_log_rotation:test_log_rotation.py:69 Removing existing archive directories | ||
[32mINFO [0m integration.high_availability.test_log_rotation:test_log_rotation.py:77 Writing some data to the text log files | ||
[32mINFO [0m integration.high_availability.test_log_rotation:test_log_rotation.py:82 Ensuring only log files exist | ||
[32mINFO [0m integration.high_availability.test_log_rotation:test_log_rotation.py:95 Dispatching custom event to rotate logs | ||
[32mINFO [0m integration.high_availability.test_log_rotation:test_log_rotation.py:98 Ensuring log files and archive directories exist | ||
[32mINFO [0m integration.high_availability.test_log_rotation:test_log_rotation.py:107 Ensuring log files were rotated | ||
[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:31Z | ||
|
||
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.73 no | ||
mysql-test-app 0.0.2 active 1 mysql-test-app latest/edge 63 10.152.183.44 no | ||
|
||
Unit Workload Agent Address Ports Message | ||
mysql-k8s/0 active idle 10.1.164.75 | ||
mysql-k8s/1 active idle 10.1.164.77 | ||
mysql-k8s/2* active idle 10.1.164.76 Primary | ||
mysql-test-app/0* active idle 10.1.164.78 | ||
|
||
[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,11 @@ | ||
[32mINFO [0m integration.conftest:conftest.py:20 Getting credentials for the MySQL cluster | ||
[32mINFO [0m integration.test_backup_ceph:test_backup_ceph.py:121 Inserting value before backup | ||
[32mINFO [0m integration.test_backup_ceph:test_backup_ceph.py:129 Setting s3 config | ||
[32mINFO [0m integration.test_backup_ceph:test_backup_ceph.py:131 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_ceph:test_backup_ceph.py:145 Listing existing backup ids | ||
[32mINFO [0m integration.test_backup_ceph:test_backup_ceph.py:152 Creating backup | ||
[32mINFO [0m integration.test_backup_ceph:test_backup_ceph.py:158 Listing backup ids post backup | ||
[32mINFO [0m integration.test_backup_ceph:test_backup_ceph.py:167 Inserting value after backup |
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,26 @@ | ||
[32mINFO [0m integration.test_tls:test_tls.py:218 Removing relation | ||
[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:46Z | ||
|
||
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.79 no | ||
self-signed-certificates active 1 self-signed-certificates latest/stable 155 10.152.183.174 no | ||
|
||
Unit Workload Agent Address Ports Message | ||
mysql-k8s/0* active idle 10.1.42.139 | ||
mysql-k8s/1 active idle 10.1.42.141 | ||
mysql-k8s/2 active idle 10.1.42.140 | ||
self-signed-certificates/0* active idle 10.1.42.142 | ||
|
||
[32mINFO [0m pytest_operator.plugin:plugin.py:796 Juju error logs: | ||
|
||
unit-mysql-k8s-0: 01:34:38 ERROR unit.mysql-k8s/0.juju-log certificates:3: An unknown certificate expiring. | ||
unit-mysql-k8s-1: 01:34:42 ERROR unit.mysql-k8s/1.juju-log certificates:3: An unknown certificate expiring. | ||
unit-mysql-k8s-0: 01:34:45 ERROR unit.mysql-k8s/0.juju-log certificates:3: An unknown certificate expiring. | ||
unit-mysql-k8s-1: 01:34:48 ERROR unit.mysql-k8s/1.juju-log certificates:3: An unknown certificate expiring. | ||
unit-mysql-k8s-2: 01:34:48 ERROR unit.mysql-k8s/2.juju-log certificates:3: An unknown certificate expiring. | ||
unit-mysql-k8s-0: 01:34:50 ERROR unit.mysql-k8s/0.juju-log certificates:3: An unknown certificate expiring. | ||
|
||
[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,74 @@ | ||
[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 get cluster primary from peers | ||
[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] 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 [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 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 [executing] active: Primary | ||
mysql-k8s/1 [executing] active: | ||
mysql-k8s/2 [idle] active: | ||
mysql-test-app/0 [idle] waiting: | ||
[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:472 Scale mysql application to 1 unit that is active | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
mysql-k8s (waiting for exactly 1 units, current : 3) | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
mysql-k8s (waiting for exactly 1 units, current : 3) | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
mysql-k8s (waiting for exactly 1 units, current : 3) | ||
[32mINFO [0m integration.high_availability.test_self_healing:test_self_healing.py:478 Delete pod for the the mysql unit | ||
[32mINFO [0m httpx:_client.py:1026 HTTP Request: DELETE https://10.1.0.87:16443/api/v1/namespaces/test/pods/mysql-k8s-0 "HTTP/1.1 200 OK" | ||
[32mINFO [0m integration.high_availability.test_self_healing:test_self_healing.py:482 Wait for a new pod to be created by k8s | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
mysql-k8s/0 [idle] active: Primary | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
mysql-k8s/0 [executing] maintenance: | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
mysql-k8s/0 [idle] maintenance: offline | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
mysql-k8s/0 [idle] maintenance: offline | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
mysql-k8s/0 [idle] active: Primary | ||
[32mINFO [0m integration.high_availability.test_self_healing:test_self_healing.py:492 Write data to unit and verify that data was written | ||
[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:38:19Z | ||
|
||
App Version Status Scale Charm Channel Rev Address Exposed Message | ||
mysql-k8s 8.0.37-0ubuntu0.22.04.3 active 1 mysql-k8s 0 10.152.183.243 no | ||
mysql-test-app 0.0.2 active 1 mysql-test-app latest/edge 63 10.152.183.172 no Last written value=10862 | ||
|
||
Unit Workload Agent Address Ports Message | ||
mysql-k8s/0* active idle 10.1.156.143 Primary | ||
mysql-test-app/0* active idle 10.1.156.142 Last written value=10862 | ||
|
||
[32mINFO [0m pytest_operator.plugin:plugin.py:796 Juju error logs: | ||
|
||
unit-mysql-k8s-0: 01:36:31 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,38 @@ | ||
[32mINFO [0m pytest_operator.plugin:plugin.py:675 Connecting to existing model microk8s-localhost:test on unspecified cloud | ||
[32mINFO [0m juju.model:model.py:2098 Deploying ch:amd64/jammy/mysql-k8s-201 | ||
[32mINFO [0m juju.model:model.py:2098 Deploying ch:amd64/jammy/mysql-test-app-63 | ||
[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 [allocating] waiting: installing agent | ||
mysql-k8s/1 [allocating] waiting: installing agent | ||
mysql-k8s/2 [allocating] waiting: installing agent | ||
mysql-test-app/0 [allocating] waiting: installing agent | ||
[32mINFO [0m juju.model:model.py:2972 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-test-app/0 [idle] waiting: | ||
[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] active: Primary | ||
mysql-k8s/2 [executing] waiting: waiting to get cluster primary from peers | ||
mysql-test-app/0 [idle] waiting: | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
mysql-k8s/0 [idle] maintenance: joining the cluster | ||
mysql-k8s/1 [executing] active: Primary | ||
mysql-k8s/2 [idle] waiting: waiting to join the cluster | ||
mysql-test-app/0 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
mysql-k8s/0 [executing] active: | ||
mysql-k8s/1 [idle] active: Primary | ||
mysql-k8s/2 [idle] maintenance: joining the cluster | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
mysql-k8s/0 [idle] active: | ||
mysql-k8s/1 [idle] active: Primary | ||
mysql-k8s/2 [idle] active: | ||
[32mINFO [0m integration.high_availability.test_upgrade:test_upgrade.py:60 Wait for applications to become active | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
mysql-k8s/0 [idle] active: | ||
mysql-k8s/1 [idle] active: Primary | ||
mysql-k8s/2 [idle] active: | ||
mysql-test-app/0 [idle] active: |
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,7 @@ | ||
[32mINFO [0m integration.high_availability.test_upgrade_rollback_incompat:test_upgrade_rollback_incompat.py:83 Build charm locally | ||
[32mINFO [0m integration.high_availability.test_upgrade_rollback_incompat:test_upgrade_rollback_incompat.py:182 Applying patch to source | ||
[32mINFO [0m integration.high_availability.test_upgrade_rollback_incompat:test_upgrade_rollback_incompat.py:179 Reverting patch on source | ||
[32mINFO [0m integration.high_availability.test_upgrade_rollback_incompat:test_upgrade_rollback_incompat.py:93 Refresh the charm | ||
[32mINFO [0m integration.high_availability.test_upgrade_rollback_incompat:test_upgrade_rollback_incompat.py:98 Wait for upgrade to start | ||
[32mINFO [0m integration.high_availability.test_upgrade_rollback_incompat:test_upgrade_rollback_incompat.py:103 Get first upgrading unit | ||
[32mINFO [0m integration.high_availability.test_upgrade_rollback_incompat:test_upgrade_rollback_incompat.py:108 Wait for upgrade to fail on upgrading unit |
Oops, something went wrong.