Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Tests] 1 test fails: OptimizerInitializerTest.LoadExternalData: it throws a different type. #23816

Open
yurivict opened this issue Feb 26, 2025 · 1 comment

Comments

@yurivict
Copy link
Contributor

Describe the issue

[ RUN      ] OptimizerInitializerTest.LoadExternalData
/usr/ports/misc/onnxruntime/work/onnxruntime-1.20.2/onnxruntime/test/optimizer/initializer_test.cc:99: Failure
Expected: Initializer i(tensor_proto_base, "invalid/directory") throws an exception of type std::filesystem::filesystem_error.
  Actual: it throws a different type.

[  FAILED  ] OptimizerInitializerTest.LoadExternalData (0 ms)

Version: 1.20.2
python-3.11
FreeBSD 14.2

To reproduce

build + tests

Urgency

No response

Platform

Other / Unknown

OS Version

FreeBSD 14.2

ONNX Runtime Installation

Built from Source

ONNX Runtime Version or Commit ID

1.20.2

ONNX Runtime API

Python

Architecture

X64

Execution Provider

Default CPU

Execution Provider Library Version

No response

@skottmckay
Copy link
Contributor

The FreeBSD C++ standard library must do something different. If you can provide details of the actual exception thrown we could update the test.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants