-
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
a418341
commit 47a303f
Showing
296 changed files
with
5,409 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 integration.ha_tests.helpers:helpers.py:209 checking that the former primary is now a replica | ||
[32mINFO [0m integration.ha_tests.helpers:helpers.py:215 checking that all units are part of the same cluster | ||
[32mINFO [0m integration.ha_tests.helpers:helpers.py:229 checking that no writes to the database were missed after stopping the writes | ||
[32mINFO [0m integration.ha_tests.helpers:helpers.py:233 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,18 @@ | ||
[32mINFO [0m integration.ha_tests.test_async_replication:test_async_replication.py:511 starting continuous writes to the database | ||
[32mINFO [0m integration.ha_tests.test_async_replication:test_async_replication.py:514 checking whether writes are increasing | ||
[32mINFO [0m integration.ha_tests.test_async_replication:test_async_replication.py:518 Standby leader: postgresql-1 | ||
[32mINFO [0m integration.ha_tests.test_async_replication:test_async_replication.py:519 deleting the standby leader | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/0 [executing] active: | ||
postgresql/1 [executing] active: Standby | ||
postgresql/2 [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/2 [executing] active: | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/0 [idle] active: Standby | ||
postgresql/2 [executing] active: | ||
[32mINFO [0m integration.ha_tests.test_async_replication:test_async_replication.py:532 Ensure continuous_writes after the crashed unit | ||
[32mINFO [0m integration.ha_tests.test_async_replication:test_async_replication.py:537 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,167 @@ | ||
[32mINFO [0m integration.ha_tests.test_async_replication:test_async_replication.py:548 starting continuous writes to the database | ||
[32mINFO [0m integration.ha_tests.test_async_replication:test_async_replication.py:551 checking whether writes are increasing | ||
[32mINFO [0m integration.ha_tests.test_async_replication:test_async_replication.py:555 scaling out the first cluster | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/0 [idle] active: | ||
postgresql/1 [idle] active: Primary | ||
postgresql/3 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/3 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/3 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/3 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/3 [executing] maintenance: installing PostgreSQL | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/3 [executing] maintenance: installing PostgreSQL | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/0 [executing] active: | ||
postgresql/1 [executing] maintenance: reconfiguring cluster | ||
postgresql/3 [executing] waiting: waiting to start PostgreSQL | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/0 [executing] active: | ||
postgresql/1 [executing] maintenance: reconfiguring cluster | ||
postgresql/3 [executing] waiting: waiting to start PostgreSQL | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/0 [executing] active: | ||
postgresql/1 [executing] maintenance: reconfiguring cluster | ||
postgresql/3 [executing] waiting: waiting to start PostgreSQL | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/0 [idle] active: | ||
postgresql/1 [executing] maintenance: reconfiguring cluster | ||
postgresql/3 [executing] waiting: awaiting for member to start | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/0 [executing] active: | ||
postgresql/1 [executing] active: Primary | ||
postgresql/3 [executing] waiting: waiting for primary to be reachable from this unit | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/0 [idle] active: | ||
postgresql/1 [executing] active: Primary | ||
postgresql/3 [executing] active: | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/0 [executing] active: | ||
postgresql/1 [executing] active: Primary | ||
postgresql/3 [executing] active: | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/0 [idle] active: | ||
postgresql/1 [idle] active: Primary | ||
postgresql/3 [idle] active: | ||
[32mINFO [0m integration.ha_tests.test_async_replication:test_async_replication.py:559 checking whether writes are increasing | ||
[32mINFO [0m integration.ha_tests.test_async_replication:test_async_replication.py:562 scaling out the second cluster | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/0 [idle] active: Standby | ||
postgresql/2 [idle] active: | ||
postgresql/3 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/3 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/3 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/3 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/3 [allocating] waiting: agent initialising | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/3 [executing] maintenance: installing PostgreSQL | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/0 [executing] active: Standby | ||
postgresql/2 [executing] active: | ||
postgresql/3 [executing] waiting: waiting to start PostgreSQL | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/0 [idle] active: Standby | ||
postgresql/2 [executing] maintenance: reconfiguring cluster | ||
postgresql/3 [executing] waiting: waiting to start PostgreSQL | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/0 [idle] active: Standby | ||
postgresql/2 [executing] maintenance: reconfiguring cluster | ||
postgresql/3 [executing] waiting: waiting to start PostgreSQL | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/0 [executing] active: Standby | ||
postgresql/2 [executing] maintenance: reconfiguring cluster | ||
postgresql/3 [executing] waiting: waiting to start PostgreSQL | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/0 [executing] active: Standby | ||
postgresql/2 [executing] active: | ||
postgresql/3 [executing] active: | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/0 [executing] active: Standby | ||
postgresql/2 [idle] active: | ||
postgresql/3 [executing] waiting: waiting for primary to be reachable from this unit | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/0 [idle] active: Standby | ||
postgresql/2 [idle] active: | ||
postgresql/3 [executing] waiting: waiting for primary to be reachable from this unit | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/3 [executing] active: | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/3 [idle] active: | ||
[32mINFO [0m integration.ha_tests.test_async_replication:test_async_replication.py:568 checking whether writes are increasing | ||
[32mINFO [0m integration.ha_tests.test_async_replication:test_async_replication.py:571 scaling in the first cluster | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql (waiting for exactly 2 units, current : 3) | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/1 [idle] active: Primary | ||
postgresql/3 [idle] active: | ||
[32mINFO [0m integration.ha_tests.test_async_replication:test_async_replication.py:574 checking whether writes are increasing | ||
[32mINFO [0m integration.ha_tests.test_async_replication:test_async_replication.py:577 scaling in the second cluster | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql (waiting for exactly 2 units, current : 3) | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/2 [executing] maintenance: reconfiguring cluster | ||
postgresql/3 [executing] active: | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/2 [executing] active: | ||
postgresql/3 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/2 [idle] active: Standby | ||
[32mINFO [0m integration.ha_tests.test_async_replication:test_async_replication.py:582 checking whether writes are increasing | ||
[32mINFO [0m integration.ha_tests.test_async_replication:test_async_replication.py:587 checking whether no writes were lost | ||
[32mINFO [0m integration.ha_tests.test_async_replication:test_async_replication.py:86 Destroying second model | ||
[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 02:39:03Z | ||
|
||
App Version Status Scale Charm Channel Rev Exposed Message | ||
data-integrator active 1 data-integrator latest/edge 41 no | ||
postgresql 14.12 active 2 postgresql 0 no Primary | ||
postgresql-test-app active 1 postgresql-test-app latest/edge 229 no received database credentials of the first database | ||
|
||
Unit Workload Agent Machine Public address Ports Message | ||
data-integrator/0* active idle 3 10.122.213.117 | ||
postgresql-test-app/0* active idle 4 10.122.213.21 received database credentials of the first database | ||
postgresql/1* active idle 1 10.122.213.230 5432/tcp Primary | ||
postgresql/3 active idle 5 10.122.213.58 5432/tcp | ||
|
||
Machine State Address Inst id Base AZ Message | ||
1 started 10.122.213.230 juju-d76949-1 [email protected] Running | ||
3 started 10.122.213.117 juju-d76949-3 [email protected] Running | ||
4 started 10.122.213.21 juju-d76949-4 [email protected] Running | ||
5 started 10.122.213.58 juju-d76949-5 [email protected] Running | ||
|
||
Offer Application Charm Rev Connected Endpoint Interface Role | ||
replication postgresql postgresql 0 0/0 replication postgresql_async requirer | ||
replication-offer postgresql postgresql 0 1/1 replication-offer postgresql_async provider | ||
|
||
[32mINFO [0m pytest_operator.plugin:plugin.py:909 Juju error logs: | ||
|
||
machine-1: 01:38:22 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-3: 01:38:23 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-3: 01:38:23 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-1: 01:38:23 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
unit-data-integrator-0: 01:38:26 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
unit-postgresql-1: 01:38:27 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
machine-2: 01:38:30 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-2: 01:38:30 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-0: 01:38:30 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-0: 01:38:30 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
unit-postgresql-2: 01:38:32 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
unit-postgresql-0: 01:38:33 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
machine-4: 01:39:42 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-4: 01:39:42 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
unit-postgresql-test-app-0: 01:39:43 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
machine-5: 02:22:31 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-5: 02:22:31 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
unit-postgresql-3: 02:22:31 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
|
||
[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,66 @@ | ||
[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 local:jammy/postgresql-0 | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/0 [allocating] waiting: waiting for machine | ||
postgresql/1 [allocating] waiting: waiting for machine | ||
postgresql/2 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/0 [allocating] waiting: waiting for machine | ||
postgresql/1 [allocating] waiting: waiting for machine | ||
postgresql/2 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/0 [allocating] waiting: waiting for machine | ||
postgresql/1 [allocating] waiting: waiting for machine | ||
postgresql/2 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/0 [allocating] waiting: waiting for machine | ||
postgresql/1 [allocating] waiting: waiting for machine | ||
postgresql/2 [allocating] waiting: waiting for machine | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/0 [executing] waiting: agent initialising | ||
postgresql/1 [executing] maintenance: installing charm software | ||
postgresql/2 [executing] maintenance: installing PostgreSQL | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/0 [executing] maintenance: installing PostgreSQL | ||
postgresql/1 [executing] maintenance: installing PostgreSQL | ||
postgresql/2 [executing] maintenance: installing PostgreSQL | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/0 [idle] waiting: awaiting for cluster to start | ||
postgresql/1 [executing] waiting: awaiting for cluster to start | ||
postgresql/2 [executing] waiting: waiting to start PostgreSQL | ||
[32mINFO [0m juju.model:model.py:2971 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:2971 Waiting for model: | ||
postgresql/0 [executing] waiting: awaiting for cluster to start | ||
postgresql/1 [executing] waiting: awaiting for cluster to start | ||
postgresql/2 [executing] maintenance: reconfiguring cluster | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/0 [executing] active: | ||
postgresql/1 [idle] waiting: awaiting for cluster to start | ||
postgresql/2 [executing] active: Primary | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/0 [executing] active: | ||
postgresql/1 [idle] waiting: awaiting for cluster to start | ||
postgresql/2 [executing] active: | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/1 [idle] waiting: awaiting for cluster to start | ||
postgresql/2 [executing] maintenance: reconfiguring cluster | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/1 [idle] waiting: awaiting for cluster to start | ||
postgresql/2 [idle] active: Primary | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/1 [idle] waiting: awaiting for cluster to start | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/1 [idle] waiting: awaiting for cluster to start | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/1 [idle] waiting: awaiting for cluster to start | ||
[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] active: | ||
postgresql/1 [idle] active: | ||
postgresql/2 [idle] active: Primary |
Oops, something went wrong.