This repository was archived by the owner on Feb 25, 2025. It is now read-only.
Merged
Conversation
9cac3a0 to
55ac7c6
Compare
4d85b63 to
425f28a
Compare
Following the refactoring of test views, a number of functions in table/test.js aren't used any more so they can now be removed. Signed-off-by: Guillaume Tucker <guillaume.tucker@collabora.com>
Align all badge counters to use "pass", "fail", "warning" and "total" to map to green, red, yellow and grey. That way, each table can now define which counters to show. Also simplify the logic in tables/common.js to iterate over an array of nodes. Signed-off-by: Guillaume Tucker <guillaume.tucker@collabora.com>
The "unknown" badge counter is not useful for builds, in fact it's virtually never used in practice. Instead, show the number of builds that passed with at least one warning in the orange counter. The green counters now only show builds that passed with no warnings to avoid counting some builds twice. Also drop the total number of builds as it would not be equal to the pass/warning/error totals if there were any unknown ones. This makes the view simpler with 3 counters rather than 5. Signed-off-by: Guillaume Tucker <guillaume.tucker@collabora.com>
Rather than showing the number of "unknown" test cases, in the orange count badges, show the number that failed but didn't cause a regression. Also drop the total number of test cases as it's not that useful and would now be confusing with the number of unknown results not being shown (like with build counts, to have 3 badges rather than 5). Signed-off-by: Guillaume Tucker <guillaume.tucker@collabora.com>
Drop the "offline" status as it's not used anywhere. It was once used to show that some test platforms are offline, but this is not something the KernelCI database keeps track of any more. Signed-off-by: Guillaume Tucker <guillaume.tucker@collabora.com>
Reduce code duplication by making several html functions reuse html._status(). This makes it easier to maintain and adjust the different types of status. Signed-off-by: Guillaume Tucker <guillaume.tucker@collabora.com>
Add the "warning" status and add html.warning() to create it. Show "warning" in amber and convert "unknown" to grey. Signed-off-by: Guillaume Tucker <guillaume.tucker@collabora.com>
Use 4 different status instead of 3 for the pie charts: success, warning, failure, unkonwn (green, amber, red, grey). Update the default function to count the results accordingly using the "WARNING" status, and simplify syntax in some places. Signed-off-by: Guillaume Tucker <guillaume.tucker@collabora.com>
Treat builds with warnings as a separate category, with a new button and the html.warning() status icon. Signed-off-by: Guillaume Tucker <guillaume.tucker@collabora.com>
Use the new "warning" status when showing a single build details, if the build passed but had warnings. Signed-off-by: Guillaume Tucker <guillaume.tucker@collabora.com>
Update the table showing test counts on the detailed view for a single build, to align it with the top-level jobs pages (pass / failures / regressions). Signed-off-by: Guillaume Tucker <guillaume.tucker@collabora.com>
Update the status for each top-level test plan for a given kernel revision, showing a warning when there were failures but no regressions. Update the pie chart accordingly, with total and pass/fail/regression/unknown test counts. Signed-off-by: Guillaume Tucker <guillaume.tucker@collabora.com>
Update the view showing the test plan runs to show failures that are not regressions as warnings, with an extra button to be able to filter them. Also update the pie chart with the new 4 status (pass/fail/regression/unkonwn). Signed-off-by: Guillaume Tucker <guillaume.tucker@collabora.com>
69880bc to
1a588f2
Compare
Update the per-lab test result summaries to show pass/fail/regression numbers as per the rest of the UI. Signed-off-by: Guillaume Tucker <guillaume.tucker@collabora.com>
Update the view to show the summary of test case results for a given test plan run, using "warning" for test cases that have always failed and "unknown" for others such as skipped. Also update the pie chart accordingly. Signed-off-by: Guillaume Tucker <guillaume.tucker@collabora.com>
When a test case has always failed, show the status as a "warning" to distinguish it from regressions and unknown (skipped). Signed-off-by: Guillaume Tucker <guillaume.tucker@collabora.com>
Update the socs-soc / job / kernel views with failures as warnings to align them with the jobs views. Also add missing semicolons to pass eslint. Signed-off-by: Guillaume Tucker <guillaume.tucker@collabora.com>
Update the socs-soc-job-kernel-plan view to show a warning sign when a test plan run has some failures but no regressions, to align it with the corresponding main test view. Signed-off-by: Guillaume Tucker <guillaume.tucker@collabora.com>
Show the number of pass / fail / regression tests in each lab on the socs-soc-job-kernel-plan view to align it with the corresponding main test view. Signed-off-by: Guillaume Tucker <guillaume.tucker@collabora.com>
1a588f2 to
52b4434
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix the status of test cases that have always failed, to show them as failures rather than "unknown". Also update a bunch of related things as a side effect, including: