Skip to content

Commit

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

Large diffs are not rendered by default.

29 changes: 29 additions & 0 deletions 143/data/attachments/2c312a5a9719cb80.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
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:
shard0/0 [idle] maintenance: Adding shard to config-server
INFO  juju.model:model.py:2972 Waiting for model:
config-server/0 [idle] active:
shard0/0 [idle] maintenance: Adding shard to config-server
mongos-k8s/0 [executing] blocked: Missing relation to config-server.
INFO  juju.model:model.py:2972 Waiting for model:
config-server/0 [idle] active:
shard0/0 [idle] maintenance: Adding shard to config-server
INFO  juju.model:model.py:2972 Waiting for model:
shard0/0 [idle] maintenance: Adding shard to config-server
INFO  juju.model:model.py:2972 Waiting for model:
shard0/0 [idle] maintenance: Adding shard to config-server
INFO  juju.model:model.py:2972 Waiting for model:
shard0/0 [idle] maintenance: Adding shard to config-server
INFO  juju.model:model.py:2972 Waiting for model:
shard0/0 [idle] maintenance: Adding shard to config-server
INFO  juju.model:model.py:2972 Waiting for model:
shard0/0 [idle] maintenance: Adding shard to config-server
INFO  juju.model:model.py:2972 Waiting for model:
shard0/0 [idle] maintenance: Adding shard to config-server
INFO  juju.model:model.py:2972 Waiting for model:
shard0/0 [idle] active: Primary
11 changes: 11 additions & 0 deletions 143/data/attachments/6af8ca3711276a3f.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
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-51
INFO  juju.model:model.py:2098 Deploying ch:amd64/jammy/mongodb-k8s-51
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:
shard0/0 [executing] maintenance: installing charm software
config-server/0 [executing] maintenance: installing charm software
97 changes: 97 additions & 0 deletions 143/data/attachments/7aa68038b6801cfe.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
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 [idle] active:
INFO  pytest_operator.plugin:plugin.py:834 Model status:

Model Controller Cloud/Region Version SLA Timestamp
test microk8s-localhost microk8s/localhost 3.4.4 unsupported 01:35:07Z

App Version Status Scale Charm Channel Rev Address Exposed Message
config-server active 1 mongodb-k8s 6/edge 51 10.152.183.60 no
mongos-k8s active 2 mongos-k8s 0 10.152.183.237 no
shard0 active 1 mongodb-k8s 6/edge 51 10.152.183.32 no Primary

Unit Workload Agent Address Ports Message
config-server/0* active idle 10.1.156.77
mongos-k8s/0* active idle 10.1.156.72
mongos-k8s/1 active idle 10.1.156.79
shard0/0* active idle 10.1.156.78 Primary

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

