Skip to content

Commit

Permalink
Allure report 2263
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Nov 1, 2024
1 parent 259503d commit e43fce9
Show file tree
Hide file tree
Showing 195 changed files with 3,117 additions and 2 deletions.
2 changes: 2 additions & 0 deletions 2263/app.js

Large diffs are not rendered by default.

135 changes: 135 additions & 0 deletions 2263/data/attachments/108b52c3b24c2f5e.txt

Large diffs are not rendered by default.

145 changes: 145 additions & 0 deletions 2263/data/attachments/1a62a03424271538.txt

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions 2263/data/attachments/25ed3de3deb15196.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
INFO  integration.test_upgrade_from_stable:test_upgrade_from_stable.py:89 Get leader unit
INFO  integration.test_upgrade_from_stable:test_upgrade_from_stable.py:95 Run pre-upgrade-check action
INFO  integration.test_upgrade_from_stable:test_upgrade_from_stable.py:99 Assert partition is set to 2
INFO  httpx:_client.py:1038 HTTP Request: GET https://10.1.0.122:16443/apis/apps/v1/namespaces/test/statefulsets/pgbouncer-k8s "HTTP/1.1 200 OK"
13 changes: 13 additions & 0 deletions 2263/data/attachments/318d23b7787f606a.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
INFO  juju.model:model.py:2972 Waiting for model:
pgbouncer-k8s (waiting for exactly 2 units, current : 3)
INFO  juju.model:model.py:2972 Waiting for model:
pgbouncer-k8s/0 [idle] active:
pgbouncer-k8s/1 [idle] active:
INFO  juju.model:model.py:2972 Waiting for model:
pgbouncer-k8s/0 [idle] active:
pgbouncer-k8s/1 [idle] active:
postgresql-test-app/0 [idle] active: received database credentials of the first database
postgresql-k8s/0 [idle] active: Primary
postgresql-k8s/1 [idle] active:
postgresql-k8s/2 [idle] active:
self-signed-certificates/0 [idle] active:
61 changes: 61 additions & 0 deletions 2263/data/attachments/3317ac216635f02d.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
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-435
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] maintenance: installing charm software
INFO  juju.model:model.py:2972 Waiting for model:
postgresql-k8s/0 [executing] 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 [idle] active: Primary
pgbouncer-k8s/0 [idle] blocked: waiting for backend database relation to initialise
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:49:00Z

App Version Status Scale Charm Channel Rev Address Exposed Message
pgbouncer-k8s 1.21.0 active 1 pgbouncer-k8s 0 10.152.183.92 no
postgresql-k8s 14.13 active 1 postgresql-k8s 14/edge 435 10.152.183.30 no

Unit Workload Agent Address Ports Message
pgbouncer-k8s/0* active executing 10.1.53.73 (config-changed)
postgresql-k8s/0* active idle 10.1.53.74 Primary

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

unit-pgbouncer-k8s-0: 01:48:54 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:48:56 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'))

