A common place for CI results?
A message that is not in the archive (sent off-list or not yet received): [email protected]
Hi,
as we know from this list, there's plenty CI systems doing some testing on the upstream kernels (and maybe some others we don't know about).
It would be great if there was a single common place where all the CI systems can put their results. This would make it much easier for the kernel maintainers and developers to see testing status since they only need to check one place instead of having a list of sites/mailing lists where each CI posts their contributions.
A few weeks ago, with some people we've been talking about kernelci.org being in a good place to act as the central upstream kernel CI piece that most maintainers already know about. So I'm wondering if it would be possible for kernelci to also act as an aggregator of all results? There's already an API for publishing a report [0] so it shouldn't be too hard to adjust it to handle and show more information. I also found the beta version for test results [1] so actually, most of the needed functionality seems to be already there. Since there will be multiple CI systems, the source and contact point for the contributor (so maintainers know whom to ask about results if needed) would likely be the only missing essential data point.
The common place for results would also make it easier for new CI systems to get involved with upstream. There are likely other companies out there running some tests on kernel internally but don't publish the results anywhere. Only adding some API calls into their code (with the data they are allowed to publish) would make it very simple for them to start contributing. If we want to make them interested, the starting point needs to be trivial. Different companies have different setups and policies and they might not be able to fulfill arbitrary requirements so they opt to not get involved at all, which is a shame because their results can be useful. After the initial "onboarding" step they might be willing to contribute more and more too.
Please let me know if the idea makes sense or if something similar is already in plans. I'd be happy to contribute to the effort because I believe it would make everyone's life easier and we'd all benefit from it (and maybe someone else from my team would be willing to help out too if needed).
Thanks,
Veronika Kabatova
CKI Project
[0] https://api.kernelci.org/examples.html#sending-a-boot-report
[1] https://kernelci.org/test/
Quoted 2 lines
-----Original Message-----
From: Veronika Kabatova
...
Quoted 9 lines
as we know from this list, there's plenty CI systems doing some testing on the
upstream kernels (and maybe some others we don't know about).It would be great if there was a single common place where all the CI systems can put their results. This would make it much easier for the kernel maintainers and developers to see testing status since they only need to check one place instead of having a list of sites/mailing lists where each CI posts their contributions.
We've had discussions about this, and decided there are a few issues. Some of these you identify below.
Quoted 6 lines
A few weeks ago, with some people we've been talking about kernelci.org being
in a good place to act as the central upstream kernel CI piece that most maintainers already know about. So I'm wondering if it would be possible for kernelci to also act as an aggregator of all results?
Right now, the kernelCI central server is (to my knowledge) maintained by Kevin Hilman, on his own dime. That may be changing with the Linux Foundation possibly creating a testing project to provide support for this. But in any event, at the scale we're talking about (with lots of test frameworks and potentially thousands of boards and hundreds of thousands of test run results arriving daily), hosting this is costly. So there's a question of who pays for this.
Quoted 8 lines
There's already an API
for publishing a report [0] so it shouldn't be too hard to adjust it to handle and show more information. I also found the beta version for test results [1] so actually, most of the needed functionality seems to be already there. Since there will be multiple CI systems, the source and contact point for the contributor (so maintainers know whom to ask about results if needed)
would likely be the only missing essential data point.
One of the things on our action item list is to have discussions about a common results format. See https://elinux.org/ATS_2018_Minutes (towards the end right before "Decisions from the summit") I think this addresses the issue of what information is needed for a universal results format. I think we should definitely add a 'contributor' field to a common definition, for the reasons you mention.
Some other issues, are making it so that different test frameworks emit the same testcase names when they run the same test. For example, in Fuego there is a testcase called Functional.LTP.syscalls.abort07. It's not required, but it seems like it would be valuable if CKI, Linaro, Fuego and others decided on a canonical name for this particular testcase, so they were the same in each run result.
I took an action item from our meetings at Linaro last week to look at this issue (testcase name harmonization).
Quoted 7 lines
The common place for results would also make it easier for new CI systems to
get involved with upstream. There are likely other companies out there running
some tests on kernel internally but don't publish the results anywhere.
Quoted 9 lines
Only
adding some API calls into their code (with the data they are allowed to publish) would make it very simple for them to start contributing. If we want to make them interested, the starting point needs to be trivial. Different companies have different setups and policies and they might not be able to fulfill arbitrary requirements so they opt to not get involved at all, which is a shame because their results can be useful. After the initial "onboarding" step they might be willing to contribute more and more too.
Indeed. Probably most groups don't publish their test results, even when they are using open source tests. There are lots of reasons for this (including there not being a place to publish them, as you mention). It would be good to also address the other reasons that testing entities don't publish, and try to remove as many obstacles (or to try to encourage as much as possible) publishing of test results.
Quoted 5 lines
Please let me know if the idea makes sense or if something similar is already in plans. I'd be happy to contribute to the effort because I believe it would make everyone's life easier and we'd all benefit from it (and maybe someone
else from my team would be willing to help out too if needed).
I think it makes a lot of sense, and we'd like to take steps to make that possible.
The aspect of this that I plan to work on myself is testcase name harmonization. That's one aspect of standardizing a common or universal results format. But I've already got a lot of things I'm working on. If someone else wants to volunteer to work on this, or head up a workgroup to work on this, let me know.
Regards,
-- Tim
Quoted 24 lines · On Mon, Apr 8, 2019 at 10:48 PM <[email protected]> wrote:
Quoted 3 lines
-----Original Message-----
From: Veronika Kabatova...
Quoted 9 lines
as we know from this list, there's plenty CI systems doing some testing on the
upstream kernels (and maybe some others we don't know about).It would be great if there was a single common place where all the CI systems can put their results. This would make it much easier for the kernel maintainers and developers to see testing status since they only need to check one place instead of having a list of sites/mailing lists where each CI posts their contributions.
We've had discussions about this, and decided there are a few issues. Some of these you identify below.
Quoted 6 lines
A few weeks ago, with some people we've been talking about kernelci.org being
in a good place to act as the central upstream kernel CI piece that most maintainers already know about. So I'm wondering if it would be possible for kernelci to also act as an aggregator of all results?
Quoted 8 lines
Right now, the kernelCI central server is (to my knowledge) maintained by Kevin Hilman, on his own dime. That may be changing with the Linux Foundation possibly creating a testing project to provide support for this. But in any event, at the scale we're talking about (with lots of test frameworks and potentially thousands of boards and hundreds of thousands of test run results arriving daily), hosting this is costly. So there's a question of who pays for this.
In theory that would be the Linux Foundation as part of the KernelCI project. Unfortunately, while companies and people do show interest in KernelCI, there seems to be little interest in actually joining the project. My understanding is that the Linux Foundation will only make it official if/when there are five members. Currently there are three, Google being one of them. Any company interested in the project may possibly want to consider joining it. When doing so, you'l have influence setting its direction, and that may include hosting test results other than those from KernelCI itself.
Guenter
Quoted 66 lines
Quoted 8 lines
There's already an API
for publishing a report [0] so it shouldn't be too hard to adjust it to handle and show more information. I also found the beta version for test results [1] so actually, most of the needed functionality seems to be already there. Since there will be multiple CI systems, the source and contact point for the contributor (so maintainers know whom to ask about results if needed)
would likely be the only missing essential data point.One of the things on our action item list is to have discussions about a common results format. See https://elinux.org/ATS_2018_Minutes (towards the end right before "Decisions from the summit") I think this addresses the issue of what information is needed for a universal results format. I think we should definitely add a 'contributor' field to a common definition, for the reasons you mention.
Some other issues, are making it so that different test frameworks emit the same testcase names when they run the same test. For example, in Fuego there is a testcase called Functional.LTP.syscalls.abort07. It's not required, but it seems like it would be valuable if CKI, Linaro, Fuego and others decided on a canonical name for this particular testcase, so they were the same in each run result.
I took an action item from our meetings at Linaro last week to look at this issue (testcase name harmonization).
Quoted 7 lines
The common place for results would also make it easier for new CI systems to
get involved with upstream. There are likely other companies out there running
some tests on kernel internally but don't publish the results anywhere.Quoted 9 lines
Only
adding some API calls into their code (with the data they are allowed to publish) would make it very simple for them to start contributing. If we want to make them interested, the starting point needs to be trivial. Different companies have different setups and policies and they might not be able to fulfill arbitrary requirements so they opt to not get involved at all, which is a shame because their results can be useful. After the initial "onboarding" step they might be willing to contribute more and more too.Indeed. Probably most groups don't publish their test results, even when they are using open source tests. There are lots of reasons for this (including there not being a place to publish them, as you mention). It would be good to also address the other reasons that testing entities don't publish, and try to remove as many obstacles (or to try to encourage as much as possible) publishing of test results.
Quoted 5 lines
Please let me know if the idea makes sense or if something similar is already in plans. I'd be happy to contribute to the effort because I believe it would make everyone's life easier and we'd all benefit from it (and maybe someone
else from my team would be willing to help out too if needed).I think it makes a lot of sense, and we'd like to take steps to make that possible.
The aspect of this that I plan to work on myself is testcase name harmonization. That's one aspect of standardizing a common or universal results format. But I've already got a lot of things I'm working on. If someone else wants to volunteer to work on this, or head up a workgroup to work on this, let me know.
Regards,
-- Tim
Quoted 4 lines · Guenter Roeck
Quoted 2 lines · On Mon, Apr 8, 2019 at 10:48 PM <[email protected]> wrote:
Right now, the kernelCI central server is (to my knowledge) maintained by Kevin Hilman, on his own dime. That may be changing with the Linux
Linaro is paying for the core servers (the Hetzner boxes with the core servers are a combination of Linaro and Collabora, IIRC the boxes Collabora is paying for are all builders). As far as I'm aware no individual is paying out of pocket for anything except for labs at the minute.
----- Original Message -----
Quoted 46 lines
From: "Guenter Roeck" <[email protected]>
To: [email protected], "Timothy Bird" <[email protected]>
Cc: [email protected], [email protected], [email protected]
Sent: Tuesday, April 9, 2019 3:41:24 PM
Subject: Re: A common place for CI results?Quoted 28 lines · On Mon, Apr 8, 2019 at 10:48 PM <[email protected]> wrote:
Quoted 3 lines
-----Original Message-----
From: Veronika Kabatova...
Quoted 5 lines
as we know from this list, there's plenty CI systems doing some testing on
the
upstream kernels (and maybe some others we don't know about).Quoted 7 lines
It would be great if there was a single common place where all the CI systems
can put their results. This would make it much easier for the kernel maintainers and developers to see testing status since they only need to check one place instead of having a list of sites/mailing lists where each CI
posts their contributions.We've had discussions about this, and decided there are a few issues. Some of these you identify below.
Quoted 7 lines
A few weeks ago, with some people we've been talking about kernelci.org being
in a good place to act as the central upstream kernel CI piece that most maintainers already know about. So I'm wondering if it would be possible for
kernelci to also act as an aggregator of all results?Quoted 10 lines
Right now, the kernelCI central server is (to my knowledge) maintained by Kevin Hilman, on his own dime. That may be changing with the Linux Foundation possibly creating a testing project to provide support for this. But in any event, at the scale we're talking about (with lots of test frameworks
and potentially thousands of boards and hundreds of thousands of test run results arriving daily), hosting this is costly. So there's a question of
who pays for this.
Quoted 10 lines
In theory that would be the Linux Foundation as part of the KernelCI project. Unfortunately, while companies and people do show interest in KernelCI, there seems to be little interest in actually joining the project. My understanding is that the Linux Foundation will only make it official if/when there are five members. Currently there are three, Google being one of them. Any company interested in the project may possibly want to consider joining it. When doing so, you'l have influence setting its direction, and that may include hosting test results other than those from KernelCI itself.
Is there any page with details on how to join and what are the requirements on us that I can pass along to management to get an official statement?
We are definitely interested in more involvement with upstream, both kernel and different CI systems, as we have a common goal. If we can help each other out and build a central CI system for upstream kernels that people can rely on, we want to be a part of this effort. We have started our own interaction with upstream (see my intro email on this list) but as all CI systems face the same challenges it only makes sense to join the forces.
Quoted 33 lines
Guenter
Quoted 31 lines
Quoted 10 lines
There's already an API
for publishing a report [0] so it shouldn't be too hard to adjust it to handle and show more information. I also found the beta version for test results [1] so actually, most of the needed functionality seems to be already
there. Since there will be multiple CI systems, the source and contact point
for the contributor (so maintainers know whom to ask about results if needed)
would likely be the only missing essential data point.One of the things on our action item list is to have discussions about a common results format.
See https://elinux.org/ATS_2018_Minutes (towards the end right before "Decisions from the summit")
I think this addresses the issue of what information is needed for a universal results format.
I think we should definitely add a 'contributor' field to a common definition, for the
reasons you mention.Some other issues, are making it so that different test frameworks emit the same testcase
names when they run the same test. For example, in Fuego there is a testcase called
Functional.LTP.syscalls.abort07. It's not required, but it seems like it would be valuable
if CKI, Linaro, Fuego and others decided on a canonical name for this particular testcase,
so they were the same in each run result.
Good point. CKI only reports full testsuite names as results (so it would be "LTP lite") and then we have a short log with subtests and results, and a longer log with details. But for CI systems that report each subtest separately, having a common name (with maybe "LTP" as an aggregated result) would definitely be beneficial and easier to parse by both humans and automation.
Quoted 25 lines
Quoted 25 lines
I took an action item from our meetings at Linaro last week to look at this issue
(testcase name harmonization).Quoted 21 lines
The common place for results would also make it easier for new CI systems to
get involved with upstream. There are likely other companies out there running
some tests on kernel internally but don't publish the results anywhere.Only
adding some API calls into their code (with the data they are allowed to publish) would make it very simple for them to start contributing. If we want
to make them interested, the starting point needs to be trivial. Different
companies have different setups and policies and they might not be able to
fulfill arbitrary requirements so they opt to not get involved at all, which
is a shame because their results can be useful. After the initial "onboarding"
step they might be willing to contribute more and more too.
Quoted 7 lines
Quoted 7 lines
Indeed. Probably most groups don't publish their test results, even when they are using open source tests. There are lots of reasons for this (including there not being a place to publish them, as you mention). It would be good to also address the other reasons that testing entities don't publish, and try to remove as many obstacles (or to try to encourage as much as possible) publishing of test results.
Absolutely agreed.
Quoted 11 lines
Quoted 11 lines
Quoted 7 lines
Please let me know if the idea makes sense or if something similar is already
in plans. I'd be happy to contribute to the effort because I believe it would
make everyone's life easier and we'd all benefit from it (and maybe someone
else from my team would be willing to help out too if needed).I think it makes a lot of sense, and we'd like to take steps to make that possible.
Quoted 8 lines
Quoted 8 lines
The aspect of this that I plan to work on myself is testcase name harmonization.
That's one aspect of standardizing a common or universal results format. But I've already got a lot of things I'm working on. If someone else wants to
volunteer to work on this, or head up a workgroup to work on this, let me know.
Totally understand your situation, too much work and too little time :) I can try to put an idea together and post it here for feedback to help out. Do you have any data points or previous discussions to link? It would be great to have something to build upon instead of posting a brain dump that won't work for already known issues (that aren't known by me).
Veronika
Quoted 7 lines
Quoted 6 lines
Regards,
-- Tim
On Wed, Apr 10, 2019 at 10:47 AM Veronika Kabatova <[email protected]> wrote:
[...]
Quoted 2 lines
Is there any page with details on how to join and what are the requirements on us that I can pass along to management to get an official statement?
Attatched is the LF slide deck with the project overview, membership levels and costs etc.
I'd be happy to discuss more with you on a call after you review the deck, but it would have to be next week as I'm OoO for the rest of this week.
Thanks,
Kevin
----- Original Message -----
Quoted 15 lines
From: "Kevin Hilman" <[email protected]>
To: "Veronika Kabatova" <[email protected]>
Cc: "Guenter Roeck" <[email protected]>, "Timothy Bird" <[email protected]>, "info" <[email protected]>, [email protected], [email protected]
Sent: Wednesday, April 10, 2019 11:13:40 PM
Subject: Re: [Automated-testing] A common place for CI results?On Wed, Apr 10, 2019 at 10:47 AM Veronika Kabatova <[email protected]> wrote:
[...]
Quoted 2 lines
Is there any page with details on how to join and what are the requirements on us that I can pass along to management to get an official statement?
Quoted 6 lines
Attatched is the LF slide deck with the project overview, membership levels and costs etc.
I'd be happy to discuss more with you on a call after you review the deck, but it would have to be next week as I'm OoO for the rest of this week.
Sounds good. Feel free to reach out off list to set up the time and call location. I'll prepare a list of questions to discuss (especially as I have no idea how the project memberships work, even though Red Hat is already a member of Linux Foundation). Afterwards I can pass along all the information and try to get any funding.
Thanks,
Veronika
Quoted 5 lines
Thanks,
Kevin
Quoted 46 lines
-----Original Message-----
From: Veronika KabatovaHi,
as we know from this list, there's plenty CI systems doing some testing on the
upstream kernels (and maybe some others we don't know about).It would be great if there was a single common place where all the CI systems can put their results. This would make it much easier for the kernel maintainers and developers to see testing status since they only need to check one place instead of having a list of sites/mailing lists where each CI posts their contributions.
A few weeks ago, with some people we've been talking about kernelci.org being
in a good place to act as the central upstream kernel CI piece that most maintainers already know about. So I'm wondering if it would be possible for kernelci to also act as an aggregator of all results? There's already an API for publishing a report [0] so it shouldn't be too hard to adjust it to handle and show more information. I also found the beta version for test results [1] so actually, most of the needed functionality seems to be already there. Since there will be multiple CI systems, the source and contact point for the contributor (so maintainers know whom to ask about results if needed)
would likely be the only missing essential data point.The common place for results would also make it easier for new CI systems to
get involved with upstream. There are likely other companies out there running
some tests on kernel internally but don't publish the results anywhere. Only adding some API calls into their code (with the data they are allowed to publish) would make it very simple for them to start contributing. If we want to make them interested, the starting point needs to be trivial. Different companies have different setups and policies and they might not be able to fulfill arbitrary requirements so they opt to not get involved at all, which is a shame because their results can be useful. After the initial "onboarding" step they might be willing to contribute more and more too.
Quoted 5 lines
Please let me know if the idea makes sense or if something similar is already in plans. I'd be happy to contribute to the effort because I believe it would make everyone's life easier and we'd all benefit from it (and maybe someone
else from my team would be willing to help out too if needed).
I never responded to this, but this sounds like a really good idea to me. I don't care much which backend we aggregate to, but it would be good as a community to start using one service to start with. It would help to find issues with the API, or the results schema, if multiple people started using it.
I know that people using Fuego are sending data to their own instances of KernelCI. But I don't know what the issues are for sending this data to a shared KernelCI service.
I would be interested in hooking up my lab to send Fuego results to KernelCI. This would be a good exercise. I'm not sure what the next steps would be, but maybe we could discuss this on the next automated testing conference call.
-- Tim
Quoted 46 lines · On Tue, May 14, 2019 at 11:01:35PM +0000, [email protected] wrote:
Quoted 46 lines
-----Original Message-----
From: Veronika KabatovaHi,
as we know from this list, there's plenty CI systems doing some testing on the
upstream kernels (and maybe some others we don't know about).It would be great if there was a single common place where all the CI systems can put their results. This would make it much easier for the kernel maintainers and developers to see testing status since they only need to check one place instead of having a list of sites/mailing lists where each CI posts their contributions.
A few weeks ago, with some people we've been talking about kernelci.org being
in a good place to act as the central upstream kernel CI piece that most maintainers already know about. So I'm wondering if it would be possible for kernelci to also act as an aggregator of all results? There's already an API for publishing a report [0] so it shouldn't be too hard to adjust it to handle and show more information. I also found the beta version for test results [1] so actually, most of the needed functionality seems to be already there. Since there will be multiple CI systems, the source and contact point for the contributor (so maintainers know whom to ask about results if needed)
would likely be the only missing essential data point.The common place for results would also make it easier for new CI systems to
get involved with upstream. There are likely other companies out there running
some tests on kernel internally but don't publish the results anywhere. Only adding some API calls into their code (with the data they are allowed to publish) would make it very simple for them to start contributing. If we want to make them interested, the starting point needs to be trivial. Different companies have different setups and policies and they might not be able to fulfill arbitrary requirements so they opt to not get involved at all, which is a shame because their results can be useful. After the initial "onboarding" step they might be willing to contribute more and more too.
Quoted 7 lines
Quoted 5 lines
Please let me know if the idea makes sense or if something similar is already in plans. I'd be happy to contribute to the effort because I believe it would make everyone's life easier and we'd all benefit from it (and maybe someone
else from my team would be willing to help out too if needed).I never responded to this,
yea, you did. ;)
Quoted 5 lines
but this sounds like a really good idea to me. I don't care much which backend we aggregate to, but it would be good as a community to start using one service to start with. It would help to find issues with the API, or the results schema, if multiple people started using it.
Quoted 8 lines
I know that people using Fuego are sending data to their own instances of KernelCI. But I don't know what the issues are for sending this data to a shared KernelCI service.
I would be interested in hooking up my lab to send Fuego results to KernelCI. This would be a good exercise. I'm not sure what the next steps would be, but maybe we could discuss this on the next automated testing conference call.
OK here's my idea.
I don't personally think kernelci (or LKFT) are set up to aggregate results currently. We have too many assumptions about where tests are coming from, how things are built, etc. In other words, dealing with noisy data is going to be non-trivial in any existing project.
I would propose aggregating data into something like google's BigQuery. This has a few benefits:
- Non-opinionated place to hold structured data
- Allows many downstream use-cases
- Managed hosting, and data is publicly available
- Storage is sponsored by google as a part of
https://cloud.google.com/bigquery/public-data/
- First 1TB of query per 'project' is free, and users pay for more queries than that
With storage taken care of, how do we get the data in?
First, we'll need some canonical data structure defined. I would approach defining the canonical structure in conjunction with the first few projects that are interested in contributing their results. Each project will have an ETL pipeline which will extract the test results from a given project (such as kernelci, lkft, etc), translate it into the canonical data structure, and load it into the google bigquery dataset at a regular interval or in real-time. The translation layer is where things like test names are handled.
The things this leaves me wanting are:
- raw data storage. It would be nice if raw data were stored somewhere permanent in some intermediary place so that later implementations could happen, and for data that doesn't fit into whatever structure we end up with.
- time, to actually try it and find the gaps. This is just an idea I've been thinking about. Anyone with experience here that can help flesh this out?
Dan
Signature · 1 line
Linaro - Kernel Validation
Quoted 75 lines · Dan Rue
Quoted 46 lines · On Tue, May 14, 2019 at 11:01:35PM +0000, [email protected] wrote:
Quoted 46 lines
-----Original Message-----
From: Veronika KabatovaHi,
as we know from this list, there's plenty CI systems doing some testing on the
upstream kernels (and maybe some others we don't know about).It would be great if there was a single common place where all the CI systems can put their results. This would make it much easier for the kernel maintainers and developers to see testing status since they only need to check one place instead of having a list of sites/mailing lists where each CI posts their contributions.
A few weeks ago, with some people we've been talking about kernelci.org being
in a good place to act as the central upstream kernel CI piece that most maintainers already know about. So I'm wondering if it would be possible for kernelci to also act as an aggregator of all results? There's already an API for publishing a report [0] so it shouldn't be too hard to adjust it to handle and show more information. I also found the beta version for test results [1] so actually, most of the needed functionality seems to be already there. Since there will be multiple CI systems, the source and contact point for the contributor (so maintainers know whom to ask about results if needed)
would likely be the only missing essential data point.The common place for results would also make it easier for new CI systems to
get involved with upstream. There are likely other companies out there running
some tests on kernel internally but don't publish the results anywhere. Only adding some API calls into their code (with the data they are allowed to publish) would make it very simple for them to start contributing. If we want to make them interested, the starting point needs to be trivial. Different companies have different setups and policies and they might not be able to fulfill arbitrary requirements so they opt to not get involved at all, which is a shame because their results can be useful. After the initial "onboarding" step they might be willing to contribute more and more too.Quoted 7 lines
Quoted 5 lines
Please let me know if the idea makes sense or if something similar is already in plans. I'd be happy to contribute to the effort because I believe it would make everyone's life easier and we'd all benefit from it (and maybe someone
else from my team would be willing to help out too if needed).I never responded to this,
yea, you did. ;)
Quoted 5 lines
but this sounds like a really good idea to me. I don't care much which backend we aggregate to, but it would be good as a community to start using one service to start with. It would help to find issues with the API, or the results schema, if multiple people started using it.
Quoted 8 lines
I know that people using Fuego are sending data to their own instances of KernelCI. But I don't know what the issues are for sending this data to a shared KernelCI service.
I would be interested in hooking up my lab to send Fuego results to KernelCI. This would be a good exercise. I'm not sure what the next steps would be, but maybe we could discuss this on the next automated testing conference call.
Quoted 6 lines
OK here's my idea.
I don't personally think kernelci (or LKFT) are set up to aggregate results currently. We have too many assumptions about where tests are coming from, how things are built, etc. In other words, dealing with noisy data is going to be non-trivial in any existing project.
I completely agree.
Quoted 9 lines
I would propose aggregating data into something like google's BigQuery. This has a few benefits:
- Non-opinionated place to hold structured data
- Allows many downstream use-cases
- Managed hosting, and data is publicly available
- Storage is sponsored by google as a part of
https://cloud.google.com/bigquery/public-data/
- First 1TB of query per 'project' is free, and users pay for more queries than that
I very much like this idea. I do lots of android kernel testing and being able to work with / compare / contribute to what is essentially a pile of data in BQ would be great. As an end user working with the data I’d also have lots of dash board options to customize and share queries with others.
Quoted 10 lines
With storage taken care of, how do we get the data in?
First, we'll need some canonical data structure defined. I would approach defining the canonical structure in conjunction with the first few projects that are interested in contributing their results. Each project will have an ETL pipeline which will extract the test results from a given project (such as kernelci, lkft, etc), translate it into the canonical data structure, and load it into the google bigquery dataset at a regular interval or in real-time. The translation layer is where things like test names are handled.
Exactly. I would hope that the various projects that are producing data would be motived to plug in. After all, it makes the data they are producing more useful and available to a larger group of people.
Quoted 5 lines
The things this leaves me wanting are:
- raw data storage. It would be nice if raw data were stored somewhere permanent in some intermediary place so that later implementations could happen, and for data that doesn't fit into whatever structure we end up with.
I agree.
Quoted 3 lines
- time, to actually try it and find the gaps. This is just an idea I've been thinking about. Anyone with experience here that can help flesh this out?
I’m willing to lend a hand.
Quoted 4 lines
Dan
Signature · 1 line
Linaro - Kernel Validation
Tom
—
Directory, Linaro Consumer Group
----- Original Message -----
Quoted 96 lines
From: "Tom Gall" <[email protected]>
To: [email protected], "Dan Rue" <[email protected]>
Cc: "Tim Bird" <[email protected]>, [email protected], [email protected], [email protected]
Sent: Wednesday, May 15, 2019 11:06:33 PM
Subject: Re: A common place for CI results?Quoted 88 lines · Dan Rue
Quoted 67 lines · On Tue, May 14, 2019 at 11:01:35PM +0000, [email protected] wrote:
Quoted 59 lines
-----Original Message-----
From: Veronika KabatovaHi,
as we know from this list, there's plenty CI systems doing some testing on
the
upstream kernels (and maybe some others we don't know about).It would be great if there was a single common place where all the CI systems
can put their results. This would make it much easier for the kernel maintainers and developers to see testing status since they only need to check one place instead of having a list of sites/mailing lists where each CI
posts their contributions.A few weeks ago, with some people we've been talking about kernelci.org being
in a good place to act as the central upstream kernel CI piece that most maintainers already know about. So I'm wondering if it would be possible for
kernelci to also act as an aggregator of all results? There's already an API
for publishing a report [0] so it shouldn't be too hard to adjust it to handle and show more information. I also found the beta version for test results [1] so actually, most of the needed functionality seems to be already
there. Since there will be multiple CI systems, the source and contact point
for the contributor (so maintainers know whom to ask about results if needed)
would likely be the only missing essential data point.The common place for results would also make it easier for new CI systems to
get involved with upstream. There are likely other companies out there running
some tests on kernel internally but don't publish the results anywhere. Only
adding some API calls into their code (with the data they are allowed to publish) would make it very simple for them to start contributing. If we want
to make them interested, the starting point needs to be trivial. Different
companies have different setups and policies and they might not be able to
fulfill arbitrary requirements so they opt to not get involved at all, which
is a shame because their results can be useful. After the initial "onboarding"
step they might be willing to contribute more and more too.Quoted 7 lines
Please let me know if the idea makes sense or if something similar is already
in plans. I'd be happy to contribute to the effort because I believe it would
make everyone's life easier and we'd all benefit from it (and maybe someone
else from my team would be willing to help out too if needed).Quoted 1 line
I never responded to this,
yea, you did. ;)
Quoted 13 lines
but this sounds like a really good idea to me. I don't care much which backend we aggregate to, but it would be good as a community to start using one service to start with. It would help to find issues with the API, or the results schema, if multiple people started using it.
I know that people using Fuego are sending data to their own instances of KernelCI. But I don't know what the issues are for sending this data to a shared KernelCI service.
I would be interested in hooking up my lab to send Fuego results to KernelCI. This would be a good exercise. I'm not sure what the next steps would be, but maybe we could discuss this on the next automated testing conference call.
Quoted 9 lines
Quoted 6 lines
OK here's my idea.
I don't personally think kernelci (or LKFT) are set up to aggregate results currently. We have too many assumptions about where tests are coming from, how things are built, etc. In other words, dealing with noisy data is going to be non-trivial in any existing project.
I completely agree.
This is a good point. I'm totally fine with having a separate independent place for aggregation.
Quoted 10 lines
Quoted 9 lines
I would propose aggregating data into something like google's BigQuery. This has a few benefits:
- Non-opinionated place to hold structured data
- Allows many downstream use-cases
- Managed hosting, and data is publicly available
- Storage is sponsored by google as a part of
https://cloud.google.com/bigquery/public-data/
- First 1TB of query per 'project' is free, and users pay for more queries than that
Quoted 17 lines
I very much like this idea. I do lots of android kernel testing and being able to work with / compare / contribute to what is essentially a pile of data in BQ would be great. As an end user working with the data I’d also have lots of dash board options to customize and share queries with others.
Quoted 10 lines
With storage taken care of, how do we get the data in?
First, we'll need some canonical data structure defined. I would approach defining the canonical structure in conjunction with the first few projects that are interested in contributing their results. Each project will have an ETL pipeline which will extract the test results from a given project (such as kernelci, lkft, etc), translate it into the canonical data structure, and load it into the google bigquery dataset at a regular interval or in real-time. The translation layer is where things like test names are handled.
+1, exactly how I imagined this part.
Quoted 5 lines
Exactly. I would hope that the various projects that are producing data would be motived to plug in. After all, it makes the data they are producing more useful and available to a larger group of people.
Quoted 7 lines
Quoted 5 lines
The things this leaves me wanting are:
- raw data storage. It would be nice if raw data were stored somewhere permanent in some intermediary place so that later implementations could happen, and for data that doesn't fit into whatever structure we end up with.I agree.
+1
Quoted 7 lines
Quoted 4 lines
- time, to actually try it and find the gaps. This is just an idea I've been thinking about. Anyone with experience here that can help flesh this out?
I’m willing to lend a hand.
Thanks for starting up a specific proposal! I agree with everything that was brought up. I'll try to find time to participate in the implementation part too (although my experience with data storage is.. limited, I should be able to help out with the structure prototyping and maybe other parts too).
Thanks again,
Veronika
CKI Project
Quoted 11 lines
Quoted 4 lines
Dan
--
Linaro - Kernel ValidationTom
—
Directory, Linaro Consumer Group
Hello,
Quoted 183 lines · Veronika Kabatova
----- Original Message -----
Quoted 3 lines
From: "Tom Gall" <[email protected]>
To: [email protected], "Dan Rue" <[email protected]>
Cc: "Tim Bird" <[email protected]>, [email protected],[email protected], [email protected]
Quoted 16 lines
Sent: Wednesday, May 15, 2019 11:06:33 PM
Subject: Re: A common place for CI results?Quoted 11 lines · Dan Rue
Quoted 8 lines · On Tue, May 14, 2019 at 11:01:35PM +0000, [email protected] wrote:
Quoted 8 lines
-----Original Message-----
From: Veronika KabatovaHi,
as we know from this list, there's plenty CI systems doing some
testing
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
on
the
upstream kernels (and maybe some others we don't know about).It would be great if there was a single common place where all the CI systems
can put their results. This would make it much easier for the kernel maintainers and developers to see testing status since they onlyneed to
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
check one place instead of having a list of sites/mailing lists where each CI
posts their contributions.A few weeks ago, with some people we've been talking about
kernelci.org
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
being
in a good place to act as the central upstream kernel CI piece thatmost
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
maintainers already know about. So I'm wondering if it would be
possible
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
for
kernelci to also act as an aggregator of all results? There'salready an
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
API
for publishing a report [0] so it shouldn't be too hard to adjust itto
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
handle and show more information. I also found the beta version for
test
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
results [1] so actually, most of the needed functionality seems to be already
there. Since there will be multiple CI systems, the source andcontact
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
point
for the contributor (so maintainers know whom to ask about results if needed)
would likely be the only missing essential data point.The common place for results would also make it easier for new CI
systems
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
to
get involved with upstream. There are likely other companies outthere
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
running
some tests on kernel internally but don't publish the resultsanywhere.
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Only
adding some API calls into their code (with the data they areallowed to
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
publish) would make it very simple for them to start contributing.
If we
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
want
to make them interested, the starting point needs to be trivial. Different
companies have different setups and policies and they might not beable
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
to
fulfill arbitrary requirements so they opt to not get involved atall,
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
which
is a shame because their results can be useful. After the initial "onboarding"
step they might be willing to contribute more and more too.Please let me know if the idea makes sense or if something similar is already
in plans. I'd be happy to contribute to the effort because I believeit
Quoted 23 lines
Quoted 23 lines
Quoted 6 lines
Quoted 4 lines
would
make everyone's life easier and we'd all benefit from it (and maybe someone
else from my team would be willing to help out too if needed).I never responded to this,
yea, you did. ;)
Quoted 13 lines
but this sounds like a really good idea to me. I don't care much which backend we aggregate to, but it would be good as a community to start using one service to start with. It would help to find issues with the API, or the results schema, if multiple people started using it.
I know that people using Fuego are sending data to their own instances of KernelCI. But I don't know what the issues are for sending this data to a shared KernelCI service.
I would be interested in hooking up my lab to send Fuego results to KernelCI. This would be a good exercise. I'm not sure what the next steps would be, but maybe we could discuss this on the next automated testing conference call.
Quoted 9 lines
Quoted 6 lines
OK here's my idea.
I don't personally think kernelci (or LKFT) are set up to aggregate results currently. We have too many assumptions about where tests are coming from, how things are built, etc. In other words, dealing with noisy data is going to be non-trivial in any existing project.
I completely agree.
This is a good point. I'm totally fine with having a separate independent place for aggregation.
Quoted 10 lines
Quoted 9 lines
I would propose aggregating data into something like google's BigQuery. This has a few benefits:
- Non-opinionated place to hold structured data
- Allows many downstream use-cases
- Managed hosting, and data is publicly available
- Storage is sponsored by google as a part of
https://cloud.google.com/bigquery/public-data/
- First 1TB of query per 'project' is free, and users pay for more queries than thatQuoted 17 lines
I very much like this idea. I do lots of android kernel testing and being able to work with / compare / contribute to what is essentially a pile of data in BQ would be great. As an end user working with the data I’d also have lots of dash board options to customize and share queries with others.
Quoted 10 lines
With storage taken care of, how do we get the data in?
First, we'll need some canonical data structure defined. I would approach defining the canonical structure in conjunction with the first few projects that are interested in contributing their results. Each project will have an ETL pipeline which will extract the test results from a given project (such as kernelci, lkft, etc), translate it into the canonical data structure, and load it into the google bigquery dataset at a regular interval or in real-time. The translation layer is where things like test names are handled.
+1, exactly how I imagined this part.
Quoted 5 lines
Exactly. I would hope that the various projects that are producing data would be motived to plug in. After all, it makes the data they are producing more useful and available to a larger group of people.
Quoted 7 lines
Quoted 5 lines
The things this leaves me wanting are:
- raw data storage. It would be nice if raw data were stored somewhere permanent in some intermediary place so that later implementations could happen, and for data that doesn't fit into whatever structure we end up with.I agree.
+1
Quoted 7 lines
Quoted 4 lines
- time, to actually try it and find the gaps. This is just an idea I've been thinking about. Anyone with experience here that can help flesh this out?
I’m willing to lend a hand.
Quoted 7 lines
Thanks for starting up a specific proposal! I agree with everything that was
brought up. I'll try to find time to participate in the implementation part too (although my experience with data storage is.. limited, I should be able
to help out with the structure prototyping and maybe other parts too).
This all sounds great: having a common location to store the results that is scalable and definitions of test case names.
However, there is a whole layer of logic above and around this which KernelCI does, and I'm sure other CI systems also do with some degree of overlap. So it seems to me that solving how to deal with the results is only one piece in the puzzle to get a common CI architecture for upstream kernel testing. Sorry I'm a bit late to the party so I'll add my 2¢ here...
Around the end of last year I made this document and mentioned it on this list, about making KernelCI more modular:
https://docs.google.com/document/d/15F42HdHTO6NbSL53_iLl77lfe1XQKdWaHAf7XCNkKD8/edit?usp=sharing
https://groups.io/g/kernelci/topic/kernelci_modular_pipeline/29692355
The idea is to make it possible to have alternative components in the KernelCI "pipeline". Right now, KernelCI has these components:
* Jenkins job to monitor git branches and build kernels
* LAVA to run tests
* Custom backend and storage server to keep binaries and data
* Custom web frontend to show the results
They could all be replaced or used in conjunction with alternative build systems, database engines, test lab schedulers and dashboards. The key thing is the code orchestrating all this, which is kept in the kernelci-core repository.
For example, when a change has been detected in a tree, rather than triggering kernel builds on Jenkins there could be a request sent to another build system to do that elsewhere. Likewise, when some builds are ready to be tested, jobs could be scheduled in non-LAVA labs simply by sending another kind of HTTP request than the ones we're currently sending to the LAVA APIs. This could be easily described in some config files, in fact we already have one with the list of labs where to submit jobs to. Builds and tests are configured in YAML files in KernelCI, which could easily be extended too with new attributes.
The big advantage of having a central way to orchestrate all this is that results are going to be consistent and higher-level features can be enabled: each tree will be sampled at the same commit, so we don't end up with one CI lab running a version of mainline a few patches than another one etc... It means we can expand some KernelCI features to a larger ecosystem of CI labs, such as:
* redundancy checks when the same test / hardware is tested in multiple places (say, if a RPi fails to boot in a LAVA lab but not in CKI's lab...)
* regression tracking across the whole spectrum of CI labs
* common reports for each single kernel revision being tested
* bisections extended to non-LAVA labs
It feels like a diagram would be needed to really give an idea of how this would work. APIs and callback mechanisms would need to be well defined to have clear entry points for the various components in a modular system like this. I think we would be able to reuse some of the things currently used by KernelCI and improve them, taking into account what other CI labs have been doing (LKFT, CKI...).
I'm only scratching the surface here, but I wanted to raise this point to see if others shared the same vision. It would be unfortunate if we came up with a great solution focused on results, but then realised that it had big design limitations when trying to add more abstract functionality across all the contributing CI labs.
Well, I tried to keep it short - hope this makes any sense.
Cheers,
Guillaume
----- Original Message -----
Quoted 371 lines
From: "Guillaume Tucker" <[email protected]>
To: [email protected], [email protected]
Cc: "Tom Gall" <[email protected]>, "Dan Rue" <[email protected]>, "Tim Bird" <[email protected]>, [email protected], [email protected]
Sent: Tuesday, May 28, 2019 10:24:44 AM
Subject: Re: A common place for CI results?Hello,
Quoted 340 lines · Veronika Kabatova
----- Original Message -----
Quoted 218 lines
From: "Tom Gall" < [email protected] >
To: [email protected] , "Dan Rue" < [email protected] >
Cc: "Tim Bird" < [email protected] >, [email protected] , [email protected] , [email protected]
Sent: Wednesday, May 15, 2019 11:06:33 PM
Subject: Re: A common place for CI results?
Quoted 200 lines · Dan Rue
Quoted 145 lines · On Tue, May 14, 2019 at 11:01:35PM +0000, [email protected] wrote:
Quoted 144 lines
-----Original Message-----
From: Veronika Kabatova
Hi,
as we know from this list, there's plenty CI systems doing some testing
on
the
upstream kernels (and maybe some others we don't know about).
It would be great if there was a single common place where all the CI
systems
can put their results. This would make it much easier for the kernel
maintainers and developers to see testing status since they only need to
check one place instead of having a list of sites/mailing lists where
each CI
posts their contributions.
A few weeks ago, with some people we've been talking about kernelci.org
being
in a good place to act as the central upstream kernel CI piece that most
maintainers already know about. So I'm wondering if it would be possible
for
kernelci to also act as an aggregator of all results? There's already an
API
for publishing a report [0] so it shouldn't be too hard to adjust it to
handle and show more information. I also found the beta version for test
results [1] so actually, most of the needed functionality seems to be
already
there. Since there will be multiple CI systems, the source and contact
point
for the contributor (so maintainers know whom to ask about results if
needed)
would likely be the only missing essential data point.
The common place for results would also make it easier for new CI systems
to
get involved with upstream. There are likely other companies out there
running
some tests on kernel internally but don't publish the results anywhere.
Only
adding some API calls into their code (with the data they are allowed to
publish) would make it very simple for them to start contributing. If we
want
to make them interested, the starting point needs to be trivial.
Different
companies have different setups and policies and they might not be able
to
fulfill arbitrary requirements so they opt to not get involved at all,
which
is a shame because their results can be useful. After the initial
"onboarding"
step they might be willing to contribute more and more too.
Please let me know if the idea makes sense or if something similar is
already
in plans. I'd be happy to contribute to the effort because I believe it
would
make everyone's life easier and we'd all benefit from it (and maybe
Quoted 7 lines
Quoted 3 lines
someone
else from my team would be willing to help out too if needed).
I never responded to this,
yea, you did. ;)
Quoted 18 lines
but this sounds like a really good idea to me. I don't care much which
backend we aggregate to, but it would be good as a community to start
using one service to start with. It would help to find issues with
the API, or the results schema, if multiple people started using it.
I know that people using Fuego are sending data to their own instances
of KernelCI. But I don't know what the issues are for sending this
data to a shared KernelCI service.
Quoted 7 lines
I would be interested in hooking up my lab to send Fuego results to
KernelCI. This would be a good exercise. I'm not sure what the next
steps would be, but maybe we could discuss this on the next automated
testing conference call.
OK here's my idea.
I don't personally think kernelci (or LKFT) are set up to aggregate
results currently. We have too many assumptions about where tests are
Quoted 9 lines
Quoted 3 lines
coming from, how things are built, etc. In other words, dealing with
noisy data is going to be non-trivial in any existing project.
I completely agree.
This is a good point. I'm totally fine with having a separate independent
place for aggregation.
Quoted 22 lines
Quoted 10 lines
I would propose aggregating data into something like google's BigQuery.
This has a few benefits:
- Non-opinionated place to hold structured data
- Allows many downstream use-cases
- Managed hosting, and data is publicly available
Quoted 7 lines
- Storage is sponsored by google as a part of
https://cloud.google.com/bigquery/public-data/
- First 1TB of query per 'project' is free, and users pay for more
queries than that
I very much like this idea. I do lots of android kernel testing
Quoted 31 lines
and being able to work with / compare / contribute to what
is essentially a pile of data in BQ would be great. As an
end user working with the data I’d also have lots of dash
board options to customize and share queries with others.
Quoted 19 lines
With storage taken care of, how do we get the data in?
First, we'll need some canonical data structure defined. I would
approach defining the canonical structure in conjunction with the first
few projects that are interested in contributing their results. Each
project will have an ETL pipeline which will extract the test results
from a given project (such as kernelci, lkft, etc), translate it into
the canonical data structure, and load it into the google bigquery
dataset at a regular interval or in real-time. The translation layer is
where things like test names are handled.
+1, exactly how I imagined this part.
Quoted 16 lines
Exactly. I would hope that the various projects that are producing
data would be motived to plug in. After all, it makes the data
they are producing more useful and available to a larger group
of people.
Quoted 5 lines
The things this leaves me wanting are:
- raw data storage. It would be nice if raw data were stored somewhere
permanent in some intermediary place so that later implementations
Quoted 7 lines
Quoted 3 lines
could happen, and for data that doesn't fit into whatever structure we
end up with.
I agree.
+1
Quoted 4 lines
Quoted 3 lines
- time, to actually try it and find the gaps. This is just an idea I've
Quoted 9 lines
Quoted 3 lines
been thinking about. Anyone with experience here that can help flesh
this out?
I’m willing to lend a hand.
Thanks for starting up a specific proposal! I agree with everything that was
Quoted 6 lines
brought up. I'll try to find time to participate in the implementation part
too (although my experience with data storage is.. limited, I should be able
to help out with the structure prototyping and maybe other parts too).
This all sounds great: having a common location to store the results that is scalable and definitions of test case names.
However, there is a whole layer of logic above and around this which KernelCI does, and I'm sure other CI systems also do with some degree of overlap. So it seems to me that solving how to deal with the results is only one piece in the puzzle to get a common CI architecture for upstream kernel testing. Sorry I'm a bit late to the party so I'll add my 2¢ here...
Quoted 5 lines
Around the end of last year I made this document and mentioned it on this list, about making KernelCI more modular:
https://docs.google.com/document/d/15F42HdHTO6NbSL53_iLl77lfe1XQKdWaHAf7XCNkKD8/edit?usp=sharing
https://groups.io/g/kernelci/topic/kernelci_modular_pipeline/29692355
I have a plan to read this document but still didn't get around it :(
Quoted 51 lines
The idea is to make it possible to have alternative components in the KernelCI "pipeline". Right now, KernelCI has these components:
* Jenkins job to monitor git branches and build kernels
* LAVA to run tests
* Custom backend and storage server to keep binaries and data
* Custom web frontend to show the resultsThey could all be replaced or used in conjunction with alternative build systems, database engines, test lab schedulers and dashboards. The key thing is the code orchestrating all this, which is kept in the kernelci-core repository.
For example, when a change has been detected in a tree, rather than triggering kernel builds on Jenkins there could be a request sent to another build system to do that elsewhere. Likewise, when some builds are ready to be tested, jobs could be scheduled in non-LAVA labs simply by sending another kind of HTTP request than the ones we're currently sending to the LAVA APIs. This could be easily described in some config files, in fact we already have one with the list of labs where to submit jobs to. Builds and tests are configured in YAML files in KernelCI, which could easily be extended too with new attributes.
The big advantage of having a central way to orchestrate all this is that results are going to be consistent and higher-level features can be enabled: each tree will be sampled at the same commit, so we don't end up with one CI lab running a version of mainline a few patches than another one etc... It means we can expand some KernelCI features to a larger ecosystem of CI labs, such as:
* redundancy checks when the same test / hardware is tested in multiple places (say, if a RPi fails to boot in a LAVA lab but not in CKI's lab...)
* regression tracking across the whole spectrum of CI labs
* common reports for each single kernel revision being tested
* bisections extended to non-LAVA labs
It feels like a diagram would be needed to really give an idea of how this would work. APIs and callback mechanisms would need to be well defined to have clear entry points for the various components in a modular system like this. I think we would be able to reuse some of the things currently used by KernelCI and improve them, taking into account what other CI labs have been doing (LKFT, CKI...).
Quoted 6 lines
I'm only scratching the surface here, but I wanted to raise this point to see if others shared the same vision. It would be unfortunate if we came up with a great solution focused on results, but then realised that it had big design limitations when trying to add more abstract functionality across all the contributing CI labs.
This is definitely something I'd love to see in the (likely very far) future too.
However, I'd say that it would require changes in the CI systems and not necessarily in the result format / way of displaying the data, which is what we are trying to set up and agree on here. Each of the CI systems in question would be responsible for their API calls and the receiving side would just validate what it got, and this is likely not something that would change even in the far future when we get more integrated.
I agree with all the points you made and we should definitely keep them in mind going forward, but unless I overlooked something (which is totally possible :) these two things don't depend on each other.
Quoted 1 line
Well, I tried to keep it short - hope this makes any sense.
It does. I really have to find some time to get through that doc.
Veronika
Quoted 2 lines
Cheers,
Guillaume
Quoted 19 lines · Dan Rue
OK here's my idea.
I don't personally think kernelci (or LKFT) are set up to aggregate results currently. We have too many assumptions about where tests are coming from, how things are built, etc. In other words, dealing with noisy data is going to be non-trivial in any existing project.
I would propose aggregating data into something like google's BigQuery. This has a few benefits:
- Non-opinionated place to hold structured data
- Allows many downstream use-cases
- Managed hosting, and data is publicly available
- Storage is sponsored by google as a part of
https://cloud.google.com/bigquery/public-data/
- First 1TB of query per 'project' is free, and users pay for more queries than thatWith storage taken care of, how do we get the data in?
Quoted 8 lines
First, we'll need some canonical data structure defined. I would approach defining the canonical structure in conjunction with the first few projects that are interested in contributing their results. Each project will have an ETL pipeline which will extract the test results from a given project (such as kernelci, lkft, etc), translate it into the canonical data structure, and load it into the google bigquery dataset at a regular interval or in real-time. The translation layer is where things like test names are handled.
+1
I like the idea
Quoted 6 lines
The things this leaves me wanting are:
- raw data storage. It would be nice if raw data were stored somewhere permanent in some intermediary place so that later implementations could happen, and for data that doesn't fit into whatever structure we end up with.
If required, we could setup a related table w/ raw data. I believe max cell size ~ 100MB per https://cloud.google.com/bigquery/quotas
However, another approach could be to define the structure version in the schema. New fields can be added and left blank for old data.
Quoted 5 lines
- time, to actually try it and find the gaps. This is just an idea I've been thinking about. Anyone with experience here that can help flesh this out?
Dan
Signature · 1 line
Carlos
Quoted 4 lines · Carlos Hernandez
Quoted 2 lines · Dan Rue
This has a few benefits:
- Non-opinionated place to hold structured data
Of course structure is opinion :/
Quoted 3 lines
+1
I like the idea
Me too.
Quoted 11 lines
Quoted 5 lines
The things this leaves me wanting are:
- raw data storage. It would be nice if raw data were stored somewhere permanent in some intermediary place so that later implementations could happen, and for data that doesn't fit into whatever structure we end up with.If required, we could setup a related table w/ raw data. I believe max cell size ~ 100MB per https://cloud.google.com/bigquery/quotas
However, another approach could be to define the structure version in the schema. New fields can be added and left blank for old data.
Versioned structures do make tooling to use the data more difficult to implement, I think Dan's idea is good especially early on when things are being tried for the first time.