[GHA] Jobs timeouts (#20601)
* set linux timeouts * set win timeouts * other timeouts * reverted pugixml * fixed conformance timeout * reset omz
This commit is contained in:
1 parent
49c5099f5e
commit
00e2381d04
8 files changed
+37
-8
No files matched your search
@@ -27,6 +27,7 @@ concurrency:
|
||||
|
||||
jobs:
|
||||
Build:
|
||||
timeout-minutes: 15
|
||||
defaults:
|
||||
run:
|
||||
shell: bash
|
||||
|
||||
@@ -28,6 +28,7 @@ concurrency:
|
||||
|
||||
jobs:
|
||||
Build:
|
||||
timeout-minutes: 150
|
||||
defaults:
|
||||
run:
|
||||
shell: bash
|
||||
@@ -172,6 +173,7 @@ jobs:
|
||||
|
||||
RPM_Packages:
|
||||
needs: Build
|
||||
timeout-minutes: 5
|
||||
defaults:
|
||||
run:
|
||||
shell: bash
|
||||
|
||||
@@ -35,6 +35,7 @@ env:
|
||||
|
||||
jobs:
|
||||
Build:
|
||||
timeout-minutes: 150
|
||||
defaults:
|
||||
run:
|
||||
shell: bash
|
||||
@@ -252,6 +253,7 @@ jobs:
|
||||
Debian_Packages:
|
||||
name: Debian Packages
|
||||
needs: Build
|
||||
timeout-minutes: 5
|
||||
defaults:
|
||||
run:
|
||||
shell: bash
|
||||
@@ -305,6 +307,7 @@ jobs:
|
||||
|
||||
Samples:
|
||||
needs: Build
|
||||
timeout-minutes: 10
|
||||
defaults:
|
||||
run:
|
||||
shell: bash
|
||||
@@ -404,6 +407,7 @@ jobs:
|
||||
|
||||
Conformance:
|
||||
needs: Build
|
||||
timeout-minutes: ${{ matrix.TEST_TYPE == 'API' && 5 || 15 }}
|
||||
defaults:
|
||||
run:
|
||||
shell: bash
|
||||
@@ -500,6 +504,7 @@ jobs:
|
||||
ONNX_Runtime:
|
||||
name: ONNX Runtime Integration
|
||||
needs: Build
|
||||
timeout-minutes: 10
|
||||
defaults:
|
||||
run:
|
||||
shell: bash
|
||||
@@ -635,6 +640,7 @@ jobs:
|
||||
CXX_Unit_Tests:
|
||||
name: C++ unit tests
|
||||
needs: Build
|
||||
timeout-minutes: 15
|
||||
defaults:
|
||||
run:
|
||||
shell: bash
|
||||
@@ -857,6 +863,7 @@ jobs:
|
||||
Python_Unit_Tests:
|
||||
name: Python unit tests
|
||||
needs: Build
|
||||
timeout-minutes: 40
|
||||
defaults:
|
||||
run:
|
||||
shell: bash
|
||||
@@ -1079,6 +1086,7 @@ jobs:
|
||||
CPU_Functional_Tests:
|
||||
name: CPU functional tests
|
||||
needs: Build
|
||||
timeout-minutes: 25
|
||||
defaults:
|
||||
run:
|
||||
shell: bash
|
||||
@@ -1138,7 +1146,7 @@ jobs:
|
||||
run: |
|
||||
source ${INSTALL_DIR}/setupvars.sh
|
||||
python3 ${PARALLEL_TEST_SCRIPT} -e ${INSTALL_TEST_DIR}/ov_cpu_func_tests -c ${PARALLEL_TEST_CACHE} -w ${INSTALL_TEST_DIR} -s suite -rf 0 -- --gtest_print_time=1 --gtest_filter=*smoke*
|
||||
timeout-minutes: 40
|
||||
timeout-minutes: 20
|
||||
|
||||
- name: Save tests execution time
|
||||
uses: actions/cache/save@v3
|
||||
@@ -1170,6 +1178,7 @@ jobs:
|
||||
run:
|
||||
shell: bash
|
||||
runs-on: ${{ github.event_name == 'schedule' && 'ubuntu-20.04-16-cores' || 'ubuntu-20.04-8-cores'}}
|
||||
timeout-minutes: ${{ github.event_name == 'schedule' && 300 || 5 }}
|
||||
# TODO: Switch back to self-hosted runners
|
||||
# container:
|
||||
# image: openvinogithubactions.azurecr.io/dockerhub/ubuntu:20.04
|
||||
@@ -1246,6 +1255,7 @@ jobs:
|
||||
PyTorch_Models_Tests:
|
||||
name: PyTorch Models tests
|
||||
needs: Build
|
||||
timeout-minutes: ${{ github.event_name == 'schedule' && 300 || 30 }}
|
||||
defaults:
|
||||
run:
|
||||
shell: bash
|
||||
@@ -1339,6 +1349,7 @@ jobs:
|
||||
NVIDIA_Plugin:
|
||||
name: NVIDIA plugin
|
||||
needs: Build
|
||||
timeout-minutes: 15
|
||||
defaults:
|
||||
run:
|
||||
shell: bash
|
||||
|
||||
@@ -31,6 +31,7 @@ env:
|
||||
|
||||
jobs:
|
||||
Build:
|
||||
timeout-minutes: 150
|
||||
defaults:
|
||||
run:
|
||||
shell: bash
|
||||
@@ -201,6 +202,7 @@ jobs:
|
||||
CC_Build:
|
||||
name: Conditional Compilation
|
||||
needs: Build
|
||||
timeout-minutes: 10
|
||||
defaults:
|
||||
run:
|
||||
shell: bash
|
||||
@@ -296,6 +298,7 @@ jobs:
|
||||
CPU_Functional_Tests:
|
||||
name: CPU functional tests
|
||||
needs: Build
|
||||
timeout-minutes: 25
|
||||
defaults:
|
||||
run:
|
||||
shell: bash
|
||||
@@ -341,7 +344,7 @@ jobs:
|
||||
|
||||
- name: Intel CPU plugin func tests (parallel)
|
||||
run: python3 ${PARALLEL_TEST_SCRIPT} -e ${INSTALL_TEST_DIR}/bin/intel64/Release/ov_cpu_func_tests -c ${PARALLEL_TEST_CACHE} -w ${INSTALL_TEST_DIR} -s suite -rf 0 -- --gtest_print_time=1 --gtest_filter=*smoke*
|
||||
timeout-minutes: 40
|
||||
timeout-minutes: 20
|
||||
|
||||
- name: Upload Test Results
|
||||
uses: actions/upload-artifact@v3
|
||||
|
||||
@@ -31,6 +31,7 @@ concurrency:
|
||||
|
||||
jobs:
|
||||
Build:
|
||||
timeout-minutes: 15
|
||||
defaults:
|
||||
run:
|
||||
shell: bash
|
||||
|
||||
@@ -34,6 +34,7 @@ env:
|
||||
|
||||
jobs:
|
||||
Build:
|
||||
timeout-minutes: 150
|
||||
defaults:
|
||||
run:
|
||||
shell: bash
|
||||
@@ -142,7 +143,7 @@ jobs:
|
||||
run: |
|
||||
cmake -DCMAKE_INSTALL_PREFIX=${{ env.INSTALL_DIR }} -P ${{ env.BUILD_DIR }}/cmake_install.cmake
|
||||
cmake -DCMAKE_INSTALL_PREFIX=${{ env.INSTALL_TEST_DIR }} -DCOMPONENT=tests -P ${{ env.BUILD_DIR }}/cmake_install.cmake
|
||||
cmake -DCMAKE_INSTALL_PREFIX=${{ env.INSTALL_DIR }} -DCOMPONENT=python_wheels -P ${{ env.BUILD_DIR }}/cmake_install.cmake
|
||||
cmake -DCMAKE_INSTALL_PREFIX=${{ env.INSTALL_DIR }} -DCOMPONENT=python_wheels -P ${{ env.BUILD_DIR }}/cmake_install.cmake
|
||||
|
||||
- name: Pack Artifacts
|
||||
run: |
|
||||
@@ -187,6 +188,7 @@ jobs:
|
||||
|
||||
Samples:
|
||||
needs: Build
|
||||
timeout-minutes: 5
|
||||
defaults:
|
||||
run:
|
||||
shell: bash
|
||||
@@ -227,7 +229,7 @@ jobs:
|
||||
pushd ${INSTALL_DIR}
|
||||
tar -xzf openvino_package.tar.gz -C ${INSTALL_DIR}
|
||||
popd
|
||||
|
||||
|
||||
pushd ${INSTALL_TEST_DIR}
|
||||
tar -xzf openvino_tests.tar.gz -C ${INSTALL_DIR}
|
||||
popd
|
||||
@@ -279,6 +281,7 @@ jobs:
|
||||
CXX_Unit_Tests:
|
||||
name: C++ Unit tests
|
||||
needs: Build
|
||||
timeout-minutes: 20
|
||||
defaults:
|
||||
run:
|
||||
shell: bash
|
||||
@@ -510,6 +513,7 @@ jobs:
|
||||
Python_Unit_Tests:
|
||||
name: Python unit tests
|
||||
needs: Build
|
||||
timeout-minutes: 55
|
||||
defaults:
|
||||
run:
|
||||
shell: bash
|
||||
@@ -652,9 +656,9 @@ jobs:
|
||||
- name: ONNX Layer Tests
|
||||
run: |
|
||||
python3 -m pip install -r ${{ env.LAYER_TESTS_INSTALL_DIR }}/requirements.txt
|
||||
|
||||
|
||||
export PYTHONPATH=${{ env.OPENVINO_REPO }}/tools/mo/:${{ env.LAYER_TESTS_INSTALL_DIR }}:$PYTHONPATH
|
||||
|
||||
|
||||
python3 -m pytest ${{ env.LAYER_TESTS_INSTALL_DIR }}/onnx_tests -m "not launch_only_if_manually_specified and precommit" --junitxml=${{ env.INSTALL_TEST_DIR }}/TEST-onnx.xml
|
||||
env:
|
||||
TEST_DEVICE: CPU
|
||||
@@ -740,6 +744,7 @@ jobs:
|
||||
CPU_Functional_Tests:
|
||||
name: CPU functional tests
|
||||
needs: Build
|
||||
timeout-minutes: 25
|
||||
defaults:
|
||||
run:
|
||||
shell: bash
|
||||
|
||||
@@ -33,6 +33,7 @@ env:
|
||||
|
||||
jobs:
|
||||
Build:
|
||||
timeout-minutes: 180
|
||||
defaults:
|
||||
run:
|
||||
shell: pwsh
|
||||
@@ -180,6 +181,7 @@ jobs:
|
||||
|
||||
Samples:
|
||||
needs: Build
|
||||
timeout-minutes: 10
|
||||
defaults:
|
||||
run:
|
||||
shell: pwsh
|
||||
@@ -248,6 +250,7 @@ jobs:
|
||||
Python_Unit_Tests:
|
||||
name: Python unit tests
|
||||
needs: Build
|
||||
timeout-minutes: 75
|
||||
defaults:
|
||||
run:
|
||||
shell: pwsh
|
||||
@@ -448,6 +451,7 @@ jobs:
|
||||
CXX_Unit_Tests:
|
||||
name: C++ unit tests
|
||||
needs: Build
|
||||
timeout-minutes: 15
|
||||
defaults:
|
||||
run:
|
||||
shell: pwsh
|
||||
@@ -641,7 +645,8 @@ jobs:
|
||||
|
||||
CPU_Functional_Tests:
|
||||
name: CPU functional tests
|
||||
needs: Build
|
||||
needs: Buildy
|
||||
timeout-minutes: 30
|
||||
defaults:
|
||||
run:
|
||||
shell: pwsh
|
||||
@@ -694,7 +699,7 @@ jobs:
|
||||
shell: cmd
|
||||
run: |
|
||||
call "${{ env.INSTALL_DIR }}\\setupvars.bat" && python3 ${{ env.PARALLEL_TEST_SCRIPT }} -e ${{ env.INSTALL_TEST_DIR }}\ov_cpu_func_tests.exe -c ${{ env.PARALLEL_TEST_CACHE }} -w ${{ env.INSTALL_TEST_DIR }} -s suite -- --gtest_filter=*smoke*"
|
||||
timeout-minutes: 45
|
||||
timeout-minutes: 25
|
||||
|
||||
- name: Save tests execution time
|
||||
uses: actions/cache/save@v3
|
||||
|
||||
@@ -33,6 +33,7 @@ env:
|
||||
|
||||
jobs:
|
||||
Build:
|
||||
timeout-minutes: 180
|
||||
defaults:
|
||||
run:
|
||||
shell: pwsh
|
||||
|
||||
Reference in new issue
Block a user