onnxruntime/tools/ci_build/github/azure-pipelines/templates/py-packaging-linux-test.yml
Yi Zhang 2a82f95040
Increase package python test pipeline timeout limit (#14288)
### Description
Increase python test pipeline timeout limit. 
So far, It's a known issue for tensortRT8.5.
2023-01-14 13:46:09 +08:00

60 lines
1.6 KiB
YAML

parameters:
- name: arch
type: string
- name: device
type: string
- name: machine_pool
type: string
- name: extra_job_id
type: string
default: ''
- name: python_wheel_suffix
type: string
default: ''
jobs:
- job: Linux_Test_${{ parameters.device }}${{ parameters.extra_job_id }}_${{ parameters.arch }}
timeoutInMinutes: 360
variables:
skipComponentGovernanceDetection: true
workspace:
clean: all
pool: ${{ parameters.machine_pool }}
steps:
- task: DownloadPipelineArtifact@2
displayName: 'Download Pipeline Artifact'
inputs:
preferTriggeringPipeline: true
artifactName: 'drop-linux-${{ lower(parameters.device) }}-${{ parameters.arch }}'
targetPath: '$(Build.BinariesDirectory)/Release'
runVersion: 'latest'
buildType: specific
project: '530acbc4-21bc-487d-8cd8-348ff451d2ff'
definition: 841
- task: DownloadPipelineArtifact@2
displayName: 'Download Pipeline Artifact'
inputs:
preferTriggeringPipeline: true
artifactName: 'onnxruntime${{ parameters.python_wheel_suffix }}'
targetPath: '$(Build.BinariesDirectory)/whl'
runVersion: 'latest'
buildType: specific
project: '530acbc4-21bc-487d-8cd8-348ff451d2ff'
definition: 841
- task: Bash@3
displayName: 'Bash Script'
inputs:
targetType: filePath
filePath: tools/ci_build/github/linux/run_python_tests.sh
arguments: -d ${{ parameters.device }}
- task: mspremier.PostBuildCleanup.PostBuildCleanup-task.PostBuildCleanup@3
displayName: 'Clean Agent Directories'
condition: always()