From patchwork Thu Mar 7 15:32:20 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dimitri John Ledkov X-Patchwork-Id: 1053049 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ubuntu.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; secure) header.d=surgut.co.uk header.i=@surgut.co.uk header.b="AGRmCQbn"; dkim-atps=neutral Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 44FbMl3qhpz9sNk; Fri, 8 Mar 2019 03:15:47 +1100 (AEDT) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1h1vgI-0001Xk-Hx; Thu, 07 Mar 2019 16:15:38 +0000 Received: from mail-wr1-f51.google.com ([209.85.221.51]) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1h1v0X-0000KV-Pe for kernel-team@lists.ubuntu.com; Thu, 07 Mar 2019 15:32:29 +0000 Received: by mail-wr1-f51.google.com with SMTP id w17so17920697wrn.12 for ; Thu, 07 Mar 2019 07:32:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=surgut.co.uk; s=google; h=sender:from:to:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=l8NEW398ciAdVF3rfER1AY3oo2RhmzRiUpKRCRGyxnk=; b=AGRmCQbnmCSfpxuqtVvatJCtFw6C5I+0YZvw2qC4wR1zYF1Gh/sGUcidwzBUQ0SXsu LdoXM2EeCLpg7lYeNmT2xtI6/3EYH9WnUajViThyiV23ty0H0Yw9upjKB3mT0858t9qM 04XLu9plNpO0X+H1NBo2o4egB9xyL5AbMAJoo= 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:mime-version:content-transfer-encoding; bh=l8NEW398ciAdVF3rfER1AY3oo2RhmzRiUpKRCRGyxnk=; b=WCCfGMxdYkNsen7OAp/pFlbh4Jxg1mCOy5w2+anAfUNaN4CgAWthA34atjU5+Sbo6T pMrXKkJt4gbjZGgnq1/MLpVDgZkGmh1/X9tmcryhVAT7FLlFUaSIgQHZKH16vbLqqEgG 7TH5wQKSsrUlmPgHDCgOXPg45FJsN/h9Cz3eVNHp0oeZdcld6hEl7HzZ+X/UFGGHxM6A cGZ9KaJU1UfWG8hRLb67MhDbHR10aqwUo+vTr5oOLjYtolGmuV3GghWnLSUH9/lHBL3m 8DZuvZI2YJ38WoHbDZle1dBNJuNumWbn5//69rr2me0Je9aDgL8ypscFpLVDbvNT8nL8 46+Q== X-Gm-Message-State: APjAAAVFg7y7dBjuDLrsuD8QjcFTZ1oLOC0wLHQjncBNXd3Gx1xReHu2 3ULR4RKPKdx7167ousdXO6CKPcssWWpNHw== X-Google-Smtp-Source: APXvYqxwXxZdvPT6gQUmKLn6mngsvT1qK9nznMGL2TZWWOiUwdjisdtdBZXSocs1W31adztoeW/HHw== X-Received: by 2002:a5d:6b07:: with SMTP id v7mr7188757wrw.314.1551972748735; Thu, 07 Mar 2019 07:32:28 -0800 (PST) Received: from localhost (103.99.2.81.in-addr.arpa. [81.2.99.103]) by smtp.gmail.com with ESMTPSA id l5sm5970344wmi.24.2019.03.07.07.32.27 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 07 Mar 2019 07:32:28 -0800 (PST) From: Dimitri John Ledkov To: kernel-team@lists.ubuntu.com Subject: [PATCH 3/5] Make ubuntu-regression-suite skippable on unbootable kernels. Date: Thu, 7 Mar 2019 15:32:20 +0000 Message-Id: <20190307153222.29255-4-xnox@ubuntu.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190307153222.29255-1-xnox@ubuntu.com> References: <20190307153222.29255-1-xnox@ubuntu.com> MIME-Version: 1.0 X-Mailman-Approved-At: Thu, 07 Mar 2019 16:15:29 +0000 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" --- debian/tests/control | 2 +- debian/tests/ubuntu-regression-suite | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/debian/tests/control b/debian/tests/control index d2bd0c54ddb8..ed1e6c8becc5 100644 --- a/debian/tests/control +++ b/debian/tests/control @@ -4,4 +4,4 @@ Restrictions: allow-stderr Tests: ubuntu-regression-suite Depends: build-essential, gcc-multilib [amd64 armhf i386], gdb, git, bzr -Restrictions: allow-stderr, isolation-machine, breaks-testbed +Restrictions: allow-stderr, isolation-machine, breaks-testbed, skippable diff --git a/debian/tests/ubuntu-regression-suite b/debian/tests/ubuntu-regression-suite index 1de5ce62563d..b4bb997416a5 100755 --- a/debian/tests/ubuntu-regression-suite +++ b/debian/tests/ubuntu-regression-suite @@ -1,6 +1,17 @@ #!/bin/sh set -e +# Only run regression-suite on kernels we can boot in canonistack +source=`dpkg-parsechangelog -SSource` +case $source in + linux|linux-hwe|linux-kvm|linux-oem) + ;; + *) + echo "ubuntu-regression-suite is pointless, if one cannot boot the kernel" + exit 77 + ;; +esac + sver=`dpkg-parsechangelog -SVersion` read x rver x