kernelci.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* Re: 5.10 LTS Kernel: 2 or 6 years?
       [not found]   ` <595affb4-36e8-0a63-ebb3-a4fd0e3c243a@huawei.com>
@ 2021-02-19 14:45     ` Nikolai Kondrashov
  2021-02-26  8:03       ` Hanjun Guo
  0 siblings, 1 reply; 3+ messages in thread
From: Nikolai Kondrashov @ 2021-02-19 14:45 UTC (permalink / raw)
  To: Hanjun Guo, Greg Kroah-Hartman, Scott Branden
  Cc: Huxinwei, LKML, Yanjin, BCM Kernel Feedback, Zhaohongjiang,
	Zhangdianfang (Dianfang, OS Lab),
	PEIXIN HOU, Linux ARM, kernelci

Hi Hanjun,

On 2/19/21 10:54 AM, Hanjun Guo wrote:
 > In specific, we will start from the testing work, using HULK robot
 > (reports lots of bugs to mainline kernel) testing framework to test
 > compile, reboot, functional testing, and will extend to basic
 > performance regression testing in the future.

I heard about Huawei ramping up kernel testing from someone at FOSDEM
2019. I wonder if it was you :) Nice to see your progress and the company
stepping up to help with testing!

Would you be interested in working with the Linux Foundation KernelCI project
on submitting your build and test results to the common database - KCIDB?

We are working on aggregating results from various testing systems so we can
provide a dashboard, and a single, aggregated e-mail report to subscribed
maintainers and developers.

We have a prototype dashboard at https://staging.kernelci.org:3000/ and are
working hard on making the e-mail reports good enough to start reaching out to
maintainers.

We already have ARM, Google Syzbot, Gentoo GKernelCI, Red Hat CKI, and, of
course, KernelCI native tests sending data to the database. Linaro Tuxsuite is
starting sending today. We could use your data, and of course any development
help you could spare :)

I wish I could show you my today's KCIDB presentation at DevConf.cz, but the
recording is not out yet. Meanwhile you can take a look at our presentation at
last year's Linux Plumbers: https://youtu.be/y9Glc90WUN0?t=10739

Or see our intro in an older blog post:
https://foundation.kernelci.org/blog/2020/08/21/introducing-common-reporting/

Anyone wishing to contribute to KCIDB gets credentials and permissions to
submit to our "playground" setup where they can send their data, see it in a
dashboard, experiment without worrying about breaking anything, and decide if
they like it or not.

If you're interested, take a look at our Submission HOWTO:
https://github.com/kernelci/kcidb/blob/v8/SUBMISSION_HOWTO.md
and send an email to kernelci@groups.io (CC'd), or come over to the #kernelci
channel on freenode.net!

Nick

On 2/19/21 10:54 AM, Hanjun Guo wrote:
 > Hi Greg,
 >
 > On 2021/1/26 15:29, Greg Kroah-Hartman wrote:
 > [...]
 >>
 >> I want to see companies _using_ the kernel, and most importantly,
 >> _updating_ their devices with it, to know if it is worth to keep around
 >> for longer than 2 years.  I also, hopefully, want to see how those
 >> companies will help me out in the testing and maintenance of that kernel
 >> version in order to make supporting it for 6 years actually possible.
 >>
 >> So, are you planning on using 5.10?  Will you will be willing to help
 >> out in testing the -rc releases I make to let me know if there are any
 >> problems, and to help in pointing out and backporting any specific
 >> patches that your platforms need for that kernel release?
 >
 > We(Huawei) are willing to commit resources to help out in testing the
 > stable -rc releases, and to help to backport patches for stable kernels.
 >
 > 5.10 stable kernel will be used for openEuler [1] kernel and also inside
 > Huawei. From customer's feedback, it's very important to see the stable
 > kernel we used to be maintained for 6 years in the community, and we
 > will use 5.10 kernel for at least 6 years, so we are willing to help
 > you and help ourselves :)
 >
 > In specific, we will start from the testing work, using HULK robot
 > (reports lots of bugs to mainline kernel) testing framework to test
 > compile, reboot, functional testing, and will extend to basic
 > performance regression testing in the future.
 >
 > And we will start from ARM64 and X86 architecture first, and then extend
 > to other platforms.
 >
 > For patch backporting, will send the bugfix patches (from mainline)
 > we spotted, but I think this work may not doing in regular but will
 > be triggered as needed.
 >
 > Does this sound good to you?
 >
 > Thanks
 > Hanjun
 >
 > [1]: https://openeuler.org/en/
 >
 > _______________________________________________
 > linux-arm-kernel mailing list
 > linux-arm-kernel@lists.infradead.org
 > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
 >


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: 5.10 LTS Kernel: 2 or 6 years?
  2021-02-19 14:45     ` 5.10 LTS Kernel: 2 or 6 years? Nikolai Kondrashov
@ 2021-02-26  8:03       ` Hanjun Guo
  2021-02-26 11:21         ` Nikolai Kondrashov
  0 siblings, 1 reply; 3+ messages in thread
From: Hanjun Guo @ 2021-02-26  8:03 UTC (permalink / raw)
  To: Nikolai Kondrashov, Greg Kroah-Hartman, Scott Branden
  Cc: Huxinwei, LKML, Yanjin, BCM Kernel Feedback, Zhaohongjiang,
	Zhangdianfang (Dianfang, OS Lab),
	PEIXIN HOU, Linux ARM, kernelci, Wei Yongjun, Lijinyue

Hi Nick,

Sorry for taking so long to reply you, we had discussions on how to
corporate with KCIDB, please see my comments inline.

On 2021/2/19 22:45, Nikolai Kondrashov wrote:
> Hi Hanjun,
> 
> On 2/19/21 10:54 AM, Hanjun Guo wrote:
>  > In specific, we will start from the testing work, using HULK robot
>  > (reports lots of bugs to mainline kernel) testing framework to test
>  > compile, reboot, functional testing, and will extend to basic
>  > performance regression testing in the future.
> 
> I heard about Huawei ramping up kernel testing from someone at FOSDEM
> 2019. I wonder if it was you :) Nice to see your progress and the company
> stepping up to help with testing!

I Cced Yongjun and Jinyue, they are the key persons :)

> 
> Would you be interested in working with the Linux Foundation KernelCI 
> project
> on submitting your build and test results to the common database - KCIDB?

Yes, we are willing to sent the test results to KCIDB.

For now, all the tests are inside the company, which blocks us to
directly sent the test results out of the test machine due to the
security policy, it takes us sometime to discuss how to send out
the test results, and we may need do the test in a public cloud.

> 
> We are working on aggregating results from various testing systems so we 
> can
> provide a dashboard, and a single, aggregated e-mail report to subscribed
> maintainers and developers.
> 
> We have a prototype dashboard at https://staging.kernelci.org:3000/ and are
> working hard on making the e-mail reports good enough to start reaching 
> out to
> maintainers.
> 
> We already have ARM, Google Syzbot, Gentoo GKernelCI, Red Hat CKI, and, of
> course, KernelCI native tests sending data to the database. Linaro 
> Tuxsuite is
> starting sending today. We could use your data, and of course any 
> development
> help you could spare :)

How can we connect to the KCIDB? Can we send the test data out by email
first?

> 
> I wish I could show you my today's KCIDB presentation at DevConf.cz, but 
> the
> recording is not out yet. Meanwhile you can take a look at our 
> presentation at
> last year's Linux Plumbers: https://youtu.be/y9Glc90WUN0?t=10739
> 
> Or see our intro in an older blog post:
> https://foundation.kernelci.org/blog/2020/08/21/introducing-common-reporting/ 
> 
> 
> Anyone wishing to contribute to KCIDB gets credentials and permissions to
> submit to our "playground" setup where they can send their data, see it 
> in a
> dashboard, experiment without worrying about breaking anything, and 
> decide if
> they like it or n >
> If you're interested, take a look at our Submission HOWTO:
> https://github.com/kernelci/kcidb/blob/v8/SUBMISSION_HOWTO.md
> and send an email to kernelci@groups.io (CC'd), or come over to the 
> #kernelci
> channel on freenode.net!

Thanks!
Hanjun

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: 5.10 LTS Kernel: 2 or 6 years?
  2021-02-26  8:03       ` Hanjun Guo
@ 2021-02-26 11:21         ` Nikolai Kondrashov
  0 siblings, 0 replies; 3+ messages in thread
From: Nikolai Kondrashov @ 2021-02-26 11:21 UTC (permalink / raw)
  To: Hanjun Guo, Greg Kroah-Hartman, Scott Branden
  Cc: Huxinwei, LKML, Yanjin, BCM Kernel Feedback, Zhaohongjiang,
	Zhangdianfang (Dianfang, OS Lab),
	PEIXIN HOU, Linux ARM, kernelci, Wei Yongjun, Lijinyue

Hi Hanjun,

On 2/26/21 10:03 AM, Hanjun Guo wrote:
 > On 2021/2/19 22:45, Nikolai Kondrashov wrote:
 >> Would you be interested in working with the Linux Foundation KernelCI project
 >> on submitting your build and test results to the common database - KCIDB?
 >
 > Yes, we are willing to sent the test results to KCIDB.

Wonderful!

 > For now, all the tests are inside the company, which blocks us to
 > directly sent the test results out of the test machine due to the
 > security policy, it takes us sometime to discuss how to send out
 > the test results, and we may need do the test in a public cloud.

I understand. We faced the same dilemma at Red Hat with the CKI project, where
I'm employed. In the end we just decided to publish the logs from the test
lab (most sensitive part, I suppose) as they are, but then Red Hat is already
a very open company.

Here's an example of all logs we publish for a revision:

     https://arr-cki-prod-datawarehouse-public.s3.amazonaws.com/index.html?prefix=datawarehouse-public/2021/02/22/624489

And here's that revision in KCIDB:

     https://staging.kernelci.org:3000/d/revision/revision?orgId=1&var-dataset=kernelci04&var-id=093ae67c90a629599a0cb2300c5686ec7d8bbdd0

Take your time, there is a range of solutions to choose from, starting from
isolating your test machines/boards, to running the test in the public cloud
as you mention. Although the latter lacks the benefit of testing your own
hardware, of course.

Please also note that we require the tested kernel's code to be publicly
available to accept results.

 >> We are working on aggregating results from various testing systems so we can
 >> provide a dashboard, and a single, aggregated e-mail report to subscribed
 >> maintainers and developers.
 >>
 >> We have a prototype dashboard at https://staging.kernelci.org:3000/ and are
 >> working hard on making the e-mail reports good enough to start reaching out to
 >> maintainers.
 >>
 >> We already have ARM, Google Syzbot, Gentoo GKernelCI, Red Hat CKI, and, of
 >> course, KernelCI native tests sending data to the database. Linaro Tuxsuite is
 >> starting sending today. We could use your data, and of course any development
 >> help you could spare :)
 >
 > How can we connect to the KCIDB? Can we send the test data out by email
 > first?

The simplest way would be using our "kcidb-submit" command-line tool.

Here's a minimal example of sending an empty report:

     echo '{"version":{"major":3,"minor":0}}' |
             kcidb-submit -p kernelci-production -t kernelci_new

Another way could be using our Python 3 library, which is a little more
involved. Here's an example sending the same empty report in Python:

     import kcidb
     client = kcidb.Client(project_id="kernelci-production",
                           topic_name="kernelci_new")
     client.submit({"version":{"major":3,"minor":0}})

Finally, you can send (validated) data using the Google Cloud Pub/Sub service
directly, using the library in one of the supported languages:

     https://cloud.google.com/pubsub/docs/tutorials

The latter would be the least stable option (change-wise), but something e.g.
Google Syzbot is already using.

