All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ian Jackson <iwj@xenproject.org>
To: xen-devel@lists.xenproject.org
Cc: Ian Jackson <iwj@xenproject.org>
Subject: [OSSTEST PATCH 07/13] sg-run-job: Do not set a step status to pass unless it's running
Date: Mon,  6 Dec 2021 18:18:33 +0000	[thread overview]
Message-ID: <20211206181839.23463-8-iwj@xenproject.org> (raw)
In-Reply-To: <20211206181839.23463-1-iwj@xenproject.org>

This avoids skip etc. being treated as pass.

Signed-off-by: Ian Jackson <iwj@xenproject.org>
---
 tcl/JobDB-Executive.tcl | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tcl/JobDB-Executive.tcl b/tcl/JobDB-Executive.tcl
index 38248823e..8e0062f59 100644
--- a/tcl/JobDB-Executive.tcl
+++ b/tcl/JobDB-Executive.tcl
@@ -326,6 +326,7 @@ proc step-set-status {flight job stepno st} {
                AND status<>'broken'
                AND status<>'starved'
                AND status<>'fail'
+               AND NOT ('$st' = 'pass' AND status <> 'running')
         "
         set pause 0
         db-execute-array stopinfo "
-- 
2.20.1



  parent reply	other threads:[~2021-12-06 18:19 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-06 18:18 [OSSTEST PATCH 00/13] Miscellaneous improvements Ian Jackson
2021-12-06 18:18 ` [OSSTEST PATCH 01/13] make-flight: do_examine_one: add firmware argument Ian Jackson
2021-12-06 18:18 ` [OSSTEST PATCH 02/13] ts-memdisk-try-append: Reindent (nfc) Ian Jackson
2021-12-06 18:18 ` [OSSTEST PATCH 03/13] ts-memdisk-try-append: Enable perl warnings Ian Jackson
2021-12-06 18:18 ` [OSSTEST PATCH 04/13] ts-memdisk-try-append: More defensive case test Ian Jackson
2021-12-06 18:18 ` [OSSTEST PATCH 05/13] examination: skip memdisk on non-BIOS hosts, run per-firmware on x86 Ian Jackson
2021-12-06 18:18 ` [OSSTEST PATCH 06/13] starvation: Only count "pass" and "fail" as done jobs Ian Jackson
2021-12-06 18:18 ` Ian Jackson [this message]
2021-12-06 18:18 ` [OSSTEST PATCH 08/13] TestSupport: sub broken: break out "$msg" Ian Jackson
2021-12-06 18:18 ` [OSSTEST PATCH 09/13] TestSupport: sub broken: Add a newline Ian Jackson
2021-12-06 18:18 ` [OSSTEST PATCH 10/13] TestSupport: sub broken: exit with status 0 for skip Ian Jackson
2021-12-06 18:18 ` [OSSTEST PATCH 11/13] TestSupport: sub broken: document that it does not return Ian Jackson
2021-12-06 18:18 ` [OSSTEST PATCH 12/13] ts-memdisk-try-append: Fix for fact that broken() " Ian Jackson
2021-12-06 18:18 ` [OSSTEST PATCH 13/13] ts-xen-install: enable timestamp on guests logs Ian Jackson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211206181839.23463-8-iwj@xenproject.org \
    --to=iwj@xenproject.org \
    --cc=xen-devel@lists.xenproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.