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 C37AEA0565; Tue, 2 Mar 2021 17:23:24 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 48BAC22A2C9; Tue, 2 Mar 2021 17:16:55 +0100 (CET) Received: from mail-wr1-f47.google.com (mail-wr1-f47.google.com [209.85.221.47]) by mails.dpdk.org (Postfix) with ESMTP id 469BD40142 for ; Tue, 2 Mar 2021 17:16:54 +0100 (CET) Received: by mail-wr1-f47.google.com with SMTP id j2so7634867wrx.9 for ; Tue, 02 Mar 2021 08:16:54 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:content-transfer-encoding:user-agent:mime-version; bh=wwteRk1vHHYeQR0l6G0E7oExN8ID1zRIG2nn2G1yOO8=; b=Q5Uwih8wa9SvZwTa2+JQNcLFU+Naxcg7tpFDv67/h3soiXuvnQLHsrK7l1FyXttQcq IrOz6WJxFMH0YGBvb2CmvuGeP+4WAGwO4mhrcZJOouNXkhPCpOrTNSdJYoz7GlLYecz7 v4WD8oWvW0O9VwGSuAKH6CxJWABkafammzHcMfNFg1Y/Cv0bhgk0vhXJ7jiGJ/swG/WF nTzKN/Ui+8Qjoo4RFokyzr5nm8Ar+DS8LDw5ZrJ7EMI/TGjVK9tRqZZOC2PKWCH8oSl/ Z/nDyBZcbwuWF8Uf1Hh338+uU2YceFzP3ehHcuwIL0BAHXnBXAMsKnobLXx8SrRxLFRD cliA== X-Gm-Message-State: AOAM531oTxpiPYLOoPQp0SfPNFj5qd1ARyH6N1R4jE+QR6w+Z3NouS+O OqdNOc3wZSxYNB/uUbvbp48= X-Google-Smtp-Source: ABdhPJy2cGP52BGFCqrEntBiM1mz73HrPtsZ9UVDuF9+ia4SkqLpNK5Ji8BaLoMq45zUaZWKbQk94w== X-Received: by 2002:adf:a18a:: with SMTP id u10mr9381621wru.197.1614701814111; Tue, 02 Mar 2021 08:16:54 -0800 (PST) Received: from localhost ([2a01:4b00:f419:6f00:7a8e:ed70:5c52:ea3]) by smtp.gmail.com with ESMTPSA id l2sm30009089wrv.50.2021.03.02.08.16.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Mar 2021 08:16:53 -0800 (PST) Message-ID: <35a3fc3ed2d78d0420aa2475b2902e225fab48e0.camel@debian.org> From: Luca Boccassi To: David Marchand , dev@dpdk.org Cc: Aaron Conole , Michael Santana , Olivier Matz Date: Tue, 02 Mar 2021 16:16:52 +0000 In-Reply-To: <20210125150539.27537-1-david.marchand@redhat.com> References: <20210111100146.3485-1-david.marchand@redhat.com> <20210125150539.27537-1-david.marchand@redhat.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.30.5-1.2 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v2] ci: catch coredumps 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 Mon, 2021-01-25 at 16:05 +0100, David Marchand wrote: > Parts of the unit tests code rely on forked/secondary processes > (expectedly) failing. > A crash in those situations could be missed so add a check on coredumps > presence after unit tests have run. > When unit tests fail, it can also help checking for coredumps as it > could give more insights on what happened. >=20 > In some situations (like explicit call to rte_panic), coredump generation > must be disabled to avoid false positives. >=20 > Signed-off-by: David Marchand > --- > Changelog since RFC v1 > - removed RFC, > - pushed coredumps into gdb for in-situ analysis, > - gdb presence is used to enable the check. Travis config is left > untouched for now, >=20 > --- > .ci/linux-build.sh | 37 ++++++++++++++++++++++++++++++++++--- > .github/workflows/build.yml | 4 ++++ > app/test/test_debug.c | 11 +++++++++-- > app/test/test_mbuf.c | 9 ++++++++- > 4 files changed, 55 insertions(+), 6 deletions(-) Acked-by: Luca Boccassi This fixes an issue for me, with running the debug_autotest under a reproducible build CI environment. --=20 Kind regards, Luca Boccassi