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

Re: [PATCH] automation: enable UBSAN for debug tests


  • To: Stefano Stabellini <sstabellini@xxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
  • From: "Orzel, Michal" <michal.orzel@xxxxxxx>
  • Date: Thu, 6 Feb 2025 08:46:20 +0100
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=+vX/ADCp5NI/eqBSjqhIu4aoLyxarXdCzJVc57mebPs=; b=JfewmF5hDBmaJeOo/rXkejWAJSjxjIVXtoYSD+Q3X6fU6jt7zJ8N8RV9iEuUfB79bh0aiZbQj14D1aV0VGML4LRJbh+t/xRqZHQzRu/oTukU/DrBoi5Jjodv57lyvm5Yp/8M24h6lc8OFmOBw7I54paw09FZurNdFmm+Uv9LBJKvBPekAOp4UeXBpdH098N/LxvYVnpkbevme+p4YVCQWMbwbDWLGWOyqrRqfwkXdyEQ+4uwrjdk/xKEtySdzlQtFB+VHDtBZHH/rLx3kAuCyDza7fpuWHkyTTaDLwGN6OYnJ/tJZIScOtzOr9z4ys8OY/0U4xhkpJx3URXEfn0OLg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=vqvkLroljLmEbcCyk8w7o/w/OhlirEtNPU1JBOmWr6ry70KdXnUsQwTRcvIWxuJu5kX655aKtt6unvwMf41DSstIB1PYrkabGlv0XHJl0KVcNr3ui3cMSVk8Ch5xsk4/PmEn80MTETGCzvI1+XFb363KsyloLT8r+Qn+0VAK6eZUTlFPQyWdyZsjFX9BG3hVeUoOvsF1XilkKxumZoNZPOZerNa/kuPmGuZ22H3U9YsEDAkWFS7EfklNrjxVyBOddmwtuJ2v3LSzzQUR5mo/lNpv6yhZh8x+9tacJ7VGdsJhomuVHI1sKtPLj8u9aqg95uqm2bN3SjDfqeSIrGzZhQ==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com;
  • Cc: cardoe@xxxxxxxxxx, alejandro.vallejo@xxxxxxxxx, andrew.cooper3@xxxxxxxxxx, anthony.perard@xxxxxxxxxx, jbeulich@xxxxxxxx, julien@xxxxxxx, roger.pau@xxxxxxxxxx, bertrand.marquis@xxxxxxx
  • Delivery-date: Thu, 06 Feb 2025 07:46:47 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>


On 06/02/2025 03:37, Stefano Stabellini wrote:
> 
> 
> automation: enable UBSAN for debug tests
> 
> Enable CONFIG_UBSAN and CONFIG_UBSAN_FATAL for the ARM64 and x86_64
> build jobs, with debug enabled, which are later used for Xen tests on
> QEMU and/or real hardware.
> 
> Signed-off-by: Stefano Stabellini <stefano.stabellini@xxxxxxx>
Reviewed-by: Michal Orzel <michal.orzel@xxxxxxx>

However, I do remember Julien being opposed to this approach in the past, 
mostly because he did not like
the idea of failing on first UB that can possibly hide next UBs (I don't see 
this as a problem because other
UBs will simply be found on the next pipeline or locally when testing the fix).

~Michal




 


Rackspace

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