Skip to content

Commit

Permalink
Allure report 3157
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Oct 15, 2024
1 parent 4424699 commit f47124e
Show file tree
Hide file tree
Showing 373 changed files with 6,284 additions and 2 deletions.
2 changes: 2 additions & 0 deletions 3157/app.js

Large diffs are not rendered by default.

66 changes: 66 additions & 0 deletions 3157/data/attachments/12ce8367718c11c2.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
INFO  juju.model:model.py:2098 Deploying local:jammy/postgresql-k8s-1
INFO  juju.model:model.py:2972 Waiting for model:
second-postgresql-k8s/0 [allocating] waiting: installing agent
second-postgresql-k8s/1 [allocating] waiting: installing agent
INFO  juju.model:model.py:2972 Waiting for model:
second-postgresql-k8s/0 [executing] waiting: awaiting for cluster to start
second-postgresql-k8s/1 [executing] maintenance: installing charm software
INFO  juju.model:model.py:2972 Waiting for model:
second-postgresql-k8s/0 [executing] waiting: awaiting for primary endpoint to be ready
second-postgresql-k8s/1 [idle] unknown:
INFO  juju.model:model.py:2972 Waiting for model:
second-postgresql-k8s/0 [executing] waiting: awaiting for primary endpoint to be ready
second-postgresql-k8s/1 [idle] unknown:
INFO  juju.model:model.py:2972 Waiting for model:
second-postgresql-k8s/0 [idle] waiting: awaiting for primary endpoint to be ready
second-postgresql-k8s/1 [idle] unknown:
INFO  juju.model:model.py:2972 Waiting for model:
second-postgresql-k8s/0 [idle] active: Primary
second-postgresql-k8s/1 [idle] unknown:
INFO  juju.model:model.py:2972 Waiting for model:
second-postgresql-k8s/0 [idle] maintenance: reconfiguring cluster
second-postgresql-k8s/1 [idle] waiting: awaiting for cluster to start
INFO  juju.model:model.py:2972 Waiting for model:
second-postgresql-k8s/0 [idle] active: Primary
second-postgresql-k8s/1 [idle] waiting: awaiting for member to start
INFO  juju.model:model.py:2972 Waiting for model:
second-postgresql-k8s/0 [idle] active: Primary
second-postgresql-k8s/1 [idle] waiting: awaiting for member to start
INFO  juju.model:model.py:2972 Waiting for model:
second-postgresql-k8s/0 [idle] active: Primary
second-postgresql-k8s/1 [idle] waiting: awaiting for member to start
INFO  juju.model:model.py:2972 Waiting for model:
second-postgresql-k8s/0 [idle] active: Primary
second-postgresql-k8s/1 [idle] waiting: awaiting for member to start
INFO  juju.model:model.py:2972 Waiting for model:
second-postgresql-k8s/0 [idle] active: Primary
second-postgresql-k8s/1 [idle] active:
INFO  httpx:_client.py:1038 HTTP Request: GET https://10.1.0.157:16443/api/v1/namespaces/test/pods/postgresql-k8s-1 "HTTP/1.1 200 OK"
INFO  integration.ha_tests.helpers:helpers.py:248 Initial writes {'test.postgresql-k8s-1': 188}
INFO  httpx:_client.py:1038 HTTP Request: GET https://10.1.0.157:16443/api/v1/namespaces/test/pods/postgresql-k8s-1 "HTTP/1.1 200 OK"
INFO  integration.ha_tests.helpers:helpers.py:254 Retry writes {'test.postgresql-k8s-1': 332}
INFO  httpx:_client.py:1038 HTTP Request: GET https://10.1.0.157:16443/api/v1/namespaces/test/pods/postgresql-k8s-0 "HTTP/1.1 200 OK"
INFO  httpx:_client.py:1038 HTTP Request: GET https://10.1.0.157:16443/api/v1/namespaces/test/pods/postgresql-k8s-1 "HTTP/1.1 200 OK"
INFO  pytest_operator.plugin:plugin.py:903 Model status:

