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 A30A1A0546; Wed, 15 Jul 2020 14:56:51 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C44FC1BEAA; Wed, 15 Jul 2020 14:56:50 +0200 (CEST) Received: from us-smtp-delivery-1.mimecast.com (us-smtp-1.mimecast.com [205.139.110.61]) by dpdk.org (Postfix) with ESMTP id C7FF71BEA1 for ; Wed, 15 Jul 2020 14:56:49 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1594817809; 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=U6/o5qOf7qJQq7xZi9Nt/UQk9eftjElZdpGW3ghzHbU=; b=PVjCjuv46W3XtUj7BF5X0oDCJBsCEF8iKzcdPfHozrjf+ZtU7PkMKyIr0rJzCnuEcodjdM 13se4S9NlhsUu+0+JOY5RANoVGDLYBQ7PNzVRMl6bvd2vemkHyKfOEVhgGD/FYQoej90pA iFke45cRaQL3gMzmI/9rQ/4NcMTSqAc= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-514-t7gUZjnFMhmcuu2SMeMjQg-1; Wed, 15 Jul 2020 08:56:45 -0400 X-MC-Unique: t7gUZjnFMhmcuu2SMeMjQg-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 34DF31B2C993; Wed, 15 Jul 2020 12:56:44 +0000 (UTC) Received: from dhcp-25.97.bos.redhat.com (ovpn-117-20.rdu2.redhat.com [10.10.117.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id C852360BF4; Wed, 15 Jul 2020 12:56:42 +0000 (UTC) From: Aaron Conole To: David Marchand Cc: Van Haaren Harry , Lukasz Wojciechowski , Igor Romanov , Honnappa Nagarahalli , Phil Yang , dev References: Date: Wed, 15 Jul 2020 08:56:41 -0400 In-Reply-To: (David Marchand's message of "Wed, 15 Jul 2020 12:14:35 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain 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" David Marchand writes: > Hello Harry and guys who touched the service code recently :-) > > I spotted a failure for the service UT in Travis: > https://travis-ci.com/github/ovsrobot/dpdk/jobs/361097992#L18697 > > I found only a single instance of this failure and tried to reproduce > it with my usual "brute" active loop with no success so far. > > Any chance it could be due to recent changes? > https://git.dpdk.org/dpdk/commit/?id=f3c256b621262e581d3edcca383df83875ab7ebe > https://git.dpdk.org/dpdk/commit/?id=048db4b6dcccaee9277ce5b4fbb2fe684b212e22 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.