Skip to content

Commit

Permalink
Allure report #2044
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Mar 19, 2024
1 parent 019e211 commit 574b33a
Show file tree
Hide file tree
Showing 189 changed files with 12,096 additions and 2 deletions.
40 changes: 40 additions & 0 deletions 2044/app.js

Large diffs are not rendered by default.

25 changes: 25 additions & 0 deletions 2044/data/attachments/10d5d035974f98ff.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
INFO  juju.model:model.py:2097 Deploying ch:amd64/jammy/data-integrator-19
INFO  juju.model:model.py:2957 Waiting for model:
data-integrator/0 [allocating] waiting: installing agent
INFO  juju.model:model.py:2957 Waiting for model:
data-integrator/0 [idle] blocked: Please specify either topic, index, or database name
INFO  juju.model:model.py:2957 Waiting for model:
data-integrator/0 [executing] blocked: Please specify either topic, index, or database name
WARNING  juju.model:model.py:1563 relate is deprecated and will be removed. Use integrate instead.
INFO  juju.model:model.py:2957 Waiting for model:
data-integrator/0 [idle] blocked: Please relate the data-integrator with the desired product
postgresql-test-app/0 [idle] active: received database credentials of the first database
postgresql-test-app/1 [idle] active: received database credentials of the first database
database/0 [executing] active: Primary
database/1 [executing] active:
database/2 [executing] active:
another-database/0 [idle] active:
another-database/1 [idle] active: Primary
another-database/2 [idle] active:
INFO  integration.new_relations.test_new_relations:test_new_relations.py:467 connecting to the following database: postgres
INFO  httpx:_client.py:1773 HTTP Request: GET https://10.1.0.67:16443/api/v1/namespaces/test/services/database-primary "HTTP/1.1 200 OK"
INFO  integration.new_relations.test_new_relations:test_new_relations.py:467 connecting to the following database: postgresql_test_app_first_database
INFO  httpx:_client.py:1773 HTTP Request: GET https://10.1.0.67:16443/api/v1/namespaces/test/services/database-primary "HTTP/1.1 200 OK"
INFO  integration.new_relations.test_new_relations:test_new_relations.py:467 connecting to the following database: another_application_first_database
INFO  httpx:_client.py:1773 HTTP Request: GET https://10.1.0.67:16443/api/v1/namespaces/test/services/database-primary "HTTP/1.1 200 OK"
INFO  httpx:_client.py:1773 HTTP Request: GET https://10.1.0.67:16443/api/v1/namespaces/test/services/database-primary "HTTP/1.1 200 OK"
41 changes: 41 additions & 0 deletions 2044/data/attachments/1361ca5c6fd72961.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
INFO  pytest_operator.plugin:plugin.py:708 Connecting to existing model microk8s-localhost:test on unspecified cloud
INFO  juju.model:model.py:2097 Deploying ch:amd64/jammy/postgresql-test-app-76
INFO  juju.model:model.py:2097 Deploying ch:amd64/jammy/postgresql-k8s-220
INFO  integration.ha_tests.test_upgrade:test_upgrade.py:57 Wait for applications to become active
INFO  juju.model:model.py:2957 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:2957 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:2957 Waiting for model:
postgresql-k8s/0 [executing] waiting: awaiting for cluster to start
postgresql-k8s/1 [executing] unknown:
postgresql-k8s/2 [executing] unknown:
INFO  juju.model:model.py:2957 Waiting for model:
postgresql-k8s/0 [idle] waiting: awaiting for primary endpoint to be ready
postgresql-k8s/1 [idle] unknown:
postgresql-k8s/2 [idle] unknown:
INFO  juju.model:model.py:2957 Waiting for model:
postgresql-k8s/0 [idle] active:
postgresql-k8s/1 [executing] waiting: awaiting for cluster to start
postgresql-k8s/2 [idle] unknown:
INFO  juju.model:model.py:2957 Waiting for model:
postgresql-k8s/0 [idle] active:
postgresql-k8s/1 [idle] waiting: awaiting for cluster to start
postgresql-k8s/2 [idle] unknown:
INFO  juju.model:model.py:2957 Waiting for model:
postgresql-k8s/0 [idle] maintenance: reconfiguring cluster
postgresql-k8s/1 [idle] waiting: awaiting for cluster to start
postgresql-k8s/2 [idle] waiting: awaiting for cluster to start
INFO  juju.model:model.py:2957 Waiting for model:
postgresql-k8s/0 [executing] active:
postgresql-k8s/1 [idle] active:
postgresql-k8s/2 [idle] waiting: awaiting for member to start
INFO  juju.model:model.py:2957 Waiting for model:
postgresql-k8s/0 [idle] active: Primary
postgresql-k8s/1 [idle] active:
postgresql-k8s/2 [idle] waiting: awaiting for member to start
65 changes: 65 additions & 0 deletions 2044/data/attachments/14452913906848e4.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
INFO  juju.model:model.py:2957 Waiting for model:
postgresql-k8s/0 [idle] active: Primary
postgresql-k8s/1 [idle] active:
postgresql-k8s/2 [idle] active:
INFO  juju.model:model.py:2957 Waiting for model:
postgresql-k8s (waiting for exactly 2 units, current : 3)
INFO  juju.model:model.py:2957 Waiting for model:
postgresql-k8s/0 [idle] active:
postgresql-k8s/1 [idle] active:
INFO  juju.model:model.py:2957 Waiting for model:
postgresql-k8s (waiting for exactly 4 units, current : 2)
INFO  juju.model:model.py:2957 Waiting for model:
postgresql-k8s/0 [idle] active:
postgresql-k8s/1 [idle] active:
postgresql-k8s/2 [executing] waiting: awaiting for cluster to start
postgresql-k8s/3 [executing] waiting: awaiting for cluster to start
INFO  juju.model:model.py:2957 Waiting for model:
postgresql-k8s/0 [idle] active:
postgresql-k8s/1 [idle] active:
postgresql-k8s/2 [executing] active:
postgresql-k8s/3 [idle] waiting: awaiting for cluster to start
INFO  juju.model:model.py:2957 Waiting for model:
postgresql-k8s/0 [executing] active:
postgresql-k8s/1 [executing] active:
postgresql-k8s/2 [executing] active:
postgresql-k8s/3 [idle] waiting: awaiting for member to start
INFO  juju.model:model.py:2957 Waiting for model:
postgresql-k8s/0 [idle] active:
postgresql-k8s/1 [idle] active:
postgresql-k8s/2 [executing] active:
postgresql-k8s/3 [idle] waiting: awaiting for member to start
INFO  juju.model:model.py:2957 Waiting for model:
postgresql-k8s/0 [idle] active:
postgresql-k8s/1 [idle] active:
postgresql-k8s/2 [executing] active:
postgresql-k8s/3 [idle] waiting: awaiting for member to start
INFO  juju.model:model.py:2957 Waiting for model:
postgresql-k8s/0 [idle] active:
postgresql-k8s/1 [idle] active:
postgresql-k8s/2 [idle] active:
postgresql-k8s/3 [idle] waiting: awaiting for member to start
INFO  juju.model:model.py:2957 Waiting for model:
postgresql-k8s/0 [idle] active:
postgresql-k8s/1 [idle] active:
postgresql-k8s/2 [idle] active:
postgresql-k8s/3 [idle] waiting: awaiting for member to start
INFO  juju.model:model.py:2957 Waiting for model:
postgresql-k8s/0 [idle] active:
postgresql-k8s/1 [idle] active:
postgresql-k8s/2 [idle] active:
postgresql-k8s/3 [idle] waiting: awaiting for member to start
INFO  juju.model:model.py:2957 Waiting for model:
postgresql-k8s/0 [idle] active:
postgresql-k8s/1 [idle] active:
postgresql-k8s/2 [idle] active:
postgresql-k8s/3 [idle] waiting: awaiting for member to start
INFO  juju.model:model.py:2957 Waiting for model:
postgresql-k8s/0 [idle] active:
postgresql-k8s/1 [idle] active:
postgresql-k8s/2 [idle] active:
postgresql-k8s/3 [idle] active:
INFO  juju.model:model.py:2957 Waiting for model:
postgresql-k8s (waiting for exactly 3 units, current : 4)
INFO  juju.model:model.py:2957 Waiting for model:
postgresql-k8s (waiting for exactly 3 units, current : 4)
1 change: 1 addition & 0 deletions 2044/data/attachments/1b1685d381b1f642.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.137.140
43 changes: 43 additions & 0 deletions 2044/data/attachments/1debc698000fef18.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
INFO  pytest_operator.plugin:plugin.py:708 Connecting to existing model microk8s-localhost:test on unspecified cloud
INFO  juju.model:model.py:2097 Deploying local:jammy/postgresql-k8s-0
INFO  juju.model:model.py:2097 Deploying ch:amd64/jammy/postgresql-test-app-76
INFO  juju.model:model.py:2957 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:2957 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
postgresql-test-app/0 [idle] active:
INFO  juju.model:model.py:2957 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:2957 Waiting for model:
postgresql-k8s/0 [idle] unknown:
postgresql-k8s/1 [idle] unknown:
postgresql-k8s/2 [executing] waiting: awaiting for primary endpoint to be ready
INFO  juju.model:model.py:2957 Waiting for model:
postgresql-k8s/0 [executing] unknown:
postgresql-k8s/1 [executing] unknown:
postgresql-k8s/2 [idle] active:
INFO  juju.model:model.py:2957 Waiting for model:
postgresql-k8s/0 [idle] unknown:
postgresql-k8s/1 [idle] unknown:
postgresql-k8s/2 [idle] active:
INFO  juju.model:model.py:2957 Waiting for model:
postgresql-k8s/0 [executing] waiting: awaiting for member to start
postgresql-k8s/1 [idle] waiting: awaiting for cluster to start
postgresql-k8s/2 [idle] active:
INFO  juju.model:model.py:2957 Waiting for model:
postgresql-k8s/0 [idle] active:
postgresql-k8s/1 [idle] waiting: awaiting for cluster to start
postgresql-k8s/2 [idle] maintenance: reconfiguring cluster
INFO  juju.model:model.py:2957 Waiting for model:
postgresql-k8s/0 [idle] active:
postgresql-k8s/1 [idle] waiting: awaiting for member to start
postgresql-k8s/2 [idle] active:
INFO  juju.model:model.py:2957 Waiting for model:
postgresql-k8s/2 [idle] active: Primary
112 changes: 112 additions & 0 deletions 2044/data/attachments/1ea0e2cad888c63f.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
INFO  juju.model:model.py:2097 Deploying ch:amd64/focal/indico-175
INFO  juju.model:model.py:2097 Deploying ch:amd64/focal/redis-k8s-7
INFO  juju.model:model.py:2097 Deploying ch:amd64/focal/redis-k8s-7
WARNING  juju.model:model.py:1563 relate is deprecated and will be removed. Use integrate instead.
WARNING  juju.model:model.py:1563 relate is deprecated and will be removed. Use integrate instead.
INFO  juju.model:model.py:2957 Waiting for model:
indico/0 [allocating] waiting: installing agent
INFO  juju.model:model.py:2957 Waiting for model:
indico/0 [allocating] waiting: installing agent
INFO  juju.model:model.py:2957 Waiting for model:
indico/0 [executing] waiting: Waiting for database availability
INFO  integration.new_relations.test_new_relations:test_new_relations.py:689 Verifying that the charm doesn't block when the extensions are enabled
INFO  juju.model:model.py:2957 Waiting for model:
database/0 [executing] active: Primary
database/1 [executing] active:
database/2 [executing] active:
INFO  juju.model:model.py:2957 Waiting for model:
database/0 [idle] active: Primary
database/1 [idle] active:
database/2 [idle] active:
WARNING  juju.model:model.py:1563 relate is deprecated and will be removed. Use integrate instead.
INFO  juju.model:model.py:2957 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:2957 Waiting for model:
database/0 [idle] active: Primary
database/1 [idle] active:
database/2 [idle] active:
indico/0 [executing] maintenance: Adding indico-celery layer to pebble
INFO  juju.model:model.py:2957 Waiting for model:
indico/0 [idle] active:
INFO  pytest_operator.plugin:plugin.py:834 Model status:

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

App Version Status Scale Charm Channel Rev Address Exposed Message
another-application active 1 postgresql-test-app edge 76 10.152.183.176 no received database credentials of the first database
another-data-integrator waiting 1 data-integrator latest/stable 19 10.152.183.172 no installing agent
another-database 14.11 active 3 postgresql-k8s 1 10.152.183.53 no
data-integrator waiting 1 data-integrator latest/stable 19 10.152.183.167 no installing agent
database 14.11 active 3 postgresql-k8s 0 10.152.183.139 no Primary
indico 3.2.8 active 1 indico stable 175 10.152.183.121 no
other-discourse-k8s 3.2.0 active 1 discourse-k8s latest/stable 95 10.152.183.244 no
postgresql-test-app active 2 postgresql-test-app edge 76 10.152.183.184 no received database credentials of the first database
redis-broker ubuntu/redis@691f315 active 1 redis-k8s stable 7 no
redis-cache ubuntu/redis@691f315 active 1 redis-k8s stable 7 no
redis-k8s 7.0.4 active 1 redis-k8s latest/edge 27 10.152.183.252 no

Unit Workload Agent Address Ports Message
another-application/0* active idle 10.1.203.214 received database credentials of the first database
another-data-integrator/0* blocked idle 10.1.203.218 Please relate the data-integrator with the desired product
another-database/0 active idle 10.1.203.208
another-database/1* active idle 10.1.203.209 Primary
another-database/2 active idle 10.1.203.210
data-integrator/0* blocked idle 10.1.203.217 Please relate the data-integrator with the desired product
database/0* active idle 10.1.203.211 Primary
database/1 active idle 10.1.203.216
database/2 active idle 10.1.203.215
indico/0* active idle 10.1.203.226
other-discourse-k8s/0* active idle 10.1.203.222
postgresql-test-app/0* active idle 10.1.203.200 received database credentials of the first database
postgresql-test-app/1 active idle 10.1.203.201 received database credentials of the first database
redis-broker/0* active idle 10.1.203.227 6379/TCP
redis-cache/0* active idle 10.1.203.229 6379/TCP
redis-k8s/0* active idle 10.1.203.221

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

unit-database-0: 01:46:38 ERROR unit.database/0.juju-log database:20: Invalid extra user roles: test
unit-database-0: 01:46:38 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 89, 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/postgresql_k8s/v0/postgresql.py", line 222, 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:46:42 ERROR unit.database/0.juju-log database:21: Invalid extra user roles: test
unit-database-0: 01:46:43 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 89, 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/postgresql_k8s/v0/postgresql.py", line 222, 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-redis-k8s-0: 01:48:22 ERROR unit.redis-k8s/0.juju-log redis-peers:23: Error when connecting to sentinel: Error 111 connecting to 0.0.0.0:26379. Connection refused.
unit-redis-k8s-0: 01:48:22 ERROR unit.redis-k8s/0.juju-log redis-peers:23: Unit redis-k8s/0 doesn't agree on tracked master
unit-redis-k8s-0: 01:48:22 ERROR unit.redis-k8s/0.juju-log redis-peers:23: Error when connecting to sentinel: Error 111 connecting to localhost:26379. Connection refused.
application-redis-cache: 02:00:25 ERROR unit.redis-cache/0.juju-log redis:31: 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: 02:00:25 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:904 Forgetting main...
Loading

0 comments on commit 574b33a

Please sign in to comment.