See more details in our Submission HOWTO:

     https://github.com/kernelci/kcidb/blob/main/SUBMISSION_HOWTO.md

Although email submissions are theoretically possible (with due
authentication, setup, etc.), they're not currently supported, and we would
not put them at the top of our (rather large) priority list. Topmost item
being getting the data we already have to developers.

Would be excited to have you on board!
Nick

On 2/26/21 10:03 AM, Hanjun Guo wrote:
 > Hi Nick,
 >
 > Sorry for taking so long to reply you, we had discussions on how to
 > corporate with KCIDB, please see my comments inline.
 >
 > On 2021/2/19 22:45, Nikolai Kondrashov wrote:
 >> Hi Hanjun,
 >>
 >> On 2/19/21 10:54 AM, Hanjun Guo wrote:
 >>  > In specific, we will start from the testing work, using HULK robot
 >>  > (reports lots of bugs to mainline kernel) testing framework to test
 >>  > compile, reboot, functional testing, and will extend to basic
 >>  > performance regression testing in the future.
 >>
 >> I heard about Huawei ramping up kernel testing from someone at FOSDEM
 >> 2019. I wonder if it was you :) Nice to see your progress and the company
 >> stepping up to help with testing!
 >
 > I Cced Yongjun and Jinyue, they are the key persons :)
 >
 >>
 >> Would you be interested in working with the Linux Foundation KernelCI project
 >> on submitting your build and test results to the common database - KCIDB?
 >
 > Yes, we are willing to sent the test results to KCIDB.
 >
 > For now, all the tests are inside the company, which blocks us to
 > directly sent the test results out of the test machine due to the
 > security policy, it takes us sometime to discuss how to send out
 > the test results, and we may need do the test in a public cloud.
 >
 >>
 >> We are working on aggregating results from various testing systems so we can
 >> provide a dashboard, and a single, aggregated e-mail report to subscribed
 >> maintainers and developers.
 >>
 >> We have a prototype dashboard at https://staging.kernelci.org:3000/ and are
 >> working hard on making the e-mail reports good enough to start reaching out to
 >> maintainers.
 >>
 >> We already have ARM, Google Syzbot, Gentoo GKernelCI, Red Hat CKI, and, of
 >> course, KernelCI native tests sending data to the database. Linaro Tuxsuite is
 >> starting sending today. We could use your data, and of course any development
 >> help you could spare :)
 >
 > How can we connect to the KCIDB? Can we send the test data out by email
 > first?
 >
 >>
 >> I wish I could show you my today's KCIDB presentation at DevConf.cz, but the
 >> recording is not out yet. Meanwhile you can take a look at our presentation at
 >> last year's Linux Plumbers: https://youtu.be/y9Glc90WUN0?t=10739
 >>
 >> Or see our intro in an older blog post:
 >> https://foundation.kernelci.org/blog/2020/08/21/introducing-common-reporting/
 >>
 >> Anyone wishing to contribute to KCIDB gets credentials and permissions to
 >> submit to our "playground" setup where they can send their data, see it in a
 >> dashboard, experiment without worrying about breaking anything, and decide if
 >> they like it or n >
 >> If you're interested, take a look at our Submission HOWTO:
 >> https://github.com/kernelci/kcidb/blob/v8/SUBMISSION_HOWTO.md
 >> and send an email to kernelci@groups.io (CC'd), or come over to the #kernelci
 >> channel on freenode.net!
 >
 > Thanks!
 > Hanjun


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-02-26 11:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <ef30af4d-2081-305d-cd63-cb74da819a6d@broadcom.com>
     [not found] ` <YA/E1bHRmZb50MlS@kroah.com>
     [not found]   ` <595affb4-36e8-0a63-ebb3-a4fd0e3c243a@huawei.com>
2021-02-19 14:45     ` 5.10 LTS Kernel: 2 or 6 years? Nikolai Kondrashov
2021-02-26  8:03       ` Hanjun Guo
2021-02-26 11:21         ` Nikolai Kondrashov

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).