ec718/ec_fullsdk/PLAT/testscript/script/opentest/alluredata/0e256b17-54bb-4482-a880-a1d1edd8c2ef-result.json

1 line
2.2 KiB
JSON
Raw Permalink Normal View History

2025-04-10 17:31:33 +08:00
{"name": "test9", "status": "broken", "statusDetails": {"message": "serial.serialutil.SerialException: Port is already open.", "trace": "def test9():\n cmd_json = {\"name\":\"systestFlashLfs\",\"param1\":param1_list[3],\"param2\":param2_list[1],\"param3\":\"0\"}\n print_log('Run test9 -- External Flash LFS\\r\\n')\n \n> if run_test(cmd_json, retry_times) == 0:\n\ntestsys\\test_flash_lfs.py:213: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \ntestsys\\test_flash_lfs.py:85: in run_test\n if exe_test(cmd_str.encode('ascii')) == 0:\ntestsys\\test_flash_lfs.py:54: in exe_test\n ser.open()\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = Serial<id=0x1b9ca8a7040, open=True>(port='COM25', baudrate=115200, bytesize=8, parity='N', stopbits=1, timeout=1, xonxoff=False, rtscts=1, dsrdtr=False)\n\n def open(self):\n \"\"\"\\\n Open port with current settings. This may throw a SerialException\n if the port cannot be opened.\n \"\"\"\n if self._port is None:\n raise SerialException(\"Port must be configured before it can be used.\")\n if self.is_open:\n> raise SerialException(\"Port is already open.\")\nE serial.serialutil.SerialException: Port is already open.\n\nC:\\Users\\ec-users\\AppData\\Local\\Programs\\Python\\Python39\\lib\\site-packages\\serial\\serialwin32.py:43: SerialException"}, "start": 1682336218151, "stop": 1682336218151, "uuid": "ec7d7dd8-f476-4ffa-9cc6-88c77ac22fbe", "historyId": "a95209c4f743046747510f884ade34ad", "testCaseId": "8e5da62f02c0d181685ef7d2904935b6", "fullName": "testsys.test_flash_lfs#test9", "labels": [{"name": "parentSuite", "value": "testsys"}, {"name": "suite", "value": "test_flash_lfs"}, {"name": "host", "value": "ec-lt-pzhi"}, {"name": "thread", "value": "21872-MainThread"}, {"name": "framework", "value": "pytest"}, {"name": "language", "value": "cpython3"}, {"name": "package", "value": "testsys.test_flash_lfs"}]}