Model Controller Cloud/Region Version SLA Timestamp
test microk8s-localhost microk8s/localhost 3.4.6 unsupported 01:48:12Z

App Version Status Scale Charm Channel Rev Address Exposed Message
postgresql-k8s 14.13 active 3 postgresql-k8s 0 10.152.183.130 no
postgresql-test-app active 1 postgresql-test-app latest/edge 263 10.152.183.93 no received database credentials of the first database
second-postgresql-k8s 14.13 active 2 postgresql-k8s 1 10.152.183.235 no

Unit Workload Agent Address Ports Message
postgresql-k8s/0 active idle 10.1.36.203 Primary
postgresql-k8s/1 active idle 10.1.36.205
postgresql-k8s/2* active idle 10.1.36.207
postgresql-test-app/0* active idle 10.1.36.206 received database credentials of the first database
second-postgresql-k8s/0* active idle 10.1.36.210 Primary
second-postgresql-k8s/1 active idle 10.1.36.211

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

unit-postgresql-k8s-2: 01:40:18 ERROR unit.postgresql-k8s/2.juju-log Cluster upgrade failed, ensure pre-upgrade checks are ran first.

INFO  pytest_operator.plugin:plugin.py:991 Forgetting model main...
6 changes: 6 additions & 0 deletions 3157/data/attachments/14b5958a204dec13.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
INFO  juju.model:model.py:2972 Waiting for model:
database (waiting for exactly 1 units, current : 3)
INFO  juju.model:model.py:2972 Waiting for model:
database (waiting for exactly 1 units, current : 3)
INFO  juju.model:model.py:2972 Waiting for model:
database/0 [idle] active: Primary
19 changes: 19 additions & 0 deletions 3157/data/attachments/1aa1d438defe2cb7.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
WARNING  juju.model:model.py:1564 relate is deprecated and will be removed. Use integrate instead.
INFO  juju.model:model.py:2972 Waiting for model:
postgresql-test-app/0 [idle] active: received database credentials of the first database
postgresql-test-app/1 [idle] active: received database credentials of the first database
database/0 [idle] active: Primary
database/1 [executing] active:
database/2 [executing] active:
another-database/0 [idle] active: Primary
another-database/1 [idle] active:
another-database/2 [idle] active:
INFO  juju.model:model.py:2972 Waiting for model:
postgresql-test-app/0 [idle] active: received database credentials of the first database
postgresql-test-app/1 [idle] active: received database credentials of the first database
database/0 [executing] active: Primary
database/1 [executing] active:
database/2 [executing] active:
another-database/0 [idle] active: Primary
another-database/1 [idle] active:
another-database/2 [idle] active:
107 changes: 107 additions & 0 deletions 3157/data/attachments/1aa67c54bfbcde07.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
INFO  integration.ha_tests.test_upgrade:test_upgrade.py:162 starting continuous writes to the database
INFO  integration.ha_tests.test_upgrade:test_upgrade.py:166 checking whether writes are increasing
INFO  httpx:_client.py:1038 HTTP Request: GET https://10.1.0.160:16443/api/v1/namespaces/test/pods/postgresql-k8s-1 "HTTP/1.1 200 OK"
INFO  httpx:_client.py:1038 HTTP Request: GET https://10.1.0.160:16443/api/v1/namespaces/test/pods/postgresql-k8s-2 "HTTP/1.1 200 OK"
INFO  integration.ha_tests.helpers:helpers.py:248 Initial writes {'test.postgresql-k8s-1': 184, 'test.postgresql-k8s-2': 185}
INFO  httpx:_client.py:1038 HTTP Request: GET https://10.1.0.160:16443/api/v1/namespaces/test/pods/postgresql-k8s-1 "HTTP/1.1 200 OK"
INFO  httpx:_client.py:1038 HTTP Request: GET https://10.1.0.160:16443/api/v1/namespaces/test/pods/postgresql-k8s-2 "HTTP/1.1 200 OK"
INFO  integration.ha_tests.helpers:helpers.py:254 Retry writes {'test.postgresql-k8s-1': 320, 'test.postgresql-k8s-2': 322}
INFO  integration.ha_tests.test_upgrade:test_upgrade.py:169 Get leader unit
INFO  integration.ha_tests.test_upgrade:test_upgrade.py:175 Run pre-upgrade-check action
INFO  integration.ha_tests.test_upgrade:test_upgrade.py:175 Run pre-upgrade-check action
INFO  integration.ha_tests.test_upgrade:test_upgrade.py:191 Inject dependency fault
INFO  integration.ha_tests.test_upgrade:test_upgrade.py:196 Refresh the charm
INFO  integration.ha_tests.test_upgrade:test_upgrade.py:199 Get first upgrading unit
INFO  integration.ha_tests.test_upgrade:test_upgrade.py:203 Wait for upgrade to fail on first upgrading unit
INFO  integration.ha_tests.test_upgrade:test_upgrade.py:210 Ensure continuous_writes while in failure state on remaining units
INFO  httpx:_client.py:1038 HTTP Request: GET https://10.1.0.160:16443/api/v1/namespaces/test/pods/postgresql-k8s-0 "HTTP/1.1 200 OK"
INFO  httpx:_client.py:1038 HTTP Request: GET https://10.1.0.160:16443/api/v1/namespaces/test/pods/postgresql-k8s-1 "HTTP/1.1 200 OK"
INFO  integration.ha_tests.helpers:helpers.py:248 Initial writes {'test.postgresql-k8s-0': 7331, 'test.postgresql-k8s-1': 7332}
INFO  httpx:_client.py:1038 HTTP Request: GET https://10.1.0.160:16443/api/v1/namespaces/test/pods/postgresql-k8s-0 "HTTP/1.1 200 OK"
INFO  httpx:_client.py:1038 HTTP Request: GET https://10.1.0.160:16443/api/v1/namespaces/test/pods/postgresql-k8s-1 "HTTP/1.1 200 OK"
INFO  integration.ha_tests.helpers:helpers.py:254 Retry writes {'test.postgresql-k8s-0': 8373, 'test.postgresql-k8s-1': 8375}
INFO  integration.ha_tests.test_upgrade:test_upgrade.py:213 Re-run pre-upgrade-check action
INFO  integration.ha_tests.test_upgrade:test_upgrade.py:217 Re-refresh the charm
INFO  juju.model:model.py:2972 Waiting for model:
postgresql-k8s/0 [executing] blocked: ready to rollback application
postgresql-k8s/1 [executing] waiting: other units upgrading first...
postgresql-k8s/2 [executing] maintenance: upgrade completed
INFO  juju.model:model.py:2972 Waiting for model:
postgresql-k8s/0 [idle] blocked: ready to rollback application
postgresql-k8s/1 [idle] waiting: other units upgrading first...
postgresql-k8s/2 [idle] maintenance: upgrade completed
INFO  integration.ha_tests.test_upgrade:test_upgrade.py:229 checking whether writes are increasing
INFO  httpx:_client.py:1038 HTTP Request: GET https://10.1.0.160:16443/api/v1/namespaces/test/pods/postgresql-k8s-0 "HTTP/1.1 200 OK"
INFO  httpx:_client.py:1038 HTTP Request: GET https://10.1.0.160:16443/api/v1/namespaces/test/pods/postgresql-k8s-1 "HTTP/1.1 200 OK"
INFO  integration.ha_tests.helpers:helpers.py:248 Initial writes {'test.postgresql-k8s-0': 18720, 'test.postgresql-k8s-1': 18721}
INFO  httpx:_client.py:1038 HTTP Request: GET https://10.1.0.160:16443/api/v1/namespaces/test/pods/postgresql-k8s-0 "HTTP/1.1 200 OK"
INFO  httpx:_client.py:1038 HTTP Request: GET https://10.1.0.160:16443/api/v1/namespaces/test/pods/postgresql-k8s-1 "HTTP/1.1 200 OK"
INFO  integration.ha_tests.helpers:helpers.py:254 Retry writes {'test.postgresql-k8s-0': 18863, 'test.postgresql-k8s-1': 18865}
INFO  integration.ha_tests.test_upgrade:test_upgrade.py:232 Resume upgrade
INFO  integration.ha_tests.test_upgrade:test_upgrade.py:236 Wait for application to recover
INFO  juju.model:model.py:2972 Waiting for model:
postgresql-k8s/0 [idle] blocked: ready to rollback application
postgresql-k8s/1 [executing] maintenance: stopping charm software
postgresql-k8s/2 [idle] maintenance: upgrade completed
INFO  juju.model:model.py:2972 Waiting for model:
postgresql-k8s/0 [idle] blocked: ready to rollback application
postgresql-k8s/1 [idle] waiting: awaiting for cluster to start
postgresql-k8s/2 [idle] maintenance: upgrade completed
INFO  juju.model:model.py:2972 Waiting for model:
postgresql-k8s/0 [idle] blocked: ready to rollback application
postgresql-k8s/1 [idle] waiting: awaiting for cluster to start
postgresql-k8s/2 [idle] maintenance: upgrade completed
INFO  juju.model:model.py:2972 Waiting for model:
postgresql-k8s/0 [idle] blocked: ready to rollback application
postgresql-k8s/1 [idle] waiting: awaiting for cluster to start
postgresql-k8s/2 [idle] maintenance: upgrade completed
INFO  juju.model:model.py:2972 Waiting for model:
postgresql-k8s/0 [executing] maintenance:
postgresql-k8s/1 [idle] maintenance: upgrade completed
postgresql-k8s/2 [idle] maintenance: upgrade completed
INFO  juju.model:model.py:2972 Waiting for model:
postgresql-k8s/0 [idle] waiting: awaiting for cluster to start
postgresql-k8s/1 [idle] maintenance: upgrade completed
postgresql-k8s/2 [idle] maintenance: upgrade completed
INFO  juju.model:model.py:2972 Waiting for model:
postgresql-k8s/0 [idle] active:
postgresql-k8s/1 [idle] maintenance: upgrade completed
postgresql-k8s/2 [idle] maintenance: upgrade completed
INFO  juju.model:model.py:2972 Waiting for model:
postgresql-k8s/0 [idle] active:
postgresql-k8s/1 [idle] active:
postgresql-k8s/2 [idle] active:
INFO  juju.model:model.py:2972 Waiting for model:
postgresql-k8s/0 [idle] active:
INFO  integration.ha_tests.test_upgrade:test_upgrade.py:242 Ensure continuous_writes after rollback procedure
INFO  httpx:_client.py:1038 HTTP Request: GET https://10.1.0.160:16443/api/v1/namespaces/test/pods/postgresql-k8s-1 "HTTP/1.1 200 OK"
INFO  httpx:_client.py:1038 HTTP Request: GET https://10.1.0.160:16443/api/v1/namespaces/test/pods/postgresql-k8s-2 "HTTP/1.1 200 OK"
INFO  integration.ha_tests.helpers:helpers.py:248 Initial writes {'test.postgresql-k8s-1': 36154, 'test.postgresql-k8s-2': 36156}
INFO  httpx:_client.py:1038 HTTP Request: GET https://10.1.0.160:16443/api/v1/namespaces/test/pods/postgresql-k8s-1 "HTTP/1.1 200 OK"
INFO  httpx:_client.py:1038 HTTP Request: GET https://10.1.0.160:16443/api/v1/namespaces/test/pods/postgresql-k8s-2 "HTTP/1.1 200 OK"
INFO  integration.ha_tests.helpers:helpers.py:254 Retry writes {'test.postgresql-k8s-1': 36295, 'test.postgresql-k8s-2': 36296}
INFO  integration.ha_tests.test_upgrade:test_upgrade.py:247 Checking whether no writes were lost
INFO  httpx:_client.py:1038 HTTP Request: GET https://10.1.0.160:16443/api/v1/namespaces/test/pods/postgresql-k8s-1 "HTTP/1.1 200 OK"
INFO  httpx:_client.py:1038 HTTP Request: GET https://10.1.0.160:16443/api/v1/namespaces/test/pods/postgresql-k8s-2 "HTTP/1.1 200 OK"
INFO  pytest_operator.plugin:plugin.py:903 Model status:

Model Controller Cloud/Region Version SLA Timestamp
test microk8s-localhost microk8s/localhost 3.4.6 unsupported 01:56:34Z

App Version Status Scale Charm Channel Rev Address Exposed Message
postgresql-k8s 14.13 active 3 postgresql-k8s 2 10.152.183.246 no
postgresql-test-app active 1 postgresql-test-app latest/edge 263 10.152.183.201 no received database credentials of the first database

Unit Workload Agent Address Ports Message
postgresql-k8s/0* active idle 10.1.230.213
postgresql-k8s/1 active idle 10.1.230.212
postgresql-k8s/2 active idle 10.1.230.211 Primary
postgresql-test-app/0* active idle 10.1.230.200 received database credentials of the first database

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

unit-postgresql-k8s-1: 01:36:19 ERROR unit.postgresql-k8s/1.juju-log pgdata folder not found in /var/lib/postgresql/data/pgdata
unit-postgresql-k8s-0: 01:47:23 ERROR unit.postgresql-k8s/0.juju-log charms.data_platform_libs.v0.upgrade.ClusterNotReadyError - {'message': 'postgresql-k8s/0 needs to be a synchronous standby in order to become the primary before the upgrade process can start - wait 30 seconds for postgresql-k8s/0 to become a synchronous standby and run this action again', 'cause': 'postgresql-k8s/0 needs to be a synchronous standby in order to become the primary before the upgrade process can start', 'resolution': 'wait 30 seconds for postgresql-k8s/0 to become a synchronous standby and run this action again'}
unit-postgresql-k8s-2: 01:49:09 ERROR unit.postgresql-k8s/2.juju-log charms.data_platform_libs.v0.upgrade.VersionError - {'message': 'Versions incompatible, charm 2 can not be upgraded to 15.0', 'cause': 'Upgrades only supported for specific versions, charm versions satisfying requirement ^15', 'resolution': ''}

INFO  pytest_operator.plugin:plugin.py:991 Forgetting model main...
14 changes: 14 additions & 0 deletions 3157/data/attachments/23a29d67ba19996.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
INFO  pytest_operator.plugin:plugin.py:766 Connecting to existing model microk8s-localhost:test on unspecified cloud
INFO  juju.model:model.py:2098 Deploying ch:amd64/jammy/postgresql-test-app-263
INFO  juju.model:model.py:2098 Deploying local:jammy/postgresql-k8s-0
INFO  juju.model:model.py:2972 Waiting for model:
postgresql-k8s/0 [allocating] waiting: installing agent
postgresql-test-app/0 [executing] maintenance: installing charm software
INFO  juju.model:model.py:2972 Waiting for model:
postgresql-k8s/0 [executing] maintenance: installing charm software
INFO  juju.model:model.py:2972 Waiting for model:
postgresql-k8s/0 [executing] waiting: awaiting for primary endpoint to be ready
INFO  juju.model:model.py:2972 Waiting for model:
postgresql-k8s/0 [executing] waiting: awaiting for primary endpoint to be ready
INFO  juju.model:model.py:2972 Waiting for model:
postgresql-k8s/0 [idle] waiting: awaiting for primary endpoint to be ready
Loading

0 comments on commit f47124e

Please sign in to comment.