-
Notifications
You must be signed in to change notification settings - Fork 19
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
f5a0eb0
commit d51202c
Showing
313 changed files
with
5,893 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,32 @@ | ||
[32mINFO [0m pytest_operator.plugin:plugin.py:766 Connecting to existing model localhost-localhost:test on unspecified cloud | ||
[32mINFO [0m juju.model:model.py:2097 Deploying ch:amd64/jammy/postgresql-test-app-242 | ||
[32mINFO [0m juju.model:model.py:2097 Deploying ch:amd64/jammy/postgresql-test-app-242 | ||
[32mINFO [0m juju.model:model.py:2097 Deploying local:postgresql-0 | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/0 [allocating] waiting: waiting for machine | ||
database-app/0 [allocating] waiting: waiting for machine | ||
db-app/0 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/0 [allocating] waiting: waiting for machine | ||
database-app/0 [allocating] waiting: waiting for machine | ||
db-app/0 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/0 [allocating] waiting: waiting for machine | ||
database-app/0 [allocating] waiting: waiting for machine | ||
db-app/0 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/0 [allocating] waiting: waiting for machine | ||
database-app/0 [allocating] waiting: waiting for machine | ||
db-app/0 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/0 [allocating] waiting: waiting for machine | ||
database-app/0 [allocating] waiting: waiting for machine | ||
db-app/0 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/0 [executing] maintenance: installing PostgreSQL | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/0 [executing] waiting: waiting to start PostgreSQL | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/0 [executing] active: Primary | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/0 [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,89 @@ | ||
[32mINFO [0m integration.ha_tests.test_async_replication:test_async_replication.py:163 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 [idle] active: Primary | ||
postgresql/1 [idle] active: | ||
postgresql/2 [idle] active: | ||
data-integrator/0 [idle] active: | ||
postgresql-test-app/0 [idle] active: | ||
[32mINFO [0m integration.ha_tests.test_async_replication:test_async_replication.py:166 checking whether writes are increasing | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/0 [idle] active: Primary | ||
postgresql/1 [idle] active: | ||
postgresql/2 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/0 [idle] active: | ||
postgresql/1 [idle] active: | ||
postgresql/2 [idle] active: Primary | ||
[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: | ||
postgresql/1 [idle] active: | ||
postgresql/2 [idle] active: Primary | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/0 [idle] active: Primary | ||
postgresql/1 [idle] active: | ||
postgresql/2 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/0 [idle] active: | ||
postgresql/2 [idle] active: Primary | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/0 [executing] active: Primary | ||
[32mINFO [0m integration.ha_tests.test_async_replication:test_async_replication.py:198 checking whether writes are increasing | ||
[32mINFO [0m integration.ha_tests.test_async_replication:test_async_replication.py:202 Get leader unit | ||
[32mINFO [0m integration.ha_tests.test_async_replication:test_async_replication.py:205 promoting the first cluster | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/0 [executing] active: | ||
postgresql/1 [executing] active: | ||
postgresql/2 [executing] active: Primary | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/0 [executing] maintenance: Creating replication... | ||
postgresql/1 [executing] active: | ||
postgresql/2 [executing] active: | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/0 [idle] waiting: Waiting for the database to be stopped in all units | ||
postgresql/1 [executing] waiting: Waiting for the database to be stopped in all units | ||
postgresql/2 [executing] waiting: Waiting for the database to be stopped in all units | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/0 [executing] active: Primary | ||
postgresql/1 [executing] active: | ||
postgresql/2 [executing] active: | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/0 [idle] waiting: Waiting for the database to be stopped in all units | ||
postgresql/1 [idle] waiting: Waiting for the standby leader start the database | ||
postgresql/2 [idle] waiting: Still starting the database in the standby leader | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/0 [executing] waiting: Waiting for the database to start | ||
postgresql/2 [executing] waiting: Waiting for the database to be started in all units | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/0 [idle] waiting: Waiting for the database to start | ||
postgresql/2 [executing] waiting: Waiting for the database to be started in all units | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/2 [executing] active: | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/2 [executing] waiting: Waiting for the database to be started in all units | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/2 [executing] active: | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/2 [executing] active: Standby | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/2 [executing] active: Standby | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/2 [executing] active: Standby | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/0 [executing] active: | ||
postgresql/1 [executing] active: | ||
postgresql/2 [executing] active: Standby | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/0 [executing] active: | ||
postgresql/1 [executing] active: | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/0 [executing] active: | ||
postgresql/1 [executing] active: | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/0 [executing] active: | ||
postgresql/1 [executing] active: | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/1 [executing] active: | ||
[32mINFO [0m integration.ha_tests.test_async_replication:test_async_replication.py:222 checking whether writes are increasing | ||
[32mINFO [0m integration.ha_tests.test_async_replication:test_async_replication.py:227 checking whether no writes were lost |
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,23 @@ | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/0 [idle] active: | ||
postgresql/1 [idle] active: | ||
postgresql/2 [idle] active: Primary | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/0 [executing] active: | ||
postgresql/1 [executing] waiting: Awaiting restart operation | ||
postgresql/2 [idle] active: Primary | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/0 [idle] active: | ||
postgresql/1 [executing] maintenance: Executing restart operation | ||
postgresql/2 [idle] active: Primary | ||
[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: | ||
postgresql/1 [idle] active: | ||
postgresql/2 [idle] active: Primary | ||
[32mINFO [0m integration.test_charm:test_charm.py:206 connecting to the database host: 10.187.247.189 | ||
[32mINFO [0m integration.test_charm:test_charm.py:206 connecting to the database host: 10.187.247.149 | ||
[32mINFO [0m integration.test_charm:test_charm.py:206 connecting to the database host: 10.187.247.156 |
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,70 @@ | ||
[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:2971 Waiting for model: | ||
postgresql/0 [idle] blocked: ready to rollback application | ||
postgresql/1 [idle] waiting: other units upgrading first... | ||
postgresql/2 [idle] 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: updating configuration | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/0 [executing] maintenance: updating configuration | ||
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 [idle] active: Primary | ||
[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:903 Model status: | ||
|
||
Model Controller Cloud/Region Version SLA Timestamp | ||
test localhost-localhost localhost/localhost 3.4.5 unsupported 01:50:27Z | ||
|
||
App Version Status Scale Charm Channel Rev Exposed Message | ||
postgresql 14.12 active 3 postgresql 2 no | ||
postgresql-test-app active 1 postgresql-test-app latest/edge 242 no received database credentials of the first database | ||
|
||
Unit Workload Agent Machine Public address Ports Message | ||
postgresql-test-app/0* active idle 3 10.187.247.153 received database credentials of the first database | ||
postgresql/0* active idle 0 10.187.247.54 5432/tcp Primary | ||
postgresql/1 active idle 1 10.187.247.80 5432/tcp | ||
postgresql/2 active idle 2 10.187.247.195 5432/tcp | ||
|
||
Machine State Address Inst id Base AZ Message | ||
0 started 10.187.247.54 juju-f5d376-0 [email protected] Running | ||
1 started 10.187.247.80 juju-f5d376-1 [email protected] Running | ||
2 started 10.187.247.195 juju-f5d376-2 [email protected] Running | ||
3 started 10.187.247.153 juju-f5d376-3 [email protected] Running | ||
|
||
[32mINFO [0m pytest_operator.plugin:plugin.py:909 Juju error logs: | ||
|
||
machine-0: 01:36:36 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-0: 01:36:36 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
unit-postgresql-0: 01:36:36 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
machine-1: 01:36:40 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-1: 01:36:40 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
unit-postgresql-1: 01:36:40 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
machine-3: 01:36:42 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-3: 01:36:43 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
unit-postgresql-test-app-0: 01:36:43 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
machine-2: 01:36:46 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-2: 01:36:46 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
unit-postgresql-2: 01:36:46 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
unit-postgresql-0: 01:47:46 ERROR unit.postgresql/0.juju-log charms.data_platform_libs.v0.upgrade.VersionError - {'message': 'Versions incompatible, snap 14.12 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:991 Forgetting model main... |
Oops, something went wrong.