mirror of
https://github.com/ansible/ansible.git
synced 2025-11-30 23:16:08 +07:00
🧪 Set timeouts for CI jobs
Sometimes, AZP would mark steps in jobs as cancelled when they've actually exited successfully but on the boundary of the default 60-minute timeout. Such logs might be difficult to reason about. Additionally, `entry-point.sh` sets a 60-minute timeout for the main test invocation but it would never trigger earlier that AZP would kill such a job as the job-global timeout was 60 minutes already and it'd always be hit earlier than the test runner one. The patch sets maximum observable job timeouts with extra buffer to account for flakiness. PR #86073 Co-authored-by: Matt Clay <matt@mystile.com>
This commit is contained in:
committed by
GitHub
parent
13496b9e11
commit
730af3239d
@@ -7,6 +7,7 @@ jobs:
|
||||
- job: Coverage
|
||||
displayName: Code Coverage
|
||||
container: $[ variables.defaultContainer ]
|
||||
timeoutInMinutes: 10
|
||||
workspace:
|
||||
clean: all
|
||||
steps:
|
||||
|
||||
@@ -12,6 +12,7 @@ jobs:
|
||||
- job: test_${{ replace(replace(replace(replace(job.test, '/', '_'), '.', '_'), '-', '_'), '@', '_') }}
|
||||
displayName: ${{ job.name }}
|
||||
container: $[ variables.defaultContainer ]
|
||||
timeoutInMinutes: 65
|
||||
workspace:
|
||||
clean: all
|
||||
steps:
|
||||
|
||||
Reference in New Issue
Block a user