Skip to content

Commit

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

Large diffs are not rendered by default.

10 changes: 10 additions & 0 deletions 1869/data/attachments/1015ab0adde75f49.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 [idle] active: Primary
mysql-k8s/1 [executing] waiting: waiting to join the cluster
mysql-k8s/2 [executing] maintenance: joining the cluster
INFO  juju.model:model.py:2759 Waiting for model:
mysql-k8s/0 [executing] active: Primary
mysql-k8s/1 [executing] active:
mysql-k8s/2 [executing] active:
1 change: 1 addition & 0 deletions 1869/data/attachments/1ada96c0cf0f6bfe.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
10 changes: 10 additions & 0 deletions 1869/data/attachments/23ae4faccd2fe6bf.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
5 changes: 5 additions & 0 deletions 1869/data/attachments/28a2dc34350b4c0d.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.175:16443/apis/apps/v1/namespaces/test/statefulsets/mysql-k8s "HTTP/1.1 200 OK"
104 changes: 104 additions & 0 deletions 1869/data/attachments/302250bf9cacdd70.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
INFO  integration.test_backups:test_backups.py:308 Deploying a new mysql cluster
INFO  juju.model:model.py:2069 Deploying local:jammy/mysql-k8s-1
INFO  juju.model:model.py:2759 Waiting for model:
another-mysql-k8s/0 [allocating] waiting: installing agent
INFO  juju.model:model.py:2759 Waiting for model:
another-mysql-k8s/0 [executing] maintenance: Initialising mysqld
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:
another-mysql-k8s/0 [idle] active: Primary
s3-integrator/0 [idle] active:
INFO  integration.test_backups:test_backups.py:327 Rotating all mysql credentials
INFO  integration.test_backups:test_backups.py:346 Syncing credentials for aws
INFO  juju.model:model.py:2759 Waiting for model:
another-mysql-k8s/0 [executing] active: Primary
s3-integrator/0 [idle] active:
INFO  integration.test_backups:test_backups.py:362 Restoring backup with id 2024-05-08T01:25:59Z
INFO  integration.test_backups:test_backups.py:369 Ensuring that the pre-backup inserted value exists in database, while post-backup inserted value does not
INFO  integration.test_backups:test_backups.py:383 Inserting value after restore from aws
INFO  integration.test_backups:test_backups.py:391 Ensuring that pre-backup and post-restore values exist in the database
INFO  integration.test_backups:test_backups.py:346 Syncing credentials for gcp
INFO  juju.model:model.py:2759 Waiting for model:
another-mysql-k8s/0 [executing] active:
s3-integrator/0 [idle] active:
INFO  integration.test_backups:test_backups.py:362 Restoring backup with id 2024-05-08T01:26:29Z
INFO  integration.test_backups:test_backups.py:369 Ensuring that the pre-backup inserted value exists in database, while post-backup inserted value does not
INFO  integration.test_backups:test_backups.py:383 Inserting value after restore from gcp
INFO  integration.test_backups:test_backups.py:391 Ensuring that pre-backup and post-restore values exist in the database
INFO  integration.test_backups:test_backups.py:346 Syncing credentials for ceph
INFO  juju.model:model.py:2759 Waiting for model:
another-mysql-k8s/0 [executing] active:
s3-integrator/0 [idle] active:
INFO  integration.test_backups:test_backups.py:362 Restoring backup with id 2024-05-08T01:27:17Z
INFO  integration.test_backups:test_backups.py:369 Ensuring that the pre-backup inserted value exists in database, while post-backup inserted value does not
INFO  integration.test_backups:test_backups.py:383 Inserting value after restore from ceph
INFO  integration.test_backups:test_backups.py:391 Ensuring that pre-backup and post-restore values exist in the database
INFO  integration.test_backups:test_backups.py:401 Scaling mysql application to 3 units
INFO  juju.model:model.py:2759 Waiting for model:
another-mysql-k8s (waiting for exactly 3 units, current : 1)
INFO  juju.model:model.py:2759 Waiting for model:
another-mysql-k8s/0 [executing] active: Primary
another-mysql-k8s/2 [executing] maintenance: Initialising mysqld
another-mysql-k8s/1 [executing] maintenance: Initialising mysqld
INFO  juju.model:model.py:2759 Waiting for model:
another-mysql-k8s/0 [executing] active: Primary
another-mysql-k8s/2 [executing] active:
another-mysql-k8s/1 [executing] waiting: waiting to join the cluster
INFO  juju.model:model.py:2759 Waiting for model:
another-mysql-k8s/0 [idle] active: Primary
another-mysql-k8s/2 [idle] active:
another-mysql-k8s/1 [idle] active:
INFO  integration.test_backups:test_backups.py:404 Ensuring inserted values before backup and after restore exist on all units
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:37:42Z

App Version Status Scale Charm Channel Rev Address Exposed Message
another-mysql-k8s 8.0.36-0ubuntu0.22.04.1 active 3 mysql-k8s 1 10.152.183.91 no
mysql-k8s 8.0.36-0ubuntu0.22.04.1 active 3 mysql-k8s 0 10.152.183.228 no
s3-integrator active 1 s3-integrator stable 17 10.152.183.105 no

Unit Workload Agent Address Ports Message
another-mysql-k8s/0* active idle 10.1.60.208 Primary
another-mysql-k8s/1 active idle 10.1.60.212
another-mysql-k8s/2 active idle 10.1.60.211
mysql-k8s/0* active idle 10.1.60.201 Primary
mysql-k8s/1 active idle 10.1.60.206
mysql-k8s/2 active idle 10.1.60.205
s3-integrator/0* active idle 10.1.60.202

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
INFO  integration.test_backups:test_backups.py:98 Cleaning backups from cloud buckets
ERROR  asyncio:base_events.py:1758 Task was destroyed but it is pending!
task: <Task pending name='Task_Pinger' coro=<Connection._pinger() running at /home/runner/work/mysql-k8s-operator/mysql-k8s-operator/.tox/integration/lib/python3.10/site-packages/juju/client/connection.py:613> wait_for=<Future pending cb=[Task.task_wakeup()]> cb=[gather.<locals>._done_callback() at /usr/lib/python3.10/asyncio/tasks.py:720, gather.<locals>._done_callback() at /usr/lib/python3.10/asyncio/tasks.py:720]>
ERROR  asyncio:base_events.py:1758 Task was destroyed but it is pending!
task: <Task pending name='Task_Receiver' coro=<Connection._receiver() running at /home/runner/work/mysql-k8s-operator/mysql-k8s-operator/.tox/integration/lib/python3.10/site-packages/juju/client/connection.py:570> wait_for=<Future finished result=None> cb=[gather.<locals>._done_callback() at /usr/lib/python3.10/asyncio/tasks.py:720, gather.<locals>._done_callback() at /usr/lib/python3.10/asyncio/tasks.py:720]>
ERROR  asyncio:base_events.py:1758 Task was destroyed but it is pending!
task: <Task pending name='Task-8315' coro=<Event.wait() running at /usr/lib/python3.10/asyncio/locks.py:214> wait_for=<Future pending cb=[Task.task_wakeup()]> cb=[gather.<locals>._done_callback() at /usr/lib/python3.10/asyncio/tasks.py:720, gather.<locals>._done_callback() at /usr/lib/python3.10/asyncio/tasks.py:720]>
ERROR  asyncio:base_events.py:1758 Task was destroyed but it is pending!
task: <Task pending name='Task-8361' coro=<Connection._pinger.<locals>._do_ping() running at /home/runner/work/mysql-k8s-operator/mysql-k8s-operator/.tox/integration/lib/python3.10/site-packages/juju/client/connection.py:606> wait_for=<Future pending cb=[Task.task_wakeup()]> cb=[create_task_with_handler.<locals>._task_result_exp_handler(task_name='tmp', logger=<Logger juju....ection (INFO)>)() at /home/runner/work/mysql-k8s-operator/mysql-k8s-operator/.tox/integration/lib/python3.10/site-packages/juju/jasyncio.py:39]>
ERROR  asyncio:base_events.py:1758 Task was destroyed but it is pending!
task: <Task pending name='Task-8362' coro=<Event.wait() running at /usr/lib/python3.10/asyncio/locks.py:214> wait_for=<Future pending cb=[Task.task_wakeup()]>>
7 changes: 7 additions & 0 deletions 1869/data/attachments/382a24a8dbb3576.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
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:
mysql-k8s/1 [idle] active: Primary
mysql-k8s/2 [idle] active:
mysql-test-app/0 [idle] waiting:
mysql-test-app/1 [executing] waiting:
40 changes: 40 additions & 0 deletions 1869/data/attachments/41a3199cc506f3c5.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/0 [allocating] waiting: installing agent
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:
db2/0 [executing] maintenance: Initialising mysqld
db2/1 [executing] waiting: waiting to get cluster primary from peers
db2/2 [executing] waiting: Waiting for instance to join the cluster
INFO  juju.model:model.py:2759 Waiting for model:
db1/0 [idle] maintenance: joining the cluster
db1/1 [executing] active: Primary
db1/2 [idle] waiting: waiting to get cluster primary from peers
INFO  juju.model:model.py:2759 Waiting for model:
db2/0 [executing] active: Primary
db2/1 [executing] active:
db2/2 [executing] maintenance: joining the cluster
INFO  juju.model:model.py:2759 Waiting for model:
db1/0 [executing] active:
db1/1 [idle] active: Primary
db1/2 [executing] 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:
6 changes: 6 additions & 0 deletions 1869/data/attachments/427f8c715d25ecf8.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_self_healing:test_self_healing.py:124 Ensuring that all units continuous writes incrementing
INFO  integration.high_availability.test_self_healing:test_self_healing.py:135 Sending SIGSTOP to unit mysql-k8s/2
INFO  integration.high_availability.test_self_healing:test_self_healing.py:158 Waiting for new primary to be elected
INFO  integration.high_availability.conftest:conftest.py:33 Clearing continuous writes
15 changes: 15 additions & 0 deletions 1869/data/attachments/44e8033d47514d9e.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
INFO  pytest_microceph._plugin:_plugin.py:22 Setting up microceph
INFO  pytest_microceph._plugin:_plugin.py:45 Creating microceph bucket
INFO  pytest_microceph._plugin:_plugin.py:52 Set up microceph
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
INFO  juju.model:model.py:2759 Waiting for model:
mysql-k8s/0 [executing] maintenance: Initialising mysqld
INFO  integration.test_backups:test_backups.py:127 Rotating all mysql credentials
INFO  integration.test_backups:test_backups.py:133 Deploying s3 integrator and tls operator
INFO  juju.model:model.py:2069 Deploying ch:amd64/jammy/s3-integrator-17
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:
s3-integrator/0 [allocating] waiting: installing agent
2 changes: 2 additions & 0 deletions 1869/data/attachments/44eca61f4a6cd48f.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
INFO  integration.high_availability.test_async_replication:test_async_replication.py:229 Freezing mysqld on primary cluster units
INFO  integration.high_availability.test_async_replication:test_async_replication.py:238 Promoting standby cluster to primary with force flag
28 changes: 28 additions & 0 deletions 1869/data/attachments/469bd080b23dce95.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
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  juju.model:model.py:2759 Waiting for model:
mysql-k8s/0 [idle] active: Primary
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
8 changes: 8 additions & 0 deletions 1869/data/attachments/46b96fe0d011aca.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
6 changes: 6 additions & 0 deletions 1869/data/attachments/4fef094583d041fe.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
Loading

0 comments on commit afc9da0

Please sign in to comment.