Skip to content

Commit

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

Large diffs are not rendered by default.

29 changes: 29 additions & 0 deletions 1884/data/attachments/1b3bbb409e28ebbf.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
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 get cluster primary from peers
mysql-k8s/4 [executing] maintenance: joining the cluster
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] maintenance: joining the cluster
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 (waiting for exactly 1 units, current : 5)
INFO  juju.model:model.py:2759 Waiting for model:
mysql-k8s/0 [idle] active: Primary
51 changes: 51 additions & 0 deletions 1884/data/attachments/1fc4e0c13cf9b5cc.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
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/focal/charmed-osm-mongodb-k8s-29
INFO  juju.model:model.py:2069 Deploying ch:amd64/focal/charmed-osm-zookeeper-k8s-37
INFO  juju.model:model.py:2069 Deploying ch:amd64/focal/charmed-osm-kafka-k8s-21
INFO  juju.model:model.py:2069 Deploying ch:amd64/focal/osm-pol-1
INFO  juju.model:model.py:2069 Deploying local:jammy/mysql-k8s-0
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
osm-kafka/0 [allocating] waiting: installing agent
osm-mongodb/0 [allocating] waiting: installing agent
INFO  juju.model:model.py:2759 Waiting for model:
mysql-k8s/0 [allocating] waiting: agent initialising
mysql-k8s/1 [allocating] waiting: agent initialising
mysql-k8s/2 [allocating] waiting: agent initialising
osm-kafka/0 [allocating] waiting: installing agent
osm-mongodb/0 [idle] active: ready
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
osm-kafka/0 [executing] waiting: Waiting for Zookeeper to be ready
osm-mongodb/0 [idle] active: ready
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
osm-kafka/0 [idle] active: ready
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 [executing] 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:
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:
osm-keystone/0 [executing] blocked: mysql relation is missing
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:
WARNING  juju.model:model.py:1558 relate is deprecated and will be removed. Use integrate instead.
WARNING  juju.model:model.py:1558 relate is deprecated and will be removed. Use integrate instead.
WARNING  juju.model:model.py:1558 relate is deprecated and will be removed. Use integrate instead.
73 changes: 73 additions & 0 deletions 1884/data/attachments/2b95065066f9d6a1.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
INFO  integration.high_availability.test_upgrade_rollback_incompat:test_upgrade_rollback_incompat.py:112 Get leader unit
INFO  integration.high_availability.test_upgrade_rollback_incompat:test_upgrade_rollback_incompat.py:117 Run pre-upgrade-check action
INFO  integration.high_availability.test_upgrade_rollback_incompat:test_upgrade_rollback_incompat.py:120 Refresh with previous charm
INFO  integration.high_availability.test_upgrade_rollback_incompat:test_upgrade_rollback_incompat.py:127 Wait for upgrade to start
INFO  integration.high_availability.test_upgrade_rollback_incompat:test_upgrade_rollback_incompat.py:134 Wait for upgrade to complete on first upgrading unit
INFO  integration.high_availability.test_upgrade_rollback_incompat:test_upgrade_rollback_incompat.py:141 Resume upgrade
INFO  httpx:_client.py:1013 HTTP Request: GET https://10.1.0.106: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.106:16443/apis/apps/v1/namespaces/test/statefulsets/mysql-k8s "HTTP/1.1 200 OK"
INFO  integration.high_availability.test_upgrade_rollback_incompat:test_upgrade_rollback_incompat.py:154 Wait for application to recover
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:32:58Z

App Version Status Scale Charm Channel Rev Address Exposed Message
mysql-k8s 8.0.34-0ubuntu0.22.04.1 waiting 3 mysql-k8s 1 10.152.183.134 no waiting for units to settle down

Unit Workload Agent Address Ports Message
mysql-k8s/0* active executing 10.1.125.145
mysql-k8s/1 active executing 10.1.125.144
mysql-k8s/2 active executing 10.1.125.143

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