unit-config-server-0: 01:29:07 ERROR unit.config-server/0.juju-log Uncaught exception while in charm code:
Traceback (most recent call last):
File "/var/lib/juju/agents/unit-config-server-0/charm/./src/charm.py", line 1554, in <module>
main(MongoDBCharm)
File "/var/lib/juju/agents/unit-config-server-0/charm/venv/ops/main.py", line 551, in main
manager.run()
File "/var/lib/juju/agents/unit-config-server-0/charm/venv/ops/main.py", line 530, in run
self._emit()
File "/var/lib/juju/agents/unit-config-server-0/charm/venv/ops/main.py", line 519, in _emit
_emit_charm_event(self.charm, self.dispatcher.event_name)
File "/var/lib/juju/agents/unit-config-server-0/charm/venv/ops/main.py", line 147, in _emit_charm_event
event_to_emit.emit(*args, **kwargs)
File "/var/lib/juju/agents/unit-config-server-0/charm/venv/ops/framework.py", line 348, in emit
framework._emit(event)
File "/var/lib/juju/agents/unit-config-server-0/charm/venv/ops/framework.py", line 860, in _emit
self._reemit(event_path)
File "/var/lib/juju/agents/unit-config-server-0/charm/venv/ops/framework.py", line 950, in _reemit
custom_handler(event)
File "/var/lib/juju/agents/unit-config-server-0/charm/./src/charm.py", line 550, in _on_mongod_pebble_ready
container.replan()
File "/var/lib/juju/agents/unit-config-server-0/charm/venv/ops/model.py", line 2259, in replan
self._pebble.replan_services()
File "/var/lib/juju/agents/unit-config-server-0/charm/venv/ops/pebble.py", line 2129, in replan_services
return self._services_action('replan', [], timeout, delay)
File "/var/lib/juju/agents/unit-config-server-0/charm/venv/ops/pebble.py", line 2226, in _services_action
raise ChangeError(change.err, change)
ops.pebble.ChangeError: cannot perform the following tasks:
- Start service "mongod" (cannot start service: exited quickly with code 1)
----- Logs from task 1 -----
2024-08-24T01:29:07Z INFO Most recent service output:
{"t":{"$date":"2024-08-24T01:29:07.598Z"},"s":"I", "c":"CONTROL", "id":5760901, "ctx":"-","msg":"Applied --setParameter options","attr":{"serverParameters":{"processUmask":{"default":63,"value":31}}}}
{"t":{"$date":"2024-08-24T01:29:07.599Z"},"s":"F", "c":"CONTROL", "id":20574, "ctx":"-","msg":"Error during global initialization","attr":{"error":{"code":2,"codeName":"BadValue","errmsg":"Could not open a file for writing at the given auditPath: /var/log/mongodb/audit.log"}}}
2024-08-24T01:29:07Z ERROR cannot start service: exited quickly with code 1
-----
unit-config-server-0: 01:29:07 ERROR juju.worker.uniter.operation hook "mongod-pebble-ready" (via hook dispatching script: dispatch) failed: exit status 1
unit-config-server-0: 01:29:07 ERROR juju.worker.uniter pebble poll failed for container "mongod": failed to send pebble-ready event: hook failed
unit-shard0-0: 01:29:11 ERROR unit.shard0/0.juju-log Uncaught exception while in charm code:
Traceback (most recent call last):
File "/var/lib/juju/agents/unit-shard0-0/charm/./src/charm.py", line 1554, in <module>
main(MongoDBCharm)
File "/var/lib/juju/agents/unit-shard0-0/charm/venv/ops/main.py", line 551, in main
manager.run()
File "/var/lib/juju/agents/unit-shard0-0/charm/venv/ops/main.py", line 530, in run
self._emit()
File "/var/lib/juju/agents/unit-shard0-0/charm/venv/ops/main.py", line 519, in _emit
_emit_charm_event(self.charm, self.dispatcher.event_name)
File "/var/lib/juju/agents/unit-shard0-0/charm/venv/ops/main.py", line 147, in _emit_charm_event
event_to_emit.emit(*args, **kwargs)
File "/var/lib/juju/agents/unit-shard0-0/charm/venv/ops/framework.py", line 348, in emit
framework._emit(event)
File "/var/lib/juju/agents/unit-shard0-0/charm/venv/ops/framework.py", line 860, in _emit
self._reemit(event_path)
File "/var/lib/juju/agents/unit-shard0-0/charm/venv/ops/framework.py", line 950, in _reemit
custom_handler(event)
File "/var/lib/juju/agents/unit-shard0-0/charm/./src/charm.py", line 550, in _on_mongod_pebble_ready
container.replan()
File "/var/lib/juju/agents/unit-shard0-0/charm/venv/ops/model.py", line 2259, in replan
self._pebble.replan_services()
File "/var/lib/juju/agents/unit-shard0-0/charm/venv/ops/pebble.py", line 2129, in replan_services
return self._services_action('replan', [], timeout, delay)
File "/var/lib/juju/agents/unit-shard0-0/charm/venv/ops/pebble.py", line 2226, in _services_action
raise ChangeError(change.err, change)
ops.pebble.ChangeError: cannot perform the following tasks:
- Start service "mongod" (cannot start service: exited quickly with code 1)
----- Logs from task 1 -----
2024-08-24T01:29:11Z INFO Most recent service output:
{"t":{"$date":"2024-08-24T01:29:11.430Z"},"s":"I", "c":"CONTROL", "id":5760901, "ctx":"-","msg":"Applied --setParameter options","attr":{"serverParameters":{"processUmask":{"default":63,"value":31}}}}
{"t":{"$date":"2024-08-24T01:29:11.430Z"},"s":"F", "c":"CONTROL", "id":20574, "ctx":"-","msg":"Error during global initialization","attr":{"error":{"code":38,"codeName":"FileNotOpen","errmsg":"Can't initialize rotatable log file :: caused by :: Failed to open /var/log/mongodb/mongodb.log"}}}
2024-08-24T01:29:11Z ERROR cannot start service: exited quickly with code 1
-----
unit-shard0-0: 01:29:11 ERROR juju.worker.uniter.operation hook "mongod-pebble-ready" (via hook dispatching script: dispatch) failed: exit status 1
unit-shard0-0: 01:29:11 ERROR juju.worker.uniter pebble poll failed for container "mongod": failed to send pebble-ready event: hook failed

INFO  pytest_operator.plugin:plugin.py:904 Forgetting main...
2 changes: 2 additions & 0 deletions 143/data/behaviors.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
"BROKEN","EPIC","FAILED","FEATURE","PASSED","SKIPPED","STORY","UNKNOWN"
"0","","0","","6","0","","0"
1 change: 1 addition & 0 deletions 143/data/behaviors.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"uid":"b1a8273437954620fa374b796ffaacdd","children":[{"name":"test_build_and_deploy","uid":"c638c1db12d08ecb","parentUid":"b1a8273437954620fa374b796ffaacdd","status":"passed","time":{"start":1724462912888,"stop":1724462974623,"duration":61735},"flaky":false,"newFailed":false,"newPassed":false,"newBroken":false,"retriesCount":1,"retriesStatusChange":true,"parameters":[],"tags":["asyncio","abort_on_fail","group(1)"]},{"name":"test_waits_for_config_server","uid":"463d3a5b0bf6b5ef","parentUid":"b1a8273437954620fa374b796ffaacdd","status":"passed","time":{"start":1724462974626,"stop":1724462975120,"duration":494},"flaky":false,"newFailed":false,"newPassed":false,"newBroken":false,"retriesCount":1,"retriesStatusChange":true,"parameters":[],"tags":["asyncio","abort_on_fail","group(1)"]},{"name":"test_mongos_starts_with_config_server","uid":"17a7c65a1002db4","parentUid":"b1a8273437954620fa374b796ffaacdd","status":"passed","time":{"start":1724462975122,"stop":1724463264354,"duration":289232},"flaky":false,"newFailed":false,"newPassed":true,"newBroken":false,"retriesCount":1,"retriesStatusChange":true,"parameters":[],"tags":["asyncio","abort_on_fail","group(1)"]},{"name":"test_mongos_has_user","uid":"157efd8defb30dec","parentUid":"b1a8273437954620fa374b796ffaacdd","status":"passed","time":{"start":1724463264356,"stop":1724463264744,"duration":388},"flaky":false,"newFailed":false,"newPassed":false,"newBroken":false,"retriesCount":1,"retriesStatusChange":true,"parameters":[],"tags":["asyncio","abort_on_fail","group(1)"]},{"name":"test_user_with_extra_roles","uid":"30c3aa3983d95829","parentUid":"b1a8273437954620fa374b796ffaacdd","status":"passed","time":{"start":1724463264746,"stop":1724463265161,"duration":415},"flaky":false,"newFailed":false,"newPassed":false,"newBroken":false,"retriesCount":1,"retriesStatusChange":true,"parameters":[],"tags":["asyncio","abort_on_fail","group(1)"]},{"name":"test_mongos_can_scale","uid":"d97161eecde850c1","parentUid":"b1a8273437954620fa374b796ffaacdd","status":"passed","time":{"start":1724463265163,"stop":1724463306893,"duration":41730},"flaky":false,"newFailed":false,"newPassed":false,"newBroken":false,"retriesCount":1,"retriesStatusChange":true,"parameters":[],"tags":["asyncio","abort_on_fail","group(1)"]}],"name":"behaviors"}
Empty file added 143/data/categories.csv
Empty file.
1 change: 1 addition & 0 deletions 143/data/categories.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"uid":"4b4757e66a1912dae1a509f688f20b0f","children":[],"name":"categories"}
1 change: 1 addition & 0 deletions 143/data/packages.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"uid":"83edc06c07f9ae9e47eb6dd1b683e4e2","children":[{"name":"tests.integration.test_charm","children":[{"name":"test_build_and_deploy","uid":"c638c1db12d08ecb","parentUid":"58c25672de36d105d8b5663dfd000d1f","status":"passed","time":{"start":1724462912888,"stop":1724462974623,"duration":61735},"flaky":false,"newFailed":false,"newPassed":false,"newBroken":false,"retriesCount":1,"retriesStatusChange":true,"parameters":[],"tags":["asyncio","abort_on_fail","group(1)"]},{"name":"test_waits_for_config_server","uid":"463d3a5b0bf6b5ef","parentUid":"58c25672de36d105d8b5663dfd000d1f","status":"passed","time":{"start":1724462974626,"stop":1724462975120,"duration":494},"flaky":false,"newFailed":false,"newPassed":false,"newBroken":false,"retriesCount":1,"retriesStatusChange":true,"parameters":[],"tags":["asyncio","abort_on_fail","group(1)"]},{"name":"test_mongos_starts_with_config_server","uid":"17a7c65a1002db4","parentUid":"58c25672de36d105d8b5663dfd000d1f","status":"passed","time":{"start":1724462975122,"stop":1724463264354,"duration":289232},"flaky":false,"newFailed":false,"newPassed":true,"newBroken":false,"retriesCount":1,"retriesStatusChange":true,"parameters":[],"tags":["asyncio","abort_on_fail","group(1)"]},{"name":"test_mongos_has_user","uid":"157efd8defb30dec","parentUid":"58c25672de36d105d8b5663dfd000d1f","status":"passed","time":{"start":1724463264356,"stop":1724463264744,"duration":388},"flaky":false,"newFailed":false,"newPassed":false,"newBroken":false,"retriesCount":1,"retriesStatusChange":true,"parameters":[],"tags":["asyncio","abort_on_fail","group(1)"]},{"name":"test_user_with_extra_roles","uid":"30c3aa3983d95829","parentUid":"58c25672de36d105d8b5663dfd000d1f","status":"passed","time":{"start":1724463264746,"stop":1724463265161,"duration":415},"flaky":false,"newFailed":false,"newPassed":false,"newBroken":false,"retriesCount":1,"retriesStatusChange":true,"parameters":[],"tags":["asyncio","abort_on_fail","group(1)"]},{"name":"test_mongos_can_scale","uid":"d97161eecde850c1","parentUid":"58c25672de36d105d8b5663dfd000d1f","status":"passed","time":{"start":1724463265163,"stop":1724463306893,"duration":41730},"flaky":false,"newFailed":false,"newPassed":false,"newBroken":false,"retriesCount":1,"retriesStatusChange":true,"parameters":[],"tags":["asyncio","abort_on_fail","group(1)"]}],"uid":"tests.integration.test_charm"}],"name":"packages"}
7 changes: 7 additions & 0 deletions 143/data/suites.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
"DESCRIPTION","DURATION IN MS","NAME","PARENT SUITE","START TIME","STATUS","STOP TIME","SUB SUITE","SUITE","TEST CLASS","TEST METHOD"
"","289232","test_mongos_starts_with_config_server","tests.integration","Sat Aug 24 01:29:35 UTC 2024","passed","Sat Aug 24 01:34:24 UTC 2024","","test_charm","",""
"Build and deploy a sharded cluster.","61735","test_build_and_deploy","tests.integration","Sat Aug 24 01:28:32 UTC 2024","passed","Sat Aug 24 01:29:34 UTC 2024","","test_charm","",""
"Verifies that the application and unit are active.","494","test_waits_for_config_server","tests.integration","Sat Aug 24 01:29:34 UTC 2024","passed","Sat Aug 24 01:29:35 UTC 2024","","test_charm","",""
"Tests that mongos powers down when no config server is accessible.","41730","test_mongos_can_scale","tests.integration","Sat Aug 24 01:34:25 UTC 2024","passed","Sat Aug 24 01:35:06 UTC 2024","","test_charm","",""
"","388","test_mongos_has_user","tests.integration","Sat Aug 24 01:34:24 UTC 2024","passed","Sat Aug 24 01:34:24 UTC 2024","","test_charm","",""
"","415","test_user_with_extra_roles","tests.integration","Sat Aug 24 01:34:24 UTC 2024","passed","Sat Aug 24 01:34:25 UTC 2024","","test_charm","",""
1 change: 1 addition & 0 deletions 143/data/suites.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"uid":"98d3104e051c652961429bf95fa0b5d6","children":[{"name":"tests.integration","children":[{"name":"test_charm","children":[{"name":"test_build_and_deploy","uid":"c638c1db12d08ecb","parentUid":"0dfd4b43a1431cacdeb2391c6ff94a83","status":"passed","time":{"start":1724462912888,"stop":1724462974623,"duration":61735},"flaky":false,"newFailed":false,"newPassed":false,"newBroken":false,"retriesCount":1,"retriesStatusChange":true,"parameters":[],"tags":["asyncio","abort_on_fail","group(1)"]},{"name":"test_waits_for_config_server","uid":"463d3a5b0bf6b5ef","parentUid":"0dfd4b43a1431cacdeb2391c6ff94a83","status":"passed","time":{"start":1724462974626,"stop":1724462975120,"duration":494},"flaky":false,"newFailed":false,"newPassed":false,"newBroken":false,"retriesCount":1,"retriesStatusChange":true,"parameters":[],"tags":["asyncio","abort_on_fail","group(1)"]},{"name":"test_mongos_starts_with_config_server","uid":"17a7c65a1002db4","parentUid":"0dfd4b43a1431cacdeb2391c6ff94a83","status":"passed","time":{"start":1724462975122,"stop":1724463264354,"duration":289232},"flaky":false,"newFailed":false,"newPassed":true,"newBroken":false,"retriesCount":1,"retriesStatusChange":true,"parameters":[],"tags":["asyncio","abort_on_fail","group(1)"]},{"name":"test_mongos_has_user","uid":"157efd8defb30dec","parentUid":"0dfd4b43a1431cacdeb2391c6ff94a83","status":"passed","time":{"start":1724463264356,"stop":1724463264744,"duration":388},"flaky":false,"newFailed":false,"newPassed":false,"newBroken":false,"retriesCount":1,"retriesStatusChange":true,"parameters":[],"tags":["asyncio","abort_on_fail","group(1)"]},{"name":"test_user_with_extra_roles","uid":"30c3aa3983d95829","parentUid":"0dfd4b43a1431cacdeb2391c6ff94a83","status":"passed","time":{"start":1724463264746,"stop":1724463265161,"duration":415},"flaky":false,"newFailed":false,"newPassed":false,"newBroken":false,"retriesCount":1,"retriesStatusChange":true,"parameters":[],"tags":["asyncio","abort_on_fail","group(1)"]},{"name":"test_mongos_can_scale","uid":"d97161eecde850c1","parentUid":"0dfd4b43a1431cacdeb2391c6ff94a83","status":"passed","time":{"start":1724463265163,"stop":1724463306893,"duration":41730},"flaky":false,"newFailed":false,"newPassed":false,"newBroken":false,"retriesCount":1,"retriesStatusChange":true,"parameters":[],"tags":["asyncio","abort_on_fail","group(1)"]}],"uid":"0dfd4b43a1431cacdeb2391c6ff94a83"}],"uid":"a993e73a38f04e33a4c7d4e432d077a7"}],"name":"suites"}
Loading

0 comments on commit ccfcc12

Please sign in to comment.