Skip to content

Commit

Permalink
Allure report #1881
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed May 15, 2024
1 parent c3479e0 commit 8ca9274
Show file tree
Hide file tree
Showing 144 changed files with 2,128 additions and 2 deletions.
2 changes: 2 additions & 0 deletions 1881/app.js

Large diffs are not rendered by default.

13 changes: 13 additions & 0 deletions 1881/data/attachments/126337b65df646ba.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
INFO  integration.high_availability.test_async_replication:test_async_replication.py:150 Deploying router and application
INFO  juju.model:model.py:2069 Deploying ch:amd64/jammy/mysql-router-k8s-96
INFO  juju.model:model.py:2069 Deploying ch:amd64/jammy/mysql-test-app-37
INFO  integration.high_availability.test_async_replication:test_async_replication.py:167 Relate app and router
INFO  integration.high_availability.test_async_replication:test_async_replication.py:172 Relate router and db
INFO  juju.model:model.py:2759 Waiting for model:
mysql-router-k8s/0 [allocating] waiting: installing agent
mysql-test-app/0 [allocating] waiting: installing agent
INFO  juju.model:model.py:2759 Waiting for model:
mysql-router-k8s/0 [executing] active:
mysql-test-app/0 [executing] waiting:
INFO  juju.model:model.py:2759 Waiting for model:
mysql-test-app/0 [idle] active:
42 changes: 42 additions & 0 deletions 1881/data/attachments/1b4e11fc2ac31584.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
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:08Z

App Version Status Scale Charm Channel Rev Address Exposed Message
mysql-k8s 8.0.36-0ubuntu0.22.04.1 active 3 mysql-k8s 0 10.152.183.109 no
mysql-test-app 0.0.2 active 1 mysql-test-app latest/edge 37 10.152.183.30 no Last written value=3719

Unit Workload Agent Address Ports Message
mysql-k8s/0* active idle 10.1.214.11 Primary
mysql-k8s/1 active idle 10.1.214.12 Primary
mysql-k8s/2 active idle 10.1.214.13
mysql-test-app/0* active idle 10.1.214.14 Last written value=3719

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

unit-mysql-k8s-0: 01:31:51 ERROR unit.mysql-k8s/0.juju-log Failed to get cluster status for test_cluster
unit-mysql-k8s-0: 01:32:03 ERROR unit.mysql-k8s/0.juju-log Failed to get cluster status for test_cluster
unit-mysql-k8s-0: 01:33:28 ERROR unit.mysql-k8s/0.juju-log Failed to get cluster status for test_cluster

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
1 change: 1 addition & 0 deletions 1881/data/attachments/1b9140832a771628.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
INFO  integration.test_tls:test_tls.py:98 Asserting connections before relation
6 changes: 6 additions & 0 deletions 1881/data/attachments/1c651eccb4a035e8.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
INFO  integration.high_availability.conftest:conftest.py:26 Clearing continuous writes
INFO  integration.high_availability.conftest:conftest.py:28 Starting continuous writes
INFO  integration.high_availability.test_async_replication:test_async_replication.py:354 Testing data replication
INFO  integration.high_availability.test_async_replication:test_async_replication.py:361 Stopping continuous writes and wait (5s) for replication
INFO  integration.high_availability.test_async_replication:test_async_replication.py:368 Querying max value on all units
INFO  integration.high_availability.conftest:conftest.py:33 Clearing continuous writes
10 changes: 10 additions & 0 deletions 1881/data/attachments/2191f9e10bfe1f8c.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:
28 changes: 28 additions & 0 deletions 1881/data/attachments/2dd2a9fab6a5cd41.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
INFO  integration.high_availability.test_async_replication:test_async_replication.py:121 Creating offers in first model
INFO  integration.high_availability.test_async_replication:test_async_replication.py:124 Consume offer in second model
INFO  integration.high_availability.test_async_replication:test_async_replication.py:127 Relating the two mysql clusters
INFO  integration.high_availability.test_async_replication:test_async_replication.py:130 Waiting for the applications to settle
INFO  juju.model:model.py:2759 Waiting for model:
db2/0 [idle] active:
db2/1 [idle] active: Primary
db2/2 [idle] active:
INFO  juju.model:model.py:2759 Waiting for model:
db1/0 [idle] active:
db1/1 [idle] active: Primary
db1/2 [idle] active:
INFO  juju.model:model.py:2759 Waiting for model:
db2/0 [idle] waiting: waiting replica cluster be configured
db2/1 [executing] waiting: Waiting for primary cluster
db2/2 [idle] waiting: waiting replica cluster be configured
INFO  juju.model:model.py:2759 Waiting for model:
db1/0 [idle] active:
db1/1 [executing] maintenance: Adding replica cluster
db1/2 [idle] active:
INFO  juju.model:model.py:2759 Waiting for model:
db2/0 [idle] active:
db2/1 [executing] waiting: Waiting for recovery to complete on other units
db2/2 [executing] maintenance: joining the cluster
INFO  juju.model:model.py:2759 Waiting for model:
db2/0 [idle] active:
db2/1 [idle] active: Primary (standby)
db2/2 [idle] active:
5 changes: 5 additions & 0 deletions 1881/data/attachments/2e43a5043b18952e.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
INFO  integration.high_availability.test_upgrade:test_upgrade.py:73 Get leader unit
INFO  integration.high_availability.test_upgrade:test_upgrade.py:77 Run pre-upgrade-check action
INFO  integration.high_availability.test_upgrade:test_upgrade.py:80 Assert slow shutdown is enabled
INFO  integration.high_availability.test_upgrade:test_upgrade.py:89 Assert partition is set to 2
INFO  httpx:_client.py:1013 HTTP Request: GET https://10.1.0.35:16443/apis/apps/v1/namespaces/test/statefulsets/mysql-k8s "HTTP/1.1 200 OK"
27 changes: 27 additions & 0 deletions 1881/data/attachments/2fd193e64c27d41b.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
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] maintenance: joining the cluster
mysql-k8s/4 [executing] waiting: waiting to get cluster primary from peers
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  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/0 [idle] active:
1 change: 1 addition & 0 deletions 1881/data/attachments/38dbfa983ae8b2a6.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
INFO  integration.test_tls:test_tls.py:187 Asserting connections after relation
61 changes: 61 additions & 0 deletions 1881/data/attachments/3e2ed64fd9b6228.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
INFO  integration.high_availability.conftest:conftest.py:26 Clearing continuous writes
INFO  integration.high_availability.conftest:conftest.py:28 Starting continuous writes
INFO  integration.high_availability.test_upgrade:test_upgrade.py:145 Get leader unit
INFO  integration.high_availability.test_upgrade:test_upgrade.py:149 Run pre-upgrade-check action
INFO  integration.high_availability.test_upgrade:test_upgrade.py:162 Inject dependency fault
INFO  integration.high_availability.test_upgrade:test_upgrade.py:167 Refresh the charm
INFO  integration.high_availability.test_upgrade:test_upgrade.py:170 Get first upgrading unit
INFO  integration.high_availability.test_upgrade:test_upgrade.py:174 Wait for upgrade to fail on first upgrading unit
INFO  integration.high_availability.test_upgrade:test_upgrade.py:180 Ensure continuous_writes while in failure state on remaining units
INFO  integration.high_availability.test_upgrade:test_upgrade.py:184 Re-run pre-upgrade-check action
INFO  integration.high_availability.test_upgrade:test_upgrade.py:187 Re-refresh the charm
INFO  integration.high_availability.test_upgrade:test_upgrade.py:190 Wait for upgrade to complete on first upgrading unit
INFO  integration.high_availability.test_upgrade:test_upgrade.py:195 Resume upgrade
INFO  httpx:_client.py:1013 HTTP Request: GET https://10.1.0.35: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.35:16443/apis/apps/v1/namespaces/test/statefulsets/mysql-k8s "HTTP/1.1 200 OK"
INFO  integration.high_availability.test_upgrade:test_upgrade.py:208 Wait for application to recover
INFO  integration.high_availability.test_upgrade:test_upgrade.py:214 Ensure continuous_writes after rollback procedure
INFO  integration.high_availability.conftest:conftest.py:33 Clearing continuous writes
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:07Z

