Skip to content

Update API ReadOpAttr and CreateOpAttr for string type to unblock EPs to process EPContext node for ep_cache_context with bytes stream #3918

Update API ReadOpAttr and CreateOpAttr for string type to unblock EPs to process EPContext node for ep_cache_context with bytes stream

Update API ReadOpAttr and CreateOpAttr for string type to unblock EPs to process EPContext node for ep_cache_context with bytes stream #3918

Triggered via pull request July 16, 2025 21:17
Status Failure
Total duration 23m 32s
Artifacts

linux-dnnl.yml

on: pull_request
Build Linux x64 Release (DNNL EP)  /  build_test_pipeline
17m 11s
Build Linux x64 Release (DNNL EP) / build_test_pipeline
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 3 warnings
Build Linux x64 Release (DNNL EP) / 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 -w /onnxruntime_src -e ALLOW_RELEASED_ONNX_OPSET_ONLY=0 -e NIGHTLY_BUILD=1 -e RUNNER_TEMP=/onnxruntime_src/build ghcr.io/microsoft/onnxruntime/onnxruntimecpubuildpythonx64:sha256-66bea3fb565a5260d2258604a5a5cb31bc72d66fd0b79c1e2a016ea80c231e77 /bin/bash -c set -ex; PATH=/opt/python/cp310-cp310/bin:$PATH && python3 -m pip install --user -r tools/ci_build/github/linux/python/requirements.txt && 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_dnnl --use_binskim_compliant_compile_flags --build_wheel --build_nuget --build" failed with exit code 1
Build Linux x64 Release (DNNL EP) / build_test_pipeline
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 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. [notice] A new release of pip is available: 24.3.1 -> 25.1.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_dnnl --use_binskim_compliant_compile_flags --build_wheel --build_nuget --build 2025-07-16 21:34:06,777 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_dnnl --use_binskim_compliant_compile_flags --build_wheel --build_nuget --build 2025-07-16 21:34:06,781 build [INFO] - Build started 2025-07-16 21:34:06,781 build [INFO] - Building targets for Release configuration 2025-07-16 21:34:06,782 build [INFO] - /usr/bin/cmake --build build/Release/Release --config Release -- -j16 Traceback (most recent call last): File "/onnxruntime_src/tools/ci_build/build.py", line 2636, in <module> sys.exit(main()) File "/onnxruntime_src/tools/ci_build/build.py", line 2538, in main build_targets(args, cmake_path, build_dir, configs, num_parallel_jobs, args.target) File "/onnxruntime_src/tools/ci_build/build.py", line 1349, in build_targets run_subprocess(cmd_args, env=env) 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/cp310-cp310/lib/python3.10/subprocess.py", line 526, in run raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command '['/usr/bin/cmake', '--build', 'build/Release/Release', '--config', 'Release', '--', '-j16']' returned non-zero exit status 1.
Build Linux x64 Release (DNNL EP) / build_test_pipeline
stdout: Collecting numpy==2.1.2 (from -r tools/ci_build/github/linux/python/requirements.txt (line 1)) Using cached numpy-2.1.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (60 kB) Requirement already satisfied: mypy in /opt/_internal/cpython-3.10.16/lib/python3.10/site-packages (from -r tools/ci_build/github/linux/python/requirements.txt (line 2)) (1.16.1) Requirement already satisfied: pytest in /opt/_internal/cpython-3.10.16/lib/python3.10/site-packages (from -r tools/ci_build/github/linux/python/requirements.txt (line 3)) (8.4.1) Requirement already satisfied: setuptools>=68.2.2 in /opt/_internal/cpython-3.10.16/lib/python3.10/site-packages (from -r tools/ci_build/github/linux/python/requirements.txt (line 4)) (75.6.0) Requirement already satisfied: wheel in /opt/_internal/cpython-3.10.16/lib/python3.10/site-packages (from -r tools/ci_build/github/linux/python/requirements.txt (line 5)) (0.45.1) Requirement already satisfied: onnx==1.17.0 in /opt/_internal/cpython-3.10.16/lib/python3.10/site-packages (from -r tools/ci_build/github/linux/python/requirements.txt (line 6)) (1.17.0) Requirement already satisfied: protobuf==4.21.12 in /opt/_internal/cpython-3.10.16/lib/python3.10/site-packages (from -r tools/ci_build/github/linux/python/requirements.txt (line 7)) (4.21.12) Collecting sympy==1.12 (from -r tools/ci_build/github/linux/python/requirements.txt (line 8)) Using cached sympy-1.12-py3-none-any.whl.metadata (12 kB) Requirement already satisfied: flatbuffers in /opt/_internal/cpython-3.10.16/lib/python3.10/site-packages (from -r tools/ci_build/github/linux/python/requirements.txt (line 9)) (25.2.10) Requirement already satisfied: psutil in /opt/_internal/cpython-3.10.16/lib/python3.10/site-packages (from -r tools/ci_build/github/linux/python/requirements.txt (line 10)) (7.0.0) Collecting onnxscript==0.2.3 (from -r tools/ci_build/github/linux/python/requirements.txt (line 11)) Using cached onnxscript-0.2.3-py3-none-any.whl.metadata (15 kB) Collecting jinja2 (from -r tools/ci_build/github/linux/python/requirements.txt (line 12)) Using cached jinja2-3.1.6-py3-none-any.whl.metadata (2.9 kB) Collecting markupsafe (from -r tools/ci_build/github/linux/python/requirements.txt (line 13)) Using cached MarkupSafe-3.0.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (4.0 kB) Requirement already satisfied: mpmath>=0.19 in /opt/_internal/cpython-3.10.16/lib/python3.10/site-packages (from sympy==1.12->-r tools/ci_build/github/linux/python/requirements.txt (line 8)) (1.3.0) Requirement already satisfied: typing_extensions>=4.10 in /opt/_internal/cpython-3.10.16/lib/python3.10/site-packages (from onnxscript==0.2.3->-r tools/ci_build/github/linux/python/requirements.txt (line 11)) (4.14.0) Collecting ml_dtypes (from onnxscript==0.2.3->-r tools/ci_build/github/linux/python/requirements.txt (line 11)) Using cached ml_dtypes-0.5.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (21 kB) Requirement already satisfied: packaging in /opt/_internal/cpython-3.10.16/lib/python3.10/site-packages (from onnxscript==0.2.3->-r tools/ci_build/github/linux/python/requirements.txt (line 11)) (24.2) Requirement already satisfied: mypy_extensions>=1.0.0 in /opt/_internal/cpython-3.10.16/lib/python3.10/site-packages (from mypy->-r tools/ci_build/github/linux/python/requirements.txt (line 2)) (1.1.0) Requirement already satisfied: pathspec>=0.9.0 in /opt/_internal/cpython-3.10.16/lib/python3.10/site-packages (from mypy->-r tools/ci_build/github/linux/python/requirements.txt (line 2)) (0.12.1) Requirement already satisfied: tomli>=1.1.0 in /opt/_internal/cpython-3.10.16/lib/python3.10/site-packages (from mypy->-r tools/ci_build/github/linux/python/requirements.txt (line 2)) (2.2.1) Requirement already satisfied: exceptiongroup>=1 in /opt/_internal/cpython-3.10.16/lib/python3.10/site-packages (from pytest->-r tools/ci_build/github/linux/python/requirements.txt (line 3)) (1.3.0) Requirement already satisfied: iniconfig>=1 in /opt/_internal/cpython-3.10.16/lib/python3.10/site-packages
Build Linux x64 Release (DNNL EP) / build_test_pipeline
Command failed with exit code 1
Build Linux x64 Release (DNNL EP) / build_test_pipeline
Wheel output directory /mnt/vss/_work/_temp/Release/dist does not exist.
Build Linux x64 Release (DNNL EP) / build_test_pipeline
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 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. [notice] A new release of pip is available: 24.3.1 -> 25.1.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_dnnl --use_binskim_compliant_compile_flags --build_wheel --build_nuget --update 2025-07-16 21:28:20,110 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_dnnl --use_binskim_compliant_compile_flags --build_wheel --build_nuget --update 2025-07-16 21:28:20,113 build [INFO] - Build started 2025-07-16 21:28:20,113 build [INFO] - Generating CMake build tree 2025-07-16 21:28:20,125 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=ON -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=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_THREADS=OFF -Donnxruntime_ENABLE_WEBASSEMBLY_DEBUG_INFO=
Build Linux x64 Release (DNNL EP) / 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/