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 3BC84A0564; Sat, 7 Mar 2020 15:36:30 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 726451BF90; Sat, 7 Mar 2020 15:36:29 +0100 (CET) Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2079.outbound.protection.outlook.com [40.107.22.79]) by dpdk.org (Postfix) with ESMTP id 3A7813B5 for ; Sat, 7 Mar 2020 15:36:27 +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=khDguAJEjb6ZBecuVhWE0Sbg8vgZAJP3YN1IJGldfTk=; b=gjFeNr0WjIV2aAErugPqDz01ujctLkOwoMnacPvpa6iTTATl8Giu+q9mRDo5z6nVPUc56tFQPFAYZ8DJ2eQH4HGRzGRikV/YYFIIK4hi1m1Cy9mD3aqzzfzIhlwtl4FukCzoas30wPPybzEl2A3KeBFrOBnLs9ikv7Y6xadxMRg= Received: from DB6P192CA0024.EURP192.PROD.OUTLOOK.COM (2603:10a6:4:b8::34) by AM6PR08MB4376.eurprd08.prod.outlook.com (2603:10a6:20b:bb::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2793.17; Sat, 7 Mar 2020 14:36:25 +0000 Received: from DB5EUR03FT021.eop-EUR03.prod.protection.outlook.com (2603:10a6:4:b8:cafe::b8) by DB6P192CA0024.outlook.office365.com (2603:10a6:4:b8::34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2793.15 via Frontend Transport; Sat, 7 Mar 2020 14:36:25 +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 DB5EUR03FT021.mail.protection.outlook.com (10.152.20.238) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2793.11 via Frontend Transport; Sat, 7 Mar 2020 14:36:24 +0000 Received: ("Tessian outbound 846b976b3941:v42"); Sat, 07 Mar 2020 14:36:24 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: d283eeb035e5e9a3 X-CR-MTA-TID: 64aa7808 Received: from 31da920af9d4.2 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 57D4D032-8C5C-4E33-BA20-B11DBCAFCF8E.1; Sat, 07 Mar 2020 14:36:19 +0000 Received: from EUR05-AM6-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 31da920af9d4.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Sat, 07 Mar 2020 14:36:19 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lXWxCoWK91yArVpSbSBnrDBN2VSMsceVNtZG+meEkzpt4srdw0HqZbbgJKOmfiWeZEY4dNHDAeNDmtS8XqW0d+nytv5I3IhwU9RZDHz6OCE9chLt50GiqVFFM0HUCmb1TKKnv88FEA7AiQvV/Nm/vkPjf70jIml5qXPoM1lUh4NkpRSwxwgMl5vuDjbTDBgghSBkgcQA6ZW30uMTUbetJpknJsZw0n47zKd+4nbhNq1PwLbLRMwFKNlwzjai53FhkTqPvgN+9VbRrCLR4Syl45p6dB75jpnNVgHH0fGgzthJNkYfcq2Q3jltfUNp+QlxsABknGmt2QczNZp1sWVPYQ== 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=khDguAJEjb6ZBecuVhWE0Sbg8vgZAJP3YN1IJGldfTk=; b=cgjoIDohSC5qMT2xPDrGofKMviLOMfcIPDyYS9k2FiF0AigKV8Yw3fYBbyjuc5B2MjLnr30xwzqJNY4WwhQEEFOPPM6wVC4q1zYi0t7CGhr1rQUNJxu44EdQMncyP1rqoTwaSrJbhXDlWm20b7paaZ3Z12J4kOTtojf+siHaNCtJCcGeQl8MpqkEkwslf+ggTFv8LQnIyKCQ2c5WIgRGCLNbLnEp/yks9kPi96wFI/KVAcfuiJGC+5Po/LaCR4JVIU6w1zvgwbAmn3qeUmlKagY4mQCPRSTSQfdzxT3nuHICxo9BJ7Aa9JnL/KcTASFm5iQvi2Nyx90EKHPsDiKDBw== 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=khDguAJEjb6ZBecuVhWE0Sbg8vgZAJP3YN1IJGldfTk=; b=gjFeNr0WjIV2aAErugPqDz01ujctLkOwoMnacPvpa6iTTATl8Giu+q9mRDo5z6nVPUc56tFQPFAYZ8DJ2eQH4HGRzGRikV/YYFIIK4hi1m1Cy9mD3aqzzfzIhlwtl4FukCzoas30wPPybzEl2A3KeBFrOBnLs9ikv7Y6xadxMRg= Received: from AM0PR08MB3986.eurprd08.prod.outlook.com (20.178.118.90) by AM0PR08MB3908.eurprd08.prod.outlook.com (20.178.23.207) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2772.14; Sat, 7 Mar 2020 14:36:18 +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.2793.013; Sat, 7 Mar 2020 14:36:17 +0000 From: Ruifeng Wang To: Aaron Conole CC: "maicolgabriel@hotmail.com" , "bruce.richardson@intel.com" , "dev@dpdk.org" , "david.marchand@redhat.com" , Gavin Hu , Honnappa Nagarahalli , "juraj.linkes@pantheon.tech" , nd , nd Thread-Topic: [PATCH v2 2/2] ci: add test suite run without hugepage Thread-Index: AQHV7e5OO31oaidk8E6Ver6GeJIdEqg4uZ+dgACSjWCAAM76jYABD5QAgACZNiqAAXUwEA== Date: Sat, 7 Mar 2020 14:36:17 +0000 Message-ID: References: <20200225073236.135581-1-ruifeng.wang@arm.com> <20200228041904.195597-1-ruifeng.wang@arm.com> <20200228041904.195597-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: 920ad963-a90e-4858-9c2a-b35968b0fba4.0 Authentication-Results-Original: spf=none (sender IP is ) smtp.mailfrom=Ruifeng.Wang@arm.com; x-originating-ip: [222.68.170.255] x-ms-publictraffictype: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: e0deefdc-d87b-4b96-4cd3-08d7c2a4e9ca X-MS-TrafficTypeDiagnostic: AM0PR08MB3908:|AM0PR08MB3908:|AM6PR08MB4376: 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: 03355EE97E X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(4636009)(396003)(366004)(376002)(136003)(346002)(39860400002)(189003)(199004)(478600001)(9686003)(86362001)(76116006)(55016002)(66946007)(8936002)(66476007)(81156014)(5660300002)(52536014)(45080400002)(81166006)(4326008)(53546011)(64756008)(8676002)(66556008)(966005)(66446008)(6916009)(6506007)(186003)(2906002)(26005)(71200400001)(33656002)(54906003)(316002)(7696005); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR08MB3908; 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: FDLTx6RyMqnBpm40tApXrGQuBRYaR4osCSpIsknuc2ET8tKXv4SXRnv2qg3KWxH7pbWNUJtEE9VDqgd8lmgfsbT+tmuztHpP/CTtLYksYO16IfIT1p9M7ft55EIUbNxuvB4HU/ViSttOTTFHvF5A5yGjc9QiDLz2CF4nT/ELZzFayj16kYCsigoXjsbBNnZ41Irzb8gjoalhAll4kGf3Zs4RVFQWieh4mQFd/XYZnDJ8seKMVD9IaJvaeFpUEqI8g/Dl8YdbHeuAGi+NzmJIpWCUrAdgS55+LgbxtNaFRjBBv7agtHRhbKtyivD7/jkrkFRqp6L0UG4J+qEdG5pz0FfYyPsOFHyGq5AQ69r8oS/Jc8E992ImmP/Crv2u1Unymibex+x5bsedt2y1c7cP5xJ1NP9sUd/4wPgJruf1i9tx4eQuoNq/ohFbd53cwSn8Eeti2xwQBsx4/9Tv+TWbDQORCJCvnr2Wc2HQoWJMMqvquyIjjZRL5KQsC9S0F31ZY86xKINh+l8iThqfoChm0A== x-ms-exchange-antispam-messagedata: Ff9c4p9iIJO9ZrKUYaAI4loimHTDoH0kM7G3PJlGnw5GCfhO7W+6N3NxbV2K9TjaDfP8qIWCuz7jSzkAtiItAE6Srf4vbTciUIqZqLj+qDe/QG3wePQfH9dqeSzs7aGe7jtgb82jcfHUzSuOqNT3eg== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR08MB3908 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Ruifeng.Wang@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT021.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)(39860400002)(396003)(136003)(189003)(199004)(33656002)(5660300002)(86362001)(52536014)(2906002)(45080400002)(9686003)(55016002)(26826003)(966005)(478600001)(336012)(356004)(54906003)(8676002)(30864003)(70206006)(70586007)(316002)(8936002)(81156014)(81166006)(4326008)(6506007)(6862004)(186003)(26005)(7696005)(53546011); DIR:OUT; SFP:1101; SCL:1; SRVR:AM6PR08MB4376; 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: a28bfe94-c709-4b01-f248-08d7c2a4e5ab X-Forefront-PRVS: 03355EE97E X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: aer8yCIPTvXsbSL0s4Mmf4iv4OD1+VRVzbhUFSLk+dZp+A5AXuEYuC/i9r4zhavMKSRpIQWeB/IY7IDYDo9wckv8H6Bi1qNCAzA+hZgiouFeBh9cWXmPqqVsXjon+nslS1u/Bg6RBVyVRZaNEERZwk2Qu49gMjEoQplP+RMxTErxRCYiEPPwkm6uogd7VI+vp2VN8mARxWFh8APtj1o9IxBjsrphji7UiQZ8TQX/Je+f4wjHIqgSkFRxat6iS42o/Gc8hbdJpVuhCgNew13WgfL7U9jBYtGtdMAviaEtEc00C3gPzPaODVQZRusG7ZquCa18ZCd7PYYHDrkqmECtRK04o0OgBQRpwDoPrsMholMoStYHIRAJMwpnlB5p3xUfDF0nuhF/dsTcrmjD1INRvJEJAeyWMo9KsFv+sKpF/iLMZa5bK5Le6E7nniNmvVL2Bmwv2RrvMA9H6HuVIyoCvCgK/vBe4Pht5KzaamoKzFRvyDXhZlf1Rq1LrZNFE2yfi93USpQJCx25pQNU4c+fMQ== X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Mar 2020 14:36:24.8918 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e0deefdc-d87b-4b96-4cd3-08d7c2a4e9ca 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: AM6PR08MB4376 Subject: Re: [dpdk-dev] [PATCH v2 2/2] 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: Friday, March 6, 2020 23:57 > To: Ruifeng Wang > Cc: maicolgabriel@hotmail.com; bruce.richardson@intel.com; dev@dpdk.org; > david.marchand@redhat.com; Gavin Hu ; Honnappa > Nagarahalli ; juraj.linkes@pantheon.tech; > nd > Subject: Re: [PATCH v2 2/2] ci: add test suite run without hugepage >=20 > Ruifeng Wang writes: >=20 > >> -----Original Message----- > >> From: Aaron Conole > >> Sent: Thursday, March 5, 2020 22:37 > >> To: Ruifeng Wang > >> Cc: maicolgabriel@hotmail.com; bruce.richardson@intel.com; > >> dev@dpdk.org; david.marchand@redhat.com; Gavin Hu > ; > >> Honnappa Nagarahalli ; > >> juraj.linkes@pantheon.tech; nd > >> Subject: Re: [PATCH v2 2/2] ci: add test suite run without hugepage > >> > >> Ruifeng Wang writes: > >> > >> >> -----Original Message----- > >> >> From: Aaron Conole > >> >> Sent: Thursday, March 5, 2020 01:31 > >> >> To: Ruifeng Wang > >> >> Cc: maicolgabriel@hotmail.com; bruce.richardson@intel.com; > >> >> dev@dpdk.org; david.marchand@redhat.com; Gavin Hu > >> ; > >> >> Honnappa Nagarahalli ; > >> >> juraj.linkes@pantheon.tech; nd > >> >> Subject: Re: [PATCH v2 2/2] ci: add test suite run without > >> >> hugepage > >> >> > >> >> Ruifeng Wang writes: > >> >> > >> >> > 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 > >> >> > --- > >> >> > >> >> I like this much more. Few comments. > >> >> > >> >> > .travis.yml | 10 +++++-- > >> >> > app/test/meson.build | 71 > >> >> > ++++++++++++++++++++++++++++++++++++++++++++ > >> >> > >> >> You should update doc/guides/prog_guide/meson_ut.rst to include > >> >> some detail about the new tests suite. > >> >> > >> > Thanks. Will update document in next version. > >> > > >> >> > 2 files changed, 79 insertions(+), 2 deletions(-) > >> >> > > >> >> > diff --git a/.travis.yml b/.travis.yml index > >> >> > b64a81bd0..eed1d96db > >> >> > 100644 > >> >> > --- a/.travis.yml > >> >> > +++ b/.travis.yml > >> >> > @@ -40,7 +40,7 @@ jobs: > >> >> > - env: DEF_LIB=3D"static" > >> >> > arch: amd64 > >> >> > compiler: gcc > >> >> > - - env: DEF_LIB=3D"shared" RUN_TESTS=3D1 > >> >> > + - env: DEF_LIB=3D"shared" RUN_TESTS=3D1 TEST_SUITES=3D"fast-te= sts > >> >> nohuge-tests" > >> >> > arch: amd64 > >> >> > compiler: gcc > >> >> > - env: DEF_LIB=3D"shared" BUILD_DOCS=3D1 @@ -63,7 +63,7 @@ job= s: > >> >> > - env: DEF_LIB=3D"static" > >> >> > arch: amd64 > >> >> > compiler: clang > >> >> > - - env: DEF_LIB=3D"shared" RUN_TESTS=3D1 > >> >> > + - env: DEF_LIB=3D"shared" RUN_TESTS=3D1 TEST_SUITES=3D"fast-te= sts > >> >> nohuge-tests" > >> >> > arch: amd64 > >> >> > compiler: clang > >> >> > - env: DEF_LIB=3D"shared" BUILD_DOCS=3D1 @@ -101,6 +101,9 @@ > jobs: > >> >> > - env: DEF_LIB=3D"static" > >> >> > arch: arm64 > >> >> > compiler: gcc > >> >> > + - env: DEF_LIB=3D"shared" RUN_TESTS=3D1 TEST_SUITES=3D"nohuge- > tests" > >> >> > + arch: arm64 > >> >> > + compiler: gcc > >> >> > - env: DEF_LIB=3D"shared" BUILD_DOCS=3D1 > >> >> > arch: arm64 > >> >> > compiler: gcc > >> >> > @@ -124,3 +127,6 @@ jobs: > >> >> > - env: DEF_LIB=3D"shared" > >> >> > arch: arm64 > >> >> > compiler: clang > >> >> > + - env: DEF_LIB=3D"shared" RUN_TESTS=3D1 TEST_SUITES=3D"nohuge- > tests" > >> >> > + arch: arm64 > >> >> > + compiler: clang > >> >> > diff --git a/app/test/meson.build b/app/test/meson.build index > >> >> > 0a2ce710f..162a1a76f 100644 > >> >> > --- a/app/test/meson.build > >> >> > +++ b/app/test/meson.build > >> >> > @@ -237,6 +237,60 @@ fast_test_names =3D [ > >> >> > 'thash_autotest', > >> >> > ] > >> >> > >> >> Shouldn't we also trim the list of fast-tests? Otherwise, these > >> >> tests will run twice. > >> >> > >> > I think you mean to have exclusive lists for fast-tests and nohuge-t= ests. > >> > >> That's what I was thinking. > >> > >> > Overlapped cases will run twice if both test suites are opted in. > >> > But the two runs are not the same, one runs with hugepage and the > >> > other runs in no-huge mode. > >> > >> Is it really so different between huge and no-huge? Most of the > >> libraries won't care - they call the rte_**alloc functions, and it > >> returns blocks of memory. Maybe I am simplifying it too much. > >> > >> > If fast-tests list is splited, we will need to always run multiple > >> > suites to cover all fast tests. > >> > We can keep x86 to run only fast-tests suite to avoid extra test > >> > runs if they are not necessary. Thoughts? > >> > >> I guess since most DPDK usage will be with hugepages, we should > >> prefer to test with it. I don't care too much about the color of > >> this particular shed. If you want to do it that way, it's okay by me > >> - it gives us the coverage, and doesn't duplicate tests between those > environments. > >> > >> BUT it means when we add a new test to the suite, we need to > remember > >> to add it in two places - fast_test and nohuge_test. That almost > >> guarantees we will miss tests (because we accidentally don't add it > >> to nohuge). Maybe there's another way, like keep a list of all the > >> tests and some information on whether the test needs hugepages to > >> run. Then if there are no hugepages available, we can write that we S= KIP > the tests that don't support huge pages. > >> In that way, we don't need two different lists - and if there are > >> hugepages, we will run all the test cases. > >> WDYT? > >> > > Yes. Agree with you that having duplicate tests in suites is error pron= e. >=20 > Cool! >=20 > > IIUC, cases in a suite is determined at build time, as well as command > options to run cases. > > This implies hugepage availability needs to be detected at build time > > if we want to run only suitable cases in suite in an environment. It co= uld be > something we don't want. > > > > I'll trim fast-tests in next version to remove duplicated cases. >=20 > I think it might be better to make the array something like (just a psued= o- > code example): >=20 > # psuedo-code to check for hugepages > has_hugepages =3D check_for_hugepages() >=20 > ... >=20 > fast_test_names =3D [ > ['acl_autotest', true], > ['alarm_autotest', true], > ['atomic_autotest', true], > ... >=20 > Then in the code: >=20 > foreach arg : fast_test_names > .... > if not arg[1] > test(arg[0], ...) > if has_hugepages and arg[1] > test(arg[0], ) >=20 > Does it make sense? Do you see a problem? >=20 Yes, this will keep tests in a single suite. Actually, I thought about this approach, but had no idea on check_for_hugep= ages(). Value of "/proc/sys/vm/nr_hugepages" may be not reliable. Hugepage could be= allocated at run time after project building. I can try hugepage allocating to detect, but it looks inelegant. Any suggestions? Thank you. /Ruifeng > > Thank you. > > > >> >> ex: https://travis-ci.com/ovsrobot/dpdk/jobs/292037684 > >> >> > >> >> > +nohuge_test_names =3D [ > >> >> > + 'byteorder_autotest', > >> >> > + 'cmdline_autotest', > >> >> > + 'common_autotest', > >> >> > + 'cpuflags_autotest', > >> >> > + 'cycles_autotest', > >> >> > + 'debug_autotest', > >> >> > + 'eal_flags_n_opt_autotest', > >> >> > + 'eal_flags_no_huge_autotest', > >> >> > + 'eal_flags_vdev_opt_autotest', > >> >> > + 'eal_fs_autotest', > >> >> > + 'errno_autotest', > >> >> > + 'event_ring_autotest', > >> >> > + 'fib_autotest', > >> >> > + 'fib6_autotest', > >> >> > + 'interrupt_autotest', > >> >> > + 'logs_autotest', > >> >> > + 'lpm_autotest', > >> >> > + 'lpm6_autotest', > >> >> > + 'memcpy_autotest', > >> >> > + 'meter_autotest', > >> >> > + 'per_lcore_autotest', > >> >> > + 'prefetch_autotest', > >> >> > + 'rcu_qsbr_autotest', > >> >> > + 'red_autotest', > >> >> > + 'rib_autotest', > >> >> > + 'rib6_autotest', > >> >> > + 'ring_autotest', > >> >> > + 'rwlock_rda_autotest', > >> >> > + 'rwlock_rds_wrm_autotest', > >> >> > + 'rwlock_rde_wro_autotest', > >> >> > + 'sched_autotest', > >> >> > + 'spinlock_autotest', > >> >> > + 'string_autotest', > >> >> > + 'tailq_autotest', > >> >> > + 'user_delay_us', > >> >> > + 'version_autotest', > >> >> > + 'crc_autotest', > >> >> > + 'delay_us_sleep_autotest', > >> >> > + 'eventdev_common_autotest', > >> >> > + 'fbarray_autotest', > >> >> > + 'ipsec_autotest', > >> >> > + 'kni_autotest', > >> >> > + 'kvargs_autotest', > >> >> > + 'member_autotest', > >> >> > + 'metrics_autotest', > >> >> > + 'power_cpufreq_autotest', > >> >> > + 'power_autotest', > >> >> > + 'power_kvm_vm_autotest', > >> >> > + 'reorder_autotest', > >> >> > + 'service_autotest', > >> >> > + 'thash_autotest', > >> >> > +] > >> >> > + > >> >> > perf_test_names =3D [ > >> >> > 'ring_perf_autotest', > >> >> > 'mempool_perf_autotest', @@ -341,6 +395,10 @@ if > >> >> > dpdk_conf.has('RTE_LIBRTE_RING_PMD') > >> >> > fast_test_names +=3D 'latencystats_autotest' > >> >> > driver_test_names +=3D 'link_bonding_mode4_autotest' > >> >> > fast_test_names +=3D 'pdump_autotest' > >> >> > + nohuge_test_names +=3D 'ring_pmd_autotest' > >> >> > + nohuge_test_names +=3D 'bitratestats_autotest' > >> >> > + nohuge_test_names +=3D 'latencystats_autotest' > >> >> > + nohuge_test_names +=3D 'pdump_autotest' > >> >> > endif > >> >> > > >> >> > if dpdk_conf.has('RTE_LIBRTE_POWER') @@ -430,6 +488,19 @@ > >> foreach > >> >> > arg : fast_test_names > >> >> > endif > >> >> > endforeach > >> >> > > >> >> > +foreach arg : nohuge_test_names > >> >> > + if host_machine.system() =3D=3D 'linux' > >> >> > + test(arg, dpdk_test, > >> >> > + env : ['DPDK_TEST=3D' + arg], > >> >> > + args : test_args + > >> >> > + ['--no-huge'] + ['-m 1024'] + > >> >> > + ['--file-prefix=3D@0@'.format(arg)], > >> >> > + timeout : timeout_seconds_fast, > >> >> > + is_parallel : false, > >> >> > + suite : 'nohuge-tests') > >> >> > + endif > >> >> > +endforeach > >> >> > + > >> >> > foreach arg : perf_test_names > >> >> > test(arg, dpdk_test, > >> >> > env : ['DPDK_TEST=3D' + arg],