* add 'X-KernelTest-Commit' in the stable-rc mail header @ 2024-12-17 14:08 Gustavo Padovan 2024-12-17 14:15 ` Greg KH 0 siblings, 1 reply; 10+ messages in thread From: Gustavo Padovan @ 2024-12-17 14:08 UTC (permalink / raw) To: Greg KH, sashal Cc: kernelci lists.linux.dev, stable, Engineering - Kernel, Muhammad Usama Anjum Hey Greg, Sasha, We are doing some work to further automate stable-rc testing, triage, validation and reporting of stable-rc branches in the new KernelCI system. As part of that, we want to start relying on the X-KernelTest-* mail header parameters, however there is no parameter with the git commit hash of the brach head. Today, there is only information about the tree and branch, but no tags or commits. Essentially, we want to parse the email headers and immediately be able to request results from the KernelCI Dashboard API passing the head commit being tested. Is it possible to add 'X-KernelTest-Commit'? Thank you. - Gus -- Gustavo Padovan Kernel Lead Collabora Ltd. Platinum Building, St John's Innovation Park Cambridge CB4 0DS, UK Registered in England & Wales, no. 5513718 ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: add 'X-KernelTest-Commit' in the stable-rc mail header 2024-12-17 14:08 add 'X-KernelTest-Commit' in the stable-rc mail header Gustavo Padovan @ 2024-12-17 14:15 ` Greg KH 2024-12-17 14:30 ` Gustavo Padovan 0 siblings, 1 reply; 10+ messages in thread From: Greg KH @ 2024-12-17 14:15 UTC (permalink / raw) To: Gustavo Padovan Cc: sashal, kernelci lists.linux.dev, stable, Engineering - Kernel, Muhammad Usama Anjum On Tue, Dec 17, 2024 at 11:08:17AM -0300, Gustavo Padovan wrote: > Hey Greg, Sasha, > > > We are doing some work to further automate stable-rc testing, triage, validation and reporting of stable-rc branches in the new KernelCI system. As part of that, we want to start relying on the X-KernelTest-* mail header parameters, however there is no parameter with the git commit hash of the brach head. > > Today, there is only information about the tree and branch, but no tags or commits. Essentially, we want to parse the email headers and immediately be able to request results from the KernelCI Dashboard API passing the head commit being tested. > > Is it possible to add 'X-KernelTest-Commit'? Not really, no. When I create the -rc branches, I apply them from quilt, push out the -rc branch, and then delete the branch locally, never to be seen again. That branch is ONLY for systems that can not handle a quilt series, as it gets rebased constantly and nothing there should ever be treated as stable at all. So my systems don't even have that git id around in order to reference it in an email, sorry. Can't you all handle a quilt series? thanks, greg k-h ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: add 'X-KernelTest-Commit' in the stable-rc mail header 2024-12-17 14:15 ` Greg KH @ 2024-12-17 14:30 ` Gustavo Padovan 2024-12-17 14:49 ` Greg KH 0 siblings, 1 reply; 10+ messages in thread From: Gustavo Padovan @ 2024-12-17 14:30 UTC (permalink / raw) To: Greg KH Cc: sashal, kernelci lists.linux.dev, stable, Engineering - Kernel, Muhammad Usama Anjum ---- On Tue, 17 Dec 2024 11:15:58 -0300 Greg KH wrote --- > On Tue, Dec 17, 2024 at 11:08:17AM -0300, Gustavo Padovan wrote: > > Hey Greg, Sasha, > > > > > > We are doing some work to further automate stable-rc testing, triage, validation and reporting of stable-rc branches in the new KernelCI system. As part of that, we want to start relying on the X-KernelTest-* mail header parameters, however there is no parameter with the git commit hash of the brach head. > > > > Today, there is only information about the tree and branch, but no tags or commits. Essentially, we want to parse the email headers and immediately be able to request results from the KernelCI Dashboard API passing the head commit being tested. > > > > Is it possible to add 'X-KernelTest-Commit'? > > Not really, no. When I create the -rc branches, I apply them from > quilt, push out the -rc branch, and then delete the branch locally, > never to be seen again. > > That branch is ONLY for systems that can not handle a quilt series, as > it gets rebased constantly and nothing there should ever be treated as > stable at all. > > So my systems don't even have that git id around in order to reference > it in an email, sorry. Can't you all handle a quilt series? We have no support at all for quilt in KernelCI. The system pulls kernel branches frequently from all the configured trees and build and test them, so it does the same for stable-rc. Let me understand how quilt works before adding a more elaborated answer here as I never used it before. - Gus ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: add 'X-KernelTest-Commit' in the stable-rc mail header 2024-12-17 14:30 ` Gustavo Padovan @ 2024-12-17 14:49 ` Greg KH 2024-12-17 15:01 ` Gustavo Padovan 2024-12-17 15:17 ` Sasha Levin 0 siblings, 2 replies; 10+ messages in thread From: Greg KH @ 2024-12-17 14:49 UTC (permalink / raw) To: Gustavo Padovan Cc: sashal, kernelci lists.linux.dev, stable, Engineering - Kernel, Muhammad Usama Anjum On Tue, Dec 17, 2024 at 11:30:19AM -0300, Gustavo Padovan wrote: > > > ---- On Tue, 17 Dec 2024 11:15:58 -0300 Greg KH wrote --- > > > On Tue, Dec 17, 2024 at 11:08:17AM -0300, Gustavo Padovan wrote: > > > Hey Greg, Sasha, > > > > > > > > > We are doing some work to further automate stable-rc testing, triage, validation and reporting of stable-rc branches in the new KernelCI system. As part of that, we want to start relying on the X-KernelTest-* mail header parameters, however there is no parameter with the git commit hash of the brach head. > > > > > > Today, there is only information about the tree and branch, but no tags or commits. Essentially, we want to parse the email headers and immediately be able to request results from the KernelCI Dashboard API passing the head commit being tested. > > > > > > Is it possible to add 'X-KernelTest-Commit'? > > > > Not really, no. When I create the -rc branches, I apply them from > > quilt, push out the -rc branch, and then delete the branch locally, > > never to be seen again. > > > > That branch is ONLY for systems that can not handle a quilt series, as > > it gets rebased constantly and nothing there should ever be treated as > > stable at all. > > > > So my systems don't even have that git id around in order to reference > > it in an email, sorry. Can't you all handle a quilt series? > > We have no support at all for quilt in KernelCI. The system pulls kernel > branches frequently from all the configured trees and build and test them, > so it does the same for stable-rc. > > Let me understand how quilt works before adding a more elaborated > answer here as I never used it before. Ok, in digging, I think I can save off the git id, as I do have it right _before_ I create the email. If you don't do anything with quilt, I can try to add it, but for some reason I thought kernelci was handling quilt trees in the past. Did this change? thanks, greg k-h ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: add 'X-KernelTest-Commit' in the stable-rc mail header 2024-12-17 14:49 ` Greg KH @ 2024-12-17 15:01 ` Gustavo Padovan 2024-12-17 15:15 ` Mark Brown 2024-12-17 15:17 ` Sasha Levin 1 sibling, 1 reply; 10+ messages in thread From: Gustavo Padovan @ 2024-12-17 15:01 UTC (permalink / raw) To: Greg KH Cc: sashal, kernelci lists.linux.dev, stable, Engineering - Kernel, Muhammad Usama Anjum ---- On Tue, 17 Dec 2024 11:49:53 -0300 Greg KH wrote --- > On Tue, Dec 17, 2024 at 11:30:19AM -0300, Gustavo Padovan wrote: > > > > > > ---- On Tue, 17 Dec 2024 11:15:58 -0300 Greg KH wrote --- > > > > > On Tue, Dec 17, 2024 at 11:08:17AM -0300, Gustavo Padovan wrote: > > > > Hey Greg, Sasha, > > > > > > > > > > > > We are doing some work to further automate stable-rc testing, triage, validation and reporting of stable-rc branches in the new KernelCI system. As part of that, we want to start relying on the X-KernelTest-* mail header parameters, however there is no parameter with the git commit hash of the brach head. > > > > > > > > Today, there is only information about the tree and branch, but no tags or commits. Essentially, we want to parse the email headers and immediately be able to request results from the KernelCI Dashboard API passing the head commit being tested. > > > > > > > > Is it possible to add 'X-KernelTest-Commit'? > > > > > > Not really, no. When I create the -rc branches, I apply them from > > > quilt, push out the -rc branch, and then delete the branch locally, > > > never to be seen again. > > > > > > That branch is ONLY for systems that can not handle a quilt series, as > > > it gets rebased constantly and nothing there should ever be treated as > > > stable at all. > > > > > > So my systems don't even have that git id around in order to reference > > > it in an email, sorry. Can't you all handle a quilt series? > > > > We have no support at all for quilt in KernelCI. The system pulls kernel > > branches frequently from all the configured trees and build and test them, > > so it does the same for stable-rc. > > > > Let me understand how quilt works before adding a more elaborated > > answer here as I never used it before. > > Ok, in digging, I think I can save off the git id, as I do have it right > _before_ I create the email. If you don't do anything with quilt, I > can try to add it, but for some reason I thought kernelci was handling > quilt trees in the past. Did this change? If you can save the git id that would help us tremoundously right now! We understand it is ephemeral, but it helps during the rc test window. I don't believe our legacy KernelCI supported quilt either, unless this happened in a remote past. We basically pull git trees and are now opening the path to receive patchsets from Patchwork et al. ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: add 'X-KernelTest-Commit' in the stable-rc mail header 2024-12-17 15:01 ` Gustavo Padovan @ 2024-12-17 15:15 ` Mark Brown 0 siblings, 0 replies; 10+ messages in thread From: Mark Brown @ 2024-12-17 15:15 UTC (permalink / raw) To: Gustavo Padovan Cc: Greg KH, sashal, kernelci lists.linux.dev, stable, Engineering - Kernel, Muhammad Usama Anjum [-- Attachment #1: Type: text/plain, Size: 763 bytes --] On Tue, Dec 17, 2024 at 12:01:32PM -0300, Gustavo Padovan wrote: > > Ok, in digging, I think I can save off the git id, as I do have it right > > _before_ I create the email. If you don't do anything with quilt, I > > can try to add it, but for some reason I thought kernelci was handling > > quilt trees in the past. Did this change? > If you can save the git id that would help us tremoundously right now! > We understand it is ephemeral, but it helps during the rc test window. > I don't believe our legacy KernelCI supported quilt either, unless this > happened in a remote past. We basically pull git trees and are now > opening the path to receive patchsets from Patchwork et al. Yeah, I don't recall us ever supporting qulit. [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 488 bytes --] ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: add 'X-KernelTest-Commit' in the stable-rc mail header 2024-12-17 14:49 ` Greg KH 2024-12-17 15:01 ` Gustavo Padovan @ 2024-12-17 15:17 ` Sasha Levin 2024-12-17 16:10 ` Gustavo Padovan 1 sibling, 1 reply; 10+ messages in thread From: Sasha Levin @ 2024-12-17 15:17 UTC (permalink / raw) To: Greg KH Cc: Gustavo Padovan, kernelci lists.linux.dev, stable, Engineering - Kernel, Muhammad Usama Anjum On Tue, Dec 17, 2024 at 03:49:53PM +0100, Greg KH wrote: >On Tue, Dec 17, 2024 at 11:30:19AM -0300, Gustavo Padovan wrote: >> >> >> ---- On Tue, 17 Dec 2024 11:15:58 -0300 Greg KH wrote --- >> >> > On Tue, Dec 17, 2024 at 11:08:17AM -0300, Gustavo Padovan wrote: >> > > Hey Greg, Sasha, >> > > >> > > >> > > We are doing some work to further automate stable-rc testing, triage, validation and reporting of stable-rc branches in the new KernelCI system. As part of that, we want to start relying on the X-KernelTest-* mail header parameters, however there is no parameter with the git commit hash of the brach head. >> > > >> > > Today, there is only information about the tree and branch, but no tags or commits. Essentially, we want to parse the email headers and immediately be able to request results from the KernelCI Dashboard API passing the head commit being tested. >> > > >> > > Is it possible to add 'X-KernelTest-Commit'? >> > >> > Not really, no. When I create the -rc branches, I apply them from >> > quilt, push out the -rc branch, and then delete the branch locally, >> > never to be seen again. >> > >> > That branch is ONLY for systems that can not handle a quilt series, as >> > it gets rebased constantly and nothing there should ever be treated as >> > stable at all. >> > >> > So my systems don't even have that git id around in order to reference >> > it in an email, sorry. Can't you all handle a quilt series? >> >> We have no support at all for quilt in KernelCI. The system pulls kernel >> branches frequently from all the configured trees and build and test them, >> so it does the same for stable-rc. >> >> Let me understand how quilt works before adding a more elaborated >> answer here as I never used it before. > >Ok, in digging, I think I can save off the git id, as I do have it right >_before_ I create the email. If you don't do anything with quilt, I >can try to add it, but for some reason I thought kernelci was handling >quilt trees in the past. Did this change? What if we provide the SHA1 of the stable-queue commit instead? This will allow us to rebuild the exact tree in question at any point in the future. -- Thanks, Sasha ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: add 'X-KernelTest-Commit' in the stable-rc mail header 2024-12-17 15:17 ` Sasha Levin @ 2024-12-17 16:10 ` Gustavo Padovan 2024-12-18 15:43 ` Sasha Levin 0 siblings, 1 reply; 10+ messages in thread From: Gustavo Padovan @ 2024-12-17 16:10 UTC (permalink / raw) To: Sasha Levin Cc: Greg KH, kernelci lists.linux.dev, stable, Engineering - Kernel, Muhammad Usama Anjum ---- On Tue, 17 Dec 2024 12:17:30 -0300 Sasha Levin wrote --- > On Tue, Dec 17, 2024 at 03:49:53PM +0100, Greg KH wrote: > >On Tue, Dec 17, 2024 at 11:30:19AM -0300, Gustavo Padovan wrote: > >> > >> > >> ---- On Tue, 17 Dec 2024 11:15:58 -0300 Greg KH wrote --- > >> > >> > On Tue, Dec 17, 2024 at 11:08:17AM -0300, Gustavo Padovan wrote: > >> > > Hey Greg, Sasha, > >> > > > >> > > > >> > > We are doing some work to further automate stable-rc testing, triage, validation and reporting of stable-rc branches in the new KernelCI system. As part of that, we want to start relying on the X-KernelTest-* mail header parameters, however there is no parameter with the git commit hash of the brach head. > >> > > > >> > > Today, there is only information about the tree and branch, but no tags or commits. Essentially, we want to parse the email headers and immediately be able to request results from the KernelCI Dashboard API passing the head commit being tested. > >> > > > >> > > Is it possible to add 'X-KernelTest-Commit'? > >> > > >> > Not really, no. When I create the -rc branches, I apply them from > >> > quilt, push out the -rc branch, and then delete the branch locally, > >> > never to be seen again. > >> > > >> > That branch is ONLY for systems that can not handle a quilt series, as > >> > it gets rebased constantly and nothing there should ever be treated as > >> > stable at all. > >> > > >> > So my systems don't even have that git id around in order to reference > >> > it in an email, sorry. Can't you all handle a quilt series? > >> > >> We have no support at all for quilt in KernelCI. The system pulls kernel > >> branches frequently from all the configured trees and build and test them, > >> so it does the same for stable-rc. > >> > >> Let me understand how quilt works before adding a more elaborated > >> answer here as I never used it before. > > > >Ok, in digging, I think I can save off the git id, as I do have it right > >_before_ I create the email. If you don't do anything with quilt, I > >can try to add it, but for some reason I thought kernelci was handling > >quilt trees in the past. Did this change? > > What if we provide the SHA1 of the stable-queue commit instead? This > will allow us to rebuild the exact tree in question at any point in the > future. Yeah, future-compatibility sounds better. As long as we have a git tree, a SHA1 and can match that to the test execution in KernelCI it works. Is that SHA1 different from the one in the stable-rc release? ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: add 'X-KernelTest-Commit' in the stable-rc mail header 2024-12-17 16:10 ` Gustavo Padovan @ 2024-12-18 15:43 ` Sasha Levin 2024-12-18 17:20 ` Gustavo Padovan 0 siblings, 1 reply; 10+ messages in thread From: Sasha Levin @ 2024-12-18 15:43 UTC (permalink / raw) To: Gustavo Padovan Cc: Greg KH, kernelci lists.linux.dev, stable, Engineering - Kernel, Muhammad Usama Anjum On Tue, Dec 17, 2024 at 01:10:07PM -0300, Gustavo Padovan wrote: > > >---- On Tue, 17 Dec 2024 12:17:30 -0300 Sasha Levin wrote --- > > > On Tue, Dec 17, 2024 at 03:49:53PM +0100, Greg KH wrote: > > >On Tue, Dec 17, 2024 at 11:30:19AM -0300, Gustavo Padovan wrote: > > >> > > >> > > >> ---- On Tue, 17 Dec 2024 11:15:58 -0300 Greg KH wrote --- > > >> > > >> > On Tue, Dec 17, 2024 at 11:08:17AM -0300, Gustavo Padovan wrote: > > >> > > Hey Greg, Sasha, > > >> > > > > >> > > > > >> > > We are doing some work to further automate stable-rc testing, triage, validation and reporting of stable-rc branches in the new KernelCI system. As part of that, we want to start relying on the X-KernelTest-* mail header parameters, however there is no parameter with the git commit hash of the brach head. > > >> > > > > >> > > Today, there is only information about the tree and branch, but no tags or commits. Essentially, we want to parse the email headers and immediately be able to request results from the KernelCI Dashboard API passing the head commit being tested. > > >> > > > > >> > > Is it possible to add 'X-KernelTest-Commit'? > > >> > > > >> > Not really, no. When I create the -rc branches, I apply them from > > >> > quilt, push out the -rc branch, and then delete the branch locally, > > >> > never to be seen again. > > >> > > > >> > That branch is ONLY for systems that can not handle a quilt series, as > > >> > it gets rebased constantly and nothing there should ever be treated as > > >> > stable at all. > > >> > > > >> > So my systems don't even have that git id around in order to reference > > >> > it in an email, sorry. Can't you all handle a quilt series? > > >> > > >> We have no support at all for quilt in KernelCI. The system pulls kernel > > >> branches frequently from all the configured trees and build and test them, > > >> so it does the same for stable-rc. > > >> > > >> Let me understand how quilt works before adding a more elaborated > > >> answer here as I never used it before. > > > > > >Ok, in digging, I think I can save off the git id, as I do have it right > > >_before_ I create the email. If you don't do anything with quilt, I > > >can try to add it, but for some reason I thought kernelci was handling > > >quilt trees in the past. Did this change? > > > > What if we provide the SHA1 of the stable-queue commit instead? This > > will allow us to rebuild the exact tree in question at any point in the > > future. > >Yeah, future-compatibility sounds better. As long as we have a git tree, a SHA1 >and can match that to the test execution in KernelCI it works. > >Is that SHA1 different from the one in the stable-rc release? Yeah - it's a different repo that hosts the quilt series. We won't find that SHA1 in any of the kernel/stable repos we use, but we know how to recreate the exact kernel tree with the stable-queue SHA1. -- Thanks, Sasha ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: add 'X-KernelTest-Commit' in the stable-rc mail header 2024-12-18 15:43 ` Sasha Levin @ 2024-12-18 17:20 ` Gustavo Padovan 0 siblings, 0 replies; 10+ messages in thread From: Gustavo Padovan @ 2024-12-18 17:20 UTC (permalink / raw) To: Sasha Levin Cc: Greg KH, kernelci lists.linux.dev, stable, Engineering - Kernel, Muhammad Usama Anjum ---- On Wed, 18 Dec 2024 12:43:06 -0300 Sasha Levin wrote --- > On Tue, Dec 17, 2024 at 01:10:07PM -0300, Gustavo Padovan wrote: > > > > > >---- On Tue, 17 Dec 2024 12:17:30 -0300 Sasha Levin wrote --- > > > > > On Tue, Dec 17, 2024 at 03:49:53PM +0100, Greg KH wrote: > > > >On Tue, Dec 17, 2024 at 11:30:19AM -0300, Gustavo Padovan wrote: > > > >> > > > >> > > > >> ---- On Tue, 17 Dec 2024 11:15:58 -0300 Greg KH wrote --- > > > >> > > > >> > On Tue, Dec 17, 2024 at 11:08:17AM -0300, Gustavo Padovan wrote: > > > >> > > Hey Greg, Sasha, > > > >> > > > > > >> > > > > > >> > > We are doing some work to further automate stable-rc testing, triage, validation and reporting of stable-rc branches in the new KernelCI system. As part of that, we want to start relying on the X-KernelTest-* mail header parameters, however there is no parameter with the git commit hash of the brach head. > > > >> > > > > > >> > > Today, there is only information about the tree and branch, but no tags or commits. Essentially, we want to parse the email headers and immediately be able to request results from the KernelCI Dashboard API passing the head commit being tested. > > > >> > > > > > >> > > Is it possible to add 'X-KernelTest-Commit'? > > > >> > > > > >> > Not really, no. When I create the -rc branches, I apply them from > > > >> > quilt, push out the -rc branch, and then delete the branch locally, > > > >> > never to be seen again. > > > >> > > > > >> > That branch is ONLY for systems that can not handle a quilt series, as > > > >> > it gets rebased constantly and nothing there should ever be treated as > > > >> > stable at all. > > > >> > > > > >> > So my systems don't even have that git id around in order to reference > > > >> > it in an email, sorry. Can't you all handle a quilt series? > > > >> > > > >> We have no support at all for quilt in KernelCI. The system pulls kernel > > > >> branches frequently from all the configured trees and build and test them, > > > >> so it does the same for stable-rc. > > > >> > > > >> Let me understand how quilt works before adding a more elaborated > > > >> answer here as I never used it before. > > > > > > > >Ok, in digging, I think I can save off the git id, as I do have it right > > > >_before_ I create the email. If you don't do anything with quilt, I > > > >can try to add it, but for some reason I thought kernelci was handling > > > >quilt trees in the past. Did this change? > > > > > > What if we provide the SHA1 of the stable-queue commit instead? This > > > will allow us to rebuild the exact tree in question at any point in the > > > future. > > > >Yeah, future-compatibility sounds better. As long as we have a git tree, a SHA1 > >and can match that to the test execution in KernelCI it works. > > > >Is that SHA1 different from the one in the stable-rc release? > > Yeah - it's a different repo that hosts the quilt series. > > We won't find that SHA1 in any of the kernel/stable repos we use, but we > know how to recreate the exact kernel tree with the stable-queue SHA1. I just looked into the stable-queue repo. I was clueless about the fact that it is not a kernel tree. So passing that SHA1 to pull results from KernelCI won't work obviously. I think we have to go back to Greg's suggestion of sticking the head SHA1 of the generated tree into 'X-KernelTest-Commit' just before you send the email and delete the local copy. That will get us going and then later we can revisit the approach if needed. Thanks, - Gus ^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2024-12-18 17:20 UTC | newest] Thread overview: 10+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2024-12-17 14:08 add 'X-KernelTest-Commit' in the stable-rc mail header Gustavo Padovan 2024-12-17 14:15 ` Greg KH 2024-12-17 14:30 ` Gustavo Padovan 2024-12-17 14:49 ` Greg KH 2024-12-17 15:01 ` Gustavo Padovan 2024-12-17 15:15 ` Mark Brown 2024-12-17 15:17 ` Sasha Levin 2024-12-17 16:10 ` Gustavo Padovan 2024-12-18 15:43 ` Sasha Levin 2024-12-18 17:20 ` Gustavo Padovan
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox