tests\e2e\test_inspect_e2e.py:122: in test_bert_feature_extraction_json
data = _run_json("--model-type", "bert", "-t", "feature-extraction")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests\e2e\test_inspect_e2e.py:66: in _run_json
return json.loads(result.output)
^^^^^^^^^^^^^^^^^^^^^^^^^
..\..\AppData\Roaming\uv\python\cpython-3.11.14-windows-x86_64-none\Lib\json\__init__.py:346: in loads
return _default_decoder.decode(s)
^^^^^^^^^^^^^^^^^^^^^^^^^^
..\..\AppData\Roaming\uv\python\cpython-3.11.14-windows-x86_64-none\Lib\json\decoder.py:337: in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..\..\AppData\Roaming\uv\python\cpython-3.11.14-windows-x86_64-none\Lib\json\decoder.py:355: in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
E json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
test_inspect_e2e.py— e2e test failuresStatus: 20 failed · 0 errors · 2 passed · 0 skipped · 22 total
Source:
tests/e2e/test_inspect_e2e.pyHow to reproduce locally:
Failing tests
1.
TestInspectModelTypeOnly::test_bert_default_task_jsontests/e2e/test_inspect_e2e.py::TestInspectModelTypeOnly::test_bert_default_task_jsonjson.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)Traceback excerpt
2.
TestInspectModelTypeOnly::test_bert_feature_extraction_jsontests/e2e/test_inspect_e2e.py::TestInspectModelTypeOnly::test_bert_feature_extraction_jsonjson.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)Traceback excerpt
3.
TestInspectModelTypeOnly::test_resnet_default_task_jsontests/e2e/test_inspect_e2e.py::TestInspectModelTypeOnly::test_resnet_default_task_jsonjson.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)Traceback excerpt
4.
TestInspectModelTypeOnly::test_model_class_bert_for_masked_lmtests/e2e/test_inspect_e2e.py::TestInspectModelTypeOnly::test_model_class_bert_for_masked_lmjson.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)Traceback excerpt
5.
TestInspectModelTypeOnly::test_verbose_flag_acceptedtests/e2e/test_inspect_e2e.py::TestInspectModelTypeOnly::test_verbose_flag_acceptedjson.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)Traceback excerpt
6.
TestInspectModelTypeOnly::test_short_verbose_flag_acceptedtests/e2e/test_inspect_e2e.py::TestInspectModelTypeOnly::test_short_verbose_flag_acceptedjson.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)Traceback excerpt
7.
TestInspectModelTypeOnly::test_json_output_contains_all_top_level_keystests/e2e/test_inspect_e2e.py::TestInspectModelTypeOnly::test_json_output_contains_all_top_level_keysjson.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)Traceback excerpt
8.
TestInspectModelTypeOnly::test_loader_section_structuretests/e2e/test_inspect_e2e.py::TestInspectModelTypeOnly::test_loader_section_structurejson.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)Traceback excerpt
9.
TestInspectModelTypeOnly::test_exporter_section_structuretests/e2e/test_inspect_e2e.py::TestInspectModelTypeOnly::test_exporter_section_structurejson.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)Traceback excerpt
10.
TestInspectModelTypeOnly::test_winml_section_structuretests/e2e/test_inspect_e2e.py::TestInspectModelTypeOnly::test_winml_section_structurejson.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)Traceback excerpt
11.
TestInspectModelTypeOnly::test_hierarchy_flag_accepted_without_modeltests/e2e/test_inspect_e2e.py::TestInspectModelTypeOnly::test_hierarchy_flag_accepted_without_modeljson.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)Traceback excerpt
12.
TestInspectBert::test_auto_detect_fill_masktests/e2e/test_inspect_e2e.py::TestInspectBert::test_auto_detect_fill_maskjson.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)Traceback excerpt
13.
TestInspectBert::test_feature_extractiontests/e2e/test_inspect_e2e.py::TestInspectBert::test_feature_extractionjson.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)Traceback excerpt
14.
TestInspectBert::test_next_sentence_predictiontests/e2e/test_inspect_e2e.py::TestInspectBert::test_next_sentence_predictionjson.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)Traceback excerpt
15.
TestInspectVision::test_auto_detect_image_classification[resnet]tests/e2e/test_inspect_e2e.py::TestInspectVision::test_auto_detect_image_classification[resnet]json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)Traceback excerpt
16.
TestInspectVision::test_auto_detect_image_classification[convnext]tests/e2e/test_inspect_e2e.py::TestInspectVision::test_auto_detect_image_classification[convnext]json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)Traceback excerpt
17.
TestInspectVision::test_auto_detect_image_classification[vit]tests/e2e/test_inspect_e2e.py::TestInspectVision::test_auto_detect_image_classification[vit]json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)Traceback excerpt
18.
TestInspectCLIP::test_auto_detect_feature_extractiontests/e2e/test_inspect_e2e.py::TestInspectCLIP::test_auto_detect_feature_extractionjson.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)Traceback excerpt
19.
TestInspectCLIP::test_image_feature_extractiontests/e2e/test_inspect_e2e.py::TestInspectCLIP::test_image_feature_extractionjson.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)Traceback excerpt
20.
TestInspectDETR::test_auto_detect_object_detectiontests/e2e/test_inspect_e2e.py::TestInspectDETR::test_auto_detect_object_detectionjson.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)Traceback excerpt