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 32AC4A0546; Wed, 15 Jul 2020 15:02:55 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id EE9691BEAA; Wed, 15 Jul 2020 15:02:53 +0200 (CEST) Received: from us-smtp-delivery-1.mimecast.com (us-smtp-2.mimecast.com [207.211.31.81]) by dpdk.org (Postfix) with ESMTP id 1AD441BEA7 for ; Wed, 15 Jul 2020 15:02:51 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1594818171; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=wsj1kUBbSjzLPPp5jnLntYhXZNc2WBMCQv7pf13sb8Q=; b=XAXCAiFZIae2k5DbJ804Te9DbXNcvnrpLWgaOp9esaIJK/nG5rjAqo7/Q4c8/acX/EweOS EhT702ofoRIlJEIj8hm/AlVRRbG9b3qaMfTvnwxLTfBA4aUHXI14OZITencra8EorVnQ10 7V+HvuvUAtlV/UNjK+w3KwVfpXbduTg= Received: from mail-vs1-f72.google.com (mail-vs1-f72.google.com [209.85.217.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-159-EjfVjzXLOv6VWG-vlIkjbA-1; Wed, 15 Jul 2020 09:02:43 -0400 X-MC-Unique: EjfVjzXLOv6VWG-vlIkjbA-1 Received: by mail-vs1-f72.google.com with SMTP id l189so300934vsc.19 for ; Wed, 15 Jul 2020 06:02:43 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=wsj1kUBbSjzLPPp5jnLntYhXZNc2WBMCQv7pf13sb8Q=; b=Q4MjcQb4t8ngaIyBp/QO+aMgaRHoFnUvy0TT2SlO5E7/ACSAXueLgCdRWyJ1CQV/oj pCWx4qn1anOhJNamkWeI0cR8f63TrLhp+UigdsMRpJQZgUmV37QbhbW4ilK7zY2mERVX 3s2uJ6qfv6FzyUn5ptnVKYVkiL2OZYcmC4dpL+W77YFEXRovcxglaKv3WW4+W1PQoPP3 YDtPb/f6A5q3B34lPrzUZ0cnoDB9ezbKXJ4Wf4gxQrsr1hNYkYce6CFDNutRIwkNCWSj p2h5ZLqOPTP2vMURo+hpXFQmr29RyRtirYn/6O4McaCCKS0kwVvQMzZvxRacxiHyeEgX XwJg== X-Gm-Message-State: AOAM5326ebPqwGVFwdawQISRLOAzZgBjBLUqKMRFySdCXnuIfMFAwFEj JHQXdiJi2XSr1Q2JoatsVJWhzazUUbfD2SyeSLBm5e0BOgzrIR39oo/HVnoRB/AIcFnJByIuDs4 4I9nXplh9dU/QFJF+HzI= X-Received: by 2002:a1f:255:: with SMTP id 82mr7978185vkc.39.1594818163141; Wed, 15 Jul 2020 06:02:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxRHkYmaFL3A2khV23saeXAYeEo+2aywkHb8CaCLFZQRk9owoIpuVlduii0jAWnIYliMEenPcLE898U5XVRr/s= X-Received: by 2002:a1f:255:: with SMTP id 82mr7978153vkc.39.1594818162879; Wed, 15 Jul 2020 06:02:42 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: David Marchand Date: Wed, 15 Jul 2020 15:02:31 +0200 Message-ID: To: Aaron Conole Cc: Van Haaren Harry , Lukasz Wojciechowski , Igor Romanov , Honnappa Nagarahalli , Phil Yang , dev X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] Random failure in service_autotest 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" On Wed, Jul 15, 2020 at 2:56 PM Aaron Conole wrote: > I guess the service_lcore_attr_get failed, but with no useful > information. We should have the test suite app turn the log level all > the way up. I realize it will increase the log data even higher, but > without it, we have no idea why this test failed. > > Something like the following > --- > > diff --git a/app/test/test.c b/app/test/test.c > index 94d26ab1f6..c47cb075f9 100644 > --- a/app/test/test.c > +++ b/app/test/test.c > @@ -150,6 +150,9 @@ main(int argc, char **argv) > > prgname = argv[0]; > > + rte_log_set_global_level(RTE_LOG_DEBUG); > + rte_log_set_level(RTE_LOGTYPE_EAL, RTE_LOG_DEBUG); > + > recursive_call = getenv(RECURSIVE_ENV_VAR); > if (recursive_call != NULL) { > ret = do_recursive_call(); > --- > > That way we can at least debug when it happens. Debugging is one thing. But here service_lcore_attr_get() has a lot of asserts that should trigger a straight error. -- David Marchand