All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefano Stabellini <sstabellini@kernel.org>
To: Andrew Cooper <andrew.cooper3@citrix.com>
Cc: Stefano Stabellini <sstabellini@kernel.org>,
	 "Zheng, Fam" <famzheng@amazon.com>,
	 "roger.pau@citrix.com" <roger.pau@citrix.com>,
	 "julien@xen.org" <julien@xen.org>,
	"cardoe@cardoe.com" <cardoe@cardoe.com>,
	 "wl@xen.org" <wl@xen.org>,
	 "xen-devel@lists.xenproject.org"
	<xen-devel@lists.xenproject.org>,
	 "Bertrand.Marquis@arm.com" <Bertrand.Marquis@arm.com>
Subject: Re: [PATCH 0/4] xen: domain-tracked allocations, and fault injection
Date: Mon, 4 Jan 2021 10:11:29 -0800 (PST)	[thread overview]
Message-ID: <alpine.DEB.2.21.2101041005570.3465@sstabellini-ThinkPad-T480s> (raw)
In-Reply-To: <429efe8c-7c41-b297-47a4-865b148886a3@citrix.com>

[-- Attachment #1: Type: text/plain, Size: 5840 bytes --]

On Mon, 4 Jan 2021, Andrew Cooper wrote:
> On 04/01/2021 17:30, Stefano Stabellini wrote:
> > On Mon, 4 Jan 2021, Zheng, Fam wrote:
> >> On Mon, 2021-01-04 at 10:38 +0100, Roger Pau Monné wrote:
> >>> On Wed, Dec 23, 2020 at 12:10:43PM -0800, Stefano Stabellini wrote:
> >>>> On Wed, 23 Dec 2020, Andrew Cooper wrote:
> >>>>> On 23/12/2020 19:45, Stefano Stabellini wrote:
> >>>>>> On Wed, 23 Dec 2020, no-reply@patchew.org wrote:
> >>>>>>> Hi,
> >>>>>>>
> >>>>>>> Patchew automatically ran gitlab-ci pipeline with this patch
> >>>>>>> (series) applied, but the job failed. Maybe there's a bug in
> >>>>>>> the patches?
> >>>>>>>
> >>>>>>> You can find the link to the pipeline near the end of the
> >>>>>>> report below:
> >>>>>>>
> >>>>>>> Type: series
> >>>>>>> Message-id: 20201223163442.8840-1-andrew.cooper3@citrix.com
> >>>>>>> Subject: [PATCH 0/4] xen: domain-tracked allocations, and
> >>>>>>> fault injection
> >>>>>>>
> >>>>>>> === TEST SCRIPT BEGIN ===
> >>>>>>> #!/bin/bash
> >>>>>>> sleep 10
> >>>>>>> patchew gitlab-pipeline-check -p xen-project/patchew/xen
> >>>>>>> === TEST SCRIPT END ===
> >>>>>> [...]
> >>>>>>
> >>>>>>> === OUTPUT BEGIN ===
> >>>>>>> [2020-12-23 16:38:43] Looking up pipeline...
> >>>>>>> [2020-12-23 16:38:43] Found pipeline 233889763:
> >>>>>>>
> >>>>>>>
> >> https://gitlab.com/xen-project/patchew/xen/-/pipelines/233889763
> >>>>>> This seems to be a genuine failure. Looking at the alpine-3.12-
> >>>>>> gcc-arm64
> >>>>>> build test, the build error is appended below. This is a link
> >>>>>> to the
> >>>>>> failed job: 
> >>>>>> https://gitlab.com/xen-project/patchew/xen/-/jobs/929842628
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>> gcc  -DBUILD_ID -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-
> >>>>>> prototypes -Wdeclaration-after-statement -Wno-unused-but-set-
> >>>>>> variable -Wno-unused-local-typedefs   -O2 -fomit-frame-pointer
> >>>>>> -D__XEN_INTERFACE_VERSION__=__XEN_LATEST_INTERFACE_VERSION__
> >>>>>> -MMD -MP -MF .xen-diag.o.d -D_LARGEFILE_SOURCE
> >>>>>> -D_LARGEFILE64_SOURCE   -Werror -include /builds/xen-
> >>>>>> project/patchew/xen/tools/misc/../../tools/config.h
> >>>>>> -I/builds/xen-
> >>>>>> project/patchew/xen/tools/misc/../../tools/include
> >>>>>> -I/builds/xen-
> >>>>>> project/patchew/xen/tools/misc/../../tools/include
> >>>>>> -D__XEN_TOOLS__ -I/builds/xen-
> >>>>>> project/patchew/xen/tools/misc/../../tools/include
> >>>>>> -I/builds/xen-
> >>>>>> project/patchew/xen/tools/misc/../../tools/include
> >>>>>> -I/builds/xen-
> >>>>>> project/patchew/xen/tools/misc/../../tools/include -Wno-
> >>>>>> declaration-after-statement  -c -o xen-diag.o xen-diag.c 
> >>>>>> xen-fault-ttl.c: In function 'main':
> >>>>>> xen-fault-ttl.c:25:14: error: 'struct xen_arch_domainconfig'
> >>>>>> has no member named 'emulation_flags'
> >>>>>>    25 |             .emulation_flags = XEN_X86_EMU_LAPIC,
> >>>>>>       |              ^~~~~~~~~~~~~~~
> >>>>>> xen-fault-ttl.c:25:32: error: 'XEN_X86_EMU_LAPIC' undeclared
> >>>>>> (first use in this function)
> >>>>>>    25 |             .emulation_flags = XEN_X86_EMU_LAPIC,
> >>>>>>       |                                ^~~~~~~~~~~~~~~~~
> >>>>>> xen-fault-ttl.c:25:32: note: each undeclared identifier is
> >>>>>> reported only once for each function it appears in
> >>>>>> make[4]: *** [/builds/xen-
> >>>>>> project/patchew/xen/tools/misc/../../tools/Rules.mk:144: xen-
> >>>>>> fault-ttl.o] Error 1
> >>>>>> make[4]: *** Waiting for unfinished jobs....
> >>>>>> make[4]: Leaving directory '/builds/xen-
> >>>>>> project/patchew/xen/tools/misc'
> >>>>>> make[3]: *** [/builds/xen-
> >>>>>> project/patchew/xen/tools/../tools/Rules.mk:160: subdir-
> >>>>>> install-misc] Error 2
> >>>>>> make[3]: Leaving directory '/builds/xen-
> >>>>>> project/patchew/xen/tools'
> >>>>>> make[2]: *** [/builds/xen-
> >>>>>> project/patchew/xen/tools/../tools/Rules.mk:155: subdirs-
> >>>>>> install] Error 2
> >>>>>> make[2]: Leaving directory '/builds/xen-
> >>>>>> project/patchew/xen/tools'
> >>>>>> make[1]: *** [Makefile:67: install] Error 2
> >>>>>> make[1]: Leaving directory '/builds/xen-
> >>>>>> project/patchew/xen/tools'
> >>>>>> make: *** [Makefile:134: install-tools] Error 2
> >>>>> Yeah - that is a real failure, which can be fixed with a little
> >>>>> bit of
> >>>>> ifdef-ary.  I'm confused as to why I didn't get that email
> >>>>> directly.
> >>>> It looks like patchew doesn't yet CC the original author?
> >>> Where do patchew emails go? I haven't seen any of them, and they
> >>> don't
> >>> seem to go to xen-devel.
> >> It's to limit the noise level. We intend to stablize the workflow a
> >> little more esp. wrt false positives before making every reply go to
> >> xen-devel. There's a few things to tweak in patchew.
> >>
> >> The next logical step should be including the patch author in the loop
> >> I think.
> > Let's do it.
> 
> Are we sure?  The false positive rate is still very high.
> 
> There are two separate x86 randconfig failures, an ARM randconfig
> failure, and an ARM smoke test failure.
> 
> None of these are fair to be raised as objections to a contributor, as
> it leaves the results very noisy.
> 
> I think we need to get to 0 known outstanding false positives before
> continuing.

Zero known false positives is clearly the goal, and I would consider it
the required quality before we make the results public CCing xen-devel.

However, I would have thought that we don't need to reach that level to
start CCing contributors. Often the failures are genuine and at the
moment one of us is manually forwarding the failure notifications to the
contributor, which is not ideal.

CCing the contributor with a warning notice that the CC-loop is not yet
stable looks like a good way to start. Maybe after I solve the QEMU
segfault issue in the Dom0less test that you reported this morning.

  reply	other threads:[~2021-01-04 18:11 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <160874604800.15699.17952392608790984041@600e7e483b3a>
2020-12-23 19:45 ` [PATCH 0/4] xen: domain-tracked allocations, and fault injection Stefano Stabellini
2020-12-23 20:01   ` Andrew Cooper
2020-12-23 20:10     ` Stefano Stabellini
2021-01-04  9:11       ` Zheng, Fam
2021-01-04  9:38       ` Roger Pau Monné
2021-01-04 10:53         ` Zheng, Fam
2021-01-04 17:30           ` Stefano Stabellini
2021-01-04 17:35             ` Julien Grall
2021-01-04 17:36             ` Andrew Cooper
2021-01-04 18:11               ` Stefano Stabellini [this message]
2020-12-23 16:34 Andrew Cooper
2021-01-08  1:49 ` Stefano Stabellini
2022-12-11 17:21 ` Julien Grall

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.DEB.2.21.2101041005570.3465@sstabellini-ThinkPad-T480s \
    --to=sstabellini@kernel.org \
    --cc=Bertrand.Marquis@arm.com \
    --cc=andrew.cooper3@citrix.com \
    --cc=cardoe@cardoe.com \
    --cc=famzheng@amazon.com \
    --cc=julien@xen.org \
    --cc=roger.pau@citrix.com \
    --cc=wl@xen.org \
    --cc=xen-devel@lists.xenproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.