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 95B79A055A; Tue, 25 Feb 2020 16:39:38 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 0190F1BFB3; Tue, 25 Feb 2020 16:39:37 +0100 (CET) Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2049.outbound.protection.outlook.com [40.107.22.49]) by dpdk.org (Postfix) with ESMTP id 96A911F1C for ; Tue, 25 Feb 2020 16:39:36 +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=l8ZS9JIITwUMyVQbdb6jdQvIDkRtdYHUOdJOXJbmU5Q=; b=P4ms3nu6W14PRoliWFI/xNt4sfJ3WotJZdYbiyhNVkY6vP/RxqYAXPwTDRvTFMjN2uyvs0CNwheGUwdINc3EuLoAQnSnufx08iROcXeUsgKlQoIvxazPzhMJQnX7O4p+Ixyo408BQgNwb7ScntP9/57AHpIg6/tZ113x4sCVGhc= Received: from VE1PR08CA0014.eurprd08.prod.outlook.com (2603:10a6:803:104::27) by AM6PR08MB5205.eurprd08.prod.outlook.com (2603:10a6:20b:ee::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2750.21; Tue, 25 Feb 2020 15:39:35 +0000 Received: from DB5EUR03FT029.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e0a::209) by VE1PR08CA0014.outlook.office365.com (2603:10a6:803:104::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2750.18 via Frontend Transport; Tue, 25 Feb 2020 15:39:34 +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 DB5EUR03FT029.mail.protection.outlook.com (10.152.20.131) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2750.17 via Frontend Transport; Tue, 25 Feb 2020 15:39:34 +0000 Received: ("Tessian outbound 1f9bda537fdc:v42"); Tue, 25 Feb 2020 15:39:34 +0000 X-CR-MTA-TID: 64aa7808 Received: from f6bd85dbfa8f.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 6158D66B-CB8F-4665-849F-7E1F0DC612A1.1; Tue, 25 Feb 2020 15:39:29 +0000 Received: from EUR05-DB8-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id f6bd85dbfa8f.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 25 Feb 2020 15:39:29 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CjU6OHvAQqclqX3NYiBbrm7nbQGa9RPEyHyoXJ5TFlndBnsSRa3SwmsTYoNuRDriM9+IKTN7Y/MDkPL82JCqxxGr0BiKzD4Rk6Dl735eWzRe4lRHxBaJTHeGEUbe29BRHZK7Lchs/jAIurQ12rMB3iWLtNqEuLZ617VSJO/7eCIJjYI2TgDQxdBKh6xRET4cDGShKbPxMUV1s6TiDC9MRDSX9H3XAyZJRGcdijnXfTQxYew8KR09Shec9tw7Epwl3mqSbHREQUsL1St/2yHUwgi0PdPkz4gGB5+0ZxFVGUn57/YgErETYtf1GzFbdRbna4GcmJr2KV98RSCmWsTbVw== 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=l8ZS9JIITwUMyVQbdb6jdQvIDkRtdYHUOdJOXJbmU5Q=; b=Wlt11Q8NMxxyOQZpvm0BGb5XRgLwulb4SDh1KkBTvPEcj/D9luEhzg8zkFLYY28uSLse5OfIOPqXuXPOD0sbd98j91qN6FlUQKEWwWenhEjx/gjQacn3yyQ84Cf1uYuwHRNEYGEW1kmoX1ngogxOUxrG7W+SGUYK0LZ4vJCwf+ReburikwdBFuzziaX2xXeXkuHcx1X3JtKiV4LgZ+4F9rdG40FSrRpOmcxGGUCOxNpQAHz/uZSicb52LzHUOp8UsBKxZ23A/iWNLN0ep/QU3lM8RrgETWvWxDgaLb0ZqNW0QTMl06cUXtxMHmDJWoXQeldjTaWhwqqLrBv89c0Ulg== 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=l8ZS9JIITwUMyVQbdb6jdQvIDkRtdYHUOdJOXJbmU5Q=; b=P4ms3nu6W14PRoliWFI/xNt4sfJ3WotJZdYbiyhNVkY6vP/RxqYAXPwTDRvTFMjN2uyvs0CNwheGUwdINc3EuLoAQnSnufx08iROcXeUsgKlQoIvxazPzhMJQnX7O4p+Ixyo408BQgNwb7ScntP9/57AHpIg6/tZ113x4sCVGhc= Received: from AM0PR08MB3986.eurprd08.prod.outlook.com (20.178.118.90) by AM0SPR01MB0042.eurprd08.prod.outlook.com (20.178.16.11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2750.21; Tue, 25 Feb 2020 15:39:28 +0000 Received: from AM0PR08MB3986.eurprd08.prod.outlook.com ([fe80::7cbc:dcc5:f3da:ac56]) by AM0PR08MB3986.eurprd08.prod.outlook.com ([fe80::7cbc:dcc5:f3da:ac56%7]) with mapi id 15.20.2750.021; Tue, 25 Feb 2020 15:39:28 +0000 From: Ruifeng Wang To: Aaron Conole , David Marchand CC: Michael Santana , Bruce Richardson , dev , Gavin Hu , Honnappa Nagarahalli , nd , nd Thread-Topic: [PATCH v1] ci: add test suite run without hugepage Thread-Index: AQHV663YFFunA/p7g0KHwZKHcVC62qgroK6AgABZ446AAA2aEA== Date: Tue, 25 Feb 2020 15:39:27 +0000 Message-ID: References: <20200225073236.135581-1-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: 54e0e953-221f-4ef1-a4a2-40ff1dacc6e9.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: 105a73e0-b41d-489d-0c3e-08d7ba08ea27 X-MS-TrafficTypeDiagnostic: AM0SPR01MB0042:|AM0SPR01MB0042:|AM6PR08MB5205: x-ms-exchange-transport-forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true nodisclaimer: true x-ms-oob-tlc-oobclassifiers: OLM:8882;OLM:8882; x-forefront-prvs: 0324C2C0E2 X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(4636009)(346002)(396003)(39860400002)(136003)(366004)(376002)(189003)(199004)(81156014)(110136005)(71200400001)(81166006)(8676002)(186003)(66446008)(66556008)(64756008)(55236004)(76116006)(33656002)(26005)(66946007)(66476007)(316002)(8936002)(478600001)(55016002)(6506007)(7696005)(86362001)(2906002)(9686003)(54906003)(53546011)(5660300002)(4326008)(52536014); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0SPR01MB0042; H:AM0PR08MB3986.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A: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: s4kYzSLV6epzOGaRfWsMvJNNCoU6uQpfHHV3o3X+SDvHusYMzysfEV8fvNJthUBxRBogpCn799qy7QQYzf9eT7lQwxJPbJL7DXoND5+N6lgHHuxMoQtDOsIHIVtLh6O22VOm/jjNwfJd36F7bKzMy0rz3WrVs3dXKl7D1HWKzBkbKbfRee9T7ildxl5dKvTx5XCBlOI32sFSjHFHbJmh8aGk/pOePqVuJYK9UtjHPiFn8tmBdIQydT7dqcRHtB2QTWM/xK98uQBvwAjEit2mKzvf/FCmA7beJOQP2AHqncLsIcIm/3cf6irw9iQR6ZMmQKLZfvYDG/IndLdFIcXEXKbPFsElz4qkITxaTPcNzlNaVIQ6XJzVkcFXh9sfzs3n7K0DN2I17xEtpD6FYci9+jmMGGD5TqE2LXNFwJYi62W0vag/AO8yoWXnA6Le21m4 x-ms-exchange-antispam-messagedata: zz0tx8sevghcro9DXjA1j+ukTYoQCx4BINpWOnOj9BKyDydJ03+eAuKsq5STShCxDKfokK3t2/PWxYszFMfADi377W2X5RSiXV6QAblEtT9NhOtfSLU24N2MzzWah4AwlwPxO5c4NEvQ1j/5vfVVwQ== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0SPR01MB0042 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Ruifeng.Wang@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT029.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)(346002)(376002)(136003)(396003)(39860400002)(199004)(189003)(5660300002)(70206006)(26826003)(54906003)(52536014)(70586007)(7696005)(33656002)(356004)(110136005)(4326008)(478600001)(45080400002)(6506007)(8676002)(81166006)(26005)(2906002)(9686003)(86362001)(55016002)(186003)(81156014)(336012)(316002)(8936002)(53546011); DIR:OUT; SFP:1101; SCL:1; SRVR:AM6PR08MB5205; 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: 34f25949-7ff4-4b76-89cb-08d7ba08e640 X-Forefront-PRVS: 0324C2C0E2 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: m4yX8jcqu25hL6D02pqi/tnaubHM9JeElx1Wn1Ab60cJK4BeUxHfu34yBFLdSwAi/QjczKbPHO8qatKHIx+Ayu1TXiyxvLjqxt1XgFdPCFNRouJV7ZbuKBpXi9OxfxGr/EFMbkfguwCsiP2VljQwhkuzrYfrlogEWMIXFWTUGhq11XBXpanVrG1PMQmWNknCcbNscx7pZgnHsgFxLvi1VvZdB8BI4+L2wNjoaS14FVa9pCoHI+LnlGoL7cqhkOAhXzRTYJQz6CB8ZIyB7HmoYjclnhjhPvpTV938ppgW0/H4Vl8qHzmpPz0NP5pGLsKvLK8OvmZOjW0utecBTmFYwIAK8/c9F2y8l8DPuRghYMm4vc8+VzqYZTRiBGPaiIjp8cFOdbGqDLYLeaTYdBushSLfWreoNuGkFZfOstgXFz8lcGNDzdOko+0toRpgjNdu X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Feb 2020 15:39:34.7066 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 105a73e0-b41d-489d-0c3e-08d7ba08ea27 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: AM6PR08MB5205 Subject: Re: [dpdk-dev] [PATCH v1] ci: add test suite run without hugepage 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: Aaron Conole > Sent: Tuesday, February 25, 2020 22:36 > To: David Marchand > Cc: Ruifeng Wang ; Michael Santana > ; Bruce Richardson > ; dev ; Gavin Hu > ; Honnappa Nagarahalli > ; nd > Subject: Re: [PATCH v1] ci: add test suite run without hugepage >=20 > David Marchand writes: >=20 > > On Tue, Feb 25, 2020 at 8:33 AM Ruifeng Wang > wrote: > >> > >> This test suite is derived from fast-tests suite. Cases in this suite > >> are run with '--no-huge' flag. > >> > >> The suite aims to cover as many as possible test cases out of the > >> fast-tests suites in the environments without huge pages support, > >> like containers. > >> > >> Signed-off-by: Ruifeng Wang > >> Reviewed-by: Gavin Hu > > > > Compilation time is what makes the most of a "tests" job in Travis. > > So I'd prefer we avoid adding more jobs for x86_64 (see below). > > > > > >> --- > >> .ci/linux-build.sh | 4 +++ > >> .travis.yml | 12 +++++++ > >> app/test/meson.build | 75 > >> ++++++++++++++++++++++++++++++++++++++++++++ > >> 3 files changed, 91 insertions(+) > >> > >> diff --git a/.ci/linux-build.sh b/.ci/linux-build.sh index > >> d500c4c00..39515d915 100755 > >> --- a/.ci/linux-build.sh > >> +++ b/.ci/linux-build.sh > >> @@ -92,3 +92,7 @@ fi > >> if [ "$RUN_TESTS" =3D "1" ]; then > >> sudo meson test -C build --suite fast-tests -t 3 fi > >> + > >> +if [ "$RUN_TESTS_NO_HUGE" =3D "1" ]; then > >> + sudo meson test -C build --suite nohuge-tests -t 3 fi > > > > You can replace the "boolean" RUN_TESTS with a TESTSUITES variable > > that contains a list of testsuites. > > Then this part becomes: > > > > for testsuite in ${TESTSUITES:-}; do > > sudo meson test -C build --suite $testsuite -t 3 done > > > > (I wonder if we reaaaally need to be root to run those tests w/ and > > w/o hugepages, Aaron?) >=20 > Last I tested, we didn't need root access when not using hugepages (at le= ast > for core library functionality). It's possible that the test suites for = PMDs might > need that access, but we don't run them in the travis environment. >=20 > > > >> diff --git a/.travis.yml b/.travis.yml index b64a81bd0..0e07d52d0 > >> 100644 > >> --- a/.travis.yml > >> +++ b/.travis.yml > >> @@ -43,6 +43,9 @@ jobs: > >> - env: DEF_LIB=3D"shared" RUN_TESTS=3D1 > >> arch: amd64 > >> compiler: gcc > >> + - env: DEF_LIB=3D"shared" RUN_TESTS_NO_HUGE=3D1 > >> + arch: amd64 > >> + compiler: gcc > > > > And then we only need to update the existing RUN_TESTS jobs for x86_64. >=20 > I like the suggestion. But I guess we'd just make RUN_TESTS=3D1 set > TESTSUITES=3D"..." and otherwise, we can have an ARM64 test to do all the= test > suites. It should be OK to do all applicable test suites in a single job? >=20 > Actually, the ideal would be for the tests to automatically SKIP when no > hugepages are enabled. In this way, case will run either w/ hugepage or w/o hugepage but not both. It will run faster, but with less coverage? >=20 > > > >> - env: DEF_LIB=3D"shared" BUILD_DOCS=3D1 > >> arch: amd64 > >> compiler: gcc > >> @@ -66,6 +69,9 @@ jobs: > >> - env: DEF_LIB=3D"shared" RUN_TESTS=3D1 > >> arch: amd64 > >> compiler: clang > >> + - env: DEF_LIB=3D"shared" RUN_TESTS_NO_HUGE=3D1 > >> + arch: amd64 > >> + compiler: clang > >> - env: DEF_LIB=3D"shared" BUILD_DOCS=3D1 > >> arch: amd64 > >> compiler: clang > >> @@ -101,6 +107,9 @@ jobs: > >> - env: DEF_LIB=3D"static" > >> arch: arm64 > >> compiler: gcc > >> + - env: DEF_LIB=3D"shared" RUN_TESTS_NO_HUGE=3D1 > >> + arch: arm64 > >> + compiler: gcc > >> - env: DEF_LIB=3D"shared" BUILD_DOCS=3D1 > >> arch: arm64 > >> compiler: gcc > >> @@ -124,3 +133,6 @@ jobs: > >> - env: DEF_LIB=3D"shared" > >> arch: arm64 > >> compiler: clang > >> + - env: DEF_LIB=3D"shared" RUN_TESTS_NO_HUGE=3D1 > >> + arch: arm64 > >> + compiler: clang > > > > > > -- > > David Marchand