Skip to content

Commit ba04920

Browse files
committed
Pin the OpenVINO test harness to a release instead of a deleted nightly
The OpenVINO test-harness jobs have failed every night since mid-September. The setup script downloads a pinned OpenVINO nightly, and OpenVINO has since deleted it. The storage server answers the missing file with an HTML page and HTTP 200, so curl --fail does not catch it and the job dies in tar with "gzip: stdin: not in gzip format". Point the --nightly path at the official 2026.1.0 release, which contains all of the old nightly's commits and is not deleted. Also check each download against the .sha256 file OpenVINO publishes next to it, so a missing or broken download fails right away instead of in tar.
1 parent 51cdd12 commit ba04920

1 file changed

Lines changed: 10 additions & 4 deletions

File tree

‎.ci/scripts/setup-openvino.sh‎

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,21 +23,27 @@ OPENVINO_VERSION="2026.0"
2323
OPENVINO_BUILD="2026.0.0.20965.c6d6a13a886"
2424
OPENVINO_STABLE_URL="https://storage.openvinotoolkit.org/repositories/openvino/packages/${OPENVINO_VERSION}/linux/openvino_toolkit_ubuntu22_${OPENVINO_BUILD}_x86_64.tgz"
2525

26-
OPENVINO_NIGHTLY_BUILD_ID="2026.1.0-21310-c694fbc2b6d"
27-
OPENVINO_NIGHTLY_BUILD="2026.1.0.dev20260312"
28-
OPENVINO_NIGHTLY_URL="https://storage.openvinotoolkit.org/repositories/openvino/packages/nightly/${OPENVINO_NIGHTLY_BUILD_ID}/openvino_toolkit_ubuntu22_${OPENVINO_NIGHTLY_BUILD}_x86_64.tgz"
26+
# OpenVINO deletes old nightly builds, so pin a release that contains what the
27+
# test harness needs instead of a nightly.
28+
OPENVINO_NIGHTLY_VERSION="2026.1"
29+
OPENVINO_NIGHTLY_BUILD="2026.1.0.21367.63e31528c62"
30+
OPENVINO_NIGHTLY_URL="https://storage.openvinotoolkit.org/repositories/openvino/packages/${OPENVINO_NIGHTLY_VERSION}/linux/openvino_toolkit_ubuntu22_${OPENVINO_NIGHTLY_BUILD}_x86_64.tgz"
2931

3032
if [ "${USE_NIGHTLY}" = true ]; then
3133
OPENVINO_URL="${OPENVINO_NIGHTLY_URL}"
3234
OPENVINO_EXTRACTED_DIR="openvino_toolkit_ubuntu22_${OPENVINO_NIGHTLY_BUILD}_x86_64"
33-
echo "Using OpenVINO nightly build: ${OPENVINO_NIGHTLY_BUILD_ID}"
35+
echo "Using OpenVINO release: ${OPENVINO_NIGHTLY_BUILD}"
3436
else
3537
OPENVINO_URL="${OPENVINO_STABLE_URL}"
3638
OPENVINO_EXTRACTED_DIR="openvino_toolkit_ubuntu22_${OPENVINO_BUILD}_x86_64"
3739
echo "Using OpenVINO stable release: ${OPENVINO_BUILD}"
3840
fi
3941

4042
curl -Lo /tmp/openvino_toolkit.tgz --retry 3 --retry-all-errors --fail ${OPENVINO_URL}
43+
# The storage server answers a missing file with an HTML page and HTTP 200, so
44+
# check the archive against its published checksum before extracting it.
45+
curl -Lo /tmp/openvino_toolkit.tgz.sha256 --retry 3 --retry-all-errors --fail ${OPENVINO_URL}.sha256
46+
echo "$(cut -d ' ' -f 1 /tmp/openvino_toolkit.tgz.sha256) /tmp/openvino_toolkit.tgz" | sha256sum --check
4147
tar -xzf /tmp/openvino_toolkit.tgz
4248
mv "${OPENVINO_EXTRACTED_DIR}" openvino
4349

0 commit comments

Comments
 (0)