Skip to content

Commit

Permalink
Allure report #1701
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Mar 11, 2024
1 parent 333b786 commit b4eb054
Show file tree
Hide file tree
Showing 124 changed files with 1,774 additions and 2 deletions.
40 changes: 40 additions & 0 deletions 1701/app.js

Large diffs are not rendered by default.

26 changes: 26 additions & 0 deletions 1701/data/attachments/11464ea0ababf020.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] blocked: Missing parameters: ['access-key', 'secret-key']
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
1 change: 1 addition & 0 deletions 1701/data/attachments/124af281e06b571f.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
38 changes: 38 additions & 0 deletions 1701/data/attachments/175cfe972f4c1a37.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
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:29:02Z

App Version Status Scale Charm Channel Rev Address Exposed Message
mysql-k8s 8.0.34-0ubuntu0.22.04.1 waiting 3 mysql-k8s 8.0/stable 113 10.152.183.186 no installing agent
test-app 0.0.2 waiting 1 mysql-test-app latest/edge 33 10.152.183.40 no installing agent

Unit Workload Agent Address Ports Message
mysql-k8s/0 maintenance executing 10.1.110.140 joining the cluster
mysql-k8s/1* blocked executing 10.1.110.141 Permission to create k8s services denied. `juju trust`
mysql-k8s/2 waiting executing 10.1.110.142 waiting to get cluster primary from peers
test-app/0* waiting idle 10.1.110.136

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
27 changes: 27 additions & 0 deletions 1701/data/attachments/1a74b26f992fc9f4.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 [executing] active: Primary
mysql-k8s/1 [executing] waiting: waiting to join the cluster
mysql-k8s/2 [idle] maintenance: joining 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:
75 changes: 75 additions & 0 deletions 1701/data/attachments/2bea7fc71e7fb4a4.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
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.213: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.213: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:59Z

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.214 no waiting for units to settle down

Unit Workload Agent Address Ports Message
mysql-k8s/0 active executing 10.1.110.145
mysql-k8s/1 active executing 10.1.110.144
mysql-k8s/2* active executing 10.1.110.143

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

unit-mysql-k8s-2: 01:30:04 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 666, 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-03-11T01:30:01Z: Loading startup files...\nverbose: 2024-03-11T01:30:01Z: Loading plugins...\nverbose: 2024-03-11T01: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>\nValueError: Shell.connect: X protocol error: MySQL server has gone away\nClassic protocol error: MySQL Error 2013 (HY000): Lost connection to MySQL server at \'reading initial communication packet\', system error: 104\n\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 2532, in flush_mysql_logs
self._run_mysqlsh_script("\n".join(flush_logs_commands))
File "/var/lib/juju/agents/unit-mysql-k8s-2/charm/src/mysql_k8s_helpers.py", line 669, 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-03-11T01:30:01Z: Loading startup files...
verbose: 2024-03-11T01:30:01Z: Loading plugins...
verbose: 2024-03-11T01: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>
ValueError: Shell.connect: X protocol error: MySQL server has gone away
Classic protocol error: MySQL Error 2013 (HY000): Lost connection to MySQL server at 'reading initial communication packet', system error: 104


