generated from canonical/template-operator
-
Notifications
You must be signed in to change notification settings - Fork 12
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
95d8aa6
commit 1c43e94
Showing
260 changed files
with
5,466 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 @@ | ||
[32mINFO [0m integration.test_tls:test_tls.py:69 Asserting connections before relation |
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,93 @@ | ||
[32mINFO [0m pytest_operator.plugin:plugin.py:675 Connecting to existing model localhost-localhost:test on unspecified cloud | ||
[32mINFO [0m juju.model:model.py:2284 Deploying local:mysql-0 | ||
[32mINFO [0m juju.model:model.py:2284 Deploying ch:amd64/jammy/mysql-test-app-63 | ||
[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/0 [allocating] waiting: waiting for machine | ||
mysql/1 [allocating] waiting: waiting for machine | ||
mysql/2 [allocating] waiting: waiting for machine | ||
mysql-test-app/0 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:3211 Waiting for model: | ||
mysql/0 [allocating] waiting: waiting for machine | ||
mysql/1 [allocating] waiting: waiting for machine | ||
mysql/2 [allocating] waiting: waiting for machine | ||
mysql-test-app/0 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:3211 Waiting for model: | ||
mysql/0 [allocating] waiting: waiting for machine | ||
mysql/1 [allocating] waiting: waiting for machine | ||
mysql/2 [allocating] waiting: waiting for machine | ||
mysql-test-app/0 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:3211 Waiting for model: | ||
mysql/0 [allocating] waiting: waiting for machine | ||
mysql/1 [allocating] waiting: waiting for machine | ||
mysql/2 [allocating] waiting: waiting for machine | ||
mysql-test-app/0 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:3211 Waiting for model: | ||
mysql/0 [allocating] waiting: waiting for machine | ||
mysql/1 [allocating] waiting: waiting for machine | ||
mysql/2 [allocating] waiting: waiting for machine | ||
mysql-test-app/0 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:3211 Waiting for model: | ||
mysql/0 [allocating] waiting: waiting for machine | ||
mysql/1 [allocating] waiting: waiting for machine | ||
mysql/2 [allocating] waiting: waiting for machine | ||
mysql-test-app/0 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:3211 Waiting for model: | ||
mysql/0 [allocating] waiting: waiting for machine | ||
mysql/1 [allocating] waiting: waiting for machine | ||
mysql/2 [allocating] waiting: waiting for machine | ||
mysql-test-app/0 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:3211 Waiting for model: | ||
mysql/0 [allocating] waiting: waiting for machine | ||
mysql/1 [allocating] waiting: waiting for machine | ||
mysql/2 [allocating] waiting: waiting for machine | ||
mysql-test-app/0 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:3211 Waiting for model: | ||
mysql/0 [executing] maintenance: Installing MySQL | ||
mysql/1 [executing] maintenance: Installing MySQL | ||
mysql/2 [executing] maintenance: Installing MySQL | ||
mysql-test-app/0 [idle] waiting: | ||
[32mINFO [0m juju.model:model.py:3211 Waiting for model: | ||
mysql/0 [executing] maintenance: Setting up cluster node | ||
mysql/1 [executing] waiting: Waiting to start MySQL | ||
mysql/2 [executing] maintenance: Setting up cluster node | ||
mysql-test-app/0 [idle] waiting: | ||
[32mINFO [0m juju.model:model.py:3211 Waiting for model: | ||
mysql/0 [executing] active: Primary | ||
mysql/1 [executing] waiting: Waiting to join the cluster | ||
mysql/2 [executing] waiting: Waiting to join the cluster | ||
mysql-test-app/0 [idle] active: Last written value=366 | ||
[32mINFO [0m juju.model:model.py:3211 Waiting for model: | ||
mysql/0 [executing] active: Primary | ||
mysql/1 [executing] maintenance: joining the cluster | ||
mysql/2 [executing] active: | ||
[32mINFO [0m juju.model:model.py:3211 Waiting for model: | ||
mysql/0 [executing] active: Primary | ||
mysql/1 [executing] active: | ||
mysql/2 [executing] active: | ||
mysql-test-app/0 [idle] active: Last written value=4269 | ||
[32mINFO [0m juju.model:model.py:3211 Waiting for model: | ||
mysql/0 [idle] active: Primary | ||
mysql/1 [idle] active: | ||
mysql/2 [idle] active: | ||
mysql-test-app/0 [idle] active: Last written value=6533 | ||
[32mINFO [0m juju.model:model.py:3211 Waiting for model: | ||
mysql/0 [executing] active: Primary | ||
mysql/1 [executing] active: | ||
mysql/2 [executing] active: | ||
mysql-test-app/0 [executing] active: | ||
[32mINFO [0m juju.model:model.py:3211 Waiting for model: | ||
mysql/0 [idle] active: Primary | ||
mysql/1 [idle] active: | ||
mysql/2 [idle] active: | ||
mysql-test-app/0 [idle] active: Last written value=11728 | ||
[32mINFO [0m juju.model:model.py:3211 Waiting for model: | ||
mysql/0 [idle] active: Primary | ||
mysql/1 [idle] active: | ||
mysql/2 [idle] active: | ||
mysql-test-app/0 [idle] active: Last written value=13384 | ||
[32mINFO [0m juju.model:model.py:3211 Waiting for model: | ||
mysql/0 [idle] active: Primary | ||
mysql/1 [idle] active: | ||
mysql/2 [idle] active: | ||
mysql-test-app/0 [idle] active: Last written value=16099 |
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,151 @@ | ||
[32mINFO [0m pytest_operator.plugin:plugin.py:675 Connecting to existing model localhost-localhost:test on unspecified cloud | ||
[32mINFO [0m integration.high_availability.conftest:conftest.py:48 Deploying mysql and scaling to 3 units | ||
[32mINFO [0m juju.model:model.py:2284 Deploying local:mysql-0 | ||
[32mINFO [0m juju.model:model.py:3211 Waiting for model: | ||
mysql/0 [allocating] waiting: waiting for machine | ||
mysql/1 [allocating] waiting: waiting for machine | ||
mysql/2 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:3211 Waiting for model: | ||
mysql/0 [allocating] waiting: waiting for machine | ||
mysql/1 [allocating] waiting: waiting for machine | ||
mysql/2 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:3211 Waiting for model: | ||
mysql/0 [allocating] waiting: waiting for machine | ||
mysql/1 [allocating] waiting: waiting for machine | ||
mysql/2 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:3211 Waiting for model: | ||
mysql/0 [allocating] waiting: waiting for machine | ||
mysql/1 [allocating] waiting: waiting for machine | ||
mysql/2 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:3211 Waiting for model: | ||
mysql/0 [allocating] waiting: waiting for machine | ||
mysql/1 [allocating] waiting: waiting for machine | ||
mysql/2 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:3211 Waiting for model: | ||
mysql/0 [allocating] waiting: waiting for machine | ||
mysql/1 [allocating] waiting: waiting for machine | ||
mysql/2 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:3211 Waiting for model: | ||
mysql/0 [allocating] waiting: agent initialising | ||
mysql/1 [allocating] waiting: agent initialising | ||
mysql/2 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:3211 Waiting for model: | ||
mysql/0 [executing] maintenance: Installing MySQL | ||
mysql/1 [executing] maintenance: Installing MySQL | ||
mysql/2 [executing] maintenance: Installing MySQL | ||
[32mINFO [0m juju.model:model.py:3211 Waiting for model: | ||
mysql/0 [executing] active: Primary | ||
mysql/1 [executing] waiting: Waiting to join the cluster | ||
mysql/2 [executing] maintenance: Setting up cluster node | ||
[32mINFO [0m juju.model:model.py:3211 Waiting for model: | ||
mysql/0 [idle] active: Primary | ||
mysql/1 [idle] waiting: waiting to join the cluster. | ||
mysql/2 [executing] maintenance: joining the cluster | ||
[32mINFO [0m juju.model:model.py:3211 Waiting for model: | ||
mysql/0 [idle] active: Primary | ||
mysql/1 [executing] maintenance: joining the cluster | ||
mysql/2 [idle] active: | ||
[32mINFO [0m integration.high_availability.conftest:conftest.py:51 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: waiting for machine | ||
[32mINFO [0m juju.model:model.py:3211 Waiting for model: | ||
mysql-test-app/0 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:3211 Waiting for model: | ||
mysql-test-app/0 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:3211 Waiting for model: | ||
mysql-test-app/0 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:3211 Waiting for model: | ||
mysql-test-app/0 [idle] waiting: | ||
[32mINFO [0m integration.high_availability.conftest:conftest.py:54 Relating mysql 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/0 [idle] active: Primary | ||
mysql/1 [idle] active: | ||
mysql/2 [idle] active: | ||
mysql-test-app/0 [idle] waiting: | ||
[32mINFO [0m juju.model:model.py:3211 Waiting for model: | ||
mysql/0 [idle] active: Primary | ||
mysql/1 [idle] active: | ||
mysql/2 [idle] active: | ||
[32mINFO [0m integration.high_availability.conftest:conftest.py:29 Clearing continuous writes | ||
[32mINFO [0m integration.high_availability.conftest:conftest.py:32 Starting continuous writes | ||
[32mINFO [0m integration.helpers:helpers.py:486 Retrieving primary unit | ||
[32mINFO [0m integration.high_availability.high_availability_helpers:high_availability_helpers.py:343 Ensure continuous writes are incrementing | ||
[32mINFO [0m integration.helpers:helpers.py:486 Retrieving primary unit | ||
[32mINFO [0m integration.high_availability.high_availability_helpers:high_availability_helpers.py:368 max_written_value=866 on unit mysql/0 | ||
[32mINFO [0m integration.high_availability.high_availability_helpers:high_availability_helpers.py:368 max_written_value=867 on unit mysql/1 | ||
[32mINFO [0m integration.high_availability.high_availability_helpers:high_availability_helpers.py:368 max_written_value=867 on unit mysql/2 | ||
[32mINFO [0m integration.high_availability.high_availability_helpers:high_availability_helpers.py:368 max_written_value=1887 on unit mysql/2 | ||
[32mINFO [0m integration.high_availability.test_self_healing:test_self_healing.py:153 Unit mysql/0 it's on machine juju-c19ec5-0 ✅ | ||
[32mINFO [0m integration.high_availability.test_self_healing:test_self_healing.py:169 Cutting network for juju-c19ec5-0 | ||
[32mINFO [0m integration.high_availability.test_self_healing:test_self_healing.py:188 Restoring network for juju-c19ec5-0 | ||
[32mINFO [0m integration.high_availability.test_self_healing:test_self_healing.py:213 Waiting for mysql/0 to enter active | ||
[32mINFO [0m integration.high_availability.high_availability_helpers:high_availability_helpers.py:343 Ensure continuous writes are incrementing | ||
[32mINFO [0m integration.helpers:helpers.py:486 Retrieving primary unit | ||
[32mINFO [0m integration.high_availability.high_availability_helpers:high_availability_helpers.py:368 max_written_value=23904 on unit mysql/0 | ||
[32mINFO [0m integration.high_availability.high_availability_helpers:high_availability_helpers.py:368 max_written_value=23904 on unit mysql/1 | ||
[32mINFO [0m integration.high_availability.high_availability_helpers:high_availability_helpers.py:368 max_written_value=24885 on unit mysql/1 | ||
[32mINFO [0m integration.high_availability.high_availability_helpers:high_availability_helpers.py:368 max_written_value=24887 on unit mysql/2 | ||
[32mINFO [0m integration.helpers:helpers.py:486 Retrieving primary unit | ||
[32mINFO [0m integration.helpers:helpers.py:486 Retrieving primary unit | ||
[32mINFO [0m integration.high_availability.conftest:conftest.py:37 Clearing continuous writes | ||
[32mINFO [0m pytest_operator.plugin:plugin.py:790 Model status: | ||
|
||
Model Controller Cloud/Region Version SLA Timestamp | ||
test localhost-localhost localhost/localhost 3.6.1 unsupported 01:44:52Z | ||
|
||
App Version Status Scale Charm Channel Rev Exposed Message | ||
mysql 8.0.39-0ubun... active 3 mysql 0 no | ||
mysql-test-app 0.0.2 active 1 mysql-test-app latest/edge 63 no Last written value=22777 | ||
|
||
Unit Workload Agent Machine Public address Ports Message | ||
mysql-test-app/0* active idle 3 10.15.90.128 Last written value=22777 | ||
mysql/0 active idle 0 10.15.90.7 3306,33060/tcp | ||
mysql/1* active idle 1 10.15.90.117 3306,33060/tcp Primary | ||
mysql/2 active idle 2 10.15.90.90 3306,33060/tcp | ||
|
||
Machine State Address Inst id Base AZ Message | ||
0 started 10.15.90.7 juju-c19ec5-0 [email protected] Running | ||
1 started 10.15.90.117 juju-c19ec5-1 [email protected] Running | ||
2 started 10.15.90.90 juju-c19ec5-2 [email protected] Running | ||
3 started 10.15.90.128 juju-c19ec5-3 [email protected] Running | ||
|
||
[32mINFO [0m pytest_operator.plugin:plugin.py:796 Juju error logs: | ||
|
||
machine-0: 01:32:48 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-0: 01:32:48 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
unit-mysql-0: 01:32:48 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
machine-1: 01:32:50 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-1: 01:32:50 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
unit-mysql-1: 01:32:50 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
machine-2: 01:32:57 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-2: 01:32:57 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
unit-mysql-2: 01:32:57 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
machine-3: 01:37:23 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-3: 01:37:23 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
unit-mysql-test-app-0: 01:37:23 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
unit-mysql-0: 01:40:40 ERROR unit.mysql/0.juju-log Failed to get cluster status for test_cluster | ||
unit-mysql-0: 01:40:49 ERROR unit.mysql/0.juju-log Failed to get cluster status for test_cluster | ||
unit-mysql-0: 01:41:22 ERROR unit.mysql/0.juju-log Failed to connect to MySQL with mysqlsh | ||
Traceback (most recent call last): | ||
File "/var/lib/juju/agents/unit-mysql-0/charm/src/mysql_vm_helpers.py", line 736, in _run_mysqlsh_script | ||
return subprocess.check_output( | ||
File "/usr/lib/python3.10/subprocess.py", line 421, in check_output | ||
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, | ||
File "/usr/lib/python3.10/subprocess.py", line 526, in run | ||
raise CalledProcessError(retcode, process.args, | ||
subprocess.CalledProcessError: Command '['charmed-mysql.mysqlsh', '--no-wizard', '--python', '-f', '/var/snap/charmed-mysql/common/tmpeswn_j2e']' returned non-zero exit status 1. | ||
|
||
During handling of the above exception, another exception occurred: | ||
|
||
Traceback (most recent call last): | ||
File "/var/lib/juju/agents/unit-mysql-0/charm/lib/charms/mysql/v0/mysql.py", line 3015, in check_mysqlsh_connection | ||
self._run_mysqlsh_script("\n".join(connect_commands)) | ||
File "/var/lib/juju/agents/unit-mysql-0/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-0/charm/src/mysql_vm_helpers.py", line 740, in _run_mysqlsh_script | ||
raise MySQLClientError | ||
charms.mysql.v0.mysql.MySQLClientError | ||
|
||
[32mINFO [0m pytest_operator.plugin:plugin.py:862 Forgetting main... |
Oops, something went wrong.