|
| 1 | +[32mINFO [0m integration.test_upgrade:test_upgrade.py:156 starting continuous writes to the database |
| 2 | +[32mINFO [0m integration.test_upgrade:test_upgrade.py:160 checking whether writes are increasing |
| 3 | +[32mINFO [0m httpx:_client.py:1025 HTTP Request: GET https://10.1.0.131:16443/api/v1/namespaces/testing/pods/postgresql-k8s-0 "HTTP/1.1 200 OK" |
| 4 | +[32mINFO [0m httpx:_client.py:1025 HTTP Request: GET https://10.1.0.131:16443/api/v1/namespaces/testing/pods/postgresql-k8s-1 "HTTP/1.1 200 OK" |
| 5 | +[32mINFO [0m httpx:_client.py:1025 HTTP Request: GET https://10.1.0.131:16443/api/v1/namespaces/testing/pods/postgresql-k8s-2 "HTTP/1.1 200 OK" |
| 6 | +[32mINFO [0m httpx:_client.py:1025 HTTP Request: GET https://10.1.0.131:16443/api/v1/namespaces/testing/pods/postgresql-k8s-0 "HTTP/1.1 200 OK" |
| 7 | +[32mINFO [0m httpx:_client.py:1025 HTTP Request: GET https://10.1.0.131:16443/api/v1/namespaces/testing/pods/postgresql-k8s-1 "HTTP/1.1 200 OK" |
| 8 | +[32mINFO [0m httpx:_client.py:1025 HTTP Request: GET https://10.1.0.131:16443/api/v1/namespaces/testing/pods/postgresql-k8s-2 "HTTP/1.1 200 OK" |
| 9 | +[32mINFO [0m httpx:_client.py:1025 HTTP Request: GET https://10.1.0.131:16443/api/v1/namespaces/testing/pods/postgresql-k8s-0 "HTTP/1.1 200 OK" |
| 10 | +[32mINFO [0m httpx:_client.py:1025 HTTP Request: GET https://10.1.0.131:16443/api/v1/namespaces/testing/pods/postgresql-k8s-1 "HTTP/1.1 200 OK" |
| 11 | +[32mINFO [0m httpx:_client.py:1025 HTTP Request: GET https://10.1.0.131:16443/api/v1/namespaces/testing/pods/postgresql-k8s-2 "HTTP/1.1 200 OK" |
| 12 | +[32mINFO [0m httpx:_client.py:1025 HTTP Request: GET https://10.1.0.131:16443/api/v1/namespaces/testing/pods/postgresql-k8s-0 "HTTP/1.1 200 OK" |
| 13 | +[32mINFO [0m httpx:_client.py:1025 HTTP Request: GET https://10.1.0.131:16443/api/v1/namespaces/testing/pods/postgresql-k8s-1 "HTTP/1.1 200 OK" |
| 14 | +[32mINFO [0m httpx:_client.py:1025 HTTP Request: GET https://10.1.0.131:16443/api/v1/namespaces/testing/pods/postgresql-k8s-2 "HTTP/1.1 200 OK" |
| 15 | +[32mINFO [0m integration.test_upgrade:test_upgrade.py:163 Get leader unit |
| 16 | +[32mINFO [0m integration.test_upgrade:test_upgrade.py:169 Run pre-upgrade-check action |
| 17 | +[32mINFO [0m integration.test_upgrade:test_upgrade.py:177 Inject dependency fault |
| 18 | +[32mINFO [0m integration.test_upgrade:test_upgrade.py:182 Refresh the charm |
| 19 | +[32mINFO [0m integration.test_upgrade:test_upgrade.py:185 Get first upgrading unit |
| 20 | +[32mINFO [0m integration.test_upgrade:test_upgrade.py:189 Wait for upgrade to fail on first upgrading unit |
| 21 | +[32mINFO [0m integration.test_upgrade:test_upgrade.py:196 Ensure continuous_writes while in failure state on remaining units |
| 22 | +[32mINFO [0m httpx:_client.py:1025 HTTP Request: GET https://10.1.0.131:16443/api/v1/namespaces/testing/pods/postgresql-k8s-0 "HTTP/1.1 200 OK" |
| 23 | +[32mINFO [0m httpx:_client.py:1025 HTTP Request: GET https://10.1.0.131:16443/api/v1/namespaces/testing/pods/postgresql-k8s-1 "HTTP/1.1 200 OK" |
| 24 | +[32mINFO [0m httpx:_client.py:1025 HTTP Request: GET https://10.1.0.131:16443/api/v1/namespaces/testing/pods/postgresql-k8s-2 "HTTP/1.1 200 OK" |
| 25 | +[32mINFO [0m httpx:_client.py:1025 HTTP Request: GET https://10.1.0.131:16443/api/v1/namespaces/testing/pods/postgresql-k8s-0 "HTTP/1.1 200 OK" |
| 26 | +[32mINFO [0m httpx:_client.py:1025 HTTP Request: GET https://10.1.0.131:16443/api/v1/namespaces/testing/pods/postgresql-k8s-1 "HTTP/1.1 200 OK" |
| 27 | +[32mINFO [0m httpx:_client.py:1025 HTTP Request: GET https://10.1.0.131:16443/api/v1/namespaces/testing/pods/postgresql-k8s-2 "HTTP/1.1 200 OK" |
| 28 | +[32mINFO [0m httpx:_client.py:1025 HTTP Request: GET https://10.1.0.131:16443/api/v1/namespaces/testing/pods/postgresql-k8s-0 "HTTP/1.1 200 OK" |
| 29 | +[32mINFO [0m httpx:_client.py:1025 HTTP Request: GET https://10.1.0.131:16443/api/v1/namespaces/testing/pods/postgresql-k8s-1 "HTTP/1.1 200 OK" |
| 30 | +[32mINFO [0m httpx:_client.py:1025 HTTP Request: GET https://10.1.0.131:16443/api/v1/namespaces/testing/pods/postgresql-k8s-2 "HTTP/1.1 200 OK" |
| 31 | +[32mINFO [0m httpx:_client.py:1025 HTTP Request: GET https://10.1.0.131:16443/api/v1/namespaces/testing/pods/postgresql-k8s-0 "HTTP/1.1 200 OK" |
| 32 | +[32mINFO [0m httpx:_client.py:1025 HTTP Request: GET https://10.1.0.131:16443/api/v1/namespaces/testing/pods/postgresql-k8s-1 "HTTP/1.1 200 OK" |
| 33 | +[32mINFO [0m httpx:_client.py:1025 HTTP Request: GET https://10.1.0.131:16443/api/v1/namespaces/testing/pods/postgresql-k8s-2 "HTTP/1.1 200 OK" |
| 34 | +[32mINFO [0m httpx:_client.py:1025 HTTP Request: GET https://10.1.0.131:16443/api/v1/namespaces/testing/pods/postgresql-k8s-0 "HTTP/1.1 200 OK" |
| 35 | +[32mINFO [0m httpx:_client.py:1025 HTTP Request: GET https://10.1.0.131:16443/api/v1/namespaces/testing/pods/postgresql-k8s-1 "HTTP/1.1 200 OK" |
| 36 | +[32mINFO [0m httpx:_client.py:1025 HTTP Request: GET https://10.1.0.131:16443/api/v1/namespaces/testing/pods/postgresql-k8s-2 "HTTP/1.1 200 OK" |
| 37 | +[32mINFO [0m httpx:_client.py:1025 HTTP Request: GET https://10.1.0.131:16443/api/v1/namespaces/testing/pods/postgresql-k8s-0 "HTTP/1.1 200 OK" |
| 38 | +[32mINFO [0m httpx:_client.py:1025 HTTP Request: GET https://10.1.0.131:16443/api/v1/namespaces/testing/pods/postgresql-k8s-1 "HTTP/1.1 200 OK" |
| 39 | +[32mINFO [0m httpx:_client.py:1025 HTTP Request: GET https://10.1.0.131:16443/api/v1/namespaces/testing/pods/postgresql-k8s-2 "HTTP/1.1 200 OK" |
| 40 | +[32mINFO [0m integration.test_upgrade:test_upgrade.py:199 Re-run pre-upgrade-check action |
| 41 | +[32mINFO [0m integration.test_upgrade:test_upgrade.py:203 Re-refresh the charm |
| 42 | +[32mINFO [0m juju.model:__init__.py:3254 Waiting for model: |
| 43 | + pgbouncer-k8s/0 [idle] waiting: other units upgrading first... |
| 44 | + pgbouncer-k8s/1 [idle] waiting: other units upgrading first... |
| 45 | + pgbouncer-k8s/2 [executing] active: |
| 46 | +[32mINFO [0m juju.model:__init__.py:3254 Waiting for model: |
| 47 | + pgbouncer-k8s/0 [idle] waiting: other units upgrading first... |
| 48 | + pgbouncer-k8s/1 [idle] active: |
| 49 | + pgbouncer-k8s/2 [idle] active: |
| 50 | +[32mINFO [0m integration.test_upgrade:test_upgrade.py:210 Resume upgrade |
| 51 | +[32mINFO [0m integration.test_upgrade:test_upgrade.py:214 Wait for application to recover |
| 52 | +[32mINFO [0m juju.model:__init__.py:3254 Waiting for model: |
| 53 | + pgbouncer-k8s/0 [idle] waiting: other units upgrading first... |
| 54 | + pgbouncer-k8s/1 [executing] maintenance: stopping charm software |
| 55 | + pgbouncer-k8s/2 [idle] active: |
| 56 | +[32mINFO [0m juju.model:__init__.py:3254 Waiting for model: |
| 57 | + pgbouncer-k8s/0 [executing] maintenance: |
| 58 | + pgbouncer-k8s/1 [idle] active: |
| 59 | + pgbouncer-k8s/2 [executing] active: |
| 60 | +[32mINFO [0m juju.model:__init__.py:3254 Waiting for model: |
| 61 | + pgbouncer-k8s/0 [idle] active: |
| 62 | + pgbouncer-k8s/1 [executing] active: |
| 63 | + pgbouncer-k8s/2 [executing] active: |
| 64 | +[32mINFO [0m integration.test_upgrade:test_upgrade.py:218 Ensure continuous_writes after rollback procedure |
| 65 | +[32mINFO [0m httpx:_client.py:1025 HTTP Request: GET https://10.1.0.131:16443/api/v1/namespaces/testing/pods/postgresql-k8s-0 "HTTP/1.1 200 OK" |
| 66 | +[32mINFO [0m httpx:_client.py:1025 HTTP Request: GET https://10.1.0.131:16443/api/v1/namespaces/testing/pods/postgresql-k8s-1 "HTTP/1.1 200 OK" |
| 67 | +[32mINFO [0m httpx:_client.py:1025 HTTP Request: GET https://10.1.0.131:16443/api/v1/namespaces/testing/pods/postgresql-k8s-2 "HTTP/1.1 200 OK" |
| 68 | +[32mINFO [0m httpx:_client.py:1025 HTTP Request: GET https://10.1.0.131:16443/api/v1/namespaces/testing/pods/postgresql-k8s-0 "HTTP/1.1 200 OK" |
| 69 | +[32mINFO [0m httpx:_client.py:1025 HTTP Request: GET https://10.1.0.131:16443/api/v1/namespaces/testing/pods/postgresql-k8s-1 "HTTP/1.1 200 OK" |
| 70 | +[32mINFO [0m httpx:_client.py:1025 HTTP Request: GET https://10.1.0.131:16443/api/v1/namespaces/testing/pods/postgresql-k8s-2 "HTTP/1.1 200 OK" |
| 71 | +[32mINFO [0m httpx:_client.py:1025 HTTP Request: GET https://10.1.0.131:16443/api/v1/namespaces/testing/pods/postgresql-k8s-0 "HTTP/1.1 200 OK" |
| 72 | +[32mINFO [0m httpx:_client.py:1025 HTTP Request: GET https://10.1.0.131:16443/api/v1/namespaces/testing/pods/postgresql-k8s-1 "HTTP/1.1 200 OK" |
| 73 | +[32mINFO [0m httpx:_client.py:1025 HTTP Request: GET https://10.1.0.131:16443/api/v1/namespaces/testing/pods/postgresql-k8s-2 "HTTP/1.1 200 OK" |
| 74 | +[32mINFO [0m httpx:_client.py:1025 HTTP Request: GET https://10.1.0.131:16443/api/v1/namespaces/testing/pods/postgresql-k8s-0 "HTTP/1.1 200 OK" |
| 75 | +[32mINFO [0m httpx:_client.py:1025 HTTP Request: GET https://10.1.0.131:16443/api/v1/namespaces/testing/pods/postgresql-k8s-1 "HTTP/1.1 200 OK" |
| 76 | +[32mINFO [0m httpx:_client.py:1025 HTTP Request: GET https://10.1.0.131:16443/api/v1/namespaces/testing/pods/postgresql-k8s-2 "HTTP/1.1 200 OK" |
| 77 | +[32mINFO [0m integration.test_upgrade:test_upgrade.py:223 Checking whether no writes were lost |
| 78 | +[32mINFO [0m httpx:_client.py:1025 HTTP Request: GET https://10.1.0.131:16443/api/v1/namespaces/testing/pods/postgresql-k8s-0 "HTTP/1.1 200 OK" |
| 79 | +[32mINFO [0m httpx:_client.py:1025 HTTP Request: GET https://10.1.0.131:16443/api/v1/namespaces/testing/pods/postgresql-k8s-1 "HTTP/1.1 200 OK" |
| 80 | +[32mINFO [0m httpx:_client.py:1025 HTTP Request: GET https://10.1.0.131:16443/api/v1/namespaces/testing/pods/postgresql-k8s-2 "HTTP/1.1 200 OK" |
| 81 | +[32mINFO [0m pytest_operator.plugin:plugin.py:951 Model status: |
| 82 | + |
| 83 | +Model Controller Cloud/Region Version SLA Timestamp |
| 84 | +testing concierge-microk8s microk8s/localhost 3.6.12 unsupported 01:47:07Z |
| 85 | + |
| 86 | +App Version Status Scale Charm Channel Rev Address Exposed Message |
| 87 | +pgbouncer-k8s 1.21.0 active 3 pgbouncer-k8s 2 10.152.183.118 no |
| 88 | +postgresql-k8s 14.19 active 3 postgresql-k8s 14/edge 701 10.152.183.141 no |
| 89 | +postgresql-test-app active 1 postgresql-test-app latest/edge 418 10.152.183.63 no received database credentials of the first database |
| 90 | + |
| 91 | +Unit Workload Agent Address Ports Message |
| 92 | +pgbouncer-k8s/0 active idle 10.1.243.155 |
| 93 | +pgbouncer-k8s/1 active idle 10.1.243.154 |
| 94 | +pgbouncer-k8s/2* active idle 10.1.243.153 |
| 95 | +postgresql-k8s/0 active idle 10.1.243.145 |
| 96 | +postgresql-k8s/1 active idle 10.1.243.147 |
| 97 | +postgresql-k8s/2* active idle 10.1.243.146 Primary |
| 98 | +postgresql-test-app/0* active idle 10.1.243.137 received database credentials of the first database |
| 99 | + |
| 100 | +[32mINFO [0m pytest_operator.plugin:plugin.py:957 Juju error logs: |
| 101 | + |
| 102 | +unit-postgresql-k8s-1: 01:36:57 ERROR unit.postgresql-k8s/1.juju-log pgdata folder not found in /var/lib/postgresql/data/pgdata |
| 103 | +unit-postgresql-k8s-0: 01:36:57 ERROR unit.postgresql-k8s/0.juju-log pgdata folder not found in /var/lib/postgresql/data/pgdata |
| 104 | +unit-pgbouncer-k8s-2: 01:40:45 ERROR unit.pgbouncer-k8s/2.juju-log pgbouncer not running |
| 105 | +unit-pgbouncer-k8s-1: 01:41:48 ERROR unit.pgbouncer-k8s/1.juju-log pgbouncer not running |
| 106 | +unit-pgbouncer-k8s-0: 01:42:14 ERROR unit.pgbouncer-k8s/0.juju-log pgbouncer not running |
| 107 | +unit-pgbouncer-k8s-2: 01:44:03 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': ''} |
| 108 | +unit-pgbouncer-k8s-1: 01:45:46 ERROR unit.pgbouncer-k8s/1.juju-log pgbouncer not running |
| 109 | +unit-pgbouncer-k8s-0: 01:46:12 ERROR unit.pgbouncer-k8s/0.juju-log pgbouncer not running |
| 110 | + |
| 111 | +[32mINFO [0m pytest_operator.plugin:plugin.py:1039 Forgetting model main... |
0 commit comments