Skip to content

Commit

Permalink
Allure report 2258
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Oct 29, 2024
1 parent 1a18af6 commit 0a41f5d
Show file tree
Hide file tree
Showing 203 changed files with 3,338 additions and 2 deletions.
2 changes: 2 additions & 0 deletions 2258/app.js

Large diffs are not rendered by default.

110 changes: 110 additions & 0 deletions 2258/data/attachments/100c08e71c003bb.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
INFO  integration.test_upgrade_from_stable:test_upgrade_from_stable.py:110 starting continuous writes to the database
INFO  integration.test_upgrade_from_stable:test_upgrade_from_stable.py:114 checking whether writes are increasing
INFO  httpx:_client.py:1038 HTTP Request: GET https://10.1.0.11:16443/api/v1/namespaces/test/pods/postgresql-k8s-0 "HTTP/1.1 200 OK"
INFO  httpx:_client.py:1038 HTTP Request: GET https://10.1.0.11:16443/api/v1/namespaces/test/pods/postgresql-k8s-1 "HTTP/1.1 200 OK"
INFO  httpx:_client.py:1038 HTTP Request: GET https://10.1.0.11:16443/api/v1/namespaces/test/pods/postgresql-k8s-0 "HTTP/1.1 200 OK"
INFO  httpx:_client.py:1038 HTTP Request: GET https://10.1.0.11:16443/api/v1/namespaces/test/pods/postgresql-k8s-1 "HTTP/1.1 200 OK"
INFO  httpx:_client.py:1038 HTTP Request: GET https://10.1.0.11:16443/api/v1/namespaces/test/pods/postgresql-k8s-0 "HTTP/1.1 200 OK"
INFO  httpx:_client.py:1038 HTTP Request: GET https://10.1.0.11:16443/api/v1/namespaces/test/pods/postgresql-k8s-1 "HTTP/1.1 200 OK"
INFO  integration.test_upgrade_from_stable:test_upgrade_from_stable.py:120 Refresh the charm
INFO  integration.test_upgrade_from_stable:test_upgrade_from_stable.py:123 Wait for upgrade to complete on first upgrading unit
INFO  juju.model:model.py:2972 Waiting for model:
pgbouncer-k8s/0 [idle] active:
pgbouncer-k8s/1 [idle] active:
pgbouncer-k8s/2 [idle] active:
INFO  juju.model:model.py:2972 Waiting for model:
pgbouncer-k8s/0 [executing] waiting: other units upgrading first...
pgbouncer-k8s/1 [executing] waiting: other units upgrading first...
pgbouncer-k8s/2 [executing] waiting: pgbouncer not running
INFO  juju.model:model.py:2972 Waiting for model:
pgbouncer-k8s/0 [idle] waiting: other units upgrading first...
pgbouncer-k8s/1 [idle] active:
pgbouncer-k8s/2 [idle] active:
INFO  juju.model:model.py:2972 Waiting for model:
pgbouncer-k8s/0 [idle] active:
pgbouncer-k8s/1 [idle] active:
pgbouncer-k8s/2 [idle] active:
INFO  integration.test_upgrade_from_stable:test_upgrade_from_stable.py:131 Resume upgrade
INFO  integration.test_upgrade_from_stable:test_upgrade_from_stable.py:136 Wait for upgrade to complete
INFO  juju.model:model.py:2972 Waiting for model:
pgbouncer-k8s/0 [idle] active:
pgbouncer-k8s/1 [executing] maintenance:
pgbouncer-k8s/2 [idle] active:
INFO  juju.model:model.py:2972 Waiting for model:
pgbouncer-k8s/0 [idle] waiting: other units upgrading first...
pgbouncer-k8s/1 [executing] active:
pgbouncer-k8s/2 [idle] active:
INFO  juju.model:model.py:2972 Waiting for model:
pgbouncer-k8s/0 [executing] waiting: pgbouncer not running
pgbouncer-k8s/1 [executing] active:
pgbouncer-k8s/2 [executing] active:
INFO  juju.model:model.py:2972 Waiting for model:
pgbouncer-k8s/0 [idle] active:
pgbouncer-k8s/1 [idle] active:
pgbouncer-k8s/2 [idle] active:
INFO  integration.test_upgrade_from_stable:test_upgrade_from_stable.py:143 checking whether writes are increasing
INFO  httpx:_client.py:1038 HTTP Request: GET https://10.1.0.11:16443/api/v1/namespaces/test/pods/postgresql-k8s-0 "HTTP/1.1 200 OK"
INFO  httpx:_client.py:1038 HTTP Request: GET https://10.1.0.11:16443/api/v1/namespaces/test/pods/postgresql-k8s-1 "HTTP/1.1 200 OK"
INFO  httpx:_client.py:1038 HTTP Request: GET https://10.1.0.11:16443/api/v1/namespaces/test/pods/postgresql-k8s-0 "HTTP/1.1 200 OK"
INFO  httpx:_client.py:1038 HTTP Request: GET https://10.1.0.11:16443/api/v1/namespaces/test/pods/postgresql-k8s-1 "HTTP/1.1 200 OK"
INFO  httpx:_client.py:1038 HTTP Request: GET https://10.1.0.11:16443/api/v1/namespaces/test/pods/postgresql-k8s-0 "HTTP/1.1 200 OK"
INFO  httpx:_client.py:1038 HTTP Request: GET https://10.1.0.11:16443/api/v1/namespaces/test/pods/postgresql-k8s-1 "HTTP/1.1 200 OK"
INFO  integration.test_upgrade_from_stable:test_upgrade_from_stable.py:148 checking whether no writes were lost
INFO  httpx:_client.py:1038 HTTP Request: GET https://10.1.0.11:16443/api/v1/namespaces/test/pods/postgresql-k8s-0 "HTTP/1.1 200 OK"
INFO  httpx:_client.py:1038 HTTP Request: GET https://10.1.0.11:16443/api/v1/namespaces/test/pods/postgresql-k8s-1 "HTTP/1.1 200 OK"
INFO  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:54:22Z

App Version Status Scale Charm Channel Rev Address Exposed Message
pgbouncer-k8s 1.21.0 active 3 pgbouncer-k8s 0 10.152.183.142 no
postgresql-k8s 14.13 active 3 postgresql-k8s 14/edge 431 10.152.183.69 no
postgresql-test-app active 1 postgresql-test-app latest/edge 275 10.152.183.65 no received database credentials of the first database

Unit Workload Agent Address Ports Message
pgbouncer-k8s/0* active idle 10.1.70.20
pgbouncer-k8s/1 active idle 10.1.70.19
pgbouncer-k8s/2 active idle 10.1.70.18
postgresql-k8s/0* active idle 10.1.70.15 Primary
postgresql-k8s/1 active idle 10.1.70.17
postgresql-k8s/2 active idle 10.1.70.16
postgresql-test-app/0* active idle 10.1.70.8 received database credentials of the first database

INFO  pytest_operator.plugin:plugin.py:909 Juju error logs:

unit-postgresql-k8s-2: 01:47:07 ERROR unit.postgresql-k8s/2.juju-log database:6: This operation (update_relation_data()) can only be performed by the leader unit
unit-postgresql-k8s-2: 01:47:07 ERROR unit.postgresql-k8s/2.juju-log database:6: This operation (update_relation_data()) can only be performed by the leader unit
unit-postgresql-k8s-1: 01:47:13 ERROR unit.postgresql-k8s/1.juju-log database:6: This operation (update_relation_data()) can only be performed by the leader unit
unit-postgresql-k8s-1: 01:47:13 ERROR unit.postgresql-k8s/1.juju-log database:6: This operation (update_relation_data()) can only be performed by the leader unit
unit-postgresql-k8s-1: 01:48:34 ERROR unit.postgresql-k8s/1.juju-log This operation (update_relation_data()) can only be performed by the leader unit
unit-postgresql-k8s-1: 01:48:34 ERROR unit.postgresql-k8s/1.juju-log This operation (update_relation_data()) can only be performed by the leader unit
unit-postgresql-k8s-1: 01:48:47 ERROR unit.postgresql-k8s/1.juju-log This operation (update_relation_data()) can only be performed by the leader unit
unit-postgresql-k8s-1: 01:48:47 ERROR unit.postgresql-k8s/1.juju-log This operation (update_relation_data()) can only be performed by the leader unit
unit-postgresql-k8s-1: 01:48:59 ERROR unit.postgresql-k8s/1.juju-log This operation (update_relation_data()) can only be performed by the leader unit
unit-postgresql-k8s-1: 01:48:59 ERROR unit.postgresql-k8s/1.juju-log This operation (update_relation_data()) can only be performed by the leader unit
unit-postgresql-k8s-1: 01:49:12 ERROR unit.postgresql-k8s/1.juju-log This operation (update_relation_data()) can only be performed by the leader unit
unit-postgresql-k8s-1: 01:49:12 ERROR unit.postgresql-k8s/1.juju-log This operation (update_relation_data()) can only be performed by the leader unit
unit-postgresql-k8s-1: 01:49:26 ERROR unit.postgresql-k8s/1.juju-log database-peers:3: This operation (update_relation_data()) can only be performed by the leader unit
unit-postgresql-k8s-1: 01:49:26 ERROR unit.postgresql-k8s/1.juju-log database-peers:3: This operation (update_relation_data()) can only be performed by the leader unit
unit-postgresql-k8s-2: 01:49:28 ERROR unit.postgresql-k8s/2.juju-log This operation (update_relation_data()) can only be performed by the leader unit
unit-postgresql-k8s-2: 01:49:28 ERROR unit.postgresql-k8s/2.juju-log This operation (update_relation_data()) can only be performed by the leader unit
unit-postgresql-k8s-2: 01:49:41 ERROR unit.postgresql-k8s/2.juju-log This operation (update_relation_data()) can only be performed by the leader unit
unit-postgresql-k8s-2: 01:49:41 ERROR unit.postgresql-k8s/2.juju-log This operation (update_relation_data()) can only be performed by the leader unit
unit-postgresql-k8s-2: 01:49:54 ERROR unit.postgresql-k8s/2.juju-log This operation (update_relation_data()) can only be performed by the leader unit
unit-postgresql-k8s-2: 01:49:54 ERROR unit.postgresql-k8s/2.juju-log This operation (update_relation_data()) can only be performed by the leader unit
unit-postgresql-k8s-2: 01:50:06 ERROR unit.postgresql-k8s/2.juju-log This operation (update_relation_data()) can only be performed by the leader unit
unit-postgresql-k8s-2: 01:50:06 ERROR unit.postgresql-k8s/2.juju-log This operation (update_relation_data()) can only be performed by the leader unit
unit-pgbouncer-k8s-2: 01:51:01 ERROR unit.pgbouncer-k8s/2.juju-log pgbouncer not running
unit-pgbouncer-k8s-2: 01:51:04 ERROR unit.pgbouncer-k8s/2.juju-log pgbouncer not running
unit-pgbouncer-k8s-2: 01:51:05 ERROR unit.pgbouncer-k8s/2.juju-log pgbouncer not running
unit-pgbouncer-k8s-2: 01:51:07 ERROR unit.pgbouncer-k8s/2.juju-log pgbouncer not running
unit-pgbouncer-k8s-1: 01:52:27 ERROR unit.pgbouncer-k8s/1.juju-log pgbouncer not running
unit-pgbouncer-k8s-1: 01:52:30 ERROR unit.pgbouncer-k8s/1.juju-log pgbouncer not running
unit-pgbouncer-k8s-1: 01:52:31 ERROR unit.pgbouncer-k8s/1.juju-log pgbouncer not running
unit-pgbouncer-k8s-1: 01:52:33 ERROR unit.pgbouncer-k8s/1.juju-log pgbouncer not running
unit-pgbouncer-k8s-0: 01:53:08 ERROR unit.pgbouncer-k8s/0.juju-log pgbouncer not running
unit-pgbouncer-k8s-0: 01:53:11 ERROR unit.pgbouncer-k8s/0.juju-log pgbouncer not running
unit-pgbouncer-k8s-0: 01:53:12 ERROR unit.pgbouncer-k8s/0.juju-log pgbouncer not running

