Skip to content

Commit

Permalink
Allure report #2717
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jun 8, 2024
1 parent 2db2ae9 commit 4c28068
Show file tree
Hide file tree
Showing 207 changed files with 13,418 additions and 2 deletions.
2 changes: 2 additions & 0 deletions 2717/app.js

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions 2717/data/attachments/145fc6be5cbb1f10.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
INFO  integration.ha_tests.test_upgrade_from_stable:test_upgrade_from_stable.py:91 Get leader unit
INFO  integration.ha_tests.test_upgrade_from_stable:test_upgrade_from_stable.py:95 Run pre-upgrade-check action
4 changes: 4 additions & 0 deletions 2717/data/attachments/19f9c12f55afe019.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
INFO  integration.ha_tests.helpers:helpers.py:196 checking that the former primary is now a replica
INFO  integration.ha_tests.helpers:helpers.py:202 checking that all units are part of the same cluster
INFO  integration.ha_tests.helpers:helpers.py:216 checking that no writes to the database were missed after stopping the writes
INFO  integration.ha_tests.helpers:helpers.py:220 checking that the former primary is up to date with the cluster after restarting
93 changes: 93 additions & 0 deletions 2717/data/attachments/1bd35091ab0affd6.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
INFO  pytest_operator.plugin:plugin.py:862 Model status:

Model Controller Cloud/Region Version SLA Timestamp
test localhost-localhost localhost/localhost 3.1.8 unsupported 01:56:35Z

App Version Status Scale Charm Channel Rev Exposed Message
postgresql 14.11 active 3 postgresql 0 no

Unit Workload Agent Machine Public address Ports Message
postgresql/0 active idle 0 10.220.72.68 5432/tcp
postgresql/1* active idle 1 10.220.72.70 5432/tcp Primary
postgresql/2 active idle 2 10.220.72.119 5432/tcp

Machine State Address Inst id Base AZ Message
0 started 10.220.72.68 juju-d77244-0 [email protected] Running
1 started 10.220.72.70 juju-d77244-1 [email protected] Running
2 started 10.220.72.119 juju-d77244-2 [email protected] Running

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

machine-1: 01:37:14 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available
machine-1: 01:37:14 ERROR juju.worker.dependency "broker-tracker" manifold worker returned unexpected error: no container types determined
machine-1: 01:37:14 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available
unit-postgresql-1: 01:37:14 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk
machine-0: 01:37:53 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available
machine-0: 01:37:53 ERROR juju.worker.dependency "broker-tracker" manifold worker returned unexpected error: no container types determined
machine-0: 01:37:53 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available
unit-postgresql-0: 01:37:53 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk
machine-2: 01:38:08 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available
machine-2: 01:38:08 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available
machine-2: 01:38:08 ERROR juju.worker.dependency "broker-tracker" manifold worker returned unexpected error: no container types determined
unit-postgresql-2: 01:38:08 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk
unit-postgresql-1: 01:56:32 ERROR unit.postgresql/1.juju-log Uncaught exception while in charm code:
Traceback (most recent call last):
File "/var/lib/juju/agents/unit-postgresql-1/charm/./src/charm.py", line 1645, in <module>
main(PostgresqlOperatorCharm)
File "/var/lib/juju/agents/unit-postgresql-1/charm/venv/ops/main.py", line 544, in main
manager.run()
File "/var/lib/juju/agents/unit-postgresql-1/charm/venv/ops/main.py", line 520, in run
self._emit()
File "/var/lib/juju/agents/unit-postgresql-1/charm/venv/ops/main.py", line 509, in _emit
_emit_charm_event(self.charm, self.dispatcher.event_name)
File "/var/lib/juju/agents/unit-postgresql-1/charm/venv/ops/main.py", line 143, in _emit_charm_event
event_to_emit.emit(*args, **kwargs)
File "/var/lib/juju/agents/unit-postgresql-1/charm/venv/ops/framework.py", line 352, in emit
framework._emit(event)
File "/var/lib/juju/agents/unit-postgresql-1/charm/venv/ops/framework.py", line 851, in _emit
self._reemit(event_path)
File "/var/lib/juju/agents/unit-postgresql-1/charm/venv/ops/framework.py", line 941, in _reemit
custom_handler(event)
File "/var/lib/juju/agents/unit-postgresql-1/charm/./src/charm.py", line 1207, in _on_set_password
self.set_secret(APP_SCOPE, f"{username}-password", password)
File "/var/lib/juju/agents/unit-postgresql-1/charm/./src/charm.py", line 284, in set_secret
self.peer_relation_data(scope).set_secret(peers.id, secret_key, value)
File "/var/lib/juju/agents/unit-postgresql-1/charm/lib/charms/data_platform_libs/v0/data_interfaces.py", line 519, in wrapper
return f(self, *args, **kwargs)
File "/var/lib/juju/agents/unit-postgresql-1/charm/lib/charms/data_platform_libs/v0/data_interfaces.py", line 1856, in set_secret
self.update_relation_data(relation_id, {full_field: value})
File "/var/lib/juju/agents/unit-postgresql-1/charm/lib/charms/data_platform_libs/v0/data_interfaces.py", line 494, in wrapper
return f(self, *args, **kwargs)
File "/var/lib/juju/agents/unit-postgresql-1/charm/lib/charms/data_platform_libs/v0/data_interfaces.py", line 1264, in update_relation_data
return self._update_relation_data(relation, data)
File "/var/lib/juju/agents/unit-postgresql-1/charm/lib/charms/data_platform_libs/v0/data_interfaces.py", line 534, in wrapper
return f(self, *args, **kwargs)
File "/var/lib/juju/agents/unit-postgresql-1/charm/lib/charms/data_platform_libs/v0/data_interfaces.py", line 2086, in _update_relation_data
_, normal_fields = self._process_secret_fields(
File "/var/lib/juju/agents/unit-postgresql-1/charm/lib/charms/data_platform_libs/v0/data_interfaces.py", line 1063, in _process_secret_fields
if group_result := operation(relation, group, secret_fields, *args, **kwargs):
File "/var/lib/juju/agents/unit-postgresql-1/charm/lib/charms/data_platform_libs/v0/data_interfaces.py", line 1387, in _add_or_update_relation_secrets
return self._update_relation_secret(relation, group, secret_fields, data)
File "/var/lib/juju/agents/unit-postgresql-1/charm/lib/charms/data_platform_libs/v0/data_interfaces.py", line 506, in wrapper
return f(self, *args, **kwargs)
File "/var/lib/juju/agents/unit-postgresql-1/charm/lib/charms/data_platform_libs/v0/data_interfaces.py", line 1372, in _update_relation_secret
secret.set_content(full_content)
File "/var/lib/juju/agents/unit-postgresql-1/charm/lib/charms/data_platform_libs/v0/data_interfaces.py", line 663, in set_content
self.meta.set_content(content)
File "/var/lib/juju/agents/unit-postgresql-1/charm/venv/ops/model.py", line 1351, in set_content
self._backend.secret_set(typing.cast(str, self.id), content=content)
File "/var/lib/juju/agents/unit-postgresql-1/charm/venv/ops/model.py", line 3418, in secret_set
self._run_for_secret('secret-set', *args)
File "/var/lib/juju/agents/unit-postgresql-1/charm/venv/ops/model.py", line 3380, in _run_for_secret
return self._run(*args, return_output=return_output, use_json=use_json)
File "/var/lib/juju/agents/unit-postgresql-1/charm/venv/ops/model.py", line 3022, in _run
result = subprocess.run(args, **kwargs) # type: ignore
File "/usr/lib/python3.10/subprocess.py", line 503, in run
with Popen(*popenargs, **kwargs) as process:
File "/usr/lib/python3.10/subprocess.py", line 971, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/lib/python3.10/subprocess.py", line 1863, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
OSError: [Errno 7] Argument list too long: '/var/lib/juju/tools/unit-postgresql-1/secret-set'

INFO  pytest_operator.plugin:plugin.py:947 Forgetting model main...
9 changes: 9 additions & 0 deletions 2717/data/attachments/1c8e3f364161d65d.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
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:2958 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 another-database
database/0 [executing] active: Primary
database/1 [executing] active:
another-database/0 [executing] active: Primary
another-database/1 [executing] active:
4 changes: 4 additions & 0 deletions 2717/data/attachments/20ad23c69fa7aacf.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
INFO  integration.ha_tests.helpers:helpers.py:196 checking that the former primary is now a replica
INFO  integration.ha_tests.helpers:helpers.py:202 checking that all units are part of the same cluster
INFO  integration.ha_tests.helpers:helpers.py:216 checking that no writes to the database were missed after stopping the writes
INFO  integration.ha_tests.helpers:helpers.py:220 checking that the former primary is up to date with the cluster after restarting
18 changes: 18 additions & 0 deletions 2717/data/attachments/2114899423fc379c.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
WARNING  juju.model:model.py:1564 relate is deprecated and will be removed. Use integrate instead.
INFO  juju.model:model.py:2958 Waiting for model:
postgresql-test-app/0 [idle] active: received database credentials of the second database
postgresql-test-app/1 [idle] active: received database credentials of the second database
database/2 [executing] active: Primary
database/3 [idle] active:
another-database/0 [idle] active: Primary
another-database/1 [idle] active:
INFO  juju.model:model.py:2958 Waiting for model:
database/2 [idle] active: Primary
database/3 [idle] active:
INFO  juju.model:model.py:2958 Waiting for model:
postgresql-test-app/0 [idle] active: received database credentials of the second database
postgresql-test-app/1 [idle] active: received database credentials of the second database
database/2 [executing] active: Primary
database/3 [executing] active:
another-database/0 [idle] active: Primary
another-database/1 [idle] active:
2 changes: 2 additions & 0 deletions 2717/data/attachments/2277780e01990bc.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
INFO  pytest_operator.plugin:plugin.py:734 Connecting to existing model localhost-localhost:test on unspecified cloud
INFO  juju.model:model.py:2098 Deploying local:jammy/postgresql-0
149 changes: 149 additions & 0 deletions 2717/data/attachments/23cb39c543da5e8c.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,149 @@
INFO  juju.model:model.py:2958 Waiting for model:
postgresql/0 [idle] active: Primary
postgresql/1 [idle] active:
postgresql/2 [idle] active:
INFO  juju.model:model.py:2958 Waiting for model:
postgresql (waiting for exactly 2 units, current : 3)
INFO  juju.model:model.py:2958 Waiting for model:
postgresql/1 [executing] maintenance: reconfiguring cluster
postgresql/2 [executing] active:
INFO  juju.model:model.py:2958 Waiting for model:
postgresql/2 [idle] active:
INFO  juju.model:model.py:2958 Waiting for model:
postgresql/1 [idle] active: Primary
postgresql/2 [idle] active:
postgresql/3 [allocating] waiting: waiting for machine
postgresql/4 [allocating] waiting: waiting for machine
INFO  juju.model:model.py:2958 Waiting for model:
postgresql/3 [allocating] waiting: waiting for machine
postgresql/4 [allocating] waiting: waiting for machine
INFO  juju.model:model.py:2958 Waiting for model:
postgresql/3 [allocating] waiting: waiting for machine
postgresql/4 [allocating] waiting: waiting for machine
INFO  juju.model:model.py:2958 Waiting for model:
postgresql/3 [allocating] waiting: waiting for machine
postgresql/4 [allocating] waiting: waiting for machine
INFO  juju.model:model.py:2958 Waiting for model:
postgresql/3 [executing] maintenance: installing PostgreSQL
postgresql/4 [executing] maintenance: installing PostgreSQL
INFO  juju.model:model.py:2958 Waiting for model:
postgresql/1 [executing] maintenance: reconfiguring cluster
postgresql/2 [executing] active:
postgresql/3 [executing] waiting: waiting to start PostgreSQL
postgresql/4 [executing] waiting: waiting to start PostgreSQL
INFO  juju.model:model.py:2958 Waiting for model:
postgresql/1 [executing] maintenance: reconfiguring cluster
postgresql/2 [executing] active:
postgresql/3 [executing] waiting: waiting to start PostgreSQL
postgresql/4 [executing] waiting: waiting to start PostgreSQL
INFO  juju.model:model.py:2958 Waiting for model:
postgresql/1 [executing] maintenance: reconfiguring cluster
postgresql/3 [executing] waiting: waiting to start PostgreSQL
postgresql/4 [executing] waiting: waiting to start PostgreSQL
INFO  juju.model:model.py:2958 Waiting for model:
postgresql/1 [executing] maintenance: reconfiguring cluster
postgresql/2 [executing] active:
postgresql/3 [executing] waiting: awaiting for member to start
postgresql/4 [executing] waiting: waiting to start PostgreSQL
INFO  juju.model:model.py:2958 Waiting for model:
postgresql/1 [executing] active:
postgresql/2 [executing] active:
postgresql/3 [executing] active:
postgresql/4 [executing] waiting: awaiting for member to start
INFO  juju.model:model.py:2958 Waiting for model:
postgresql/1 [executing] active: Primary
postgresql/2 [executing] active:
postgresql/3 [executing] active:
postgresql/4 [executing] active:
INFO  juju.model:model.py:2958 Waiting for model:
postgresql/1 [idle] active: Primary
postgresql/2 [idle] active:
postgresql/3 [executing] active:
INFO  juju.model:model.py:2958 Waiting for model:
postgresql (waiting for exactly 3 units, current : 4)
INFO  juju.model:model.py:2958 Waiting for model:
postgresql/2 [executing] active: Primary
postgresql/3 [executing] active:
postgresql/4 [executing] active:
INFO  juju.model:model.py:2958 Waiting for model:
postgresql/2 [idle] active: Primary
postgresql/3 [idle] active:
postgresql/4 [idle] active:
INFO  juju.model:model.py:2958 Waiting for model:
postgresql/3 [idle] active:
INFO  juju.model:model.py:2958 Waiting for model:
postgresql/2 [idle] active: Primary
postgresql/3 [idle] active:
postgresql/4 [idle] active:
postgresql/5 [allocating] waiting: waiting for machine
postgresql/6 [allocating] waiting: waiting for machine
INFO  juju.model:model.py:2958 Waiting for model:
postgresql/5 [allocating] waiting: waiting for machine
postgresql/6 [allocating] waiting: waiting for machine
INFO  juju.model:model.py:2958 Waiting for model:
postgresql/5 [allocating] waiting: waiting for machine
postgresql/6 [allocating] waiting: waiting for machine
INFO  juju.model:model.py:2958 Waiting for model:
postgresql/5 [allocating] waiting: waiting for machine
postgresql/6 [allocating] waiting: waiting for machine
INFO  juju.model:model.py:2958 Waiting for model:
postgresql/5 [executing] maintenance: installing PostgreSQL
postgresql/6 [executing] maintenance: installing PostgreSQL
INFO  juju.model:model.py:2958 Waiting for model:
postgresql/2 [executing] active: Primary
postgresql/3 [executing] active:
postgresql/4 [executing] active:
postgresql/5 [executing] maintenance: installing PostgreSQL
postgresql/6 [executing] waiting: waiting to start PostgreSQL
INFO  juju.model:model.py:2958 Waiting for model:
postgresql/2 [executing] maintenance: reconfiguring cluster
postgresql/3 [executing] active:
postgresql/4 [executing] active:
postgresql/5 [executing] waiting: waiting to start PostgreSQL
postgresql/6 [executing] waiting: waiting to start PostgreSQL
INFO  juju.model:model.py:2958 Waiting for model:
postgresql/2 [executing] active: Primary
postgresql/3 [idle] active:
postgresql/4 [idle] active:
postgresql/5 [executing] waiting: waiting to start PostgreSQL
postgresql/6 [executing] waiting: waiting to start PostgreSQL
INFO  juju.model:model.py:2958 Waiting for model:
postgresql/2 [executing] maintenance: reconfiguring cluster
postgresql/5 [executing] waiting: waiting to start PostgreSQL
postgresql/6 [executing] waiting: waiting to start PostgreSQL
INFO  juju.model:model.py:2958 Waiting for model:
postgresql/2 [executing] active: Primary
postgresql/3 [executing] active:
postgresql/4 [executing] active:
postgresql/5 [executing] waiting: awaiting for member to start
postgresql/6 [executing] waiting: awaiting for member to start
INFO  juju.model:model.py:2958 Waiting for model:
postgresql/2 [executing] active:
postgresql/3 [executing] active:
postgresql/4 [executing] active:
postgresql/5 [executing] active:
postgresql/6 [executing] waiting: waiting for primary to be reachable from this unit
INFO  juju.model:model.py:2958 Waiting for model:
postgresql/2 [executing] active: Primary
postgresql/3 [executing] active:
postgresql/4 [executing] active:
postgresql/5 [executing] active:
postgresql/6 [executing] active:
INFO  juju.model:model.py:2958 Waiting for model:
postgresql/5 [executing] active:
postgresql/6 [executing] active:
INFO  juju.model:model.py:2958 Waiting for model:
postgresql (waiting for exactly 3 units, current : 5)
INFO  juju.model:model.py:2958 Waiting for model:
postgresql (waiting for exactly 3 units, current : 4)
INFO  juju.model:model.py:2958 Waiting for model:
postgresql/4 [idle] active: Primary
postgresql/6 [idle] active:
INFO  juju.model:model.py:2958 Waiting for model:
postgresql/4 [idle] active: Primary
postgresql/5 [idle] active:
postgresql/6 [idle] active:
INFO  juju.model:model.py:2958 Waiting for model:
postgresql/4 [executing] active:
postgresql/5 [executing] active:
postgresql/6 [executing] active:
Loading

0 comments on commit 4c28068

Please sign in to comment.