Skip to content

Commit

Permalink
Allure report 3108
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Oct 5, 2024
1 parent b964dd7 commit a3e196d
Show file tree
Hide file tree
Showing 379 changed files with 6,306 additions and 2 deletions.
2 changes: 2 additions & 0 deletions 3108/app.js

Large diffs are not rendered by default.

114 changes: 114 additions & 0 deletions 3108/data/attachments/13de90d698c01955.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
INFO  juju.model:model.py:2098 Deploying ch:amd64/focal/indico-213
INFO  juju.model:model.py:2098 Deploying ch:amd64/focal/redis-k8s-7
INFO  juju.model:model.py:2098 Deploying ch:amd64/focal/redis-k8s-7
WARNING  juju.model:model.py:1564 relate is deprecated and will be removed. Use integrate instead.
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:
indico/0 [allocating] waiting: installing agent
INFO  juju.model:model.py:2972 Waiting for model:
indico/0 [allocating] waiting: installing agent
INFO  juju.model:model.py:2972 Waiting for model:
indico/0 [idle] waiting: Waiting for database availability
INFO  integration.new_relations.test_new_relations:test_new_relations.py:696 Verifying that the charm doesn't block when the extensions are enabled
INFO  juju.model:model.py:2972 Waiting for model:
database/0 [executing] active: Primary
database/1 [executing] active:
database/2 [executing] active:
INFO  juju.model:model.py:2972 Waiting for model:
database/0 [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:
database/0 [idle] active: Primary
database/1 [executing] active:
database/2 [executing] active:
indico/0 [executing] waiting: Waiting for database availability
INFO  juju.model:model.py:2972 Waiting for model:
indico/0 [idle] active:
INFO  juju.model:model.py:2972 Waiting for model:
indico/0 [idle] active:
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 02:00:46Z

App Version Status Scale Charm Channel Rev Address Exposed Message
another-application active 1 postgresql-test-app latest/edge 254 10.152.183.80 no received database credentials of the first database
another-data-integrator waiting 1 data-integrator latest/stable 41 10.152.183.115 no installing agent
another-database 14.13 active 3 postgresql-k8s 1 10.152.183.74 no
data-integrator waiting 1 data-integrator latest/stable 41 10.152.183.126 no installing agent
database 14.13 active 3 postgresql-k8s 0 10.152.183.205 no
indico 3.3.1 active 1 indico latest/stable 213 10.152.183.139 no
other-discourse-k8s 3.3.0 active 1 discourse-k8s latest/stable 173 10.152.183.97 no
postgresql-test-app active 2 postgresql-test-app latest/edge 254 10.152.183.98 no received database credentials of the first database
redis-broker ubuntu/redis@691f315 active 1 redis-k8s latest/stable 7 no
redis-cache ubuntu/redis@691f315 active 1 redis-k8s latest/stable 7 no
redis-k8s 7.2.5 active 1 redis-k8s latest/edge 36 10.152.183.238 no

Unit Workload Agent Address Ports Message
another-application/0* active idle 10.1.165.214 received database credentials of the first database
another-data-integrator/0* blocked idle 10.1.165.218 Please relate the data-integrator with the desired product
another-database/0 active idle 10.1.165.206
another-database/1 active idle 10.1.165.208
another-database/2* active idle 10.1.165.207 Primary
data-integrator/0* blocked idle 10.1.165.217 Please relate the data-integrator with the desired product
database/0* active idle 10.1.165.211 Primary
database/1 active idle 10.1.165.215
database/2 active idle 10.1.165.216
indico/0* active idle 10.1.165.226
other-discourse-k8s/0* active idle 10.1.165.222
postgresql-test-app/0* active idle 10.1.165.200 received database credentials of the first database
postgresql-test-app/1 active idle 10.1.165.201 received database credentials of the first database
redis-broker/0* active idle 10.1.165.227 6379/TCP
redis-cache/0* active idle 10.1.165.229 6379/TCP
redis-k8s/0* active idle 10.1.165.221

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

unit-database-2: 01:35:39 ERROR unit.database/2.juju-log pgdata folder not found in /var/lib/postgresql/data/pgdata
unit-another-database-1: 01:35:48 ERROR unit.another-database/1.juju-log pgdata folder not found in /var/lib/postgresql/data/pgdata
unit-database-0: 01:41:36 ERROR unit.database/0.juju-log Kubernetes service get failed: services "database" not found
unit-database-0: 01:41:36 ERROR unit.database/0.juju-log Kubernetes service patch failed: services "database" not found
unit-database-0: 01:41:46 ERROR unit.database/0.juju-log Kubernetes service get failed: services "database" not found
unit-database-0: 01:41:46 ERROR unit.database/0.juju-log Kubernetes service patch failed: services "database" not found
unit-database-0: 01:50:12 ERROR unit.database/0.juju-log database:20: Invalid extra user roles: test
unit-database-0: 01:50:12 ERROR unit.database/0.juju-log database:20: invalid role(s) for extra user roles
Traceback (most recent call last):
File "/var/lib/juju/agents/unit-database-0/charm/src/relations/postgresql_provider.py", line 92, in _on_database_requested
self.charm.postgresql.create_user(user, password, extra_user_roles=extra_user_roles)
File "/var/lib/juju/agents/unit-database-0/charm/lib/charms/tempo_coordinator_k8s/v0/charm_tracing.py", line 734, in wrapped_function
return callable(*args, **kwargs) # type: ignore
File "/var/lib/juju/agents/unit-database-0/charm/lib/charms/postgresql_k8s/v0/postgresql.py", line 244, in create_user
raise PostgreSQLCreateUserError(INVALID_EXTRA_USER_ROLE_BLOCKING_MESSAGE)
charms.postgresql_k8s.v0.postgresql.PostgreSQLCreateUserError: invalid role(s) for extra user roles
unit-database-0: 01:50:17 ERROR unit.database/0.juju-log database:21: Invalid extra user roles: test
unit-database-0: 01:50:17 ERROR unit.database/0.juju-log database:21: invalid role(s) for extra user roles
Traceback (most recent call last):
File "/var/lib/juju/agents/unit-database-0/charm/src/relations/postgresql_provider.py", line 92, in _on_database_requested
self.charm.postgresql.create_user(user, password, extra_user_roles=extra_user_roles)
File "/var/lib/juju/agents/unit-database-0/charm/lib/charms/tempo_coordinator_k8s/v0/charm_tracing.py", line 734, in wrapped_function
return callable(*args, **kwargs) # type: ignore
File "/var/lib/juju/agents/unit-database-0/charm/lib/charms/postgresql_k8s/v0/postgresql.py", line 244, in create_user
raise PostgreSQLCreateUserError(INVALID_EXTRA_USER_ROLE_BLOCKING_MESSAGE)
charms.postgresql_k8s.v0.postgresql.PostgreSQLCreateUserError: invalid role(s) for extra user roles
application-redis-cache: 01:58:38 ERROR unit.redis-cache/0.juju-log redis:30: Uncaught exception while in charm code:
Traceback (most recent call last):
File "./src/charm.py", line 159, in <module>
main(RedisCharm)
File "/var/lib/juju/agents/unit-redis-cache-0/charm/venv/ops/main.py", line 402, in main
_emit_charm_event(charm, dispatcher.event_name)
File "/var/lib/juju/agents/unit-redis-cache-0/charm/venv/ops/main.py", line 140, in _emit_charm_event
event_to_emit.emit(*args, **kwargs)
File "/var/lib/juju/agents/unit-redis-cache-0/charm/venv/ops/framework.py", line 278, in emit
framework._emit(event)
File "/var/lib/juju/agents/unit-redis-cache-0/charm/venv/ops/framework.py", line 722, in _emit
self._reemit(event_path)
File "/var/lib/juju/agents/unit-redis-cache-0/charm/venv/ops/framework.py", line 767, in _reemit
custom_handler(event)
File "/var/lib/juju/agents/unit-redis-cache-0/charm/lib/charms/redis_k8s/v0/redis.py", line 91, in _on_relation_changed
event.relation.data[self.model.unit]['hostname'] = str(self._bind_address(event))
File "/var/lib/juju/agents/unit-redis-cache-0/charm/lib/charms/redis_k8s/v0/redis.py", line 103, in _bind_address
return self.app.name
AttributeError: 'RedisProvides' object has no attribute 'app'
application-redis-cache: 01:58:39 ERROR juju.worker.caasoperator.uniter.redis-cache/0.operation hook "redis-relation-changed" (via hook dispatching script: dispatch) failed: exit status 1

INFO  pytest_operator.plugin:plugin.py:991 Forgetting model main...
69 changes: 69 additions & 0 deletions 3108/data/attachments/16b872e35ffc1277.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
INFO  juju.model:model.py:2098 Deploying local:jammy/postgresql-k8s-1
INFO  juju.model:model.py:2972 Waiting for model:
second-postgresql-k8s/0 [allocating] waiting: installing agent
second-postgresql-k8s/1 [allocating] waiting: installing agent
INFO  juju.model:model.py:2972 Waiting for model:
second-postgresql-k8s/0 [executing] waiting: awaiting for cluster to start
second-postgresql-k8s/1 [executing] maintenance: installing charm software
INFO  juju.model:model.py:2972 Waiting for model:
second-postgresql-k8s/0 [executing] waiting: awaiting for primary endpoint to be ready
second-postgresql-k8s/1 [executing] unknown:
INFO  juju.model:model.py:2972 Waiting for model:
second-postgresql-k8s/0 [executing] waiting: awaiting for primary endpoint to be ready
second-postgresql-k8s/1 [idle] unknown:
INFO  juju.model:model.py:2972 Waiting for model:
second-postgresql-k8s/0 [idle] active: Primary
second-postgresql-k8s/1 [idle] unknown:
INFO  juju.model:model.py:2972 Waiting for model:
second-postgresql-k8s/0 [executing] active: Primary
second-postgresql-k8s/1 [executing] waiting: awaiting for cluster to start
INFO  juju.model:model.py:2972 Waiting for model:
second-postgresql-k8s/0 [executing] active: Primary
second-postgresql-k8s/1 [idle] waiting: awaiting for member to start
INFO  juju.model:model.py:2972 Waiting for model:
second-postgresql-k8s/0 [idle] active: Primary
second-postgresql-k8s/1 [idle] waiting: awaiting for member to start
INFO  juju.model:model.py:2972 Waiting for model:
second-postgresql-k8s/0 [idle] active: Primary
second-postgresql-k8s/1 [idle] waiting: awaiting for member to start
INFO  juju.model:model.py:2972 Waiting for model:
second-postgresql-k8s/0 [idle] active: Primary
second-postgresql-k8s/1 [idle] waiting: awaiting for member to start
INFO  juju.model:model.py:2972 Waiting for model:
second-postgresql-k8s/0 [idle] active: Primary
second-postgresql-k8s/1 [idle] waiting: awaiting for member to start
INFO  juju.model:model.py:2972 Waiting for model:
second-postgresql-k8s/0 [idle] active: Primary
second-postgresql-k8s/1 [idle] waiting: awaiting for member to start
INFO  juju.model:model.py:2972 Waiting for model:
second-postgresql-k8s/0 [idle] active: Primary
second-postgresql-k8s/1 [idle] active:
INFO  httpx:_client.py:1038 HTTP Request: GET https://10.1.0.100:16443/api/v1/namespaces/test/pods/postgresql-k8s-2 "HTTP/1.1 200 OK"
INFO  integration.ha_tests.helpers:helpers.py:248 Initial writes {'test.postgresql-k8s-2': 181}
INFO  httpx:_client.py:1038 HTTP Request: GET https://10.1.0.100:16443/api/v1/namespaces/test/pods/postgresql-k8s-2 "HTTP/1.1 200 OK"
INFO  integration.ha_tests.helpers:helpers.py:254 Retry writes {'test.postgresql-k8s-2': 324}
INFO  httpx:_client.py:1038 HTTP Request: GET https://10.1.0.100: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.100:16443/api/v1/namespaces/test/pods/postgresql-k8s-2 "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:46:38Z

App Version Status Scale Charm Channel Rev Address Exposed Message
postgresql-k8s 14.13 active 3 postgresql-k8s 0 10.152.183.55 no
postgresql-test-app active 1 postgresql-test-app latest/edge 254 10.152.183.183 no received database credentials of the first database
second-postgresql-k8s 14.13 active 2 postgresql-k8s 1 10.152.183.208 no

Unit Workload Agent Address Ports Message
postgresql-k8s/0* active idle 10.1.95.79
postgresql-k8s/1 active idle 10.1.95.77 Primary
postgresql-k8s/2 active idle 10.1.95.76
postgresql-test-app/0* active idle 10.1.95.78 received database credentials of the first database
second-postgresql-k8s/0* active idle 10.1.95.82 Primary
second-postgresql-k8s/1 active idle 10.1.95.83

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

unit-postgresql-k8s-0: 01:37:59 ERROR unit.postgresql-k8s/0.juju-log Cluster upgrade failed, ensure pre-upgrade checks are ran first.

INFO  pytest_operator.plugin:plugin.py:991 Forgetting model main...
22 changes: 22 additions & 0 deletions 3108/data/attachments/18ebf8c57f4c58da.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
WARNING  juju.model:model.py:1564 relate is deprecated and will be removed. Use integrate instead.
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 for cluster database
postgresql-test-app/1 [idle] active: received database credentials for cluster database
database/0 [executing] active: Primary
database/1 [executing] active:
database/2 [executing] active:
another-database/0 [executing] active:
another-database/1 [executing] active:
another-database/2 [executing] active: Primary
INFO  juju.model:model.py:2972 Waiting for model:
postgresql-test-app/0 [idle] active: received database credentials for cluster2
postgresql-test-app/1 [idle] active: received database credentials for cluster2
database/0 [idle] active: Primary
database/1 [idle] active:
database/2 [idle] active:
another-database/0 [idle] active:
another-database/1 [idle] active:
another-database/2 [idle] active: Primary
INFO  httpx:_client.py:1786 HTTP Request: GET https://10.1.0.14:16443/api/v1/namespaces/test/services/another-database-primary "HTTP/1.1 200 OK"
INFO  httpx:_client.py:1786 HTTP Request: GET https://10.1.0.14:16443/api/v1/namespaces/test/services/database-primary "HTTP/1.1 200 OK"
1 change: 1 addition & 0 deletions 3108/data/attachments/19696e0f0251ecc4.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
INFO  httpx:_client.py:1786 HTTP Request: GET https://10.1.0.218:16443/api/v1/namespaces/test/pods/postgresql-k8s-0 "HTTP/1.1 200 OK"
Loading

0 comments on commit a3e196d

Please sign in to comment.