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 lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (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 CE720C5AD49 for ; Tue, 3 Jun 2025 16:24:14 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.1004683.1384397 (Exim 4.92) (envelope-from ) id 1uMUQT-0001HP-9l; Tue, 03 Jun 2025 16:23:45 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 1004683.1384397; Tue, 03 Jun 2025 16:23:45 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1uMUQT-0001HI-7J; Tue, 03 Jun 2025 16:23:45 +0000 Received: by outflank-mailman (input) for mailman id 1004683; Tue, 03 Jun 2025 16:23:43 +0000 Received: from mail.xenproject.org ([104.130.215.37]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1uMUQR-0001HC-TS for xen-devel@lists.xenproject.org; Tue, 03 Jun 2025 16:23:43 +0000 Received: from xenbits.xenproject.org ([104.239.192.120]) by mail.xenproject.org with esmtp (Exim 4.96) (envelope-from ) id 1uMUQR-000HNY-1l; Tue, 03 Jun 2025 16:23:43 +0000 Received: from [2a01:e0a:1da:8420:b77:bd5:6e45:7633] (helo=l14) by xenbits.xenproject.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1uMUQR-006SJG-26; Tue, 03 Jun 2025 16:23:43 +0000 X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=xenproject.org; s=20200302mail; h=In-Reply-To:Content-Transfer-Encoding: Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date; bh=Cwx6Rqps1LuDQSxWQKEUHa/luYpJWhqKmQTcwM4fePU=; b=qxiyRAFnCnLISIOVpNR+4sznVX CFQbc2rNEtndFhLdMN9E8HSdMpHU50+Tz58bDxN+LMd8qbb+kuB2jnF+JxOdZHEm6oN/sk3j982v7 Gu/v9AUjEEFJZqdP/PBfr5LjhHmxSmk/lOJFkAOK9VJLaQlZKtjBbo/t6QzrD1IMw8N4=; Date: Tue, 3 Jun 2025 18:23:41 +0200 From: Anthony PERARD To: Andrew Cooper Cc: xen-devel@lists.xenproject.org, Marek =?iso-8859-1?Q?Marczykowski-G=F3recki?= , Anthony PERARD , Doug Goldstein , Stefano Stabellini Subject: Re: [XEN PATCH 8/9] CI: Workaround extra content in junit Message-ID: References: <20250603124222.52057-1-anthony@xenproject.org> <20250603124222.52057-9-anthony@xenproject.org> <86d3655f-f541-441e-bb6c-1dda0b03540f@citrix.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <86d3655f-f541-441e-bb6c-1dda0b03540f@citrix.com> On Tue, Jun 03, 2025 at 03:12:32PM +0100, Andrew Cooper wrote: > On 03/06/2025 1:42 pm, Anthony PERARD wrote: > > if [ -n "$retrieve_xml" ]; then > > nc -w 10 "$SUT_ADDR" 8080 > tests-junit.xml > + # Workaround duplicated data been received > > + sed -i.old '/^<\/testsuites>/q' tests-junit.xml > /dev/null > > + extra_line_in_junit=$(($(wc -l < tests-junit.xml.old) - $(wc -l < tests-junit.xml))) > > + if [ $extra_line_in_junit -gt 0 ]; then > > + echo "WARNING: Found $extra_line_in_junit too many lines in junit." > > + fi > > Is this the cause of > https://gitlab.com/xen-project/hardware/xen-staging/-/pipelines/1849342222/test_report > getting a row of 0's for ADL ? Well, the error I had was this one: "FATAL: Extra content at the end of the document" https://gitlab.com/xen-project/hardware/xen-staging/-/pipelines/1848598740/test_report And indeed, when I managed to dl the junit.xml, there were the end of the document duplicated many times. > Why are we getting duplicate data?  nc is running in TCP mode, not UDP, > so it's not that. I think Marek talked about some notwork equiment in the middle? I managed to find in matrix where they were talk about this duplication of data, well, with `nc` dl for ever, with lots of duplicated data: https://matrix.to/#/!XcEgmbCouiNWHlGdHk:matrix.org/$OkZmPOandaPy_OVAU8hpoAs14JWHtI6rXYrIZawUqDE?via=matrix.org&via=nitro.chat&via=aperard.fr from marmarek > So, it appears to be a bug in pasta - the thing that podman uses to > proxy traffic out of the container's network namespace. You know, an > additional network stack in userspace. I have no idea if it is the same issue, but I had extra content in the junit file with nearly all my jobs. Cheers, -- Anthony PERARD