From: Sam James <sam@gentoo.org>
To: Ihor Solodrai via Gcc <gcc@gcc.gnu.org>
Cc: "Jose E. Marchesi" <jose.marchesi@oracle.com>,
Ihor Solodrai <ihor.solodrai@pm.me>, bpf <bpf@vger.kernel.org>,
Cupertino Miranda <cupertino.miranda@oracle.com>,
Alexei Starovoitov <ast@kernel.org>,
Andrii Nakryiko <andrii@kernel.org>,
Manu Bretelle <chantra@meta.com>,
Eduard Zingerman <eddyz87@gmail.com>,
Mykola Lysenko <mykolal@fb.com>,
Yonghong Song <yonghong.song@linux.dev>,
David Faust <david.faust@oracle.com>,
Andrew Pinski <pinskia@gmail.com>, Yonghong Song <yhs@fb.com>
Subject: Re: Announcement: GCC BPF is now being tested on BPF CI
Date: Fri, 17 Jan 2025 18:00:08 +0000 [thread overview]
Message-ID: <871px1jp7b.fsf@gentoo.org> (raw)
In-Reply-To: <zp_HRUf7wzFwZMVqR2IwXRMf-WtdNZP-ocWWflDG0nDLg2FXZ0Jt91ztxfBxdHurGC_z4C5M5qPIspVTFMAXG5_hFuDwZRMNmXKak3UnLXk=@pm.me> (Ihor Solodrai via Gcc's message of "Fri, 17 Jan 2025 17:55:21 +0000")
Ihor Solodrai via Gcc <gcc@gcc.gnu.org> writes:
> On Friday, January 17th, 2025 at 2:44 AM, Jose E. Marchesi <jose.marchesi@oracle.com> wrote:
>
>> [...]
>>
>> > Ok. I disabled the execution of the test_progs-bpf_gcc test runner for now.
>> >
>> > I think we should check on the state of the tests again after decl_tags
>> > support is landed.
>>
>>
>> Thank you. Sounds like a plan :)
>>
>> Is it possible to configure the CI to send an email to certain
>> recipients when the build of the selftests with GCC fails? That would
>> help us to keep an eye on the patches and either fix GCC or provide
>> advise on how to fix the selftest in case it contains bad C.
>
> In principle, yes. In practice email notifications are not that
> straightforward.
>
> Currently a BPF patch submitter gets a notification about the status
> of the CI pipeline for their patch. This makes sense, recipient is
> obvious in this case.
>
> In case of GCC (or any other CI dependency for that matter), it is
> necessary to determine the potential cause before sending
> notifications. There are all kinds of things that might have caused a
> failure independent of the target being tested: could be a bug in CI
> scripts, or github could have changed runner configuration, or a merge
> commit from (Linux) upstream broke something, etc.
>
> Point is, dependency maintainers (GCC team in this case) don't want to
> get notifications for *all* such failures, because you will have to
> ignore most of them, and so they become noise. A boy crying wolf kind
> of thing.
>
> The other issue is that maintaining email notifications is an
> operational overhead, meaning that the system managing the
> notifications needs to be looked after. Currently for BPF CI it's
> Kernel Patches Daemon instance maintained by Meta engineers [1].
>
> As it stands, if there is problem with GCC that affects BPF CI, you
> can be assured it'll be reported, because it will block the testing of
> the BPF patches.
>
> I suggest GCC BPF team to think about setting up your own automated
> testing infrastructure, focused on testing the GCC compiler. Maybe you
> already have something like that, I don't know. You certainly
> shouldn't rely exclusively on BPF CI for testing the BPF backend.
I think Jose is asking from the angle of wanting to make GCC support as
painless as possible for you upstream, not to ask you to provide a
substitute for our own CI. i.e. We don't want you to feel burdened by
providing that and we're happy to look into any problems as soon as they
arsie.
>
> [1] https://github.com/facebookincubator/kernel-patches-daemon
>
>>
>> > Thanks.
>> >
>> > [...]
next prev parent reply other threads:[~2025-01-17 18:00 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-16 20:44 Announcement: GCC BPF is now being tested on BPF CI Ihor Solodrai
2025-01-16 22:05 ` Ihor Solodrai
2025-01-16 23:58 ` Jose E. Marchesi
2025-01-17 3:32 ` Ihor Solodrai
2025-01-17 10:44 ` Jose E. Marchesi
2025-01-17 17:55 ` Ihor Solodrai
2025-01-17 18:00 ` Sam James [this message]
2025-01-17 0:01 ` Jose E. Marchesi
2025-01-16 23:59 ` Jose E. Marchesi
2025-01-17 8:33 ` Cupertino Miranda
2025-01-17 17:56 ` Andrii Nakryiko
2025-01-17 13:44 ` Mark Wielaard
2025-01-17 18:09 ` Ihor Solodrai
-- strict thread matches above, loose matches on Subject: below --
2025-01-16 21:49 Sam James
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=871px1jp7b.fsf@gentoo.org \
--to=sam@gentoo.org \
--cc=andrii@kernel.org \
--cc=ast@kernel.org \
--cc=bpf@vger.kernel.org \
--cc=chantra@meta.com \
--cc=cupertino.miranda@oracle.com \
--cc=david.faust@oracle.com \
--cc=eddyz87@gmail.com \
--cc=gcc@gcc.gnu.org \
--cc=ihor.solodrai@pm.me \
--cc=jose.marchesi@oracle.com \
--cc=mykolal@fb.com \
--cc=pinskia@gmail.com \
--cc=yhs@fb.com \
--cc=yonghong.song@linux.dev \
/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.