Skip to content

Test failed when building wheel #1203

Description

@luvclear

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions