Skip to content

Commit

Permalink
Allure report 2539
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jan 3, 2025
1 parent e8cda28 commit 505404a
Show file tree
Hide file tree
Showing 254 changed files with 3,494 additions and 2 deletions.
2 changes: 2 additions & 0 deletions 2539/app.js

Large diffs are not rendered by default.

98 changes: 98 additions & 0 deletions 2539/data/attachments/10b8b0360d9f4d7.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
INFO  pytest_operator.plugin:plugin.py:675 Connecting to existing model microk8s-localhost:test on unspecified cloud
INFO  integration.high_availability.test_k8s_endpoints:test_k8s_endpoints.py:31 Deploying first mysql cluster
INFO  juju.model:model.py:2284 Deploying local:mysql-k8s-0
INFO  juju.model:model.py:3211 Waiting for model:
mysql1/0 [allocating] waiting: installing agent
mysql1/1 [allocating] waiting: installing agent
INFO  juju.model:model.py:3211 Waiting for model:
mysql1/0 [executing] maintenance: installing charm software
mysql1/1 [executing] maintenance: installing charm software
mysql1/2 [executing] maintenance: installing charm software
INFO  juju.model:model.py:3211 Waiting for model:
mysql1/0 [executing] active: Primary
mysql1/1 [executing] waiting: waiting to get cluster primary from peers
mysql1/2 [idle] waiting: waiting to get cluster primary from peers
INFO  juju.model:model.py:3211 Waiting for model:
mysql1/0 [executing] active: Primary
mysql1/1 [idle] maintenance: joining the cluster
mysql1/2 [executing] active:
INFO  juju.model:model.py:3211 Waiting for model:
mysql1/0 [idle] active: Primary
INFO  integration.high_availability.test_k8s_endpoints:test_k8s_endpoints.py:39 Deploying and relating test app with cluster
INFO  juju.model:model.py:2284 Deploying ch:amd64/jammy/mysql-test-app-63
INFO  juju.model:model.py:3211 Waiting for model:
mysql-test-app1/0 [allocating] waiting: installing agent
WARNING  juju.model:model.py:1666 relate is deprecated and will be removed. Use integrate instead.
INFO  juju.model:model.py:3211 Waiting for model:
mysql1/0 [idle] active: Primary
mysql1/1 [idle] active:
mysql1/2 [idle] active:
mysql-test-app1/0 [idle] waiting:
INFO  integration.high_availability.test_k8s_endpoints:test_k8s_endpoints.py:52 Deploying second mysql application with same cluster name
INFO  juju.model:model.py:2284 Deploying local:mysql-k8s-1
INFO  juju.model:model.py:3211 Waiting for model:
mysql2/0 [allocating] waiting: installing agent
mysql2/1 [allocating] waiting: installing agent
mysql2/2 [allocating] waiting: installing agent
INFO  juju.model:model.py:3211 Waiting for model:
mysql2/0 [executing] maintenance: installing charm software
mysql2/1 [executing] maintenance: installing charm software
mysql2/2 [executing] maintenance: installing charm software
INFO  juju.model:model.py:3211 Waiting for model:
mysql2/0 [executing] waiting: waiting to get cluster primary from peers
mysql2/1 [executing] active: Primary
mysql2/2 [executing] waiting: waiting to get cluster primary from peers
INFO  juju.model:model.py:3211 Waiting for model:
mysql2/0 [executing] active:
mysql2/1 [executing] active: Primary
mysql2/2 [executing] waiting: waiting to join the cluster
INFO  juju.model:model.py:3211 Waiting for model:
mysql2/0 [idle] active:
mysql2/1 [idle] active: Primary
mysql2/2 [idle] active:
INFO  integration.high_availability.test_k8s_endpoints:test_k8s_endpoints.py:60 Deploying and relating another test app with second cluster
INFO  juju.model:model.py:2284 Deploying ch:amd64/jammy/mysql-test-app-63
INFO  juju.model:model.py:3211 Waiting for model:
mysql-test-app2/0 [allocating] waiting: installing agent
INFO  juju.model:model.py:3211 Waiting for model:
mysql-test-app2/0 [idle] waiting:
WARNING  juju.model:model.py:1666 relate is deprecated and will be removed. Use integrate instead.
INFO  juju.model:model.py:3211 Waiting for model:
mysql2/0 [idle] active:
mysql2/1 [idle] active: Primary
mysql2/2 [idle] active:
mysql-test-app2/0 [executing] waiting:
INFO  juju.model:model.py:3211 Waiting for model:
mysql2/0 [idle] active:
mysql2/1 [idle] active: Primary
mysql2/2 [idle] active:
INFO  integration.high_availability.test_k8s_endpoints:test_k8s_endpoints.py:73 Ensuring that the created k8s endpoints have correct addresses
INFO  httpx:_client.py:1026 HTTP Request: GET https://10.1.0.87:16443/api/v1/namespaces/test/endpoints/mysql1-primary "HTTP/1.1 200 OK"
INFO  httpx:_client.py:1026 HTTP Request: GET https://10.1.0.87:16443/api/v1/namespaces/test/endpoints/mysql1-replicas "HTTP/1.1 200 OK"
INFO  httpx:_client.py:1026 HTTP Request: GET https://10.1.0.87:16443/api/v1/namespaces/test/endpoints/mysql2-primary "HTTP/1.1 200 OK"
INFO  httpx:_client.py:1026 HTTP Request: GET https://10.1.0.87:16443/api/v1/namespaces/test/endpoints/mysql2-replicas "HTTP/1.1 200 OK"
INFO  pytest_operator.plugin:plugin.py:790 Model status:

Model Controller Cloud/Region Version SLA Timestamp
test microk8s-localhost microk8s/localhost 3.6.1 unsupported 01:35:21Z

App Version Status Scale Charm Channel Rev Address Exposed Message
mysql1 8.0.39-0ubuntu0.22.04.1 active 3 mysql-k8s 0 10.152.183.210 no
mysql2 8.0.39-0ubuntu0.22.04.1 active 3 mysql-k8s 1 10.152.183.142 no
mysql-test-app1 0.0.2 active 1 mysql-test-app latest/edge 63 10.152.183.62 no Last written value=10093
mysql-test-app2 0.0.2 active 1 mysql-test-app latest/edge 63 10.152.183.26 no

Unit Workload Agent Address Ports Message
mysql1/0* active idle 10.1.160.11 Primary
mysql1/1 active idle 10.1.160.12
mysql1/2 active idle 10.1.160.13
mysql2/0 active idle 10.1.160.18
mysql2/1* active idle 10.1.160.19 Primary
mysql2/2 active idle 10.1.160.20
mysql-test-app1/0* active idle 10.1.160.14 Last written value=10093
mysql-test-app2/0* active idle 10.1.160.21

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


INFO  pytest_operator.plugin:plugin.py:862 Forgetting main...
122 changes: 122 additions & 0 deletions 2539/data/attachments/120d4adf5cefb68.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,122 @@
INFO  pytest_operator.plugin:plugin.py:675 Connecting to existing model microk8s-localhost:test on unspecified cloud
INFO  integration.high_availability.conftest:conftest.py:68 Deploying mysql-k8s and scaling to 3 units
INFO  juju.model:model.py:2284 Deploying local:mysql-k8s-0
INFO  juju.model:model.py:3211 Waiting for model:
mysql-k8s/0 [allocating] waiting: installing agent
mysql-k8s/1 [allocating] waiting: installing agent
INFO  juju.model:model.py:3211 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
INFO  juju.model:model.py:3211 Waiting for model:
mysql-k8s/0 [executing] waiting: waiting to get cluster primary from peers
mysql-k8s/1 [executing] waiting: waiting to get cluster primary from peers
mysql-k8s/2 [executing] active: Primary
INFO  juju.model:model.py:3211 Waiting for model:
mysql-k8s/0 [executing] active:
mysql-k8s/1 [executing] maintenance: joining the cluster
mysql-k8s/2 [executing] active: Primary
INFO  juju.model:model.py:3211 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:71 Deploying mysql-test-app
INFO  juju.model:model.py:2284 Deploying ch:amd64/jammy/mysql-test-app-63
INFO  juju.model:model.py:3211 Waiting for model:
mysql-test-app/0 [allocating] waiting: installing agent
INFO  integration.high_availability.conftest:conftest.py:74 Relating mysql-k8s with mysql-test-app
WARNING  juju.model:model.py:1666 relate is deprecated and will be removed. Use integrate instead.
INFO  juju.model:model.py:3211 Waiting for model:
mysql-k8s/0 [idle] active:
mysql-k8s/1 [idle] active:
mysql-k8s/2 [idle] active: Primary
mysql-test-app/0 [idle] waiting:
INFO  integration.high_availability.conftest:conftest.py:29 Clearing continuous writes
INFO  integration.high_availability.conftest:conftest.py:31 Starting continuous writes
INFO  integration.conftest:conftest.py:20 Getting credentials for the MySQL cluster
INFO  integration.high_availability.test_self_healing:test_self_healing.py:124 Ensuring that all units continuous writes incrementing
INFO  integration.high_availability.high_availability_helpers:high_availability_helpers.py:505 max_written_value=803 on unit mysql-k8s/0
INFO  integration.high_availability.high_availability_helpers:high_availability_helpers.py:505 max_written_value=806 on unit mysql-k8s/1
INFO  integration.high_availability.high_availability_helpers:high_availability_helpers.py:505 max_written_value=807 on unit mysql-k8s/2
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.test_self_healing:test_self_healing.py:172 Ensuring all remaining units continuous writes incrementing
INFO  integration.high_availability.high_availability_helpers:high_availability_helpers.py:505 max_written_value=1236 on unit mysql-k8s/0
INFO  integration.high_availability.high_availability_helpers:high_availability_helpers.py:505 max_written_value=1236 on unit mysql-k8s/0
INFO  integration.high_availability.high_availability_helpers:high_availability_helpers.py:505 max_written_value=1236 on unit mysql-k8s/0
INFO  integration.high_availability.high_availability_helpers:high_availability_helpers.py:505 max_written_value=1236 on unit mysql-k8s/0
INFO  integration.high_availability.high_availability_helpers:high_availability_helpers.py:505 max_written_value=1236 on unit mysql-k8s/0
INFO  integration.high_availability.high_availability_helpers:high_availability_helpers.py:505 max_written_value=1236 on unit mysql-k8s/0
INFO  integration.high_availability.high_availability_helpers:high_availability_helpers.py:505 max_written_value=1236 on unit mysql-k8s/0
INFO  integration.high_availability.high_availability_helpers:high_availability_helpers.py:505 max_written_value=1236 on unit mysql-k8s/0
INFO  integration.high_availability.high_availability_helpers:high_availability_helpers.py:505 max_written_value=1236 on unit mysql-k8s/0
INFO  integration.high_availability.high_availability_helpers:high_availability_helpers.py:505 max_written_value=1236 on unit mysql-k8s/0
INFO  integration.high_availability.high_availability_helpers:high_availability_helpers.py:505 max_written_value=1236 on unit mysql-k8s/0
INFO  integration.high_availability.high_availability_helpers:high_availability_helpers.py:505 max_written_value=1236 on unit mysql-k8s/0
INFO  integration.high_availability.high_availability_helpers:high_availability_helpers.py:505 max_written_value=1236 on unit mysql-k8s/0
INFO  integration.high_availability.high_availability_helpers:high_availability_helpers.py:505 max_written_value=1236 on unit mysql-k8s/0
INFO  integration.high_availability.high_availability_helpers:high_availability_helpers.py:505 max_written_value=1236 on unit mysql-k8s/0
INFO  integration.high_availability.high_availability_helpers:high_availability_helpers.py:505 max_written_value=1236 on unit mysql-k8s/0
INFO  integration.high_availability.high_availability_helpers:high_availability_helpers.py:505 max_written_value=1236 on unit mysql-k8s/0
INFO  integration.high_availability.high_availability_helpers:high_availability_helpers.py:505 max_written_value=1236 on unit mysql-k8s/0
INFO  integration.high_availability.high_availability_helpers:high_availability_helpers.py:505 max_written_value=1236 on unit mysql-k8s/0
INFO  integration.high_availability.high_availability_helpers:high_availability_helpers.py:505 max_written_value=1236 on unit mysql-k8s/0
INFO  integration.high_availability.high_availability_helpers:high_availability_helpers.py:505 max_written_value=1236 on unit mysql-k8s/0
INFO  integration.high_availability.high_availability_helpers:high_availability_helpers.py:505 max_written_value=1236 on unit mysql-k8s/0
INFO  integration.high_availability.high_availability_helpers:high_availability_helpers.py:505 max_written_value=1237 on unit mysql-k8s/0
INFO  integration.high_availability.high_availability_helpers:high_availability_helpers.py:505 max_written_value=1239 on unit mysql-k8s/1
INFO  integration.high_availability.test_self_healing:test_self_healing.py:181 Sending SIGCONT to mysql-k8s/2
INFO  juju.model:model.py:3211 Waiting for model:
mysql-k8s/0 [idle] active: Primary
mysql-k8s/1 [idle] active:
mysql-k8s/2 [idle] maintenance: Unable to get member state
INFO  juju.model:model.py:3211 Waiting for model:
mysql-k8s/0 [idle] active: Primary
mysql-k8s/1 [idle] active:
mysql-k8s/2 [idle] maintenance: Unable to get member state
INFO  juju.model:model.py:3211 Waiting for model:
mysql-k8s/0 [idle] active: Primary
mysql-k8s/1 [idle] active:
mysql-k8s/2 [idle] active:
INFO  integration.high_availability.test_self_healing:test_self_healing.py:224 Ensuring that there are 3 online mysql members
INFO  integration.high_availability.test_self_healing:test_self_healing.py:229 Ensure all units continuous writes incrementing
INFO  integration.high_availability.high_availability_helpers:high_availability_helpers.py:505 max_written_value=8867 on unit mysql-k8s/0
INFO  integration.high_availability.high_availability_helpers:high_availability_helpers.py:505 max_written_value=8870 on unit mysql-k8s/1
INFO  integration.high_availability.high_availability_helpers:high_availability_helpers.py:505 max_written_value=8873 on unit mysql-k8s/2
INFO  integration.high_availability.conftest:conftest.py:36 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.6.1 unsupported 01:38:46Z

App Version Status Scale Charm Channel Rev Address Exposed Message
mysql-k8s 8.0.39-0ubuntu0.22.04.1 active 3 mysql-k8s 0 10.152.183.192 no
mysql-test-app 0.0.2 active 1 mysql-test-app latest/edge 63 10.152.183.82 no Last written value=6917

Unit Workload Agent Address Ports Message
mysql-k8s/0 active idle 10.1.5.140 Primary
mysql-k8s/1 active idle 10.1.5.141
mysql-k8s/2* active idle 10.1.5.139
mysql-test-app/0* active idle 10.1.5.142 Last written value=6917

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

unit-mysql-k8s-0: 01:32:23 ERROR unit.mysql-k8s/0.juju-log Failed to get cluster status for test_cluster
unit-mysql-k8s-2: 01:36:11 ERROR unit.mysql-k8s/2.juju-log Failed to get member state: mysqld daemon is down
unit-mysql-k8s-2: 01:36:31 ERROR unit.mysql-k8s/2.juju-log Failed to get member state: mysqld daemon is down
unit-mysql-k8s-2: 01:36:51 ERROR unit.mysql-k8s/2.juju-log Failed to get member state: mysqld daemon is down
unit-mysql-k8s-2: 01:36:51 ERROR unit.mysql-k8s/2.juju-log Error getting member state while checking if cluster is blocked
unit-mysql-k8s-2: 01:37:01 ERROR unit.mysql-k8s/2.juju-log Failed to get member state: mysqld daemon is down
unit-mysql-k8s-2: 01:37:21 ERROR unit.mysql-k8s/2.juju-log Failed to get member state: mysqld daemon is down
unit-mysql-k8s-2: 01:37:32 ERROR unit.mysql-k8s/2.juju-log Failed to get cluster status for test_cluster
unit-mysql-k8s-2: 01:37:32 ERROR unit.mysql-k8s/2.juju-log Failed to get cluster endpoints
Traceback (most recent call last):
File "/var/lib/juju/agents/unit-mysql-k8s-2/charm/src/mysql_k8s_helpers.py", line 792, in update_endpoints
rw_endpoints, ro_endpoints, offline = self.get_cluster_endpoints(get_ips=False)
File "/var/lib/juju/agents/unit-mysql-k8s-2/charm/lib/charms/tempo_coordinator_k8s/v0/charm_tracing.py", line 734, in wrapped_function
return callable(*args, **kwargs) # type: ignore
File "/var/lib/juju/agents/unit-mysql-k8s-2/charm/lib/charms/mysql/v0/mysql.py", line 1954, 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...
27 changes: 27 additions & 0 deletions 2539/data/attachments/17e260ca562dd5a3.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
INFO  integration.conftest:conftest.py:20 Getting credentials for the MySQL cluster
INFO  integration.test_backup_ceph:test_backup_ceph.py:190 Syncing credentials
INFO  juju.model:model.py:3211 Waiting for model:
mysql-k8s/0 [idle] active: Primary
s3-integrator/0 [idle] active:
INFO  juju.model:model.py:3211 Waiting for model:
mysql-k8s/0 [idle] active: Primary
INFO  integration.test_backup_ceph:test_backup_ceph.py:206 Restoring backup_id='2025-01-03T01:32:28Z'
INFO  integration.test_backup_ceph:test_backup_ceph.py:211 Ensuring that the pre-backup inserted value exists in database, while post-backup inserted value does not
INFO  integration.test_backup_ceph:test_backup_ceph.py:225 Inserting value after restore
INFO  integration.test_backup_ceph:test_backup_ceph.py:233 Ensuring that pre-backup and post-restore values exist in the database
INFO  integration.test_backup_ceph:test_backup_ceph.py:244 Scaling mysql application to 3 units
INFO  juju.model:model.py:3211 Waiting for model:
mysql-k8s (waiting for exactly 3 units, current : 1)
INFO  juju.model:model.py:3211 Waiting for model:
mysql-k8s/0 [executing] active: Primary
mysql-k8s/2 [executing] maintenance: Initialising mysqld
mysql-k8s/1 [executing] maintenance: Initialising mysqld
INFO  juju.model:model.py:3211 Waiting for model:
mysql-k8s/0 [idle] active: Primary
mysql-k8s/2 [idle] maintenance: joining the cluster
mysql-k8s/1 [executing] waiting: waiting to get cluster primary from peers
INFO  juju.model:model.py:3211 Waiting for model:
mysql-k8s/0 [idle] active: Primary
mysql-k8s/2 [idle] active:
mysql-k8s/1 [executing] maintenance: joining the cluster
INFO  integration.test_backup_ceph:test_backup_ceph.py:247 Ensuring inserted values before backup and after restore exist on all units
Loading

0 comments on commit 505404a

Please sign in to comment.