kernelci.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
From: Guillaume Tucker <guillaume.tucker@collabora.com>
To: Todd Kjos <tkjos@google.com>,
	Denys Fedoryshchenko <denys.f@collabora.com>
Cc: Viktor Martensson <vmartensson@google.com>,
	Betty Zhou <bettyzhou@google.com>,
	kernelci@lists.linux.dev
Subject: Re: Please add new Android branches
Date: Tue, 7 Nov 2023 09:26:34 +0100	[thread overview]
Message-ID: <961641f4-e0ed-48da-8336-186e3b8d23ea@collabora.com> (raw)
In-Reply-To: <CAHRSSEzfXJU=GcyC_HfUUnNQdyjT8S68HqhN1bdaB6NE0TPGsA@mail.gmail.com>

On 06/11/2023 19:03, Todd Kjos wrote:
> On Fri, Nov 3, 2023 at 6:57 PM Denys Fedoryshchenko
> <denys.f@collabora.com> wrote:
>>
>> Hello Todd,
>>
>> I've seen your request for updates on the Android tests. Guillaume is
>> probably swamped at the moment, so I'm jumping in to help out.
>>
>> Let me know if there's anything I've missed or if you have any pointers
>> for me as I get up to speed:
>>
>> I've updated android tree configs to use clang-17, instead of 14.
>> Regarding the stable kernel configurations, the differences are as
>> follows:
>>
>>     Added 'imx_v6_v7_defconfig'
>>     Added 'omap2plus_defconfig'
>>     Added 'vexpress_defconfig'
>>
>> Additionally, in our stable trees, we include 'arm64-chromebook' and
>> 'x86-board' config fragments, which are tailored for running on actual
>> hardware. Would you require these as well?
> 
> It would be great to add this to ensure we haven't broken anything
> that is supported in stable.

I don't think it's worth adding these extra builds, the Android
kernel trees aren't really tested in LAVA labs and these
fragments are only there to enable more platforms to boot with
mainline.

>> We are also building kselftests, which are useful only for real
>> hardware tests. Should we build them for the Android trees?
> 
> Yes, please do.

It's already done, we don't need to add anything else.  The
kselftest build step is run with all builds now.  Just some
builds have more config fragments enabled to build more kselftest
binaries, but that's not useful as kselftest isn't run with
Android trees anyway.

>> Relevant PR: https://github.com/kernelci/kernelci-core/pull/2165
>>
>> If it is ok, i will merge it at Sunday and enable in monday production
>> update.
> 
> Thanks Denys. I expect we will want to watch these builds for a few
> weeks and probably trim out a few that we don't think are as useful
> (this is part of the discussion on this thread). I'll reach out when
> we are ready for that.
> 
> I look forward to seeing the increased coverage!

Probably we should remove the fragments for x86-chromebook,
x86-board and kselftest for the reasons explained above.  We
really need to make sure the build and test configs are
streamlined, what might look like more coverage can actually be
just added noise that makes the system less efficient and
increase the costs of operation.

Then as mentioned before, I'm sure you'll be glad to know that
the GKI builds got fixed in July as part of the efforts to
improve the overall signal/noise ratio.

Thanks,
Guillaume

>> On Thu, 2023-11-02 at 15:11 -0700, Todd Kjos wrote:
>>> Guillaume, any ETA on when we can ramp up the Android tests as
>>> discussed on this thread?
>>>
>>>
>>> On Tue, Oct 17, 2023 at 1:42 PM Todd Kjos <tkjos@google.com> wrote:
>>>>
>>>> Guillaume,
>>>>
>>>> I guess we didn't get to a complete plan... From above, can we
>>>> enable these:
>>>>
>>>> 1) compilers: gcc-10, clang-17
>>>> 2) archs: arm, arm64, i386, x80_64, riscv
>>>> 3) same configs as current android tests
>>>> 4) plus configs used by corresponding stable kernel
>>>> (https://linux.kernelci.org/job/stable) not included in #3
>>>>
>>>>
>>>> On Mon, Sep 25, 2023 at 8:17 AM Todd Kjos <tkjos@google.com> wrote:
>>>>>
>>>>> On Mon, Sep 25, 2023 at 1:22 AM Guillaume Tucker
>>>>> <guillaume.tucker@collabora.com> wrote:
>>>>>>
>>>>>> On 20/09/2023 00:54, Todd Kjos wrote:
>>>>>>> Guillaume,
>>>>>>>
>>>>>>> How about this for android trees:
>>>>>>>
>>>>>>> 1) same compilers as current config (gcc-10, clang-14)
>>>>>>> 2) archs: arm, arm64, i386, x80_64, riscv
>>>>>>> 3) same configs as current android tests
>>>>>>> 4) plus configs used by corresponding stable kernel
>>>>>>> (https://linux.kernelci.org/job/stable) not included in #3
>>>>>>
>>>>>> OK thanks, I think we can set this up easily.  We'll get back
>>>>>> to
>>>>>> you if there's any ambiguity.
>>>>>>
>>>>>>> We get a nice benefit from sync'ing with the stable kernels
>>>>>>> since it
>>>>>>> allows us to tell which issues originate upstream and which
>>>>>>> are
>>>>>>> introduced by android changes. It's also useful to build each
>>>>>>> with
>>>>>>> both toolchains so we can expose the cases where gcc-10 is OK
>>>>>>> but
>>>>>>> clang-14 has issues (and visa-versa).
>>>>>>>
>>>>>>> I don't think we need to build all of the combinations if
>>>>>>> there are
>>>>>>> too many builds - we could trim out some of the configs from
>>>>>>> #4 (you
>>>>>>> can recommend which).
>>>>>>
>>>>>> OK, we can look at past results or optimise incrementally over
>>>>>> the weeks to streamline the overall build coverage.
>>>>>>
>>>>>>> We'd also like to start in an all-green state. So let's trim
>>>>>>> out the
>>>>>>> error cases that aren't caused by android kernel code. I
>>>>>>> think there
>>>>>>> are some 32-bit cases that fail with the clang-14 tools and
>>>>>>> some other
>>>>>>> cases that fail in stable.
>>>>>>>
>>>>>>> Could we start with all of the builds for #1 - #4 and then
>>>>>>> tune it up
>>>>>>> after a few runs to get rid of long-failing cases and/or to
>>>>>>> just
>>>>>>> reduce the load on the build service?
>>>>>>
>>>>>> I believe this part of the discussion is still unresolved with
>>>>>> Nick, and maybe it would make more sense to address this when
>>>>>> the
>>>>>> builds get moved to the new API where we'll have more
>>>>>> flexibility
>>>>>> and more accurate log parsing etc.
>>>>>>
>>>>>> Another aspect that wasn't too clear in the discussions, should
>>>>>> it be clang-14 or a more recent version?  Right now, mainline
>>>>>> builds already include clang-11 (oldest supported one) and
>>>>>> clang-16 and linux-next builds use clang-17.  So there is
>>>>>> upstream build coverage for them, and if clang-14 is the
>>>>>> standard
>>>>>> version for Android kernels then I guess it would make sense to
>>>>>> stick to it - but that's up to you.  Doing both clang-14 and
>>>>>> clang-17 for Android builds would seem overkill to me though.
>>>>>
>>>>> I'd be fine with tracking the latest stable clang version (clang-
>>>>> 17
>>>>> now) and dropping clang-14 so we can help the clang team find
>>>>> regressions.
>>>>>
>>>>>>
>>>>>> Cheers,
>>>>>> Guillaume
>>>>>>
>>>>>>> On Wed, Sep 6, 2023 at 12:50 PM Todd Kjos <tkjos@google.com>
>>>>>>> wrote:
>>>>>>>>
>>>>>>>> +Viktor Martensson +Betty Zhou
>>>>>>>>
>>>>>>>> Guillaume,
>>>>>>>>
>>>>>>>> I think that's a great idea. I'll get back to you with the
>>>>>>>> set of
>>>>>>>> configs, arch, compilers we'd like to have coverage for.
>>>>>>>>
>>>>>>>> -Todd
>>>>>>>>
>>>>>>>>
>>>>>>>> On Wed, Sep 6, 2023 at 11:46 AM Guillaume Tucker
>>>>>>>> <guillaume.tucker@collabora.com> wrote:
>>>>>>>>>
>>>>>>>>> Hi Todd,
>>>>>>>>>
>>>>>>>>> On 05/09/2023 19:18, Todd Kjos wrote:
>>>>>>>>>> On Thu, Aug 10, 2023 at 8:56 AM Todd Kjos
>>>>>>>>>> <tkjos@google.com> wrote:
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> On Tue, Jul 11, 2023 at 4:57 AM Guillaume Tucker
>>>>>>>>>>> <guillaume.tucker@collabora.com> wrote:
>>>>>>>>>>>>
>>>>>>>>>>>> Hi Todd,
>>>>>>>>>>>>
>>>>>>>>>>>> On 11/07/2023 00:41, Todd Kjos wrote:
>>>>>>>>>>>>> Please add the following new Android branches to
>>>>>>>>>>>>> kernelci testing.
>>>>>>>>>>>>>
>>>>>>>>>>>>> repo:
>>>>>>>>>>>>> https://android.googlesource.com/kernel/common
>>>>>>>>>>>>> branches:
>>>>>>>>>>>>> - android15-6.1
>>>>>>>>>>>>> - android14-6.1-lts
>>>>>>>>>>>>> - android14-5.15-lts
>>>>>>>>>>>>
>>>>>>>>>>>> I've created this PR accordingly:
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> https://github.com/kernelci/kernelci-core/pull/2002
>>>>>>>>>>>>
>>>>>>>>>>>> Please note that we're now operating with reduced
>>>>>>>>>>>> build coverage
>>>>>>>>>>>> due to some temporary limitations with our Azure
>>>>>>>>>>>> subscription.  I
>>>>>>>>>>>> know the Android kernel builds should be covered by
>>>>>>>>>>>> the GCP
>>>>>>>>>>>> clusters but right now the system is designed to
>>>>>>>>>>>> distribute
>>>>>>>>>>>> kernel builds randomly across all clusters so we
>>>>>>>>>>>> can't easily tie
>>>>>>>>>>>> Android builds to the Android clusters.  Hopefully
>>>>>>>>>>>> we'll find a
>>>>>>>>>>>> solution to go back to normal coverage within a
>>>>>>>>>>>> week or two.
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> Hi Guillaume, Any ETA for when the full set of builds
>>>>>>>>>>> is restored? We still have greatly reduced build
>>>>>>>>>>> coverage and it's been a month.
>>>>>>>>>>
>>>>>>>>>> Ping. We are getting a lot less value out of kernelci
>>>>>>>>>> with the greatly
>>>>>>>>>> reduced set of builds for the Android kernels. When
>>>>>>>>>> will the full
>>>>>>>>>> build coverage be resumed?
>>>>>>>>>>
>>>>>>>>>> If it needs to stay reduced, can we decide precisely
>>>>>>>>>> which builds are
>>>>>>>>>> done for Android kernels?
>>>>>>>>>
>>>>>>>>> Sorry for the slow reply.
>>>>>>>>>
>>>>>>>>> I think it's fine now to re-enable the Android builds and
>>>>>>>>> maybe
>>>>>>>>> we should also take this opportunity to confirm which
>>>>>>>>> ones are
>>>>>>>>> the most relevant to you guys.  As part of the process of
>>>>>>>>> adjusting the build coverage, I also fixed the GKI builds
>>>>>>>>> which I
>>>>>>>>> thought were the main ones.  Even if there is enough
>>>>>>>>> build
>>>>>>>>> capacity to build "everything", keeping it streamlined to
>>>>>>>>> what is
>>>>>>>>> really useful makes the overall system more effective.
>>>>>>>>>
>>>>>>>>> Are there any particular combinations of arch, config,
>>>>>>>>> compilers
>>>>>>>>> you care about more than others?
>>>>>>>>>
>>>>>>>>> Thanks,
>>>>>>>>> Guillaume
>>>>>>>>>
>>>>>>
>>>
>>
>>


  reply	other threads:[~2023-11-07  8:26 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-10 22:41 Please add new Android branches Todd Kjos
2023-07-11 11:57 ` Guillaume Tucker
     [not found]   ` <CAHRSSEzMo=-eS8KRqHjSMcBqWCsK2mU4zWg=5KFYx2XyL29Z0w@mail.gmail.com>
2023-09-05 17:18     ` Todd Kjos
2023-09-06 18:46       ` Guillaume Tucker
2023-09-06 19:50         ` Todd Kjos
2023-09-19 22:54           ` Todd Kjos
2023-09-19 23:02             ` Nick Desaulniers
2023-09-19 23:12               ` Todd Kjos
2023-09-19 23:19                 ` Nick Desaulniers
2023-09-20  0:12                   ` Todd Kjos
2023-09-20 16:57                     ` Nick Desaulniers
2023-09-25  8:17                       ` Guillaume Tucker
2023-09-25 15:28                         ` Nick Desaulniers
2023-09-25  8:23             ` Guillaume Tucker
2023-09-25 15:17               ` Todd Kjos
2023-10-17 20:42                 ` Todd Kjos
2023-11-02 22:11                   ` Todd Kjos
2023-11-04  1:57                     ` Denys Fedoryshchenko
2023-11-06 18:03                       ` Todd Kjos
2023-11-07  8:26                         ` Guillaume Tucker [this message]
2023-11-10 21:14                           ` Todd Kjos
2024-07-01 17:03                           ` new branch + more recent gcc? Todd Kjos
2024-07-01 17:05                             ` Todd Kjos
2024-07-01 17:27                               ` Todd Kjos
2024-07-02 13:12                                 ` Mark Brown
2024-07-02 15:45                                   ` Todd Kjos
2024-07-04  6:09                                     ` Muhammad Usama Anjum
2024-07-09 17:02                                       ` Todd Kjos
2024-07-09 17:38                                         ` Denys Fedoryshchenko
2024-07-11 17:20                                           ` Todd Kjos
2024-07-16  9:39                                             ` Muhammad Usama Anjum
2024-07-16 15:18                                               ` Todd Kjos
2024-07-17 10:54                                                 ` Muhammad Usama Anjum
2024-02-03 18:43 ` Please add new Android branches Todd Kjos
2024-02-05  6:03   ` Denys Fedoryshchenko
2024-02-09 19:38     ` Todd Kjos

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=961641f4-e0ed-48da-8336-186e3b8d23ea@collabora.com \
    --to=guillaume.tucker@collabora.com \
    --cc=bettyzhou@google.com \
    --cc=denys.f@collabora.com \
    --cc=kernelci@lists.linux.dev \
    --cc=tkjos@google.com \
    --cc=vmartensson@google.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).