Fix NuGet DLL Loading on Linux and macOS #10113
Annotations
8 warnings
|
Test ONNX Runtime (x64 / Release)
Wheel output directory /mnt/vss/_work/_temp/Release/dist does not exist.
|
|
Test ONNX Runtime (x64 / Release)
stderr: + PATH=/opt/python/cp310-cp310/bin:/usr/lib/jvm/msopenjdk-17/bin:/opt/rh/gcc-toolset-14/root/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
+ python3 -m pip install --user -r tools/ci_build/github/linux/python/requirements.txt
WARNING: The script isympy is installed in '/home/onnxruntimedev/.local/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
WARNING: The script pygmentize is installed in '/home/onnxruntimedev/.local/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
WARNING: The scripts f2py and numpy-config are installed in '/home/onnxruntimedev/.local/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
WARNING: The scripts dmypy, mypy, mypyc, stubgen and stubtest are installed in '/home/onnxruntimedev/.local/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
WARNING: The scripts py.test and pytest are installed in '/home/onnxruntimedev/.local/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
WARNING: The scripts backend-test-tools, check-model and check-node are installed in '/home/onnxruntimedev/.local/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
[notice] A new release of pip is available: 25.1.1 -> 26.0.1
[notice] To update, run: pip install --upgrade pip
+ python3 tools/ci_build/build.py --build_dir build/Release --config Release --cmake_generator Ninja --skip_submodule_sync --build_shared_lib --parallel --use_vcpkg --use_vcpkg_ms_internal_asset_cache --enable_onnx_tests --use_binskim_compliant_compile_flags --build_wheel --build_nuget --enable_transformers_tool_test --cmake_extra_defines onnxruntime_BUILD_BENCHMARKS=ON --test
2026-02-12 06:43:47,576 build [DEBUG] - Command line arguments:
--build_dir build/Release --config Release --cmake_generator Ninja --skip_submodule_sync --build_shared_lib --parallel --use_vcpkg --use_vcpkg_ms_internal_asset_cache --enable_onnx_tests --use_binskim_compliant_compile_flags --build_wheel --build_nuget --enable_transformers_tool_test --cmake_extra_defines onnxruntime_BUILD_BENCHMARKS=ON --test
2026-02-12 06:43:47,579 build [INFO] - Build started
2026-02-12 06:43:47,579 build [DEBUG] - create symlink /data/models -> build/Release/models
2026-02-12 06:43:47,579 build [INFO] - Running tests for Release configuration
2026-02-12 06:43:47,579 build [INFO] - /usr/bin/ctest --build-config Release --verbose --timeout 10800
2026-02-12 06:55:13,064 build [INFO] - /opt/python/cp310-cp310/bin/python3 -m pip install torch==2.8.0 torchvision==0.23.0 --index-url https://download.pytorch.org/whl/cpu
WARNING: The scripts torchfrtrace and torchrun are installed in '/home/onnxruntimedev/.local/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
[notice] A new release of pip is available: 25.1.1 -> 26.0.1
[notice] To update, run: pip install --upgrade pip
2026-02-12 06:55:30,393 build [INFO] - /opt/python/cp310-cp310/bin/python3 onnxruntime_test_python.py
2026-02-12 06:55:30.735240383 [W:onnxruntime:Default, device_discovery.cc:131 GetPciBusId] Skipping pci_bus_id for PCI path at "/sys/devices/LNXSYSTM:00/LNXSYBUS:00/ACPI0004:00/MSFT1000:00/5620e0c7-8062-4dce-aeb7-520c7ef76171" because filename ""5620e0c7-8062-4dce-aeb7-520c7ef76171"" dit not match expected pattern of [0-9a-f]+:[0-9a-f]+:[0-9a-f]+[.][0-9a-f]+�[m
................./onnxruntime_src/build/Release/Release/onnxruntime/capi/onnxruntime_inference_collection.py:123: UserWarning: Specified provider 'InvalidProvider' is not in available provider nam
|
|
Build ONNX Runtime (x64 / Release)
Wheel output directory /mnt/vss/_work/_temp/Release/dist does not exist.
|
|
Build ONNX Runtime (x64 / Release)
stderr: + PATH=/opt/python/cp310-cp310/bin:/usr/lib/jvm/msopenjdk-17/bin:/opt/rh/gcc-toolset-14/root/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
+ python3 -m pip install --user -r tools/ci_build/github/linux/python/requirements.txt
WARNING: The script isympy is installed in '/home/onnxruntimedev/.local/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
WARNING: The script pygmentize is installed in '/home/onnxruntimedev/.local/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
WARNING: The scripts f2py and numpy-config are installed in '/home/onnxruntimedev/.local/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
WARNING: The scripts dmypy, mypy, mypyc, stubgen and stubtest are installed in '/home/onnxruntimedev/.local/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
WARNING: The scripts py.test and pytest are installed in '/home/onnxruntimedev/.local/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
WARNING: The scripts backend-test-tools, check-model and check-node are installed in '/home/onnxruntimedev/.local/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
[notice] A new release of pip is available: 25.1.1 -> 26.0.1
[notice] To update, run: pip install --upgrade pip
+ python3 tools/ci_build/build.py --build_dir build/Release --config Release --cmake_generator Ninja --skip_submodule_sync --build_shared_lib --parallel --use_vcpkg --use_vcpkg_ms_internal_asset_cache --enable_onnx_tests --use_binskim_compliant_compile_flags --build_wheel --build_nuget --enable_transformers_tool_test --cmake_extra_defines onnxruntime_BUILD_BENCHMARKS=ON --build
2026-02-12 06:35:02,014 build [DEBUG] - Command line arguments:
--build_dir build/Release --config Release --cmake_generator Ninja --skip_submodule_sync --build_shared_lib --parallel --use_vcpkg --use_vcpkg_ms_internal_asset_cache --enable_onnx_tests --use_binskim_compliant_compile_flags --build_wheel --build_nuget --enable_transformers_tool_test --cmake_extra_defines onnxruntime_BUILD_BENCHMARKS=ON --build
2026-02-12 06:35:02,017 build [INFO] - Build started
2026-02-12 06:35:02,017 build [INFO] - Building targets for Release configuration
2026-02-12 06:35:02,017 build [INFO] - /usr/bin/cmake --build build/Release/Release --config Release -- -j16
2026-02-12 06:43:03,998 build [INFO] - /opt/python/cp310-cp310/bin/python3 /onnxruntime_src/setup.py bdist_wheel --nightly_build
/opt/python/cp310-cp310/lib/python3.10/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!
********************************************************************************
Please consider removing the following classifiers in favor of a SPDX license expression:
License :: OSI Approved :: MIT License
See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
********************************************************************************
!!
self._finalize_license_expression()
/opt/python/cp310-cp310/lib/python3.10/site-packages/setuptools/_distutils/cmd.py:90: SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!
********************************************************************************
Please avoid running ``setup.py`` directly.
Instead, use pypa/build, pypa/installer or other
standards-based tools.
This deprecation is overdue, please update your project and remove deprecated
calls to avoid build errors in the future.
|
|
Generate Build Files (CMake) (x64 / Release)
Wheel output directory /mnt/vss/_work/_temp/Release/dist does not exist.
|
|
Generate Build Files (CMake) (x64 / Release)
stderr: + PATH=/opt/python/cp310-cp310/bin:/usr/lib/jvm/msopenjdk-17/bin:/opt/rh/gcc-toolset-14/root/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
+ python3 -m pip install --user -r tools/ci_build/github/linux/python/requirements.txt
WARNING: The script isympy is installed in '/home/onnxruntimedev/.local/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
WARNING: The script pygmentize is installed in '/home/onnxruntimedev/.local/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
WARNING: The scripts f2py and numpy-config are installed in '/home/onnxruntimedev/.local/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
WARNING: The scripts dmypy, mypy, mypyc, stubgen and stubtest are installed in '/home/onnxruntimedev/.local/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
WARNING: The scripts py.test and pytest are installed in '/home/onnxruntimedev/.local/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
WARNING: The scripts backend-test-tools, check-model and check-node are installed in '/home/onnxruntimedev/.local/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
[notice] A new release of pip is available: 25.1.1 -> 26.0.1
[notice] To update, run: pip install --upgrade pip
+ python3 tools/ci_build/build.py --build_dir build/Release --config Release --cmake_generator Ninja --skip_submodule_sync --build_shared_lib --parallel --use_vcpkg --use_vcpkg_ms_internal_asset_cache --enable_onnx_tests --use_binskim_compliant_compile_flags --build_wheel --build_nuget --enable_transformers_tool_test --cmake_extra_defines onnxruntime_BUILD_BENCHMARKS=ON --update
2026-02-12 06:30:28,531 build [DEBUG] - Command line arguments:
--build_dir build/Release --config Release --cmake_generator Ninja --skip_submodule_sync --build_shared_lib --parallel --use_vcpkg --use_vcpkg_ms_internal_asset_cache --enable_onnx_tests --use_binskim_compliant_compile_flags --build_wheel --build_nuget --enable_transformers_tool_test --cmake_extra_defines onnxruntime_BUILD_BENCHMARKS=ON --update
2026-02-12 06:30:28,535 build [INFO] - Build started
2026-02-12 06:30:28,535 build [INFO] - Generating CMake build tree
2026-02-12 06:30:28,547 build [INFO] - /usr/bin/cmake /onnxruntime_src/cmake -Donnxruntime_ENABLE_EXTERNAL_CUSTOM_OP_SCHEMAS=OFF -Donnxruntime_RUN_ONNX_TESTS=ON -Donnxruntime_GENERATE_TEST_REPORTS=ON -DPython_EXECUTABLE=/opt/python/cp310-cp310/bin/python3 -Donnxruntime_USE_VCPKG=ON -Donnxruntime_USE_MIMALLOC=OFF -Donnxruntime_ENABLE_PYTHON=ON -Donnxruntime_BUILD_CSHARP=OFF -Donnxruntime_BUILD_JAVA=OFF -Donnxruntime_BUILD_NODEJS=OFF -Donnxruntime_BUILD_OBJC=OFF -Donnxruntime_BUILD_SHARED_LIB=ON -Donnxruntime_BUILD_APPLE_FRAMEWORK=OFF -Donnxruntime_USE_DNNL=OFF -Donnxruntime_USE_NNAPI_BUILTIN=OFF -Donnxruntime_USE_VSINPU=OFF -Donnxruntime_USE_RKNPU=OFF -Donnxruntime_ENABLE_MICROSOFT_INTERNAL=OFF -Donnxruntime_USE_VITISAI=OFF -Donnxruntime_USE_TENSORRT=OFF -Donnxruntime_USE_NV=OFF -Donnxruntime_USE_TENSORRT_BUILTIN_PARSER=ON -Donnxruntime_USE_TENSORRT_INTERFACE=OFF -Donnxruntime_USE_CUDA_INTERFACE=OFF -Donnxruntime_USE_NV_INTERFACE=OFF -Donnxruntime_USE_OPENVINO_INTERFACE=OFF -Donnxruntime_USE_VITISAI_INTERFACE=OFF -Donnxruntime_USE_QNN_INTERFACE=OFF -Donnxruntime_USE_MIGRAPHX_INTERFACE=OFF -Donnxruntime_USE_MIGRAPHX=OFF -Donnxruntime_DISABLE_CONTRIB_OPS=OFF -Donnxruntime_DISABLE_ML_OPS=OFF -Donnxruntime_DISABLE_RTTI=OFF -Donnxruntime_DISABLE_EXCEPTIONS=OFF -Donnxruntime_MINIMAL_BUILD=OFF -Donnxruntime_EXTENDED_MINIMAL_BUILD=OFF -Donnxruntime_MINIMAL_BUILD_CUSTOM_OPS=OFF -Don
|
|
Build Docker Image (x64 / Release)
stderr: #0 building with "default" instance using docker driver
#1 [internal] load build definition from Dockerfile.manylinux2_28_cpu
#1 transferring dockerfile: 614B done
#1 DONE 0.1s
#2 [auth] internal/azureml/onnxruntime/build/cpu_x64_almalinux8_gcc14:pull token for onnxruntimebuildcache.azurecr.io
#2 DONE 0.0s
#3 [internal] load metadata for onnxruntimebuildcache.azurecr.io/internal/azureml/onnxruntime/build/cpu_x64_almalinux8_gcc14:20251017.1
#3 DONE 1.4s
#4 [internal] load .dockerignore
#4 transferring context: 2B done
#4 DONE 0.1s
#5 [1/6] FROM onnxruntimebuildcache.azurecr.io/internal/azureml/onnxruntime/build/cpu_x64_almalinux8_gcc14:20251017.1@sha256:d30c11419e6295d495b3ea910aa8e0ad9acd314cb0ed4f0f77f39405f14ddf96
#5 resolve onnxruntimebuildcache.azurecr.io/internal/azureml/onnxruntime/build/cpu_x64_almalinux8_gcc14:20251017.1@sha256:d30c11419e6295d495b3ea910aa8e0ad9acd314cb0ed4f0f77f39405f14ddf96 0.1s done
#5 ...
#6 [internal] load build context
#6 transferring context: 31.83kB done
#6 DONE 0.2s
#5 [1/6] FROM onnxruntimebuildcache.azurecr.io/internal/azureml/onnxruntime/build/cpu_x64_almalinux8_gcc14:20251017.1@sha256:d30c11419e6295d495b3ea910aa8e0ad9acd314cb0ed4f0f77f39405f14ddf96
#5 DONE 3.4s
#5 [1/6] FROM onnxruntimebuildcache.azurecr.io/internal/azureml/onnxruntime/build/cpu_x64_almalinux8_gcc14:20251017.1@sha256:d30c11419e6295d495b3ea910aa8e0ad9acd314cb0ed4f0f77f39405f14ddf96
#5 sha256:f07eed239163d894d03958698ec3401b6a2a01d3a9156befdd5e32e3c71b382e 0B / 12.53MB 0.2s
#5 sha256:f07eed239163d894d03958698ec3401b6a2a01d3a9156befdd5e32e3c71b382e 3.15MB / 12.53MB 0.6s
#5 sha256:f07eed239163d894d03958698ec3401b6a2a01d3a9156befdd5e32e3c71b382e 6.29MB / 12.53MB 0.8s
#5 sha256:3546ab6de9757e5e3ea5e82074de3f37f2bf52c17613c0df12abee9ddd96a976 0B / 320B 0.2s
#5 sha256:f07eed239163d894d03958698ec3401b6a2a01d3a9156befdd5e32e3c71b382e 12.53MB / 12.53MB 0.9s
#5 sha256:3546ab6de9757e5e3ea5e82074de3f37f2bf52c17613c0df12abee9ddd96a976 320B / 320B 0.3s
#5 sha256:6cf3efaed31ff545958b1f67a35d393ce68cb854db06bc2cb9ea0b09fe8f43c2 0B / 12.13MB 0.2s
#5 sha256:0f96465b8e243530dfe8becb59e3c66cc4ef6557b1f78acf97941762a0d3cab8 0B / 311B 0.2s
#5 sha256:0f96465b8e243530dfe8becb59e3c66cc4ef6557b1f78acf97941762a0d3cab8 311B / 311B 0.3s
#5 sha256:6cf3efaed31ff545958b1f67a35d393ce68cb854db06bc2cb9ea0b09fe8f43c2 4.19MB / 12.13MB 0.9s
#5 sha256:6cf3efaed31ff545958b1f67a35d393ce68cb854db06bc2cb9ea0b09fe8f43c2 12.13MB / 12.13MB 1.1s
#5 sha256:f07eed239163d894d03958698ec3401b6a2a01d3a9156befdd5e32e3c71b382e 12.53MB / 12.53MB 6.0s
#5 sha256:3546ab6de9757e5e3ea5e82074de3f37f2bf52c17613c0df12abee9ddd96a976 320B / 320B 5.4s
#5 sha256:0f96465b8e243530dfe8becb59e3c66cc4ef6557b1f78acf97941762a0d3cab8 311B / 311B 5.4s
#5 sha256:6cf3efaed31ff545958b1f67a35d393ce68cb854db06bc2cb9ea0b09fe8f43c2 12.13MB / 12.13MB 6.2s
#5 sha256:6cf3efaed31ff545958b1f67a35d393ce68cb854db06bc2cb9ea0b09fe8f43c2 12.13MB / 12.13MB 10.0s done
#5 sha256:0f96465b8e243530dfe8becb59e3c66cc4ef6557b1f78acf97941762a0d3cab8 311B / 311B 10.1s done
#5 sha256:3466d6516bfa8906a9cc82d4b94c329055de272fa3c64bfc5d6df50b504c4f6d 0B / 341.57kB 0.2s
#5 sha256:3546ab6de9757e5e3ea5e82074de3f37f2bf52c17613c0df12abee9ddd96a976 320B / 320B 10.4s done
#5 sha256:3466d6516bfa8906a9cc82d4b94c329055de272fa3c64bfc5d6df50b504c4f6d 341.57kB / 341.57kB 0.5s
#5 sha256:632e9dbe0a66ef46fc0f506cf5b9fa90bd0718299dbfd3479e41bf11930195f7 0B / 56.55MB 0.2s
#5 sha256:841d37931aa9a8c7c917a6edd6ba71ddba311f63d26467157fa4a1179168a9ef 0B / 636B 0.2s
#5 sha256:841d37931aa9a8c7c917a6edd6ba71ddba311f63d26467157fa4a1179168a9ef 636B / 636B 0.3s
#5 sha256:f07eed239163d894d03958698ec3401b6a2a01d3a9156befdd5e32e3c71b382e 12.53MB / 12.53MB 11.3s done
#5 sha256:3466d6516bfa8906a9cc82d4b94c329055de272fa3c64bfc5d6df50b504c4f6d 341.57kB / 341.57kB 0.9s done
#5 sha256:37e00bd6a729c8ac4fd8c7aa4f7e71c131c87e2d4c4a7a05fb437c3ddba78395 0B / 105.50MB 0.2s
#5 sha256:632e9dbe0a66ef46fc0f506cf5b9fa90bd0718299dbfd3479e41bf11930195f7 8.39MB / 56.55MB 0.9s
#5 sha256:d1961fdfb05dd9c34c508139d3dd6a8a5656acb1639cc511e3bcbb35c8ac9397 0B / 767.94k
|
|
Build Docker Image (x64 / Release)
stderr: WARNING! Your credentials are stored unencrypted in '/home/cloudtest/.docker/config.json'.
Configure a credential helper to remove this warning. See
https://docs.docker.com/go/credential-store/
|
Loading