INFO  pytest_operator.plugin:plugin.py:991 Forgetting model main...
82 changes: 82 additions & 0 deletions 2263/data/attachments/3e23dce052b9d467.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
INFO  juju.model:model.py:2098 Deploying ch:amd64/focal/finos-waltz-k8s-33
INFO  juju.model:model.py:2098 Deploying ch:amd64/jammy/postgresql-k8s-435
INFO  juju.model:model.py:2972 Waiting for model:
pgbouncer-k8s/0 [idle] blocked: waiting for backend database relation to initialise
pgbouncer-k8s/1 [idle] blocked: waiting for backend database relation to initialise
pgbouncer-k8s/2 [idle] blocked: waiting for backend database relation to initialise
INFO  juju.model:model.py:2972 Waiting for model:
postgresql-k8s/0 [allocating] waiting: installing agent
postgresql-k8s/1 [allocating] waiting: installing agent
postgresql-k8s/2 [allocating] waiting: installing agent
INFO  juju.model:model.py:2972 Waiting for model:
postgresql-k8s/0 [allocating] waiting: agent initialising
postgresql-k8s/1 [allocating] waiting: agent initialising
postgresql-k8s/2 [allocating] waiting: agent initialising
INFO  juju.model:model.py:2972 Waiting for model:
postgresql-k8s/0 [executing] unknown:
postgresql-k8s/1 [executing] unknown:
postgresql-k8s/2 [executing] waiting: awaiting for cluster to start
INFO  juju.model:model.py:2972 Waiting for model:
postgresql-k8s/0 [idle] unknown:
postgresql-k8s/1 [idle] unknown:
postgresql-k8s/2 [idle] waiting: awaiting for primary endpoint to be ready
INFO  juju.model:model.py:2972 Waiting for model:
postgresql-k8s/0 [idle] unknown:
postgresql-k8s/1 [idle] unknown:
postgresql-k8s/2 [idle] active: Primary
INFO  juju.model:model.py:2972 Waiting for model:
postgresql-k8s/0 [idle] waiting: awaiting for cluster to start
postgresql-k8s/1 [idle] waiting: awaiting for cluster to start
postgresql-k8s/2 [idle] active: Primary
INFO  juju.model:model.py:2972 Waiting for model:
postgresql-k8s/0 [idle] waiting: awaiting for member to start
postgresql-k8s/1 [idle] waiting: awaiting for cluster to start
postgresql-k8s/2 [idle] active: Primary
INFO  juju.model:model.py:2972 Waiting for model:
postgresql-k8s/0 [idle] waiting: awaiting for member to start
postgresql-k8s/1 [idle] waiting: awaiting for member to start
postgresql-k8s/2 [idle] active: Primary
INFO  juju.model:model.py:2972 Waiting for model:
postgresql-k8s/0 [executing] active:
postgresql-k8s/1 [idle] waiting: awaiting for member to start
postgresql-k8s/2 [executing] active: Primary
INFO  juju.model:model.py:2972 Waiting for model:
postgresql-k8s/0 [idle] active:
postgresql-k8s/1 [idle] active:
postgresql-k8s/2 [idle] active: Primary
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:
pgbouncer-k8s/0 [idle] blocked: waiting for backend database relation to initialise
pgbouncer-k8s/1 [idle] blocked: waiting for backend database relation to initialise
pgbouncer-k8s/2 [idle] blocked: waiting for backend database relation to initialise
INFO  juju.model:model.py:2972 Waiting for model:
postgresql-k8s/0 [idle] active:
postgresql-k8s/1 [idle] active:
postgresql-k8s/2 [idle] active: Primary
INFO  juju.model:model.py:2972 Waiting for model:
postgresql-k8s/0 [idle] active:
postgresql-k8s/1 [idle] active:
postgresql-k8s/2 [idle] active: Primary
INFO  juju.model:model.py:2972 Waiting for model:
pgbouncer-k8s/0 [idle] active:
pgbouncer-k8s/1 [idle] active:
pgbouncer-k8s/2 [idle] active:
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 [idle] active:
postgresql-k8s/1 [idle] active:
postgresql-k8s/2 [idle] active: Primary
INFO  juju.model:model.py:2972 Waiting for model:
pgbouncer-k8s/0 [idle] active:
pgbouncer-k8s/1 [idle] active:
pgbouncer-k8s/2 [idle] active:
finos-waltz/0 [idle] blocked: Waiting for database configuration.
INFO  juju.model:model.py:2972 Waiting for model:
pgbouncer-k8s/0 [idle] active:
pgbouncer-k8s/1 [idle] active:
pgbouncer-k8s/2 [idle] active:
finos-waltz/0 [idle] active:
INFO  juju.model:model.py:2972 Waiting for model:
finos-waltz/0 [idle] active:
INFO  juju.model:model.py:2972 Waiting for model:
finos-waltz/0 [idle] active:
15 changes: 15 additions & 0 deletions 2263/data/attachments/43f841d7990528c9.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
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: PgBouncer service metrics_server not running: service status = ServiceStatus.INACTIVE
INFO  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:
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}
16 changes: 16 additions & 0 deletions 2263/data/attachments/4d2932ea28c5b58.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
INFO  juju.model:model.py:2098 Deploying ch:amd64/jammy/data-integrator-72
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-test-app/0 [idle] active:
postgresql-k8s/0 [idle] active: Primary
postgresql-k8s/1 [idle] active:
pgbouncer-k8s/0 [executing] active:
pgbouncer-k8s/1 [executing] active:
secondary-application/0 [idle] active: received database credentials of the second database
finos-waltz-k8s/0 [idle] active:
pgbouncer-k8s-secondary/0 [idle] active:
data-integrator/0 [allocating] waiting: installing agent
INFO  juju.model:model.py:2972 Waiting for model:
pgbouncer-k8s/0 [executing] active:
pgbouncer-k8s/1 [executing] active:
data-integrator/0 [idle] blocked: Please relate the data-integrator with the desired product
35 changes: 35 additions & 0 deletions 2263/data/attachments/526b8d7fe71e48eb.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
ERROR  asyncio:base_events.py:1758 Task exception was never retrieved
future: <Task finished name='Task-673' coro=<Connection._connect.<locals>._try_endpoint() done, defined at /home/runner/work/pgbouncer-k8s-operator/pgbouncer-k8s-operator/.tox/integration/lib/python3.10/site-packages/juju/client/connection.py:803> exception=OSError(9, 'Bad file descriptor')>
Traceback (most recent call last):
File "/home/runner/work/pgbouncer-k8s-operator/pgbouncer-k8s-operator/.tox/integration/lib/python3.10/site-packages/juju/client/connection.py", line 806, in _try_endpoint
return await self._open(endpoint, cacert)
File "/home/runner/work/pgbouncer-k8s-operator/pgbouncer-k8s-operator/.tox/integration/lib/python3.10/site-packages/juju/client/connection.py", line 427, in _open
return (await websockets.connect(
File "/home/runner/work/pgbouncer-k8s-operator/pgbouncer-k8s-operator/.tox/integration/lib/python3.10/site-packages/websockets/legacy/client.py", line 654, in __await_impl__
_transport, protocol = await self._create_connection()
File "/usr/lib/python3.10/asyncio/base_events.py", line 1103, in create_connection
transport, protocol = await self._create_connection_transport(
File "/usr/lib/python3.10/asyncio/base_events.py", line 1119, in _create_connection_transport
sock.setblocking(False)
OSError: [Errno 9] Bad file descriptor
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:51:18Z

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

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

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


INFO  pytest_operator.plugin:plugin.py:991 Forgetting model main...
36 changes: 36 additions & 0 deletions 2263/data/attachments/52e4d40dc071254c.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
INFO  juju.model:model.py:2098 Deploying local:jammy/pgbouncer-k8s-1
INFO  juju.model:model.py:2972 Waiting for model:
pgbouncer-k8s-secondary/0 [allocating] waiting: installing agent
INFO  juju.model:model.py:2972 Waiting for model:
pgbouncer-k8s-secondary/0 [executing] maintenance: installing charm software
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-test-app/0 [idle] active: received database credentials of the second database
postgresql-k8s/0 [idle] active: Primary
postgresql-k8s/1 [idle] active:
pgbouncer-k8s/0 [idle] active:
pgbouncer-k8s/1 [idle] active:
pgbouncer-k8s-secondary/0 [executing] blocked: waiting for backend database relation to initialise
INFO  juju.model:model.py:2972 Waiting for model:
pgbouncer-k8s-secondary/0 [idle] active:
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-test-app/0 [idle] active: received database credentials of the second database
postgresql-k8s/0 [idle] active: Primary
postgresql-k8s/1 [idle] active:
pgbouncer-k8s/0 [idle] active:
pgbouncer-k8s/1 [idle] active:
secondary-application/0 [executing] active: received database credentials of the first database
finos-waltz-k8s/0 [idle] active:
pgbouncer-k8s-secondary/0 [executing] active:
INFO  juju.model:model.py:2972 Waiting for model:
pgbouncer-k8s/0 [idle] active:
pgbouncer-k8s/1 [idle] active:
INFO  root:helpers.py:121 running query:
DROP TABLE IF EXISTS check_multiple_pgb_connected_to_one_postgres;CREATE TABLE check_multiple_pgb_connected_to_one_postgres(data TEXT);INSERT INTO check_multiple_pgb_connected_to_one_postgres(data) VALUES('some data');SELECT data FROM check_multiple_pgb_connected_to_one_postgres;
INFO  root:helpers.py:122 {'dbname': 'secondary_application_second_database', 'query': "DROP TABLE IF EXISTS check_multiple_pgb_connected_to_one_postgres;CREATE TABLE check_multiple_pgb_connected_to_one_postgres(data TEXT);INSERT INTO check_multiple_pgb_connected_to_one_postgres(data) VALUES('some data');SELECT data FROM check_multiple_pgb_connected_to_one_postgres;", 'relation-name': 'second-database', 'readonly': False}
INFO  root:helpers.py:125 query results: {'results': '[["some data"]]', 'return-code': 0}
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}
6 changes: 6 additions & 0 deletions 2263/data/attachments/5366a4f0ec109deb.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
INFO  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:
Loading

0 comments on commit e43fce9

Please sign in to comment.