Skip to content

Commit

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

Large diffs are not rendered by default.

58 changes: 58 additions & 0 deletions 121/data/attachments/282291e19af61140.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
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:
shard0/0 [idle] maintenance: Adding shard to config-server
mongos-k8s/0 [executing] maintenance: starting mongos
INFO  juju.model:model.py:2972 Waiting for model:
shard0/0 [idle] maintenance: Adding shard to config-server
mongos-k8s/0 [executing] maintenance: starting mongos
INFO  juju.model:model.py:2972 Waiting for model:
shard0/0 [idle] maintenance: Adding shard to config-server
mongos-k8s/0 [executing] maintenance: starting mongos
INFO  juju.model:model.py:2972 Waiting for model:
shard0/0 [idle] maintenance: Adding shard to config-server
mongos-k8s/0 [executing] maintenance: starting mongos
INFO  juju.model:model.py:2972 Waiting for model:
shard0/0 [idle] maintenance: Adding shard to config-server
mongos-k8s/0 [executing] maintenance: starting mongos
INFO  juju.model:model.py:2972 Waiting for model:
shard0/0 [idle] maintenance: Adding shard to config-server
mongos-k8s/0 [executing] maintenance: starting mongos
INFO  juju.model:model.py:2972 Waiting for model:
shard0/0 [idle] maintenance: Adding shard to config-server
mongos-k8s/0 [executing] maintenance: starting mongos
INFO  juju.model:model.py:2972 Waiting for model:
shard0/0 [idle] active: Primary
mongos-k8s/0 [executing] maintenance: starting mongos
INFO  juju.model:model.py:2972 Waiting for model:
mongos-k8s/0 [executing] maintenance: starting mongos
INFO  juju.model:model.py:2972 Waiting for model:
mongos-k8s/0 [executing] maintenance: starting mongos
INFO  juju.model:model.py:2972 Waiting for model:
mongos-k8s/0 [executing] maintenance: starting mongos
INFO  juju.model:model.py:2972 Waiting for model:
mongos-k8s/0 [executing] maintenance: starting mongos
INFO  juju.model:model.py:2972 Waiting for model:
mongos-k8s/0 [executing] maintenance: starting mongos
INFO  juju.model:model.py:2972 Waiting for model:
mongos-k8s/0 [executing] maintenance: starting mongos
INFO  juju.model:model.py:2972 Waiting for model:
mongos-k8s/0 [executing] maintenance: starting mongos
INFO  juju.model:model.py:2972 Waiting for model:
mongos-k8s/0 [executing] maintenance: starting mongos
INFO  juju.model:model.py:2972 Waiting for model:
mongos-k8s/0 [executing] maintenance: starting mongos
INFO  juju.model:model.py:2972 Waiting for model:
mongos-k8s/0 [executing] maintenance: starting mongos
INFO  juju.model:model.py:2972 Waiting for model:
mongos-k8s/0 [executing] maintenance: starting mongos
55 changes: 55 additions & 0 deletions 121/data/attachments/32ab721cb4dacc0c.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
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:40:38Z

App Version Status Scale Charm Channel Rev Address Exposed Message
config-server active 1 mongodb-k8s 6/edge 50 10.152.183.177 no Primary
mongos-k8s waiting 1 mongos-k8s 0 10.152.183.162 no installing agent
shard0 active 1 mongodb-k8s 6/edge 50 10.152.183.196 no Primary

Unit Workload Agent Address Ports Message
config-server/0* active idle 10.1.73.77 Primary
mongos-k8s/0* maintenance executing 10.1.73.72 starting mongos
shard0/0* active idle 10.1.73.78 Primary

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

