-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a7c9198
commit 2060d0e
Showing
384 changed files
with
6,931 additions
and
2 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql-k8s/0 [idle] active: | ||
postgresql-k8s/1 [idle] active: Primary | ||
postgresql-k8s/2 [idle] active: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql-k8s/0 [idle] active: | ||
postgresql-k8s/1 [executing] active: | ||
postgresql-k8s/2 [executing] active: | ||
postgresql-test-app/0 [executing] active: | ||
postgresql-test-app2/0 [executing] active: | ||
[33mWARNING [0m juju.model:model.py:1564 relate is deprecated and will be removed. Use integrate instead. | ||
[33mWARNING [0m juju.model:model.py:1564 relate is deprecated and will be removed. Use integrate instead. | ||
[32mINFO [0m integration.test_db:test_db.py:229 Verify that the charm remains blocked if there are other blocking relations | ||
[32mINFO [0m integration.test_db:test_db.py:240 Verify that active status is restored when all blocking relations are gone | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql-k8s/0 [executing] active: | ||
postgresql-k8s/1 [executing] active: | ||
postgresql-k8s/2 [executing] blocked: roles requested through relation, use postgresql_client interface instead | ||
[32mINFO [0m 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:42:03Z | ||
|
||
App Version Status Scale Charm Channel Rev Address Exposed Message | ||
postgresql-k8s 14.13 active 3 postgresql-k8s 0 10.152.183.132 no | ||
postgresql-test-app active 1 postgresql-test-app latest/edge 305 10.152.183.89 no | ||
postgresql-test-app2 active 1 postgresql-test-app latest/edge 305 10.152.183.120 no | ||
|
||
Unit Workload Agent Address Ports Message | ||
postgresql-k8s/0 active idle 10.1.245.203 | ||
postgresql-k8s/1 active idle 10.1.245.205 | ||
postgresql-k8s/2* active idle 10.1.245.204 | ||
postgresql-test-app2/0* active idle 10.1.245.209 | ||
postgresql-test-app/0* active idle 10.1.245.208 | ||
|
||
[32mINFO [0m pytest_operator.plugin:plugin.py:909 Juju error logs: | ||
|
||
unit-postgresql-k8s-2: 01:38:45 ERROR unit.postgresql-k8s/2.juju-log db:8: ERROR - `extensions` (pg_trgm, unaccent) cannot be requested through relations - Please enable extensions through `juju config` and add the relation again. | ||
unit-postgresql-k8s-2: 01:40:39 ERROR unit.postgresql-k8s/2.juju-log db:10: ERROR - `extensions` (pg_trgm, unaccent) cannot be requested through relations - Please enable extensions through `juju config` and add the relation again. | ||
|
||
[32mINFO [0m pytest_operator.plugin:plugin.py:991 Forgetting model main... |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
[32mINFO [0m pytest_operator.plugin:plugin.py:766 Connecting to existing model microk8s-localhost:test on unspecified cloud | ||
[32mINFO [0m juju.model:model.py:2098 Deploying local:postgresql-k8s-0 | ||
[32mINFO [0m juju.model:model.py:2098 Deploying ch:amd64/jammy/postgresql-test-app-279 | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql-k8s/0 [allocating] waiting: installing agent | ||
postgresql-k8s/1 [allocating] waiting: installing agent | ||
postgresql-k8s/2 [allocating] waiting: installing agent | ||
postgresql-test-app/0 [allocating] waiting: installing agent | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql-k8s/0 [executing] maintenance: installing charm software | ||
postgresql-k8s/1 [executing] maintenance: installing charm software | ||
postgresql-k8s/2 [executing] maintenance: installing charm software | ||
postgresql-test-app/0 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql-k8s/0 [executing] unknown: | ||
postgresql-k8s/1 [executing] waiting: awaiting for cluster to start | ||
postgresql-k8s/2 [executing] unknown: | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql-k8s/0 [idle] unknown: | ||
postgresql-k8s/1 [executing] waiting: awaiting for primary endpoint to be ready | ||
postgresql-k8s/2 [idle] unknown: | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql-k8s/0 [idle] unknown: | ||
postgresql-k8s/1 [idle] active: Primary | ||
postgresql-k8s/2 [idle] unknown: | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql-k8s/0 [idle] waiting: awaiting for cluster to start | ||
postgresql-k8s/1 [idle] active: Primary | ||
postgresql-k8s/2 [idle] waiting: awaiting for cluster to start | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql-k8s/0 [idle] waiting: awaiting for cluster to start | ||
postgresql-k8s/1 [idle] active: Primary | ||
postgresql-k8s/2 [idle] waiting: awaiting for cluster to start | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql-k8s/0 [idle] waiting: awaiting for member to start | ||
postgresql-k8s/1 [idle] active: Primary | ||
postgresql-k8s/2 [idle] waiting: awaiting for cluster to start | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql-k8s/0 [idle] active: | ||
postgresql-k8s/1 [idle] active: Primary | ||
postgresql-k8s/2 [idle] waiting: awaiting for member to start | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql-k8s/0 [executing] active: | ||
postgresql-k8s/1 [idle] active: Primary | ||
postgresql-k8s/2 [idle] active: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
[32mINFO [0m pytest_operator.plugin:plugin.py:766 Connecting to existing model microk8s-localhost:test on unspecified cloud | ||
[32mINFO [0m juju.model:model.py:2098 Deploying ch:amd64/jammy/postgresql-test-app-305 | ||
[32mINFO [0m juju.model:model.py:2098 Deploying local:postgresql-k8s-0 | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql-k8s/0 [allocating] waiting: installing agent | ||
postgresql-test-app/0 [allocating] waiting: agent initialising | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql-k8s/0 [executing] maintenance: installing charm software | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql-k8s/0 [executing] waiting: awaiting for primary endpoint to be ready | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql-k8s/0 [executing] waiting: awaiting for primary endpoint to be ready | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql-k8s/0 [idle] waiting: awaiting for primary endpoint to be ready |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
[32mINFO [0m integration.ha_tests.test_async_replication:test_async_replication.py:412 starting continuous writes to the database | ||
[32mINFO [0m integration.ha_tests.test_async_replication:test_async_replication.py:415 checking whether writes are increasing | ||
[32mINFO [0m httpx:_client.py:1038 HTTP Request: GET https://10.1.0.50:16443/api/v1/namespaces/test/pods/postgresql-k8s-1 "HTTP/1.1 200 OK" | ||
[32mINFO [0m httpx:_client.py:1038 HTTP Request: GET https://10.1.0.50:16443/api/v1/namespaces/test/pods/postgresql-k8s-2 "HTTP/1.1 200 OK" | ||
[32mINFO [0m integration.ha_tests.helpers:helpers.py:243 Initial writes {'test.postgresql-k8s-1': 171, 'test.postgresql-k8s-2': 172} | ||
[32mINFO [0m httpx:_client.py:1038 HTTP Request: GET https://10.1.0.50:16443/api/v1/namespaces/test/pods/postgresql-k8s-1 "HTTP/1.1 200 OK" | ||
[32mINFO [0m httpx:_client.py:1038 HTTP Request: GET https://10.1.0.50:16443/api/v1/namespaces/test/pods/postgresql-k8s-2 "HTTP/1.1 200 OK" | ||
[32mINFO [0m integration.ha_tests.helpers:helpers.py:249 Retry writes {'test.postgresql-k8s-1': 309, 'test.postgresql-k8s-2': 310} | ||
[32mINFO [0m integration.ha_tests.test_async_replication:test_async_replication.py:419 Sync-standby: postgresql-k8s-1 | ||
[32mINFO [0m integration.ha_tests.test_async_replication:test_async_replication.py:420 deleting the sync-standby pod | ||
[32mINFO [0m httpx:_client.py:1038 HTTP Request: DELETE https://10.1.0.50:16443/api/v1/namespaces/test/pods/postgresql-k8s-1 "HTTP/1.1 200 OK" | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql-k8s/0 [idle] active: | ||
postgresql-k8s/1 [executing] maintenance: stopping charm software | ||
postgresql-k8s/2 [idle] active: Primary | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql-k8s/0 [idle] active: | ||
postgresql-k8s/1 [idle] active: | ||
postgresql-k8s/2 [idle] active: Standby | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql-k8s/0 [idle] active: | ||
postgresql-k8s/1 [executing] maintenance: | ||
postgresql-k8s/2 [idle] active: Primary | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql-k8s/0 [idle] active: | ||
postgresql-k8s/1 [idle] waiting: awaiting for cluster to start | ||
postgresql-k8s/2 [idle] active: Primary | ||
[32mINFO [0m integration.ha_tests.test_async_replication:test_async_replication.py:436 New sync-standby: postgresql-k8s-0 | ||
[32mINFO [0m integration.ha_tests.test_async_replication:test_async_replication.py:439 Ensure continuous_writes after the crashed unit | ||
[32mINFO [0m httpx:_client.py:1038 HTTP Request: GET https://10.1.0.50:16443/api/v1/namespaces/test/pods/postgresql-k8s-0 "HTTP/1.1 200 OK" | ||
[32mINFO [0m httpx:_client.py:1038 HTTP Request: GET https://10.1.0.50:16443/api/v1/namespaces/test/pods/postgresql-k8s-2 "HTTP/1.1 200 OK" | ||
[32mINFO [0m integration.ha_tests.helpers:helpers.py:243 Initial writes {'test.postgresql-k8s-0': 3844, 'test.postgresql-k8s-2': 3846} | ||
[32mINFO [0m httpx:_client.py:1038 HTTP Request: GET https://10.1.0.50:16443/api/v1/namespaces/test/pods/postgresql-k8s-0 "HTTP/1.1 200 OK" | ||
[32mINFO [0m httpx:_client.py:1038 HTTP Request: GET https://10.1.0.50:16443/api/v1/namespaces/test/pods/postgresql-k8s-2 "HTTP/1.1 200 OK" | ||
[32mINFO [0m integration.ha_tests.helpers:helpers.py:249 Retry writes {'test.postgresql-k8s-0': 3972, 'test.postgresql-k8s-2': 3973} | ||
[32mINFO [0m integration.ha_tests.test_async_replication:test_async_replication.py:444 checking whether no writes were lost | ||
[32mINFO [0m httpx:_client.py:1038 HTTP Request: GET https://10.1.0.50:16443/api/v1/namespaces/test/pods/postgresql-k8s-0 "HTTP/1.1 200 OK" | ||
[32mINFO [0m httpx:_client.py:1038 HTTP Request: GET https://10.1.0.50:16443/api/v1/namespaces/test/pods/postgresql-k8s-2 "HTTP/1.1 200 OK" | ||
[32mINFO [0m httpx:_client.py:1038 HTTP Request: GET https://10.1.0.50:16443/api/v1/namespaces/test-other/pods/postgresql-k8s-2 "HTTP/1.1 200 OK" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql-k8s/0 [idle] active: | ||
postgresql-k8s/1 [idle] active: | ||
postgresql-k8s/2 [idle] active: Primary | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql-k8s/0 [idle] active: | ||
postgresql-k8s/1 [idle] active: | ||
postgresql-k8s/2 [idle] active: | ||
[32mINFO [0m integration.test_charm:test_charm.py:187 connecting to the database host: 10.1.158.139 | ||
[32mINFO [0m integration.test_charm:test_charm.py:187 connecting to the database host: 10.1.158.140 | ||
[32mINFO [0m integration.test_charm:test_charm.py:187 connecting to the database host: 10.1.158.141 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[32mINFO [0m integration.test_charm:test_charm.py:105 connecting to the database host: 10.1.158.139 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
[32mINFO [0m integration.ha_tests.test_upgrade_from_stable:test_upgrade_from_stable.py:73 Get leader unit | ||
[32mINFO [0m integration.ha_tests.test_upgrade_from_stable:test_upgrade_from_stable.py:79 Run pre-upgrade-check action | ||
[32mINFO [0m integration.ha_tests.test_upgrade_from_stable:test_upgrade_from_stable.py:87 Assert partition is set to 2 | ||
[32mINFO [0m httpx:_client.py:1038 HTTP Request: GET https://10.1.0.251:16443/apis/apps/v1/namespaces/test/statefulsets/postgresql-k8s "HTTP/1.1 200 OK" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
[32mINFO [0m integration.test_charm:test_charm.py:273 connecting to primary postgresql-k8s/0 on 10.1.158.139 | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql-k8s/0 [idle] active: Primary | ||
postgresql-k8s/1 [idle] active: | ||
postgresql-k8s/2 [idle] active: | ||
[32mINFO [0m integration.test_charm:test_charm.py:288 connecting to the database host: 10.1.158.139 | ||
[32mINFO [0m integration.test_charm:test_charm.py:288 connecting to the database host: 10.1.158.140 | ||
[32mINFO [0m integration.test_charm:test_charm.py:288 connecting to the database host: 10.1.158.143 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql-k8s/0 [idle] active: | ||
postgresql-k8s/1 [idle] active: | ||
postgresql-k8s/2 [idle] active: Standby | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql-k8s/0 [idle] active: | ||
postgresql-k8s/1 [idle] active: | ||
postgresql-k8s/2 [executing] active: Primary | ||
[32mINFO [0m integration.ha_tests.test_async_replication:test_async_replication.py:245 Get leader unit | ||
[32mINFO [0m integration.ha_tests.test_async_replication:test_async_replication.py:248 promoting the second cluster | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql-k8s/0 [executing] active: | ||
postgresql-k8s/1 [executing] active: | ||
postgresql-k8s/2 [executing] active: Primary | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql-k8s/0 [executing] active: | ||
postgresql-k8s/1 [executing] active: | ||
postgresql-k8s/2 [executing] maintenance: Promoting cluster... | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql-k8s/0 [idle] active: | ||
postgresql-k8s/1 [idle] active: | ||
postgresql-k8s/2 [idle] waiting: Still starting the database in the standby leader | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql-k8s/0 [idle] active: | ||
postgresql-k8s/1 [idle] active: | ||
postgresql-k8s/2 [idle] waiting: Waiting for the database to be started in all units | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql-k8s/0 [idle] active: | ||
postgresql-k8s/1 [idle] active: | ||
postgresql-k8s/2 [executing] active: Standby | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql-k8s/2 [executing] active: Standby | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql-k8s/2 [executing] active: Standby | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql-k8s/0 [executing] active: | ||
postgresql-k8s/1 [executing] active: | ||
postgresql-k8s/2 [executing] active: Standby | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql-k8s/0 [executing] active: | ||
postgresql-k8s/1 [executing] active: | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql-k8s/0 [executing] active: | ||
postgresql-k8s/1 [executing] active: | ||
[32mINFO [0m integration.ha_tests.test_async_replication:test_async_replication.py:265 starting continuous writes to the database | ||
[33mWARNING [0m juju.model:model.py:1564 relate is deprecated and will be removed. Use integrate instead. | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql-k8s/0 [idle] active: | ||
postgresql-k8s/1 [idle] active: | ||
postgresql-k8s/2 [idle] active: Primary | ||
postgresql-test-app/0 [idle] active: | ||
[32mINFO [0m integration.ha_tests.test_async_replication:test_async_replication.py:268 checking whether writes are increasing | ||
[32mINFO [0m httpx:_client.py:1038 HTTP Request: GET https://10.1.0.50:16443/api/v1/namespaces/test/pods/postgresql-k8s-2 "HTTP/1.1 200 OK" | ||
[32mINFO [0m httpx:_client.py:1038 HTTP Request: GET https://10.1.0.50:16443/api/v1/namespaces/test-other/pods/postgresql-k8s-0 "HTTP/1.1 200 OK" | ||
[32mINFO [0m httpx:_client.py:1038 HTTP Request: GET https://10.1.0.50:16443/api/v1/namespaces/test-other/pods/postgresql-k8s-2 "HTTP/1.1 200 OK" | ||
[32mINFO [0m integration.ha_tests.helpers:helpers.py:243 Initial writes {'test.postgresql-k8s-2': 157, 'test-other.postgresql-k8s-0': 159, 'test-other.postgresql-k8s-2': 161} | ||
[32mINFO [0m httpx:_client.py:1038 HTTP Request: GET https://10.1.0.50:16443/api/v1/namespaces/test/pods/postgresql-k8s-2 "HTTP/1.1 200 OK" | ||
[32mINFO [0m httpx:_client.py:1038 HTTP Request: GET https://10.1.0.50:16443/api/v1/namespaces/test-other/pods/postgresql-k8s-0 "HTTP/1.1 200 OK" | ||
[32mINFO [0m httpx:_client.py:1038 HTTP Request: GET https://10.1.0.50:16443/api/v1/namespaces/test-other/pods/postgresql-k8s-2 "HTTP/1.1 200 OK" | ||
[32mINFO [0m integration.ha_tests.helpers:helpers.py:249 Retry writes {'test.postgresql-k8s-2': 295, 'test-other.postgresql-k8s-0': 296, 'test-other.postgresql-k8s-2': 298} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[32mINFO [0m pytest_operator.plugin:plugin.py:766 Connecting to existing model microk8s-localhost:test on unspecified cloud | ||
[32mINFO [0m juju.model:model.py:2098 Deploying local:postgresql-k8s-0 |
Oops, something went wrong.