Skip to content

Commit

Permalink
Allure report 495
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Dec 24, 2024
1 parent b5e649b commit 3b75471
Show file tree
Hide file tree
Showing 117 changed files with 1,781 additions and 2 deletions.
2 changes: 2 additions & 0 deletions 495/app.js

Large diffs are not rendered by default.

158 changes: 158 additions & 0 deletions 495/data/attachments/12fa269d6baf1db1.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,158 @@
INFO  juju.model:model.py:2972 Waiting for model:
mongos-k8s/0 [idle] active:
mongos-k8s/1 [idle] active:
INFO  juju.model:model.py:2972 Waiting for model:
mongos-k8s/0 [executing] active:
mongos-k8s/1 [idle] active:
INFO  juju.model:model.py:2972 Waiting for model:
mongos-k8s/0 [executing] active:
INFO  juju.model:model.py:2972 Waiting for model:
mongos-k8s/0 [idle] active:
INFO  juju.model:model.py:2098 Deploying ch:amd64/jammy/self-signed-certificates-155
INFO  juju.model:model.py:2972 Waiting for model:
self-signed-certificates-separate/0 [allocating] waiting: installing agent
INFO  juju.model:model.py:2972 Waiting for model:
mongos-k8s/0 [executing] blocked: mongos requires TLS to be enabled.
mongos-k8s/1 [idle] blocked: mongos requires TLS to be enabled.
INFO  juju.model:model.py:2972 Waiting for model:
mongos-k8s/0 [executing] blocked: mongos requires TLS to be enabled.
mongos-k8s/1 [executing] maintenance: enabling TLS
INFO  juju.model:model.py:2972 Waiting for model:
mongos-k8s/0 [executing] blocked: mongos requires TLS to be enabled.
mongos-k8s/1 [executing] maintenance: enabling TLS
INFO  juju.model:model.py:2972 Waiting for model:
mongos-k8s/0 [executing] blocked: mongos requires TLS to be enabled.
mongos-k8s/1 [executing] maintenance: enabling TLS
INFO  juju.model:model.py:2972 Waiting for model:
mongos-k8s/0 [executing] blocked: mongos requires TLS to be enabled.
mongos-k8s/1 [executing] maintenance: enabling TLS
INFO  juju.model:model.py:2972 Waiting for model:
mongos-k8s/0 [executing] blocked: mongos requires TLS to be enabled.
mongos-k8s/1 [idle] waiting: Waiting for MongoDB to start
INFO  juju.model:model.py:2972 Waiting for model:
mongos-k8s/0 [executing] blocked: mongos requires TLS to be enabled.
INFO  juju.model:model.py:2972 Waiting for model:
mongos-k8s/0 [executing] blocked: mongos requires TLS to be enabled.
INFO  juju.model:model.py:2972 Waiting for model:
mongos-k8s/0 [executing] blocked: mongos requires TLS to be enabled.
INFO  juju.model:model.py:2972 Waiting for model:
mongos-k8s/0 [executing] blocked: mongos requires TLS to be enabled.
INFO  juju.model:model.py:2972 Waiting for model:
mongos-k8s/0 [executing] blocked: mongos requires TLS to be enabled.
mongos-k8s/1 [idle] blocked: mongos CA and Config-Server CA don't match.
INFO  juju.model:model.py:2972 Waiting for model:
mongos-k8s/0 [executing] blocked: mongos requires TLS to be enabled.
INFO  juju.model:model.py:2972 Waiting for model:
mongos-k8s/0 [executing] blocked: mongos requires TLS to be enabled.
INFO  juju.model:model.py:2972 Waiting for model:
mongos-k8s/0 [executing] blocked: mongos requires TLS to be enabled.
INFO  juju.model:model.py:2972 Waiting for model:
mongos-k8s/0 [executing] maintenance: enabling TLS
INFO  juju.model:model.py:2972 Waiting for model:
mongos-k8s/0 [executing] maintenance: enabling TLS
INFO  juju.model:model.py:2972 Waiting for model:
mongos-k8s/0 [executing] waiting: Waiting for MongoDB to start
mongos-k8s/1 [idle] blocked: mongos CA and Config-Server CA don't match.
INFO  juju.model:model.py:2972 Waiting for model:
mongos-k8s/0 [executing] waiting: Waiting for MongoDB to start
INFO  juju.model:model.py:2972 Waiting for model:
mongos-k8s/0 [executing] maintenance: enabling TLS
INFO  juju.model:model.py:2972 Waiting for model:
mongos-k8s/0 [executing] maintenance: enabling TLS
INFO  pytest_operator.plugin:plugin.py:834 Model status:

Model Controller Cloud/Region Version SLA Timestamp
test microk8s-localhost microk8s/localhost 3.5.3 unsupported 02:21:14Z

App Version Status Scale Charm Channel Rev Address Exposed Message
config-server active 1 mongodb-k8s 6/edge 61 10.152.183.27 no
mongos-k8s waiting 2 mongos-k8s 0 10.152.183.155 no installing agent
self-signed-certificates active 1 self-signed-certificates latest/edge 228 10.152.183.148 no
self-signed-certificates-separate active 1 self-signed-certificates latest/stable 155 10.152.183.99 no
shard0 active 1 mongodb-k8s 6/edge 61 10.152.183.198 no

Unit Workload Agent Address Ports Message
config-server/0* active idle 10.1.248.77 Primary
mongos-k8s/0* maintenance executing 10.1.248.72 enabling TLS
mongos-k8s/1 blocked idle 10.1.248.79 mongos CA and Config-Server CA don't match.
self-signed-certificates-separate/0* active idle 10.1.248.81
self-signed-certificates/0* active idle 10.1.248.80
shard0/0* active idle 10.1.248.78 Primary

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

unit-config-server-0: 01:40:56 ERROR unit.config-server/0.juju-log config-server:6: Failed to add shard shard0 to the config server, error=OperationFailure("Authentication failed., full error: {'ok': 0.0, 'errmsg': 'Authentication failed.', 'code': 18, 'codeName': 'AuthenticationFailed', '$clusterTime': {'clusterTime': Timestamp(1735004455, 2), 'signature': {'hash': b'\\xdc\\x8f\\x05\\x1b\\xb0O\\x9a\\x12\\x80\\xd4t{T\\xd8{Id\\xb4E\\x94', 'keyId': 7451787152121135129}}, 'operationTime': Timestamp(1735004455, 2)}")
unit-config-server-0: 01:40:56 ERROR unit.config-server/0.juju-log config-server:6: shard0 shard does not have the same auth as the config server.
unit-mongos-k8s-0: 01:42:37 ERROR unit.mongos-k8s/0.juju-log cluster:7: mongos service is not ready yet.
unit-mongos-k8s-1: 01:42:37 ERROR unit.mongos-k8s/1.juju-log cluster:7: mongos service is not ready yet.
unit-mongos-k8s-0: 01:43:39 ERROR unit.mongos-k8s/0.juju-log cluster:7: mongos service is not ready yet.
unit-mongos-k8s-1: 01:43:40 ERROR unit.mongos-k8s/1.juju-log cluster:7: mongos service is not ready yet.
unit-mongos-k8s-1: 01:43:46 ERROR unit.mongos-k8s/1.juju-log cluster:7: Uncaught exception while in charm code:
Traceback (most recent call last):
File "/var/lib/juju/agents/unit-mongos-k8s-1/charm/./src/charm.py", line 977, in <module>
main(MongosCharm)
File "/var/lib/juju/agents/unit-mongos-k8s-1/charm/venv/ops/main.py", line 553, in main
manager.run()
File "/var/lib/juju/agents/unit-mongos-k8s-1/charm/venv/ops/main.py", line 529, in run
self._emit()
File "/var/lib/juju/agents/unit-mongos-k8s-1/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-mongos-k8s-1/charm/venv/ops/main.py", line 139, in _emit_charm_event
event_to_emit.emit(*args, **kwargs)
File "/var/lib/juju/agents/unit-mongos-k8s-1/charm/venv/ops/framework.py", line 347, in emit
framework._emit(event)
File "/var/lib/juju/agents/unit-mongos-k8s-1/charm/venv/ops/framework.py", line 853, in _emit
self._reemit(event_path)
File "/var/lib/juju/agents/unit-mongos-k8s-1/charm/venv/ops/framework.py", line 943, in _reemit
custom_handler(event)
File "/var/lib/juju/agents/unit-mongos-k8s-1/charm/lib/charms/mongodb/v0/config_server_interface.py", line 346, in _on_relation_changed
self._update_k8s_users(event)
File "/var/lib/juju/agents/unit-mongos-k8s-1/charm/lib/charms/mongodb/v0/config_server_interface.py", line 354, in _update_k8s_users
self.charm.client_relations.oversee_users(None, None)
File "/var/lib/juju/agents/unit-mongos-k8s-1/charm/lib/charms/mongodb/v1/mongodb_provider.py", line 197, in oversee_users
with MongoConnection(self.charm.mongo_config) as mongo:
File "/var/lib/juju/agents/unit-mongos-k8s-1/charm/lib/charms/mongodb/v0/mongo.py", line 174, in __init__
uri = config.uri
File "/var/lib/juju/agents/unit-mongos-k8s-1/charm/lib/charms/mongodb/v0/mongo.py", line 121, in uri
f"mongodb://{quote_plus(self.username)}:"
File "/usr/lib/python3.10/urllib/parse.py", line 897, in quote_plus
string = quote(string, safe + space, encoding, errors)
File "/usr/lib/python3.10/urllib/parse.py", line 881, in quote
return quote_from_bytes(string, safe)
File "/usr/lib/python3.10/urllib/parse.py", line 906, in quote_from_bytes
raise TypeError("quote_from_bytes() expected bytes")
TypeError: quote_from_bytes() expected bytes
unit-mongos-k8s-1: 01:43:46 ERROR juju.worker.uniter.operation hook "cluster-relation-changed" (via hook dispatching script: dispatch) failed: exit status 1
unit-mongos-k8s-1: 01:45:23 ERROR unit.mongos-k8s/1.juju-log certificates:8: Non-existing secret unit:int-cert-secret was attempted to be removed.
unit-mongos-k8s-0: 01:45:23 ERROR unit.mongos-k8s/0.juju-log certificates:8: Non-existing secret unit:int-cert-secret was attempted to be removed.
unit-mongos-k8s-1: 01:45:23 ERROR unit.mongos-k8s/1.juju-log certificates:8: Non-existing secret unit:ext-cert-secret was attempted to be removed.
unit-mongos-k8s-0: 01:45:24 ERROR unit.mongos-k8s/0.juju-log certificates:8: Non-existing secret unit:ext-cert-secret was attempted to be removed.
unit-config-server-0: 01:48:39 ERROR unit.config-server/0.juju-log certificates:9: Non-existing secret unit:int-cert-secret was attempted to be removed.
unit-shard0-0: 01:48:39 ERROR unit.shard0/0.juju-log certificates:10: Non-existing secret unit:int-cert-secret was attempted to be removed.
unit-shard0-0: 01:48:39 ERROR unit.shard0/0.juju-log certificates:10: Non-existing secret unit:ext-cert-secret was attempted to be removed.
unit-config-server-0: 01:48:40 ERROR unit.config-server/0.juju-log certificates:9: Non-existing secret unit:ext-cert-secret was attempted to be removed.
unit-mongos-k8s-0: 02:03:13 ERROR unit.mongos-k8s/0.juju-log certificates:11: Non-existing secret unit:int-cert-secret was attempted to be removed.
unit-mongos-k8s-1: 02:03:13 ERROR unit.mongos-k8s/1.juju-log certificates:11: Non-existing secret unit:int-cert-secret was attempted to be removed.
unit-mongos-k8s-0: 02:03:14 ERROR unit.mongos-k8s/0.juju-log certificates:11: Non-existing secret unit:ext-cert-secret was attempted to be removed.
unit-mongos-k8s-1: 02:03:14 ERROR unit.mongos-k8s/1.juju-log certificates:11: Non-existing secret unit:ext-cert-secret was attempted to be removed.
unit-mongos-k8s-0: 02:04:24 ERROR juju.worker.dependency "uniter" manifold worker returned unexpected error: relation scope id "90c7b729-55d6-4928-8e4c-48ae093d789a:r#11#self-signed-certificates": settings 90c7b729-55d6-4928-8e4c-48ae093d789a:r#11#self-signed-certificates not found (not found)
unit-mongos-k8s-0: 02:05:30 ERROR unit.mongos-k8s/0.juju-log mongos service is not ready yet.
unit-mongos-k8s-0: 02:06:32 ERROR unit.mongos-k8s/0.juju-log mongos service is not ready yet.
unit-mongos-k8s-0: 02:08:39 ERROR unit.mongos-k8s/0.juju-log mongos service is not ready yet.
unit-mongos-k8s-0: 02:09:41 ERROR unit.mongos-k8s/0.juju-log mongos service is not ready yet.
unit-mongos-k8s-0: 02:10:43 ERROR unit.mongos-k8s/0.juju-log mongos service is not ready yet.
unit-mongos-k8s-1: 02:11:16 ERROR unit.mongos-k8s/1.juju-log certificates:12: Non-existing secret unit:int-cert-secret was attempted to be removed.
unit-mongos-k8s-1: 02:11:16 ERROR unit.mongos-k8s/1.juju-log certificates:12: Non-existing secret unit:ext-cert-secret was attempted to be removed.
unit-mongos-k8s-0: 02:11:46 ERROR unit.mongos-k8s/0.juju-log mongos service is not ready yet.
unit-mongos-k8s-0: 02:12:48 ERROR unit.mongos-k8s/0.juju-log certificates:12: mongos service is not ready yet.
unit-mongos-k8s-0: 02:13:50 ERROR unit.mongos-k8s/0.juju-log router-peers:0: mongos service is not ready yet.
unit-mongos-k8s-0: 02:14:53 ERROR unit.mongos-k8s/0.juju-log certificates:12: mongos service is not ready yet.
unit-mongos-k8s-1: 02:15:49 ERROR unit.mongos-k8s/1.juju-log mongos is integrated to a different CA than the config server. Please use the same CA for all cluster components.
unit-mongos-k8s-0: 02:15:55 ERROR unit.mongos-k8s/0.juju-log certificates:12: mongos service is not ready yet.
unit-mongos-k8s-0: 02:15:56 ERROR unit.mongos-k8s/0.juju-log certificates:12: Non-existing secret unit:int-cert-secret was attempted to be removed.
unit-mongos-k8s-0: 02:15:56 ERROR unit.mongos-k8s/0.juju-log certificates:12: Non-existing secret unit:ext-cert-secret was attempted to be removed.
unit-mongos-k8s-0: 02:16:59 ERROR unit.mongos-k8s/0.juju-log mongos service is not ready yet.
unit-mongos-k8s-0: 02:18:01 ERROR unit.mongos-k8s/0.juju-log certificates:12: mongos service is not ready yet.
unit-mongos-k8s-0: 02:20:12 ERROR unit.mongos-k8s/0.juju-log mongos service is not ready yet.

INFO  pytest_operator.plugin:plugin.py:904 Forgetting main...
21 changes: 21 additions & 0 deletions 495/data/attachments/1ccc4dfd7bdfeb93.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
INFO  juju.model:model.py:2972 Waiting for model:
mongos-k8s/0 [idle] active:
mongos-k8s/1 [idle] active:
INFO  juju.model:model.py:2972 Waiting for model:
mongos-k8s/0 [idle] active:
mongos-k8s/1 [idle] active:
INFO  juju.model:model.py:2972 Waiting for model:
mongos-k8s/0 [idle] active:
mongos-k8s/1 [idle] active:
INFO  juju.model:model.py:2972 Waiting for model:
mongos-k8s/0 [idle] active:
mongos-k8s/1 [idle] active:
INFO  juju.model:model.py:2972 Waiting for model:
mongos-k8s/0 [idle] active:
mongos-k8s/1 [idle] active:
INFO  juju.model:model.py:2972 Waiting for model:
mongos-k8s/0 [idle] active:
mongos-k8s/1 [idle] active:
INFO  juju.model:model.py:2972 Waiting for model:
mongos-k8s/0 [idle] active:
mongos-k8s/1 [idle] active:
32 changes: 32 additions & 0 deletions 495/data/attachments/460ced531d2aec1f.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
INFO  juju.model:model.py:2972 Waiting for model:
mongos-k8s/0 [idle] active:
INFO  juju.model:model.py:2972 Waiting for model:
mongos-k8s/0 [idle] active:
mongos-k8s/1 [executing] maintenance: starting mongos
INFO  juju.model:model.py:2972 Waiting for model:
mongos-k8s/0 [idle] active:
mongos-k8s/1 [idle] active:
INFO  pytest_operator.plugin:plugin.py:834 Model status:

