Skip to content

Commit

Permalink
Allure report #1866
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Feb 7, 2024
1 parent 0890972 commit 8a7655b
Show file tree
Hide file tree
Showing 185 changed files with 3,181 additions and 2 deletions.
40 changes: 40 additions & 0 deletions 1866/app.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions 1866/data/attachments/1252dfc5db02a7ca.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
INFO  integration.test_charm:test_charm.py:105 connecting to the database host: 10.1.94.12
2 changes: 2 additions & 0 deletions 1866/data/attachments/14658b78327ae108.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
INFO  pytest_operator.plugin:plugin.py:675 Connecting to existing model microk8s-localhost:test on unspecified cloud
INFO  juju.model:model.py:2087 Deploying local:jammy/postgresql-k8s-0
6 changes: 6 additions & 0 deletions 1866/data/attachments/1b83d808b30e3068.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
INFO  juju.model:model.py:2947 Waiting for model:
database (waiting for exactly 1 units, current : 3)
INFO  juju.model:model.py:2947 Waiting for model:
database (waiting for exactly 1 units, current : 3)
INFO  juju.model:model.py:2947 Waiting for model:
database/0 [executing] active: Primary
35 changes: 35 additions & 0 deletions 1866/data/attachments/1e381a6ed451c814.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
INFO  pytest_operator.plugin:plugin.py:675 Connecting to existing model microk8s-localhost:test on unspecified cloud
INFO  juju.model:model.py:2087 Deploying ch:amd64/jammy/postgresql-test-app-50
INFO  juju.model:model.py:2087 Deploying ch:amd64/jammy/postgresql-k8s-177
INFO  integration.ha_tests.test_upgrade_from_stable:test_upgrade_from_stable.py:50 Wait for applications to become active
INFO  juju.model:model.py:2947 Waiting for model:
postgresql-k8s/0 [allocating] waiting: installing agent
postgresql-k8s/1 [allocating] waiting: installing agent
postgresql-k8s/2 [allocating] waiting: installing agent
postgresql-test-app/0 [allocating] waiting: installing agent
INFO  juju.model:model.py:2947 Waiting for model:
postgresql-k8s/0 [executing] maintenance: installing charm software
postgresql-k8s/1 [executing] maintenance: installing charm software
postgresql-k8s/2 [executing] maintenance: installing charm software
INFO  juju.model:model.py:2947 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:2947 Waiting for model:
postgresql-k8s/0 [idle] unknown:
postgresql-k8s/1 [idle] unknown:
postgresql-k8s/2 [executing] active:
INFO  juju.model:model.py:2947 Waiting for model:
postgresql-k8s/0 [executing] waiting: awaiting for cluster to start
postgresql-k8s/1 [executing] waiting: awaiting for cluster to start
postgresql-k8s/2 [idle] maintenance: reconfiguring cluster
INFO  juju.model:model.py:2947 Waiting for model:
postgresql-k8s/0 [idle] active:
postgresql-k8s/1 [idle] waiting: awaiting for cluster to start
postgresql-k8s/2 [executing] active:
INFO  juju.model:model.py:2947 Waiting for model:
postgresql-k8s/0 [idle] active:
postgresql-k8s/1 [idle] waiting: awaiting for cluster to start
postgresql-k8s/2 [idle] active:
INFO  juju.model:model.py:2947 Waiting for model:
postgresql-k8s/1 [idle] active:
69 changes: 69 additions & 0 deletions 1866/data/attachments/245621bf1be7a697.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
INFO  juju.model:model.py:2087 Deploying local:jammy/postgresql-k8s-3
INFO  juju.model:model.py:2947 Waiting for model:
test-storage-postgresql-k8s/0 [allocating] waiting: agent initialising
INFO  juju.model:model.py:2947 Waiting for model:
test-storage-postgresql-k8s/0 [idle] waiting: awaiting for cluster to start
INFO  juju.model:model.py:2947 Waiting for model:
test-storage-postgresql-k8s/0 [executing] active:
INFO  pytest_operator.plugin:plugin.py:784 Model status:

Model Controller Cloud/Region Version SLA Timestamp
test microk8s-localhost microk8s/localhost 3.1.7 unsupported 02:02:46Z

App Version Status Scale Charm Channel Rev Address Exposed Message
postgresql-k8s 14.10 active 3 postgresql-k8s 2 10.152.183.146 no
test-storage-postgresql-k8s 14.10 active 1 postgresql-k8s 3 10.152.183.223 no Primary

Unit Workload Agent Address Ports Message
postgresql-k8s/0 active idle 10.1.94.31
postgresql-k8s/1 active idle 10.1.94.32
postgresql-k8s/2* active idle 10.1.94.33 Primary
test-storage-postgresql-k8s/0* active idle 10.1.94.35 Primary

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

unit-postgresql-k8s-0: 01:32:34 ERROR unit.postgresql-k8s/0.juju-log Cluster upgrade failed, ensure pre-upgrade checks are ran first.
unit-postgresql-k8s-1: 01:46:11 ERROR unit.postgresql-k8s/1.juju-log Cluster upgrade failed, ensure pre-upgrade checks are ran first.
controller-0: 01:56:34 ERROR juju.worker.caasapplicationprovisioner.runner exited "postgresql-k8s": cannot scale dying application to 0: application "postgresql-k8s" not found
unit-test-storage-postgresql-k8s-0: 02:01:53 ERROR unit.test-storage-postgresql-k8s/0.juju-log failed to change plugins:
Traceback (most recent call last):
File "/var/lib/juju/agents/unit-test-storage-postgresql-k8s-0/charm/lib/charms/postgresql_k8s/v0/postgresql.py", line 300, in enable_disable_extensions
with self._connect_to_database() as connection, connection.cursor() as cursor:
File "/var/lib/juju/agents/unit-test-storage-postgresql-k8s-0/charm/lib/charms/postgresql_k8s/v0/postgresql.py", line 127, in _connect_to_database
connection = psycopg2.connect(
File "/var/lib/juju/agents/unit-test-storage-postgresql-k8s-0/charm/venv/psycopg2/__init__.py", line 122, in connect
conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
psycopg2.OperationalError: connection to server at "test-storage-postgresql-k8s-primary.test.svc.cluster.local" (10.152.183.136), port 5432 failed: Connection refused
Is the server running on that host and accepting TCP/IP connections?


During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/var/lib/juju/agents/unit-test-storage-postgresql-k8s-0/charm/./src/charm.py", line 488, in enable_disable_extensions
self.postgresql.enable_disable_extensions(extensions, database)
File "/var/lib/juju/agents/unit-test-storage-postgresql-k8s-0/charm/lib/charms/postgresql_k8s/v0/postgresql.py", line 324, in enable_disable_extensions
raise PostgreSQLEnableDisableExtensionError()
charms.postgresql_k8s.v0.postgresql.PostgreSQLEnableDisableExtensionError
unit-test-storage-postgresql-k8s-0: 02:02:04 ERROR unit.test-storage-postgresql-k8s/0.juju-log failed to change plugins:
Traceback (most recent call last):
File "/var/lib/juju/agents/unit-test-storage-postgresql-k8s-0/charm/lib/charms/postgresql_k8s/v0/postgresql.py", line 300, in enable_disable_extensions
with self._connect_to_database() as connection, connection.cursor() as cursor:
File "/var/lib/juju/agents/unit-test-storage-postgresql-k8s-0/charm/lib/charms/postgresql_k8s/v0/postgresql.py", line 127, in _connect_to_database
connection = psycopg2.connect(
File "/var/lib/juju/agents/unit-test-storage-postgresql-k8s-0/charm/venv/psycopg2/__init__.py", line 122, in connect
conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
psycopg2.OperationalError: connection to server at "test-storage-postgresql-k8s-primary.test.svc.cluster.local" (10.152.183.136), port 5432 failed: Connection refused
Is the server running on that host and accepting TCP/IP connections?


During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/var/lib/juju/agents/unit-test-storage-postgresql-k8s-0/charm/./src/charm.py", line 488, in enable_disable_extensions
self.postgresql.enable_disable_extensions(extensions, database)
File "/var/lib/juju/agents/unit-test-storage-postgresql-k8s-0/charm/lib/charms/postgresql_k8s/v0/postgresql.py", line 324, in enable_disable_extensions
raise PostgreSQLEnableDisableExtensionError()
charms.postgresql_k8s.v0.postgresql.PostgreSQLEnableDisableExtensionError

INFO  pytest_operator.plugin:plugin.py:856 Forgetting main...
2 changes: 2 additions & 0 deletions 1866/data/attachments/2a07577f062b5b79.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
INFO  httpx:_client.py:1027 HTTP Request: GET https://10.1.1.12:16443/api/v1/namespaces/test/endpoints?labelSelector=app.juju.is%2Fcreated-by%3Dpostgresql-k8s "HTTP/1.1 200 OK"
INFO  httpx:_client.py:1027 HTTP Request: GET https://10.1.1.12:16443/api/v1/namespaces/test/services?labelSelector=app.juju.is%2Fcreated-by%3Dpostgresql-k8s "HTTP/1.1 200 OK"
23 changes: 23 additions & 0 deletions 1866/data/attachments/3392318dc4155230.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
INFO  integration.ha_tests.test_self_healing:test_self_healing.py:274 stopping database from postgresql-k8s/0
INFO  integration.ha_tests.test_self_healing:test_self_healing.py:278 removing data from postgresql-k8s/0
INFO  httpx:_client.py:1027 HTTP Request: GET https://10.1.0.23:16443/api/v1/namespaces/test/pods/postgresql-k8s-1 "HTTP/1.1 200 OK"
INFO  httpx:_client.py:1027 HTTP Request: GET https://10.1.0.23:16443/api/v1/namespaces/test/pods/postgresql-k8s-2 "HTTP/1.1 200 OK"
INFO  httpx:_client.py:1027 HTTP Request: GET https://10.1.0.23:16443/api/v1/namespaces/test/pods/postgresql-k8s-1 "HTTP/1.1 200 OK"
INFO  httpx:_client.py:1027 HTTP Request: GET https://10.1.0.23:16443/api/v1/namespaces/test/pods/postgresql-k8s-2 "HTTP/1.1 200 OK"
INFO  httpx:_client.py:1027 HTTP Request: GET https://10.1.0.23:16443/api/v1/namespaces/test/pods/postgresql-k8s-1 "HTTP/1.1 200 OK"
INFO  httpx:_client.py:1027 HTTP Request: GET https://10.1.0.23:16443/api/v1/namespaces/test/pods/postgresql-k8s-2 "HTTP/1.1 200 OK"
INFO  integration.ha_tests.test_self_healing:test_self_healing.py:296 checking whether a new primary was elected
INFO  integration.ha_tests.test_self_healing:test_self_healing.py:304 enabling WAL rotation on postgresql-k8s/0
INFO  integration.ha_tests.test_self_healing:test_self_healing.py:304 enabling WAL rotation on postgresql-k8s/0
INFO  integration.ha_tests.test_self_healing:test_self_healing.py:327 starting database on postgresql-k8s/0
INFO  httpx:_client.py:1027 HTTP Request: GET https://10.1.0.23:16443/api/v1/namespaces/test/pods/postgresql-k8s-0 "HTTP/1.1 200 OK"
INFO  httpx:_client.py:1027 HTTP Request: GET https://10.1.0.23:16443/api/v1/namespaces/test/pods/postgresql-k8s-1 "HTTP/1.1 200 OK"
INFO  httpx:_client.py:1027 HTTP Request: GET https://10.1.0.23:16443/api/v1/namespaces/test/pods/postgresql-k8s-2 "HTTP/1.1 200 OK"
INFO  httpx:_client.py:1027 HTTP Request: GET https://10.1.0.23:16443/api/v1/namespaces/test/pods/postgresql-k8s-0 "HTTP/1.1 200 OK"
INFO  httpx:_client.py:1027 HTTP Request: GET https://10.1.0.23:16443/api/v1/namespaces/test/pods/postgresql-k8s-1 "HTTP/1.1 200 OK"
INFO  httpx:_client.py:1027 HTTP Request: GET https://10.1.0.23:16443/api/v1/namespaces/test/pods/postgresql-k8s-2 "HTTP/1.1 200 OK"
INFO  httpx:_client.py:1027 HTTP Request: GET https://10.1.0.23:16443/api/v1/namespaces/test/pods/postgresql-k8s-0 "HTTP/1.1 200 OK"
INFO  httpx:_client.py:1027 HTTP Request: GET https://10.1.0.23:16443/api/v1/namespaces/test/pods/postgresql-k8s-1 "HTTP/1.1 200 OK"
INFO  httpx:_client.py:1027 HTTP Request: GET https://10.1.0.23:16443/api/v1/namespaces/test/pods/postgresql-k8s-2 "HTTP/1.1 200 OK"
INFO  httpx:_client.py:1027 HTTP Request: GET https://10.1.0.23:16443/api/v1/namespaces/test/pods/postgresql-k8s-1 "HTTP/1.1 200 OK"
INFO  httpx:_client.py:1027 HTTP Request: GET https://10.1.0.23:16443/api/v1/namespaces/test/pods/postgresql-k8s-2 "HTTP/1.1 200 OK"
48 changes: 48 additions & 0 deletions 1866/data/attachments/3579f7acd0ccecff.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
INFO  pytest_operator.plugin:plugin.py:675 Connecting to existing model microk8s-localhost:test on unspecified cloud
INFO  juju.model:model.py:2087 Deploying ch:amd64/jammy/postgresql-test-app-50
INFO  juju.model:model.py:2087 Deploying local:jammy/postgresql-k8s-0
INFO  juju.model:model.py:2087 Deploying local:jammy/postgresql-k8s-1
WARNING  juju.model:model.py:1553 relate is deprecated and will be removed. Use integrate instead.
INFO  juju.model:model.py:2947 Waiting for model:
database/0 [allocating] waiting: installing agent
database/1 [allocating] waiting: installing agent
database/2 [allocating] waiting: installing agent
INFO  juju.model:model.py:2947 Waiting for model:
database/0 [allocating] waiting: agent initialising
database/1 [allocating] waiting: agent initialising
database/2 [allocating] waiting: agent initialising
INFO  juju.model:model.py:2947 Waiting for model:
database/0 [executing] maintenance: installing charm software
database/1 [executing] waiting: awaiting for cluster to start
database/2 [executing] unknown:
INFO  juju.model:model.py:2947 Waiting for model:
database/0 [idle] unknown:
database/1 [executing] waiting: awaiting for primary endpoint to be ready
database/2 [idle] unknown:
INFO  juju.model:model.py:2947 Waiting for model:
database/0 [idle] unknown:
database/1 [idle] active:
database/2 [idle] unknown:
INFO  juju.model:model.py:2947 Waiting for model:
database/0 [executing] waiting: awaiting for cluster to start
database/1 [idle] active:
database/2 [executing] waiting: awaiting for cluster to start
INFO  juju.model:model.py:2947 Waiting for model:
database/0 [idle] waiting: awaiting for cluster to start
database/1 [idle] active:
database/2 [idle] waiting: awaiting for cluster to start
INFO  juju.model:model.py:2947 Waiting for model:
database/0 [idle] waiting: awaiting for member to start
database/1 [executing] active:
database/2 [idle] waiting: awaiting for cluster to start
INFO  juju.model:model.py:2947 Waiting for model:
database/0 [idle] active:
database/1 [idle] active:
database/2 [idle] waiting: awaiting for member to start
INFO  juju.model:model.py:2947 Waiting for model:
database/0 [idle] active:
database/1 [idle] active: Primary
database/2 [idle] active:
INFO  integration.new_relations.test_new_relations:test_new_relations.py:98 checking for secrets
INFO  httpx:_client.py:1758 HTTP Request: GET https://10.1.0.48:16443/api/v1/namespaces/test/services/database-primary "HTTP/1.1 200 OK"
INFO  httpx:_client.py:1758 HTTP Request: GET https://10.1.0.48:16443/api/v1/namespaces/test/services/database-replicas "HTTP/1.1 200 OK"
53 changes: 53 additions & 0 deletions 1866/data/attachments/3d845e73fe229a4a.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
INFO  pytest_operator.plugin:plugin.py:675 Connecting to existing model microk8s-localhost:test on unspecified cloud
INFO  juju.model:model.py:2087 Deploying local:jammy/postgresql-k8s-0
INFO  juju.model:model.py:2947 Waiting for model:
postgresql-k8s/0 [allocating] waiting: installing agent
postgresql-k8s/1 [allocating] waiting: installing agent
INFO  juju.model:model.py:2947 Waiting for model:
postgresql-k8s/0 [executing] waiting: awaiting for cluster to start
postgresql-k8s/1 [executing] unknown:
INFO  juju.model:model.py:2947 Waiting for model:
postgresql-k8s/0 [executing] waiting: awaiting for primary endpoint to be ready
postgresql-k8s/1 [idle] unknown:
INFO  juju.model:model.py:2947 Waiting for model:
postgresql-k8s/0 [idle] waiting: awaiting for primary endpoint to be ready
postgresql-k8s/1 [idle] unknown:
INFO  juju.model:model.py:2947 Waiting for model:
postgresql-k8s/0 [executing] active:
postgresql-k8s/1 [executing] unknown:
INFO  juju.model:model.py:2947 Waiting for model:
postgresql-k8s/0 [executing] active:
postgresql-k8s/1 [idle] unknown:
INFO  juju.model:model.py:2947 Waiting for model:
postgresql-k8s/0 [idle] active: Primary
postgresql-k8s/1 [idle] waiting: awaiting for member to start
INFO  juju.model:model.py:2947 Waiting for model:
postgresql-k8s/0 [idle] active: Primary
postgresql-k8s/1 [idle] active:
INFO  juju.model:model.py:2947 Waiting for model:
postgresql-k8s/0 [idle] active: Primary
postgresql-k8s/1 [idle] active:
INFO  juju.model:model.py:2947 Waiting for model:
postgresql-k8s/1 [idle] active:
INFO  integration.test_plugins:test_plugins.py:169 checking that the plugins are disabled
INFO  integration.test_plugins:test_plugins.py:183 enabling the plugins
INFO  juju.model:model.py:2947 Waiting for model:
postgresql-k8s/0 [idle] active: Primary
postgresql-k8s/1 [idle] active:
INFO  integration.test_plugins:test_plugins.py:190 checking that the plugins are enabled
INFO  pytest_operator.plugin:plugin.py:784 Model status:

Model Controller Cloud/Region Version SLA Timestamp
test microk8s-localhost microk8s/localhost 3.1.7 unsupported 01:31:29Z

App Version Status Scale Charm Channel Rev Address Exposed Message
postgresql-k8s 14.10 active 2 postgresql-k8s 0 10.152.183.74 no Primary

Unit Workload Agent Address Ports Message
postgresql-k8s/0* active idle 10.1.21.10 Primary
postgresql-k8s/1 active idle 10.1.21.11

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


INFO  pytest_operator.plugin:plugin.py:856 Forgetting main...
Loading

0 comments on commit 8a7655b

Please sign in to comment.