App Version Status Scale Charm Channel Rev Address Exposed Message
mysql-k8s 8.0.36-0ubuntu0.22.04.1 active 3 mysql-k8s 8.0/edge 2 10.152.183.58 no
mysql-test-app 0.0.2 active 1 mysql-test-app latest/edge 37 10.152.183.62 no Last written value=14705

Unit Workload Agent Address Ports Message
mysql-k8s/0 active idle 10.1.119.21
mysql-k8s/1* active idle 10.1.119.20
mysql-k8s/2 active idle 10.1.119.19 Primary
mysql-test-app/0* active idle 10.1.119.14 Last written value=14705

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

unit-mysql-k8s-2: 01:35:20 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:35:20 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
67 changes: 67 additions & 0 deletions 1881/data/attachments/41748c3c32fc1c0f.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
INFO  integration.high_availability.conftest:conftest.py:26 Clearing continuous writes
INFO  integration.high_availability.conftest:conftest.py:28 Starting continuous writes
INFO  httpx:_client.py:1013 HTTP Request: DELETE https://10.1.0.35:16443/api/v1/namespaces/test/pods/mysql-k8s-2 "HTTP/1.1 200 OK"
INFO  juju.model:model.py:2759 Waiting for model:
mysql-k8s/0 [idle] active:
mysql-k8s/1 [idle] active:
mysql-k8s/2 [executing] maintenance:
INFO  juju.model:model.py:2759 Waiting for model:
mysql-k8s/0 [idle] active:
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] 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:
INFO  integration.high_availability.conftest:conftest.py:33 Clearing continuous writes
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:39:25Z

App Version Status Scale Charm Channel Rev Address Exposed Message
mysql-k8s 8.0.36-0ubuntu0.22.04.1 active 3 mysql-k8s 0 10.152.183.19 no
mysql-test-app 0.0.2 active 1 mysql-test-app latest/edge 37 10.152.183.184 no Last written value=14506

Unit Workload Agent Address Ports Message
mysql-k8s/0 active idle 10.1.214.11 Primary
mysql-k8s/1* active idle 10.1.214.13
mysql-k8s/2 active idle 10.1.214.19
mysql-test-app/0* active idle 10.1.214.14 Last written value=14506

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

unit-mysql-k8s-2: 01:37:24 ERROR unit.mysql-k8s/2.juju-log Cluster upgrade failed, ensure pre-upgrade checks are ran first.
unit-mysql-k8s-2: 01:37:32 ERROR unit.mysql-k8s/2.juju-log database-peers:1: Failed to get cluster status for test_cluster
unit-mysql-k8s-2: 01:37:32 ERROR unit.mysql-k8s/2.juju-log database-peers:1: 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 772, 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/mysql/v0/mysql.py", line 1900, 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

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
Loading

0 comments on commit 8ca9274

Please sign in to comment.