Skip to content

Commit

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

Large diffs are not rendered by default.

15 changes: 15 additions & 0 deletions 380/data/attachments/258c12c9df9c9115.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
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/mongos-k8s-0
INFO  juju.model:model.py:2098 Deploying ch:amd64/jammy/mongodb-k8s-60
INFO  juju.model:model.py:2098 Deploying ch:amd64/jammy/mongodb-k8s-60
INFO  juju.model:model.py:2972 Waiting for model:
mongos-k8s/0 [allocating] waiting: agent initialising
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:
54 changes: 54 additions & 0 deletions 380/data/attachments/3bf525d7f66523f9.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
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/mongos-k8s-0
INFO  juju.model:model.py:2098 Deploying ch:amd64/jammy/mongodb-k8s-60
INFO  juju.model:model.py:2098 Deploying ch:amd64/jammy/mongodb-k8s-60
INFO  juju.model:model.py:2972 Waiting for model:
mongos-k8s/0 [allocating] waiting: agent initialising
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 [executing] maintenance: installing charm software
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.
mongos-k8s/1 [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.
mongos-k8s/1 [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.
mongos-k8s/1 [executing] blocked: Missing relation to config-server.
INFO  juju.model:model.py:2972 Waiting for model:
config-server/0 [idle] active:
mongos-k8s/0 [executing] waiting: Connecting to config-server
mongos-k8s/1 [executing] waiting: Connecting to config-server
INFO  juju.model:model.py:2972 Waiting for model:
mongos-k8s/0 [executing] waiting: Connecting to config-server
mongos-k8s/1 [executing] waiting: Connecting to config-server
INFO  juju.model:model.py:2972 Waiting for model:
config-server/0 [executing] active:
mongos-k8s/0 [executing] maintenance: starting mongos
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:2098 Deploying ch:amd64/jammy/self-signed-certificates-202
INFO  juju.model:model.py:2972 Waiting for model:
self-signed-certificates/0 [allocating] waiting: installing agent
INFO  juju.model:model.py:2972 Waiting for model:
self-signed-certificates/0 [idle] active:
27 changes: 27 additions & 0 deletions 380/data/attachments/462cf9c654081c90.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
INFO  juju.model:model.py:2972 Waiting for model:
mongos-k8s/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.5.3 unsupported 01:36:46Z

App Version Status Scale Charm Channel Rev Address Exposed Message
application active 1 application 0 no
config-server active 1 mongodb-k8s 6/edge 60 10.152.183.151 no
mongos-k8s active 1 mongos-k8s 0 10.152.183.234 no
shard0 active 1 mongodb-k8s 6/edge 60 10.152.183.155 no

Unit Workload Agent Address Ports Message
application/0* active idle
config-server/0* active idle 10.1.71.207 Primary
mongos-k8s/0* active idle 10.1.71.202
shard0/0* active idle 10.1.71.208 Primary

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

unit-config-server-0: 01:31:59 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(1729733519, 1), 'signature': {'hash': b'\\xac=m%a\\x06\\xdd\\xc0x\\xa1Y\\xef\\x8dYc\\xa3KG\\xa6\\xae', 'keyId': 7429148658676793370}}, 'operationTime': Timestamp(1729733519, 1)}")
unit-config-server-0: 01:31:59 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:33:42 ERROR unit.mongos-k8s/0.juju-log cluster:7: mongos service is not ready yet.
unit-mongos-k8s-0: 01:34:44 ERROR unit.mongos-k8s/0.juju-log cluster:7: mongos service is not ready yet.

INFO  pytest_operator.plugin:plugin.py:904 Forgetting main...
2 changes: 2 additions & 0 deletions 380/data/attachments/4e52f4f12fab6eb7.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
INFO  juju.model:model.py:2972 Waiting for model:
mongos-k8s/0 [idle] active:
137 changes: 137 additions & 0 deletions 380/data/attachments/62d51e1f8cc03779.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,137 @@
INFO  juju.model:model.py:2972 Waiting for model:
mongos-k8s/0 [idle] active:
mongos-k8s/1 [idle] active:
mongos-k8s/2 [idle] active:
INFO  juju.model:model.py:2972 Waiting for model:
mongos-k8s/0 [idle] active: MongoDB 6.0.6 running (restart pending); Charm revision 1
mongos-k8s/1 [idle] active: MongoDB 6.0.6 running (restart pending); Charm revision 1
mongos-k8s/2 [executing] active: MongoDB 6.1.6+testupgrade running; Charm revision 1
INFO  juju.model:model.py:2972 Waiting for model:
mongos-k8s/0 [idle] active: MongoDB 6.0.6 running (restart pending); Charm revision 1
mongos-k8s/1 [executing] maintenance:
mongos-k8s/2 [idle] active: MongoDB 6.1.6+testupgrade running; Charm revision 1
INFO  juju.model:model.py:2972 Waiting for model:
mongos-k8s/0 [idle] active: MongoDB 6.0.6 running (restart pending); Charm revision 1
mongos-k8s/1 [idle] active: MongoDB 6.1.6+testupgrade running; Charm revision 1
mongos-k8s/2 [idle] active: MongoDB 6.1.6+testupgrade running; Charm revision 1
INFO  juju.model:model.py:2972 Waiting for model:
mongos-k8s/0 [executing] active:
mongos-k8s/1 [idle] active: MongoDB 6.1.6+testupgrade running; Charm revision 1
mongos-k8s/2 [idle] active: MongoDB 6.1.6+testupgrade running; Charm revision 1
INFO  juju.model:model.py:2972 Waiting for model:
mongos-k8s/0 [idle] active:
mongos-k8s/1 [idle] active:
mongos-k8s/2 [idle] active:
INFO  juju.model:model.py:2972 Waiting for model:
mongos-k8s/0 [idle] active:
mongos-k8s/1 [idle] active:
mongos-k8s/2 [idle] active:
INFO  juju.model:model.py:2972 Waiting for model:
mongos-k8s/0 [idle] active:
mongos-k8s/1 [idle] active:
mongos-k8s/2 [idle] active:
INFO  juju.model:model.py:2972 Waiting for model:
mongos-k8s/0 [idle] active:
mongos-k8s/1 [idle] active:
mongos-k8s/2 [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:40:19Z

App Version Status Scale Charm Channel Rev Address Exposed Message
config-server active 1 mongodb-k8s 6/edge 60 10.152.183.154 no
mongos-k8s active 3 mongos-k8s 1 10.152.183.42 no
shard0 active 1 mongodb-k8s 6/edge 60 10.152.183.116 no

Unit Workload Agent Address Ports Message
config-server/0* active idle 10.1.123.79 Primary
mongos-k8s/0* active idle 10.1.123.83
mongos-k8s/1 active idle 10.1.123.82
mongos-k8s/2 active idle 10.1.123.81
shard0/0* active idle 10.1.123.80 Primary

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

unit-config-server-0: 01:32: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(1729733522, 2), \'signature\': {\'hash\': b"\\\\z\\x0bL\\x11\\xc1l\\x83\\xd9\\xdb\\x8a\\xa8\'\\xd8\\x11M\\xde\\x8cXl", \'keyId\': 7429148680151629837}}, \'operationTime\': Timestamp(1729733522, 2)}')
unit-config-server-0: 01:32: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-1: 01:33:44 ERROR unit.mongos-k8s/1.juju-log cluster:7: mongos service is not ready yet.
unit-mongos-k8s-0: 01:33:44 ERROR unit.mongos-k8s/0.juju-log cluster:7: mongos service is not ready yet.
unit-mongos-k8s-2: 01:33:44 ERROR unit.mongos-k8s/2.juju-log cluster:7: mongos service is not ready yet.
unit-mongos-k8s-0: 01:34:46 ERROR unit.mongos-k8s/0.juju-log cluster:7: mongos service is not ready yet.
unit-mongos-k8s-2: 01:34:46 ERROR unit.mongos-k8s/2.juju-log cluster:7: mongos service is not ready yet.
unit-mongos-k8s-1: 01:34:46 ERROR unit.mongos-k8s/1.juju-log cluster:7: mongos service is not ready yet.
unit-mongos-k8s-2: 01:34:48 ERROR unit.mongos-k8s/2.juju-log cluster:7: Uncaught exception while in charm code:
Traceback (most recent call last):
File "/var/lib/juju/agents/unit-mongos-k8s-2/charm/./src/charm.py", line 977, in <module>
main(MongosCharm)
File "/var/lib/juju/agents/unit-mongos-k8s-2/charm/venv/ops/main.py", line 553, in main
manager.run()
File "/var/lib/juju/agents/unit-mongos-k8s-2/charm/venv/ops/main.py", line 529, in run
self._emit()
File "/var/lib/juju/agents/unit-mongos-k8s-2/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-2/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-2/charm/venv/ops/framework.py", line 347, in emit
framework._emit(event)
File "/var/lib/juju/agents/unit-mongos-k8s-2/charm/venv/ops/framework.py", line 853, in _emit
self._reemit(event_path)
File "/var/lib/juju/agents/unit-mongos-k8s-2/charm/venv/ops/framework.py", line 943, in _reemit
custom_handler(event)
File "/var/lib/juju/agents/unit-mongos-k8s-2/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-2/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-2/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-2/charm/lib/charms/mongodb/v0/mongo.py", line 174, in __init__
uri = config.uri
File "/var/lib/juju/agents/unit-mongos-k8s-2/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-2: 01:34:49 ERROR juju.worker.uniter.operation hook "cluster-relation-changed" (via hook dispatching script: dispatch) failed: exit status 1
unit-mongos-k8s-1: 01:34:53 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:34:54 ERROR juju.worker.uniter.operation hook "cluster-relation-changed" (via hook dispatching script: dispatch) failed: exit status 1

INFO  pytest_operator.plugin:plugin.py:904 Forgetting main...
12 changes: 12 additions & 0 deletions 380/data/attachments/689e5da00b0f3c7f.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
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 [executing] maintenance: enabling TLS
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:
24 changes: 24 additions & 0 deletions 380/data/attachments/7570e2dc9e27631e.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
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
Loading

0 comments on commit df4f3b4

Please sign in to comment.