Model Controller Cloud/Region Version SLA Timestamp
test microk8s-localhost microk8s/localhost 3.5.3 unsupported 01:45:52Z

App Version Status Scale Charm Channel Rev Address Exposed Message
config-server active 1 mongodb-k8s 6/edge 61 10.152.183.122 no
mongos-k8s active 2 mongos-k8s 0 10.152.183.233 no
shard0 active 1 mongodb-k8s 6/edge 61 10.152.183.201 no

Unit Workload Agent Address Ports Message
config-server/0* active idle 10.1.37.141
mongos-k8s/0* active idle 10.1.37.136
mongos-k8s/1 active idle 10.1.37.143
shard0/0* active idle 10.1.37.142 Primary

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

unit-config-server-0: 01:41:02 ERROR unit.config-server/0.juju-log config-server:6: Failed to add shard shard0 to the config server, error=OperationFailure("Authentication failed., full error: {'ok': 0.0, 'errmsg': 'Authentication failed.', 'code': 18, 'codeName': 'AuthenticationFailed', '$clusterTime': {'clusterTime': Timestamp(1735004460, 3), 'signature': {'hash': b'L\\x8e\\x1d\\xe9\\x1b\\x93\\xd0\\xbbT \\xc0<\\xe8_\\xd3\\xb7_\\xd1\\xf0\\x85', 'keyId': 7451787177890938905}}, 'operationTime': Timestamp(1735004460, 3)}")
unit-config-server-0: 01:41:02 ERROR unit.config-server/0.juju-log config-server:6: shard0 shard does not have the same auth as the config server.
unit-mongos-k8s-0: 01:42:44 ERROR unit.mongos-k8s/0.juju-log cluster:7: mongos service is not ready yet.
unit-mongos-k8s-0: 01:43:46 ERROR unit.mongos-k8s/0.juju-log cluster:7: mongos service is not ready yet.

INFO  pytest_operator.plugin:plugin.py:904 Forgetting main...
42 changes: 42 additions & 0 deletions 495/data/attachments/47a36d43db871029.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
INFO  pytest_operator.plugin:plugin.py:708 Connecting to existing model microk8s-localhost:test on unspecified cloud
INFO  juju.model:model.py:2098 Deploying local:jammy/application-0
INFO  juju.model:model.py:2972 Waiting for model:
application/0 [allocating] waiting: installing agent
INFO  juju.model:model.py:2098 Deploying local:jammy/mongos-k8s-0
INFO  juju.model:model.py:2098 Deploying ch:amd64/jammy/mongodb-k8s-61
INFO  juju.model:model.py:2098 Deploying ch:amd64/jammy/mongodb-k8s-61
INFO  juju.model:model.py:2972 Waiting for model:
mongos-k8s/0 [allocating] waiting: installing agent
shard0/0 [allocating] waiting: installing agent
config-server/0 [allocating] waiting: installing agent
INFO  juju.model:model.py:2972 Waiting for model:
mongos-k8s/0 [idle] blocked: Missing relation to config-server.
shard0/0 [allocating] waiting: agent initialising
config-server/0 [allocating] waiting: agent initialising
INFO  juju.model:model.py:2972 Waiting for model:
shard0/0 [idle] active:
config-server/0 [idle] active:
INFO  juju.model:model.py:2972 Waiting for model:
config-server/0 [idle] active:
shard0/0 [idle] active:
INFO  juju.model:model.py:2972 Waiting for model:
config-server/0 [idle] active:
shard0/0 [idle] active:
INFO  juju.model:model.py:2972 Waiting for model:
config-server/0 [idle] active:
shard0/0 [idle] active:
INFO  juju.model:model.py:2972 Waiting for model:
config-server/0 [idle] active:
shard0/0 [idle] active:
mongos-k8s/0 [executing] blocked: Missing relation to config-server.
INFO  juju.model:model.py:2972 Waiting for model:
mongos-k8s/0 [executing] blocked: Missing relation to config-server.
INFO  juju.model:model.py:2972 Waiting for model:
mongos-k8s/0 [executing] blocked: Missing relation to config-server.
INFO  juju.model:model.py:2972 Waiting for model:
mongos-k8s/0 [executing] waiting: Connecting to config-server
INFO  juju.model:model.py:2972 Waiting for model:
mongos-k8s/0 [executing] waiting: Connecting to config-server
INFO  juju.model:model.py:2972 Waiting for model:
config-server/0 [idle] active:
mongos-k8s/0 [executing] maintenance: starting mongos
11 changes: 11 additions & 0 deletions 495/data/attachments/5456b7d079a0c13f.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
INFO  juju.model:model.py:2972 Waiting for model:
mongos-k8s/0 [executing] maintenance: enabling TLS
mongos-k8s/1 [executing] active:
INFO  juju.model:model.py:2972 Waiting for model:
mongos-k8s/0 [idle] active:
mongos-k8s/1 [idle] active:
INFO  juju.model:model.py:2972 Waiting for model:
mongos-k8s/0 [idle] active:
mongos-k8s/1 [idle] active:
INFO  juju.model:model.py:2972 Waiting for model:
mongos-k8s/0 [idle] active:
Loading

0 comments on commit 3b75471

Please sign in to comment.