CI: update test report and coverage files

This commit is contained in:
ci-bot committed 2025-08-25 14:56:20 +00:00
1 parent 605d3f6ca2
commit 6da5083dfa
4 files changed
+191 -698

No files matched your search

+180 -667
View File
File diff suppressed because it is too large. Load diff
+3 -3
View File
@@ -176,7 +176,7 @@
| slic/utils/channels.py | 17 | 12 | 29% |
| slic/utils/config.py | 5 | 2 | 60% |
| slic/utils/cprint.py | 41 | 16 | 61% |
| slic/utils/dbusnotify.py | 40 | 23 | 42% |
| slic/utils/dbusnotify.py | 40 | 0 | 100% |
| slic/utils/debug.py | 16 | 12 | 25% |
| slic/utils/dictext.py | 30 | 19 | 37% |
| slic/utils/dotdir.py | 10 | 1 | 90% |
@@ -185,7 +185,7 @@
| slic/utils/eval.py | 49 | 37 | 24% |
| slic/utils/exceptions.py | 22 | 14 | 36% |
| slic/utils/get\_adj.py | 17 | 11 | 35% |
| slic/utils/hastyepics.py | 37 | 5 | 86% |
| slic/utils/hastyepics.py | 37 | 25 | 32% |
| slic/utils/ioc/\_\_init\_\_.py | 1 | 1 | 0% |
| slic/utils/ioc/adjdrv.py | 31 | 31 | 0% |
| slic/utils/ioc/ioc.py | 63 | 63 | 0% |
@@ -224,4 +224,4 @@
| slic/utils/typecast.py | 19 | 19 | 0% |
| slic/utils/utils.py | 17 | 8 | 53% |
| slic/utils/xrange.py | 33 | 30 | 9% |
| **TOTAL** | **9984** | **7432** | **26%** |
| **TOTAL** | **9984** | **7429** | **26%** |
+1 -1
View File
@@ -1 +1 @@
{"created": 1756129970.6098907, "duration": 26.528825759887695, "exitcode": 1, "root": "/workspace/tligui_y/slic", "environment": {}, "summary": {"failed": 6, "passed": 6, "total": 12, "collected": 12}, "collectors": [{"nodeid": "", "outcome": "passed", "result": [{"nodeid": "tests/test_utils_hastepics.py", "type": "Module"}]}, {"nodeid": "tests/test_utils_hastepics.py", "outcome": "passed", "result": [{"nodeid": "tests/test_utils_hastepics.py::test_get_pv_connect_false_and_true", "type": "Function", "lineno": 29}, {"nodeid": "tests/test_utils_hastepics.py::test_motor_init_strips_suffixes", "type": "Function", "lineno": 44}, {"nodeid": "tests/test_utils_hastepics.py::test_motor_invalid_name_raises", "type": "Function", "lineno": 74}, {"nodeid": "tests/test_utils_hastepics.py::test_disabled_removed_relative_to_upstream", "type": "Function", "lineno": 79}, {"nodeid": "tests/test_utils_hastepics.py::test_motor_init_list_and_extras_build_handles_eagerly", "type": "Function", "lineno": 100}, {"nodeid": "tests/test_utils_hastepics.py::test_motor_val_connect_via_cache", "type": "Function", "lineno": 130}, {"nodeid": "tests/test_utils_hastepics.py::test_speedup_get_pv", "type": "Function", "lineno": 149}, {"nodeid": "tests/test_utils_hastepics.py::test_speedup_motor_instantiation", "type": "Function", "lineno": 166}, {"nodeid": "tests/test_utils_hastepics.py::test_speedup_motor_PV", "type": "Function", "lineno": 183}, {"nodeid": "tests/test_utils_hastepics.py::test_motor_init_list_attrs_created", "type": "Function", "lineno": 205}, {"nodeid": "tests/test_utils_hastepics.py::test_motor_extras_attrs_correct", "type": "Function", "lineno": 216}, {"nodeid": "tests/test_utils_hastepics.py::test_motor_callbacks_empty", "type": "Function", "lineno": 228}]}], "tests": [{"nodeid": "tests/test_utils_hastepics.py::test_get_pv_connect_false_and_true", "lineno": 29, "outcome": "failed", "keywords": ["test_get_pv_connect_false_and_true", "test_utils_hastepics.py", "tests", "slic", ""], "setup": {"duration": 0.0007642786949872971, "outcome": "passed"}, "call": {"duration": 2.111914704553783, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_utils_hastepics.py", "lineno": 42, "message": "AssertionError: assert False\n + where False = <PV 'TEST:SIM:VAL': not connected>.connected"}, "traceback": [{"path": "tests/test_utils_hastepics.py", "lineno": 42, "message": "AssertionError"}], "longrepr": "def test_get_pv_connect_false_and_true():\n name = \"TEST:SIM:VAL\"\n assert not _in_pv_cache(name)\n \n pv = get_pv(name, connect=False)\n assert isinstance(pv, PV)\n \n assert _in_pv_cache(name), \"PV should be in _PVcache_ after get_pv(connect=False)\"\n assert not pv.connected\n \n # Now actually connect\n pv2 = get_pv(name, connect=True, timeout=2.0)\n> assert pv2.connected\nE AssertionError: assert False\nE + where False = <PV 'TEST:SIM:VAL': not connected>.connected\n\ntests/test_utils_hastepics.py:42: AssertionError"}, "teardown": {"duration": 0.0006133858114480972, "outcome": "passed"}}, {"nodeid": "tests/test_utils_hastepics.py::test_motor_init_strips_suffixes", "lineno": 44, "outcome": "failed", "keywords": ["test_motor_init_strips_suffixes", "test_utils_hastepics.py", "tests", "slic", ""], "setup": {"duration": 0.00035681668668985367, "outcome": "passed"}, "call": {"duration": 0.0025765858590602875, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_utils_hastepics.py", "lineno": 66, "message": "AssertionError: assert 'TEST:SIM:M1.' == 'TEST:SIM:M1'\n \n - TEST:SIM:M1\n + TEST:SIM:M1.\n ? +"}, "traceback": [{"path": "tests/test_utils_hastepics.py", "lineno": 66, "message": "AssertionError"}], "longrepr": "def test_motor_init_strips_suffixes():\n m1 = Motor(\"TEST:SIM:M1.VAL\")\n \n # Afficher les attributs de base de epics.Motor\n print(\"Attributes of epics.Motor:\")\n print(\" _init_list:\", getattr(epics.Motor, \"_init_list\", []))\n print(\" _extras:\", getattr(epics.Motor, \"_extras\", {}))\n \n # Afficher les attributs de ton objet Motor\n print(\"\\nAttributes of Motor (custom):\")\n print(\" _init_list:\", getattr(m1, \"_init_list\", []))\n print(\" _extras:\", getattr(m1, \"_extras\", {}))\n \n # Afficher tous les attributs de epics.Motor (via dir())\n print(\"\\nAll attributes of epics.Motor:\")\n print(dir(epics.Motor))\n \n # Afficher tous les attributs de ta classe Motor (via dir())\n print(\"\\nAll attributes of Motor (custom):\")\n print(dir(m1))\n \n> assert m1._prefix == \"TEST:SIM:M1\"\nE AssertionError: assert 'TEST:SIM:M1.' == 'TEST:SIM:M1'\nE \nE - TEST:SIM:M1\nE + TEST:SIM:M1.\nE ? +\n\ntests/test_utils_hastepics.py:66: AssertionError"}, "teardown": {"duration": 0.0002395045012235641Line truncated
{"created": 1756133777.5663934, "duration": 4.885369062423706, "exitcode": 0, "root": "/workspace/tligui_y/slic", "environment": {}, "summary": {"passed": 7, "total": 7, "collected": 7}, "collectors": [{"nodeid": "", "outcome": "passed", "result": [{"nodeid": "tests/test_utils_dbusnotify.py", "type": "Module"}]}, {"nodeid": "tests/test_utils_dbusnotify.py::DBusTestCase", "outcome": "passed", "result": []}, {"nodeid": "tests/test_utils_dbusnotify.py", "outcome": "passed", "result": [{"nodeid": "tests/test_utils_dbusnotify.py::DBusTestCase", "type": "UnitTestCase"}, {"nodeid": "tests/test_utils_dbusnotify.py::test_notify_create", "type": "Function", "lineno": 26}, {"nodeid": "tests/test_utils_dbusnotify.py::test_notify_update", "type": "Function", "lineno": 37}, {"nodeid": "tests/test_utils_dbusnotify.py::test_get_server_info", "type": "Function", "lineno": 46}, {"nodeid": "tests/test_utils_dbusnotify.py::test_get_capabilities", "type": "Function", "lineno": 57}, {"nodeid": "tests/test_utils_dbusnotify.py::test_notify_and_close", "type": "Function", "lineno": 72}, {"nodeid": "tests/test_utils_dbusnotify.py::test_notify_invalid_value", "type": "Function", "lineno": 82}, {"nodeid": "tests/test_utils_dbusnotify.py::test_convert_dbus_strings", "type": "Function", "lineno": 88}]}], "tests": [{"nodeid": "tests/test_utils_dbusnotify.py::test_notify_create", "lineno": 26, "outcome": "passed", "keywords": ["test_notify_create", "test_utils_dbusnotify.py", "tests", "slic", ""], "setup": {"duration": 3.5844745840877295, "outcome": "passed"}, "call": {"duration": 0.004959088750183582, "outcome": "passed"}, "teardown": {"duration": 0.00025586970150470734, "outcome": "passed"}}, {"nodeid": "tests/test_utils_dbusnotify.py::test_notify_update", "lineno": 37, "outcome": "passed", "keywords": ["test_notify_update", "test_utils_dbusnotify.py", "tests", "slic", ""], "setup": {"duration": 0.00019716378301382065, "outcome": "passed"}, "call": {"duration": 0.016220551915466785, "outcome": "passed"}, "teardown": {"duration": 0.00015333015471696854, "outcome": "passed"}}, {"nodeid": "tests/test_utils_dbusnotify.py::test_get_server_info", "lineno": 46, "outcome": "passed", "keywords": ["test_get_server_info", "test_utils_dbusnotify.py", "tests", "slic", ""], "setup": {"duration": 0.0001543806865811348, "outcome": "passed"}, "call": {"duration": 0.00045926589518785477, "outcome": "passed"}, "teardown": {"duration": 0.00011773314327001572, "outcome": "passed"}}, {"nodeid": "tests/test_utils_dbusnotify.py::test_get_capabilities", "lineno": 57, "outcome": "passed", "keywords": ["test_get_capabilities", "test_utils_dbusnotify.py", "tests", "slic", ""], "setup": {"duration": 0.00014492589980363846, "outcome": "passed"}, "call": {"duration": 0.0005091605708003044, "outcome": "passed"}, "teardown": {"duration": 0.00011112913489341736, "outcome": "passed"}}, {"nodeid": "tests/test_utils_dbusnotify.py::test_notify_and_close", "lineno": 72, "outcome": "passed", "keywords": ["test_notify_and_close", "test_utils_dbusnotify.py", "tests", "slic", ""], "setup": {"duration": 0.0001364573836326599, "outcome": "passed"}, "call": {"duration": 0.20479927957057953, "outcome": "passed"}, "teardown": {"duration": 0.0001926301047205925, "outcome": "passed"}}, {"nodeid": "tests/test_utils_dbusnotify.py::test_notify_invalid_value", "lineno": 82, "outcome": "passed", "keywords": ["test_notify_invalid_value", "test_utils_dbusnotify.py", "tests", "slic", ""], "setup": {"duration": 0.00017177965492010117, "outcome": "passed"}, "call": {"duration": 0.0007711350917816162, "outcome": "passed", "log": [{"name": "dbus.connection", "msg": "Unable to set arguments ('', 0, '', 'Invalid Test', 1234, (), {}, 0) according to signature 'susssasa{sv}i': <class 'TypeError'>: Expected a string or unicode object", "args": null, "levelname": "ERROR", "levelno": 40, "pathname": "/workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/dbus/connection.py", "filename": "connection.py", "module": "connection", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 628, "funcName": "call_blocking", "created": 1756133776.5750947, "msecs": 575.0946998596191, "relativeCreated": 4785.06326675415, "thread": 139986524616192, "threadName": "MainThread", "processName": "MainProcess", "process": 3214}]}, "teardown": {"duration": 0.00014100223779678345, "outcome": "passed"}}, {"nodeid": "tests/test_utils_dbusnotify.py::test_convert_dbus_strings", "lineno": 88, "outcome": "passed", "keywords": ["test_convert_dbus_strings", "test_utils_dbusnotify.py", "tests", "slic", ""], "setup": {"duration": 0.0001198742538690567, "outcome": "passed"}, "call": {"duration": 0.00018846429884433746, "outcome": "passed"}, "teardown": {"duration": 0.00016782432794570923, "outcome": "passed"}}], "warnings": [{"message": "invalid escape sequence \\-", "category": "DeprecationWarning", "when": "runtest", "filename": "/workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/bsreaLine truncated
+7 -27
View File
@@ -1,50 +1,30 @@
[
{
"nodeid": "tests/test_utils_hastepics.py::test_get_pv_connect_false_and_true",
"nodeid": "tests/test_utils_dbusnotify.py::test_notify_create",
"callspec": null
},
{
"nodeid": "tests/test_utils_hastepics.py::test_motor_init_strips_suffixes",
"nodeid": "tests/test_utils_dbusnotify.py::test_notify_update",
"callspec": null
},
{
"nodeid": "tests/test_utils_hastepics.py::test_motor_invalid_name_raises",
"nodeid": "tests/test_utils_dbusnotify.py::test_get_server_info",
"callspec": null
},
{
"nodeid": "tests/test_utils_hastepics.py::test_disabled_removed_relative_to_upstream",
"nodeid": "tests/test_utils_dbusnotify.py::test_get_capabilities",
"callspec": null
},
{
"nodeid": "tests/test_utils_hastepics.py::test_motor_init_list_and_extras_build_handles_eagerly",
"nodeid": "tests/test_utils_dbusnotify.py::test_notify_and_close",
"callspec": null
},
{
"nodeid": "tests/test_utils_hastepics.py::test_motor_val_connect_via_cache",
"nodeid": "tests/test_utils_dbusnotify.py::test_notify_invalid_value",
"callspec": null
},
{
"nodeid": "tests/test_utils_hastepics.py::test_speedup_get_pv",
"callspec": null
},
{
"nodeid": "tests/test_utils_hastepics.py::test_speedup_motor_instantiation",
"callspec": null
},
{
"nodeid": "tests/test_utils_hastepics.py::test_speedup_motor_PV",
"callspec": null
},
{
"nodeid": "tests/test_utils_hastepics.py::test_motor_init_list_attrs_created",
"callspec": null
},
{
"nodeid": "tests/test_utils_hastepics.py::test_motor_extras_attrs_correct",
"callspec": null
},
{
"nodeid": "tests/test_utils_hastepics.py::test_motor_callbacks_empty",
"nodeid": "tests/test_utils_dbusnotify.py::test_convert_dbus_strings",
"callspec": null
}
]