Skip to content

Commit

Permalink
Allure report 3430
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Oct 13, 2024
1 parent f24017c commit 86c1c67
Show file tree
Hide file tree
Showing 323 changed files with 6,357 additions and 2 deletions.
2 changes: 2 additions & 0 deletions 3430/app.js

Large diffs are not rendered by default.

97 changes: 97 additions & 0 deletions 3430/data/attachments/106b6d7d6c26904e.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
INFO  pytest_operator.plugin:plugin.py:766 Connecting to existing model localhost-localhost:test on unspecified cloud
INFO  juju.model:model.py:2097 Deploying ch:amd64/jammy/ubuntu-advantage-113
INFO  juju.model:model.py:2097 Deploying ch:amd64/jammy/landscape-client-69
INFO  juju.model:model.py:2097 Deploying local:postgresql-0
INFO  juju.model:model.py:2971 Waiting for model:
pg/0 [allocating] waiting: waiting for machine
pg/1 [allocating] waiting: waiting for machine
pg/2 [allocating] waiting: waiting for machine
INFO  juju.model:model.py:2971 Waiting for model:
pg/0 [allocating] waiting: waiting for machine
pg/1 [allocating] waiting: waiting for machine
pg/2 [allocating] waiting: waiting for machine
INFO  juju.model:model.py:2971 Waiting for model:
pg/0 [allocating] waiting: waiting for machine
pg/1 [allocating] waiting: waiting for machine
pg/2 [allocating] waiting: waiting for machine
INFO  juju.model:model.py:2971 Waiting for model:
pg/0 [allocating] waiting: waiting for machine
pg/1 [allocating] waiting: waiting for machine
pg/2 [allocating] waiting: waiting for machine
INFO  juju.model:model.py:2971 Waiting for model:
pg/0 [allocating] waiting: waiting for machine
pg/1 [allocating] waiting: waiting for machine
pg/2 [allocating] waiting: waiting for machine
INFO  juju.model:model.py:2971 Waiting for model:
pg/0 [allocating] waiting: installing agent
pg/1 [allocating] waiting: waiting for machine
pg/2 [allocating] waiting: waiting for machine
INFO  juju.model:model.py:2971 Waiting for model:
pg/0 [executing] maintenance: installing PostgreSQL
pg/1 [executing] maintenance: installing PostgreSQL
pg/2 [allocating] waiting: waiting for machine
INFO  juju.model:model.py:2971 Waiting for model:
pg/0 [executing] waiting: waiting to start PostgreSQL
pg/1 [executing] waiting: awaiting passwords generation
pg/2 [allocating] waiting: waiting for machine
INFO  juju.model:model.py:2971 Waiting for model:
pg/0 [executing] active: Primary
pg/1 [executing] waiting: awaiting for cluster to start
pg/2 [allocating] waiting: waiting for machine
INFO  juju.model:model.py:2971 Waiting for model:
pg/0 [executing] maintenance: reconfiguring cluster
pg/1 [executing] waiting: awaiting for cluster to start
pg/2 [allocating] waiting: waiting for machine
INFO  juju.model:model.py:2971 Waiting for model:
pg/0 [executing] maintenance: reconfiguring cluster
pg/1 [executing] waiting: awaiting for cluster to start
pg/2 [executing] maintenance: installing PostgreSQL
INFO  juju.model:model.py:2971 Waiting for model:
pg/0 [idle] active:
pg/1 [idle] waiting: awaiting for member to start
pg/2 [executing] maintenance: installing PostgreSQL
INFO  juju.model:model.py:2971 Waiting for model:
pg/0 [executing] maintenance: reconfiguring cluster
pg/1 [executing] waiting: awaiting for member to start
pg/2 [executing] waiting: waiting to start PostgreSQL
INFO  juju.model:model.py:2971 Waiting for model:
pg/0 [executing] maintenance: reconfiguring cluster
pg/1 [executing] active:
pg/2 [executing] waiting: waiting to start PostgreSQL
INFO  juju.model:model.py:2971 Waiting for model:
pg/0 [executing] active: Primary
pg/1 [idle] active:
pg/2 [executing] waiting: awaiting for member to start
INFO  juju.model:model.py:2971 Waiting for model:
pg/2 [executing] active:
INFO  juju.model:model.py:2971 Waiting for model:
pg/0 [executing] active: Primary
pg/1 [executing] active:
pg/2 [executing] active:
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:2971 Waiting for model:
landscape-client (not enough units yet - 0/1)
ubuntu-advantage (not enough units yet - 0/1)
pg/0 [idle] active: Primary
pg/1 [idle] active:
pg/2 [idle] active:
INFO  juju.model:model.py:2971 Waiting for model:
landscape-client/0 [executing] maintenance: Installing landscape client..
landscape-client/1 [executing] maintenance: Installing landscape client..
landscape-client/3 [executing] maintenance: Adding client PPA..
ubuntu-advantage/0 [executing] maintenance: Configuring
ubuntu-advantage/1 [executing] maintenance: Configuring
ubuntu-advantage/2 [executing] maintenance: installing charm software
INFO  juju.model:model.py:2971 Waiting for model:
landscape-client/0 [executing] maintenance: Configuring landscape client..
landscape-client/1 [executing] maintenance: Adding client PPA..
landscape-client/3 [executing] active: Client registered!
ubuntu-advantage/0 [executing] active: Attached (esm-apps,esm-infra)
ubuntu-advantage/1 [executing] active: Attached (esm-apps,esm-infra)
ubuntu-advantage/2 [executing] maintenance: Configuring
INFO  juju.model:model.py:2971 Waiting for model:
landscape-client/0 [idle] active: Client registered!
landscape-client/1 [idle] active: Client registered!
landscape-client/3 [idle] active: Client registered!
ubuntu-advantage/1 [idle] active: Attached (esm-apps,esm-infra)
8 changes: 8 additions & 0 deletions 3430/data/attachments/1250ecc4f650fe00.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
WARNING  juju.model:model.py:1563 relate is deprecated and will be removed. Use integrate instead.
INFO  juju.model:model.py:2971 Waiting for model:
postgresql-test-app/0 [idle] active:
postgresql-test-app/1 [idle] active:
database/0 [idle] active: Primary
another-database/0 [idle] active: Primary
another-database/1 [idle] active:
INFO  integration.new_relations.test_new_relations:test_new_relations.py:92 checking for secrets
104 changes: 104 additions & 0 deletions 3430/data/attachments/1358113c62fae12b.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
ERROR  integration.helpers:helpers.py:931
ERROR  integration.helpers:helpers.py:931
INFO  pytest_operator.plugin:plugin.py:903 Model status:

Model Controller Cloud/Region Version SLA Timestamp
test localhost-localhost localhost/localhost 3.4.6 unsupported 01:54:04Z

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

Unit Workload Agent Machine Public address Ports Message
postgresql/0* active idle 0 10.80.23.197 5432/tcp Primary
postgresql/1 active idle 1 10.80.23.231 5432/tcp
postgresql/2 active idle 2 10.80.23.207 5432/tcp

Machine State Address Inst id Base AZ Message
0 started 10.80.23.197 juju-38f997-0 [email protected] Running
1 started 10.80.23.231 juju-38f997-1 [email protected] Running
2 started 10.80.23.207 juju-38f997-2 [email protected] Running

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

machine-0: 01:37:46 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available
machine-0: 01:37:46 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available
unit-postgresql-0: 01:37:46 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk
machine-1: 01:37:52 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available
machine-1: 01:37:52 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available
unit-postgresql-1: 01:37:52 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk
machine-2: 01:37:53 ERROR juju.worker.dependency "lxd-container-provisioner" manifold worker returned unexpected error: container types not yet available
machine-2: 01:37:53 ERROR juju.worker.dependency "kvm-container-provisioner" manifold worker returned unexpected error: container types not yet available
unit-postgresql-2: 01:37:53 ERROR juju.worker.meterstatus error running "meter-status-changed": charm missing from disk
unit-postgresql-0: 01:38:53 ERROR unit.postgresql/0.juju-log Failed to list PostgreSQL database users: could not translate host name "None" to address: Temporary failure in name resolution

unit-postgresql-0: 01:53:56 ERROR unit.postgresql/0.juju-log Uncaught exception while in charm code:
Traceback (most recent call last):
File "/var/lib/juju/agents/unit-postgresql-0/charm/venv/ops/model.py", line 3319, in _run
result = subprocess.run(args, **kwargs) # type: ignore
File "/usr/lib/python3.10/subprocess.py", line 526, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '('/var/lib/juju/tools/unit-postgresql-0/secret-set', 'secret://5f38a73d-56c5-4ad2-8dac-90102e38f997/cs5i965vjlt1sn6nlfsg', 'backup-password#file=/tmp/tmpz6k3h14s/backup-password', 'monitoring-password#file=/tmp/tmpz6k3h14s/monitoring-password', 'operator-password#file=/tmp/tmpz6k3h14s/operator-password', 'patroni-password#file=/tmp/tmpz6k3h14s/patroni-password', 'raft-password#file=/tmp/tmpz6k3h14s/raft-password', 'replication-password#file=/tmp/tmpz6k3h14s/replication-password', 'rewind-password#file=/tmp/tmpz6k3h14s/rewind-password')' returned non-zero exit status 2.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/var/lib/juju/agents/unit-postgresql-0/charm/./src/charm.py", line 1880, in <module>
main(PostgresqlOperatorCharm)
File "/var/lib/juju/agents/unit-postgresql-0/charm/venv/ops/__init__.py", line 343, in __call__
return _main.main(charm_class=charm_class, use_juju_for_storage=use_juju_for_storage)
File "/var/lib/juju/agents/unit-postgresql-0/charm/venv/ops/_main.py", line 543, in main
manager.run()
File "/var/lib/juju/agents/unit-postgresql-0/charm/venv/ops/_main.py", line 529, in run
self._emit()
File "/var/lib/juju/agents/unit-postgresql-0/charm/venv/ops/_main.py", line 518, in _emit
_emit_charm_event(self.charm, self.dispatcher.event_name, self._juju_context)
File "/var/lib/juju/agents/unit-postgresql-0/charm/venv/ops/_main.py", line 134, in _emit_charm_event
event_to_emit.emit(*args, **kwargs)
File "/var/lib/juju/agents/unit-postgresql-0/charm/venv/ops/framework.py", line 347, in emit
framework._emit(event)
File "/var/lib/juju/agents/unit-postgresql-0/charm/venv/ops/framework.py", line 857, in _emit
self._reemit(event_path)
File "/var/lib/juju/agents/unit-postgresql-0/charm/venv/ops/framework.py", line 947, in _reemit
custom_handler(event)
File "/var/lib/juju/agents/unit-postgresql-0/charm/lib/charms/tempo_coordinator_k8s/v0/charm_tracing.py", line 735, in wrapped_function
return callable(*args, **kwargs) # type: ignore
File "/var/lib/juju/agents/unit-postgresql-0/charm/./src/charm.py", line 1306, in _on_set_password
self.set_secret(APP_SCOPE, f"{username}-password", password)
File "/var/lib/juju/agents/unit-postgresql-0/charm/lib/charms/tempo_coordinator_k8s/v0/charm_tracing.py", line 735, in wrapped_function
return callable(*args, **kwargs) # type: ignore
File "/var/lib/juju/agents/unit-postgresql-0/charm/./src/charm.py", line 315, in set_secret
self.peer_relation_data(scope).set_secret(peers.id, secret_key, value)
File "/var/lib/juju/agents/unit-postgresql-0/charm/lib/charms/data_platform_libs/v0/data_interfaces.py", line 521, in wrapper
return f(self, *args, **kwargs)
File "/var/lib/juju/agents/unit-postgresql-0/charm/lib/charms/data_platform_libs/v0/data_interfaces.py", line 2026, in set_secret
self.update_relation_data(relation_id, {full_field: value})
File "/var/lib/juju/agents/unit-postgresql-0/charm/lib/charms/data_platform_libs/v0/data_interfaces.py", line 496, in wrapper
return f(self, *args, **kwargs)
File "/var/lib/juju/agents/unit-postgresql-0/charm/lib/charms/data_platform_libs/v0/data_interfaces.py", line 1407, in update_relation_data
return self._update_relation_data(relation, data)
File "/var/lib/juju/agents/unit-postgresql-0/charm/lib/charms/data_platform_libs/v0/data_interfaces.py", line 536, in wrapper
return f(self, *args, **kwargs)
File "/var/lib/juju/agents/unit-postgresql-0/charm/lib/charms/data_platform_libs/v0/data_interfaces.py", line 2350, in _update_relation_data
_, normal_fields = self._process_secret_fields(
File "/var/lib/juju/agents/unit-postgresql-0/charm/lib/charms/data_platform_libs/v0/data_interfaces.py", line 1190, in _process_secret_fields
if group_result := operation(relation, group, secret_fields, *args, **kwargs):
File "/var/lib/juju/agents/unit-postgresql-0/charm/lib/charms/data_platform_libs/v0/data_interfaces.py", line 1533, in _add_or_update_relation_secrets
return self._update_relation_secret(relation, group, secret_fields, data)
File "/var/lib/juju/agents/unit-postgresql-0/charm/lib/charms/data_platform_libs/v0/data_interfaces.py", line 508, in wrapper
return f(self, *args, **kwargs)
File "/var/lib/juju/agents/unit-postgresql-0/charm/lib/charms/data_platform_libs/v0/data_interfaces.py", line 1518, in _update_relation_secret
secret.set_content(full_content)
File "/var/lib/juju/agents/unit-postgresql-0/charm/lib/charms/data_platform_libs/v0/data_interfaces.py", line 773, in set_content
self.meta.set_content(content)
File "/var/lib/juju/agents/unit-postgresql-0/charm/venv/ops/model.py", line 1524, in set_content
self._backend.secret_set(
File "/var/lib/juju/agents/unit-postgresql-0/charm/venv/ops/model.py", line 3749, in secret_set
self._run_for_secret('secret-set', *args)
File "/var/lib/juju/agents/unit-postgresql-0/charm/venv/ops/model.py", line 3702, in _run_for_secret
return self._run(*args, return_output=return_output, use_json=use_json)
File "/var/lib/juju/agents/unit-postgresql-0/charm/venv/ops/model.py", line 3321, in _run
raise ModelError(e.stderr) from e
ops.model.ModelError: ERROR secret content in file "/tmp/tmpz6k3h14s/replication-password" too large: 2000000 bytes


INFO  pytest_operator.plugin:plugin.py:991 Forgetting model main...
31 changes: 31 additions & 0 deletions 3430/data/attachments/19fc446e8610563e.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
INFO  integration.ha_tests.test_upgrade:test_upgrade.py:73 starting continuous writes to the database
WARNING  juju.model:model.py:1563 relate is deprecated and will be removed. Use integrate instead.
INFO  juju.model:model.py:2971 Waiting for model:
postgresql/0 [executing] active: Primary
postgresql/1 [executing] active:
postgresql/2 [executing] active:
postgresql-test-app/0 [executing] active:
INFO  integration.ha_tests.test_upgrade:test_upgrade.py:77 checking whether writes are increasing
INFO  integration.ha_tests.test_upgrade:test_upgrade.py:85 Build charm locally
INFO  integration.ha_tests.test_upgrade:test_upgrade.py:88 Refresh the charm
INFO  integration.ha_tests.test_upgrade:test_upgrade.py:91 Wait for upgrade to start
INFO  integration.ha_tests.test_upgrade:test_upgrade.py:97 Wait for upgrade to complete
INFO  juju.model:model.py:2971 Waiting for model:
postgresql/0 [idle] active: Primary
postgresql/1 [executing] waiting: other units upgrading first...
postgresql/2 [executing] waiting: other units upgrading first...
INFO  juju.model:model.py:2971 Waiting for model:
postgresql/0 [idle] waiting: other units upgrading first...
postgresql/1 [idle] maintenance: upgrade completed
postgresql/2 [executing] maintenance: updating configuration
INFO  juju.model:model.py:2971 Waiting for model:
postgresql/0 [executing] active:
postgresql/1 [executing] active:
postgresql/2 [executing] active:
INFO  juju.model:model.py:2971 Waiting for model:
postgresql/0 [idle] active: Primary
postgresql/1 [idle] active:
postgresql/2 [idle] active:
INFO  integration.ha_tests.test_upgrade:test_upgrade.py:104 checking whether writes are increasing
INFO  integration.ha_tests.test_upgrade:test_upgrade.py:109 checking whether no writes were lost
INFO  integration.ha_tests.test_upgrade:test_upgrade.py:112 checking the number of switchovers
25 changes: 25 additions & 0 deletions 3430/data/attachments/1a37b992f570c758.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
INFO  pytest_operator.plugin:plugin.py:766 Connecting to existing model localhost-localhost:test on unspecified cloud
INFO  integration.ha_tests.test_smoke:test_smoke.py:42 deploying charm
INFO  juju.model:model.py:2097 Deploying local:postgresql-0
INFO  integration.ha_tests.test_smoke:test_smoke.py:52 waiting for idle
INFO  juju.model:model.py:2971 Waiting for model:
postgresql-test-app/0 [allocating] waiting: waiting for machine
INFO  juju.model:model.py:2971 Waiting for model:
postgresql-test-app/0 [allocating] waiting: waiting for machine
INFO  juju.model:model.py:2971 Waiting for model:
postgresql-test-app/0 [allocating] waiting: waiting for machine
INFO  juju.model:model.py:2971 Waiting for model:
postgresql-test-app/0 [allocating] waiting: agent initialising
INFO  juju.model:model.py:2971 Waiting for model:
postgresql-test-app/0 [executing] maintenance: installing PostgreSQL
INFO  juju.model:model.py:2971 Waiting for model:
postgresql-test-app/0 [executing] active: Primary
INFO  juju.model:model.py:2971 Waiting for model:
postgresql-test-app/0 [executing] active: Primary
INFO  integration.ha_tests.test_smoke:test_smoke.py:58 waiting for postgresql
INFO  integration.ha_tests.test_smoke:test_smoke.py:63 getting storage id
INFO  integration.ha_tests.test_smoke:test_smoke.py:67 werifing is storage exists
INFO  integration.ha_tests.test_smoke:test_smoke.py:73 creating db
INFO  integration.ha_tests.test_smoke:test_smoke.py:77 checking db
INFO  integration.ha_tests.test_smoke:test_smoke.py:81 force removing charm
INFO  integration.ha_tests.test_smoke:test_smoke.py:90 werifing is storage exists
Loading

0 comments on commit 86c1c67

Please sign in to comment.