-
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
fc97ec4
commit add212d
Showing
208 changed files
with
7,583 additions
and
2 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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 integration.ha_tests.helpers:helpers.py:196 checking that the former primary is now a replica | ||
[32mINFO [0m integration.ha_tests.helpers:helpers.py:202 checking that all units are part of the same cluster | ||
[32mINFO [0m integration.ha_tests.helpers:helpers.py:216 checking that no writes to the database were missed after stopping the writes | ||
[32mINFO [0m integration.ha_tests.helpers:helpers.py:220 checking that the former primary is up to date with the cluster after restarting |
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 integration.test_charm:test_charm.py:93 connecting to the database host: 10.107.142.49 | ||
[33mWARNING [0m integration.test_charm:test_charm.py:162 Asserting port ranges |
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,136 @@ | ||
[32mINFO [0m juju.model:model.py:2098 Deploying ch:amd64/jammy/self-signed-certificates-72 | ||
[33mWARNING [0m juju.model:model.py:1564 relate is deprecated and will be removed. Use integrate instead. | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
postgresql/0 [allocating] waiting: waiting for machine | ||
postgresql/1 [allocating] waiting: waiting for machine | ||
postgresql/2 [allocating] waiting: waiting for machine | ||
self-signed-certificates/0 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
postgresql/0 [allocating] waiting: waiting for machine | ||
postgresql/1 [allocating] waiting: waiting for machine | ||
postgresql/2 [allocating] waiting: waiting for machine | ||
self-signed-certificates/0 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
postgresql/0 [allocating] waiting: waiting for machine | ||
postgresql/1 [allocating] waiting: waiting for machine | ||
postgresql/2 [allocating] waiting: waiting for machine | ||
self-signed-certificates/0 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
postgresql/0 [allocating] waiting: waiting for machine | ||
postgresql/1 [allocating] waiting: waiting for machine | ||
postgresql/2 [allocating] waiting: waiting for machine | ||
self-signed-certificates/0 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
postgresql/0 [executing] maintenance: installing PostgreSQL | ||
postgresql/1 [executing] maintenance: installing PostgreSQL | ||
postgresql/2 [executing] maintenance: installing PostgreSQL | ||
self-signed-certificates/0 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
postgresql/0 [executing] maintenance: installing PostgreSQL | ||
postgresql/1 [executing] waiting: waiting to start PostgreSQL | ||
postgresql/2 [executing] maintenance: installing PostgreSQL | ||
self-signed-certificates/0 [executing] active: | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
postgresql/0 [executing] waiting: awaiting passwords generation | ||
postgresql/1 [executing] waiting: awaiting passwords generation | ||
postgresql/2 [executing] waiting: waiting to start PostgreSQL | ||
self-signed-certificates/0 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
postgresql/0 [executing] waiting: awaiting passwords generation | ||
postgresql/1 [executing] waiting: awaiting passwords generation | ||
postgresql/2 [executing] waiting: waiting to start PostgreSQL | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
postgresql/0 [executing] waiting: awaiting passwords generation | ||
postgresql/1 [executing] waiting: awaiting passwords generation | ||
postgresql/2 [executing] waiting: waiting to start PostgreSQL | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
postgresql/0 [idle] waiting: awaiting passwords generation | ||
postgresql/1 [executing] waiting: awaiting passwords generation | ||
postgresql/2 [executing] waiting: waiting to start PostgreSQL | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
postgresql/0 [idle] waiting: awaiting passwords generation | ||
postgresql/1 [idle] waiting: awaiting passwords generation | ||
postgresql/2 [executing] waiting: waiting to start PostgreSQL | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
postgresql/0 [idle] waiting: awaiting passwords generation | ||
postgresql/1 [idle] waiting: awaiting passwords generation | ||
postgresql/2 [executing] waiting: waiting to start PostgreSQL | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
postgresql/0 [idle] waiting: awaiting passwords generation | ||
postgresql/1 [idle] waiting: awaiting passwords generation | ||
postgresql/2 [executing] waiting: waiting to start PostgreSQL | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
postgresql/0 [idle] waiting: awaiting passwords generation | ||
postgresql/1 [idle] waiting: awaiting passwords generation | ||
postgresql/2 [executing] waiting: waiting to start PostgreSQL | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
postgresql/0 [idle] waiting: awaiting for cluster to start | ||
postgresql/1 [idle] waiting: awaiting for cluster to start | ||
postgresql/2 [executing] active: | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
postgresql/0 [executing] waiting: awaiting for cluster to start | ||
postgresql/1 [executing] waiting: awaiting for cluster to start | ||
postgresql/2 [executing] active: Primary | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
postgresql/0 [executing] waiting: awaiting for cluster to start | ||
postgresql/1 [executing] waiting: awaiting for cluster to start | ||
postgresql/2 [executing] active: | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
postgresql/0 [executing] waiting: awaiting for cluster to start | ||
postgresql/1 [executing] waiting: awaiting for cluster to start | ||
postgresql/2 [executing] active: Primary | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
postgresql/0 [idle] waiting: awaiting for cluster to start | ||
postgresql/1 [idle] waiting: awaiting for cluster to start | ||
postgresql/2 [executing] active: Primary | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
postgresql/0 [idle] waiting: awaiting for cluster to start | ||
postgresql/1 [idle] waiting: awaiting for cluster to start | ||
postgresql/2 [executing] maintenance: reconfiguring cluster | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
postgresql/0 [idle] waiting: awaiting for cluster to start | ||
postgresql/1 [idle] waiting: awaiting for cluster to start | ||
postgresql/2 [executing] maintenance: reconfiguring cluster | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
postgresql/0 [idle] waiting: awaiting for cluster to start | ||
postgresql/1 [idle] waiting: awaiting for cluster to start | ||
postgresql/2 [executing] maintenance: reconfiguring cluster | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
postgresql/0 [idle] waiting: awaiting for cluster to start | ||
postgresql/1 [idle] waiting: awaiting for cluster to start | ||
postgresql/2 [executing] maintenance: reconfiguring cluster | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
postgresql/0 [idle] waiting: awaiting for cluster to start | ||
postgresql/1 [idle] waiting: awaiting for cluster to start | ||
postgresql/2 [executing] maintenance: reconfiguring cluster | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
postgresql/0 [idle] waiting: awaiting for cluster to start | ||
postgresql/1 [idle] waiting: awaiting for cluster to start | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
postgresql/0 [idle] waiting: awaiting for cluster to start | ||
postgresql/1 [idle] waiting: awaiting for cluster to start | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
postgresql/0 [idle] waiting: awaiting for cluster to start | ||
postgresql/1 [idle] waiting: awaiting for cluster to start | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
postgresql/0 [executing] waiting: awaiting for cluster to start | ||
postgresql/1 [executing] waiting: awaiting for cluster to start | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
postgresql/0 [executing] waiting: awaiting for member to start | ||
postgresql/1 [idle] waiting: awaiting for member to start | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
postgresql/0 [idle] active: | ||
postgresql/1 [idle] active: | ||
postgresql/2 [executing] active: Primary | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
postgresql/0 [executing] active: | ||
postgresql/1 [executing] active: | ||
postgresql/2 [executing] active: Primary | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
postgresql/0 [idle] active: | ||
postgresql/1 [idle] active: | ||
postgresql/2 [idle] active: Primary | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
postgresql/0 [idle] active: | ||
postgresql/1 [idle] active: | ||
postgresql/2 [idle] active: Primary |
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.helpers:helpers.py:196 checking that the former primary is now a replica | ||
[32mINFO [0m integration.ha_tests.helpers:helpers.py:202 checking that all units are part of the same cluster | ||
[32mINFO [0m integration.ha_tests.helpers:helpers.py:216 checking that no writes to the database were missed after stopping the writes | ||
[32mINFO [0m integration.ha_tests.helpers:helpers.py:220 checking that the former primary is up to date with the cluster after restarting |
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,90 @@ | ||
[32mINFO [0m integration.ha_tests.test_upgrade:test_upgrade.py:123 starting continuous writes to the database | ||
[32mINFO [0m integration.ha_tests.test_upgrade:test_upgrade.py:127 checking whether writes are increasing | ||
[32mINFO [0m integration.ha_tests.test_upgrade:test_upgrade.py:130 Get leader unit | ||
[32mINFO [0m integration.ha_tests.test_upgrade:test_upgrade.py:134 Run pre-upgrade-check action | ||
[32mINFO [0m integration.ha_tests.test_upgrade:test_upgrade.py:146 Inject dependency fault | ||
[32mINFO [0m integration.ha_tests.test_upgrade:test_upgrade.py:151 Refresh the charm | ||
[32mINFO [0m integration.ha_tests.test_upgrade:test_upgrade.py:154 Wait for upgrade to fail | ||
[32mINFO [0m integration.ha_tests.test_upgrade:test_upgrade.py:161 Ensure continuous_writes while in failure state on remaining units | ||
[32mINFO [0m integration.ha_tests.test_upgrade:test_upgrade.py:164 Re-run pre-upgrade-check action | ||
[32mINFO [0m integration.ha_tests.test_upgrade:test_upgrade.py:168 Re-refresh the charm | ||
[32mINFO [0m integration.ha_tests.test_upgrade:test_upgrade.py:171 Wait for upgrade to start | ||
[32mINFO [0m integration.ha_tests.test_upgrade:test_upgrade.py:177 Wait for application to recover | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
postgresql/0 [idle] waiting: other units upgrading first... | ||
postgresql/1 [idle] waiting: other units upgrading first... | ||
postgresql/2 [idle] blocked: ready to rollback application | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
postgresql/0 [executing] maintenance: refreshing the snap | ||
postgresql/1 [idle] waiting: other units upgrading first... | ||
postgresql/2 [idle] waiting: other units upgrading first... | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
postgresql/0 [executing] maintenance: refreshing the snap | ||
postgresql/1 [idle] active: | ||
postgresql/2 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
postgresql/0 [idle] maintenance: upgrade completed | ||
postgresql/1 [idle] active: | ||
postgresql/2 [executing] maintenance: refreshing the snap | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
postgresql/0 [idle] maintenance: upgrade completed | ||
postgresql/1 [idle] active: | ||
postgresql/2 [executing] maintenance: refreshing the snap | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
postgresql/0 [idle] maintenance: upgrade completed | ||
postgresql/1 [executing] maintenance: updating configuration | ||
postgresql/2 [idle] maintenance: upgrade completed | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
postgresql/0 [executing] active: | ||
postgresql/1 [executing] active: | ||
postgresql/2 [executing] active: | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
postgresql/0 [executing] active: | ||
postgresql/1 [executing] active: | ||
postgresql/2 [executing] active: | ||
[32mINFO [0m juju.model:model.py:2958 Waiting for model: | ||
postgresql/1 [idle] active: | ||
[32mINFO [0m integration.ha_tests.test_upgrade:test_upgrade.py:183 Ensure continuous_writes after rollback procedure | ||
[32mINFO [0m integration.ha_tests.test_upgrade:test_upgrade.py:188 Checking whether no writes were lost | ||
[32mINFO [0m pytest_operator.plugin:plugin.py:862 Model status: | ||
|
||
Model Controller Cloud/Region Version SLA Timestamp | ||
test localhost-localhost localhost/localhost 3.1.8 unsupported 01:56:56Z | ||
|
||
App Version Status Scale Charm Channel Rev Exposed Message | ||
postgresql 14.11 active 3 postgresql 2 no Primary | ||
postgresql-test-app active 1 postgresql-test-app latest/edge 127 no received database credentials of the first database | ||
|
||
Unit Workload Agent Machine Public address Ports Message | ||
postgresql-test-app/0* active idle 3 10.248.65.34 received database credentials of the first database | ||
postgresql/0 active idle 0 10.248.65.26 5432/tcp Primary | ||
postgresql/1 active idle 1 10.248.65.56 5432/tcp | ||
postgresql/2* active idle 2 10.248.65.130 5432/tcp | ||
|
||
Machine State Address Inst id Base AZ Message | ||
0 started 10.248.65.26 juju-66ebc7-0 [email protected] Running | ||
1 started 10.248.65.56 juju-66ebc7-1 [email protected] Running | ||
2 started 10.248.65.130 juju-66ebc7-2 [email protected] Running | ||
3 started 10.248.65.34 juju-66ebc7-3 [email protected] Running | ||
|
||
[32mINFO [0m pytest_operator.plugin:plugin.py:868 Juju error logs: | ||
|
||
machine-2: 01:32:33 ERROR juju.worker.dependency "broker-tracker" manifold worker returned unexpected error: no container types determined | ||
machine-2: 01:32:33 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-2: 01:32:33 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
unit-postgresql-2: 01:32:34 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
machine-3: 01:32:34 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-3: 01:32:34 ERROR juju.worker.dependency "broker-tracker" manifold worker returned unexpected error: no container types determined | ||
machine-3: 01:32:35 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
unit-postgresql-test-app-0: 01:32:35 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
machine-0: 01:32:44 ERROR juju.worker.dependency "broker-tracker" manifold worker returned unexpected error: no container types determined | ||
machine-0: 01:32:44 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-0: 01:32:44 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
unit-postgresql-0: 01:32:44 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
machine-1: 01:33:30 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-1: 01:33:30 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-1: 01:33:30 ERROR juju.worker.dependency "broker-tracker" manifold worker returned unexpected error: no container types determined | ||
unit-postgresql-1: 01:33:30 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
unit-postgresql-2: 01:52:11 ERROR unit.postgresql/2.juju-log charms.data_platform_libs.v0.upgrade.VersionError - {'message': 'Versions incompatible, snap 14.9 can not be upgraded to 15.0', 'cause': 'Upgrades only supported for specific versions, snap versions satisfying requirement ^15', 'resolution': ''} | ||
|
||
[32mINFO [0m pytest_operator.plugin:plugin.py:947 Forgetting model main... |
Oops, something went wrong.