From patchwork Sat Jun 15 06:42:15 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Marchand X-Patchwork-Id: 54815 Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id CDE181C29F; Sat, 15 Jun 2019 08:42:44 +0200 (CEST) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id 51A891BE84 for ; Sat, 15 Jun 2019 08:42:43 +0200 (CEST) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 285673688B; Sat, 15 Jun 2019 06:42:42 +0000 (UTC) Received: from dmarchan.remote.csb (unknown [10.40.205.71]) by smtp.corp.redhat.com (Postfix) with ESMTP id DBE555C29A; Sat, 15 Jun 2019 06:42:38 +0000 (UTC) From: David Marchand To: dev@dpdk.org Cc: thomas@monjalon.net, aconole@redhat.com, msantana@redhat.com Date: Sat, 15 Jun 2019 08:42:15 +0200 Message-Id: <1560580950-16754-1-git-send-email-david.marchand@redhat.com> In-Reply-To: <1559638792-8608-1-git-send-email-david.marchand@redhat.com> References: <1559638792-8608-1-git-send-email-david.marchand@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.30]); Sat, 15 Jun 2019 06:42:42 +0000 (UTC) Subject: [dpdk-dev] [PATCH v2 00/15] Unit tests fixes for CI 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" This is a joint effort to make the unit tests ready for CI. The first patches are fixes that I had accumulated. Then the second part of the series focuses on skipping tests when some requirements are not fulfilled so that we can start them in a restrained environment like Travis virtual machines that gives us two cores and does not have specific hw devices. We are still not ready for enabling those tests in Travis. At least, the following issues remain: - some fixes on librte_acl have not been merged yet [1], - the tests on --file-prefix are still ko, and have been isolated in a test that we could disable while waiting for the fixes, - rwlock_autotest and hash_readwrite_lf_autotest are taking a little more than 10s, - librte_table unit test crashes on ipv6 [2], - the "perf" tests are taking way too long for my taste, - the shared build unit tests all fail when depending on mempool since the mempool drivers are not loaded, 1: http://patchwork.dpdk.org/project/dpdk/list/?series=4242 2: https://bugs.dpdk.org/show_bug.cgi?id=285 Changelog since v1: - removed limit on 128 cores in rcu tests, - reworked Michael patch on eal test and started splitting big tests into subtests: when a subtest fails, it does not impact the other subtests; plus, subtests are shorter to run, so easier to make them fit in 10s, Comments/reviews welcome!