From nobody Fri Oct 25 19:26:37 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; envelope-from=patchew-devel-bounces@redhat.com; helo=mx1.redhat.com; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=patchew-devel-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1521898652483117.52569374950838; Sat, 24 Mar 2018 06:37:32 -0700 (PDT) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 792A1C057F85; Sat, 24 Mar 2018 13:37:31 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 6E17117C32; Sat, 24 Mar 2018 13:37:31 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 6502A4CA98; Sat, 24 Mar 2018 13:37:31 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id w2ODbUeh031684 for ; Sat, 24 Mar 2018 09:37:30 -0400 Received: by smtp.corp.redhat.com (Postfix) id 5169960F8D; Sat, 24 Mar 2018 13:37:30 +0000 (UTC) Received: from mx1.redhat.com (ext-mx10.extmail.prod.ext.phx2.redhat.com [10.5.110.39]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 49474842A5 for ; Sat, 24 Mar 2018 13:37:27 +0000 (UTC) Received: from mail-wr0-f176.google.com (mail-wr0-f176.google.com [209.85.128.176]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id CEA9D5D5ED for ; Sat, 24 Mar 2018 13:37:26 +0000 (UTC) Received: by mail-wr0-f176.google.com with SMTP id c24so14667632wrc.6 for ; Sat, 24 Mar 2018 06:37:26 -0700 (PDT) Received: from donizetti.lan (94-36-194-48.adsl-ull.clienti.tiscali.it. [94.36.194.48]) by smtp.gmail.com with ESMTPSA id i78sm3854257wmc.32.2018.03.24.06.37.23 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 24 Mar 2018 06:37:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:subject:date:message-id:in-reply-to:references; bh=M2xoV9cVkbYo9w76AvnYwx6Y+oClmgk7nGr87nHPXCM=; b=JONILd2eF2UVEVGb/D5U4EZb4hy11k59yMDeijWfZObdU3tRyqT15+noweM9iKihFs 9NJ/cTYXwMwWNxF6fPeA2CZyvf3T7F7WShKqg4fOV8JgvIqWYt6gpZ+CD1ihdzcCmU/Y acfkY42YMg0SH1Ok+vBKjPUL37KxLCR+uIYgrzKl234YSgL/QxQli5S78h7YcyKm8ctT naGSBT/Xhgv3nh8CC0JfUg6cI5UKunho/7jKuylzy3jyMpqa+29UxN7d7MgDUMnMjmO7 wKRAEAqW37kYEPyBEDWAVFMxHxDShpeH738FwaRgzoRZO4mSj4pQAO19VrPKKATyugCS 1HqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:subject:date:message-id :in-reply-to:references; bh=M2xoV9cVkbYo9w76AvnYwx6Y+oClmgk7nGr87nHPXCM=; b=UU1J/kqrDVvb3BRlrzq4oQPnoR3Ut3ZF3XOSt6gugNl/wiUgLg8rqWF46uL5l0+GOV G4O+KstuqZK0iz7c+QCKnjlEF1mBYCjvxg3DdqpmhpcG1zjlzPx5DbXCEsVpm4Ssfzge x5rTZCrmtrswokoDs5voxjtwq9kjhUg0P/+fJg0b5pZDHrk6ThItKeCOW/THHj35pmwa OE/WV2oyTObU7RttMmNnr8p0zdvMBBK0EQuWUmSczJVJy9cbvQ9fiPrIvPOYU2zwEquF 14yowT3xJrNqqI8oGdZOO0xVB+zhHrfcSS+xrAQeO1Vv/8zZ62tiFUP7kTG+8e0GFcp6 pBuw== X-Gm-Message-State: AElRT7FYLGW2hz4njvWRmQSiG9XBE08qyup9QQbQNnJ3GTvnOHcGQ6zS R7z1qcjj6EOqU9Tia6TRJbvjipSz X-Google-Smtp-Source: AG47ELvD4lrWpK4ABJ7HJ8wG10Vi1fIhHDhHRW9j3zhT/16h4XB1cgLq0hNB/Jo8F3f5jU0HHY47mw== X-Received: by 10.223.159.79 with SMTP id f15mr27146782wrg.115.1521898645144; Sat, 24 Mar 2018 06:37:25 -0700 (PDT) From: Paolo Bonzini To: patchew-devel@redhat.com Date: Sat, 24 Mar 2018 14:37:14 +0100 Message-Id: <20180324133719.6030-4-pbonzini@redhat.com> In-Reply-To: <20180324133719.6030-1-pbonzini@redhat.com> References: <20180324133719.6030-1-pbonzini@redhat.com> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.39]); Sat, 24 Mar 2018 13:37:27 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.39]); Sat, 24 Mar 2018 13:37:27 +0000 (UTC) for IP:'209.85.128.176' DOMAIN:'mail-wr0-f176.google.com' HELO:'mail-wr0-f176.google.com' FROM:'paolo.bonzini@gmail.com' RCPT:'' X-RedHat-Spam-Score: 0.488 (DKIM_SIGNED, DKIM_VALID, FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_PASS) 209.85.128.176 mail-wr0-f176.google.com 209.85.128.176 mail-wr0-f176.google.com X-RedHat-Possible-Forgery: Paolo Bonzini X-Scanned-By: MIMEDefang 2.78 on 10.5.110.39 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-loop: patchew-devel@redhat.com Subject: [Patchew-devel] [PATCH 3/8] rest: add data to testing results X-BeenThere: patchew-devel@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Patchew development and discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Sender: patchew-devel-bounces@redhat.com Errors-To: patchew-devel-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.32]); Sat, 24 Mar 2018 13:37:31 +0000 (UTC) X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" --- mods/testing.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mods/testing.py b/mods/testing.py index 52407b7..cf22004 100644 --- a/mods/testing.py +++ b/mods/testing.py @@ -284,8 +284,11 @@ class TestingModule(PatchewModule): failed =3D not p["passed"] log_url =3D self.reverse_testing_log(message, tn, request=3Dre= quest, html=3DFalse) passed_str =3D "failure" if failed else "success" + + data =3D p.copy() + del data['passed'] results.append(Result(name=3D'testing.' + tn, status=3Dpassed_= str, log_url=3Dlog_url, - request=3Drequest)) + request=3Drequest, data=3Ddata)) =20 def prepare_message_hook(self, request, message, detailed): if not message.is_series_head: --=20 2.16.2 _______________________________________________ Patchew-devel mailing list Patchew-devel@redhat.com https://www.redhat.com/mailman/listinfo/patchew-devel