From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 9AF5FA046B; Thu, 9 Jan 2020 16:50:49 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 7352D1DEE6; Thu, 9 Jan 2020 16:50:49 +0100 (CET) Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-eopbgr80047.outbound.protection.outlook.com [40.107.8.47]) by dpdk.org (Postfix) with ESMTP id 2FC421DEE6 for ; Thu, 9 Jan 2020 16:50:48 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=3zHB7IvHFxbr8VQysVZ/u/VfflFM78D99RsLzLxUavw=; b=rscHB5sEwi3ZNCRzVrYeDd6hClAyqm+SxaRSDq7kR0yEEamjhVHBzii+KUcelrgQX0ERvkTTd5b04lx75LbZaRYVjucftyMZj5wHM04AJhb6KZty3Gu7NjKYVREAnxVKwmx0GPLKrJV+z0GidH8XhjE+2+GR6oJgTCTT1pOox50= Received: from VI1PR0801CA0074.eurprd08.prod.outlook.com (2603:10a6:800:7d::18) by VI1PR08MB4094.eurprd08.prod.outlook.com (2603:10a6:803:e7::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2623.10; Thu, 9 Jan 2020 15:50:47 +0000 Received: from VE1EUR03FT026.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e09::202) by VI1PR0801CA0074.outlook.office365.com (2603:10a6:800:7d::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2623.8 via Frontend Transport; Thu, 9 Jan 2020 15:50:47 +0000 Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dpdk.org; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;dpdk.org; dmarc=bestguesspass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by VE1EUR03FT026.mail.protection.outlook.com (10.152.18.148) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2602.11 via Frontend Transport; Thu, 9 Jan 2020 15:50:47 +0000 Received: ("Tessian outbound ba41a0333779:v40"); Thu, 09 Jan 2020 15:50:46 +0000 X-CR-MTA-TID: 64aa7808 Received: from 2ab683ca99ad.2 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 77022712-F7FD-49DB-98A6-0AE9479FD375.1; Thu, 09 Jan 2020 15:50:41 +0000 Received: from EUR04-VI1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 2ab683ca99ad.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Thu, 09 Jan 2020 15:50:41 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kpSiQo6Tg6GzfNcrFuUw0TzzUKLngZ0iXsyVbQl0iSCBy17rd5VqqALQ/I30slAQifYol7UAACUDSuD6Z9Sz5a5zkjIzFEowVPf1BXiVFI4J6qxuF2b73Oe8587eDHT3kxeoyOKAdmBHsHQvZcYqb4UqOs+AFzmUlhB01QdrO5rdAJqNoebPbMQL6L5aUu+KihhjtkJxaaqTHgviYb1LQnnXLZQkfzlxG4kixG7XqJw1C0cCmhMC4FXQHKqmxlOgb5Vbh8SL9kd00TLB91j4FPVWObvuvkieiQ0gzYUImHEOLL3dCRqVjIUHyRvBKaL+Dstt3Vdl2LzjlferfYQnvg== 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-SenderADCheck; bh=3zHB7IvHFxbr8VQysVZ/u/VfflFM78D99RsLzLxUavw=; b=ndUpCVr8KW3gQUQKCdbLUQYy1tsrAQBWkNS9I6q4o6XN1wtS+/G+1W/AizJioNB+aU59aTcBrTnKjXLZ+lFJcbRBriY1oqI9l+KY+HYCVXi7dH9nulygY/K5iT90LXaPKvWYFPrqNaVQAFmcsCvlLaPgF3HyGbLBBcEdtu++pjS9Nae1oBV+zC23ezWBr0VtTPftuQTLEYtR+uHTDQM1KIhp3+v10PkZXQLESSXXP1445L7vFPOANJWslHFFWOiti7Utnzok0c+Gn7I8cvOO5zHbV0WRwRscfHMd708r9T8KueMX8Q+fyXGPO30i07RSY2KgfNO02UwJt6r7CfC0Ww== 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=3zHB7IvHFxbr8VQysVZ/u/VfflFM78D99RsLzLxUavw=; b=rscHB5sEwi3ZNCRzVrYeDd6hClAyqm+SxaRSDq7kR0yEEamjhVHBzii+KUcelrgQX0ERvkTTd5b04lx75LbZaRYVjucftyMZj5wHM04AJhb6KZty3Gu7NjKYVREAnxVKwmx0GPLKrJV+z0GidH8XhjE+2+GR6oJgTCTT1pOox50= Received: from VE1PR08MB5149.eurprd08.prod.outlook.com (20.179.30.27) by VE1PR08MB4896.eurprd08.prod.outlook.com (10.255.27.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2623.10; Thu, 9 Jan 2020 15:50:39 +0000 Received: from VE1PR08MB5149.eurprd08.prod.outlook.com ([fe80::29eb:a1be:8f8f:fae2]) by VE1PR08MB5149.eurprd08.prod.outlook.com ([fe80::29eb:a1be:8f8f:fae2%7]) with mapi id 15.20.2602.018; Thu, 9 Jan 2020 15:50:39 +0000 From: Honnappa Nagarahalli To: Ruifeng Wang , Aaron Conole CC: "maicolgabriel@hotmail.com" , "thomas@monjalon.net" , "ferruh.yigit@intel.com" , "arybchenko@solarflare.com" , "dev@dpdk.org" , "david.marchand@redhat.com" , Gavin Hu , nd , Honnappa Nagarahalli , nd Thread-Topic: [PATCH v3 2/2] ci: add travis ci support for aarch64 Thread-Index: AQHVxJYHixZ3tdWBZE+vHDb2ZQyeYKfevS8AgAI0jRyAAPoVgIAAk3BQ Date: Thu, 9 Jan 2020 15:50:39 +0000 Message-ID: References: <20191218053902.193417-1-ruifeng.wang@arm.com> <20191223070833.144628-1-ruifeng.wang@arm.com> <20191223070833.144628-3-ruifeng.wang@arm.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ts-tracking-id: f79e2777-24b4-4adf-882b-8b13b86064f2.0 x-checkrecipientchecked: true Authentication-Results-Original: spf=none (sender IP is ) smtp.mailfrom=Honnappa.Nagarahalli@arm.com; x-originating-ip: [217.140.111.135] x-ms-publictraffictype: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: a0d34464-bee6-4d6a-5c33-08d7951bb1a5 X-MS-TrafficTypeDiagnostic: VE1PR08MB4896:|VE1PR08MB4896:|VI1PR08MB4094: x-ld-processed: f34e5979-57d9-4aaa-ad4d-b122a662184d,ExtAddr x-ms-exchange-transport-forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true nodisclaimer: True x-ms-oob-tlc-oobclassifiers: OLM:10000;OLM:10000; x-forefront-prvs: 02778BF158 X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(4636009)(366004)(136003)(346002)(39860400002)(376002)(396003)(199004)(189003)(71200400001)(5660300002)(66446008)(64756008)(66556008)(66476007)(6506007)(2906002)(4326008)(9686003)(55016002)(110136005)(54906003)(86362001)(66946007)(8676002)(8936002)(186003)(81156014)(81166006)(76116006)(316002)(7696005)(33656002)(478600001)(52536014)(26005); DIR:OUT; SFP:1101; SCL:1; SRVR:VE1PR08MB4896; H:VE1PR08MB5149.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: bNIqbwIFn8uqdsQHNNocsH8Un9nKy0XilP/jdiOhq66Nl5/P7bxQM4UAZVYyzBVUv/ypHQbf3Yx+LbHeBijEhzgPKpEi/BhVq6dnbXHsWai7zElQmY+E5fqwo3EHupXPCYT8O6ZGRcdS/DBgDknNxMNZoDa4yztaYJ1/sHNUIulnRaKZkudY1Izvix97oaAXAMKNwYL6n/wsFPT93oLded3+KevFaTUfg4J/zggUbkI9g7KcqPK0F8rfsmkl7U0iOWljRWsBg6B304rg9qMsgJVjc9JCchKrLZ5nNednQldtrTM+Y/qiP0qmu9fOKt92cwCWX4ygPAXVMwkH3tZP6v/yk2ncCuqt98ouEbXR5CqfEM97wT8UlQUnAfHa0aXWgKTvj1sg1PF1BpDAUdl5iCgme7TQQfs/rcUHBQFJkm2XMoeH8Ie9RzPw+QrhdJD1 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR08MB4896 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Honnappa.Nagarahalli@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: VE1EUR03FT026.eop-EUR03.prod.protection.outlook.com X-Forefront-Antispam-Report: CIP:63.35.35.123; IPV:CAL; SCL:-1; CTRY:IE; EFV:NLI; SFV:NSPM; SFS:(10009020)(4636009)(396003)(39860400002)(376002)(346002)(136003)(199004)(189003)(9686003)(55016002)(7696005)(110136005)(54906003)(316002)(5660300002)(70586007)(52536014)(36906005)(70206006)(86362001)(26005)(8676002)(336012)(33656002)(81166006)(6506007)(2906002)(81156014)(478600001)(356004)(26826003)(8936002)(4326008)(186003); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB4094; H:64aa7808-outbound-1.mta.getcheckrecipient.com; FPR:; SPF:Pass; LANG:en; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; A:1; MX:1; X-MS-Office365-Filtering-Correlation-Id-Prvs: da2d59f0-22d3-4d5a-f0bf-08d7951bad1e X-Forefront-PRVS: 02778BF158 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: cgJcfYul+noWC48wZRJdjUK2awxWb4u20EyAJ6aNQwRzPL+cNGclwncz+e6f7ug1xyosY9wSGdOP0gktpIEY7Rhs98zrK1djQoP3InkmwcUiANa3lR5bHtsiSvDsp91Z6nu37LjjEYWOaB1EmypamRXNO+sWtjlyJ58rvYYxexNhFRUp0hiazay6GQt6fiiI3dtFUYwKEqwqq3weo3S+OrO8jMAKYrLbJOYfHeEA2oQZwUI4JijU+YvT35gQDFmFU5VYzHtDdBtVLUjCqh8CVoy7/ZbcKTRaSobgqoycZQ8kQJPWE6Xj4qowZAEP8Huop5krcGABph2jBOFtgOyXHGXhSuNGrS7TrJqSZpDk4EXUjnFzCV5tCBq91DsimuckXDE/DSPJjYE5chWGQzfmi54/ANRe2ERfqTRPDJXwnLO8dXZrJJgRefsL7LIsaIeu X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Jan 2020 15:50:47.1953 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: a0d34464-bee6-4d6a-5c33-08d7951bb1a5 X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB4094 Subject: Re: [dpdk-dev] [PATCH v3 2/2] ci: add travis ci support for aarch64 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > > >> > > >> > Add Travis compilation jobs for aarch64. gcc/clang compilations > > >> > for static/shared libraries are added. > > >> > > > >> > Some limitations for current aarch64 Travis support: > > >> > 1. Container is used. Huge page is not available due to security r= eason. > > >> > 2. Missing kernel header package in Xenial distribution. > > >> > > > >> > Solutions to address the limitations: > > >> > 1. Not to add unit test for now. And run tests with no-huge in fut= ure. > > >> > 2. Use Bionic distribution for all aarch64 jobs. > > >> > > > >> > Signed-off-by: Ruifeng Wang > > >> > Reviewed-by: Gavin Hu > > >> > --- > > >> > > >> Can't we achieve the same thing by setting > > >> > > >> arch: > > >> - amd64 > > >> - arm64 > > >> > > >> in the build matrix? Or will that also force the intel builds to > > >> use the container infrastructure (in which case the no-huge support > > >> needs to > > be fixed)? > > > > > > No, container infrastructure will not be imposed to intel builds. > > > AFAIN, Travis infrastructure for a specific CPU arch is provided as > > > is, and there is no config option to control. > > > The problem with just adding 'arch' in build matrix is that > > > RUN_TESTS on arm64 is not supported by now (Travis limitation). > > > 'env' with RUN_TESTS > > will fail. > > > > Okay I see. > > > > >> > > >> One thing I wonder, isn't is possible to use qemu-user to do the > > >> amd64 unit tests? Then do we really need some changes to do the > > >> native > > build? > > > > > > Do you mean to use qemu-user to do unit tests for non-x86 arch? > > > > Yes. This has the advantage of giving users a way to also do the > > multi-arch checks on their own systems (so a developer with just an > > x86 could at least do some testing on arm or ppc). > > > Yes, users can do multi-arch checks *locally* by using qemu. > This patch aims to enable *public* CI for aarch64. It has no sense to rel= y on > specific arch while infrastructure supports multi arch. >=20 > > > Changes will be needed as well to enable qemu-user to do unit test. > > > Since Travis support multi CPU arch, I think native build and test > > > is simpler > > and more natural. > > > > I agree, some script changes might be needed, but maybe not as many as > > you fear (can't we use binfmt_misc infrastructure to do this with > > qemu-user and then the actual 'execute' would work). > > > It is more like a tool for local validation, and should be another story. >=20 > > >> Does it buy us anything *today* given the cost of the hugepage > > restriction? > > >> Will that ever be resolved (I didn't see so from the docs on travis)= ? > > > > > > The hugepage issue has been reported to Travis. I think it will be > > > resolved. But no set dates yet. > > > > Is there a plan for them to address? I guess probably not. So we > > either need the ability for tests to run in the no-huge environment > > (and detect that no hugepages are available to run the tests that > > way), or we need the travis environment supporting hugepages. Is there > something I missed? > > > Yes, over half of quick tests can run in no-huge environment. Plan is to enable the testing for whatever works today and work on fixing t= he remaining test cases. Is this ok?