-
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
e5d4cfa
commit 99f2d1f
Showing
324 changed files
with
6,088 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,55 @@ | ||
[32mINFO [0m integration.ha_tests.test_self_healing:test_self_healing.py:398 checking whether the connectivity to the database is working | ||
[32mINFO [0m integration.ha_tests.test_self_healing:test_self_healing.py:403 Cutting network for postgresql/2 | ||
[32mINFO [0m integration.ha_tests.test_self_healing:test_self_healing.py:409 checking for no connectivity between postgresql/2 and postgresql/3 | ||
[32mINFO [0m integration.ha_tests.test_self_healing:test_self_healing.py:409 checking for no connectivity between postgresql/2 and postgresql/0 | ||
[32mINFO [0m integration.ha_tests.test_self_healing:test_self_healing.py:416 checking for no connectivity between postgresql/2 and the controller | ||
[32mINFO [0m integration.ha_tests.test_self_healing:test_self_healing.py:423 checking whether the connectivity to the database is not working | ||
[32mINFO [0m integration.ha_tests.test_self_healing:test_self_healing.py:429 checking whether writes are increasing | ||
[32mINFO [0m integration.ha_tests.test_self_healing:test_self_healing.py:432 checking whether a new primary was elected | ||
[32mINFO [0m integration.ha_tests.test_self_healing:test_self_healing.py:439 Restoring network for postgresql/2 | ||
[32mINFO [0m integration.ha_tests.test_self_healing:test_self_healing.py:444 waiting for cluster to become idle after updating member IP | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/0 [idle] active: | ||
postgresql/2 [idle] active: Primary | ||
postgresql/3 [idle] active: Primary | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/0 [executing] maintenance: reconfiguring cluster | ||
postgresql/2 [idle] active: Primary | ||
postgresql/3 [executing] active: Primary | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/0 [executing] maintenance: reconfiguring cluster | ||
postgresql/3 [idle] active: Primary | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/0 [executing] maintenance: reconfiguring cluster | ||
postgresql/2 [executing] active: Primary | ||
postgresql/3 [idle] active: Primary | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/0 [executing] maintenance: reconfiguring cluster | ||
postgresql/2 [idle] active: Primary | ||
postgresql/3 [executing] active: Primary | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/0 [executing] maintenance: reconfiguring cluster | ||
postgresql/3 [idle] active: Primary | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/0 [executing] maintenance: reconfiguring cluster | ||
postgresql/2 [executing] active: Primary | ||
postgresql/3 [executing] active: Primary | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/0 [executing] maintenance: reconfiguring cluster | ||
postgresql/2 [idle] waiting: awaiting for member to start | ||
postgresql/3 [executing] active: | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/0 [idle] active: | ||
postgresql/2 [idle] waiting: awaiting for member to start | ||
postgresql/3 [idle] active: Primary | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/0 [idle] active: | ||
postgresql/2 [idle] active: | ||
postgresql/3 [idle] active: Primary | ||
[32mINFO [0m integration.ha_tests.test_self_healing:test_self_healing.py:455 waiting for IP address to be updated on Juju unit | ||
[32mINFO [0m integration.ha_tests.test_self_healing:test_self_healing.py:459 waiting for the database service to be ready on postgresql/2 | ||
[32mINFO [0m integration.ha_tests.test_self_healing:test_self_healing.py:463 checking whether the connectivity to the database is working | ||
[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,23 @@ | ||
[32mINFO [0m juju.model:model.py:2097 Deploying ch:amd64/jammy/postgresql-test-app-225 | ||
[32mINFO [0m juju.model:model.py:2097 Deploying ch:amd64/jammy/postgresql-test-app-225 | ||
[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 [idle] active: | ||
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:232 Verify that the charm remains blocked if there are other blocking relations | ||
[32mINFO [0m integration.test_db:test_db.py:243 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] blocked: roles requested through relation, use postgresql_client interface instead | ||
postgresql/3 [executing] 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,11 @@ | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/0 [idle] active: | ||
postgresql/2 [executing] active: | ||
postgresql/3 [executing] active: | ||
postgresql-test-app/0 [idle] active: received database credentials of the first database | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/0 [executing] active: | ||
postgresql/2 [executing] active: | ||
postgresql/3 [executing] active: | ||
[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,67 @@ | ||
[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] maintenance: installing PostgreSQL | ||
postgresql/1 [executing] waiting: agent initialising | ||
postgresql/2 [executing] maintenance: installing PostgreSQL | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/0 [executing] waiting: waiting to start 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 [executing] active: Primary | ||
postgresql/1 [executing] waiting: awaiting for cluster to start | ||
postgresql/2 [executing] waiting: awaiting for cluster to start | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/0 [executing] active: Primary | ||
postgresql/1 [executing] waiting: awaiting for cluster to start | ||
postgresql/2 [executing] waiting: awaiting for cluster to start | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/0 [executing] maintenance: reconfiguring cluster | ||
postgresql/1 [executing] waiting: awaiting for cluster to start | ||
postgresql/2 [executing] waiting: awaiting for cluster to start | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/0 [executing] maintenance: reconfiguring cluster | ||
postgresql/1 [executing] active: | ||
postgresql/2 [idle] waiting: awaiting for cluster to start | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/0 [executing] maintenance: reconfiguring cluster | ||
postgresql/1 [idle] active: | ||
postgresql/2 [idle] waiting: awaiting for cluster to start | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/0 [executing] maintenance: reconfiguring cluster | ||
postgresql/1 [idle] active: | ||
postgresql/2 [idle] waiting: awaiting for cluster to start | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/0 [executing] maintenance: reconfiguring cluster | ||
postgresql/2 [idle] waiting: awaiting for cluster to start | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/2 [idle] waiting: awaiting for cluster to start | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/2 [idle] waiting: awaiting for cluster to start | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/2 [idle] waiting: awaiting for cluster to start | ||
[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 [executing] active: Primary | ||
postgresql/1 [executing] active: | ||
postgresql/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,78 @@ | ||
[32mINFO [0m integration.ha_tests.test_self_healing:test_self_healing.py:488 checking whether the connectivity to the database is working | ||
[32mINFO [0m integration.ha_tests.test_self_healing:test_self_healing.py:493 Cutting network for postgresql/3 | ||
[32mINFO [0m integration.ha_tests.test_self_healing:test_self_healing.py:499 checking for no connectivity between postgresql/3 and postgresql/2 | ||
[32mINFO [0m integration.ha_tests.test_self_healing:test_self_healing.py:499 checking for no connectivity between postgresql/3 and postgresql/0 | ||
[32mINFO [0m integration.ha_tests.test_self_healing:test_self_healing.py:506 checking for no connectivity between postgresql/3 and the controller | ||
[32mINFO [0m integration.ha_tests.test_self_healing:test_self_healing.py:513 checking whether the connectivity to the database is not working | ||
[32mINFO [0m integration.ha_tests.test_self_healing:test_self_healing.py:519 checking whether writes are increasing | ||
[32mINFO [0m integration.ha_tests.test_self_healing:test_self_healing.py:522 checking whether a new primary was elected | ||
[32mINFO [0m integration.ha_tests.test_self_healing:test_self_healing.py:529 Restoring network for postgresql/3 | ||
[32mINFO [0m integration.ha_tests.test_self_healing:test_self_healing.py:533 waiting for cluster to become idle | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/0 [idle] active: Primary | ||
postgresql/2 [idle] active: | ||
postgresql/3 [idle] active: Primary | ||
[32mINFO [0m juju.model:model.py:2971 Waiting for model: | ||
postgresql/0 [idle] active: | ||
postgresql/2 [idle] active: | ||
postgresql/3 [idle] active: | ||
[32mINFO [0m integration.ha_tests.test_self_healing:test_self_healing.py:538 waiting for the database service to be ready on postgresql/3 | ||
[32mINFO [0m integration.ha_tests.test_self_healing:test_self_healing.py:542 checking whether the connectivity to the database is working | ||
[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 | ||
[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:26:11Z | ||
|
||
App Version Status Scale Charm Channel Rev Exposed Message | ||
postgresql 14.12 active 3 postgresql 0 no | ||
postgresql-test-app active 1 postgresql-test-app latest/edge 225 no received database credentials of the first database | ||
|
||
Unit Workload Agent Machine Public address Ports Message | ||
postgresql-test-app/0* active idle 3 10.91.1.51 received database credentials of the first database | ||
postgresql/0* active idle 0 10.91.1.146 5432/tcp Primary | ||
postgresql/2 active idle 2 10.91.1.164 5432/tcp | ||
postgresql/3 active idle 4 10.91.1.246 5432/tcp | ||
|
||
Machine State Address Inst id Base AZ Message | ||
0 started 10.91.1.146 juju-be0c10-0 [email protected] Running | ||
2 started 10.91.1.164 juju-be0c10-2 [email protected] Running | ||
3 started 10.91.1.51 juju-be0c10-3 [email protected] Running | ||
4 started 10.91.1.246 juju-be0c10-4 [email protected] Running | ||
|
||
[32mINFO [0m pytest_operator.plugin:plugin.py:909 Juju error logs: | ||
|
||
machine-0: 01:35:07 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-0: 01:35:07 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
unit-postgresql-0: 01:35:08 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
machine-1: 01:35:15 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-1: 01:35:15 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
unit-postgresql-1: 01:35:16 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
machine-2: 01:35:19 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-2: 01:35:19 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-3: 01:35:19 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-3: 01:35:19 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
unit-postgresql-2: 01:35:20 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
unit-postgresql-test-app-0: 01:35:20 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
machine-4: 01:48:30 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
machine-4: 01:48:30 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available | ||
unit-postgresql-3: 01:48:30 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk | ||
machine-2: 02:16:49 ERROR juju.worker.dependency "api-caller" manifold worker returned unexpected error: api connection broken unexpectedly | ||
machine-2: 02:16:49 ERROR juju.worker.uniter.metrics failed to close the collect-metrics listener: close unix /var/lib/juju/agents/unit-postgresql-2/4054036210/s: use of closed network connection | ||
machine-2: 02:16:52 ERROR juju.worker.dependency "api-caller" manifold worker returned unexpected error: [6cca1d] "machine-2" cannot open api: unable to connect to API: dial tcp 10.91.1.81:17070: connect: network is unreachable | ||
machine-2: 02:16:56 ERROR juju.worker.dependency "api-caller" manifold worker returned unexpected error: [6cca1d] "machine-2" cannot open api: unable to connect to API: dial tcp 10.91.1.81:17070: connect: network is unreachable | ||
machine-2: 02:17:01 ERROR juju.worker.dependency "api-caller" manifold worker returned unexpected error: [6cca1d] "machine-2" cannot open api: unable to connect to API: dial tcp 10.91.1.81:17070: connect: network is unreachable | ||
machine-2: 02:17:06 ERROR juju.worker.dependency "api-caller" manifold worker returned unexpected error: [6cca1d] "machine-2" cannot open api: unable to connect to API: dial tcp 10.91.1.81:17070: connect: network is unreachable | ||
machine-4: 02:24:00 ERROR juju.worker.dependency "api-caller" manifold worker returned unexpected error: api connection broken unexpectedly | ||
machine-4: 02:24:03 ERROR juju.worker.dependency "api-caller" manifold worker returned unexpected error: [6cca1d] "machine-4" cannot open api: unable to connect to API: dial tcp 10.91.1.81:17070: connect: no route to host | ||
machine-4: 02:24:09 ERROR juju.worker.dependency "api-caller" manifold worker returned unexpected error: [6cca1d] "machine-4" cannot open api: unable to connect to API: dial tcp 10.91.1.81:17070: connect: no route to host | ||
machine-4: 02:24:16 ERROR juju.worker.dependency "api-caller" manifold worker returned unexpected error: [6cca1d] "machine-4" cannot open api: unable to connect to API: dial tcp 10.91.1.81:17070: connect: no route to host | ||
machine-4: 02:24:22 ERROR juju.worker.dependency "api-caller" manifold worker returned unexpected error: [6cca1d] "machine-4" cannot open api: unable to connect to API: dial tcp 10.91.1.81:17070: connect: no route to host | ||
machine-4: 02:24:28 ERROR juju.worker.dependency "api-caller" manifold worker returned unexpected error: [6cca1d] "machine-4" cannot open api: unable to connect to API: dial tcp 10.91.1.81:17070: connect: no route to host | ||
machine-4: 02:24:37 ERROR juju.worker.dependency "api-caller" manifold worker returned unexpected error: [6cca1d] "machine-4" cannot open api: unable to connect to API: dial tcp 10.91.1.81:17070: connect: no route to host | ||
machine-4: 02:24:46 ERROR juju.worker.dependency "api-caller" manifold worker returned unexpected error: [6cca1d] "machine-4" cannot open api: unable to connect to API: dial tcp 10.91.1.81:17070: connect: no route to host | ||
|
||
[32mINFO [0m pytest_operator.plugin:plugin.py:991 Forgetting model main... |
Oops, something went wrong.