unit-config-server-0: 01:29:25 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 1555, 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 551, 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-21T01:29:25Z INFO Most recent service output:
{"t":{"$date":"2024-08-21T01:29:25.727Z"},"s":"I", "c":"CONTROL", "id":5760901, "ctx":"-","msg":"Applied --setParameter options","attr":{"serverParameters":{"processUmask":{"default":63,"value":31}}}}
{"t":{"$date":"2024-08-21T01:29:25.728Z"},"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-21T01:29:25Z ERROR cannot start service: exited quickly with code 1
-----
unit-config-server-0: 01:29:25 ERROR juju.worker.uniter.operation hook "mongod-pebble-ready" (via hook dispatching script: dispatch) failed: exit status 1
unit-config-server-0: 01:29:25 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...
11 changes: 11 additions & 0 deletions 121/data/attachments/baa9d9f4aa59eb78.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-50
INFO  juju.model:model.py:2098 Deploying ch:amd64/jammy/mongodb-k8s-50
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
2 changes: 2 additions & 0 deletions 121/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"
"1","","0","","2","3","","0"
1 change: 1 addition & 0 deletions 121/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":"722211373ac8b8a","parentUid":"b1a8273437954620fa374b796ffaacdd","status":"passed","time":{"start":1724203729559,"stop":1724203791860,"duration":62301},"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":"3e4d4ed9ebef8139","parentUid":"b1a8273437954620fa374b796ffaacdd","status":"passed","time":{"start":1724203791862,"stop":1724203792401,"duration":539},"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":"53fcfcbc78f2c7b8","parentUid":"b1a8273437954620fa374b796ffaacdd","status":"broken","time":{"start":1724203792403,"stop":1724204437992,"duration":645589},"flaky":false,"newFailed":false,"newPassed":false,"newBroken":false,"retriesCount":1,"retriesStatusChange":true,"parameters":[],"tags":["asyncio","abort_on_fail","group(1)"]},{"name":"test_mongos_has_user","uid":"b31ef96a79c6d2bd","parentUid":"b1a8273437954620fa374b796ffaacdd","status":"skipped","time":{"start":1724204438040,"stop":1724204438040,"duration":0},"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":"74e4b1a0abe1ebc7","parentUid":"b1a8273437954620fa374b796ffaacdd","status":"skipped","time":{"start":1724204438043,"stop":1724204438043,"duration":0},"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":"1b9dc4fcf7b4436","parentUid":"b1a8273437954620fa374b796ffaacdd","status":"skipped","time":{"start":1724204438045,"stop":1724204438045,"duration":0},"flaky":false,"newFailed":false,"newPassed":false,"newBroken":false,"retriesCount":1,"retriesStatusChange":true,"parameters":[],"tags":["asyncio","abort_on_fail","group(1)"]}],"name":"behaviors"}
2 changes: 2 additions & 0 deletions 121/data/categories.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
"BROKEN","CATEGORY","FAILED","PASSED","SKIPPED","UNKNOWN"
"1","Test defects","0","0","0","0"
1 change: 1 addition & 0 deletions 121/data/categories.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"uid":"4b4757e66a1912dae1a509f688f20b0f","children":[{"name":"Test defects","children":[{"name":"asyncio.exceptions.TimeoutError: Timed out waiting for model:\nmongos-k8s/0 [executing] maintenance: starting mongos","children":[{"name":"test_mongos_starts_with_config_server","uid":"53fcfcbc78f2c7b8","parentUid":"de49957499942a40a9473a33f95bd041","status":"broken","time":{"start":1724203792403,"stop":1724204437992,"duration":645589},"flaky":false,"newFailed":false,"newPassed":false,"newBroken":false,"retriesCount":1,"retriesStatusChange":true,"parameters":[],"tags":["asyncio","abort_on_fail","group(1)"]}],"uid":"de49957499942a40a9473a33f95bd041"}],"uid":"bdbf199525818fae7a8651db9eafe741"}],"name":"categories"}
1 change: 1 addition & 0 deletions 121/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":"722211373ac8b8a","parentUid":"58c25672de36d105d8b5663dfd000d1f","status":"passed","time":{"start":1724203729559,"stop":1724203791860,"duration":62301},"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":"3e4d4ed9ebef8139","parentUid":"58c25672de36d105d8b5663dfd000d1f","status":"passed","time":{"start":1724203791862,"stop":1724203792401,"duration":539},"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":"53fcfcbc78f2c7b8","parentUid":"58c25672de36d105d8b5663dfd000d1f","status":"broken","time":{"start":1724203792403,"stop":1724204437992,"duration":645589},"flaky":false,"newFailed":false,"newPassed":false,"newBroken":false,"retriesCount":1,"retriesStatusChange":true,"parameters":[],"tags":["asyncio","abort_on_fail","group(1)"]},{"name":"test_mongos_has_user","uid":"b31ef96a79c6d2bd","parentUid":"58c25672de36d105d8b5663dfd000d1f","status":"skipped","time":{"start":1724204438040,"stop":1724204438040,"duration":0},"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":"74e4b1a0abe1ebc7","parentUid":"58c25672de36d105d8b5663dfd000d1f","status":"skipped","time":{"start":1724204438043,"stop":1724204438043,"duration":0},"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":"1b9dc4fcf7b4436","parentUid":"58c25672de36d105d8b5663dfd000d1f","status":"skipped","time":{"start":1724204438045,"stop":1724204438045,"duration":0},"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 121/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"
"","0","test_user_with_extra_roles","tests.integration","Wed Aug 21 01:40:38 UTC 2024","skipped","Wed Aug 21 01:40:38 UTC 2024","","test_charm","",""
"Verifies that the application and unit are active.","539","test_waits_for_config_server","tests.integration","Wed Aug 21 01:29:51 UTC 2024","passed","Wed Aug 21 01:29:52 UTC 2024","","test_charm","",""
"Tests that mongos powers down when no config server is accessible.","0","test_mongos_can_scale","tests.integration","Wed Aug 21 01:40:38 UTC 2024","skipped","Wed Aug 21 01:40:38 UTC 2024","","test_charm","",""
"","0","test_mongos_has_user","tests.integration","Wed Aug 21 01:40:38 UTC 2024","skipped","Wed Aug 21 01:40:38 UTC 2024","","test_charm","",""
"","645589","test_mongos_starts_with_config_server","tests.integration","Wed Aug 21 01:29:52 UTC 2024","broken","Wed Aug 21 01:40:37 UTC 2024","","test_charm","",""
"Build and deploy a sharded cluster.","62301","test_build_and_deploy","tests.integration","Wed Aug 21 01:28:49 UTC 2024","passed","Wed Aug 21 01:29:51 UTC 2024","","test_charm","",""
1 change: 1 addition & 0 deletions 121/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":"722211373ac8b8a","parentUid":"0dfd4b43a1431cacdeb2391c6ff94a83","status":"passed","time":{"start":1724203729559,"stop":1724203791860,"duration":62301},"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":"3e4d4ed9ebef8139","parentUid":"0dfd4b43a1431cacdeb2391c6ff94a83","status":"passed","time":{"start":1724203791862,"stop":1724203792401,"duration":539},"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":"53fcfcbc78f2c7b8","parentUid":"0dfd4b43a1431cacdeb2391c6ff94a83","status":"broken","time":{"start":1724203792403,"stop":1724204437992,"duration":645589},"flaky":false,"newFailed":false,"newPassed":false,"newBroken":false,"retriesCount":1,"retriesStatusChange":true,"parameters":[],"tags":["asyncio","abort_on_fail","group(1)"]},{"name":"test_mongos_has_user","uid":"b31ef96a79c6d2bd","parentUid":"0dfd4b43a1431cacdeb2391c6ff94a83","status":"skipped","time":{"start":1724204438040,"stop":1724204438040,"duration":0},"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":"74e4b1a0abe1ebc7","parentUid":"0dfd4b43a1431cacdeb2391c6ff94a83","status":"skipped","time":{"start":1724204438043,"stop":1724204438043,"duration":0},"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":"1b9dc4fcf7b4436","parentUid":"0dfd4b43a1431cacdeb2391c6ff94a83","status":"skipped","time":{"start":1724204438045,"stop":1724204438045,"duration":0},"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"}
1 change: 1 addition & 0 deletions 121/data/test-cases/146b57e9b1f4f514.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"uid":"146b57e9b1f4f514","name":"test_mongos_starts_with_config_server","fullName":"tests.integration.test_charm#test_mongos_starts_with_config_server","historyId":"4a31270c548a8946112bada7317a51ed","time":{},"status":"unknown","flaky":false,"newFailed":false,"newBroken":false,"newPassed":false,"retriesCount":0,"retriesStatusChange":false,"beforeStages":[],"afterStages":[],"labels":[{"name":"tag","value":"abort_on_fail"},{"name":"tag","value":"group(1)"},{"name":"tag","value":"asyncio"},{"name":"parentSuite","value":"tests.integration"},{"name":"suite","value":"test_charm"},{"name":"host","value":"fv-az1249-445"},{"name":"framework","value":"pytest"},{"name":"language","value":"cpython3"},{"name":"package","value":"tests.integration.test_charm"},{"name":"resultFormat","value":"allure2"}],"parameters":[],"links":[],"hidden":true,"retry":true,"extra":{"categories":[],"tags":["asyncio","abort_on_fail","group(1)"]},"source":"146b57e9b1f4f514.json","parameterValues":[]}
1 change: 1 addition & 0 deletions 121/data/test-cases/1777477ec02a0da5.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"uid":"1777477ec02a0da5","name":"test_build_and_deploy","fullName":"tests.integration.test_charm#test_build_and_deploy","historyId":"6e6e907ed99cb080c4e76760513358b7","time":{},"description":"Build and deploy a sharded cluster.","descriptionHtml":"<p>Build and deploy a sharded cluster.</p>\n","status":"unknown","flaky":false,"newFailed":false,"newBroken":false,"newPassed":false,"retriesCount":0,"retriesStatusChange":false,"beforeStages":[],"afterStages":[],"labels":[{"name":"tag","value":"abort_on_fail"},{"name":"tag","value":"group(1)"},{"name":"tag","value":"asyncio"},{"name":"parentSuite","value":"tests.integration"},{"name":"suite","value":"test_charm"},{"name":"host","value":"fv-az1249-445"},{"name":"framework","value":"pytest"},{"name":"language","value":"cpython3"},{"name":"package","value":"tests.integration.test_charm"},{"name":"resultFormat","value":"allure2"}],"parameters":[],"links":[],"hidden":true,"retry":true,"extra":{"categories":[],"tags":["asyncio","abort_on_fail","group(1)"]},"source":"1777477ec02a0da5.json","parameterValues":[]}
1 change: 1 addition & 0 deletions 121/data/test-cases/1b9dc4fcf7b4436.json

Large diffs are not rendered by default.

Loading

0 comments on commit f3ca386

Please sign in to comment.