Skip to content

FileNotFoundError in test_bundle_trt_export #8354

@KumoLiu

Description

@KumoLiu
[2025-02-18T15:17:28.748Z] ======================================================================

[2025-02-18T15:17:28.748Z] ERROR: test_onnx_trt_export_0_fp32 (tests.bundle.test_bundle_trt_export.TestTRTExport)

[2025-02-18T15:17:28.748Z] ----------------------------------------------------------------------

[2025-02-18T15:17:28.748Z] Traceback (most recent call last):

[2025-02-18T15:17:28.748Z]   File "/usr/local/lib/python3.10/dist-packages/parameterized/parameterized.py", line 620, in standalone_func

[2025-02-18T15:17:28.748Z]     return func(*(a + p.args), **p.kwargs, **kw)

[2025-02-18T15:17:28.748Z]   File "/home/jenkins/agent/workspace/Monai-latest-image/tests/bundle/test_bundle_trt_export.py", line 123, in test_onnx_trt_export

[2025-02-18T15:17:28.748Z]     parser.read_config(config_file)

[2025-02-18T15:17:28.748Z]   File "/home/jenkins/agent/workspace/Monai-latest-image/monai/bundle/config_parser.py", line 319, in read_config

[2025-02-18T15:17:28.748Z]     content.update(self.load_config_files(f, **kwargs))

[2025-02-18T15:17:28.748Z]   File "/home/jenkins/agent/workspace/Monai-latest-image/monai/bundle/config_parser.py", line 426, in load_config_files

[2025-02-18T15:17:28.748Z]     config_dict = cls.load_config_file(i, **kwargs)

[2025-02-18T15:17:28.748Z]   File "/home/jenkins/agent/workspace/Monai-latest-image/monai/bundle/config_parser.py", line 398, in load_config_file

[2025-02-18T15:17:28.748Z]     with open(_filepath) as f:

[2025-02-18T15:17:28.748Z] FileNotFoundError: [Errno 2] No such file or directory: '/home/jenkins/agent/workspace/Monai-latest-image/tests/bundle/testing_data/inference.json'

[2025-02-18T15:17:28.748Z] 

[2025-02-18T15:17:28.748Z] ======================================================================

[2025-02-18T15:17:28.748Z] ERROR: test_onnx_trt_export_1_fp16 (tests.bundle.test_bundle_trt_export.TestTRTExport)

[2025-02-18T15:17:28.748Z] ----------------------------------------------------------------------

[2025-02-18T15:17:28.748Z] Traceback (most recent call last):

[2025-02-18T15:17:28.748Z]   File "/usr/local/lib/python3.10/dist-packages/parameterized/parameterized.py", line 620, in standalone_func

[2025-02-18T15:17:28.748Z]     return func(*(a + p.args), **p.kwargs, **kw)

[2025-02-18T15:17:28.748Z]   File "/home/jenkins/agent/workspace/Monai-latest-image/tests/bundle/test_bundle_trt_export.py", line 123, in test_onnx_trt_export

[2025-02-18T15:17:28.748Z]     parser.read_config(config_file)

[2025-02-18T15:17:28.748Z]   File "/home/jenkins/agent/workspace/Monai-latest-image/monai/bundle/config_parser.py", line 319, in read_config

[2025-02-18T15:17:28.748Z]     content.update(self.load_config_files(f, **kwargs))

[2025-02-18T15:17:28.748Z]   File "/home/jenkins/agent/workspace/Monai-latest-image/monai/bundle/config_parser.py", line 426, in load_config_files

[2025-02-18T15:17:28.748Z]     config_dict = cls.load_config_file(i, **kwargs)

[2025-02-18T15:17:28.748Z]   File "/home/jenkins/agent/workspace/Monai-latest-image/monai/bundle/config_parser.py", line 398, in load_config_file

[2025-02-18T15:17:28.748Z]     with open(_filepath) as f:

[2025-02-18T15:17:28.748Z] FileNotFoundError: [Errno 2] No such file or directory: '/home/jenkins/agent/workspace/Monai-latest-image/tests/bundle/testing_data/inference.json'

[2025-02-18T15:17:28.748Z] 

[2025-02-18T15:17:28.748Z] ======================================================================

[2025-02-18T15:17:28.748Z] ERROR: test_trt_export_0_fp32 (tests.bundle.test_bundle_trt_export.TestTRTExport)

[2025-02-18T15:17:28.748Z] ----------------------------------------------------------------------

[2025-02-18T15:17:28.748Z] Traceback (most recent call last):

[2025-02-18T15:17:28.748Z]   File "/usr/local/lib/python3.10/dist-packages/parameterized/parameterized.py", line 620, in standalone_func

[2025-02-18T15:17:28.748Z]     return func(*(a + p.args), **p.kwargs, **kw)

[2025-02-18T15:17:28.748Z]   File "/home/jenkins/agent/workspace/Monai-latest-image/tests/bundle/test_bundle_trt_export.py", line 85, in test_trt_export

[2025-02-18T15:17:28.748Z]     parser.read_config(config_file)

[2025-02-18T15:17:28.748Z]   File "/home/jenkins/agent/workspace/Monai-latest-image/monai/bundle/config_parser.py", line 319, in read_config

[2025-02-18T15:17:28.748Z]     content.update(self.load_config_files(f, **kwargs))

[2025-02-18T15:17:28.748Z]   File "/home/jenkins/agent/workspace/Monai-latest-image/monai/bundle/config_parser.py", line 426, in load_config_files

[2025-02-18T15:17:28.748Z]     config_dict = cls.load_config_file(i, **kwargs)

[2025-02-18T15:17:28.748Z]   File "/home/jenkins/agent/workspace/Monai-latest-image/monai/bundle/config_parser.py", line 398, in load_config_file

[2025-02-18T15:17:28.748Z]     with open(_filepath) as f:

[2025-02-18T15:17:28.748Z] FileNotFoundError: [Errno 2] No such file or directory: '/home/jenkins/agent/workspace/Monai-latest-image/tests/bundle/testing_data/inference.json'

[2025-02-18T15:17:28.748Z] 

[2025-02-18T15:17:28.748Z] ======================================================================

[2025-02-18T15:17:28.748Z] ERROR: test_trt_export_1_fp16 (tests.bundle.test_bundle_trt_export.TestTRTExport)

[2025-02-18T15:17:28.748Z] ----------------------------------------------------------------------

[2025-02-18T15:17:28.748Z] Traceback (most recent call last):

[2025-02-18T15:17:28.748Z]   File "/usr/local/lib/python3.10/dist-packages/parameterized/parameterized.py", line 620, in standalone_func

[2025-02-18T15:17:28.748Z]     return func(*(a + p.args), **p.kwargs, **kw)

[2025-02-18T15:17:28.748Z]   File "/home/jenkins/agent/workspace/Monai-latest-image/tests/bundle/test_bundle_trt_export.py", line 85, in test_trt_export

[2025-02-18T15:17:28.748Z]     parser.read_config(config_file)

[2025-02-18T15:17:28.748Z]   File "/home/jenkins/agent/workspace/Monai-latest-image/monai/bundle/config_parser.py", line 319, in read_config

[2025-02-18T15:17:28.748Z]     content.update(self.load_config_files(f, **kwargs))

[2025-02-18T15:17:28.748Z]   File "/home/jenkins/agent/workspace/Monai-latest-image/monai/bundle/config_parser.py", line 426, in load_config_files

[2025-02-18T15:17:28.748Z]     config_dict = cls.load_config_file(i, **kwargs)

[2025-02-18T15:17:28.748Z]   File "/home/jenkins/agent/workspace/Monai-latest-image/monai/bundle/config_parser.py", line 398, in load_config_file

[2025-02-18T15:17:28.748Z]     with open(_filepath) as f:

[2025-02-18T15:17:28.748Z] FileNotFoundError: [Errno 2] No such file or directory: '/home/jenkins/agent/workspace/Monai-latest-image/tests/bundle/testing_data/inference.json'

[2025-02-18T15:17:28.748Z] 

[2025-02-18T15:17:28.748Z] ======================================================================

[2025-02-18T15:17:28.748Z] ERROR: test_trt_export_2_fp32 (tests.bundle.test_bundle_trt_export.TestTRTExport)

[2025-02-18T15:17:28.748Z] ----------------------------------------------------------------------

[2025-02-18T15:17:28.748Z] Traceback (most recent call last):

[2025-02-18T15:17:28.748Z]   File "/usr/local/lib/python3.10/dist-packages/parameterized/parameterized.py", line 620, in standalone_func

[2025-02-18T15:17:28.748Z]     return func(*(a + p.args), **p.kwargs, **kw)

[2025-02-18T15:17:28.748Z]   File "/home/jenkins/agent/workspace/Monai-latest-image/tests/bundle/test_bundle_trt_export.py", line 85, in test_trt_export

[2025-02-18T15:17:28.748Z]     parser.read_config(config_file)

[2025-02-18T15:17:28.748Z]   File "/home/jenkins/agent/workspace/Monai-latest-image/monai/bundle/config_parser.py", line 319, in read_config

[2025-02-18T15:17:28.748Z]     content.update(self.load_config_files(f, **kwargs))

[2025-02-18T15:17:28.748Z]   File "/home/jenkins/agent/workspace/Monai-latest-image/monai/bundle/config_parser.py", line 426, in load_config_files

[2025-02-18T15:17:28.748Z]     config_dict = cls.load_config_file(i, **kwargs)

[2025-02-18T15:17:28.748Z]   File "/home/jenkins/agent/workspace/Monai-latest-image/monai/bundle/config_parser.py", line 398, in load_config_file

[2025-02-18T15:17:28.749Z]     with open(_filepath) as f:

[2025-02-18T15:17:28.749Z] FileNotFoundError: [Errno 2] No such file or directory: '/home/jenkins/agent/workspace/Monai-latest-image/tests/bundle/testing_data/inference.json'

[2025-02-18T15:17:28.749Z] 

[2025-02-18T15:17:28.749Z] ======================================================================

[2025-02-18T15:17:28.749Z] ERROR: test_trt_export_3_fp16 (tests.bundle.test_bundle_trt_export.TestTRTExport)

[2025-02-18T15:17:28.749Z] ----------------------------------------------------------------------

[2025-02-18T15:17:28.749Z] Traceback (most recent call last):

[2025-02-18T15:17:28.749Z]   File "/usr/local/lib/python3.10/dist-packages/parameterized/parameterized.py", line 620, in standalone_func

[2025-02-18T15:17:28.749Z]     return func(*(a + p.args), **p.kwargs, **kw)

[2025-02-18T15:17:28.749Z]   File "/home/jenkins/agent/workspace/Monai-latest-image/tests/bundle/test_bundle_trt_export.py", line 85, in test_trt_export

[2025-02-18T15:17:28.749Z]     parser.read_config(config_file)

[2025-02-18T15:17:28.749Z]   File "/home/jenkins/agent/workspace/Monai-latest-image/monai/bundle/config_parser.py", line 319, in read_config

[2025-02-18T15:17:28.749Z]     content.update(self.load_config_files(f, **kwargs))

[2025-02-18T15:17:28.749Z]   File "/home/jenkins/agent/workspace/Monai-latest-image/monai/bundle/config_parser.py", line 426, in load_config_files

[2025-02-18T15:17:28.749Z]     config_dict = cls.load_config_file(i, **kwargs)

[2025-02-18T15:17:28.749Z]   File "/home/jenkins/agent/workspace/Monai-latest-image/monai/bundle/config_parser.py", line 398, in load_config_file

[2025-02-18T15:17:28.749Z]     with open(_filepath) as f:

[2025-02-18T15:17:28.749Z] FileNotFoundError: [Errno 2] No such file or directory: '/home/jenkins/agent/workspace/Monai-latest-image/tests/bundle/testing_data/inference.json'

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions