Add failure-output option to zuul-nox-py311 job

This uses the new regex-based early detection feature to mark
the nox-py311 job as failing while it's still running.

Change-Id: I3fb23d51ccc02e0db4b288e9f343c6e282af2cb6
This commit is contained in:
James E. Blair 2023-08-28 11:00:16 -07:00
parent e660979a8c
commit 12f9eef44a
1 changed files with 4 additions and 0 deletions

View File

@ -117,6 +117,10 @@
name: zuul-nox-py311
parent: zuul-nox
timeout: 7200 # 120 minutes
failure-output:
# This matches stestr output when a test fails
# {1} tests.unit.test_blah [5.743446s] ... FAILED
- '\{\d+\} (.*?) \[[\d\.]+s\] \.\.\. FAILED'
vars:
nox_keyword: tests