unit-mysql-k8s-2: 01:30:03 ERROR unit.mysql-k8s/2.juju-log Failed to flush [<MySQLTextLogs.ERROR: 'ERROR LOGS'>, <MySQLTextLogs.GENERAL: 'GENERAL LOGS'>, <MySQLTextLogs.SLOW: 'SLOW LOGS'>] logs.
Traceback (most recent call last):
File "/var/lib/juju/agents/unit-mysql-k8s-2/charm/src/mysql_k8s_helpers.py", line 602, in _run_mysqlsh_script
stdout, _ = process.wait_output()
File "/var/lib/juju/agents/unit-mysql-k8s-2/charm/venv/ops/pebble.py", line 1540, in wait_output
raise ExecError[AnyStr](self._command, exit_code, out_value, err_value)
ops.pebble.ExecError: non-zero exit code 1 executing ['/usr/bin/mysqlsh', '--no-wizard', '--python', '--verbose=1', '-f', '/tmp/script.py', ';', 'rm', '/tmp/script.py'], stdout='', stderr='Cannot set LC_ALL to locale en_US.UTF-8: No such file or directory\nverbose: 2024-05-16T01:30:01Z: Loading startup files...\nverbose: 2024-05-16T01:30:01Z: Loading plugins...\nverbose: 2024-05-16T01:30:01Z: Connecting to MySQL at: serverconfig@mysql-k8s-2.mysql-k8s-endpoints.test.svc.cluster.local\nTraceback (most recent call last):\n File "<string>", line 1, in <module>\nmysqlsh.DBError: MySQL Error (2013): Shell.connect: Lost connection to MySQL server at \'reading initial communication packet\', system error: 104\n'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/var/lib/juju/agents/unit-mysql-k8s-2/charm/lib/charms/mysql/v0/mysql.py", line 3089, in flush_mysql_logs
self._run_mysqlsh_script("\n".join(flush_logs_commands), timeout=50)
File "/var/lib/juju/agents/unit-mysql-k8s-2/charm/src/mysql_k8s_helpers.py", line 605, in _run_mysqlsh_script
raise MySQLClientError(e.stderr)
charms.mysql.v0.mysql.MySQLClientError: Cannot set LC_ALL to locale en_US.UTF-8: No such file or directory
verbose: 2024-05-16T01:30:01Z: Loading startup files...
verbose: 2024-05-16T01:30:01Z: Loading plugins...
verbose: 2024-05-16T01:30:01Z: Connecting to MySQL at: serverconfig@mysql-k8s-2.mysql-k8s-endpoints.test.svc.cluster.local
Traceback (most recent call last):
File "<string>", line 1, in <module>
mysqlsh.DBError: MySQL Error (2013): Shell.connect: Lost connection to MySQL server at 'reading initial communication packet', system error: 104

unit-mysql-k8s-2: 01:30:26 ERROR unit.mysql-k8s/2.juju-log Unit failed to rejoin the cluster after upgrade
unit-mysql-k8s-2: 01:30:26 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
60 changes: 60 additions & 0 deletions 1884/data/attachments/394f38585d34df77.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
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.62: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 [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 [executing] active:
mysql-k8s/1 [idle] active:
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
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:07Z

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

Unit Workload Agent Address Ports Message
mysql-k8s/0 active idle 10.1.194.75
mysql-k8s/1* active idle 10.1.194.83
mysql-k8s/2 active idle 10.1.194.76 Primary
mysql-test-app/0* active idle 10.1.194.78 Last written value=20225

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

unit-mysql-k8s-1: 01:35:54 ERROR unit.mysql-k8s/1.juju-log Cluster upgrade failed, ensure pre-upgrade checks are ran first.

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
44 changes: 44 additions & 0 deletions 1884/data/attachments/3fe098070bf2b871.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
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:
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 [allocating] waiting: installing agent
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:
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] active: Primary
db1/1 [idle] waiting: waiting to get cluster primary from peers
db1/2 [idle] waiting: waiting to get cluster primary from peers
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 [idle] active: Primary
db1/1 [executing] maintenance: joining the cluster
db1/2 [executing] active:
INFO  juju.model:model.py:2759 Waiting for model:
db2/0 [executing] active: Primary
db2/1 [idle] waiting: waiting to join the cluster
db2/2 [idle] maintenance: joining the cluster
INFO  juju.model:model.py:2759 Waiting for model:
db1/0 [idle] active: Primary
db1/1 [idle] active:
db1/2 [idle] active:
INFO  juju.model:model.py:2759 Waiting for model:
db2/0 [idle] active: Primary
db2/1 [idle] active:
db2/2 [idle] active:
7 changes: 7 additions & 0 deletions 1884/data/attachments/4070ce3b745994fc.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
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:208 Promoting standby cluster to primary
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
2 changes: 2 additions & 0 deletions 1884/data/attachments/43313262ccc24d58.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
Loading

0 comments on commit deb7448

Please sign in to comment.