drm/doc: ci: Require more context for flaky tests
Subsystems (4)
Maxime Ripard
maintainerPATCH v2 1/1 drm/doc: ci: Require more context for flaky tests
Flaky tests can be very difficult to reproduce after the facts, which will make it even harder to ever fix.
Let's document the metadata we agreed on to provide more context to anyone trying to address these fixes.
---
Cc: Helen Koike <[email protected]>
Changes from v1:
- Rephrase the sentence a bit to make it clearer we expect a bug report by mail
--- Documentation/gpu/automated_testing.rst | 13 +++++++++++++ 1 file changed, 13 insertions(+)
Documentation/gpu/automated_testing.rst +13 -0
@@ -67,6 +67,19 @@ Lists the tests that for a given driver on a specific hardware revision are known to behave unreliably. These tests won't cause a job to fail regardless of the result. They will still be run. +Each new flake entry must be associated with a link to the email reporting the +bug to the author of the affected driver, the board name or Device Tree name of +the board, the first kernel version affected, and an approximation of the +failure rate. + +They should be provided under the following format:: + + # Bug Report: $LORE_OR_PATCHWORK_URL + # Board Name: broken-board.dtb + # Version: 6.6-rc1 + # Failure Rate: 100 + flaky-test + drivers/gpu/drm/ci/${DRIVER_NAME}-${HW_REVISION}-skips.txt -----------------------------------------------------------
Signature · 1 line
2.41.0
Quoted 9 lines · Maxime Ripard
Flaky tests can be very difficult to reproduce after the facts, which will make it even harder to ever fix.
Let's document the metadata we agreed on to provide more context to anyone trying to address these fixes.
Quoted 35 lines
---
Cc: Helen Koike <[email protected]>Changes from v1:
- Rephrase the sentence a bit to make it clearer we expect a bug report by mail--- Documentation/gpu/automated_testing.rst | 13 +++++++++++++ 1 file changed, 13 insertions(+)Documentation/gpu/automated_testing.rst +13
-0@@ -67,6 +67,19 @@ Lists the tests that for a given driver on a specific hardware revision are known to behave unreliably. These tests won't cause a job to fail regardless of the result. They will still be run. +Each new flake entry must be associated with a link to the email reporting the +bug to the author of the affected driver, the board name or Device Tree name of +the board, the first kernel version affected, and an approximation of the +failure rate. + +They should be provided under the following format:: + + # Bug Report: $LORE_OR_PATCHWORK_URL + # Board Name: broken-board.dtb + # Version: 6.6-rc1 + # Failure Rate: 100 + flaky-test + drivers/gpu/drm/ci/${DRIVER_NAME}-${HW_REVISION}-skips.txt -----------------------------------------------------------
Re: (subset) [PATCH v2] drm/doc: ci: Require more context for flaky tests
In reply to Maxime RipardQuoted 8 lines · Maxime Ripard
Flaky tests can be very difficult to reproduce after the facts, which will make it even harder to ever fix.
Let's document the metadata we agreed on to provide more context to anyone trying to address these fixes.
[...]
Applied to drm/drm-misc (drm-misc-next).
Thanks!
Maxime
Re: (subset) [PATCH v2] drm/doc: ci: Require more context for flaky tests
Quoted 11 lines · Maxime Ripard
Quoted 8 lines · Maxime Ripard
Flaky tests can be very difficult to reproduce after the facts, which will make it even harder to ever fix.
Let's document the metadata we agreed on to provide more context to anyone trying to address these fixes.
[...]
Applied to drm/drm-misc (drm-misc-next).
Thanks!
Could you also apply https://patchwork.kernel.org/project/dri-devel/cover/[email protected]/ (and the dependencies listed on it).
Drm/ci in drm-misc is broken atm, there are some people asking me how to run it, and this unbreaks it.
Thanks again
Helen
Quoted 4 lines
Thanks!
Maxime
Re: (subset) [PATCH v2] drm/doc: ci: Require more context for flaky tests
Quoted 11 lines · Helen Koike
Quoted 8 lines · Maxime Ripard
Quoted 7 lines · Maxime Ripard
Flaky tests can be very difficult to reproduce after the facts, which will make it even harder to ever fix.
Let's document the metadata we agreed on to provide more context to anyone trying to address these fixes.
Quoted 7 lines
Quoted 3 lines
Quoted 1 line
[...]
Applied to drm/drm-misc (drm-misc-next).
Thanks!
Could you also apply https://patchwork.kernel.org/project/dri-devel/cover/[email protected]/ (and the dependencies listed on it).
For some reason, commit message 7/10 (drm/ci: increase i915 job timeout to 1h30m) looks incomplete in patchwork, but it looks fine in my branch:
https://gitlab.freedesktop.org/helen.fornazier/linux/-/commits/for-drm-misc-wip/
Let me know if you prefer that I send it again or if you could pull from the branch.
Thanks
Helen
Quoted 11 lines
Drm/ci in drm-misc is broken atm, there are some people asking me how to run it, and this unbreaks it.
Thanks again
HelenQuoted 4 lines
Thanks!
Maxime
Maxime Ripard
maintainerRe: (subset) [PATCH v2] drm/doc: ci: Require more context for flaky tests
Quoted 23 lines · Helen Koike
Quoted 11 lines · Helen Koike
Quoted 8 lines · Maxime Ripard
Quoted 7 lines · Maxime Ripard
Flaky tests can be very difficult to reproduce after the facts, which will make it even harder to ever fix.
Let's document the metadata we agreed on to provide more context to anyone trying to address these fixes.
Quoted 8 lines
Quoted 3 lines
Quoted 1 line
[...]
Applied to drm/drm-misc (drm-misc-next).
Thanks!
Could you also apply https://patchwork.kernel.org/project/dri-devel/cover/[email protected]/
(and the dependencies listed on it).
Quoted 7 lines
For some reason, commit message 7/10 (drm/ci: increase i915 job timeout to 1h30m) looks incomplete in patchwork, but it looks fine in my branch:
https://gitlab.freedesktop.org/helen.fornazier/linux/-/commits/for-drm-misc-wip/
Let me know if you prefer that I send it again or if you could pull from the branch.
It was fine on lore.kernel.org and that's where I'm pulling from, so it all worked out :)
Everything you asked for should be applied now
Maxime
Re: (subset) [PATCH v2] drm/doc: ci: Require more context for flaky tests
Quoted 29 lines · Maxime Ripard
Quoted 28 lines · Helen Koike
Quoted 11 lines · Helen Koike
Quoted 8 lines · Maxime Ripard
Quoted 7 lines · Maxime Ripard
Flaky tests can be very difficult to reproduce after the facts, which will make it even harder to ever fix.
Let's document the metadata we agreed on to provide more context to anyone trying to address these fixes.
Quoted 8 lines
Quoted 3 lines
Quoted 1 line
[...]
Applied to drm/drm-misc (drm-misc-next).
Thanks!
Could you also apply https://patchwork.kernel.org/project/dri-devel/cover/[email protected]/
(and the dependencies listed on it).For some reason, commit message 7/10 (drm/ci: increase i915 job timeout to 1h30m) looks incomplete in patchwork, but it looks fine in my branch:
https://gitlab.freedesktop.org/helen.fornazier/linux/-/commits/for-drm-misc-wip/
Quoted 8 lines
Quoted 2 lines
Let me know if you prefer that I send it again or if you could pull from the branch.
It was fine on lore.kernel.org and that's where I'm pulling from, so it all worked out :)
Everything you asked for should be applied now
Maxime
Awesome, thank you!
Sorry, just another request, could you please pull this other one updating MAINTAINERS?
https://patchwork.kernel.org/project/linux-arm-msm/patch/[email protected]/
So get_maintainers.pl returns the right people and we don't forget to notify maintainers when flakes/fails/skips are updated.
Thank again.
Helen
Maxime Ripard
maintainerRe: (subset) [PATCH v2] drm/doc: ci: Require more context for flaky tests
Hi,
Quoted 37 lines · Helen Koike
Quoted 36 lines · Maxime Ripard
Quoted 23 lines · Helen Koike
Quoted 11 lines · Helen Koike
Quoted 8 lines · Maxime Ripard
Quoted 7 lines · Maxime Ripard
Flaky tests can be very difficult to reproduce after the facts, which will make it even harder to ever fix.
Let's document the metadata we agreed on to provide more context to anyone trying to address these fixes.
Quoted 8 lines
Quoted 3 lines
Quoted 1 line
[...]
Applied to drm/drm-misc (drm-misc-next).
Thanks!
Could you also apply https://patchwork.kernel.org/project/dri-devel/cover/[email protected]/
(and the dependencies listed on it).Quoted 7 lines
For some reason, commit message 7/10 (drm/ci: increase i915 job timeout to 1h30m) looks incomplete in patchwork, but it looks fine in my branch:
https://gitlab.freedesktop.org/helen.fornazier/linux/-/commits/for-drm-misc-wip/
Let me know if you prefer that I send it again or if you could pull from the branch.
It was fine on lore.kernel.org and that's where I'm pulling from, so it all worked out :)
Everything you asked for should be applied now
Quoted 8 lines
Quoted 1 line
Maxime
Awesome, thank you!
Sorry, just another request, could you please pull this other one updating
MAINTAINERS?https://patchwork.kernel.org/project/linux-arm-msm/patch/[email protected]/
I don't mind, but the expectation (the one I had at least) was that you would do it :)
If you don't have drm-misc access, please create an account, you have done way more than expected to get one already
Maxime
Re: (subset) [PATCH v2] drm/doc: ci: Require more context for flaky tests
Quoted 47 lines · Maxime Ripard
Hi,
Quoted 44 lines · Helen Koike
Quoted 29 lines · Maxime Ripard
Quoted 28 lines · Helen Koike
Quoted 11 lines · Helen Koike
Quoted 8 lines · Maxime Ripard
Quoted 7 lines · Maxime Ripard
Flaky tests can be very difficult to reproduce after the facts, which will make it even harder to ever fix.
Let's document the metadata we agreed on to provide more context to anyone trying to address these fixes.
Quoted 8 lines
Quoted 3 lines
Quoted 1 line
[...]
Applied to drm/drm-misc (drm-misc-next).
Thanks!
Could you also apply https://patchwork.kernel.org/project/dri-devel/cover/[email protected]/
(and the dependencies listed on it).For some reason, commit message 7/10 (drm/ci: increase i915 job timeout to 1h30m) looks incomplete in patchwork, but it looks fine in my branch:
https://gitlab.freedesktop.org/helen.fornazier/linux/-/commits/for-drm-misc-wip/
Quoted 8 lines
Quoted 2 lines
Let me know if you prefer that I send it again or if you could pull from the branch.
It was fine on lore.kernel.org and that's where I'm pulling from, so it all worked out :)
Everything you asked for should be applied now
Maxime
Awesome, thank you!
Sorry, just another request, could you please pull this other one updating
MAINTAINERS?
Quoted 6 lines
I don't mind, but the expectation (the one I had at least) was that you would do it :)
If you don't have drm-misc access, please create an account, you have done way more than expected to get one already
Nice! I just created this request https://gitlab.freedesktop.org/freedesktop/freedesktop/-/issues/983
Would you mind approving it?
Thanks!
Helen
Quoted 2 lines
Maxime