[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[for-4.17, PATCH v2] automation: Explicitly enable NULL scheduler for boot-cpupools test


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Michal Orzel <michal.orzel@xxxxxxx>
  • Date: Mon, 24 Oct 2022 14:04:43 +0200
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=lists.xenproject.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=QCeunKUDYS7dW3EKFsxJvNMpnPsl3HJEwwfTpZQ3bMU=; b=X02YmLKcGiHbMi+/3rTO9VI6iQtNbN/s2z7P8hucFSwmv5xXKyxhDkC1BPUnnM2uF5amjk2jSqx21wVQ/xQBSGaG2aj7OXWGmXtA2EyABgHX/sOPQnpfWgRAf8RDNmeKfpsnLiDUo055fWtMRL6V5sHhUw1yTDGIVwjfyG8dGlcZZEkou2oNvJt3szehGpj9VBvHZHnTUY8jViZ7gN8wRBZdW3zbGhdYRnrvwG+qdInlRoupklQgQSuDiQj1bV2w/L7HTsVFyybFaQ3g/zgsxCDzeLP+C+vL8EGnFBkTYX32Wm+AT8S/kOACy7IVEBlQ0+1o73abg9A983ERrF1RIA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HlPCMzC7z4yW5AjrqC5LFWy1q3GDPZY2f4DdjShJ5/XsaL8R5uNvNTNTD/43il+6naYIBAYfTuI4PR8NfS8x8ElC9SpgCKbhTgP5K5/Tj3H14v6uifv+jvFttjSPpOpTbKbgVEEtQtneq9qICsYtZ7l3pXre+17K8aP7yyDe3os6YBs8f9LlhdHNKq1PU1++1YBlySkYJJlOhx21twr4s30cDdeMeTfW+UNw7vXhvdWivRa+yFU28XP3UWEGt5EFBrIqAjoo28MjhLqhlmH7Q/578VbdiQSk3jK17s/mi7XKdV0GwfeOB7ETnatU7pW3mLqIbyqWrKKDBf5cIFMoDw==
  • Cc: Michal Orzel <michal.orzel@xxxxxxx>, Doug Goldstein <cardoe@xxxxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, <Andrew.Cooper3@xxxxxxxxxx>, <Henry.Wang@xxxxxxx>
  • Delivery-date: Mon, 24 Oct 2022 12:05:00 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

NULL scheduler is not enabled by default on non-debug Xen builds. This
causes the boot time cpupools test to fail on such build jobs. Fix the issue
by explicitly specifying the config options required to enable the NULL
scheduler.

Fixes: 36e3f4158778 ("automation: Add a new job for testing boot time cpupools 
on arm64")
Signed-off-by: Michal Orzel <michal.orzel@xxxxxxx>
---
Changes in v2:
- was: automation: Do not use null scheduler for boot cpupools test
- modify the commit msg/title
- explicitly enable NULL scheduler by specifying all the required options

This patch acts as a prerequisite before merging the following patch:
https://lore.kernel.org/xen-devel/20221021132238.16056-1-michal.orzel@xxxxxxx/
(to which Henry already gave RAB), that helped to find the issue described
in the comment.

Tests shall explicitly specify the required Kconfig options for non-default
pieces of logic, thus this patch is unrelated to the discussions whether
enabling/disabling the NULL scheduler should be controlled by DEBUG or not.
---
 automation/gitlab-ci/build.yaml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/automation/gitlab-ci/build.yaml b/automation/gitlab-ci/build.yaml
index ddc2234faf39..716ee0b1e460 100644
--- a/automation/gitlab-ci/build.yaml
+++ b/automation/gitlab-ci/build.yaml
@@ -582,6 +582,9 @@ alpine-3.12-gcc-arm64-boot-cpupools:
   variables:
     CONTAINER: alpine:3.12-arm64v8
     EXTRA_XEN_CONFIG: |
+      CONFIG_EXPERT=y
+      CONFIG_UNSUPPORTED=y
+      CONFIG_SCHED_NULL=y
       CONFIG_BOOT_TIME_CPUPOOLS=y
 
 ## Test artifacts common
-- 
2.25.1




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.