Skip to content

Commit

Permalink
Allure report #1720
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Mar 15, 2024
1 parent 6e63bc9 commit 02bbfc0
Show file tree
Hide file tree
Showing 128 changed files with 1,969 additions and 2 deletions.
40 changes: 40 additions & 0 deletions 1720/app.js

Large diffs are not rendered by default.

27 changes: 27 additions & 0 deletions 1720/data/attachments/17a8fd4839e4f8d4.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
INFO  pytest_operator.plugin:plugin.py:675 Connecting to existing model microk8s-localhost:test on unspecified cloud
INFO  juju.model:model.py:2069 Deploying local:jammy/mysql-k8s-0
INFO  juju.model:model.py:2759 Waiting for model:
mysql-k8s/0 [allocating] waiting: installing agent
mysql-k8s/1 [allocating] waiting: installing agent
mysql-k8s/2 [allocating] waiting: installing agent
INFO  juju.model:model.py:2759 Waiting for model:
mysql-k8s/0 [executing] maintenance: Initialising mysqld
mysql-k8s/1 [executing] maintenance: Initialising mysqld
mysql-k8s/2 [executing] maintenance: Initialising mysqld
INFO  juju.model:model.py:2759 Waiting for model:
mysql-k8s/0 [idle] maintenance: joining the cluster
mysql-k8s/1 [executing] active: Primary
mysql-k8s/2 [executing] waiting: waiting to join the cluster
INFO  juju.model:model.py:2759 Waiting for model:
mysql-k8s/0 [idle] active:
mysql-k8s/1 [idle] active: Primary
mysql-k8s/2 [idle] active:
INFO  juju.model:model.py:2069 Deploying ch:amd64/jammy/mysql-test-app-33
INFO  juju.model:model.py:2759 Waiting for model:
mysql-test-app/0 [allocating] waiting: installing agent
WARNING  juju.model:model.py:1558 relate is deprecated and will be removed. Use integrate instead.
INFO  juju.model:model.py:2759 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:
5 changes: 5 additions & 0 deletions 1720/data/attachments/1de1c586db5f1e7b.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
INFO  integration.high_availability.test_self_healing:test_self_healing.py:55 Waiting until 3 mysql instances are online
INFO  integration.high_availability.test_self_healing:test_self_healing.py:61 Ensuring all units have continuous writes incrementing
INFO  integration.high_availability.test_self_healing:test_self_healing.py:71 Sending SIGKILL to unit mysql-k8s/0
INFO  integration.high_availability.test_self_healing:test_self_healing.py:83 Waiting until 3 mysql instances are online
INFO  integration.high_availability.test_self_healing:test_self_healing.py:101 Ensuring all units have continuous writes incrementing
7 changes: 7 additions & 0 deletions 1720/data/attachments/1f92a5cf7bbd1422.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
INFO  juju.model:model.py:2069 Deploying local:jammy/mysql-k8s-1
INFO  juju.model:model.py:2759 Waiting for model:
another-mysql/0 [allocating] waiting: installing agent
INFO  juju.model:model.py:2759 Waiting for model:
another-mysql/0 [executing] maintenance: Initialising mysqld
INFO  juju.model:model.py:2759 Waiting for model:
another-mysql/0 [idle] active: Primary
22 changes: 22 additions & 0 deletions 1720/data/attachments/238877cf6278f614.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
INFO  pytest_operator.plugin:plugin.py:675 Connecting to existing model microk8s-localhost:test on unspecified cloud
INFO  juju.model:model.py:2069 Deploying ch:amd64/jammy/mysql-test-app-33
INFO  juju.model:model.py:2069 Deploying local:jammy/mysql-k8s-0
INFO  juju.model:model.py:2759 Waiting for model:
mysql-k8s/0 [allocating] waiting: installing agent
mysql-k8s/1 [allocating] waiting: installing agent
mysql-k8s/2 [allocating] waiting: installing agent
INFO  juju.model:model.py:2759 Waiting for model:
mysql-test-app/0 [allocating] waiting: installing agent
mysql-test-app/1 [allocating] waiting: installing agent
INFO  juju.model:model.py:2759 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
INFO  juju.model:model.py:2759 Waiting for model:
mysql-k8s/0 [executing] active: Primary
mysql-k8s/1 [executing] waiting: waiting to get cluster primary from peers
mysql-k8s/2 [executing] maintenance: joining the cluster
INFO  juju.model:model.py:2759 Waiting for model:
mysql-k8s/0 [idle] active: Primary
mysql-k8s/1 [executing] maintenance: joining the cluster
mysql-k8s/2 [idle] active:
2 changes: 2 additions & 0 deletions 1720/data/attachments/296c4f3c2c5fb26c.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
INFO  integration.high_availability.test_upgrade_rollback_incompat:test_upgrade_rollback_incompat.py:60 Get leader unit
INFO  integration.high_availability.test_upgrade_rollback_incompat:test_upgrade_rollback_incompat.py:64 Run pre-upgrade-check action
10 changes: 10 additions & 0 deletions 1720/data/attachments/2df831fe7271d705.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
INFO  juju.model:model.py:2759 Waiting for model:
mysql-k8s (waiting for exactly 3 units, current : 1)
INFO  juju.model:model.py:2759 Waiting for model:
mysql-k8s/0 [executing] active: Primary
mysql-k8s/1 [executing] unknown:
mysql-k8s/2 [executing] unknown:
INFO  juju.model:model.py:2759 Waiting for model:
mysql-k8s/0 [idle] active: Primary
mysql-k8s/1 [idle] active:
mysql-k8s/2 [idle] active:
5 changes: 5 additions & 0 deletions 1720/data/attachments/2f83e60c7c8d9fb4.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
INFO  integration.high_availability.test_self_healing:test_self_healing.py:239 Ensuring that there are 3 online mysql members
INFO  integration.high_availability.test_self_healing:test_self_healing.py:244 Ensuring that all units have incrementing continuous writes
INFO  integration.high_availability.test_self_healing:test_self_healing.py:254 Sending SIGTERM to unit mysql-k8s/0
INFO  integration.high_availability.test_self_healing:test_self_healing.py:276 Waiting until there are 3 online mysql instances again
INFO  integration.high_availability.test_self_healing:test_self_healing.py:289 Ensuring all instances have incrementing continuous writes
7 changes: 7 additions & 0 deletions 1720/data/attachments/3088c9fc7910f6ad.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
WARNING  juju.model:model.py:1558 relate is deprecated and will be removed. Use integrate instead.
INFO  juju.model:model.py:2759 Waiting for model:
mysql-k8s/0 [idle] active: Primary
mysql-k8s/1 [idle] active:
mysql-k8s/2 [idle] active:
mysql-test-app/0 [executing] waiting:
mysql-test-app/1 [executing] waiting:
40 changes: 40 additions & 0 deletions 1720/data/attachments/314aba28c00139fe.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
INFO  integration.test_backups:test_backups.py:233 Syncing credentials for aws
INFO  juju.model:model.py:2759 Waiting for model:
mysql-k8s/0 [executing] active: Primary
s3-integrator/0 [executing] active:
INFO  integration.test_backups:test_backups.py:249 Restoring backup with id 2024-03-15T01:30:34Z
INFO  integration.test_backups:test_backups.py:256 Ensuring that the pre-backup inserted value exists in database, while post-backup inserted value does not
INFO  integration.test_backups:test_backups.py:270 Inserting value after restore from aws
INFO  integration.test_backups:test_backups.py:277 Ensuring that pre-backup and post-restore values exist in the database
INFO  integration.test_backups:test_backups.py:233 Syncing credentials for gcp
INFO  juju.model:model.py:2759 Waiting for model:
mysql-k8s/0 [executing] active:
s3-integrator/0 [executing] active:
INFO  integration.test_backups:test_backups.py:249 Restoring backup with id 2024-03-15T01:31:19Z
INFO  integration.test_backups:test_backups.py:256 Ensuring that the pre-backup inserted value exists in database, while post-backup inserted value does not
INFO  integration.test_backups:test_backups.py:270 Inserting value after restore from gcp
INFO  integration.test_backups:test_backups.py:277 Ensuring that pre-backup and post-restore values exist in the database
INFO  integration.test_backups:test_backups.py:233 Syncing credentials for ceph
INFO  juju.model:model.py:2759 Waiting for model:
mysql-k8s/0 [executing] active:
s3-integrator/0 [executing] active:
INFO  integration.test_backups:test_backups.py:249 Restoring backup with id 2024-03-15T01:31:46Z
INFO  integration.test_backups:test_backups.py:256 Ensuring that the pre-backup inserted value exists in database, while post-backup inserted value does not
INFO  integration.test_backups:test_backups.py:270 Inserting value after restore from ceph
INFO  integration.test_backups:test_backups.py:277 Ensuring that pre-backup and post-restore values exist in the database
INFO  integration.test_backups:test_backups.py:287 Scaling mysql application to 3 units
INFO  juju.model:model.py:2759 Waiting for model:
mysql-k8s (waiting for exactly 3 units, current : 1)
INFO  juju.model:model.py:2759 Waiting for model:
mysql-k8s/0 [executing] active: Primary
mysql-k8s/1 [executing] maintenance: Initialising mysqld
mysql-k8s/2 [executing] maintenance: Initialising mysqld
INFO  juju.model:model.py:2759 Waiting for model:
mysql-k8s/0 [idle] active: Primary
mysql-k8s/1 [idle] active:
mysql-k8s/2 [idle] waiting: waiting to join the cluster
INFO  juju.model:model.py:2759 Waiting for model:
mysql-k8s/0 [idle] active: Primary
mysql-k8s/1 [idle] active:
mysql-k8s/2 [idle] active:
INFO  integration.test_backups:test_backups.py:290 Ensuring inserted values before backup and after restore exist on all units
46 changes: 46 additions & 0 deletions 1720/data/attachments/3c0e4a4519794cc5.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
INFO  integration.test_charm:test_charm.py:346 Extending update-status-hook-inteval to 60m
INFO  integration.test_charm:test_charm.py:354 Overwriting the log rotate dispatcher script
INFO  integration.test_charm:test_charm.py:364 Stopping the log rotate dispatcher
INFO  integration.test_charm:test_charm.py:367 Stopping any running logrotate jobs
INFO  integration.test_charm:test_charm.py:370 Removing existing archive directories
INFO  integration.test_charm:test_charm.py:378 Writing some data to the text log files
INFO  integration.test_charm:test_charm.py:383 Ensuring only log files exist
INFO  integration.test_charm:test_charm.py:394 Dispatching custom event to rotate logs
INFO  integration.test_charm:test_charm.py:397 Ensuring log files and archive directories exist
INFO  integration.test_charm:test_charm.py:408 Ensuring log files were rotated
INFO  pytest_operator.plugin:plugin.py:790 Model status:

Model Controller Cloud/Region Version SLA Timestamp
test microk8s-localhost microk8s/localhost 3.1.7 unsupported 01:34:48Z

App Version Status Scale Charm Channel Rev Address Exposed Message
mysql-k8s active 3 mysql-k8s 0 10.152.183.185 no

Unit Workload Agent Address Ports Message
mysql-k8s/0* active idle 10.1.46.139 Primary
mysql-k8s/1 active idle 10.1.46.146
mysql-k8s/2 active idle 10.1.46.147

INFO  pytest_operator.plugin:plugin.py:796 Juju error logs:


INFO  pytest_operator.plugin:plugin.py:862 Forgetting main...
ERROR  websockets.client:protocol.py:1015 data transfer failed
Traceback (most recent call last):
File "/home/runner/work/mysql-k8s-operator/mysql-k8s-operator/.tox/integration/lib/python3.10/site-packages/websockets/legacy/protocol.py", line 959, in transfer_data
message = await self.read_message()
File "/home/runner/work/mysql-k8s-operator/mysql-k8s-operator/.tox/integration/lib/python3.10/site-packages/websockets/legacy/protocol.py", line 1029, in read_message
frame = await self.read_data_frame(max_size=self.max_size)
File "/home/runner/work/mysql-k8s-operator/mysql-k8s-operator/.tox/integration/lib/python3.10/site-packages/websockets/legacy/protocol.py", line 1104, in read_data_frame
frame = await self.read_frame(max_size)
File "/home/runner/work/mysql-k8s-operator/mysql-k8s-operator/.tox/integration/lib/python3.10/site-packages/websockets/legacy/protocol.py", line 1161, in read_frame
frame = await Frame.read(
File "/home/runner/work/mysql-k8s-operator/mysql-k8s-operator/.tox/integration/lib/python3.10/site-packages/websockets/legacy/framing.py", line 68, in read
data = await reader(2)
File "/usr/lib/python3.10/asyncio/streams.py", line 708, in readexactly
await self._wait_for_data('readexactly')
File "/usr/lib/python3.10/asyncio/streams.py", line 501, in _wait_for_data
await self._waiter
File "/usr/lib/python3.10/asyncio/selector_events.py", line 924, in write
n = self._sock.send(data)
OSError: [Errno 9] Bad file descriptor
15 changes: 15 additions & 0 deletions 1720/data/attachments/4331e79da24ebf80.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
INFO  integration.high_availability.high_availability_helpers:high_availability_helpers.py:247 Deploying Chaos Mesh
INFO  integration.high_availability.high_availability_helpers:high_availability_helpers.py:259 Ensure chaos mesh is ready
INFO  integration.high_availability.test_self_healing:test_self_healing.py:304 Ensuring that there are 3 online mysql members
INFO  integration.high_availability.test_self_healing:test_self_healing.py:309 Ensuring that all instances have incrementing continuous writes
INFO  integration.high_availability.test_self_healing:test_self_healing.py:317 Creating networkchaos policy to isolate instance mysql-k8s/1 from the cluster
INFO  integration.high_availability.test_self_healing:test_self_healing.py:324 Wait until MySQL GR actually detects isolated instance
INFO  integration.high_availability.test_self_healing:test_self_healing.py:341 Ensure all units have incrementing continuous writes
INFO  integration.high_availability.test_self_healing:test_self_healing.py:344 Remove networkchaos policy isolating instance from cluster
INFO  integration.high_availability.test_self_healing:test_self_healing.py:348 Wait until returning instance enters recovery
INFO  integration.high_availability.test_self_healing:test_self_healing.py:352 Wait until returning instance become active
INFO  integration.high_availability.test_self_healing:test_self_healing.py:357 Wait until all units are online
INFO  integration.high_availability.test_self_healing:test_self_healing.py:362 Ensure isolated instance is now secondary
INFO  integration.high_availability.test_self_healing:test_self_healing.py:371 Ensure there are 3 online mysql members
INFO  integration.high_availability.test_self_healing:test_self_healing.py:376 Ensure all units have incrementing continuous writes
INFO  integration.high_availability.conftest:conftest.py:41 Destroying chaos mesh
27 changes: 27 additions & 0 deletions 1720/data/attachments/45fd158cc8eed077.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
INFO  pytest_operator.plugin:plugin.py:675 Connecting to existing model microk8s-localhost:test on unspecified cloud
INFO  juju.model:model.py:2069 Deploying local:jammy/mysql-k8s-0
INFO  juju.model:model.py:2759 Waiting for model:
mysql-k8s/0 [allocating] waiting: installing agent
mysql-k8s/1 [allocating] waiting: installing agent
mysql-k8s/2 [allocating] waiting: installing agent
INFO  juju.model:model.py:2759 Waiting for model:
mysql-k8s/0 [executing] maintenance: Initialising mysqld
mysql-k8s/1 [executing] maintenance: Initialising mysqld
mysql-k8s/2 [executing] maintenance: Initialising mysqld
INFO  juju.model:model.py:2759 Waiting for model:
mysql-k8s/0 [idle] active: Primary
mysql-k8s/1 [idle] maintenance: joining the cluster
mysql-k8s/2 [idle] waiting: waiting to join the cluster
INFO  juju.model:model.py:2759 Waiting for model:
mysql-k8s/0 [idle] active: Primary
mysql-k8s/1 [idle] active:
mysql-k8s/2 [idle] active:
INFO  juju.model:model.py:2069 Deploying ch:amd64/jammy/mysql-test-app-33
INFO  juju.model:model.py:2759 Waiting for model:
mysql-test-app/0 [allocating] waiting: installing agent
WARNING  juju.model:model.py:1558 relate is deprecated and will be removed. Use integrate instead.
INFO  juju.model:model.py:2759 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:
32 changes: 32 additions & 0 deletions 1720/data/attachments/4dbf4aed224c6c4a.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
INFO  integration.high_availability.test_self_healing:test_self_healing.py:387 Ensure there are 3 online mysql members
INFO  integration.high_availability.test_self_healing:test_self_healing.py:392 Ensure that all units have incrementing continuous writes
INFO  integration.high_availability.test_self_healing:test_self_healing.py:398 Get mysqld pids on all instances
INFO  integration.high_availability.test_self_healing:test_self_healing.py:406 Stopping mysqld on mysql-k8s/0
INFO  integration.high_availability.test_self_healing:test_self_healing.py:406 Stopping mysqld on mysql-k8s/1
INFO  integration.high_availability.test_self_healing:test_self_healing.py:406 Stopping mysqld on mysql-k8s/2
INFO  integration.high_availability.test_self_healing:test_self_healing.py:409 Wait until mysqld stopped on all instances
INFO  integration.high_availability.test_self_healing:test_self_healing.py:417 Starting mysqld on mysql-k8s/0
INFO  integration.high_availability.test_self_healing:test_self_healing.py:417 Starting mysqld on mysql-k8s/1
INFO  integration.high_availability.test_self_healing:test_self_healing.py:417 Starting mysqld on mysql-k8s/2
INFO  integration.high_availability.test_self_healing:test_self_healing.py:421 Block until all in maintenance/offline
INFO  integration.high_availability.test_self_healing:test_self_healing.py:427 Wait all members to recover
INFO  juju.model:model.py:2759 Waiting for model:
mysql-k8s/0 [idle] maintenance: offline
mysql-k8s/1 [idle] maintenance: offline
mysql-k8s/2 [idle] maintenance: offline
INFO  juju.model:model.py:2759 Waiting for model:
mysql-k8s/0 [idle] maintenance: offline
mysql-k8s/1 [idle] maintenance: offline
mysql-k8s/2 [idle] maintenance: offline
INFO  juju.model:model.py:2759 Waiting for model:
mysql-k8s/0 [idle] maintenance: offline
mysql-k8s/1 [idle] maintenance: offline
mysql-k8s/2 [idle] maintenance: offline
INFO  juju.model:model.py:2759 Waiting for model:
mysql-k8s/0 [idle] maintenance: offline
mysql-k8s/1 [idle] active:
mysql-k8s/2 [idle] maintenance: offline
INFO  juju.model:model.py:2759 Waiting for model:
mysql-k8s/0 [idle] active: Primary
mysql-k8s/1 [idle] active:
mysql-k8s/2 [idle] active:
Loading

0 comments on commit 02bbfc0

Please sign in to comment.