Skip to content

Add boundary checks and add tests for SparseTensorProtoToDenseTensorProto #9308

Add boundary checks and add tests for SparseTensorProtoToDenseTensorProto

Add boundary checks and add tests for SparseTensorProtoToDenseTensorProto #9308

Triggered via pull request February 12, 2026 18:58
Status Failure
Total duration 25m 36s
Artifacts

linux_openvino_ci.yml

on: pull_request
Build and Test OpenVINO EP (AlamLinux8, Py3.12)  /  build_test_pipeline
25m 11s
Build and Test OpenVINO EP (AlamLinux8, Py3.12) / build_test_pipeline
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 3 warnings
Build and Test OpenVINO EP (AlamLinux8, Py3.12) / build_test_pipeline
Action failed with error: Command "docker run --rm --volume /mnt/vss/_work/onnxruntime/onnxruntime:/onnxruntime_src --volume /mnt/vss/_work/_temp:/onnxruntime_src/build --volume /home/cloudtest/.cache:/home/onnxruntimedev/.cache --volume /data/onnx:/data/onnx:ro --volume /data/models:/data/models:ro --volume /home/cloudtest/.onnx:/home/onnxruntimedev/.onnx -w /onnxruntime_src -e ALLOW_RELEASED_ONNX_OPSET_ONLY=0 -e NIGHTLY_BUILD=1 -e RUNNER_TEMP=/onnxruntime_src/build ghcr.io/microsoft/onnxruntime/onnxruntimeopenvino:sha256-c11d7dfa0e6419726347657279eb2303b7c3aaeefe9b7f0e8c6a1167a55f9d47 /bin/bash -c set -ex; PATH=/opt/python/cp312-cp312/bin:$PATH && 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_openvino --use_openvino CPU --enable_generic_interface --build_shared_lib --test" failed with exit code 1
Build and Test OpenVINO EP (AlamLinux8, Py3.12) / build_test_pipeline
stderr: + PATH=/opt/python/cp312-cp312/bin:/opt/intel/openvino_2025.4.1/runtime/bin/intel64:/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 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_openvino --use_openvino CPU --enable_generic_interface --build_shared_lib --test 2026-02-12 19:13:06,485 tools_python_utils [INFO] - flatbuffers module is not installed. parse_config will not be available 2026-02-12 19:13:06,519 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_openvino --use_openvino CPU --enable_generic_interface --build_shared_lib --test 2026-02-12 19:13:06,522 build [INFO] - Build started 2026-02-12 19:13:06,522 build [DEBUG] - create symlink /data/models -> build/Release/models 2026-02-12 19:13:06,522 build [INFO] - Running tests for Release configuration 2026-02-12 19:13:06,522 build [INFO] - /usr/bin/ctest --build-config Release --verbose --timeout 10800 Errors while running CTest Output from these tests are in: /onnxruntime_src/build/Release/Release/Testing/Temporary/LastTest.log Use "--rerun-failed --output-on-failure" to re-run the failed cases verbosely. Traceback (most recent call last): File "/onnxruntime_src/tools/ci_build/build.py", line 2682, in <module> sys.exit(main()) ^^^^^^ File "/onnxruntime_src/tools/ci_build/build.py", line 2592, in main run_onnxruntime_tests(args, source_dir, ctest_path, build_dir, configs) File "/onnxruntime_src/tools/ci_build/build.py", line 1744, in run_onnxruntime_tests run_subprocess(ctest_cmd, cwd=cwd, dll_path=dll_path) File "/onnxruntime_src/tools/ci_build/build.py", line 148, in run_subprocess return run(*args, cwd=cwd, capture_stdout=capture_stdout, shell=shell, env=my_env) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/onnxruntime_src/tools/python/util/run.py", line 50, in run completed_process = subprocess.run( ^^^^^^^^^^^^^^^ File "/opt/python/cp312-cp312/lib/python3.12/subprocess.py", line 571, in run raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command '['/usr/bin/ctest', '--build-config', 'Release', '--verbose', '--timeout', '10800']' returned non-zero exit status 8.
Build and Test OpenVINO EP (AlamLinux8, Py3.12) / build_test_pipeline
stdout: UpdateCTestConfiguration from :/onnxruntime_src/build/Release/Release/DartConfiguration.tcl Test project /onnxruntime_src/build/Release/Release Constructing a list of tests Done constructing a list of tests Updating test list for fixtures Added 0 tests to meet fixture requirements Checking test dependency graph... Checking test dependency graph end test 1 Start 1: onnxruntime_test_all 1: Test command: /onnxruntime_src/build/Release/Release/onnxruntime_test_all "--gtest_output=xml:/onnxruntime_src/build/Release/Release/onnxruntime_test_all.Release.results.xml" 1: Working Directory: /onnxruntime_src/build/Release/Release 1: Test timeout computed to be: 10800 1: 2026-02-12 19:13:06.592051039 [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 1: [==========] Running 1283 tests from 115 test suites. 1: [----------] Global test environment set-up. 1: [----------] 1 test from DenormalTest 1: [ RUN ] DenormalTest.DenormalAsZeroTest 1: [ OK ] DenormalTest.DenormalAsZeroTest (0 ms) 1: [----------] 1 test from DenormalTest (0 ms total) 1: 1: [----------] 8 tests from LoggingTestsFixture 1: [ RUN ] LoggingTestsFixture.TestWhereMacro 1: TestBody 1: TestWhereMacro@2026-02-12 19:13:06.593316732 E:onnxruntime:/onnxruntime_src/onnxruntime/test/common/logging/logging_test.cc:85 TestBody Testing the WHERE macro. 1: [ OK ] LoggingTestsFixture.TestWhereMacro (0 ms) 1: [ RUN ] LoggingTestsFixture.TestDefaultFiltering 1: TestDefaultFiltering@2026-02-12 19:13:06.593347499 E:onnxruntime:/onnxruntime_src/onnxruntime/test/common/logging/logging_test.cc:109 TestBody hello 1: 2026-02-12 19:13:06.593355801 [W:onnxruntime:Default, logging_test.cc:112 TestBody] Warning�[m 1: 2026-02-12 19:13:06.593361430 [E:onnxruntime:Default, logging_test.cc:113 TestBody] Default logger doesn't filter user data�[m 1: 2026-02-12 19:13:06.593366137 [W:onnxruntime:Default, logging_test.cc:115 TestBody] Default logger doesn't filter user data�[m 1: [ OK ] LoggingTestsFixture.TestDefaultFiltering (0 ms) 1: [ RUN ] LoggingTestsFixture.TestLoggerFiltering 1: TestLoggerFiltering@2026-02-12 19:13:06.593378676 V:onnxruntime:/onnxruntime_src/onnxruntime/test/common/logging/logging_test.cc:143 TestBody VERBOSE enabled in this logger 1: TestLoggerFiltering@2026-02-12 19:13:06.593384915 E:onnxruntime:/onnxruntime_src/onnxruntime/test/common/logging/logging_test.cc:144 TestBody USER data not filtered in this logger 1: [ OK ] LoggingTestsFixture.TestLoggerFiltering (0 ms) 1: [ RUN ] LoggingTestsFixture.TestLoggingManagerCtor 1: [ OK ] LoggingTestsFixture.TestLoggingManagerCtor (0 ms) 1: [ RUN ] LoggingTestsFixture.TestConditionalMacros 1: TestConditionalMacros@2026-02-12 19:13:06.593474751 I:onnxruntime:/onnxruntime_src/onnxruntime/test/common/logging/logging_test.cc:189 TestBody Valid logger 1: TestConditionalMacros@2026-02-12 19:13:06.593481231 I:onnxruntime:/onnxruntime_src/onnxruntime/test/common/logging/logging_test.cc:190 TestBody Logger is 0x6a4ca70 1: [ OK ] LoggingTestsFixture.TestConditionalMacros (0 ms) 1: [ RUN ] LoggingTestsFixture.TestVLog 1: [ OK ] LoggingTestsFixture.TestVLog (0 ms) 1: [ RUN ] LoggingTestsFixture.TestTruncation 1: [ OK ] LoggingTestsFixture.TestTruncation (0 ms) 1: [ RUN ] LoggingTestsFixture.TestStreamMacroFromConditionalWithoutCompoundStatement 1: TestStreamMacroFromConditionalWithoutCompoundStatement@2026-02-12 19:13:06.593540721 V:onnxruntime:/onnxruntime_src/onnxruntime/test/common/logging/logging_test.cc:309 operator() true 1: TestStreamMacroFromConditionalWithoutCompoundStatement@2026-02-12 19:13:06.593547031 V:onnxruntime:/onnxruntime_src/onnxruntime/test/common/logging/logging_test.cc:311 operator() false 1: [ OK ] Loggin
Build and Test OpenVINO EP (AlamLinux8, Py3.12) / build_test_pipeline
Command failed with exit code 1
Build and Test OpenVINO EP (AlamLinux8, Py3.12) / build_test_pipeline
stderr: + PATH=/opt/python/cp312-cp312/bin:/opt/intel/openvino_2025.4.1/runtime/bin/intel64:/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 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_openvino --use_openvino CPU --enable_generic_interface --build_shared_lib --build 2026-02-12 19:05:04,753 tools_python_utils [INFO] - flatbuffers module is not installed. parse_config will not be available 2026-02-12 19:05:04,788 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_openvino --use_openvino CPU --enable_generic_interface --build_shared_lib --build 2026-02-12 19:05:04,791 build [INFO] - Build started 2026-02-12 19:05:04,791 build [INFO] - Building targets for Release configuration 2026-02-12 19:05:04,791 build [INFO] - /usr/bin/cmake --build build/Release/Release --config Release -- -j16 2026-02-12 19:12:53,479 build [INFO] - Build complete
Build and Test OpenVINO EP (AlamLinux8, Py3.12) / build_test_pipeline
stderr: + PATH=/opt/python/cp312-cp312/bin:/opt/intel/openvino_2025.4.1/runtime/bin/intel64:/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 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_openvino --use_openvino CPU --enable_generic_interface --build_shared_lib --update 2026-02-12 19:01:05,515 tools_python_utils [INFO] - flatbuffers module is not installed. parse_config will not be available 2026-02-12 19:01:05,556 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_openvino --use_openvino CPU --enable_generic_interface --build_shared_lib --update 2026-02-12 19:01:05,559 build [INFO] - Build started 2026-02-12 19:01:05,559 build [INFO] - Generating CMake build tree 2026-02-12 19:01:05,571 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/cp312-cp312/bin/python3 -Donnxruntime_USE_VCPKG=ON -Donnxruntime_USE_MIMALLOC=OFF -Donnxruntime_ENABLE_PYTHON=OFF -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=ON -Donnxruntime_USE_CUDA_INTERFACE=ON -Donnxruntime_USE_NV_INTERFACE=ON -Donnxruntime_USE_OPENVINO_INTERFACE=ON -Donnxruntime_USE_VITISAI_INTERFACE=ON -Donnxruntime_USE_QNN_INTERFACE=ON -Donnxruntime_USE_MIGRAPHX_INTERFACE=ON -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 -Donnxruntime_REDUCED_OPS_BUILD=OFF -Donnxruntime_CLIENT_PACKAGE_BUILD=OFF -Donnxruntime_BUILD_MS_EXPERIMENTAL_OPS=OFF -Donnxruntime_ENABLE_LTO=OFF -Donnxruntime_USE_ACL=OFF -Donnxruntime_USE_ARMNN=OFF -Donnxruntime_ARMNN_RELU_USE_CPU=ON -Donnxruntime_ARMNN_BN_USE_CPU=ON -Donnxruntime_USE_JSEP=OFF -Donnxruntime_USE_WEBGPU=OFF -Donnxruntime_USE_EXTERNAL_DAWN=OFF -Donnxruntime_WGSL_TEMPLATE=static -Donnxruntime_ENABLE_NVTX_PROFILE=OFF -Donnxruntime_ENABLE_TRAINING=OFF -Donnxruntime_ENABLE_TRAINING_OPS=OFF -Donnxruntime_ENABLE_TRAINING_APIS=OFF -Donnxruntime_ENABLE_CPU_FP16_OPS=OFF -Donnxruntime_USE_NCCL=OFF -Donnxruntime_BUILD_BENCHMARKS=OFF -Donnxruntime_GCOV_COVERAGE=OFF -Donnxruntime_ENABLE_MEMORY_PROFILE=OFF -Donnxruntime_ENABLE_CUDA_LINE_NUMBER_INFO=OFF -Donnxruntime_USE_CUDA_NHWC_OPS=OFF -Donnxruntime_BUILD_WEBASSEMBLY_STATIC_LIB=OFF -Donnxruntime_ENABLE_WEBASSEMBLY_EXCEPTION_CATCHING=ON -Donnxruntime_ENABLE_WEBASSEMBLY_API_EXCEPTION_CATCHING=OFF -Donnxruntime_ENABLE_WEBASSEMBLY_EXCEPTION_THROWING=ON -Donnxruntime_WEBASSEMBLY_RUN_TESTS_IN_BROWSER=OFF -Donnxruntime_ENABLE_WEBASSEMBLY_JSPI=OFF -Donnxruntime_ENABLE_WEBASSEMBLY_THREADS=OFF -Donnxruntime_ENABLE_WEBASSEMBLY_DEBUG_INFO=OFF -Donnxruntime_ENABLE_WEBASSEMBLY_PROFILING=OFF -Donnxruntime_ENABLE_LAZY_TENSOR=OFF -Donnxruntime_ENABLE_CUDA_PROFILING=OFF -Donnxruntime_USE_XNNPACK=OFF -Donnxruntime_USE_WEBNN=OFF -Donnxruntime_USE_CANN=OFF -Donnxruntime_DISABLE_FLOAT8_TYPES=OFF -Donnxruntime_DISABLE_FLOAT4_TYPES=OFF -Donnxruntime_DISABLE_SPARSE_TENSORS=OFF -Donnxruntime_DISABLE_OPTIONAL_TYPE=OFF -Donnxruntime_CUDA_MIN
Build and Test OpenVINO EP (AlamLinux8, Py3.12) / build_test_pipeline
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/