From nobody Mon Apr 29 08:51:46 2024 Delivered-To: importer@patchew.org Received-SPF: none (zoho.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; spf=none (zoho.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org ARC-Seal: i=1; a=rsa-sha256; t=1555519159; cv=none; d=zoho.com; s=zohoarc; b=cJ1uYww5sdGGSfPrKn6j/NtsfAzf1UmYY1peRsJll6LNb8JhW+9h+re5njehNRfTOtSr/FhXe6E7WY83OBc6s0vwdKNDWDZ5KhQC4Ox7zrUd4xqvS1N1R3KvSdPbZd6uCV+iLo4pCy4Rmcab0hSes43s6LUL3572bIvPSjK8Yoo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1555519159; h=Content-Type: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:ARC-Authentication-Results; bh=tO5imKzqxddYz6u43N1AuJFVZEWqxtOM3b4Oqconnws=; b=fTSBhs5iYiXSZb4ikPmJiIRJ5wyMhoglX1goSQe1RLRvGT3L+IKV9PSfq54uBNTgLGah/7sThn2XrRV7VgLvJy4+N7UwIV5yA92w1vwZIHexnCIay8QfJm/4xhiNU7YxuUf+jAgVTp9ZeUgFVohgSsEUsUnoYa09R0twxSWMRvE= ARC-Authentication-Results: i=1; mx.zoho.com; spf=none (zoho.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1555519159157697.3948068757587; Wed, 17 Apr 2019 09:39:19 -0700 (PDT) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1hGnZT-0005Bo-U9; Wed, 17 Apr 2019 16:38:03 +0000 Received: from us1-rack-dfw2.inumbo.com ([104.130.134.6]) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1hGnZS-0005BA-6h for xen-devel@lists.xenproject.org; Wed, 17 Apr 2019 16:38:02 +0000 Received: from SMTP03.CITRIX.COM (unknown [162.221.156.55]) by us1-rack-dfw2.inumbo.com (Halon) with ESMTPS id 2a7b12b0-612f-11e9-92d7-bc764e045a96; Wed, 17 Apr 2019 16:38:01 +0000 (UTC) X-Inumbo-ID: 2a7b12b0-612f-11e9-92d7-bc764e045a96 X-IronPort-AV: E=Sophos;i="5.60,362,1549929600"; d="scan'208";a="83816818" From: Ian Jackson To: Date: Wed, 17 Apr 2019 17:37:48 +0100 Message-ID: <20190417163752.994-2-ian.jackson@eu.citrix.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20190417163752.994-1-ian.jackson@eu.citrix.com> References: <20190417163752.994-1-ian.jackson@eu.citrix.com> MIME-Version: 1.0 Subject: [Xen-devel] [OSSTEST PATCH v2 1/5] debianhvm tests: Re-permute guest architecture X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Wei Liu , Ian Jackson , Andrew Cooper Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Firstly, change the smoke flight to use amd64, not i386. Secondly, make the other flights have a mixture of i386 and amd64, not just amd64. It was always wrong to test only one guest architecture in the main flights. The context for changing the smoke flight is that there seems to be a problem affecting Debian i386 guests. This is rather a nuisance but it is not a Xen regression so we probably want to do an amd64 guest instead so we have some HVM tests in the smoke flights. Checked with standalone-generate-dump-flight-runvars. Differences are as follows: 1. Generally, to change the guest arch from amd64 to i386 in: test-amd64-amd64-xl-qemut-debianhvm-{amd64,i386}-xsm test-amd64-amd64-xl-qemuu-debianhvm-{amd64,i386}-xsm test-amd64-i386-xl-qemut-debianhvm-{amd64,i386}-xsm test-amd64-i386-xl-qemuu-debianhvm-{amd64,i386}-xsm This occurs in all the usual flights. 2. To change the guest arch from i386 to amd64 in: xen-unstable-smoke test-amd64-amd64-xl-qemuu-debianhvm-i386 In all cases, this implies a variety of changes to runvars, including the ISO to be used, the install timeout, etc. Usually I would introduce new jobs first, and then, after an overlap, remove old ones. But the regression, due to the i386 hvm stretch problem, is already with us. I expect this change to unblock the xen-unstable-smoke flights by dropping the failing job and replacing it with a passing one. The other flights will now start to fail, though. I will need, separately, to develop a workaround for the stretch i386 hvm guest bug. CC: Wei Liu CC: Andrew Cooper Acked-by: Juergen Gross Signed-off-by: Ian Jackson --- make-flight | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/make-flight b/make-flight index 92dacb35..c5411412 100755 --- a/make-flight +++ b/make-flight @@ -115,7 +115,7 @@ job_create_test_filter_callback () { test-amd64-amd64-libvirt) return 0 ;; test-armhf-armhf-xl) return 0 ;; test-arm64-arm64-xl-xsm) return 0 ;; - test-amd64-amd64-xl-qemuu-debianhvm-i386) return 0 ;; + test-amd64-amd64-xl-qemuu-debianhvm-amd64) return 0 ;; *) return 1 ;; esac ;; @@ -352,8 +352,13 @@ do_hvm_debian_nested_tests () { =20 branch_debianhvm_arch () { case $branch in - xen-unstable-smoke) echo i386;; - *) echo amd64;; + xen-unstable-smoke) echo amd64;; + *) + stripy debianhvm_arch amd64 i386 \ + "$xsm" true \ + "$toolstack" xl \ + "$stubdom" '' + echo $debianhvm_arch;; esac } =20 --=20 2.11.0 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel From nobody Mon Apr 29 08:51:46 2024 Delivered-To: importer@patchew.org Received-SPF: none (zoho.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; spf=none (zoho.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org ARC-Seal: i=1; a=rsa-sha256; t=1555519159; cv=none; d=zoho.com; s=zohoarc; b=nvPs8tm+3/pOxTtydtkF0Amf0Qf5mWuRT1eNIIxLtPyACO+Q5LYMA+46XJex5W3PvsYQIrhRB0KKsEXHyvBKX3EiOgPlwmYoCA/he8p9/r4NgCmSVRclw/a2Wy3ANhD0t1ilhrdpjpfBmmxvR9g+MZZbjCsKN6Wg2cUD0LP0y04= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1555519159; h=Content-Type: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:ARC-Authentication-Results; bh=7RJ6fe54JFP1qHp8zkNiqcvbxUmUsEMFfDE6xeTM0do=; b=GyNXgFVCCOBGpmLEEoXW9qPkwJlxQM5FMUSSsGlHNl5QoWX464L4dldyW7R//9UdTZ4YrSoz9T56Fbq3ZVsdECUwXIlwq36kr7EXyjLApccJsGU6YGnNtRF9JLWoIUTPh65n3mS3NfBoIVrs7SpFf1NANjftR1dSbNiaorM1nkc= ARC-Authentication-Results: i=1; mx.zoho.com; spf=none (zoho.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1555519159565181.91510252194462; Wed, 17 Apr 2019 09:39:19 -0700 (PDT) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1hGnZR-0005At-O6; Wed, 17 Apr 2019 16:38:01 +0000 Received: from all-amaz-eas1.inumbo.com ([34.197.232.57] helo=us1-amaz-eas2.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1hGnZQ-0005Ah-GU for xen-devel@lists.xenproject.org; Wed, 17 Apr 2019 16:38:00 +0000 Received: from SMTP03.CITRIX.COM (unknown [162.221.156.55]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id 27f3f3fc-612f-11e9-81a0-c3374dea2f6c; Wed, 17 Apr 2019 16:37:57 +0000 (UTC) X-Inumbo-ID: 27f3f3fc-612f-11e9-81a0-c3374dea2f6c X-IronPort-AV: E=Sophos;i="5.60,362,1549929600"; d="scan'208";a="83816804" From: Ian Jackson To: Date: Wed, 17 Apr 2019 17:37:49 +0100 Message-ID: <20190417163752.994-3-ian.jackson@eu.citrix.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20190417163752.994-1-ian.jackson@eu.citrix.com> References: <20190417163752.994-1-ian.jackson@eu.citrix.com> MIME-Version: 1.0 Subject: [Xen-devel] [OSSTEST PATCH v2 2/5] mg-repro-setup: Allow, and advertise, ^ for unsetting runvars X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Ian Jackson Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" This avoids any possible problems with shells misinterpreting ! and is consistent with the other recent changes replacing ! for negation with ^. Signed-off-by: Ian Jackson --- mg-repro-setup | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/mg-repro-setup b/mg-repro-setup index aa93c0ea..37ccb59d 100755 --- a/mg-repro-setup +++ b/mg-repro-setup @@ -37,7 +37,7 @@ usage () { cat <=3D set runvar - -r! delete runvar + -r^ delete runvar -B default is 'play' -E... -f... -P as for mg-execute-flight --autoalloc-nofree allocate hosts as for production, but keep them @@ -77,7 +77,9 @@ while true; do --capture) skipcapture=3Dfalse ;; --autoalloc-nofree) autoalloc=3Dtrue ;; -l*) logfile=3D${arg#-l} ;; - -r!*) adjustsets+=3D("${arg#-r}") ;; + -r^*|-r!*) adjustsets+=3D("${arg#-r}") ;; + # ^ two patterns because there's no way in bash to write + # a glob character class which matches exactly ^ or ! -r*=3D*) adjustsets+=3D("${arg#-r}") ;; --) break ;; *) badusage ;; @@ -105,7 +107,7 @@ adjrunvar () { =20 for arg in "${adjustsets[@]}"; do case "$arg" in - !*) delrunvar "${arg#!}" ;; + !*|^*) delrunvar "${arg#?}" ;; *=3D*) adjrunvar "${arg%%=3D*}" "{$arg#*=3D}" ;; *) bad-adjuistset-pattern ;; esac --=20 2.11.0 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel From nobody Mon Apr 29 08:51:46 2024 Delivered-To: importer@patchew.org Received-SPF: none (zoho.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; spf=none (zoho.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org ARC-Seal: i=1; a=rsa-sha256; t=1555519157; cv=none; d=zoho.com; s=zohoarc; b=jCfNT0vpnDq95CN2MxETLagrTOW8naT4gmOsF7uh/YjO9AbmFOq9aC1LF3B0XGCBf7I6NADqUuLYX8vb6egur3M3JCMRYNuFoAkQtuTw+sg3mJ7aG1r2I2y2sA8IYL2ANWl9v2nsXqxYAXI5KpDCGfA+CaEKQOP2E8+MpoGddQc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1555519157; h=Content-Type: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:ARC-Authentication-Results; bh=B4TNpcHD1Ka8MEXhldBYhsBuiqVv3A2IulahNVJPtns=; b=HQh7HpYnqmtROhdZFH+haNVHSST1lk7AtY8eVX7iyPz/ZCdx15NED9GBohDGakHtJgt4n299QcSelw1jy1SixRMLq2Y4u0qi1OMXIF9O+SA+YyV5jmmqUsjHlcfUfB6MwJX1JIRTjQa+cvexvFNoMFIKj03jdXDWZpWb+UchGcQ= ARC-Authentication-Results: i=1; mx.zoho.com; spf=none (zoho.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1555519157383987.2972606516602; Wed, 17 Apr 2019 09:39:17 -0700 (PDT) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1hGnZS-0005B1-0g; Wed, 17 Apr 2019 16:38:02 +0000 Received: from all-amaz-eas1.inumbo.com ([34.197.232.57] helo=us1-amaz-eas2.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1hGnZQ-0005Am-N6 for xen-devel@lists.xenproject.org; Wed, 17 Apr 2019 16:38:00 +0000 Received: from SMTP03.CITRIX.COM (unknown [162.221.156.55]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id 293b37d4-612f-11e9-a0a2-f711f683e99a; Wed, 17 Apr 2019 16:37:59 +0000 (UTC) X-Inumbo-ID: 293b37d4-612f-11e9-a0a2-f711f683e99a X-IronPort-AV: E=Sophos;i="5.60,362,1549929600"; d="scan'208";a="83816806" From: Ian Jackson To: Date: Wed, 17 Apr 2019 17:37:50 +0100 Message-ID: <20190417163752.994-4-ian.jackson@eu.citrix.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20190417163752.994-1-ian.jackson@eu.citrix.com> References: <20190417163752.994-1-ian.jackson@eu.citrix.com> MIME-Version: 1.0 Subject: [Xen-devel] [OSSTEST PATCH v2 3/5] ts-debian-hvm-install: Use ---, and no longer duplicate $gconsole X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Ian Jackson Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" In October 2014, debian-installer was updated to honour `---' in the way it previously honoured `--': #762007. If we use that instead, we don't need to duplicate $gconsole any more. This, effectively, reverts db26f5825a21269d9218417a9ca40bc5d47755d2 ts-host-install: include console before *and* after the -- marker. In principle this ought to be changed only in "recent enough" Debian suites, but certainly at least jessie has the fix and jessie is quite broken now, so let's not bother with making it conditional. Signed-off-by: Ian Jackson --- ts-debian-hvm-install | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/ts-debian-hvm-install b/ts-debian-hvm-install index ed8803ed..a01cfb2b 100755 --- a/ts-debian-hvm-install +++ b/ts-debian-hvm-install @@ -124,7 +124,6 @@ sub gcmdline (;$) { my @dicmdline =3D (); my $gconsole =3D "console=3DttyS0,115200n8"; =20 - push @dicmdline, $gconsole; push @dicmdline, di_installcmdline_core($gho, '/preseed.cfg', PreseedScheme =3D> 'file'); push @dicmdline, $extra if $extra; @@ -132,9 +131,8 @@ sub gcmdline (;$) { my $append =3D target_var($gho,'linux_boot_append'); push @dicmdline, $append if $append; =20 - push @dicmdline, "--"; - # See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D762007 for - # why console=3D is repeated. + push @dicmdline, "---"; + push @dicmdline, $gconsole; =20 return join(" ", @dicmdline); --=20 2.11.0 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel From nobody Mon Apr 29 08:51:46 2024 Delivered-To: importer@patchew.org Received-SPF: none (zoho.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; spf=none (zoho.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org ARC-Seal: i=1; a=rsa-sha256; t=1555519158; cv=none; d=zoho.com; s=zohoarc; b=dmj2SVBPSPNAY+u+GElOw46QFqaYyqnneSGZ8KZFZo8K7YXixBwM1qcyE1vX0ogHyfp3IN66vezOEsMVCAOw7jpdCttkpdrW0QOONn1IjE1p/jhageaBmNgIV4aj3dXixEgzvCC5Pvn9qKoW/xLmnHnpo9ftRqPdiF4tiLtb/co= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1555519158; h=Content-Type: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:ARC-Authentication-Results; bh=LaSjrXz3Z6w2rXcRpCyaig49IIZkpmYf3cPLxkzWX8Y=; b=MELE3yApBUcUHiha4taoTwSe55i2TjO5hV4n/g+Wh1E4P+Y0aGz3VkZ5suCwpEVobF7xdM2HfDdjaSzGAf/cCquEP9ODNCwoIEqpizw/T90trQ6kLUqbtV5cJp5YUc14oLdI0FiLOOR+B4dbaBHCMfMqxptitpdNHwb9TGy2peY= ARC-Authentication-Results: i=1; mx.zoho.com; spf=none (zoho.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1555519158819892.9267590499916; Wed, 17 Apr 2019 09:39:18 -0700 (PDT) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1hGnZT-0005Bd-JY; Wed, 17 Apr 2019 16:38:03 +0000 Received: from us1-rack-dfw2.inumbo.com ([104.130.134.6]) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1hGnZS-0005Ax-0p for xen-devel@lists.xenproject.org; Wed, 17 Apr 2019 16:38:02 +0000 Received: from SMTP03.CITRIX.COM (unknown [162.221.156.55]) by us1-rack-dfw2.inumbo.com (Halon) with ESMTPS id 29383628-612f-11e9-92d7-bc764e045a96; Wed, 17 Apr 2019 16:38:00 +0000 (UTC) X-Inumbo-ID: 29383628-612f-11e9-92d7-bc764e045a96 X-IronPort-AV: E=Sophos;i="5.60,362,1549929600"; d="scan'208";a="83816810" From: Ian Jackson To: Date: Wed, 17 Apr 2019 17:37:51 +0100 Message-ID: <20190417163752.994-5-ian.jackson@eu.citrix.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20190417163752.994-1-ian.jackson@eu.citrix.com> References: <20190417163752.994-1-ian.jackson@eu.citrix.com> MIME-Version: 1.0 Subject: [Xen-devel] [OSSTEST PATCH v2 4/5] ts-debian-hvm-install: Disable net.ifnames for Debian HVM guests X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Ian Jackson Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Signed-off-by: Ian Jackson --- ts-debian-hvm-install | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/ts-debian-hvm-install b/ts-debian-hvm-install index a01cfb2b..4deb443e 100755 --- a/ts-debian-hvm-install +++ b/ts-debian-hvm-install @@ -135,6 +135,14 @@ sub gcmdline (;$) { =20 push @dicmdline, $gconsole; =20 + # https://www.freedesktop.org/wiki/Software/systemd/PredictableNetwork= InterfaceNames/ + # In fact these are anything but predictable. In Debian i386 + # stretch, we end up using the emulated NIC in the installer but + # the Xen PV VIF in the installed system. We want these both to + # be eth0, which is what happens if we turn off the new scheme and + # take no further special measures. + push @dicmdline, 'net.ifnames=3D0'; + return join(" ", @dicmdline); } =20 --=20 2.11.0 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel From nobody Mon Apr 29 08:51:46 2024 Delivered-To: importer@patchew.org Received-SPF: none (zoho.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; spf=none (zoho.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org ARC-Seal: i=1; a=rsa-sha256; t=1555519162; cv=none; d=zoho.com; s=zohoarc; b=ncdpnvC9Y0igLIdp7LRPAaZBaZLlP4VOSjwv86W5UO8cuaihsiIUlbZdTJ/RQLtHzc4H77HlJWNA5P3vvxcQhGKPs9kVpUNYEzIruQQqgSTdyeDz0il0RRM9YnfrK9g5fwcgfuPYi9ayScEIJTmvDO6G5Eg4984tEzHfMIqgXcc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1555519162; h=Content-Type: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:ARC-Authentication-Results; bh=vIi/pJZNSmFv/vb4t2xnHAaoLHBmWBbfc/567hnN7s8=; b=H697FsL4c3QQxmdP6lapagKwNI2ywYxIKxW+x5NU8rNFp+aQuIqWurklrAT6hwvBtVEwG5Z0KdBL/338NKSnbNc90DNFxWVXrR5uxp6W7KRhuQ9wZWR4a2CVk6i8s9VNVWJByapQy9BF/N8yyGuLP5gm/2UL8GbNXzqgvDgl24M= ARC-Authentication-Results: i=1; mx.zoho.com; spf=none (zoho.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1555519162721132.28163957375955; Wed, 17 Apr 2019 09:39:22 -0700 (PDT) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1hGnZU-0005C6-7x; Wed, 17 Apr 2019 16:38:04 +0000 Received: from all-amaz-eas1.inumbo.com ([34.197.232.57] helo=us1-amaz-eas2.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1hGnZS-0005BK-VT for xen-devel@lists.xenproject.org; Wed, 17 Apr 2019 16:38:02 +0000 Received: from SMTP03.CITRIX.COM (unknown [162.221.156.55]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id 29ddeab0-612f-11e9-ad9d-37b765385a21; Wed, 17 Apr 2019 16:38:00 +0000 (UTC) X-Inumbo-ID: 29ddeab0-612f-11e9-ad9d-37b765385a21 X-IronPort-AV: E=Sophos;i="5.60,362,1549929600"; d="scan'208";a="83816811" From: Ian Jackson To: Date: Wed, 17 Apr 2019 17:37:52 +0100 Message-ID: <20190417163752.994-6-ian.jackson@eu.citrix.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20190417163752.994-1-ian.jackson@eu.citrix.com> References: <20190417163752.994-1-ian.jackson@eu.citrix.com> MIME-Version: 1.0 Subject: [Xen-devel] [OSSTEST PATCH v2 5/5] Debian: Work around Debian stretch bug with disk device names X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Ian Jackson Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" The Debian stretch i386 installer does not have Xen PV-on-HVM drivers. When we run the HVM guest installer, it therefore sees /dev/sda (the emulated IDE). But the booted system *has* the drivers and sees /dev/xvda. The Debian installer is supposed to put UUID=3D in the bootloader config and so on in the installed system. However, this does not work due to a bug (Debian #852323). Work around it. Signed-off-by: Ian Jackson --- Osstest/Debian.pm | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/Osstest/Debian.pm b/Osstest/Debian.pm index 41aa28b0..600f18b1 100644 --- a/Osstest/Debian.pm +++ b/Osstest/Debian.pm @@ -893,6 +893,23 @@ END =20 preseed_ssh($ho, $sfx); =20 + if ($suite =3D~ m/stretch/) { + # Debian #852323. On stretch i386 HVM the disk device is sda + # in the installer environment and xvda in the installed + # system. This isn't supposed to matter because the installed + # system is supposed to have root=3DUUID=3D... in its grub.cfg, + # but due to a bug the relevant udev rules are not rerun + # between the fs block dev getting its uuid and running + # grub install. Rerun the udev rules here. In a moment + # we will retrigger the update-grub... + preseed_hook_command($ho, 'late_command', '', <<'END'); +#!/bin/sh +set -ex + +udevadm trigger +END + } + preseed_hook_command($ho, 'late_command', '', <<'END'); #!/bin/sh set -ex @@ -902,6 +919,8 @@ if [ -f /target$grub ] ; then in-target sed -i \ 's/^\(GRUB_CMDLINE_LINUX_DEFAULT=3D".*\)\bquiet\b\(.*"\)$/\1\2/g' \ $grub + # needed for the removal of "quiet" to take effect but + # also to pick up the #852323 workaround (see above). in-target update-grub fi END --=20 2.11.0 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel