From nobody Thu Mar 13 19:59:14 2025 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; dkim=pass; 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=pass(p=quarantine dis=none) header.from=kernel.org ARC-Seal: i=1; a=rsa-sha256; t=1738716281; cv=none; d=zohomail.com; s=zohoarc; b=JlSoVnVOfu6YIfq7MrKP+A3XBECwihMY2kh+HKwQodH4R/Yrmx3+fXFRvg38xUElD/y5SnrRZZeqhqPNiErmxkZIGqAzX+wB6OMVOV80mAsrMkZZSGmbWkNu6GSPNZ0a8bifx/dsW6pGG0+IKW0sPSfwQP7OutM+AhGS4yZAmxs= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1738716281; h=Content-Type:Cc:Cc:Date:Date:From:From:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=EgjURnRT9IJbprsGUmXfCjQ8BwWxLeowZrHGQ0o2gAg=; b=hYR2ZLgpWbIPq76QfhkOuXjBpDt9ZFjdfvzsiOoBkHS7B0mq0jqUKTdJ4SABcCugxeU0MNxcARJwzslkszplGUunwct/bDVtL+nuiJLN7qpvP1dJFR1Fqz02L4e+m0ODyIft0WiDexc/FHKEpbTUZxCYRwxvh9EDuFqijstfa/s= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; 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=pass header.from= (p=quarantine dis=none) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 173871628134426.50220422390487; Tue, 4 Feb 2025 16:44:41 -0800 (PST) Received: from list by lists.xenproject.org with outflank-mailman.881922.1292088 (Exim 4.92) (envelope-from ) id 1tfTWa-0007mu-6t; Wed, 05 Feb 2025 00:44:16 +0000 Received: by outflank-mailman (output) from mailman id 881922.1292088; Wed, 05 Feb 2025 00:44:16 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1tfTWa-0007mn-3g; Wed, 05 Feb 2025 00:44:16 +0000 Received: by outflank-mailman (input) for mailman id 881922; Wed, 05 Feb 2025 00:44:14 +0000 Received: from se1-gles-flk1-in.inumbo.com ([94.247.172.50] helo=se1-gles-flk1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1tfTWY-0007mh-Mp for xen-devel@lists.xenproject.org; Wed, 05 Feb 2025 00:44:14 +0000 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id 50016ade-e35a-11ef-99a4-01e77a169b0f; Wed, 05 Feb 2025 01:44:11 +0100 (CET) Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 7D4A65C53A4; Wed, 5 Feb 2025 00:43:29 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B6206C4CEDF; Wed, 5 Feb 2025 00:44:07 +0000 (UTC) X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 50016ade-e35a-11ef-99a4-01e77a169b0f DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1738716249; bh=YNyLUvkmWPItY5T3yyBGG3IQhTO99n/z+TiNPb5Ab5E=; h=Date:From:To:cc:Subject:From; b=avlS2S333H0BTdrD0aAFLqYgZ+GJ+j5T9qvk6MGXGP3ANckOU+jEITOvJJATECbKI OOadXFDW91zQz2h+YakPhN6+qmaLmQbiieQgyx9nwkn2u3BwbZwqEGC5IG1p9e/NO7 P6/F4l4yjTBE9MJcq+xDnpOGVthpKCpVZ6Bm+uNUl6rpg0xttOrS7ceRIvP5Q9JttH IB7dI1u1hqYUVdFgiopbP0VYY+QcbORgGcyEpRKUXZv2wUTT8jH5ypxvBtn1saY1eZ 7IAIVg4m7i3uTI9/STmOfUSJjsQrZwCkP+db/yXl0t0HVElaXHyuJQCn+NFDU9zbDG lpkl2/QR6FsGg== Date: Tue, 4 Feb 2025 16:44:06 -0800 (PST) From: Stefano Stabellini X-X-Sender: sstabellini@ubuntu-linux-20-04-desktop To: xen-devel@lists.xenproject.org cc: sstabellini@kernel.org, andrew.cooper3@citrix.com, anthony.perard@vates.tech, michal.orzel@amd.com, jbeulich@suse.com, julien@xen.org, roger.pau@citrix.com, Bertrand Marquis Subject: [RFC] enable UBSAN for automation tests Message-ID: User-Agent: Alpine 2.22 (DEB 394 2020-01-19) MIME-Version: 1.0 X-ZohoMail-DKIM: pass (identity @kernel.org) X-ZM-MESSAGEID: 1738716282973019000 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Hi all, I would like to propose to enable the UBSAN config option in our Gitlab pipelines. The attached patch (just for testing, do not commit) enables UBSAN on the Xen build jobs used for most of the ARM and x86 tests. The pipeline passes. https://gitlab.com/xen-project/people/sstabellini/xen/-/pipelines/1656001157 Cheers, Stefano diff --git a/automation/gitlab-ci/build.yaml b/automation/gitlab-ci/build.y= aml index bc4a8a5ad2..92790648aa 100644 --- a/automation/gitlab-ci/build.yaml +++ b/automation/gitlab-ci/build.yaml @@ -333,6 +333,8 @@ alpine-3.18-gcc-debug: CONFIG_EXPERT=3Dy CONFIG_UNSUPPORTED=3Dy CONFIG_ARGO=3Dy + CONFIG_UBSAN=3Dy + CONFIG_UBSAN_FATAL=3Dy =20 debian-12-x86_64-gcc-debug: extends: .gcc-x86-64-build-debug @@ -419,6 +421,11 @@ alpine-3.18-gcc-debug-arm64: extends: .gcc-arm64-build-debug variables: CONTAINER: alpine:3.18-arm64v8 + EXTRA_XEN_CONFIG: | + CONFIG_EXPERT=3Dy + CONFIG_UNSUPPORTED=3Dy + CONFIG_UBSAN=3Dy + CONFIG_UBSAN_FATAL=3Dy =20 alpine-3.18-gcc-arm64-randconfig: extends: .gcc-arm64-build