This reverts commit 8acfb87d16
.
This commit is contained in:
parent
ccebc629e2
commit
6078c95b6a
@ -62,23 +62,8 @@ jobs:
|
|||||||
TMP_DIR: /mnt/tmp
|
TMP_DIR: /mnt/tmp
|
||||||
SHARE_DIR: /mount/cinfsshare/onnxtestdata
|
SHARE_DIR: /mount/cinfsshare/onnxtestdata
|
||||||
CCACHE_DIR: $(SHARE_DIR)/ccache/master/android_arm64
|
CCACHE_DIR: $(SHARE_DIR)/ccache/master/android_arm64
|
||||||
LD_LIBRARY_PATH: $(Agent.ToolsDirectory)/Python/$(OV_PYTHON_VERSION)/x64/lib
|
|
||||||
OV_PYTHON_VERSION: 3.10.9 # Newest version of Python 3.10. Full version of Python its required for LD_LIBRARY_PATH and required for successful Task setupPython
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- task: UsePythonVersion@0
|
|
||||||
inputs:
|
|
||||||
versionSpec: '3.10'
|
|
||||||
addToPath: true
|
|
||||||
disableDownloadFromRegistry: false
|
|
||||||
architecture: 'x64'
|
|
||||||
githubToken: $(auth_token)
|
|
||||||
displayName: Setup Python 3.10
|
|
||||||
name: setupPython
|
|
||||||
- bash: |
|
|
||||||
#!/bin/bash
|
|
||||||
python -V
|
|
||||||
|
|
||||||
- script: |
|
- script: |
|
||||||
curl -H Metadata:true --noproxy "*" "http://169.254.169.254/metadata/instance?api-version=2019-06-01"
|
curl -H Metadata:true --noproxy "*" "http://169.254.169.254/metadata/instance?api-version=2019-06-01"
|
||||||
whoami
|
whoami
|
||||||
|
@ -40,9 +40,6 @@ resources:
|
|||||||
name: openvinotoolkit/testdata
|
name: openvinotoolkit/testdata
|
||||||
ref: master
|
ref: master
|
||||||
|
|
||||||
variables:
|
|
||||||
- group: github
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
- job: Lin
|
- job: Lin
|
||||||
strategy:
|
strategy:
|
||||||
@ -99,23 +96,8 @@ jobs:
|
|||||||
CMAKE_VERSION: 3.24.0
|
CMAKE_VERSION: 3.24.0
|
||||||
BUILD_PYTHON: $(WORK_DIR)/build_python
|
BUILD_PYTHON: $(WORK_DIR)/build_python
|
||||||
INSTALL_PYTHON: $(INSTALL_OPENVINO)/extras/python
|
INSTALL_PYTHON: $(INSTALL_OPENVINO)/extras/python
|
||||||
LD_LIBRARY_PATH: $(Agent.ToolsDirectory)/Python/$(OV_PYTHON_VERSION)/x64/lib
|
|
||||||
OV_PYTHON_VERSION: 3.10.9 # Newest version of Python 3.10. Full version of Python its required for LD_LIBRARY_PATH and required for successful Task setupPython
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- task: UsePythonVersion@0
|
|
||||||
inputs:
|
|
||||||
versionSpec: '3.10'
|
|
||||||
addToPath: true
|
|
||||||
disableDownloadFromRegistry: false
|
|
||||||
architecture: 'x64'
|
|
||||||
githubToken: $(auth_token)
|
|
||||||
displayName: Setup Python 3.10
|
|
||||||
name: setupPython
|
|
||||||
- bash: |
|
|
||||||
#!/bin/bash
|
|
||||||
python -V
|
|
||||||
|
|
||||||
- script: |
|
- script: |
|
||||||
curl -H Metadata:true --noproxy "*" "http://169.254.169.254/metadata/instance?api-version=2019-06-01"
|
curl -H Metadata:true --noproxy "*" "http://169.254.169.254/metadata/instance?api-version=2019-06-01"
|
||||||
whoami
|
whoami
|
||||||
@ -300,31 +282,37 @@ jobs:
|
|||||||
|
|
||||||
- script: ls -alR $(INSTALL_DIR)
|
- script: ls -alR $(INSTALL_DIR)
|
||||||
displayName: 'List install test files'
|
displayName: 'List install test files'
|
||||||
|
|
||||||
# Skip test_onnx/test_zoo_models and test_onnx/test_backend due to long execution time
|
# Skip test_onnx/test_zoo_models and test_onnx/test_backend due to long execution time
|
||||||
- script: |
|
- script: |
|
||||||
export LD_LIBRARY_PATH=$(REPO_DIR)/temp/gna_03.00.00.1910/linux/x64:$(LD_LIBRARY_PATH)
|
|
||||||
python3 -m pytest -s $(INSTALL_TEST_DIR)/pyngraph $(PYTHON_STATIC_ARGS) \
|
python3 -m pytest -s $(INSTALL_TEST_DIR)/pyngraph $(PYTHON_STATIC_ARGS) \
|
||||||
--junitxml=$(INSTALL_TEST_DIR)/TEST-Pyngraph.xml \
|
--junitxml=$(INSTALL_TEST_DIR)/TEST-Pyngraph.xml \
|
||||||
--ignore=$(INSTALL_TEST_DIR)/pyngraph/tests/test_onnx/test_zoo_models.py \
|
--ignore=$(INSTALL_TEST_DIR)/pyngraph/tests/test_onnx/test_zoo_models.py \
|
||||||
--ignore=$(INSTALL_TEST_DIR)/pyngraph/tests/test_onnx/test_backend.py
|
--ignore=$(INSTALL_TEST_DIR)/pyngraph/tests/test_onnx/test_backend.py
|
||||||
|
env:
|
||||||
|
# because of static build libgna is needed for python binary
|
||||||
|
LD_LIBRARY_PATH: $(REPO_DIR)/temp/gna_03.00.00.1910/linux/x64
|
||||||
displayName: 'nGraph and IE Python Bindings Tests'
|
displayName: 'nGraph and IE Python Bindings Tests'
|
||||||
|
|
||||||
# Skip test_onnx/test_zoo_models and test_onnx/test_backend due to long execution time
|
# Skip test_onnx/test_zoo_models and test_onnx/test_backend due to long execution time
|
||||||
- script: |
|
- script: |
|
||||||
# For python imports to import pybind_mock_frontend
|
# For python imports to import pybind_mock_frontend
|
||||||
export LD_LIBRARY_PATH=$(REPO_DIR)/temp/gna_03.00.00.1910/linux/x64:$(LD_LIBRARY_PATH)
|
|
||||||
export PYTHONPATH=$(INSTALL_TEST_DIR):$(INSTALL_DIR)/python/python3.8:$PYTHONPATH
|
export PYTHONPATH=$(INSTALL_TEST_DIR):$(INSTALL_DIR)/python/python3.8:$PYTHONPATH
|
||||||
python3 -m pytest -sv $(INSTALL_TEST_DIR)/pyopenvino $(PYTHON_STATIC_ARGS) \
|
python3 -m pytest -sv $(INSTALL_TEST_DIR)/pyopenvino $(PYTHON_STATIC_ARGS) \
|
||||||
--junitxml=$(INSTALL_TEST_DIR)/TEST-Pyngraph.xml \
|
--junitxml=$(INSTALL_TEST_DIR)/TEST-Pyngraph.xml \
|
||||||
--ignore=$(INSTALL_TEST_DIR)/pyopenvino/tests/test_utils/test_utils.py \
|
--ignore=$(INSTALL_TEST_DIR)/pyopenvino/tests/test_utils/test_utils.py \
|
||||||
--ignore=$(INSTALL_TEST_DIR)/pyopenvino/tests/test_onnx/test_zoo_models.py \
|
--ignore=$(INSTALL_TEST_DIR)/pyopenvino/tests/test_onnx/test_zoo_models.py \
|
||||||
--ignore=$(INSTALL_TEST_DIR)/pyopenvino/tests/test_onnx/test_backend.py
|
--ignore=$(INSTALL_TEST_DIR)/pyopenvino/tests/test_onnx/test_backend.py
|
||||||
|
env:
|
||||||
|
# because of static build libgna is needed for python binary and mock_py frontend library
|
||||||
|
LD_LIBRARY_PATH: $(REPO_DIR)/temp/gna_03.00.00.1910/linux/x64:$(INSTALL_TEST_DIR)
|
||||||
displayName: 'Python API 2.0 Tests'
|
displayName: 'Python API 2.0 Tests'
|
||||||
|
|
||||||
- script: |
|
- script: |
|
||||||
export LD_LIBRARY_PATH=$(REPO_DIR)/temp/gna_03.00.00.1910/linux/x64:$(LD_LIBRARY_PATH)
|
|
||||||
python3 -m pytest -s $(INSTALL_TEST_DIR)/mo/unit_tests --junitxml=$(INSTALL_TEST_DIR)/TEST-ModelOptimizer.xml
|
python3 -m pytest -s $(INSTALL_TEST_DIR)/mo/unit_tests --junitxml=$(INSTALL_TEST_DIR)/TEST-ModelOptimizer.xml
|
||||||
|
env:
|
||||||
|
# because of static build libgna is needed for python binary
|
||||||
|
LD_LIBRARY_PATH: $(REPO_DIR)/temp/gna_03.00.00.1910/linux/x64
|
||||||
displayName: 'Model Optimizer UT'
|
displayName: 'Model Optimizer UT'
|
||||||
|
|
||||||
- script: |
|
- script: |
|
||||||
|
@ -39,9 +39,6 @@ resources:
|
|||||||
name: openvinotoolkit/openvino_contrib
|
name: openvinotoolkit/openvino_contrib
|
||||||
ref: master
|
ref: master
|
||||||
|
|
||||||
variables:
|
|
||||||
- group: github
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
- job: linux_arm64
|
- job: linux_arm64
|
||||||
# About 150% of total time
|
# About 150% of total time
|
||||||
@ -80,23 +77,8 @@ jobs:
|
|||||||
OPENVINO_CCACHE_DIR: $(SHARE_DIR)/ccache/master/linux_arm64
|
OPENVINO_CCACHE_DIR: $(SHARE_DIR)/ccache/master/linux_arm64
|
||||||
OPENCV_CCACHE_DIR: $(SHARE_DIR)/ccache/master/linux_arm64_opencv
|
OPENCV_CCACHE_DIR: $(SHARE_DIR)/ccache/master/linux_arm64_opencv
|
||||||
ONETBB_CCACHE_DIR: $(SHARE_DIR)/ccache/master/linux_arm64_onetbb
|
ONETBB_CCACHE_DIR: $(SHARE_DIR)/ccache/master/linux_arm64_onetbb
|
||||||
LD_LIBRARY_PATH: $(Agent.ToolsDirectory)/Python/$(OV_PYTHON_VERSION)/x64/lib:$LD_LIBRARY_PATH
|
|
||||||
OV_PYTHON_VERSION: 3.10.9 # Newest version of Python 3.10. Full version of Python its required for LD_LIBRARY_PATH and required for successful Task setupPython
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- task: UsePythonVersion@0
|
|
||||||
inputs:
|
|
||||||
versionSpec: '3.10'
|
|
||||||
addToPath: true
|
|
||||||
disableDownloadFromRegistry: false
|
|
||||||
architecture: 'x64'
|
|
||||||
githubToken: $(auth_token)
|
|
||||||
displayName: Setup Python 3.10
|
|
||||||
name: setupPython
|
|
||||||
- bash: |
|
|
||||||
#!/bin/bash
|
|
||||||
python -V
|
|
||||||
|
|
||||||
- script: |
|
- script: |
|
||||||
curl -H Metadata:true --noproxy "*" "http://169.254.169.254/metadata/instance?api-version=2019-06-01"
|
curl -H Metadata:true --noproxy "*" "http://169.254.169.254/metadata/instance?api-version=2019-06-01"
|
||||||
whoami
|
whoami
|
||||||
|
@ -36,9 +36,6 @@ resources:
|
|||||||
endpoint: openvinotoolkit
|
endpoint: openvinotoolkit
|
||||||
name: openvinotoolkit/testdata
|
name: openvinotoolkit/testdata
|
||||||
|
|
||||||
variables:
|
|
||||||
- group: github
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
- job: LinCC
|
- job: LinCC
|
||||||
# About 150% of total time
|
# About 150% of total time
|
||||||
@ -58,22 +55,8 @@ jobs:
|
|||||||
BUILD_DIR: $(WORK_DIR)/build
|
BUILD_DIR: $(WORK_DIR)/build
|
||||||
INSTALL_DIR: $(WORK_DIR)/install_pkg
|
INSTALL_DIR: $(WORK_DIR)/install_pkg
|
||||||
SETUPVARS: $(INSTALL_DIR)/setupvars.sh
|
SETUPVARS: $(INSTALL_DIR)/setupvars.sh
|
||||||
LD_LIBRARY_PATH: $(Agent.ToolsDirectory)/Python/$(OV_PYTHON_VERSION)/x64/lib:$LD_LIBRARY_PATH
|
|
||||||
OV_PYTHON_VERSION: 3.10.9 # Newest version of Python 3.10. Full version of Python its required for LD_LIBRARY_PATH and required for successful Task setupPython
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- task: UsePythonVersion@0
|
|
||||||
inputs:
|
|
||||||
versionSpec: '3.10'
|
|
||||||
addToPath: true
|
|
||||||
disableDownloadFromRegistry: false
|
|
||||||
architecture: 'x64'
|
|
||||||
githubToken: $(auth_token)
|
|
||||||
displayName: Setup Python 3.10
|
|
||||||
name: setupPython
|
|
||||||
- bash: |
|
|
||||||
#!/bin/bash
|
|
||||||
python -V
|
|
||||||
- script: |
|
- script: |
|
||||||
curl -H Metadata:true --noproxy "*" "http://169.254.169.254/metadata/instance?api-version=2019-06-01"
|
curl -H Metadata:true --noproxy "*" "http://169.254.169.254/metadata/instance?api-version=2019-06-01"
|
||||||
whoami
|
whoami
|
||||||
|
@ -65,23 +65,8 @@ jobs:
|
|||||||
TMP_DIR: /mnt/tmp
|
TMP_DIR: /mnt/tmp
|
||||||
SHARE_DIR: /mount/cinfsshare/onnxtestdata
|
SHARE_DIR: /mount/cinfsshare/onnxtestdata
|
||||||
CCACHE_DIR: $(SHARE_DIR)/ccache/master/linux
|
CCACHE_DIR: $(SHARE_DIR)/ccache/master/linux
|
||||||
LD_LIBRARY_PATH: $(Agent.ToolsDirectory)/Python/$(OV_PYTHON_VERSION)/x64/lib
|
|
||||||
OV_PYTHON_VERSION: 3.10.9 # Newest version of Python 3.10. Full version of Python its required for LD_LIBRARY_PATH and required for successful Task setupPython
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- task: UsePythonVersion@0
|
|
||||||
inputs:
|
|
||||||
versionSpec: '3.10'
|
|
||||||
addToPath: true
|
|
||||||
disableDownloadFromRegistry: false
|
|
||||||
architecture: 'x64'
|
|
||||||
githubToken: $(auth_token)
|
|
||||||
displayName: Setup Python 3.10
|
|
||||||
name: setupPython
|
|
||||||
- bash: |
|
|
||||||
#!/bin/bash
|
|
||||||
python -V
|
|
||||||
|
|
||||||
- script: |
|
- script: |
|
||||||
curl -H Metadata:true --noproxy "*" "http://169.254.169.254/metadata/instance?api-version=2019-06-01"
|
curl -H Metadata:true --noproxy "*" "http://169.254.169.254/metadata/instance?api-version=2019-06-01"
|
||||||
whoami
|
whoami
|
||||||
@ -240,9 +225,6 @@ jobs:
|
|||||||
|
|
||||||
# Skip test_onnx/test_zoo_models and test_onnx/test_backend due to long execution time
|
# Skip test_onnx/test_zoo_models and test_onnx/test_backend due to long execution time
|
||||||
- script: |
|
- script: |
|
||||||
# TODO (vurusovs): revert skip of test_core.py::test_register_plugin*,
|
|
||||||
# test should be fixed
|
|
||||||
export LD_LIBRARY_PATH=$(REPO_DIR)/temp/gna_03.00.00.1910/linux/x64:$(LD_LIBRARY_PATH)
|
|
||||||
python3 -m pytest -s $(INSTALL_TEST_DIR)/pyngraph \
|
python3 -m pytest -s $(INSTALL_TEST_DIR)/pyngraph \
|
||||||
--junitxml=$(INSTALL_TEST_DIR)/TEST-Pyngraph.xml \
|
--junitxml=$(INSTALL_TEST_DIR)/TEST-Pyngraph.xml \
|
||||||
--ignore=$(INSTALL_TEST_DIR)/pyngraph/tests/test_onnx/test_zoo_models.py \
|
--ignore=$(INSTALL_TEST_DIR)/pyngraph/tests/test_onnx/test_zoo_models.py \
|
||||||
@ -257,9 +239,6 @@ jobs:
|
|||||||
export LD_LIBRARY_PATH=$(PYTHON_WHEEL_INSTALL_DIR)/openvino/libs:$(INSTALL_TEST_DIR):$LD_LIBRARY_PATH
|
export LD_LIBRARY_PATH=$(PYTHON_WHEEL_INSTALL_DIR)/openvino/libs:$(INSTALL_TEST_DIR):$LD_LIBRARY_PATH
|
||||||
# For python imports to import pybind_mock_frontend
|
# For python imports to import pybind_mock_frontend
|
||||||
export PYTHONPATH=$(INSTALL_TEST_DIR):$PYTHONPATH
|
export PYTHONPATH=$(INSTALL_TEST_DIR):$PYTHONPATH
|
||||||
# TODO (vurusovs): revert skip of test_core.py::test_register_plugin*,
|
|
||||||
# test should be fixed
|
|
||||||
export LD_LIBRARY_PATH=$(REPO_DIR)/temp/gna_03.00.00.1910/linux/x64:$(LD_LIBRARY_PATH)
|
|
||||||
python3 -m pytest -s $(INSTALL_TEST_DIR)/pyopenvino \
|
python3 -m pytest -s $(INSTALL_TEST_DIR)/pyopenvino \
|
||||||
--junitxml=$(INSTALL_TEST_DIR)/TEST-Pyngraph.xml \
|
--junitxml=$(INSTALL_TEST_DIR)/TEST-Pyngraph.xml \
|
||||||
--ignore=$(INSTALL_TEST_DIR)/pyopenvino/tests/test_utils/test_utils.py \
|
--ignore=$(INSTALL_TEST_DIR)/pyopenvino/tests/test_utils/test_utils.py \
|
||||||
@ -267,9 +246,7 @@ jobs:
|
|||||||
--ignore=$(INSTALL_TEST_DIR)/pyopenvino/tests/test_onnx/test_backend.py -v
|
--ignore=$(INSTALL_TEST_DIR)/pyopenvino/tests/test_onnx/test_backend.py -v
|
||||||
displayName: 'Python API 2.0 Tests'
|
displayName: 'Python API 2.0 Tests'
|
||||||
|
|
||||||
- script: |
|
- script: python3 -m pytest -s $(INSTALL_TEST_DIR)/mo/unit_tests --junitxml=$(INSTALL_TEST_DIR)/TEST-ModelOptimizer.xml
|
||||||
export LD_LIBRARY_PATH=$(REPO_DIR)/temp/gna_03.00.00.1910/linux/x64:$(LD_LIBRARY_PATH)
|
|
||||||
python3 -m pytest -s $(INSTALL_TEST_DIR)/mo/unit_tests --junitxml=$(INSTALL_TEST_DIR)/TEST-ModelOptimizer.xml
|
|
||||||
displayName: 'Model Optimizer UT'
|
displayName: 'Model Optimizer UT'
|
||||||
|
|
||||||
- script: |
|
- script: |
|
||||||
@ -316,6 +293,8 @@ jobs:
|
|||||||
|
|
||||||
- script: |
|
- script: |
|
||||||
$(INSTALL_TEST_DIR)/ov_core_unit_tests --gtest_print_time=1 --gtest_filter=-*IE_GPU* --gtest_output=xml:$(INSTALL_TEST_DIR)/TEST-NGraphUT.xml
|
$(INSTALL_TEST_DIR)/ov_core_unit_tests --gtest_print_time=1 --gtest_filter=-*IE_GPU* --gtest_output=xml:$(INSTALL_TEST_DIR)/TEST-NGraphUT.xml
|
||||||
|
env:
|
||||||
|
LD_LIBRARY_PATH: $(INSTALL_TEST_DIR)
|
||||||
displayName: 'OV Core UT'
|
displayName: 'OV Core UT'
|
||||||
|
|
||||||
- script: |
|
- script: |
|
||||||
|
@ -31,9 +31,6 @@ pr:
|
|||||||
- 'tools/*'
|
- 'tools/*'
|
||||||
- 'tests/layer_tests/*'
|
- 'tests/layer_tests/*'
|
||||||
|
|
||||||
variables:
|
|
||||||
- group: github
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
- job: onnxruntime
|
- job: onnxruntime
|
||||||
timeoutInMinutes: '90'
|
timeoutInMinutes: '90'
|
||||||
@ -55,23 +52,8 @@ jobs:
|
|||||||
BUILD_DIR: $(WORK_DIR)/build
|
BUILD_DIR: $(WORK_DIR)/build
|
||||||
ONNXRUNTIME_UTILS: $(REPO_DIR)/.ci/azure/ci_utils/onnxruntime
|
ONNXRUNTIME_UTILS: $(REPO_DIR)/.ci/azure/ci_utils/onnxruntime
|
||||||
ONNXRUNTIME_BUILD_DIR: $(ONNXRUNTIME_REPO_DIR)/build
|
ONNXRUNTIME_BUILD_DIR: $(ONNXRUNTIME_REPO_DIR)/build
|
||||||
LD_LIBRARY_PATH: $(Agent.ToolsDirectory)/Python/$(OV_PYTHON_VERSION)/x64/lib:$LD_LIBRARY_PATH
|
|
||||||
OV_PYTHON_VERSION: 3.10.9 # Newest version of Python 3.10. Full version of Python its required for LD_LIBRARY_PATH and required for successful Task setupPython
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- task: UsePythonVersion@0
|
|
||||||
inputs:
|
|
||||||
versionSpec: '3.10'
|
|
||||||
addToPath: true
|
|
||||||
disableDownloadFromRegistry: false
|
|
||||||
architecture: 'x64'
|
|
||||||
githubToken: $(auth_token)
|
|
||||||
displayName: Setup Python 3.10
|
|
||||||
name: setupPython
|
|
||||||
- bash: |
|
|
||||||
#!/bin/bash
|
|
||||||
python -V
|
|
||||||
|
|
||||||
- script: |
|
- script: |
|
||||||
curl -H Metadata:true --noproxy "*" "http://169.254.169.254/metadata/instance?api-version=2019-06-01"
|
curl -H Metadata:true --noproxy "*" "http://169.254.169.254/metadata/instance?api-version=2019-06-01"
|
||||||
whoami
|
whoami
|
||||||
|
Loading…
Reference in New Issue
Block a user