-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Test failed when building wheel #1203
Comments
is the test failing consistently or it's an intermittent failure? ./build.sh --config RelWithDebInfo --build_wheel --update --build |
the test failed intermittently |
It should work. Which test in onnxruntime_test_all fails and why? You'd have to scroll back up in the test output to find the information. |
it did not show the reason for the failure |
I believe that test fails due to missing locale on your system. From the System Requirements section in https://github.com/microsoft/onnxruntime/blob/master/README.md Certain operators makes use of system locales. At the very least you will need to install English language package and configure en_US.UTF-8 locale. |
ok i'll try ,thanks |
@luvclear were you able to resolve this? |
@luvclear did you try setting the locale as commented before? |
Closing the issue. Please reactivate if issue still persists. |
Ok i was able to build onnxruntime with the comment like ./build.sh --use_cuda --cudnn_home /usr --cuda_home /usr/local/cuda --use_tensorrt --tensorrt_home /usr/lib/x86_64-linux-gnu/ --update --build it works with --update --build but without it am getting this kind of error |
it works with apt-get install language-pack-en on ubuntu 18.04 |
It works like a charm. I install it inside a docker container. |
亲测有效,大家可以试试 |
I met a problem when running ./build.sh --config RelWithDebInfo --build_wheel
result:
3: Models: 35
3: Total test cases: 35
3: Succeeded: 24
3: Not implemented: 0
3: Failed: 11
3: Other reason:11
3: Stats by Operator type:
3: Not implemented(0):
3: Failed:
3: Failed Test Cases:
3/3 Test #3: onnx_test_pytorch_operator ....... Passed 0.33 sec
67% tests passed, 1 tests failed out of 3
Total Test time (real) = 17.44 sec
The following tests FAILED:
1 - onnxruntime_test_all (Failed)
Errors while running CTest
Traceback (most recent call last):
File "/home/onnxruntime/tools/ci_build/build.py", line 863, in
sys.exit(main())
File "/home/onnxruntime/tools/ci_build/build.py", line 820, in main
args.use_tvm, args.use_tensorrt, args.use_ngraph)
File "/home/onnxruntime/tools/ci_build/build.py", line 519, in run_onnxruntime_tests
cwd=cwd, dll_path=dll_path)
File "/home/onnxruntime/tools/ci_build/build.py", line 179, in run_subprocess
return subprocess.run(args, cwd=cwd, check=True, stdout=stdout, stderr=stderr, env=my_env, shell=shell)
File "/usr/lib/python3.5/subprocess.py", line 708, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['/usr/local/bin/ctest', '--build-config', 'RelWithDebInfo', '--verbose']' returned non-zero exit status 8
so how can i deal with it?
The text was updated successfully, but these errors were encountered: