Skip to content

Commit

Permalink
Allure report canonical#205
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Aug 13, 2024
1 parent 5bda8c7 commit f7d0d3c
Show file tree
Hide file tree
Showing 77 changed files with 1,390 additions and 2 deletions.
2 changes: 2 additions & 0 deletions 205/app.js

Large diffs are not rendered by default.

48 changes: 48 additions & 0 deletions 205/data/attachments/2c00eecca071592b.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
INFO  pytest_operator.plugin:plugin.py:675 Connecting to existing model microk8s-localhost:test on unspecified cloud
WARNING  juju.client.connection:connection.py:927 unexpected facade UserSecretsDrain received from the controller
WARNING  juju.client.connection:connection.py:927 unexpected facade UserSecretsManager received from the controller
INFO  integration.test_charm:test_charm.py:48 Deploying mysql, mysqlrouter and application
INFO  juju.model:model.py:2069 Deploying local:jammy/mysql-router-k8s-0
INFO  juju.model:model.py:2069 Deploying ch:amd64/jammy/mysql-test-app-46
INFO  juju.model:model.py:2069 Deploying ch:amd64/jammy/mysql-k8s-171
INFO  integration.test_charm:test_charm.py:79 Waiting for mysqlrouter to be in BlockedStatus
INFO  pytest_operator.plugin:plugin.py:790 Model status:

Model Controller Cloud/Region Version SLA Timestamp
test microk8s-localhost microk8s/localhost 3.4.3 unsupported 02:36:42Z

App Version Status Scale Charm Channel Rev Address Exposed Message
mysql-k8s 8.0.37-0ubuntu0.22.04.3 active 3 mysql-k8s 8.0/edge 171 10.152.183.120 no
mysql-router-k8s waiting 1 mysql-router-k8s 0 10.152.183.89 no installing agent
mysql-test-app 0.0.2 waiting 1 mysql-test-app latest/edge 46 10.152.183.76 no installing agent

Unit Workload Agent Address Ports Message
mysql-k8s/0 active idle 10.1.61.13
mysql-k8s/1 active idle 10.1.61.14
mysql-k8s/2* active idle 10.1.61.15 Primary
mysql-router-k8s/0* unknown idle 10.1.61.8
mysql-test-app/0* waiting idle 10.1.61.9

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-router-k8s-operator/mysql-router-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-router-k8s-operator/mysql-router-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-router-k8s-operator/mysql-router-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-router-k8s-operator/mysql-router-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-router-k8s-operator/mysql-router-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
71 changes: 71 additions & 0 deletions 205/data/attachments/510ddcc8055f3754.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
INFO  pytest_operator.plugin:plugin.py:675 Connecting to existing model microk8s-localhost:test on unspecified cloud
WARNING  juju.client.connection:connection.py:927 unexpected facade UserSecretsDrain received from the controller
WARNING  juju.client.connection:connection.py:927 unexpected facade UserSecretsManager received from the controller
INFO  integration.test_tls:test_tls.py:47 Deploy and relate all applications
INFO  juju.model:model.py:2069 Deploying ch:amd64/jammy/mysql-k8s-171
INFO  juju.model:model.py:2069 Deploying local:jammy/mysql-router-k8s-0
INFO  juju.model:model.py:2069 Deploying ch:amd64/jammy/mysql-test-app-46
INFO  juju.model:model.py:2069 Deploying ch:amd64/jammy/self-signed-certificates-155
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.
INFO  integration.test_tls:test_tls.py:95 Waiting for applications to become active
INFO  juju.model:model.py:2759 Waiting for model:
mysql-test-app/0 [allocating] waiting: installing agent
INFO  juju.model:model.py:2759 Waiting for model:
mysql-test-app/0 [idle] waiting:
INFO  juju.model:model.py:2759 Waiting for model:
mysql-test-app/0 [idle] waiting:
INFO  juju.model:model.py:2759 Waiting for model:
mysql-test-app/0 [idle] waiting:
INFO  juju.model:model.py:2759 Waiting for model:
mysql-test-app/0 [idle] waiting:
INFO  juju.model:model.py:2759 Waiting for model:
mysql-test-app/0 [idle] waiting:
INFO  juju.model:model.py:2759 Waiting for model:
mysql-test-app/0 [idle] waiting:
INFO  juju.model:model.py:2759 Waiting for model:
mysql-test-app/0 [idle] waiting:
INFO  juju.model:model.py:2759 Waiting for model:
mysql-test-app/0 [idle] waiting:
INFO  juju.model:model.py:2759 Waiting for model:
mysql-test-app/0 [idle] waiting:
INFO  juju.model:model.py:2759 Waiting for model:
mysql-test-app/0 [idle] waiting:
INFO  juju.model:model.py:2759 Waiting for model:
mysql-test-app/0 [idle] waiting:
INFO  juju.model:model.py:2759 Waiting for model:
mysql-test-app/0 [idle] waiting:
INFO  juju.model:model.py:2759 Waiting for model:
mysql-test-app/0 [idle] waiting:
INFO  juju.model:model.py:2759 Waiting for model:
mysql-test-app/0 [idle] waiting:
INFO  juju.model:model.py:2759 Waiting for model:
mysql-test-app/0 [idle] waiting:
INFO  juju.model:model.py:2759 Waiting for model:
mysql-test-app/0 [idle] waiting:
INFO  juju.model:model.py:2759 Waiting for model:
mysql-test-app/0 [idle] waiting:
INFO  juju.model:model.py:2759 Waiting for model:
mysql-test-app/0 [idle] waiting:
INFO  juju.model:model.py:2759 Waiting for model:
mysql-test-app/0 [idle] waiting:
INFO  juju.model:model.py:2759 Waiting for model:
mysql-test-app/0 [idle] waiting:
INFO  juju.model:model.py:2759 Waiting for model:
mysql-test-app/0 [idle] waiting:
INFO  juju.model:model.py:2759 Waiting for model:
mysql-test-app/0 [idle] waiting:
INFO  juju.model:model.py:2759 Waiting for model:
mysql-test-app/0 [idle] waiting:
INFO  juju.model:model.py:2759 Waiting for model:
mysql-test-app/0 [idle] waiting:
INFO  juju.model:model.py:2759 Waiting for model:
mysql-test-app/0 [idle] waiting:
INFO  juju.model:model.py:2759 Waiting for model:
mysql-test-app/0 [idle] waiting:
INFO  juju.model:model.py:2759 Waiting for model:
mysql-test-app/0 [idle] waiting:
INFO  juju.model:model.py:2759 Waiting for model:
mysql-test-app/0 [idle] waiting:
INFO  juju.model:model.py:2759 Waiting for model:
mysql-test-app/0 [idle] waiting:
80 changes: 80 additions & 0 deletions 205/data/attachments/52335b588c76d7af.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
INFO  pytest_operator.plugin:plugin.py:790 Model status:

Model Controller Cloud/Region Version SLA Timestamp
test microk8s-localhost microk8s/localhost 3.4.3 unsupported 02:36:58Z

App Version Status Scale Charm Channel Rev Address Exposed Message
mysql-k8s 8.0.37-0ubuntu0.22.04.3 active 1 mysql-k8s 8.0/edge 171 10.152.183.46 no
mysql-router-k8s waiting 1 mysql-router-k8s 0 10.152.183.78 no installing agent
mysql-test-app 0.0.2 waiting 1 mysql-test-app latest/edge 46 10.152.183.111 no installing agent
self-signed-certificates active 1 self-signed-certificates latest/stable 155 10.152.183.196 no

Unit Workload Agent Address Ports Message
mysql-k8s/0* active idle 10.1.154.76 Primary
mysql-router-k8s/0* unknown idle 10.1.154.72
mysql-test-app/0* waiting idle 10.1.154.74
self-signed-certificates/0* active idle 10.1.154.75

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

unit-mysql-k8s-0: 02:22:34 ERROR unit.mysql-k8s/0.juju-log Uncaught exception while in charm code:
Traceback (most recent call last):
File "/var/lib/juju/agents/unit-mysql-k8s-0/charm/./src/charm.py", line 866, in <module>
main(MySQLOperatorCharm)
File "/var/lib/juju/agents/unit-mysql-k8s-0/charm/venv/ops/main.py", line 551, in main
manager.run()
File "/var/lib/juju/agents/unit-mysql-k8s-0/charm/venv/ops/main.py", line 530, in run
self._emit()
File "/var/lib/juju/agents/unit-mysql-k8s-0/charm/venv/ops/main.py", line 519, in _emit
_emit_charm_event(self.charm, self.dispatcher.event_name)
File "/var/lib/juju/agents/unit-mysql-k8s-0/charm/venv/ops/main.py", line 147, in _emit_charm_event
event_to_emit.emit(*args, **kwargs)
File "/var/lib/juju/agents/unit-mysql-k8s-0/charm/venv/ops/framework.py", line 348, in emit
framework._emit(event)
File "/var/lib/juju/agents/unit-mysql-k8s-0/charm/venv/ops/framework.py", line 860, in _emit
self._reemit(event_path)
File "/var/lib/juju/agents/unit-mysql-k8s-0/charm/venv/ops/framework.py", line 950, in _reemit
custom_handler(event)
File "/var/lib/juju/agents/unit-mysql-k8s-0/charm/lib/charms/tempo_k8s/v1/charm_tracing.py", line 647, in wrapped_function
return callable(*args, **kwargs) # type: ignore
File "/var/lib/juju/agents/unit-mysql-k8s-0/charm/src/relations/mysql_provider.py", line 211, in _configure_endpoints
if not relations or not self.charm.unit_initialized:
File "/var/lib/juju/agents/unit-mysql-k8s-0/charm/lib/charms/mysql/v0/mysql.py", line 634, in unit_initialized
return self._mysql.cluster_metadata_exists(self.get_unit_address(self.unit))
File "/var/lib/juju/agents/unit-mysql-k8s-0/charm/lib/charms/tempo_k8s/v1/charm_tracing.py", line 647, in wrapped_function
return callable(*args, **kwargs) # type: ignore
File "/var/lib/juju/agents/unit-mysql-k8s-0/charm/lib/charms/mysql/v0/mysql.py", line 1412, in cluster_metadata_exists
output = self._run_mysqlsh_script("\n".join(check_cluster_metadata_commands))
File "/var/lib/juju/agents/unit-mysql-k8s-0/charm/lib/charms/tempo_k8s/v1/charm_tracing.py", line 647, in wrapped_function
return callable(*args, **kwargs) # type: ignore
File "/var/lib/juju/agents/unit-mysql-k8s-0/charm/src/mysql_k8s_helpers.py", line 594, in _run_mysqlsh_script
self.container.push(path=MYSQLSH_SCRIPT_FILE, source=script)
File "/var/lib/juju/agents/unit-mysql-k8s-0/charm/venv/ops/model.py", line 2438, in push
self._pebble.push(
File "/var/lib/juju/agents/unit-mysql-k8s-0/charm/venv/ops/pebble.py", line 2494, in push
response = self._request_raw('POST', '/v1/files', None, headers, data)
File "/var/lib/juju/agents/unit-mysql-k8s-0/charm/venv/ops/pebble.py", line 2048, in _request_raw
raise ConnectionError(
ops.pebble.ConnectionError: Could not connect to Pebble: socket not found at '/charm/containers/mysql/pebble.socket' (container restarted?)
unit-mysql-k8s-0: 02:22:34 ERROR juju.worker.uniter.operation hook "leader-elected" (via hook dispatching script: dispatch) failed: exit status 1

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-router-k8s-operator/mysql-router-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-router-k8s-operator/mysql-router-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-router-k8s-operator/mysql-router-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-router-k8s-operator/mysql-router-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-router-k8s-operator/mysql-router-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
48 changes: 48 additions & 0 deletions 205/data/attachments/5feb8bb3e2c7e439.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
INFO  pytest_operator.plugin:plugin.py:675 Connecting to existing model microk8s-localhost:test on unspecified cloud
WARNING  juju.client.connection:connection.py:927 unexpected facade UserSecretsDrain received from the controller
WARNING  juju.client.connection:connection.py:927 unexpected facade UserSecretsManager received from the controller
INFO  integration.test_log_rotation:test_log_rotation.py:49 Deploying mysql, mysqlrouter and application
INFO  juju.model:model.py:2069 Deploying local:jammy/mysql-router-k8s-0
INFO  juju.model:model.py:2069 Deploying ch:amd64/jammy/mysql-test-app-46
INFO  juju.model:model.py:2069 Deploying ch:amd64/jammy/mysql-k8s-171
INFO  integration.test_log_rotation:test_log_rotation.py:80 Waiting for mysqlrouter to be in BlockedStatus
INFO  pytest_operator.plugin:plugin.py:790 Model status:

Model Controller Cloud/Region Version SLA Timestamp
test microk8s-localhost microk8s/localhost 3.4.3 unsupported 02:36:30Z

App Version Status Scale Charm Channel Rev Address Exposed Message
mysql-k8s 8.0.37-0ubuntu0.22.04.3 active 3 mysql-k8s 8.0/edge 171 10.152.183.203 no
mysql-router-k8s waiting 1 mysql-router-k8s 0 10.152.183.26 no installing agent
mysql-test-app 0.0.2 waiting 1 mysql-test-app latest/edge 46 10.152.183.188 no installing agent

Unit Workload Agent Address Ports Message
mysql-k8s/0 active idle 10.1.101.15
mysql-k8s/1* active idle 10.1.101.14 Primary
mysql-k8s/2 active idle 10.1.101.13
mysql-router-k8s/0* unknown idle 10.1.101.8
mysql-test-app/0* waiting idle 10.1.101.9

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-router-k8s-operator/mysql-router-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-router-k8s-operator/mysql-router-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-router-k8s-operator/mysql-router-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-router-k8s-operator/mysql-router-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-router-k8s-operator/mysql-router-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 f7d0d3c

Please sign in to comment.