From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id EC408C4167B for ; Sun, 3 Dec 2023 19:21:29 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 9547B40438; Sun, 3 Dec 2023 19:21:29 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org 9547B40438 X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5odHnhGVV_MT; Sun, 3 Dec 2023 19:21:28 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp2.osuosl.org (Postfix) with ESMTP id AE8F0404B9; Sun, 3 Dec 2023 19:21:27 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org AE8F0404B9 Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 5B6EF1BF32C for ; Sun, 3 Dec 2023 19:21:25 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 3502781467 for ; Sun, 3 Dec 2023 19:21:25 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 3502781467 X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ffaSp2WSbiqf for ; Sun, 3 Dec 2023 19:21:21 +0000 (UTC) Received: from relay5-d.mail.gandi.net (relay5-d.mail.gandi.net [217.70.183.197]) by smtp1.osuosl.org (Postfix) with ESMTPS id 53CA981461 for ; Sun, 3 Dec 2023 19:21:21 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 53CA981461 Received: by mail.gandi.net (Postfix) with ESMTPSA id AA64C1C0003; Sun, 3 Dec 2023 19:21:19 +0000 (UTC) Received: from peko by dell.be.48ers.dk with local (Exim 4.96) (envelope-from ) id 1r9s1m-009YZY-39; Sun, 03 Dec 2023 20:21:18 +0100 From: Peter Korsgaard To: Romain Naour References: <20231111113731.859747-1-romain.naour@smile.fr> Date: Sun, 03 Dec 2023 20:21:18 +0100 In-Reply-To: <20231111113731.859747-1-romain.naour@smile.fr> (Romain Naour's message of "Sat, 11 Nov 2023 12:37:31 +0100") Message-ID: <87plznw0r5.fsf@48ers.dk> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 X-GND-Sasl: peter@korsgaard.com Subject: Re: [Buildroot] [PATCH] support/misc/gitlab-ci.yml.in: print error log if the runtime test fail X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: buildroot@buildroot.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" >>>>> "Romain" == Romain Naour writes: > When an error occurs, the gitlab-ci job log doesn't contain any useful > information than the name of the failing test: > FAIL: test_run (tests.package.test_python_paho_mqtt.TestPythonPahoMQTT) > In order to encourage contributors to investigate issues reported by > gitlab-ci, we want to print the last lines of the log file (build or > runtime). > Unfortunately, gitlab-ci job log completely strips lines ending with > CRCRLF [1][2]. We have to take a look at the gitlab-ci raw log to see > the complete log [3]. > To workaround this issue, remove crlf from qemu serial stdio log > while printing in the gitlab-ci job log (we don't want to change > the log file generated by support/testing/run-tests and saved as > artefacts). > [1] https://gitlab.com/gitlab-org/gitlab/-/issues/218771 > [2] https://gitlab.com/kubu93/buildroot/-/jobs/5492937691 > [3] https://gitlab.com/kubu93/buildroot/-/jobs/5492937691/raw > Cc: Peter Korsgaard > Signed-off-by: Romain Naour Committed to next, thanks. -- Bye, Peter Korsgaard _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot