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

RE: [PATCH v2 2/2] automation: arm64: Create a test job for testing static allocation on qemu


  • To: Xenia Ragiadakou <burzalodowa@xxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Penny Zheng <Penny.Zheng@xxxxxxx>
  • Date: Thu, 28 Jul 2022 02:44:51 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=2; mx.microsoft.com 1; spf=pass (sender ip is 63.35.35.123) smtp.rcpttodomain=lists.xenproject.org smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com; arc=pass (0 oda=1 ltdi=1 spf=[1,1,smtp.mailfrom=arm.com] dkim=[1,1,header.d=arm.com] dmarc=[1,1,header.from=arm.com])
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none
  • Arc-message-signature: i=2; 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=j2zw1EPhTDzuVVdza3X2TteNN3V3EcL5T8D0q2uXB90=; b=m4i8qizd5nA6GH0iP6XoEGO8unuio1EOnW6jgRorijKbkt1oqWsdf+JjiwNPfPls/dXLpuUUyRskdfD+RgcaBH+Af3AJ3Fosn8cGex0LiIbQyvNju8uNinBU7uwADfSObiKoI2aDuKpWuLkycOSa8Z6qxN0MzssRAAJkCiUMq+uzEUTD+Wp9nV9iGd2O+q6I4UCSTSMUpqPrGusWIOlqW6ieqaTpThHZvCz/4hS8tIF3G1yRFJXnrKrnQWxuUbTJHamXV4a/luk4ExBZ+j38rkoBgu3/i5cEI5796oZaKVPmFCdQ0CoXmNpdhvbrf7mi3wkJ57qaXlGbVsFRGv7+XQ==
  • 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=j2zw1EPhTDzuVVdza3X2TteNN3V3EcL5T8D0q2uXB90=; b=nV2f+XelH2lTZihm0ky4SysGt3+hQ+YY0oN3qL+qFKmjSwghbrOOcBnHVXXxv11f5vZAWXH3+U6Zc9Hd9KkKUuV6DxTQezrMinb5WPWgagyAZNDRwrGgY1wKxrhh9l4IAy4q/5oyAjSCsRKaSuHT/jK2bWe6AgeLg5BUfq11UNVUiuO2i/FOor7BRBwBL4+Puc2Kj1yBXGwcZqPbYRkUZnT4EaWJAsg9m35vfiyLXnVXKSYLYoS1p+jEsgQRKt9lq83E9deIMC6gl0QATIkcHfrEKfpzTSEBt2hx7J9cyeG47islBmjeodohaivetx3DVLk3qz97kfW1NM99r5SkhQ==
  • Arc-seal: i=2; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=pass; b=iYQEMQCHmUDj9Yyvr/K0bjzasMkRyOYd3n+lcvTYFb956wKuCfBdtWHQV0njVYWWIxpgu4wmGXpFW+moErvNlZDVRJyMRQzjjg+fKDmg+wHMo5GjunC0sAziSvLc9mu8+EtJugv4wmCY01v1RU5yXU1AszsWB7eH4F9ZOpXYlZo7y9Ph/162NCVbhuozp7uRndAJRfILNsgCClbpDsbDrKw1lkUB58pI/ggo8wsNbfVcBO99quX+gHz92LXajmQasIw7omumkmoC//3ctRIDBaGZE/eCGmgVbxIZD8Pmetf06S46orXvh6X1EvJcAROWtCo6OdPyqrHfkhb2jJlaDg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CUW7aBBgzkzU/vFRM+y5J0t7ivr4yPdV+oQMRdvX06yEncIBKwhm0lRGK6OLkTzJN5dKyWi8PoBTT5MaOzRvEvb8pRrobhQ6vdbu53g6C5EV/c6XITqTzakx6572CENe9iAPV1GH/uuoyTAImzbPkBIg5OqzDJMu2h9OPxbEjyGw90gxSCXzmOMA2C5lmM/Ba2AlIczqfI2rZT2tEu/U2okOd0twZRZ5LGMxkKiBQsRBI3M9P+SDXMWnihjKMQJv2ORhUaAninTfzeetQZbyiWj13UD08Qx8Dik+hXVJFwRFzexB7eIQ1sz1XPIw7b82lCLIb8pbMPa4BbwiQ9JSlg==
  • Authentication-results-original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com;
  • Cc: Doug Goldstein <cardoe@xxxxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>
  • Delivery-date: Thu, 28 Jul 2022 02:45:24 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Nodisclaimer: true
  • Original-authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com;
  • Thread-index: AQHYoSMC2K2+YPID60uDh7r2pIYcLK2TFTgg
  • Thread-topic: [PATCH v2 2/2] automation: arm64: Create a test job for testing static allocation on qemu

Hi Xenia

> -----Original Message-----
> From: Xen-devel <xen-devel-bounces@xxxxxxxxxxxxxxxxxxxx> On Behalf Of
> Xenia Ragiadakou
> Sent: Wednesday, July 27, 2022 3:07 AM
> To: xen-devel@xxxxxxxxxxxxxxxxxxxx
> Cc: Doug Goldstein <cardoe@xxxxxxxxxx>; Stefano Stabellini
> <sstabellini@xxxxxxxxxx>
> Subject: [PATCH v2 2/2] automation: arm64: Create a test job for testing
> static allocation on qemu
> 
> Enable CONFIG_STATIC_MEMORY in the existing arm64 build.
> 
> Create a new test job, called qemu-smoke-arm64-gcc-staticmem.
> 
> Adjust qemu-smoke-arm64.sh script to accomodate the static memory test
> as a new test variant. The test variant is determined based on the first
> argument passed to the script. For testing static memory, the argument is
> 'static-mem'.
> 
> The test configures DOM1 with a static memory region and adds a check in
> the init script.
> The check consists in comparing the contents of the /proc/device-tree
> memory entry with the static memory range with which DOM1 was
> configured.
> If the memory layout is correct, a message gets printed by DOM1.
> 
> At the end of the qemu run, the script searches for the specific message in
> the logs and fails if not found.
> 
> Signed-off-by: Xenia Ragiadakou <burzalodowa@xxxxxxxxx>

Reviewed-by: Penny Zheng <penny.zheng@xxxxxxx>

> ---
> 
> Changes in v2:
> - enable CONFIG_STATIC_MEMORY for all arm64 builds
> - use the existing qemu-smoke-arm64.sh with an argument passed for
>   distinguishing between tests, instead of creating a new script
> - test does not rely on kernel logs but prints a message itself on success
> - remove the part that enables custom configs for arm64 builds
> - add comments
> - adapt commit message
> 
>  automation/gitlab-ci/test.yaml         | 18 +++++++++++
>  automation/scripts/build               |  8 +++++
>  automation/scripts/qemu-smoke-arm64.sh | 42
> ++++++++++++++++++++++++--
>  3 files changed, 65 insertions(+), 3 deletions(-)
> 
> 

---
Cheers,
Penny Zheng




 


Rackspace

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