From patchwork Tue Jun 16 16:58:09 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ian Jackson X-Patchwork-Id: 11608309 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 3EE786A2 for ; Tue, 16 Jun 2020 17:04:06 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 26BBE208E4 for ; Tue, 16 Jun 2020 17:04:06 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 26BBE208E4 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=eu.citrix.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jlEya-0002bB-4V; Tue, 16 Jun 2020 17:02:20 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jlEyZ-0002ar-Qp for xen-devel@lists.xenproject.org; Tue, 16 Jun 2020 17:02:19 +0000 X-Inumbo-ID: 1fd91f62-aff3-11ea-b7bb-bc764e2007e4 Received: from chiark.greenend.org.uk (unknown [2001:ba8:1e3::]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 1fd91f62-aff3-11ea-b7bb-bc764e2007e4; Tue, 16 Jun 2020 17:02:14 +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 1jlEyS-00084x-Vw; Tue, 16 Jun 2020 18:02:13 +0100 From: Ian Jackson To: xen-devel@lists.xenproject.org Subject: [OSSTEST PATCH 1/4] standalone: Fix spurious ] Date: Tue, 16 Jun 2020 17:58:09 +0100 Message-Id: <20200616165812.25380-1-ian.jackson@eu.citrix.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 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 , Paul Durrant Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" This looks like this was once a call to test(1). ssh-add, as it happens, seems to ignore this spuriuous `]' (!) so there isn't any significant change. Signed-off-by: Ian Jackson --- standalone | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/standalone b/standalone index 977ad50c..b51acf7b 100755 --- a/standalone +++ b/standalone @@ -136,7 +136,7 @@ if [ ! -r "$WebspaceLog" ] ; then echo "WARNING: Cannot read apache logs at $WebspaceLog. Some tests may fail" >&2 fi -if ! ssh-add -l >/dev/null ] ; then +if ! ssh-add -l >/dev/null ; then echo "WARNING: Unable to access ssh-agent. Some tests may fail" >&2 fi From patchwork Tue Jun 16 16:58:10 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ian Jackson X-Patchwork-Id: 11608307 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id E876F6A2 for ; Tue, 16 Jun 2020 17:04:04 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id CFC8D21508 for ; Tue, 16 Jun 2020 17:04:04 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org CFC8D21508 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=eu.citrix.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jlEyW-0002az-Ss; Tue, 16 Jun 2020 17:02:16 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jlEyU-0002ar-Vv for xen-devel@lists.xenproject.org; Tue, 16 Jun 2020 17:02:15 +0000 X-Inumbo-ID: 1ffde70c-aff3-11ea-b7bb-bc764e2007e4 Received: from chiark.greenend.org.uk (unknown [2001:ba8:1e3::]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 1ffde70c-aff3-11ea-b7bb-bc764e2007e4; Tue, 16 Jun 2020 17:02:14 +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 1jlEyT-00084x-8A; Tue, 16 Jun 2020 18:02:13 +0100 From: Ian Jackson To: xen-devel@lists.xenproject.org Subject: [OSSTEST PATCH 2/4] standalone-generate-dump-flight-runvars: mkdir -p logs Date: Tue, 16 Jun 2020 17:58:10 +0100 Message-Id: <20200616165812.25380-2-ian.jackson@eu.citrix.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200616165812.25380-1-ian.jackson@eu.citrix.com> References: <20200616165812.25380-1-ian.jackson@eu.citrix.com> MIME-Version: 1.0 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 , Paul Durrant Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Otherwise if logs doesn't exist, the code in `standalone' which is eventually called to build each flight will try to do it - but that code is not idempotent in the presence of other racing copies of itself. Rather than trusting mkdir -p there, do it here. No change other than to this dev-debugging script. Signed-off-by: Ian Jackson --- standalone-generate-dump-flight-runvars | 1 + 1 file changed, 1 insertion(+) diff --git a/standalone-generate-dump-flight-runvars b/standalone-generate-dump-flight-runvars index 3b893623..5c93b0af 100755 --- a/standalone-generate-dump-flight-runvars +++ b/standalone-generate-dump-flight-runvars @@ -53,6 +53,7 @@ if [ "x$AP_FETCH_PLACEHOLDERS" != xy ]; then mkdir tmp/apmemo fi export AP_FETCH_PFX='./memoise tmp/apmemo' + mkdir -p logs fi # In the future it might be nice for this script to arrange to use a From patchwork Tue Jun 16 16:58:11 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ian Jackson X-Patchwork-Id: 11608311 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id AA15D138C for ; Tue, 16 Jun 2020 17:04:12 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 91BE3208E4 for ; Tue, 16 Jun 2020 17:04:12 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 91BE3208E4 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=eu.citrix.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jlEyf-0002by-Dc; Tue, 16 Jun 2020 17:02:25 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jlEye-0002ar-Qu for xen-devel@lists.xenproject.org; Tue, 16 Jun 2020 17:02:24 +0000 X-Inumbo-ID: 2028ce7c-aff3-11ea-bb8b-bc764e2007e4 Received: from chiark.greenend.org.uk (unknown [2001:ba8:1e3::]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 2028ce7c-aff3-11ea-bb8b-bc764e2007e4; Tue, 16 Jun 2020 17:02:14 +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 1jlEyT-00084x-HW; Tue, 16 Jun 2020 18:02:13 +0100 From: Ian Jackson To: xen-devel@lists.xenproject.org Subject: [OSSTEST PATCH 3/4] standalone: Do not complain about ssh if AP_FETCH_PLACEHOLDERS=y Date: Tue, 16 Jun 2020 17:58:11 +0100 Message-Id: <20200616165812.25380-3-ian.jackson@eu.citrix.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200616165812.25380-1-ian.jackson@eu.citrix.com> References: <20200616165812.25380-1-ian.jackson@eu.citrix.com> MIME-Version: 1.0 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 , Paul Durrant Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" In this case, there is no need to ssh anywhere. No change other than in dev-debugging setups. Signed-off-by: Ian Jackson --- standalone | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/standalone b/standalone index b51acf7b..9553d6c9 100755 --- a/standalone +++ b/standalone @@ -136,7 +136,7 @@ if [ ! -r "$WebspaceLog" ] ; then echo "WARNING: Cannot read apache logs at $WebspaceLog. Some tests may fail" >&2 fi -if ! ssh-add -l >/dev/null ; then +if [ "x$AP_FETCH_PLACEHOLDERS" != x ] && ! ssh-add -l >/dev/null ; then echo "WARNING: Unable to access ssh-agent. Some tests may fail" >&2 fi From patchwork Tue Jun 16 16:58:12 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ian Jackson X-Patchwork-Id: 11608305 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 8BF166A2 for ; Tue, 16 Jun 2020 17:02:49 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 73CB82098B for ; Tue, 16 Jun 2020 17:02:49 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 73CB82098B Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=eu.citrix.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jlEyk-0002dQ-Md; Tue, 16 Jun 2020 17:02:30 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jlEyj-0002ar-Qu for xen-devel@lists.xenproject.org; Tue, 16 Jun 2020 17:02:29 +0000 X-Inumbo-ID: 204ab9c4-aff3-11ea-8496-bc764e2007e4 Received: from chiark.greenend.org.uk (unknown [2001:ba8:1e3::]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 204ab9c4-aff3-11ea-8496-bc764e2007e4; Tue, 16 Jun 2020 17:02:14 +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 1jlEyT-00084x-Qv; Tue, 16 Jun 2020 18:02:13 +0100 From: Ian Jackson To: xen-devel@lists.xenproject.org Subject: [OSSTEST PATCH 4/4] make-flight: Test Xen 4.9 and Xen 4.10 on stretch Date: Tue, 16 Jun 2020 17:58:12 +0100 Message-Id: <20200616165812.25380-4-ian.jackson@eu.citrix.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200616165812.25380-1-ian.jackson@eu.citrix.com> References: <20200616165812.25380-1-ian.jackson@eu.citrix.com> MIME-Version: 1.0 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 , Paul Durrant Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Xen 4.9 doesn't build on buster and won't be fixed for that. Xen 4.10's "-prev" migration tests also fail for the same reason. There is a (smallish) risk that Debian will break stretch before Xen 4.10 goes completely out of support from the Xen Project. If that happens we could revert this - but then the 4.10 -prev jobs will stop building. Xen 4.9 is nearly out of security support, so for the 4.9 tests this is a no-brainer. I have checked the runvar diff. The results are to change all_host_di_version [*] all_host_suite all_hostflags debian_suite debianhvm_suite host_hostflags in many jobs in qemu-upstream-4.9-testing qemu-upstream-4.10-testing xen-4.9-testing xen-4.10-testing [*] this is not visible in standalone-generate-dump-flight-runvars because it always just uses `current'. This command produces no output: diff -ub a <(perl -pe 's/stretch/buster/g' c) (where `a' is before and `c' is after.) Signed-off-by: Ian Jackson --- make-flight | 2 ++ 1 file changed, 2 insertions(+) diff --git a/make-flight b/make-flight index a361bcb1..836bc31c 100755 --- a/make-flight +++ b/make-flight @@ -41,6 +41,8 @@ case "$xenbranch" in xen-4.1-testing) defsuite="wheezy"; defguestsuite="wheezy";; xen-4.2-testing) defsuite="wheezy"; defguestsuite="wheezy";; xen-4.3-testing) defsuite="wheezy"; defguestsuite="wheezy";; + xen-4.9-testing) defsuite="stretch"; defguestsuite="stretch";; + xen-4.10-testing) defsuite="stretch"; defguestsuite="stretch";; *) defsuite=`getconfig DebianSuite` defguestsuite=`getconfig GuestDebianSuite`