Skip to content

Commit

Permalink
Allure report #1915
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jun 1, 2024
1 parent 2b66b52 commit 20a054e
Show file tree
Hide file tree
Showing 143 changed files with 3,056 additions and 2 deletions.
2 changes: 2 additions & 0 deletions 1915/app.js

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions 1915/data/attachments/155d07a1fe36f2d5.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
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.conftest:conftest.py:33 Clearing continuous writes
6 changes: 6 additions & 0 deletions 1915/data/attachments/1b096bc101c1a732.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 1915/data/attachments/1e13f6d86a8c65f8.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:
37 changes: 37 additions & 0 deletions 1915/data/attachments/2039905864f7b14e.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
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:30:40Z

App Version Status Scale Charm Channel Rev Address Exposed Message
mysql-k8s error 0/3 mysql-k8s 0 10.152.183.59 no create Pod mysql-k8s-1 in StatefulSet mysql-k8s failed error: failed to create PVC mysql-k8s-database-3bd68d7e-mysql-...

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

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
22 changes: 22 additions & 0 deletions 1915/data/attachments/26a2d222f2e0ac96.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 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
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 [idle] 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:2759 Waiting for model:
mysql-k8s/0 [idle] active:
mysql-k8s/1 [idle] active: Primary
mysql-k8s/2 [idle] active:
46 changes: 46 additions & 0 deletions 1915/data/attachments/2a61894ef087fc08.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:38:32Z

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

Unit Workload Agent Address Ports Message
mysql-k8s/0* active idle 10.1.61.204 Primary
mysql-k8s/1 active idle 10.1.61.211
mysql-k8s/2 active idle 10.1.61.210

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
6 changes: 6 additions & 0 deletions 1915/data/attachments/2d8c9b460e56c6c0.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
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
40 changes: 40 additions & 0 deletions 1915/data/attachments/30e6c163698779b8.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
INFO  pytest_operator.plugin:plugin.py:675 Connecting to existing model microk8s-localhost:test on unspecified cloud
INFO  integration.high_availability.test_async_replication:test_async_replication.py:76 Build mysql charm
INFO  integration.high_availability.test_async_replication:test_async_replication.py:82 Deploying mysql clusters
INFO  juju.model:model.py:2069 Deploying local:mysql-k8s-0
INFO  juju.model:model.py:2069 Deploying local:mysql-k8s-0
INFO  integration.high_availability.test_async_replication:test_async_replication.py:101 Waiting for the applications to settle
INFO  juju.model:model.py:2759 Waiting for model:
db2 (not enough units yet - 0/1)
INFO  juju.model:model.py:2759 Waiting for model:
db1/0 [allocating] waiting: installing agent
db1/1 [allocating] waiting: installing agent
db1/2 [allocating] waiting: installing agent
INFO  juju.model:model.py:2759 Waiting for model:
db2/0 [executing] maintenance: installing charm software
db2/1 [executing] maintenance: installing charm software
db2/2 [executing] maintenance: installing charm software
INFO  juju.model:model.py:2759 Waiting for model:
db1/0 [executing] maintenance: Initialising mysqld
db1/1 [executing] maintenance: Initialising mysqld
db1/2 [executing] maintenance: Initialising mysqld
INFO  juju.model:model.py:2759 Waiting for model:
db1/0 [executing] active: Primary
db1/1 [idle] maintenance: joining the cluster
db1/2 [idle] waiting: waiting to join the cluster
INFO  juju.model:model.py:2759 Waiting for model:
db2/0 [executing] maintenance: Initialising mysqld
db2/1 [executing] waiting: waiting to get cluster primary from peers
db2/2 [executing] waiting: waiting to get cluster primary from peers
INFO  juju.model:model.py:2759 Waiting for model:
db1/0 [executing] active: Primary
db1/1 [idle] active:
db1/2 [executing] maintenance: joining the cluster
INFO  juju.model:model.py:2759 Waiting for model:
db2/0 [executing] active: Primary
db2/1 [executing] waiting: waiting to join the cluster
db2/2 [idle] maintenance: joining the cluster
INFO  juju.model:model.py:2759 Waiting for model:
db2/0 [idle] active: Primary
db2/1 [idle] active:
db2/2 [idle] active:
77 changes: 77 additions & 0 deletions 1915/data/attachments/34a7c0ffcb16bb5e.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
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.1.60:16443/api/v1/namespaces/test/pods/mysql-k8s-1 "HTTP/1.1 200 OK"
INFO  juju.model:model.py:2759 Waiting for model:
mysql-k8s/0 [idle] active:
mysql-k8s/1 [executing] maintenance:
mysql-k8s/2 [idle] active:
INFO  juju.model:model.py:2759 Waiting for model:
mysql-k8s/0 [idle] active:
mysql-k8s/1 [idle] maintenance: offline
mysql-k8s/2 [idle] active:
INFO  juju.model:model.py:2759 Waiting for model:
mysql-k8s/0 [idle] active:
mysql-k8s/1 [idle] maintenance: offline
mysql-k8s/2 [idle] active:
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:2759 Waiting for model:
mysql-k8s/0 [idle] active: Primary
mysql-k8s/2 [idle] active:
INFO  juju.model:model.py:2759 Waiting for model:
mysql-k8s/0 [idle] active: Primary
mysql-k8s/2 [idle] active:
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:43:09Z

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.183 no
mysql-test-app 0.0.2 active 1 mysql-test-app latest/edge 37 10.152.183.118 no Last written value=24979

