-
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
2ebd130
commit 73395a7
Showing
332 changed files
with
10,778 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,8 @@ | ||
[33mWARNING [0m juju.model:model.py:1563 relate is deprecated and will be removed. Use integrate instead. | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql-test-app/0 [idle] active: | ||
postgresql-test-app/1 [idle] active: | ||
database/0 [idle] active: Primary | ||
another-database/0 [idle] active: | ||
another-database/1 [idle] active: Primary | ||
[32mINFO [0m integration.new_relations.test_new_relations:test_new_relations.py:102 checking for secrets |
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,28 @@ | ||
[32mINFO [0m juju.model:model.py:2097 Deploying ch:amd64/jammy/postgresql-test-app-295 | ||
[32mINFO [0m juju.model:model.py:2097 Deploying ch:amd64/jammy/postgresql-test-app-295 | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/2 [idle] active: Primary | ||
postgresql/3 [idle] active: | ||
postgresql-test-app/0 [allocating] waiting: waiting for machine | ||
postgresql-test-app2/0 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql-test-app/0 [allocating] waiting: waiting for machine | ||
postgresql-test-app2/0 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql-test-app/0 [allocating] waiting: waiting for machine | ||
postgresql-test-app2/0 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql-test-app/0 [allocating] waiting: waiting for machine | ||
postgresql-test-app2/0 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql-test-app/0 [allocating] waiting: waiting for machine | ||
postgresql-test-app2/0 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql-test-app2/0 [idle] active: | ||
[33mWARNING [0m juju.model:model.py:1563 relate is deprecated and will be removed. Use integrate instead. | ||
[33mWARNING [0m juju.model:model.py:1563 relate is deprecated and will be removed. Use integrate instead. | ||
[32mINFO [0m integration.test_db:test_db.py:230 Verify that the charm remains blocked if there are other blocking relations | ||
[32mINFO [0m integration.test_db:test_db.py:241 Verify that active status is restored when all blocking relations are gone | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/2 [executing] active: Primary | ||
postgresql/3 [executing] blocked: roles requested through relation, use postgresql_client interface instead |
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,8 @@ | ||
[33mWARNING [0m juju.model:model.py:1563 relate is deprecated and will be removed. Use integrate instead. | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql-test-app/0 [idle] active: received database credentials for cluster2 | ||
postgresql-test-app/1 [idle] active: received database credentials for cluster2 | ||
database/0 [idle] active: Primary | ||
database/1 [idle] active: | ||
another-database/0 [idle] active: | ||
another-database/1 [idle] active: Primary |
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,27 @@ | ||
[32mINFO [0m pytest_operator.plugin:plugin.py:766 Connecting to existing model localhost-localhost:test on unspecified cloud | ||
[32mINFO [0m integration.ha_tests.test_smoke:test_smoke.py:42 deploying charm | ||
[32mINFO [0m juju.model:model.py:2097 Deploying local:postgresql-0 | ||
[32mINFO [0m integration.ha_tests.test_smoke:test_smoke.py:52 waiting for idle | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql-test-app/0 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql-test-app/0 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql-test-app/0 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql-test-app/0 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql-test-app/0 [executing] maintenance: installing PostgreSQL | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql-test-app/0 [executing] waiting: waiting to start PostgreSQL | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql-test-app/0 [executing] active: Primary | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql-test-app/0 [executing] active: Primary | ||
[32mINFO [0m integration.ha_tests.test_smoke:test_smoke.py:58 waiting for postgresql | ||
[32mINFO [0m integration.ha_tests.test_smoke:test_smoke.py:63 getting storage id | ||
[32mINFO [0m integration.ha_tests.test_smoke:test_smoke.py:67 werifing is storage exists | ||
[32mINFO [0m integration.ha_tests.test_smoke:test_smoke.py:73 creating db | ||
[32mINFO [0m integration.ha_tests.test_smoke:test_smoke.py:77 checking db | ||
[32mINFO [0m integration.ha_tests.test_smoke:test_smoke.py:81 force removing charm | ||
[32mINFO [0m integration.ha_tests.test_smoke:test_smoke.py:90 werifing is storage exists |
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,115 @@ | ||
[32mINFO [0m integration.ha_tests.test_upgrade_from_stable:test_upgrade_from_stable.py:102 starting continuous writes to the database | ||
[33mWARNING [0m juju.model:model.py:1563 relate is deprecated and will be removed. Use integrate instead. | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/0 [executing] active: Primary | ||
postgresql/1 [executing] active: | ||
postgresql/2 [executing] active: | ||
postgresql-test-app/0 [idle] active: | ||
[32mINFO [0m integration.ha_tests.test_upgrade_from_stable:test_upgrade_from_stable.py:106 checking whether writes are increasing | ||
[32mINFO [0m integration.ha_tests.helpers:helpers.py:103 Initial writes {'test.postgresql-0': 209, 'test.postgresql-1': 210} | ||
[32mINFO [0m integration.ha_tests.helpers:helpers.py:113 Retry writes {'test.postgresql-0': 374, 'test.postgresql-1': 374} | ||
[32mINFO [0m integration.ha_tests.test_upgrade_from_stable:test_upgrade_from_stable.py:115 Build charm locally | ||
[32mINFO [0m integration.ha_tests.test_upgrade_from_stable:test_upgrade_from_stable.py:118 Refresh the charm | ||
[32mINFO [0m integration.ha_tests.test_upgrade_from_stable:test_upgrade_from_stable.py:121 Wait for upgrade to start | ||
[32mINFO [0m integration.ha_tests.test_upgrade_from_stable:test_upgrade_from_stable.py:128 Wait for upgrade to complete | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/0 [idle] active: Primary | ||
postgresql/1 [executing] waiting: other units upgrading first... | ||
postgresql/2 [executing] waiting: other units upgrading first... | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/0 [idle] waiting: other units upgrading first... | ||
postgresql/1 [idle] waiting: other units upgrading first... | ||
postgresql/2 [executing] maintenance: refreshing the snap | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/0 [idle] waiting: other units upgrading first... | ||
postgresql/1 [idle] waiting: other units upgrading first... | ||
postgresql/2 [executing] maintenance: upgrade completed | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/0 [idle] waiting: other units upgrading first... | ||
postgresql/1 [executing] maintenance: refreshing the snap | ||
postgresql/2 [idle] maintenance: upgrade completed | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/0 [executing] active: | ||
postgresql/1 [executing] maintenance: refreshing the snap | ||
postgresql/2 [executing] maintenance: upgrade completed | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/0 [executing] active: | ||
postgresql/1 [executing] maintenance: upgrade completed | ||
postgresql/2 [executing] maintenance: upgrade completed | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/0 [executing] maintenance: refreshing the snap | ||
postgresql/1 [idle] maintenance: upgrade completed | ||
postgresql/2 [idle] maintenance: upgrade completed | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/0 [executing] waiting: waiting for database initialisation | ||
postgresql/1 [idle] maintenance: upgrade completed | ||
postgresql/2 [idle] maintenance: upgrade completed | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/0 [executing] active: | ||
postgresql/1 [executing] active: | ||
postgresql/2 [executing] active: | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/0 [executing] active: | ||
postgresql/1 [idle] active: | ||
postgresql/2 [idle] active: Primary | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/0 [idle] active: | ||
[32mINFO [0m integration.ha_tests.test_upgrade_from_stable:test_upgrade_from_stable.py:135 checking whether writes are increasing | ||
[32mINFO [0m integration.ha_tests.helpers:helpers.py:103 Initial writes {'test.postgresql-1': 18912, 'test.postgresql-2': 18913} | ||
[32mINFO [0m integration.ha_tests.helpers:helpers.py:113 Retry writes {'test.postgresql-1': 19053, 'test.postgresql-2': 19053} | ||
[32mINFO [0m integration.ha_tests.test_upgrade_from_stable:test_upgrade_from_stable.py:140 checking whether no writes were lost | ||
[32mINFO [0m integration.ha_tests.test_upgrade_from_stable:test_upgrade_from_stable.py:145 checking the number of switchovers | ||
[32mINFO [0m pytest_operator.plugin:plugin.py:903 Model status: | ||
|
||
Model Controller Cloud/Region Version SLA Timestamp | ||
test localhost-localhost localhost/localhost 3.4.6 unsupported 01:51:03Z | ||
|
||
App Version Status Scale Charm Channel Rev Exposed Message | ||
postgresql 14.13 active 3 postgresql 0 no | ||
postgresql-test-app active 1 postgresql-test-app latest/edge 295 no received database credentials of the first database | ||
|
||
Unit Workload Agent Machine Public address Ports Message | ||
postgresql-test-app/0* active idle 3 10.87.29.247 received database credentials of the first database | ||
postgresql/0* active idle 0 10.87.29.201 5432/tcp | ||
postgresql/1 active idle 1 10.87.29.221 5432/tcp | ||
postgresql/2 active idle 2 10.87.29.207 5432/tcp Primary | ||
|
||
Machine State Address Inst id Base AZ Message | ||
0 started 10.87.29.201 juju-4bd6be-0 [email protected] Running | ||
1 started 10.87.29.221 juju-4bd6be-1 [email protected] Running | ||
2 started 10.87.29.207 juju-4bd6be-2 [email protected] Running | ||
3 started 10.87.29.247 juju-4bd6be-3 [email protected] Running | ||
|
||
[32mINFO [0m pytest_operator.plugin:plugin.py:909 Juju error logs: | ||
|
||
machine-0: 01:37:10 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-0: 01:37:10 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
unit-postgresql-0: 01:37:10 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
machine-3: 01:37:17 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-3: 01:37:17 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
unit-postgresql-test-app-0: 01:37:18 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
machine-2: 01:37:20 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-2: 01:37:20 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
unit-postgresql-2: 01:37:20 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
machine-1: 01:37:23 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-1: 01:37:23 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
unit-postgresql-1: 01:37:23 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
unit-postgresql-0: 01:50:18 ERROR unit.postgresql/0.juju-log upgrade:0: failed to change plugins: | ||
Traceback (most recent call last): | ||
File "/var/lib/juju/agents/unit-postgresql-0/charm/lib/charms/postgresql_k8s/v0/postgresql.py", line 346, in enable_disable_extensions | ||
cursor.execute( | ||
psycopg2.errors.ObjectNotInPrerequisiteState: pgaudit must be loaded via shared_preload_libraries | ||
|
||
|
||
During handling of the above exception, another exception occurred: | ||
|
||
Traceback (most recent call last): | ||
File "/var/lib/juju/agents/unit-postgresql-0/charm/./src/charm.py", line 1066, in enable_disable_extensions | ||
self.postgresql.enable_disable_extensions(extensions, database) | ||
File "/var/lib/juju/agents/unit-postgresql-0/charm/lib/charms/tempo_coordinator_k8s/v0/charm_tracing.py", line 1064, in wrapped_function | ||
return callable(*args, **kwargs) # type: ignore | ||
File "/var/lib/juju/agents/unit-postgresql-0/charm/lib/charms/postgresql_k8s/v0/postgresql.py", line 357, in enable_disable_extensions | ||
raise PostgreSQLEnableDisableExtensionError() | ||
charms.postgresql_k8s.v0.postgresql.PostgreSQLEnableDisableExtensionError | ||
|
||
[32mINFO [0m pytest_operator.plugin:plugin.py:991 Forgetting model main... |
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,3 @@ | ||
[32mINFO [0m integration.ha_tests.helpers:helpers.py:103 Initial writes {'test.postgresql-1': 58} | ||
[32mINFO [0m integration.ha_tests.helpers:helpers.py:113 Retry writes {'test.postgresql-1': 58} | ||
[32mINFO [0m integration.ha_tests.helpers:helpers.py:113 Retry writes {'test.postgresql-1': 1282, 'test.postgresql-3': 1283} |
Oops, something went wrong.