From nobody Fri Apr 19 23:05:53 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail(p=none dis=none) header.from=eu.citrix.com ARC-Seal: i=1; a=rsa-sha256; t=1589466018; cv=none; d=zohomail.com; s=zohoarc; b=B3jvEh8lxPKHYWU7HHHTLjyAc84s4BWu9FCSJ/Un8WHf7/Bc8qJg18f1mj1rtEZBCVrv3Se2Os0nwyJUmrk2JwFTFwwWvIx6aqVHDo/hf08hqskQZ5Ra+B3eW6rwasd4SrTGXxtm2eyuNBte7GSBDjkLZ7X7s+DrrKjRPJIDwd8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1589466018; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=hG+XfW1r6+NpTUYW3F8yafcvjS56hL0pPQ0Gf2LVGoc=; b=joWkw8a5wM5g8vk3HNbeqcwB/tEOsf9+A5H1YtuWOruf0HGJay5E0knSPHpqbRBKlOZwUfMYuan8TpNPXPxhsyeM9ZWMVeI6nBJz0/7KFAe2OldqeZGbGy+SSqYUM53l9ou28VyZ790eUA5s71+vO7vw9w7WGroPE5jOkNN1vFE= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1589466018620608.8175872290718; Thu, 14 May 2020 07:20:18 -0700 (PDT) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jZEiP-0007QT-Cs; Thu, 14 May 2020 14:20:01 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jZEiO-0007QM-Jy for xen-devel@lists.xenproject.org; Thu, 14 May 2020 14:20:00 +0000 Received: from chiark.greenend.org.uk (unknown [2001:ba8:1e3::3]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id fbb2d6ce-95ed-11ea-9887-bc764e2007e4; Thu, 14 May 2020 14:19:55 +0000 (UTC) Received: from [172.18.45.5] (helo=zealot.relativity.greenend.org.uk) by chiark.greenend.org.uk (Debian Exim 4.84_2 #1) with esmtp (return-path ijackson@chiark.greenend.org.uk) id 1jZEiI-0004pf-Ma; Thu, 14 May 2020 15:19:54 +0100 X-Inumbo-ID: fbb2d6ce-95ed-11ea-9887-bc764e2007e4 From: Ian Jackson To: xen-devel@lists.xenproject.org Subject: [OSSTEST PATCH 1/4] Executive: Do not print "shared ... marked ready" when not shared Date: Thu, 14 May 2020 15:19:48 +0100 Message-Id: <20200514141951.29371-2-ian.jackson@eu.citrix.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200514141951.29371-1-ian.jackson@eu.citrix.com> References: <20200514141951.29371-1-ian.jackson@eu.citrix.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Ian Jackson Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Content-Type: text/plain; charset="utf-8" Signed-off-by: Ian Jackson --- Osstest/Executive.pm | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Osstest/Executive.pm b/Osstest/Executive.pm index e741f529..c3dc1261 100644 --- a/Osstest/Executive.pm +++ b/Osstest/Executive.pm @@ -1017,11 +1017,12 @@ sub executive_resource_shared_mark_ready ($$$) { my ($restype, $resname, $sharetype) =3D @_; # must run outside transaction =20 + my $oldshr; my $what=3D "resource $restype $resname"; $sharetype .=3D ' '.get_harness_rev(); =20 db_retry($dbh_tests, [qw(resources)], sub { - my $oldshr=3D resource_check_allocated_core($restype, $resname); + $oldshr=3D resource_check_allocated_core($restype, $resname); if (defined $oldshr) { die "$what shared $oldshr->{Type} not $sharetype" unless $oldshr->{Type} eq $sharetype; @@ -1053,7 +1054,11 @@ END }) { logm("post-mark-ready queue daemon prod failed: $@"); } - logm("$restype $resname shared $sharetype marked ready"); + if ($oldshr) { + logm("$restype $resname shared $sharetype marked ready"); + } else { + logm("$restype $resname (not shared, $sharetype) is ready"); + } } =20 # hostalloc_maxwait_starvation --=20 2.20.1 From nobody Fri Apr 19 23:05:53 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail(p=none dis=none) header.from=eu.citrix.com ARC-Seal: i=1; a=rsa-sha256; t=1589466020; cv=none; d=zohomail.com; s=zohoarc; b=lOmIrAfX6jbP4QlBMuxcTvaYtZ6h7kirAgR1weej0kp5zPO83tLQmQ3JrX0cvCsTZzDLc3pGNfRwxiLNdx0vMsNBhyqFcTFIJfN/FZVovkwM9oehtwEIhe9H7sICPfW3pbHhen36eIuKQxfZQA/UxQOSCQpoW3ASvKUBgOJo8zo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1589466020; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=CFAnOdDHV/AhxfLVngxm0G46PtA74qdjjKGWsGqJKp8=; b=jhb+BOXXESDfMpB7WejqVz9Od17k1mSboVZTXsk/aiWIlSeqV/tRb1Qi7B84jU2T1EDTCFoo7V7CP9yubsTmHCITd8bWZ77W3sU/9hLPf6k97xVDdSXgU6cdSoEuwVCo2nGfjfDH/GXPrsk+l6+1b6p3eleMYAvU9AP95hlNJuY= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1589466020262384.168849432627; Thu, 14 May 2020 07:20:20 -0700 (PDT) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jZEiU-00081v-PW; Thu, 14 May 2020 14:20:06 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jZEiT-0007x7-JE for xen-devel@lists.xenproject.org; Thu, 14 May 2020 14:20:05 +0000 Received: from chiark.greenend.org.uk (unknown [2001:ba8:1e3::3]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id fbe02a0c-95ed-11ea-ae69-bc764e2007e4; Thu, 14 May 2020 14:19:55 +0000 (UTC) Received: from [172.18.45.5] (helo=zealot.relativity.greenend.org.uk) by chiark.greenend.org.uk (Debian Exim 4.84_2 #1) with esmtp (return-path ijackson@chiark.greenend.org.uk) id 1jZEiI-0004pf-Tl; Thu, 14 May 2020 15:19:55 +0100 X-Inumbo-ID: fbe02a0c-95ed-11ea-ae69-bc764e2007e4 From: Ian Jackson To: xen-devel@lists.xenproject.org Subject: [OSSTEST PATCH 2/4] ts-repeat-test: Honour repeat_mult Date: Thu, 14 May 2020 15:19:49 +0100 Message-Id: <20200514141951.29371-3-ian.jackson@eu.citrix.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200514141951.29371-1-ian.jackson@eu.citrix.com> References: <20200514141951.29371-1-ian.jackson@eu.citrix.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Ian Jackson Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Content-Type: text/plain; charset="utf-8" Nothing automatic uses repeat_mult but this script should definitely honour it. Signed-off-by: Ian Jackson --- ts-repeat-test | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ts-repeat-test b/ts-repeat-test index 4625add8..e6b52465 100755 --- a/ts-repeat-test +++ b/ts-repeat-test @@ -51,6 +51,10 @@ my $dumper =3D new Data::Dumper [\@cmdis], [qw(*cmdis)]; $dumper->Indent(0); print $dumper->Dump,"\n"; =20 +my $times =3D $r{repeat_mult} || 1; +my $orgreps =3D $reps; +$reps *=3D $times; + foreach my $rep (1..$reps) { logm("=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D rep $rep =3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D"); foreach my $cmdi (@cmdis) { --=20 2.20.1 From nobody Fri Apr 19 23:05:53 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail(p=none dis=none) header.from=eu.citrix.com ARC-Seal: i=1; a=rsa-sha256; t=1589466026; cv=none; d=zohomail.com; s=zohoarc; b=HhjX33mKSGcSGAC1cmoyiR//Lqslqme+o1swDwlHvocYaq9rHkElIEl7PC/gIRqKnDD+wZEikb0hMPOm8eLlJckTv5Hlnasxn2/frLWrjSjCq9iYz4hqSXrEMnQYrgbXV2DKPlfIjOow9e+0UUy+soIv1Pl+1z2oDvYa1DG0E2c= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1589466026; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=BE+XKSOMbLvgbR9b5M1SBgzpAEtTF4ICvX7QJ124xQU=; b=SFymJK9y13n4SQlcTskTjZMDgJMx5WfO+3fs4F+ur0GYoQsolf6rrnY97b6nUCQVFYHQvphfuIX0Yzntlx8dgnmwEk6leNheSTYZ3wFJSgmvIPfvApOQNwDE6h8YbYogh6APsyTxxLrbEZp80NLdwclX3TiHEvE377U24QMj1ek= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1589466026236646.9763899564263; Thu, 14 May 2020 07:20:26 -0700 (PDT) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jZEia-00087L-3R; Thu, 14 May 2020 14:20:12 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jZEiY-00086y-Jq for xen-devel@lists.xenproject.org; Thu, 14 May 2020 14:20:10 +0000 Received: from chiark.greenend.org.uk (unknown [2001:ba8:1e3::3]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id fc0457ec-95ed-11ea-9887-bc764e2007e4; Thu, 14 May 2020 14:19:56 +0000 (UTC) Received: from [172.18.45.5] (helo=zealot.relativity.greenend.org.uk) by chiark.greenend.org.uk (Debian Exim 4.84_2 #1) with esmtp (return-path ijackson@chiark.greenend.org.uk) id 1jZEiJ-0004pf-85; Thu, 14 May 2020 15:19:55 +0100 X-Inumbo-ID: fc0457ec-95ed-11ea-9887-bc764e2007e4 From: Ian Jackson To: xen-devel@lists.xenproject.org Subject: [OSSTEST PATCH 3/4] ts-repeat-test: Show total planned repeat count info Date: Thu, 14 May 2020 15:19:50 +0100 Message-Id: <20200514141951.29371-4-ian.jackson@eu.citrix.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200514141951.29371-1-ian.jackson@eu.citrix.com> References: <20200514141951.29371-1-ian.jackson@eu.citrix.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Ian Jackson Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Content-Type: text/plain; charset="utf-8" Message change only Signed-off-by: Ian Jackson --- ts-repeat-test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts-repeat-test b/ts-repeat-test index e6b52465..5e17c335 100755 --- a/ts-repeat-test +++ b/ts-repeat-test @@ -56,7 +56,7 @@ my $orgreps =3D $reps; $reps *=3D $times; =20 foreach my $rep (1..$reps) { - logm("=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D rep $rep =3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D"); + logm("=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D rep $rep / $reps ($orgreps x $tim= es) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D"); foreach my $cmdi (@cmdis) { my $l =3D $cmdi->{L}; logm("---------- rep $rep @$l ----------"); --=20 2.20.1 From nobody Fri Apr 19 23:05:53 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail(p=none dis=none) header.from=eu.citrix.com ARC-Seal: i=1; a=rsa-sha256; t=1589466034; cv=none; d=zohomail.com; s=zohoarc; b=mNl/8EGZ2mAHwUneVs7nnSqUFI5IH7l1OitZFHbojI09I8VDI/Cz2OIxlryf5TRnV7HMr8uaFwpXsbMhpsmXX23VOtJhXYApSfi7WEdmIJ8wTuVs6u0d2FcVsLjUc+FYKg/Jj1R2KmGJz57m43vjZ/BvW5PMdIBO03NqR9C3FAY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1589466034; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=Rwukh0C23wrYsEfL0HUixpdrxREKLQ4Q6eCr394odq8=; b=CDwvPWPLmu4didhYQ5vJ3rm7uF/ypc7a2QlgsHsUtr63bVC4bxuMVSTLOkj9IzivWT6La6GdXVpvjFijkXSVh73/b3DTMqjaPph8S6fAb9gc2Prf1mmq0YmTubY2LrZz4dw8A0fxzt3aOBi6PWKoYlT1u+IcJqXDkdp7TS8rmJY= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1589466034185545.7342446287147; Thu, 14 May 2020 07:20:34 -0700 (PDT) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jZEif-0008A0-Bg; Thu, 14 May 2020 14:20:17 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jZEid-00089E-Kg for xen-devel@lists.xenproject.org; Thu, 14 May 2020 14:20:15 +0000 Received: from chiark.greenend.org.uk (unknown [2001:ba8:1e3::3]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id fc289710-95ed-11ea-ae69-bc764e2007e4; Thu, 14 May 2020 14:19:56 +0000 (UTC) Received: from [172.18.45.5] (helo=zealot.relativity.greenend.org.uk) by chiark.greenend.org.uk (Debian Exim 4.84_2 #1) with esmtp (return-path ijackson@chiark.greenend.org.uk) id 1jZEiJ-0004pf-Fi; Thu, 14 May 2020 15:19:55 +0100 X-Inumbo-ID: fc289710-95ed-11ea-ae69-bc764e2007e4 From: Ian Jackson To: xen-devel@lists.xenproject.org Subject: [OSSTEST PATCH 4/4] TestSupport: honour OSSTEST_PDU_MANUAL override env var Date: Thu, 14 May 2020 15:19:51 +0100 Message-Id: <20200514141951.29371-5-ian.jackson@eu.citrix.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200514141951.29371-1-ian.jackson@eu.citrix.com> References: <20200514141951.29371-1-ian.jackson@eu.citrix.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Ian Jackson Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Content-Type: text/plain; charset="utf-8" This takes effect on everything that uses selecthost(). The result is that PDU operations are made manual. This can be useful for testing etc. Signed-off-by: Ian Jackson --- Osstest/TestSupport.pm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Osstest/TestSupport.pm b/Osstest/TestSupport.pm index 3700a8fe..1e7da676 100644 --- a/Osstest/TestSupport.pm +++ b/Osstest/TestSupport.pm @@ -1059,6 +1059,12 @@ sub power_cycle_host_setup ($) { MethObjs =3D> power_cycle_parse_method($ho, $spec), }; } + if ($ENV{OSSTEST_PDU_MANUAL}) { + @approaches =3D ({ + Name =3D> 'manual-override', + MethObjs =3D> power_cycle_parse_method($ho, 'manual'), + }); + } $ho->{PowerApproaches} =3D \@approaches; } =20 --=20 2.20.1