INFO  pytest_operator.plugin:plugin.py:991 Forgetting model main...
23 changes: 23 additions & 0 deletions 2258/data/attachments/113086ea841c3634.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
INFO  juju.model:model.py:2972 Waiting for model:
pgbouncer-k8s/0 [executing] blocked: Insufficient permissions, try: `juju trust pgbouncer-k8s --scope=cluster`
INFO  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:49:37Z

App Version Status Scale Charm Channel Rev Address Exposed Message
pgbouncer-k8s 1.21.0 active 1 pgbouncer-k8s 0 10.152.183.215 no
postgresql-k8s 14.13 active 1 postgresql-k8s 14/edge 431 10.152.183.204 no
postgresql-test-app active 1 postgresql-test-app latest/edge 275 10.152.183.76 no received database credentials of the first database

Unit Workload Agent Address Ports Message
pgbouncer-k8s/0* active idle 10.1.64.137
postgresql-k8s/0* active idle 10.1.64.139 Primary
postgresql-test-app/0* active idle 10.1.64.136 received database credentials of the first database

INFO  pytest_operator.plugin:plugin.py:909 Juju error logs:

controller-0: 01:45:29 ERROR juju.worker.caasapplicationprovisioner.runner exited "postgresql-k8s": more than 20 retries ensuring scale: setting scale to 1 for "postgresql-k8s": statefulset "postgresql-k8s" not found
controller-0: 01:46:29 ERROR juju.worker.caasapplicationprovisioner.runner exited "postgresql-k8s": more than 20 retries ensuring scale: setting scale to 1 for "postgresql-k8s": statefulset "postgresql-k8s" not found

INFO  pytest_operator.plugin:plugin.py:991 Forgetting model main...
75 changes: 75 additions & 0 deletions 2258/data/attachments/1e2ed7f939ba31a4.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
INFO  pytest_operator.plugin:plugin.py:766 Connecting to existing model microk8s-localhost:test on unspecified cloud
INFO  juju.model:model.py:2098 Deploying ch:amd64/jammy/postgresql-k8s-431
INFO  juju.model:model.py:2098 Deploying local:jammy/pgbouncer-k8s-0
WARNING  juju.model:model.py:1564 relate is deprecated and will be removed. Use integrate instead.
INFO  juju.model:model.py:2972 Waiting for model:
postgresql-k8s/0 [allocating] waiting: installing agent
pgbouncer-k8s/0 [allocating] waiting: installing agent
INFO  juju.model:model.py:2972 Waiting for model:
postgresql-k8s/0 [executing] maintenance: installing charm software
pgbouncer-k8s/0 [executing] blocked: waiting for backend database relation to initialise
INFO  juju.model:model.py:2972 Waiting for model:
postgresql-k8s/0 [executing] waiting: awaiting for primary endpoint to be ready
pgbouncer-k8s/0 [idle] blocked: waiting for backend database relation to initialise
INFO  juju.model:model.py:2972 Waiting for model:
postgresql-k8s/0 [idle] waiting: awaiting for cluster to start
pgbouncer-k8s/0 [idle] blocked: waiting for backend database relation to initialise
INFO  juju.model:model.py:2972 Waiting for model:
postgresql-k8s/0 [idle] active: Primary
pgbouncer-k8s/0 [idle] blocked: waiting for backend database relation to initialise
INFO  juju.model:model.py:2972 Waiting for model:
postgresql-k8s/0 [executing] active: Primary
pgbouncer-k8s/0 [executing] maintenance: Initialising backend-database relation
INFO  integration.test_config:test_config.py:58 listen_port
INFO  integration.test_config:test_config.py:58 pool_mode
INFO  integration.test_config:test_config.py:58 max_db_connections
INFO  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:47:40Z

App Version Status Scale Charm Channel Rev Address Exposed Message
pgbouncer-k8s 1.21.0 active 1 pgbouncer-k8s 0 10.152.183.156 no
postgresql-k8s 14.13 active 1 postgresql-k8s 14/edge 431 10.152.183.21 no

Unit Workload Agent Address Ports Message
pgbouncer-k8s/0* active idle 10.1.70.8
postgresql-k8s/0* active idle 10.1.70.10 Primary

INFO  pytest_operator.plugin:plugin.py:909 Juju error logs:

unit-pgbouncer-k8s-0: 01:47:33 ERROR unit.pgbouncer-k8s/0.juju-log Invalid configuration
Traceback (most recent call last):
File "/var/lib/juju/agents/unit-pgbouncer-k8s-0/charm/./src/charm.py", line 554, in configuration_check
_ = self.config
File "/var/lib/juju/agents/unit-pgbouncer-k8s-0/charm/lib/charms/data_platform_libs/v0/data_models.py", line 200, in config
return self.config_type(**translated_keys)
File "/var/lib/juju/agents/unit-pgbouncer-k8s-0/charm/venv/pydantic/main.py", line 341, in __init__
raise validation_error
pydantic.error_wrappers.ValidationError: 1 validation error for CharmConfig
listen_port
ensure this value is greater than 0 (type=value_error.number.not_gt; limit_value=0)
unit-pgbouncer-k8s-0: 01:47:36 ERROR unit.pgbouncer-k8s/0.juju-log Invalid configuration
Traceback (most recent call last):
File "/var/lib/juju/agents/unit-pgbouncer-k8s-0/charm/./src/charm.py", line 554, in configuration_check
_ = self.config
File "/var/lib/juju/agents/unit-pgbouncer-k8s-0/charm/lib/charms/data_platform_libs/v0/data_models.py", line 200, in config
return self.config_type(**translated_keys)
File "/var/lib/juju/agents/unit-pgbouncer-k8s-0/charm/venv/pydantic/main.py", line 341, in __init__
raise validation_error
pydantic.error_wrappers.ValidationError: 1 validation error for CharmConfig
pool_mode
unexpected value; permitted: 'session', 'transaction', 'statement' (type=value_error.const; given=abcXYZ123; permitted=('session', 'transaction', 'statement'))
unit-pgbouncer-k8s-0: 01:47:38 ERROR unit.pgbouncer-k8s/0.juju-log Invalid configuration
Traceback (most recent call last):
File "/var/lib/juju/agents/unit-pgbouncer-k8s-0/charm/./src/charm.py", line 554, in configuration_check
_ = self.config
File "/var/lib/juju/agents/unit-pgbouncer-k8s-0/charm/lib/charms/data_platform_libs/v0/data_models.py", line 200, in config
return self.config_type(**translated_keys)
File "/var/lib/juju/agents/unit-pgbouncer-k8s-0/charm/venv/pydantic/main.py", line 341, in __init__
raise validation_error
pydantic.error_wrappers.ValidationError: 1 validation error for CharmConfig
max_db_connections
ensure this value is greater than or equal to 0 (type=value_error.number.not_ge; limit_value=0)

INFO  pytest_operator.plugin:plugin.py:991 Forgetting model main...
2 changes: 2 additions & 0 deletions 2258/data/attachments/1f128bc83698a1f9.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
INFO  integration.test_upgrade_data_integrator:test_upgrade_data_integrator.py:75 Get leader unit
INFO  integration.test_upgrade_data_integrator:test_upgrade_data_integrator.py:79 Run pre-upgrade-check action
30 changes: 30 additions & 0 deletions 2258/data/attachments/20bbde5874be466d.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
INFO  juju.model:model.py:2972 Waiting for model:
pgbouncer-k8s (waiting for exactly 1 units, current : 2)
INFO  juju.model:model.py:2972 Waiting for model:
pgbouncer-k8s/0 [idle] active:
INFO  juju.model:model.py:2972 Waiting for model:
postgresql-test-app/0 [idle] active: received database credentials of the second database
postgresql-k8s/0 [idle] active:
postgresql-k8s/1 [idle] active: Primary
pgbouncer-k8s/0 [idle] active:
INFO  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;
INFO  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}
INFO  root:helpers.py:125 query results: {'results': '[["some data"]]', 'return-code': 0}
INFO  juju.model:model.py:2972 Waiting for model:
pgbouncer-k8s (waiting for exactly 2 units, current : 1)
INFO  juju.model:model.py:2972 Waiting for model:
pgbouncer-k8s/0 [idle] active:
pgbouncer-k8s/1 [executing] blocked: waiting for backend database relation to initialise
INFO  juju.model:model.py:2972 Waiting for model:
pgbouncer-k8s/1 [idle] active:
INFO  juju.model:model.py:2972 Waiting for model:
postgresql-test-app/0 [idle] active: received database credentials of the second database
postgresql-k8s/0 [idle] active:
postgresql-k8s/1 [idle] active: Primary
pgbouncer-k8s/0 [idle] active:
pgbouncer-k8s/1 [idle] active:
INFO  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;
INFO  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}
INFO  root:helpers.py:125 query results: {'results': '[["some data"]]', 'return-code': 0}
Loading

0 comments on commit 0a41f5d

Please sign in to comment.