unit-mysql-k8s-2: 01:30:27 ERROR unit.mysql-k8s/2.juju-log Unit failed to rejoin the cluster after upgrade
unit-mysql-k8s-2: 01:30:27 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
21 changes: 21 additions & 0 deletions 1701/data/attachments/3af119db8e4a2d15.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
INFO  juju.model:model.py:2759 Waiting for model:
mysql-k8s (waiting for exactly 4 units, current : 3)
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-k8s/3 [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] active:
mysql-k8s/3 [idle] maintenance: joining 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:
mysql-k8s/3 [idle] active:
INFO  juju.model:model.py:2759 Waiting for model:
mysql-k8s (waiting for exactly 3 units, current : 4)
INFO  juju.model:model.py:2759 Waiting for model:
mysql-k8s (waiting for exactly 3 units, current : 4)
5 changes: 5 additions & 0 deletions 1701/data/attachments/3b5e0725f5f8d6db.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
INFO  integration.high_availability.test_upgrade:test_upgrade.py:75 Get leader unit
INFO  integration.high_availability.test_upgrade:test_upgrade.py:79 Run pre-upgrade-check action
INFO  integration.high_availability.test_upgrade:test_upgrade.py:82 Assert slow shutdown is enabled
INFO  integration.high_availability.test_upgrade:test_upgrade.py:91 Assert partition is set to 2
INFO  httpx:_client.py:1013 HTTP Request: GET https://10.1.0.34:16443/apis/apps/v1/namespaces/test/statefulsets/mysql-k8s "HTTP/1.1 200 OK"
18 changes: 18 additions & 0 deletions 1701/data/attachments/4a4cebbd791dcbf9.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] waiting: Waiting for leader election.
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] 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:
19 changes: 19 additions & 0 deletions 1701/data/attachments/4ab30852d5711faf.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
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 ch:amd64/jammy/mysql-k8s-113
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 [executing] waiting:
INFO  juju.model:model.py:2759 Waiting for model:
mysql-k8s/0 [executing] maintenance: joining the cluster
mysql-k8s/1 [executing] active: Primary
mysql-k8s/2 [executing] waiting: waiting to get cluster primary from peers
test-app/0 [idle] waiting:
12 changes: 12 additions & 0 deletions 1701/data/attachments/58b85d1bb4d92869.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
INFO  integration.test_charm:test_charm.py:335 Checking that max_connections is set to 100 on mysql-k8s/0
INFO  integration.test_charm:test_charm.py:335 Checking that innodb_buffer_pool_size is set to 20971520 on mysql-k8s/0
INFO  integration.test_charm:test_charm.py:335 Checking that innodb_buffer_pool_chunk_size is set to 1048576 on mysql-k8s/0
INFO  integration.test_charm:test_charm.py:335 Checking that group_replication_message_cache_size is set to 134217728 on mysql-k8s/0
INFO  integration.test_charm:test_charm.py:335 Checking that max_connections is set to 100 on mysql-k8s/1
INFO  integration.test_charm:test_charm.py:335 Checking that innodb_buffer_pool_size is set to 20971520 on mysql-k8s/1
INFO  integration.test_charm:test_charm.py:335 Checking that innodb_buffer_pool_chunk_size is set to 1048576 on mysql-k8s/1
INFO  integration.test_charm:test_charm.py:335 Checking that group_replication_message_cache_size is set to 134217728 on mysql-k8s/1
INFO  integration.test_charm:test_charm.py:335 Checking that max_connections is set to 100 on mysql-k8s/2
INFO  integration.test_charm:test_charm.py:335 Checking that innodb_buffer_pool_size is set to 20971520 on mysql-k8s/2
INFO  integration.test_charm:test_charm.py:335 Checking that innodb_buffer_pool_chunk_size is set to 1048576 on mysql-k8s/2
INFO  integration.test_charm:test_charm.py:335 Checking that group_replication_message_cache_size is set to 134217728 on mysql-k8s/2
1 change: 1 addition & 0 deletions 1701/data/attachments/5c3b2f36c24d9e87.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
8 changes: 8 additions & 0 deletions 1701/data/attachments/64565f7c1846d4bb.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
INFO  integration.test_tls:test_tls.py:120 Deploy TLS operator
INFO  juju.model:model.py:2069 Deploying ch:amd64/jammy/self-signed-certificates-72
INFO  juju.model:model.py:2759 Waiting for model:
self-signed-certificates/0 [allocating] waiting: installing agent
INFO  integration.test_tls:test_tls.py:126 Relate to TLS operator
WARNING  juju.model:model.py:1558 relate is deprecated and will be removed. Use integrate instead.
INFO  integration.test_tls:test_tls.py:133 Asserting connections after relation
INFO  integration.test_tls:test_tls.py:146 Assert TLS file exists
Loading

0 comments on commit b4eb054

Please sign in to comment.