From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 78E01A00C5; Wed, 20 Jul 2022 17:42:37 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 62935410FC; Wed, 20 Jul 2022 17:42:37 +0200 (CEST) Received: from mail-pl1-f169.google.com (mail-pl1-f169.google.com [209.85.214.169]) by mails.dpdk.org (Postfix) with ESMTP id 7E08540042 for ; Wed, 20 Jul 2022 17:42:36 +0200 (CEST) Received: by mail-pl1-f169.google.com with SMTP id q5so15303207plr.11 for ; Wed, 20 Jul 2022 08:42:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=UWmBJastWrIdnIIzQQOiTZXWapaJAtLknX4fvJmrIdU=; b=sf10XJxk0xOcroAqJO8OkFvvPxQ4dHdn+RuJxyNlIp1c5zhpZuAC7d9A0VA2KI/jU1 Krzoy3Ib78IhXlJxRO0cgQWaSsoJtc5x7DakixxDR3LUkQ061P6Tri6cKvI7XExcv3P+ lEfOVgaecPhMr8S7JKwI+jZXIc44yE4bx2OvPpoNonjrYBTBIRCGnlVjmmaWwckN+I0W LDL3PAEyAIITQjFdyIcKgnUi1ZnVaXv6abmGNcyeYoqcddDCQLbeUZvhfZqe8f/fYWBf AldVllMErne7vntM7Hv7sjd7YP/7e2yBIoTnFMlwuJjKI5oq/m80+MG3UCP4HwFIVqye vc3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=UWmBJastWrIdnIIzQQOiTZXWapaJAtLknX4fvJmrIdU=; b=GJj5LyygSeZ85IczePYJ+KgGTNa+ruYItOfE8gY84uA2dV8SO7ccuG0OarsxnPHrDh I2igPrgH5Txx7RjmJLDP4zrq802be+4SZM73nOduUSpq+wkw1Epz1pq3XaW998HhVNvy MQL+43DQ04l8NsezXjoSpPA/h+/eZw6nmFtjRCrHQhk+pnfcuNMESLZCG6Z7iR1psGVM PNBdGZeY7h3LGsWSEF9W5wzjc8n7kr2vupgmPIoW+rTUr/3bRj9ngVwW8DaQtnS9G0g8 cSheF+o3ttfDSZu6zZiIx8L4rvW1K0lzwdNZmrY3qULNnlSF7i47cjW5LIOXu5SlvkF+ cQrw== X-Gm-Message-State: AJIora/bPFDIS5NjxWvPIZEanIwWPCVXzv4DpmaZm9egHZWgfIcDm3wb 4OBoNoVPVBqVzHhnrmYL7CGNiAR2OfZcGA== X-Google-Smtp-Source: AGRyM1sh+OI90CFKmHL+QThh3j46LGX28UE3BVhXvgx9on9H9coYrsC/j4Sf+dj5YHaMyE1lbc+jGQ== X-Received: by 2002:a17:90a:5207:b0:1ee:dfa1:afa9 with SMTP id v7-20020a17090a520700b001eedfa1afa9mr6063043pjh.246.1658331755744; Wed, 20 Jul 2022 08:42:35 -0700 (PDT) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id s13-20020a170902b18d00b0016bfb09be10sm13975344plr.305.2022.07.20.08.42.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Jul 2022 08:42:35 -0700 (PDT) Date: Wed, 20 Jul 2022 08:42:33 -0700 From: Stephen Hemminger To: Bruce Richardson Cc: Subject: Re: autotest system requirements. Message-ID: <20220720084233.202ba58b@hermes.local> In-Reply-To: References: <20220719130007.629262e4@hermes.local> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On Wed, 20 Jul 2022 12:07:59 +0100 Bruce Richardson wrote: > On Tue, Jul 19, 2022 at 01:00:07PM -0700, Stephen Hemminger wrote: > > With 22.07 release, the test requirements seemed to have changed. > > Can't run tests unless root now. > >=20 > > And the table test fails if only 1G of hugepages is setup. > >=20 > > This doesn't match the documentation: > > https://doc.dpdk.org/guides/prog_guide/meson_ut.html > >=20 > > which shows running tests as non-root. =20 >=20 > Can you clarify a bit more what you are seeing? I can certainly run a sui= te > of unit tests as non-root and have the majority of them pass. There are > failures and timeouts though, but I haven't root-caused why exactly. >=20 > /Bruce >=20 > $ meson test --suite DPDK:fast-tests > ninja: Entering directory `/home/bruce/dpdk.org/build' > ninja: no work to do. > 1/102 DPDK:fast-tests / acl_autotest OK = 3.05s > 2/102 DPDK:fast-tests / atomic_autotest TIMEOUT= 10.01s killed by signal 15 SIGTERM > >>> DPDK_TEST=3Datomic_autotest MALLOC_PERTURB_=3D252 /home/bruce/dpdk.or= g/build/app/test/dpdk-test --file-prefix=3Datomic_autotest =20 >=20 > [3/102] =C3=B0 3/102 DPDK:fast-tests / bitmap_autotest = OK 0.14s > 4/102 DPDK:fast-tests / bpf_autotest OK = 0.12s > 5/102 DPDK:fast-tests / bpf_convert_autotest OK = 0.14s > ... > 100/102 DPDK:fast-tests / pdump_autotest OK = 5.46s > 101/102 DPDK:fast-tests / vdev_autotest OK = 0.16s > 102/102 DPDK:fast-tests / compressdev_autotest SKIP = 0.15s exit status 77 >=20 > Ok: 88 =20 > Expected Fail: 0 =20 > Fail: 1 =20 > Unexpected Pass: 0 =20 > Skipped: 5 =20 > Timeout: 8 =20 >=20 > Full log written to /home/bruce/dpdk.org/build/meson-logs/testlog.txt >=20 Turns out the default for hugepages setup is making it inaccessible. Using new --user flag fixed that. Probably should add that to docs about running tests. With 1G of hugepages: Ok: 96 =20 Expected Fail: 0 =20 Fail: 1 =20 Unexpected Pass: 0 =20 Skipped: 5 =20 Timeout: 0 =20