Skip to content

Commit 60210ae

Browse files
authored
Merge branch 'master' into az/test_dnn3.10_ci
2 parents 6fff92d + 17180b4 commit 60210ae

File tree

343 files changed

+6192
-8883
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

343 files changed

+6192
-8883
lines changed

.github/actions/wait-for-check-completion/dist/index.js

Lines changed: 36 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -29928,6 +29928,16 @@ function wrappy (fn, cb) {
2992829928
const core = __nccwpck_require__(7484);
2992929929
const github = __nccwpck_require__(3228);
2993029930

29931+
const CONCLUSION_STATES = {
29932+
SUCCESS: 'success',
29933+
FAILURE: 'failure',
29934+
MIXED: 'mixed',
29935+
ACTION_REQUIRED: 'action_required',
29936+
TIMED_OUT: 'timed_out',
29937+
CANCELLED: 'cancelled',
29938+
COMPLETED: 'completed'
29939+
};
29940+
2993129941
/**
2993229942
* Wait for multiple checks to complete
2993329943
* @param {Object} octokit - GitHub API client
@@ -29950,23 +29960,22 @@ async function waitForChecks(octokit, owner, repo, ref, checkNames, waitInterval
2995029960
const checkResults = {};
2995129961
const pendingChecks = new Set(checkNames);
2995229962

29953-
while ((Date.now() - startTime < timeoutMs) && (pendingChecks.size > 0)) {
29963+
while ((Date.now() - startTime < timeoutMs) && pendingChecks.size) {
2995429964
try {
2995529965
// Get all check runs for the specific commit
29956-
const { data: checkRuns } = await octokit.rest.checks.listForRef({
29966+
const allCheckRuns = await octokit.paginate(octokit.rest.checks.listForRef, {
2995729967
owner,
2995829968
repo,
2995929969
ref,
2996029970
per_page: 100
2996129971
});
2996229972

29963-
core.info(`Found ${checkRuns.check_runs.length} total check runs`);
29973+
core.info(`Found ${allCheckRuns.length} total check runs`);
2996429974

2996529975
// Process each pending check
29966-
for (const checkName of Array.from(pendingChecks)) {
29967-
const matchingRuns = checkRuns.check_runs.filter(run => run.name === checkName);
29968-
29969-
if (matchingRuns.length === 0) {
29976+
for (const checkName of pendingChecks) {
29977+
const matchingRuns = allCheckRuns.filter(run => run.name === checkName);
29978+
if (!matchingRuns.length) {
2997029979
core.info(`No check runs found for "${checkName}" yet, waiting...`);
2997129980
continue;
2997229981
}
@@ -29992,12 +30001,14 @@ async function waitForChecks(octokit, owner, repo, ref, checkNames, waitInterval
2999230001
core.info(`Check "${checkName}" is queued...`);
2999330002
}
2999430003
}
29995-
29996-
if (pendingChecks.size === 0) {
30004+
30005+
if (pendingChecks.size) {
30006+
core.info(`Still waiting for [${Array.from(pendingChecks).join(', ')}]. Waiting ${waitInterval} seconds before next check...`);
30007+
await new Promise(resolve => setTimeout(resolve, waitIntervalMs));
30008+
} else {
2999730009
core.info('All checks completed, parsing conclusions...');
2999830010
break;
2999930011
}
30000-
3000130012
} catch (error) {
3000230013
core.warning(`Error fetching check runs: ${error.message}`);
3000330014

@@ -30009,14 +30020,9 @@ async function waitForChecks(octokit, owner, repo, ref, checkNames, waitInterval
3000930020
core.error(`API error: ${error.message}`);
3001030021
}
3001130022
}
30012-
30013-
if (pendingChecks.size > 0) {
30014-
core.info(`Still waiting for [${Array.from(pendingChecks).join(', ')}]. Waiting ${waitInterval} seconds before next check...`);
30015-
await new Promise(resolve => setTimeout(resolve, waitIntervalMs));
30016-
}
3001730023
}
3001830024

30019-
if (pendingChecks.size > 0) {
30025+
if (pendingChecks.size) {
3002030026
const pendingChecksList = Array.from(pendingChecks).join(', ');
3002130027
throw new Error(`Timeout: Checks [${pendingChecksList}] did not complete within ${timeout} seconds`);
3002230028
}
@@ -30071,37 +30077,37 @@ async function run() {
3007130077

3007230078
// Determine overall conclusion
3007330079
let overallConclusion;
30074-
if (allConclusions.every(c => c === 'success')) {
30075-
overallConclusion = 'success';
30076-
} else if (allConclusions.some(c => ['failure', 'cancelled', 'timed_out'].includes(c))) {
30077-
overallConclusion = 'failure';
30078-
} else if (allConclusions.some(c => c === 'action_required')) {
30079-
overallConclusion = 'action_required';
30080+
if (allConclusions.every(c => c === CONCLUSION_STATES.SUCCESS)) {
30081+
overallConclusion = CONCLUSION_STATES.SUCCESS;
30082+
} else if (allConclusions.some(c => [CONCLUSION_STATES.FAILURE, CONCLUSION_STATES.CANCELLED, CONCLUSION_STATES.TIMED_OUT].includes(c))) {
30083+
overallConclusion = CONCLUSION_STATES.FAILURE;
30084+
} else if (allConclusions.some(c => c === CONCLUSION_STATES.ACTION_REQUIRED)) {
30085+
overallConclusion = CONCLUSION_STATES.ACTION_REQUIRED;
3008030086
} else {
30081-
overallConclusion = 'mixed';
30087+
overallConclusion = CONCLUSION_STATES.MIXED;
3008230088
}
3008330089

3008430090
// Set outputs
30085-
core.setOutput('status', allStatuses.every(s => s === 'completed') ? 'completed' : 'mixed');
30091+
core.setOutput('status', allStatuses.every(s => s === CONCLUSION_STATES.COMPLETED) ? CONCLUSION_STATES.COMPLETED : CONCLUSION_STATES.MIXED);
3008630092
core.setOutput('conclusion', overallConclusion);
3008730093
core.setOutput('results', JSON.stringify(results));
3008830094

3008930095
// Log results
3009030096
for (const [checkName, result] of Object.entries(results)) {
30091-
core.info(`${checkName}: ${result.status} (${result.conclusion})`);
30097+
core.info(`${checkName}: Status is "${result.status}", Conclusion is "${result.conclusion}"`);
3009230098
}
3009330099

3009430100
// Exit with appropriate code based on overall conclusion
30095-
if (overallConclusion === 'success') {
30101+
if (overallConclusion === CONCLUSION_STATES.SUCCESS) {
3009630102
core.info('All checks completed with successful conclusions');
30097-
} else if (overallConclusion === 'failure') {
30103+
} else if (overallConclusion === CONCLUSION_STATES.FAILURE) {
3009830104
const failedChecks = Object.entries(results)
30099-
.filter(([_, result]) => ['failure', 'cancelled', 'timed_out'].includes(result.conclusion))
30105+
.filter(([_, result]) => [CONCLUSION_STATES.FAILURE, CONCLUSION_STATES.CANCELLED, CONCLUSION_STATES.TIMED_OUT].includes(result.conclusion))
3010030106
.map(([name, _]) => name);
3010130107
core.setFailed(`Some checks failed: [${failedChecks.join(', ')}]`);
30102-
} else if (overallConclusion === 'action_required') {
30108+
} else if (overallConclusion === CONCLUSION_STATES.ACTION_REQUIRED) {
3010330109
const actionRequiredChecks = Object.entries(results)
30104-
.filter(([_, result]) => result.conclusion === 'action_required')
30110+
.filter(([_, result]) => result.conclusion === CONCLUSION_STATES.ACTION_REQUIRED)
3010530111
.map(([name, _]) => name);
3010630112
core.setFailed(`Some checks require action: [${actionRequiredChecks.join(', ')}]`);
3010730113
} else {

.github/actions/wait-for-check-completion/dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/actions/wait-for-check-completion/src/index.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,19 +36,18 @@ async function waitForChecks(octokit, owner, repo, ref, checkNames, waitInterval
3636
while ((Date.now() - startTime < timeoutMs) && pendingChecks.size) {
3737
try {
3838
// Get all check runs for the specific commit
39-
const { data: checkRuns } = await octokit.rest.checks.listForRef({
39+
const allCheckRuns = await octokit.paginate(octokit.rest.checks.listForRef, {
4040
owner,
4141
repo,
4242
ref,
4343
per_page: 100
4444
});
4545

46-
core.info(`Found ${checkRuns.check_runs.length} total check runs`);
46+
core.info(`Found ${allCheckRuns.length} total check runs`);
4747

4848
// Process each pending check
4949
for (const checkName of pendingChecks) {
50-
const matchingRuns = checkRuns.check_runs.filter(run => run.name === checkName);
51-
50+
const matchingRuns = allCheckRuns.filter(run => run.name === checkName);
5251
if (!matchingRuns.length) {
5352
core.info(`No check runs found for "${checkName}" yet, waiting...`);
5453
continue;

.github/workflows/android.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -290,13 +290,13 @@ jobs:
290290
timeout-minutes: 15
291291

292292
- name: Download CPU test binaries
293-
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
293+
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
294294
with:
295295
name: ov_cpu_tests_android_x64
296296
path: ${{ env.INSTALL_TEST_DIR }}
297297

298298
- name: Download OpenVINO runtime package (Android)
299-
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
299+
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
300300
with:
301301
name: ov_android_package_x64
302302
path: ${{ env.INSTALL_DIR }}

.github/workflows/clang_tidy.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,6 @@ jobs:
159159
-DENABLE_PYTHON=OFF \
160160
-DENABLE_TESTS=OFF \
161161
-DENABLE_NCC_STYLE=OFF \
162-
-DENABLE_CPPLINT=OFF \
163162
-DCMAKE_C_COMPILER_LAUNCHER=${{ env.CMAKE_C_COMPILER_LAUNCHER }} \
164163
-DCMAKE_CXX_COMPILER_LAUNCHER=${{ env.CMAKE_CXX_COMPILER_LAUNCHER }} \
165164
-S ${OPENVINO_REPO} \
@@ -225,7 +224,6 @@ jobs:
225224
-DENABLE_PYTHON=OFF \
226225
-DENABLE_TESTS=OFF \
227226
-DENABLE_NCC_STYLE=OFF \
228-
-DENABLE_CPPLINT=OFF \
229227
-DCMAKE_RULE_MESSAGES=OFF \
230228
-DCMAKE_C_COMPILER_LAUNCHER=${{ env.CMAKE_C_COMPILER_LAUNCHER }} \
231229
-DCMAKE_CXX_COMPILER_LAUNCHER=${{ env.CMAKE_CXX_COMPILER_LAUNCHER }} \
@@ -294,10 +292,10 @@ jobs:
294292
-DENABLE_PYTHON=OFF \
295293
-DENABLE_TESTS=OFF \
296294
-DENABLE_NCC_STYLE=OFF \
297-
-DENABLE_CPPLINT=OFF \
298295
-DCMAKE_RULE_MESSAGES=OFF \
299296
-DCMAKE_C_COMPILER_LAUNCHER=${{ env.CMAKE_C_COMPILER_LAUNCHER }} \
300297
-DCMAKE_CXX_COMPILER_LAUNCHER=${{ env.CMAKE_CXX_COMPILER_LAUNCHER }} \
298+
-DTHREADING=SEQ \
301299
-S ${OPENVINO_REPO} \
302300
-B ${BUILD_DIR}
303301

.github/workflows/code_style.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ jobs:
142142
submodules: 'true'
143143

144144
- name: CMake configure
145-
run: cmake -DENABLE_CLANG_FORMAT=ON -DENABLE_TESTS=ON -DENABLE_PROFILING_ITT=FULL -DSELECTIVE_BUILD=COLLECT -DCMAKE_TOOLCHAIN_FILE=cmake/toolchains/riscv64.linux.toolchain.cmake -B build_riscv64
145+
run: cmake -DENABLE_CLANG_FORMAT=ON -DENABLE_TESTS=ON -DENABLE_PROFILING_ITT=FULL -DSELECTIVE_BUILD=COLLECT -DTHREADING=SEQ -DCMAKE_TOOLCHAIN_FILE=cmake/toolchains/riscv64.linux.toolchain.cmake -B build_riscv64
146146

147147
- name: Create code style diff
148148
run: cmake --build build_riscv64 --target clang_format_fix_all -j8

.github/workflows/coverity.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,6 @@ jobs:
145145
run: |
146146
cmake \
147147
-G "${{ env.CMAKE_GENERATOR }}" \
148-
-DENABLE_CPPLINT=OFF \
149148
-DENABLE_STRICT_DEPENDENCIES=OFF \
150149
-DCMAKE_VERBOSE_MAKEFILE=ON \
151150
-DENABLE_FASTER_BUILD=ON \

.github/workflows/debian_10_arm.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,13 +105,13 @@ jobs:
105105
-DCMAKE_COMPILE_WARNING_AS_ERROR=OFF
106106
-DCMAKE_BUILD_TYPE=Release
107107
-DENABLE_STRICT_DEPENDENCIES=OFF
108-
-DENABLE_CPPLINT=OFF
109108
-DENABLE_NCC_STYLE=OFF
110109
-DCMAKE_VERBOSE_MAKEFILE=ON
111110
-DENABLE_CONFORMANCE_PGQL=ON
112111
-DENABLE_LTO=ON
113112
-DENABLE_TESTS=ON
114113
-DENABLE_PYTHON=OFF
114+
-DTHREADING=SEQ
115115
-DCMAKE_TOOLCHAIN_FILE=cmake/arm.toolchain.cmake
116116
117117
CXX_Unit_Tests:

.github/workflows/dev_cpu_linux_snippets_libxsmm.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,6 @@ jobs:
128128
run: |
129129
cmake \
130130
-G "${{ env.CMAKE_GENERATOR }}" \
131-
-DENABLE_CPPLINT=OFF \
132131
-DENABLE_NCC_STYLE=OFF \
133132
-DENABLE_TESTS=ON \
134133
-DENABLE_SNIPPETS_LIBXSMM_TPP=ON \

.github/workflows/fedora_29.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,6 @@ jobs:
101101
target-branch: ${{ inputs.target-branch }}
102102
cmake-options: >-
103103
-G 'Ninja'
104-
-DENABLE_CPPLINT=OFF
105104
-DENABLE_NCC_STYLE=OFF
106105
-DENABLE_INTEL_NPU=OFF
107106
-DENABLE_TESTS=ON

0 commit comments

Comments
 (0)