Skip to content

Commit

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

Large diffs are not rendered by default.

60 changes: 60 additions & 0 deletions 1714/data/attachments/243b4b5599647419.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
INFO  integration.high_availability.test_upgrade:test_upgrade.py:147 Get leader unit
INFO  integration.high_availability.test_upgrade:test_upgrade.py:151 Run pre-upgrade-check action
INFO  integration.high_availability.test_upgrade:test_upgrade.py:164 Inject dependency fault
INFO  integration.high_availability.test_upgrade:test_upgrade.py:169 Refresh the charm
INFO  integration.high_availability.test_upgrade:test_upgrade.py:172 Get first upgrading unit
INFO  integration.high_availability.test_upgrade:test_upgrade.py:176 Wait for upgrade to fail on first upgrading unit
INFO  integration.high_availability.test_upgrade:test_upgrade.py:182 Ensure continuous_writes while in failure state on remaining units
INFO  integration.high_availability.test_upgrade:test_upgrade.py:186 Re-run pre-upgrade-check action
INFO  integration.high_availability.test_upgrade:test_upgrade.py:189 Re-refresh the charm
INFO  integration.high_availability.test_upgrade:test_upgrade.py:192 Wait for upgrade to complete on first upgrading unit
INFO  integration.high_availability.test_upgrade:test_upgrade.py:197 Resume upgrade
INFO  httpx:_client.py:1013 HTTP Request: GET https://10.1.0.14:16443/apis/apps/v1/namespaces/test/statefulsets/mysql-k8s "HTTP/1.1 200 OK"
INFO  httpx:_client.py:1013 HTTP Request: GET https://10.1.0.14:16443/apis/apps/v1/namespaces/test/statefulsets/mysql-k8s "HTTP/1.1 200 OK"
INFO  httpx:_client.py:1013 HTTP Request: GET https://10.1.0.14:16443/apis/apps/v1/namespaces/test/statefulsets/mysql-k8s "HTTP/1.1 200 OK"
INFO  integration.high_availability.test_upgrade:test_upgrade.py:210 Wait for application to recover
INFO  integration.high_availability.test_upgrade:test_upgrade.py:216 Ensure continuous_writes after rollback procedure
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:38:32Z

App Version Status Scale Charm Channel Rev Address Exposed Message
mysql-k8s 8.0.35-0ubuntu0.22.04.1 active 3 mysql-k8s 8.0/edge 2 10.152.183.183 no
test-app 0.0.2 active 1 mysql-test-app latest/edge 33 10.152.183.60 no Last written value=41228

Unit Workload Agent Address Ports Message
mysql-k8s/0 active idle 10.1.69.213
mysql-k8s/1 active idle 10.1.69.212 Primary
mysql-k8s/2* active idle 10.1.69.211
test-app/0* active idle 10.1.69.200 Last written value=41228

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

unit-mysql-k8s-2: 01:34:13 ERROR unit.mysql-k8s/2.juju-log charms.data_platform_libs.v0.upgrade.VersionError - {'message': 'Versions incompatible, charm 1 can not be upgraded to 999.999.999', 'cause': 'Upgrades only supported for specific versions, charm versions satisfying requirement >1', 'resolution': ''}
unit-mysql-k8s-2: 01:34:13 CRITICAL unit.mysql-k8s/2.juju-log Upgrade failed, follow the instructions below to rollback:
1 - Run `juju run mysql-k8s/leader pre-upgrade-check` to configure rollback
2 - Run `juju refresh --revision <previous-revision> mysql-k8s` to initiate the rollback
3 - Run `juju run mysql-k8s/leader resume-upgrade` to resume the rollback

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
WARNING  juju.client.connection:connection.py:657 RPC: Connection closed, reconnecting
5 changes: 5 additions & 0 deletions 1714/data/attachments/26c000a1be4434f3.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/1
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
17 changes: 17 additions & 0 deletions 1714/data/attachments/2a8ff747f3505780.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
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: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
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 [executing] waiting: waiting to join the cluster
mysql-k8s/1 [idle] maintenance: joining the cluster
mysql-k8s/2 [executing] active: Primary
INFO  juju.model:model.py:2759 Waiting for model:
mysql-k8s/0 [idle] active:
mysql-k8s/1 [idle] active:
mysql-k8s/2 [idle] active: Primary
18 changes: 18 additions & 0 deletions 1714/data/attachments/32164e5c4c759f9c.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
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 [idle] waiting: waiting to join the cluster
mysql-k8s/2 [idle] active: Primary
INFO  juju.model:model.py:2759 Waiting for model:
mysql-k8s/0 [idle] active:
mysql-k8s/1 [idle] active:
mysql-k8s/2 [idle] active: Primary
39 changes: 39 additions & 0 deletions 1714/data/attachments/354675d4ef3302dd.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
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:28:37Z

App Version Status Scale Charm Channel Rev Address Exposed Message
mysql-k8s waiting 0/3 mysql-k8s 8.0/stable 113 10.152.183.162 no installing agent
test-app 0.0.2 waiting 1 mysql-test-app latest/edge 33 10.152.183.208 no installing agent

Unit Workload Agent Address Ports Message
mysql-k8s/0 waiting allocating installing agent
mysql-k8s/1 waiting allocating installing agent
mysql-k8s/2 waiting allocating installing agent
test-app/0* waiting idle 10.1.187.72

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
WARNING  juju.client.connection:connection.py:657 RPC: Connection closed, reconnecting
26 changes: 26 additions & 0 deletions 1714/data/attachments/3aed8aaa7a8a34ec.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
INFO  integration.test_backups:test_backups.py:158 Inserting value before backup
INFO  integration.test_backups:test_backups.py:168 Setting s3 config for aws
INFO  integration.test_backups:test_backups.py:170 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:184 Listing existing backup ids
INFO  integration.test_backups:test_backups.py:191 Creating backup
INFO  integration.test_backups:test_backups.py:197 Listing backup ids post backup
INFO  integration.test_backups:test_backups.py:168 Setting s3 config for gcp
INFO  integration.test_backups:test_backups.py:170 Syncing credentials for gcp
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:184 Listing existing backup ids
INFO  integration.test_backups:test_backups.py:191 Creating backup
INFO  integration.test_backups:test_backups.py:197 Listing backup ids post backup
INFO  integration.test_backups:test_backups.py:168 Setting s3 config for ceph
INFO  integration.test_backups:test_backups.py:170 Syncing credentials for ceph
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:184 Listing existing backup ids
INFO  integration.test_backups:test_backups.py:191 Creating backup
INFO  integration.test_backups:test_backups.py:197 Listing backup ids post backup
INFO  integration.test_backups:test_backups.py:208 Inserting value after backup
2 changes: 2 additions & 0 deletions 1714/data/attachments/3e1b827ea9b84e50.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
35 changes: 35 additions & 0 deletions 1714/data/attachments/42e5e21104eb97a3.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
INFO  juju.model:model.py:2759 Waiting for model:
mysql-k8s (waiting for exactly 5 units, current : 3)
INFO  juju.model:model.py:2759 Waiting for model:
mysql-k8s/0 [executing] active:
mysql-k8s/1 [executing] active:
mysql-k8s/2 [executing] active: Primary
mysql-k8s/3 [executing] maintenance: Initialising mysqld
mysql-k8s/4 [executing] maintenance: Initialising mysqld
INFO  juju.model:model.py:2759 Waiting for model:
mysql-k8s/0 [idle] active:
mysql-k8s/1 [idle] active:
mysql-k8s/2 [idle] active: Primary
mysql-k8s/3 [executing] waiting: waiting to join the cluster
mysql-k8s/4 [idle] maintenance: joining the cluster
INFO  juju.model:model.py:2759 Waiting for model:
mysql-k8s/0 [executing] active:
mysql-k8s/1 [executing] active:
mysql-k8s/2 [executing] active: Primary
mysql-k8s/3 [executing] active:
mysql-k8s/4 [executing] active:
INFO  juju.model:model.py:2759 Waiting for model:
mysql-k8s/0 [idle] active:
mysql-k8s/1 [idle] active:
mysql-k8s/2 [idle] active: Primary
mysql-k8s/3 [idle] active:
mysql-k8s/4 [idle] active:
INFO  integration.test_charm:test_charm.py:164 Scale down to one unit
INFO  juju.model:model.py:2759 Waiting for model:
mysql-k8s (waiting for exactly 1 units, current : 5)
INFO  juju.model:model.py:2759 Waiting for model:
mysql-k8s (waiting for exactly 1 units, current : 5)
INFO  juju.model:model.py:2759 Waiting for model:
mysql-k8s (waiting for exactly 1 units, current : 5)
INFO  juju.model:model.py:2759 Waiting for model:
mysql-k8s/0 [executing] active: Primary
46 changes: 46 additions & 0 deletions 1714/data/attachments/5206162d51254226.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:35:32Z

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

Unit Workload Agent Address Ports Message
mysql-k8s/0* active idle 10.1.233.11 Primary
mysql-k8s/1 active idle 10.1.233.18
mysql-k8s/2 active idle 10.1.233.19

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
7 changes: 7 additions & 0 deletions 1714/data/attachments/5491877b48d2fad6.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
11 changes: 11 additions & 0 deletions 1714/data/attachments/55e2455c08cb94ae.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
INFO  integration.high_availability.test_self_healing:test_self_healing.py:124 Ensuring that all units continuous writes incrementing
INFO  integration.high_availability.test_self_healing:test_self_healing.py:135 Sending SIGSTOP to unit mysql-k8s/0
INFO  integration.high_availability.test_self_healing:test_self_healing.py:158 Waiting for new primary to be elected
INFO  integration.high_availability.test_self_healing:test_self_healing.py:172 Ensuring all remaining units continuous writes incrementing
INFO  integration.high_availability.test_self_healing:test_self_healing.py:181 Sending SIGCONT to mysql-k8s/0
INFO  juju.model:model.py:2759 Waiting for model:
mysql-k8s/0 [executing] active: Primary
mysql-k8s/1 [executing] active:
mysql-k8s/2 [executing] active: Primary
INFO  integration.high_availability.test_self_healing:test_self_healing.py:224 Ensuring that there are 3 online mysql members
INFO  integration.high_availability.test_self_healing:test_self_healing.py:229 Ensure all units continuous writes incrementing
Loading

0 comments on commit 6e63bc9

Please sign in to comment.