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 B9F0FA0547; Thu, 29 Apr 2021 20:45:12 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A4F92410DF; Thu, 29 Apr 2021 20:45:12 +0200 (CEST) Received: from mail-lj1-f179.google.com (mail-lj1-f179.google.com [209.85.208.179]) by mails.dpdk.org (Postfix) with ESMTP id 7B905410DD for ; Thu, 29 Apr 2021 20:45:11 +0200 (CEST) Received: by mail-lj1-f179.google.com with SMTP id a36so66859038ljq.8 for ; Thu, 29 Apr 2021 11:45:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=p+H58s6ffDHqe2po5T2V6PCj1CI6jOAyJLMGU/UlsH4=; b=JVF8S1LO83P3kRM5Y/jiGp+aMtHWhwhzxVKWq4LKz36YrSYQFHfeOY8LbWhGt8lw1l kpbWMTHanKoC0abLwml9g3Ujdsd+8ywHquD/+bxK9A42HQFCVPljMBkvkTDnjXJty+Jn bdxQIcSyrFVRUHwNHBKjv7OW5mv5zhifi4BqpbXxsRW7fiHFTvAs+z4N64MeuLgbjRCK r9LYbIdjRelC6WPyyWqwbbnL3On7gNFOFJG4Sll7MENj3nDJzvrmsrxUNocKIy6tsD9q pWN3ApAMX0+uJ+oJLNfyvUwpCqmrI7v6WeeZ6iySjuiN8vGSsYFU/2vD1GIB8SJfQk4o 0q+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=p+H58s6ffDHqe2po5T2V6PCj1CI6jOAyJLMGU/UlsH4=; b=WAf8iPm09Y5BuoZrnv7ucX96fqTU5/+Xb48m4MIfOZcX1xJDgh66mae6spNzu4i5UN xmkLYL3Vx/geZNrmW8XR2ACZ9y0swa2xIXV8QvP6opgPcbOz7NmwTzMAuO4r0e3wtV48 /TUB1XV1q9Py6GrQuS2yj6hy3HWZ0FCUlXJ/iqyAtfGPmTSH+jC1yn0QTd+HoxfGJKMG IMTMdvDX5L/G36sDw/0nplmfjVNOKqUNT/M0GNBhWhOyJVDh5xHB+73Xt2Lp7BmoIZVL AwF6Q+HT5RemtcCv0agfoKmRw+x97/lJ8XBxCZh8vwrk7D8zkTsoDUCUiPiKIqIfY4mE qghw== X-Gm-Message-State: AOAM530Fl0J8Xo3av2m6QEdSfggp+L0HMtlLGb7aNBmtyXPHrJz9Pfdg VRmmGFNb1fbVQkcIAWuz0xzalw== X-Google-Smtp-Source: ABdhPJyxGSMrlj0b8H4vheVW7U/aEoVj91Hzakd5N4sJrZP1H1IoDr3JpWlIAIomMyUn1C/I057IzA== X-Received: by 2002:a2e:9cb:: with SMTP id 194mr793352ljj.438.1619721911060; Thu, 29 Apr 2021 11:45:11 -0700 (PDT) Received: from toster (89-73-146-138.dynamic.chello.pl. [89.73.146.138]) by smtp.gmail.com with ESMTPSA id n1sm55493lfg.260.2021.04.29.11.45.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Apr 2021 11:45:10 -0700 (PDT) Date: Thu, 29 Apr 2021 20:45:08 +0200 From: Stanislaw Kardach To: "Medvedkin, Vladimir" Cc: David Marchand , dev , "Ananyev, Konstantin" , "Chilikin, Andrey" , "Kinsella, Ray" , "Wang, Yipeng1" , "Gobriel, Sameh" , Bruce Richardson Message-ID: <20210429184508.3set2zxt5jv5b73z@toster> References: <1618319973-391016-1-git-send-email-vladimir.medvedkin@intel.com> <1618847995-91229-1-git-send-email-vladimir.medvedkin@intel.com> <1618847995-91229-4-git-send-email-vladimir.medvedkin@intel.com> <381c0806-877c-fe06-4a69-8f9fc8221b2c@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <381c0806-877c-fe06-4a69-8f9fc8221b2c@intel.com> Subject: Re: [dpdk-dev] [PATCH v5 3/5] test/hash: add additional thash tests 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 Sender: "dev" On Thu, Apr 29, 2021 at 12:17:08PM +0300, Medvedkin, Vladimir wrote: > > Test Failed > > RTE>> > > --- stderr --- > > EAL: Detected 2 lcore(s) > > EAL: Detected 1 NUMA nodes > > EAL: Detected shared linkage of DPDK > > EAL: Multi-process socket /var/run/dpdk/thash_autotest/mp_socket > > EAL: Selected IOVA mode 'PA' > > EAL: No available 1048576 kB hugepages reported > > EAL: VFIO support initialized > > APP: HPET is not enabled, using TSC as default timer > > HASH: Can't add helper due to conflict with existing helper second_range > > HASH: Can't generate m-sequence due to period overflow > > EAL: Test assert test_adjust_tuple line 559 failed: can not adjust > > tuple, ret -17 > > I can see the same issue on my side. Happening randomly, more often on a RISC-V target than on my laptop (i5-10210U). Though the reproduction seems to be a lot of patience and the following: meson test --repeat 100000 DPDK:fast-tests / thash_autotest I wonder if it can be related to the desired_value in test_adjust_tuple being a randomized value without setting the seed prior to the test? I haven't analyzed the code in-depth but it seems that the rte_thash_add_helper() also uses a random lfsr which is then used in the subkey generation. Could this contribute to the randomness of the issue? -- Best Regards, Stanislaw Kardach