-
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
ba061d3
commit e8cda28
Showing
254 changed files
with
3,393 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,109 @@ | ||
[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 | ||
mysql-k8s/2 [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 [idle] waiting: waiting to get cluster primary from peers | ||
mysql-k8s/1 [idle] 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] maintenance: joining the cluster | ||
mysql-k8s/1 [executing] active: | ||
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=869 on unit mysql-k8s/0 | ||
[32mINFO [0m integration.high_availability.high_availability_helpers:high_availability_helpers.py:505 max_written_value=872 on unit mysql-k8s/1 | ||
[32mINFO [0m integration.high_availability.high_availability_helpers:high_availability_helpers.py:505 max_written_value=875 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=1195 on unit mysql-k8s/0 | ||
[32mINFO [0m integration.high_availability.high_availability_helpers:high_availability_helpers.py:505 max_written_value=1195 on unit mysql-k8s/0 | ||
[32mINFO [0m integration.high_availability.high_availability_helpers:high_availability_helpers.py:505 max_written_value=1195 on unit mysql-k8s/0 | ||
[32mINFO [0m integration.high_availability.high_availability_helpers:high_availability_helpers.py:505 max_written_value=1195 on unit mysql-k8s/0 | ||
[32mINFO [0m integration.high_availability.high_availability_helpers:high_availability_helpers.py:505 max_written_value=1195 on unit mysql-k8s/0 | ||
[32mINFO [0m integration.high_availability.high_availability_helpers:high_availability_helpers.py:505 max_written_value=1195 on unit mysql-k8s/0 | ||
[32mINFO [0m integration.high_availability.high_availability_helpers:high_availability_helpers.py:505 max_written_value=1195 on unit mysql-k8s/0 | ||
[32mINFO [0m integration.high_availability.high_availability_helpers:high_availability_helpers.py:505 max_written_value=1195 on unit mysql-k8s/0 | ||
[32mINFO [0m integration.high_availability.high_availability_helpers:high_availability_helpers.py:505 max_written_value=1195 on unit mysql-k8s/0 | ||
[32mINFO [0m integration.high_availability.high_availability_helpers:high_availability_helpers.py:505 max_written_value=1195 on unit mysql-k8s/0 | ||
[32mINFO [0m integration.high_availability.high_availability_helpers:high_availability_helpers.py:505 max_written_value=1195 on unit mysql-k8s/0 | ||
[32mINFO [0m integration.high_availability.high_availability_helpers:high_availability_helpers.py:505 max_written_value=2402 on unit mysql-k8s/0 | ||
[32mINFO [0m integration.high_availability.high_availability_helpers:high_availability_helpers.py:505 max_written_value=2405 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: | ||
mysql-k8s/1 [idle] active: | ||
mysql-k8s/2 [idle] active: Primary | ||
[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=4774 on unit mysql-k8s/0 | ||
[32mINFO [0m integration.high_availability.high_availability_helpers:high_availability_helpers.py:505 max_written_value=4777 on unit mysql-k8s/1 | ||
[32mINFO [0m integration.high_availability.high_availability_helpers:high_availability_helpers.py:505 max_written_value=4780 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:35:30Z | ||
|
||
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.162 no | ||
mysql-test-app 0.0.2 active 1 mysql-test-app latest/edge 63 10.152.183.202 no Last written value=2436 | ||
|
||
Unit Workload Agent Address Ports Message | ||
mysql-k8s/0 active idle 10.1.52.75 Primary | ||
mysql-k8s/1 active idle 10.1.52.76 | ||
mysql-k8s/2* active idle 10.1.52.77 Primary | ||
mysql-test-app/0* active idle 10.1.52.78 Last written value=2436 | ||
|
||
[32mINFO [0m pytest_operator.plugin:plugin.py:796 Juju error logs: | ||
|
||
unit-mysql-k8s-0: 01:31:49 ERROR unit.mysql-k8s/0.juju-log Failed to get cluster status for test_cluster | ||
unit-mysql-k8s-2: 01:35:01 ERROR unit.mysql-k8s/2.juju-log Failed to get cluster status for test_cluster | ||
unit-mysql-k8s-2: 01:35:02 ERROR unit.mysql-k8s/2.juju-log Failed to get cluster status for test_cluster | ||
unit-mysql-k8s-2: 01:35:02 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 | ||
unit-mysql-k8s-2: 01:35:07 ERROR unit.mysql-k8s/2.juju-log database-peers:0: Failed to get cluster status for test_cluster | ||
unit-mysql-k8s-2: 01:35:07 ERROR unit.mysql-k8s/2.juju-log database-peers:0: 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,6 @@ | ||
[32mINFO [0m pytest_operator.plugin:plugin.py:675 Connecting to existing model microk8s-localhost:test on unspecified cloud | ||
[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 | ||
[32mINFO [0m juju.model:model.py:3211 Waiting for model: | ||
mysql-k8s/0 [idle] error: hook failed: "install" |
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,14 @@ | ||
[33mWARNING [0m juju.model:model.py:1666 relate is deprecated and will be removed. Use integrate instead. | ||
[33mWARNING [0m juju.model:model.py:1666 relate is deprecated and will be removed. Use integrate instead. | ||
[33mWARNING [0m juju.model:model.py:1666 relate is deprecated and will be removed. Use integrate instead. | ||
[33mWARNING [0m juju.model:model.py:1666 relate is deprecated and will be removed. Use integrate instead. | ||
[33mWARNING [0m juju.model:model.py:1666 relate is deprecated and will be removed. Use integrate instead. | ||
[33mWARNING [0m juju.model:model.py:1666 relate is deprecated and will be removed. Use integrate instead. | ||
[33mWARNING [0m juju.model:model.py:1666 relate is deprecated and will be removed. Use integrate instead. | ||
[33mWARNING [0m juju.model:model.py:1666 relate is deprecated and will be removed. Use integrate instead. | ||
[33mWARNING [0m juju.model:model.py:1666 relate is deprecated and will be removed. Use integrate instead. | ||
[33mWARNING [0m juju.model:model.py:1666 relate is deprecated and will be removed. Use integrate instead. | ||
[33mWARNING [0m juju.model:model.py:1666 relate is deprecated and will be removed. Use integrate instead. | ||
[33mWARNING [0m juju.model:model.py:1666 relate is deprecated and will be removed. Use integrate instead. | ||
[33mWARNING [0m juju.model:model.py:1666 relate is deprecated and will be removed. Use integrate instead. | ||
[33mWARNING [0m juju.model:model.py:1666 relate is deprecated and will be removed. Use integrate instead. |
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 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 [idle] 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] active: Primary | ||
mysql-k8s/2 [executing] waiting: waiting to get cluster primary from peers | ||
[32mINFO [0m juju.model:model.py:3211 Waiting for model: | ||
mysql-k8s/0 [idle] waiting: waiting to join the cluster | ||
mysql-k8s/1 [executing] active: Primary | ||
mysql-k8s/2 [idle] active: | ||
[32mINFO [0m juju.model:model.py:3211 Waiting for model: | ||
mysql-k8s/0 [idle] active: | ||
mysql-k8s/1 [idle] active: Primary | ||
mysql-k8s/2 [idle] active: | ||
[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: Primary | ||
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.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.6.1 unsupported 01:31:52Z | ||
|
||
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.206 no | ||
mysql-test-app 0.0.2 active 1 mysql-test-app latest/edge 63 10.152.183.33 no | ||
|
||
Unit Workload Agent Address Ports Message | ||
mysql-k8s/0 active idle 10.1.107.203 | ||
mysql-k8s/1* active idle 10.1.107.204 Primary | ||
mysql-k8s/2 active idle 10.1.107.205 | ||
mysql-test-app/0* active idle 10.1.107.206 | ||
|
||
[32mINFO [0m pytest_operator.plugin:plugin.py:796 Juju error logs: | ||
|
||
|
||
[32mINFO [0m pytest_operator.plugin:plugin.py:862 Forgetting main... |
Oops, something went wrong.