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 A8880A04F6; Tue, 7 Jan 2020 07:42:39 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E61041D61F; Tue, 7 Jan 2020 07:42:38 +0100 (CET) Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2084.outbound.protection.outlook.com [40.107.20.84]) by dpdk.org (Postfix) with ESMTP id A42BF1D60D for ; Tue, 7 Jan 2020 07:42:37 +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=tclcpey0vfEQfyMr7/GGwaCtf9YeSVMffwCk5izP4zc=; b=rdGnY1Gue+tR02+lKMMwFq7FiSUHAmmHiV3WeBY9j604n4nVTOAtKYNYNSaK2HfsgBT/u3JCul56cFbpK+sUhmRtsTa/Za8nbyqAby4r2kq2mzcqQtt+sqDBpbn0NTtTVtzMiT2A7lhXUR3ertgxJ/5eqrm/ktimWj0tqaihGck= Received: from VI1PR08CA0145.eurprd08.prod.outlook.com (2603:10a6:800:d5::23) by AM6PR08MB3350.eurprd08.prod.outlook.com (2603:10a6:209:45::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2602.12; Tue, 7 Jan 2020 06:42:36 +0000 Received: from AM5EUR03FT006.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e08::209) by VI1PR08CA0145.outlook.office365.com (2603:10a6:800:d5::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2602.10 via Frontend Transport; Tue, 7 Jan 2020 06:42:36 +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 AM5EUR03FT006.mail.protection.outlook.com (10.152.16.122) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2602.11 via Frontend Transport; Tue, 7 Jan 2020 06:42:36 +0000 Received: ("Tessian outbound 0eaff1016ea4:v40"); Tue, 07 Jan 2020 06:42:36 +0000 X-CR-MTA-TID: 64aa7808 Received: from 848fde82c730.2 by 64aa7808-outbound-1.mta.getcheckrecipient.com id E8CE7D83-3D66-4C15-B60F-09F82ABE3A41.1; Tue, 07 Jan 2020 06:42:31 +0000 Received: from EUR05-AM6-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 848fde82c730.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 07 Jan 2020 06:42:30 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bkzzrH2rmsW3rsun+yeIZVyDjoFhhwcg2xrahMMds3RGRKv+LhkB4CyphoUUApzmUMoFT7i3pi9nwdt2+B9aWYHH6E4vyIlgjEMZ1PdKwsRWn5pI/qA4yplsfOgd78nnz94c/fl1moTbVO5G92ES7lyiTM+5v89VpixlKtjZrsrVspicQwvpj+xkHnrPJ2in76CornLeTy6gOPCeBCM2B6yDSrWPGFQftZrFeMsax5RxuF2N3fqMp2jiLDjbNYHr3HIH33hxX0LUS4jFMmkTbI/IdC+cNsGCRXZr/+YhKTwDio3YECkjJ86iO/ky/W9+yGyNVngyn4mTWBsAE7ULhw== 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=tclcpey0vfEQfyMr7/GGwaCtf9YeSVMffwCk5izP4zc=; b=UglT35D9DdJmospHgbe/xQ2x+E1auNNZgSoDW+AsXoAzfwoTrQ1r0jU5tpxfpqSOPBrQMlIg5aTOFIpuow80M0X3SXzp6Gh3BwLqNbrtcQbsjhU6KiWifSJP8wysu1tAKyUd3quoeDA1O5nyW4EmkpCVD9ALyFnHeor0IYDXE5WuB30Ud8lHkEP+3oi5zOMNW8Py/XK9acZ40e9IlBjgPlvGKgGyUHfReVDrPoLBq1H9wkqg1PwxMcaObCOV7zYRncuDb8qN926KXp4C9hIZMxVScPpPe9T/tSqcLN1fXkpOvYp05WmksfespwcNZb03Vs3MhgurrM6r/aoHnQJOLw== 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=tclcpey0vfEQfyMr7/GGwaCtf9YeSVMffwCk5izP4zc=; b=rdGnY1Gue+tR02+lKMMwFq7FiSUHAmmHiV3WeBY9j604n4nVTOAtKYNYNSaK2HfsgBT/u3JCul56cFbpK+sUhmRtsTa/Za8nbyqAby4r2kq2mzcqQtt+sqDBpbn0NTtTVtzMiT2A7lhXUR3ertgxJ/5eqrm/ktimWj0tqaihGck= Received: from AM0PR08MB3986.eurprd08.prod.outlook.com (20.178.118.90) by AM0PR08MB3843.eurprd08.prod.outlook.com (20.178.21.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2602.11; Tue, 7 Jan 2020 06:42:30 +0000 Received: from AM0PR08MB3986.eurprd08.prod.outlook.com ([fe80::789f:c8b2:1ca9:5541]) by AM0PR08MB3986.eurprd08.prod.outlook.com ([fe80::789f:c8b2:1ca9:5541%5]) with mapi id 15.20.2602.015; Tue, 7 Jan 2020 06:42:30 +0000 From: Ruifeng Wang To: dwilder CC: "aconole@redhat.com" , "maicolgabriel@hotmail.com" , "thomas@monjalon.net" , "ferruh.yigit@intel.com" , "arybchenko@solarflare.com" , "dev@dpdk.org" , Gavin Hu , Honnappa Nagarahalli , nd , nd Thread-Topic: [dpdk-dev] [PATCH v2 1/2] ci: add travis ci support for aarch64 Thread-Index: AQHVtxk16sapnzkhoEuAaSnEnzZ6x6feLlwAgACqsDA= Date: Tue, 7 Jan 2020 06:42:30 +0000 Message-ID: References: <20191218053902.193417-1-ruifeng.wang@arm.com> <20191220093709.83992-1-ruifeng.wang@arm.com> <20191220093709.83992-2-ruifeng.wang@arm.com> <6d0d70453a2738da502629e3d63f5423@linux.vnet.ibm.com> In-Reply-To: <6d0d70453a2738da502629e3d63f5423@linux.vnet.ibm.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ts-tracking-id: 5182f198-c593-4106-91e2-fb4b5706c5cd.0 x-checkrecipientchecked: true Authentication-Results-Original: spf=none (sender IP is ) smtp.mailfrom=Ruifeng.Wang@arm.com; x-originating-ip: [113.29.88.7] x-ms-publictraffictype: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 629f71d8-5114-4c2c-ff2c-08d7933cc852 X-MS-TrafficTypeDiagnostic: AM0PR08MB3843:|AM0PR08MB3843:|AM6PR08MB3350: x-ld-processed: f34e5979-57d9-4aaa-ad4d-b122a662184d,ExtAddr x-ms-exchange-transport-forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true x-ms-oob-tlc-oobclassifiers: OLM:8273;OLM:8273; x-forefront-prvs: 027578BB13 X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(4636009)(39860400002)(376002)(366004)(396003)(346002)(136003)(199004)(189003)(13464003)(5660300002)(52536014)(81156014)(81166006)(8936002)(2906002)(66446008)(76116006)(64756008)(66946007)(66556008)(66476007)(6916009)(4001150100001)(86362001)(6506007)(53546011)(55236004)(33656002)(55016002)(26005)(7696005)(9686003)(478600001)(186003)(45080400002)(316002)(4326008)(71200400001)(54906003)(8676002); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR08MB3843; H:AM0PR08MB3986.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: Z8c4zbXXv0DjLAQh+L7KJiki8i6C4BvcDPfnaJdVqFFFyNkEXZSG5uaZ/njM9+oYXFa05QRaXu+Qk2oPKqw9mCdRqOWw4TiEe4Z2bukhDBwwUl4H9/BctTtulfoyYA8Zw2KbJar28N+9D86fZP+Ttuh9U7bJNwkj8TBDxkHmU45CCpNmwN1f7pHUPulJuqjvogy5aqhMqeCTYnKbEN6gKyL6AKMitKITVuMh/m0pvUWeYXGCRRIZSvh+er3rmS01xolRR54en0yhrcWfyNqzAw3GCPXGbeOCQMc18fkzKwfSF3SklLoexHfHRysQKwfy4bqewlumXw0LiGAXRtXGM9qSHvVni3HlPoRm3Fq2MRacUjxbejcE8USbxmAyTbS432zwrZk0vJ6nGohc9enQ/t8wZZHyJ5SChPJ1xpA+2RnXhOlXPo+L92hzPedHBX6EkYH6LvZZzbgRO7Lvf0QEDcKbtcu8Hg4TxdpGHVfJW/zqSzw1NN3t6QRETVNiYDCT Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR08MB3843 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Ruifeng.Wang@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT006.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)(39860400002)(346002)(376002)(396003)(136003)(13464003)(189003)(199004)(53546011)(86362001)(33656002)(4001150100001)(36906005)(356004)(316002)(186003)(6506007)(7696005)(336012)(26005)(81166006)(81156014)(478600001)(5660300002)(8936002)(9686003)(54906003)(6862004)(70586007)(2906002)(55016002)(70206006)(45080400002)(26826003)(4326008)(8676002)(52536014); DIR:OUT; SFP:1101; SCL:1; SRVR:AM6PR08MB3350; H:64aa7808-outbound-1.mta.getcheckrecipient.com; FPR:; SPF:Pass; LANG:en; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; MX:1; A:1; X-MS-Office365-Filtering-Correlation-Id-Prvs: fdf66683-9600-4a84-9e6b-08d7933cc48d NoDisclaimer: True X-Forefront-PRVS: 027578BB13 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: TjpBpBSwFnzTs8iOBz/EE6a5JQDjpKo7iRKRMiWBvfDdrRrCBYHef3SxT07jASKqQsZMjElJjrxyVrZeXTAwcjJhBUncPO/pDrzavyFVtg8uLJ94gsR3mainKWI9usPOBIrdKjZWR69Ny06V/FZhHVbbRfUUK3ejoAK0gESrQwCW3lvL2GJX5ByTCXU08FExQEuw5AzXvGC5M1sddi1Y2nN7+nmGPZarIB5L6ODGL49wicuQ3U7k6YMvNr/J1uzJtA+DTHSRN5z09c21p2TMmdkZoLMtI9VZOP7wWHrWDpCfG5xacucWC2Ze2IRVcYoo2xDjA00CXex40lmGYPgFNqf7X8EsdsvObyZYVdkMfdM9THxrF4Aru/gCor6RMQubmXPzQyb1VXHLm6FGHpKiu8gm/hJatVYEuEGLWyona26jGYiqy5nrey5J3wvrSCK+pJ2oZwCHZrWD7K+MgX0y3xSn/P2oPU/XSFMKE+j7MWSSK7OSV/FILpE+raNz/7LB X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Jan 2020 06:42:36.3657 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 629f71d8-5114-4c2c-ff2c-08d7933cc852 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: AM6PR08MB3350 Subject: Re: [dpdk-dev] [PATCH v2 1/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" > -----Original Message----- > From: dwilder > Sent: Tuesday, January 7, 2020 04:17 > To: Ruifeng Wang > Cc: aconole@redhat.com; maicolgabriel@hotmail.com; > thomas@monjalon.net; ferruh.yigit@intel.com; arybchenko@solarflare.com; > dev@dpdk.org; Gavin Hu ; Honnappa Nagarahalli > ; nd > Subject: Re: [dpdk-dev] [PATCH v2 1/2] ci: add travis ci support for aarc= h64 >=20 > On 2019-12-20 01:37, Ruifeng Wang wrote: > > 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 > > reason. > > 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 future. > > 2. Use Bionic distribution for all aarch64 jobs. > > > > Signed-off-by: Ruifeng Wang > > Reviewed-by: Gavin Hu > > --- > > .ci/linux-setup.sh | 11 +++++++---- > > .travis.yml | 37 ++++++++++++++++++++++++++++++++++++- > > 2 files changed, 43 insertions(+), 5 deletions(-) > > > > diff --git a/.ci/linux-setup.sh b/.ci/linux-setup.sh index > > dfb9d4a20..a92978037 100755 > > --- a/.ci/linux-setup.sh > > +++ b/.ci/linux-setup.sh > > @@ -3,7 +3,10 @@ > > # need to install as 'root' since some of the unit tests won't run > > without it sudo python3 -m pip install --upgrade meson > > > > -# setup hugepages > > -cat /proc/meminfo > > -sudo sh -c 'echo 1024 > /proc/sys/vm/nr_hugepages' > > -cat /proc/meminfo >=20 >=20 > dont test for TRAVIS_ARCH here as multiple archs may need to avoid the > hugepage setup as well. >=20 > How about: > if [ "$RUN_TESTS" =3D "1" ]; then > # setup hugepages This should work. I can try this approach in next version. My concern is the name may cause confusion. 'RUN_TESTS' will mean to run default tests (with hugepage). >=20 > If your planning to add a tests using --no-huge option could we add a > NOHUGEPAGES option to the matrix? Yes, this will give control to choose test suite. I will take this into con= sideration. >=20 > > +# hugepage settings are skipped on aarch64 due to environment > > limitation > > +if [ "$TRAVIS_ARCH" !=3D "aarch64" ]; then > > + # setup hugepages > > + cat /proc/meminfo > > + sudo sh -c 'echo 1024 > /proc/sys/vm/nr_hugepages' > > + cat /proc/meminfo > > +fi > > diff --git a/.travis.yml b/.travis.yml index 8f90d06f2..048cb6ba5 > > 100644 > > --- a/.travis.yml > > +++ b/.travis.yml > > @@ -115,6 +115,41 @@ matrix: > > apt: > > packages: > > - *extra_packages > > - > > + - env: DEF_LIB=3D"static" > > + arch: arm64 > > + compiler: gcc > > + addons: > > + apt: > > + packages: > > + - *required_packages > > + - env: DEF_LIB=3D"shared" > > + arch: arm64 > > + compiler: gcc > > + addons: > > + apt: > > + packages: > > + - *required_packages > > + - env: DEF_LIB=3D"static" > > + arch: arm64 > > + compiler: clang > > + addons: > > + apt: > > + packages: > > + - *required_packages > > + - env: DEF_LIB=3D"shared" > > + arch: arm64 > > + compiler: clang > > + addons: > > + apt: > > + packages: > > + - *required_packages > > + - env: DEF_LIB=3D"shared" OPTS=3D"-Denable_kmods=3Dfalse" BUILD_DOCS= =3D1 > > + arch: arm64 > > + compiler: gcc > > + addons: > > + apt: > > + packages: > > + - *required_packages > > + - *doc_packages > > > > script: ./.ci/${TRAVIS_OS_NAME}-build.sh