Skip to content

Commit

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

Large diffs are not rendered by default.

60 changes: 60 additions & 0 deletions 131/data/attachments/931bc016f513674d.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
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] 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:
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
11 changes: 11 additions & 0 deletions 131/data/attachments/9a7108f715ff29a.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: agent initialising
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
55 changes: 55 additions & 0 deletions 131/data/attachments/f233a2217cad7d58.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:48Z

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

Unit Workload Agent Address Ports Message
config-server/0* active idle 10.1.212.142 Primary
mongos-k8s/0* maintenance executing 10.1.212.136 starting mongos
shard0/0* active idle 10.1.212.141 Primary

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

unit-config-server-0: 01:29:36 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-23T01:29:36Z INFO Most recent service output:
{"t":{"$date":"2024-08-23T01:29:36.586Z"},"s":"I", "c":"CONTROL", "id":5760901, "ctx":"-","msg":"Applied --setParameter options","attr":{"serverParameters":{"processUmask":{"default":63,"value":31}}}}
{"t":{"$date":"2024-08-23T01:29:36.586Z"},"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-23T01:29:36Z ERROR cannot start service: exited quickly with code 1
-----
unit-config-server-0: 01:29:36 ERROR juju.worker.uniter.operation hook "mongod-pebble-ready" (via hook dispatching script: dispatch) failed: exit status 1
unit-config-server-0: 01:29:36 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 131/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 131/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":"aba7d1cd1c252fd4","parentUid":"b1a8273437954620fa374b796ffaacdd","status":"passed","time":{"start":1724376535040,"stop":1724376602624,"duration":67584},"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":"961c80a7bdaed9c8","parentUid":"b1a8273437954620fa374b796ffaacdd","status":"passed","time":{"start":1724376602627,"stop":1724376603124,"duration":497},"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":"f06cf205dc34a73c","parentUid":"b1a8273437954620fa374b796ffaacdd","status":"broken","time":{"start":1724376603126,"stop":1724377248738,"duration":645612},"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":"70d084f7f86d47db","parentUid":"b1a8273437954620fa374b796ffaacdd","status":"skipped","time":{"start":1724377248743,"stop":1724377248743,"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":"23788aad97817e8f","parentUid":"b1a8273437954620fa374b796ffaacdd","status":"skipped","time":{"start":1724377248746,"stop":1724377248746,"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":"58e36b2ab24a56d2","parentUid":"b1a8273437954620fa374b796ffaacdd","status":"skipped","time":{"start":1724377248748,"stop":1724377248748,"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 131/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 131/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":"f06cf205dc34a73c","parentUid":"de49957499942a40a9473a33f95bd041","status":"broken","time":{"start":1724376603126,"stop":1724377248738,"duration":645612},"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 131/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":"aba7d1cd1c252fd4","parentUid":"58c25672de36d105d8b5663dfd000d1f","status":"passed","time":{"start":1724376535040,"stop":1724376602624,"duration":67584},"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":"961c80a7bdaed9c8","parentUid":"58c25672de36d105d8b5663dfd000d1f","status":"passed","time":{"start":1724376602627,"stop":1724376603124,"duration":497},"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":"f06cf205dc34a73c","parentUid":"58c25672de36d105d8b5663dfd000d1f","status":"broken","time":{"start":1724376603126,"stop":1724377248738,"duration":645612},"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":"70d084f7f86d47db","parentUid":"58c25672de36d105d8b5663dfd000d1f","status":"skipped","time":{"start":1724377248743,"stop":1724377248743,"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":"23788aad97817e8f","parentUid":"58c25672de36d105d8b5663dfd000d1f","status":"skipped","time":{"start":1724377248746,"stop":1724377248746,"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":"58e36b2ab24a56d2","parentUid":"58c25672de36d105d8b5663dfd000d1f","status":"skipped","time":{"start":1724377248748,"stop":1724377248748,"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 131/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"
"Verifies that the application and unit are active.","497","test_waits_for_config_server","tests.integration","Fri Aug 23 01:30:02 UTC 2024","passed","Fri Aug 23 01:30:03 UTC 2024","","test_charm","",""
"","645612","test_mongos_starts_with_config_server","tests.integration","Fri Aug 23 01:30:03 UTC 2024","broken","Fri Aug 23 01:40:48 UTC 2024","","test_charm","",""
"Tests that mongos powers down when no config server is accessible.","0","test_mongos_can_scale","tests.integration","Fri Aug 23 01:40:48 UTC 2024","skipped","Fri Aug 23 01:40:48 UTC 2024","","test_charm","",""
"","0","test_user_with_extra_roles","tests.integration","Fri Aug 23 01:40:48 UTC 2024","skipped","Fri Aug 23 01:40:48 UTC 2024","","test_charm","",""
"","0","test_mongos_has_user","tests.integration","Fri Aug 23 01:40:48 UTC 2024","skipped","Fri Aug 23 01:40:48 UTC 2024","","test_charm","",""
"Build and deploy a sharded cluster.","67584","test_build_and_deploy","tests.integration","Fri Aug 23 01:28:55 UTC 2024","passed","Fri Aug 23 01:30:02 UTC 2024","","test_charm","",""
1 change: 1 addition & 0 deletions 131/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":"aba7d1cd1c252fd4","parentUid":"0dfd4b43a1431cacdeb2391c6ff94a83","status":"passed","time":{"start":1724376535040,"stop":1724376602624,"duration":67584},"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":"961c80a7bdaed9c8","parentUid":"0dfd4b43a1431cacdeb2391c6ff94a83","status":"passed","time":{"start":1724376602627,"stop":1724376603124,"duration":497},"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":"f06cf205dc34a73c","parentUid":"0dfd4b43a1431cacdeb2391c6ff94a83","status":"broken","time":{"start":1724376603126,"stop":1724377248738,"duration":645612},"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":"70d084f7f86d47db","parentUid":"0dfd4b43a1431cacdeb2391c6ff94a83","status":"skipped","time":{"start":1724377248743,"stop":1724377248743,"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":"23788aad97817e8f","parentUid":"0dfd4b43a1431cacdeb2391c6ff94a83","status":"skipped","time":{"start":1724377248746,"stop":1724377248746,"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":"58e36b2ab24a56d2","parentUid":"0dfd4b43a1431cacdeb2391c6ff94a83","status":"skipped","time":{"start":1724377248748,"stop":1724377248748,"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"}
Loading

0 comments on commit ed6276c

Please sign in to comment.