On Fri, 2023-11-03 at 13:50 -0700, Alexis Lothoré via
lists.openembedded.org wrote:
> From: Alexis Lothoré <alexis.loth...@bootlin.com>
> 
> Commit c304fcbe0588b1078373558c2ddf36064bcdf214 introduced a grouping when
> listing regressions. This grouping has been added only for ptests. It has
> been observed that any other kind of tests could benefit from it. For
> example, current regression reports can show the following:
> 
> 1 regression(s) for oescripts.OEGitproxyTests.test_oegitproxy_proxy_dash
>     oescripts.OEGitproxyTests.test_oegitproxy_proxy_dash: PASSED -> SKIPPED
> 1 regression(s) for oescripts.OEPybootchartguyTests.test_pybootchartguy_help
>     oescripts.OEPybootchartguyTests.test_pybootchartguy_help: PASSED -> 
> SKIPPED
> 1 regression(s) for 
> oescripts.OEPybootchartguyTests.test_pybootchartguy_to_generate_build_pdf_output
>     
> oescripts.OEPybootchartguyTests.test_pybootchartguy_to_generate_build_pdf_output:
>  PASSED -> SKIPPED
> 1 regression(s) for 
> oescripts.OEPybootchartguyTests.test_pybootchartguy_to_generate_build_png_output
>     
> oescripts.OEPybootchartguyTests.test_pybootchartguy_to_generate_build_png_output:
>  PASSED -> SKIPPED
> 1 regression(s) for 
> oescripts.OEPybootchartguyTests.test_pybootchartguy_to_generate_build_svg_output
>     
> oescripts.OEPybootchartguyTests.test_pybootchartguy_to_generate_build_svg_output:
>  PASSED -> SKIPPED
> [...]
> 
> This output is not so useful in its current state and should be grouped per
> test type too.
> Enable grouping for all kind of tests, to make it llok like the following
> in reports:
> 5 regression(s) for oescripts
>     oescripts.OEGitproxyTests.test_oegitproxy_proxy_dash: PASSED -> SKIPPED
>     oescripts.OEPybootchartguyTests.test_pybootchartguy_help: PASSED -> 
> SKIPPED
>     
> oescripts.OEPybootchartguyTests.test_pybootchartguy_to_generate_build_pdf_output:
>  PASSED -> SKIPPED
>     
> oescripts.OEPybootchartguyTests.test_pybootchartguy_to_generate_build_png_output:
>  PASSED -> SKIPPED
>     
> oescripts.OEPybootchartguyTests.test_pybootchartguy_to_generate_build_svg_output:
>  PASSED -> SKIPPED
> 

Do you have a different example? This one is tricky as I happen to know
that test depends on the host distro and the things available there.
There are some distros it will pass on, there are some where it is
always skipped. There was a recipetool test added recently which will
do something similar depending upon host python version.

The challenge is we run the test on different host distros so it is
hard to see it as a regression. I don't know what we can do to make
this "clear" to the report reader...

The patch is probably ok as it doesn't make the output worse but it has
probably already obfuscated things a bit.

Cheers,

Richard
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#190172): 
https://lists.openembedded.org/g/openembedded-core/message/190172
Mute This Topic: https://lists.openembedded.org/mt/102373214/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to