generated from canonical/template-operator
-
Notifications
You must be signed in to change notification settings - Fork 5
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
cdf1853
commit de6fee3
Showing
203 changed files
with
3,025 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 @@ | ||
[32mINFO [0m pytest_operator.plugin:plugin.py:766 Connecting to existing model microk8s-localhost:test on unspecified cloud | ||
[32mINFO [0m juju.model:model.py:2098 Deploying local:jammy/pgbouncer-k8s-0 | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
pgbouncer-k8s (waiting for exactly 3 units, current : 2) | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
pgbouncer-k8s/0 [executing] blocked: waiting for backend database relation to initialise | ||
pgbouncer-k8s/1 [executing] blocked: waiting for backend database relation to initialise | ||
pgbouncer-k8s/2 [executing] blocked: waiting for backend database relation to initialise |
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,108 @@ | ||
[32mINFO [0m integration.test_upgrade:test_upgrade.py:162 starting continuous writes to the database | ||
[32mINFO [0m integration.test_upgrade:test_upgrade.py:166 checking whether writes are increasing | ||
[32mINFO [0m httpx:_client.py:1038 HTTP Request: GET https://10.1.0.201:16443/api/v1/namespaces/test/pods/postgresql-k8s-0 "HTTP/1.1 200 OK" | ||
[32mINFO [0m httpx:_client.py:1038 HTTP Request: GET https://10.1.0.201:16443/api/v1/namespaces/test/pods/postgresql-k8s-1 "HTTP/1.1 200 OK" | ||
[32mINFO [0m httpx:_client.py:1038 HTTP Request: GET https://10.1.0.201:16443/api/v1/namespaces/test/pods/postgresql-k8s-0 "HTTP/1.1 200 OK" | ||
[32mINFO [0m httpx:_client.py:1038 HTTP Request: GET https://10.1.0.201:16443/api/v1/namespaces/test/pods/postgresql-k8s-1 "HTTP/1.1 200 OK" | ||
[32mINFO [0m httpx:_client.py:1038 HTTP Request: GET https://10.1.0.201:16443/api/v1/namespaces/test/pods/postgresql-k8s-0 "HTTP/1.1 200 OK" | ||
[32mINFO [0m httpx:_client.py:1038 HTTP Request: GET https://10.1.0.201:16443/api/v1/namespaces/test/pods/postgresql-k8s-1 "HTTP/1.1 200 OK" | ||
[32mINFO [0m integration.test_upgrade:test_upgrade.py:169 Get leader unit | ||
[32mINFO [0m integration.test_upgrade:test_upgrade.py:175 Run pre-upgrade-check action | ||
[32mINFO [0m integration.test_upgrade:test_upgrade.py:186 Inject dependency fault | ||
[32mINFO [0m integration.test_upgrade:test_upgrade.py:191 Refresh the charm | ||
[32mINFO [0m integration.test_upgrade:test_upgrade.py:194 Get first upgrading unit | ||
[32mINFO [0m integration.test_upgrade:test_upgrade.py:198 Wait for upgrade to fail on first upgrading unit | ||
[32mINFO [0m integration.test_upgrade:test_upgrade.py:205 Ensure continuous_writes while in failure state on remaining units | ||
[32mINFO [0m httpx:_client.py:1038 HTTP Request: GET https://10.1.0.201:16443/api/v1/namespaces/test/pods/postgresql-k8s-0 "HTTP/1.1 200 OK" | ||
[32mINFO [0m httpx:_client.py:1038 HTTP Request: GET https://10.1.0.201:16443/api/v1/namespaces/test/pods/postgresql-k8s-1 "HTTP/1.1 200 OK" | ||
[32mINFO [0m httpx:_client.py:1038 HTTP Request: GET https://10.1.0.201:16443/api/v1/namespaces/test/pods/postgresql-k8s-0 "HTTP/1.1 200 OK" | ||
[32mINFO [0m httpx:_client.py:1038 HTTP Request: GET https://10.1.0.201:16443/api/v1/namespaces/test/pods/postgresql-k8s-1 "HTTP/1.1 200 OK" | ||
[32mINFO [0m httpx:_client.py:1038 HTTP Request: GET https://10.1.0.201:16443/api/v1/namespaces/test/pods/postgresql-k8s-0 "HTTP/1.1 200 OK" | ||
[32mINFO [0m httpx:_client.py:1038 HTTP Request: GET https://10.1.0.201:16443/api/v1/namespaces/test/pods/postgresql-k8s-1 "HTTP/1.1 200 OK" | ||
[32mINFO [0m httpx:_client.py:1038 HTTP Request: GET https://10.1.0.201:16443/api/v1/namespaces/test/pods/postgresql-k8s-0 "HTTP/1.1 200 OK" | ||
[32mINFO [0m httpx:_client.py:1038 HTTP Request: GET https://10.1.0.201:16443/api/v1/namespaces/test/pods/postgresql-k8s-1 "HTTP/1.1 200 OK" | ||
[32mINFO [0m httpx:_client.py:1038 HTTP Request: GET https://10.1.0.201:16443/api/v1/namespaces/test/pods/postgresql-k8s-0 "HTTP/1.1 200 OK" | ||
[32mINFO [0m httpx:_client.py:1038 HTTP Request: GET https://10.1.0.201:16443/api/v1/namespaces/test/pods/postgresql-k8s-1 "HTTP/1.1 200 OK" | ||
[32mINFO [0m integration.test_upgrade:test_upgrade.py:208 Re-run pre-upgrade-check action | ||
[32mINFO [0m integration.test_upgrade:test_upgrade.py:212 Re-refresh the charm | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
pgbouncer-k8s/0 [idle] waiting: other units upgrading first... | ||
pgbouncer-k8s/1 [idle] waiting: other units upgrading first... | ||
pgbouncer-k8s/2 [executing] active: | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
pgbouncer-k8s/0 [idle] waiting: other units upgrading first... | ||
pgbouncer-k8s/1 [idle] waiting: other units upgrading first... | ||
pgbouncer-k8s/2 [idle] active: | ||
[32mINFO [0m integration.test_upgrade:test_upgrade.py:219 Resume upgrade | ||
[32mINFO [0m integration.test_upgrade:test_upgrade.py:223 Wait for application to recover | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
pgbouncer-k8s/0 [idle] waiting: other units upgrading first... | ||
pgbouncer-k8s/1 [executing] maintenance: | ||
pgbouncer-k8s/2 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
pgbouncer-k8s/0 [executing] waiting: other units upgrading first... | ||
pgbouncer-k8s/1 [executing] active: | ||
pgbouncer-k8s/2 [executing] active: | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
pgbouncer-k8s/0 [executing] waiting: pgbouncer not running | ||
pgbouncer-k8s/1 [idle] active: | ||
pgbouncer-k8s/2 [idle] active: | ||
[32mINFO [0m integration.test_upgrade:test_upgrade.py:227 Ensure continuous_writes after rollback procedure | ||
[32mINFO [0m httpx:_client.py:1038 HTTP Request: GET https://10.1.0.201:16443/api/v1/namespaces/test/pods/postgresql-k8s-0 "HTTP/1.1 200 OK" | ||
[32mINFO [0m httpx:_client.py:1038 HTTP Request: GET https://10.1.0.201:16443/api/v1/namespaces/test/pods/postgresql-k8s-1 "HTTP/1.1 200 OK" | ||
[32mINFO [0m httpx:_client.py:1038 HTTP Request: GET https://10.1.0.201:16443/api/v1/namespaces/test/pods/postgresql-k8s-0 "HTTP/1.1 200 OK" | ||
[32mINFO [0m httpx:_client.py:1038 HTTP Request: GET https://10.1.0.201:16443/api/v1/namespaces/test/pods/postgresql-k8s-1 "HTTP/1.1 200 OK" | ||
[32mINFO [0m httpx:_client.py:1038 HTTP Request: GET https://10.1.0.201:16443/api/v1/namespaces/test/pods/postgresql-k8s-0 "HTTP/1.1 200 OK" | ||
[32mINFO [0m httpx:_client.py:1038 HTTP Request: GET https://10.1.0.201:16443/api/v1/namespaces/test/pods/postgresql-k8s-1 "HTTP/1.1 200 OK" | ||
[32mINFO [0m integration.test_upgrade:test_upgrade.py:232 Checking whether no writes were lost | ||
[32mINFO [0m httpx:_client.py:1038 HTTP Request: GET https://10.1.0.201:16443/api/v1/namespaces/test/pods/postgresql-k8s-0 "HTTP/1.1 200 OK" | ||
[32mINFO [0m httpx:_client.py:1038 HTTP Request: GET https://10.1.0.201:16443/api/v1/namespaces/test/pods/postgresql-k8s-1 "HTTP/1.1 200 OK" | ||
[32mINFO [0m pytest_operator.plugin:plugin.py:903 Model status: | ||
|
||
Model Controller Cloud/Region Version SLA Timestamp | ||
test microk8s-localhost microk8s/localhost 3.4.6 unsupported 01:55:47Z | ||
|
||
App Version Status Scale Charm Channel Rev Address Exposed Message | ||
pgbouncer-k8s 1.21.0 active 3 pgbouncer-k8s 2 10.152.183.36 no | ||
postgresql-k8s 14.13 active 3 postgresql-k8s 14/edge 419 10.152.183.185 no | ||
postgresql-test-app active 1 postgresql-test-app latest/edge 263 10.152.183.163 no received database credentials of the first database | ||
|
||
Unit Workload Agent Address Ports Message | ||
pgbouncer-k8s/0 active idle 10.1.139.216 | ||
pgbouncer-k8s/1 active idle 10.1.139.215 | ||
pgbouncer-k8s/2* active idle 10.1.139.214 | ||
postgresql-k8s/0* active idle 10.1.139.207 Primary | ||
postgresql-k8s/1 active idle 10.1.139.209 | ||
postgresql-k8s/2 active idle 10.1.139.208 | ||
postgresql-test-app/0* active idle 10.1.139.200 received database credentials of the first database | ||
|
||
[32mINFO [0m pytest_operator.plugin:plugin.py:909 Juju error logs: | ||
|
||
unit-pgbouncer-k8s-2: 01:49:18 ERROR unit.pgbouncer-k8s/2.juju-log pgbouncer not running | ||
unit-pgbouncer-k8s-2: 01:49:20 ERROR unit.pgbouncer-k8s/2.juju-log pgbouncer not running | ||
unit-pgbouncer-k8s-2: 01:49:21 ERROR unit.pgbouncer-k8s/2.juju-log pgbouncer not running | ||
unit-pgbouncer-k8s-1: 01:50:16 ERROR unit.pgbouncer-k8s/1.juju-log pgbouncer not running | ||
unit-pgbouncer-k8s-1: 01:50:19 ERROR unit.pgbouncer-k8s/1.juju-log pgbouncer not running | ||
unit-pgbouncer-k8s-1: 01:50:20 ERROR unit.pgbouncer-k8s/1.juju-log pgbouncer not running | ||
unit-pgbouncer-k8s-1: 01:50:22 ERROR unit.pgbouncer-k8s/1.juju-log pgbouncer not running | ||
unit-pgbouncer-k8s-0: 01:50:54 ERROR unit.pgbouncer-k8s/0.juju-log pgbouncer not running | ||
unit-pgbouncer-k8s-0: 01:50:57 ERROR unit.pgbouncer-k8s/0.juju-log pgbouncer not running | ||
unit-pgbouncer-k8s-0: 01:50:59 ERROR unit.pgbouncer-k8s/0.juju-log pgbouncer not running | ||
unit-pgbouncer-k8s-0: 01:51:00 ERROR unit.pgbouncer-k8s/0.juju-log pgbouncer not running | ||
unit-pgbouncer-k8s-2: 01:52:34 ERROR unit.pgbouncer-k8s/2.juju-log charms.data_platform_libs.v0.upgrade.VersionError - {'message': 'Versions incompatible, charm 1 can not be upgraded to 15.0', 'cause': 'Upgrades only supported for specific versions, charm versions satisfying requirement ^15', 'resolution': ''} | ||
unit-pgbouncer-k8s-2: 01:52:36 ERROR unit.pgbouncer-k8s/2.juju-log pgbouncer not running | ||
unit-pgbouncer-k8s-2: 01:52:38 ERROR unit.pgbouncer-k8s/2.juju-log pgbouncer not running | ||
unit-pgbouncer-k8s-2: 01:52:40 ERROR unit.pgbouncer-k8s/2.juju-log pgbouncer not running | ||
unit-pgbouncer-k8s-2: 01:53:13 ERROR unit.pgbouncer-k8s/2.juju-log pgbouncer not running | ||
unit-pgbouncer-k8s-2: 01:53:16 ERROR unit.pgbouncer-k8s/2.juju-log pgbouncer not running | ||
unit-pgbouncer-k8s-2: 01:53:17 ERROR unit.pgbouncer-k8s/2.juju-log pgbouncer not running | ||
unit-pgbouncer-k8s-1: 01:54:14 ERROR unit.pgbouncer-k8s/1.juju-log pgbouncer not running | ||
unit-pgbouncer-k8s-1: 01:54:17 ERROR unit.pgbouncer-k8s/1.juju-log pgbouncer not running | ||
unit-pgbouncer-k8s-1: 01:54:19 ERROR unit.pgbouncer-k8s/1.juju-log pgbouncer not running | ||
unit-pgbouncer-k8s-1: 01:54:20 ERROR unit.pgbouncer-k8s/1.juju-log pgbouncer not running | ||
unit-pgbouncer-k8s-0: 01:54:49 ERROR unit.pgbouncer-k8s/0.juju-log pgbouncer not running | ||
unit-pgbouncer-k8s-0: 01:54:51 ERROR unit.pgbouncer-k8s/0.juju-log pgbouncer not running | ||
unit-pgbouncer-k8s-0: 01:54:53 ERROR unit.pgbouncer-k8s/0.juju-log pgbouncer not running | ||
unit-pgbouncer-k8s-0: 01:54:54 ERROR unit.pgbouncer-k8s/0.juju-log pgbouncer not running | ||
|
||
[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,44 @@ | ||
[32mINFO [0m juju.model:model.py:2098 Deploying ch:amd64/focal/mattermost-k8s-27 | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
mattermost-k8s/0 [allocating] waiting: installing agent | ||
mattermost-k8s/1 [allocating] waiting: installing agent | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
mattermost-k8s/0 [executing] waiting: Waiting for database relation | ||
mattermost-k8s/1 [executing] waiting: Waiting for database relation | ||
[33mWARNING [0m juju.model:model.py:1564 relate is deprecated and will be removed. Use integrate instead. | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
mattermost-k8s/0 [idle] waiting: Waiting for database relation | ||
mattermost-k8s/1 [idle] waiting: Waiting for database relation | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
mattermost-k8s/0 [executing] waiting: Waiting for database relation | ||
mattermost-k8s/1 [executing] waiting: Waiting for database relation | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
mattermost-k8s/0 [executing] active: | ||
mattermost-k8s/1 [executing] active: | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
mattermost-k8s/0 [idle] active: | ||
mattermost-k8s/1 [idle] active: | ||
[32mINFO [0m pytest_operator.plugin:plugin.py:903 Model status: | ||
|
||
Model Controller Cloud/Region Version SLA Timestamp | ||
test microk8s-localhost microk8s/localhost 3.4.6 unsupported 02:00:23Z | ||
|
||
App Version Status Scale Charm Channel Rev Address Exposed Message | ||
pgbouncer-k8s 1.21.0 active 2 pgbouncer-k8s 0 10.152.183.249 no | ||
postgresql-k8s 14.13 active 3 postgresql-k8s 14/edge 419 10.152.183.138 no | ||
postgresql-test-app active 1 postgresql-test-app latest/edge 263 10.152.183.113 no received database credentials of the first database | ||
self-signed-certificates active 1 self-signed-certificates latest/stable 155 10.152.183.139 no | ||
|
||
Unit Workload Agent Address Ports Message | ||
pgbouncer-k8s/0 active idle 10.1.175.72 | ||
pgbouncer-k8s/1* active idle 10.1.175.73 | ||
postgresql-k8s/0* active idle 10.1.175.79 Primary | ||
postgresql-k8s/1 active idle 10.1.175.80 | ||
postgresql-k8s/2 active idle 10.1.175.81 | ||
postgresql-test-app/0* active idle 10.1.175.74 received database credentials of the first database | ||
self-signed-certificates/0* active idle 10.1.175.78 | ||
|
||
[32mINFO [0m pytest_operator.plugin:plugin.py:909 Juju error logs: | ||
|
||
|
||
[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,16 @@ | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
pgbouncer-k8s (waiting for exactly 1 units, current : 2) | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql-test-app/0 [idle] active: received database credentials of the first database | ||
postgresql-k8s/0 [idle] active: Primary | ||
postgresql-k8s/1 [idle] active: | ||
pgbouncer-k8s/0 [idle] active: | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql-test-app/0 [idle] active: received database credentials of the first database | ||
postgresql-k8s/0 [idle] active: Primary | ||
postgresql-k8s/1 [idle] active: | ||
pgbouncer-k8s/0 [idle] active: | ||
[32mINFO [0m root:helpers.py:121 running query: | ||
DROP TABLE IF EXISTS smoke_test;CREATE TABLE smoke_test(data TEXT);INSERT INTO smoke_test(data) VALUES('some data');SELECT data FROM smoke_test; | ||
[32mINFO [0m root:helpers.py:122 {'dbname': 'postgresql_test_app_database', 'query': "DROP TABLE IF EXISTS smoke_test;CREATE TABLE smoke_test(data TEXT);INSERT INTO smoke_test(data) VALUES('some data');SELECT data FROM smoke_test;", 'relation-name': 'database', 'readonly': False} | ||
[32mINFO [0m root:helpers.py:125 query results: {'results': '[["some data"]]', 'return-code': 0, 'stderr': '/var/lib/juju/agents/unit-postgresql-test-app-0/charm/./src/charm.py:538: DeprecationWarning: Calling `ops.main.main()` is deprecated, call `ops.main()` instead\n main(ApplicationCharm)\n'} |
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,10 @@ | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql-test-app/0 [executing] active: received database credentials of the second database | ||
postgresql-k8s/0 [idle] active: Primary | ||
postgresql-k8s/1 [idle] active: | ||
pgbouncer-k8s/0 [executing] active: | ||
pgbouncer-k8s/1 [executing] active: | ||
[32mINFO [0m juju.model:model.py:2972 Waiting for model: | ||
postgresql-test-app/0 [idle] active: | ||
pgbouncer-k8s/0 [idle] active: | ||
pgbouncer-k8s/1 [idle] active: |
Oops, something went wrong.