Unit Workload Agent Address Ports Message
mysql-k8s/0 active idle 10.1.135.141 Primary
mysql-k8s/1 active idle 10.1.135.147
mysql-k8s/2* active idle 10.1.135.140
mysql-test-app/0* active idle 10.1.135.142 Last written value=24979

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

unit-mysql-k8s-1: 01:39:19 ERROR unit.mysql-k8s/1.juju-log Cluster upgrade failed, ensure pre-upgrade checks are ran first.
unit-mysql-k8s-1: 01:39:27 ERROR unit.mysql-k8s/1.juju-log database-peers:0: Failed to get cluster status for test_cluster
unit-mysql-k8s-1: 01:39:27 ERROR unit.mysql-k8s/1.juju-log database-peers:0: Failed to get cluster endpoints
Traceback (most recent call last):
File "/var/lib/juju/agents/unit-mysql-k8s-1/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-1/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
34 changes: 34 additions & 0 deletions 1915/data/attachments/3ea53604918ccf54.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
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-37
INFO  juju.model:model.py:2069 Deploying ch:amd64/jammy/mysql-k8s-127
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 [allocating] waiting: installing agent
mysql-k8s/1 [allocating] waiting: installing agent
mysql-k8s/2 [allocating] waiting: installing agent
test-app/0 [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
test-app/0 [idle] waiting:
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] waiting: waiting to get cluster primary from peers
test-app/0 [idle] waiting:
INFO  juju.model:model.py:2759 Waiting for model:
mysql-k8s/0 [executing] active: Primary
mysql-k8s/1 [idle] maintenance: joining the cluster
mysql-k8s/2 [executing] active:
test-app/0 [idle] active:
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.test_upgrade_from_stable:test_upgrade_from_stable.py:54 Wait for applications to become active
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:
test-app/0 [idle] active:
10 changes: 10 additions & 0 deletions 1915/data/attachments/4e9e746e8f265681.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
INFO  integration.high_availability.conftest:conftest.py:26 Clearing continuous writes
INFO  integration.high_availability.conftest:conftest.py:28 Starting continuous writes
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
INFO  integration.high_availability.conftest:conftest.py:33 Clearing continuous writes
Loading

0 comments on commit 20a054e

Please sign in to comment.