tests/gem_exec_flush: Remove tests from BAT.
PATCH v2 1/8 tests/gem_exec_flush: Remove tests from BAT.
--- tests/gem_exec_flush.c | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-)
tests/gem_exec_flush.c +5 -10
@@ -532,18 +532,15 @@ igt_main }for (const struct batch *b = batches; b->name; b++) { -igt_subtest_f ("%sbatch-%s-%s-uc" , - b == batches && e->exec_id ==0 ?"basic-" :"" , +igt_subtest_f ("batch-%s-%s-uc" , b->name, e->name)batch (fd, ring, ncpus, timeout, b->mode,0 ); -igt_subtest_f ("%sbatch-%s-%s-wb" , - b == batches && e->exec_id ==0 ?"basic-" :"" , +igt_subtest_f ("batch-%s-%s-wb" , b->name, e->name)batch (fd, ring, ncpus, timeout, b->mode,COHERENT ); -igt_subtest_f ("%sbatch-%s-%s-cmd" , - b == batches && e->exec_id ==0 ?"basic-" :"" , +igt_subtest_f ("batch-%s-%s-cmd" , b->name, e->name) batch(fd, ring, ncpus, timeout, b->mode,
@@ -551,8 +548,7 @@ igt_main }for (const struct mode *m = modes; m->name; m++) { -igt_subtest_f ("%suc-%s-%s" , - (m->flags &BASIC && e->exec_id ==0 ) ?"basic-" :"" , +igt_subtest_f ("uc-%s-%s" , m->name, e->name) run(fd, ring, ncpus, timeout,
@@ -564,8 +560,7 @@ igt_mainrun (fd, ring, ncpus, timeout,UNCACHED | m->flags |INTERRUPTIBLE ); -igt_subtest_f ("%swb-%s-%s" , - e->exec_id ==0 ?"basic-" :"" , +igt_subtest_f ("wb-%s-%s" , m->name, e->name) run(fd, ring, ncpus, timeout,
Signature · 6 lines
2.5.0 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH v2 2/8 tests/gem_ctx_switch: Remove test from BAT.
--- tests/gem_ctx_switch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tests/gem_ctx_switch.c +1 -1
@@ -157,7 +157,7 @@ igt_mainigt_fork_hang_detector (fd);for (e = intel_execution_engines; e->name; e++) { - igt_subtest_f("%s%s", e->exec_id == 0 ? "basic-" : "", e->name) + igt_subtest_f("%s", e->name)single (fd, handle, e,0 ,1 ); igt_subtest_f("%s-interruptible", e->name)single (fd, handle, e,INTERRUPTIBLE ,1 );
Signature · 6 lines
2.5.0 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [PATCH i-g-t v2 2/8] tests/gem_ctx_switch: Remove test from BAT.
On Fri, May 27, 2016 at 07:27:47PM +0300, Marius Vlad wrote:
Nak. This catches bugs quickly.
-Chris
Signature · 5 lines
Chris Wilson, Intel Open Source Technology Centre _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH v2 3/8 tests/gem_exec_nop: Remove test from BAT.
In reply to Marius Vlad--- tests/gem_exec_nop.c | 3 --- 1 file changed, 3 deletions(-)
tests/gem_exec_nop.c +0 -3
@@ -212,9 +212,6 @@ igt_mainigt_fork_hang_detector (device); - igt_subtest("basic") -all (device, handle,10 ); -for (e = intel_execution_engines; e->name; e++) igt_subtest_f("%s", e->name)single (device, handle, e->exec_id | e->flags, e->name);
Signature · 6 lines
2.5.0 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [PATCH i-g-t v2 3/8] tests/gem_exec_nop: Remove test from BAT.
On Fri, May 27, 2016 at 07:27:48PM +0300, Marius Vlad wrote:
Why?
-Chris
Signature · 5 lines
Chris Wilson, Intel Open Source Technology Centre _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [PATCH i-g-t v2 3/8] tests/gem_exec_nop: Remove test from BAT.
In reply to Marius VladQuoted 10 lines · Marius Vlad
Signed-off-by Marius Vlad <[email protected]>--- tests/gem_exec_nop.c | 3 --- 1 file changed, 3 deletions(-)tests/gem_exec_nop.c +0
-0
tests/gem_exec_nop.c igt_main · line 217
Quoted 6 lines
tests/gem_exec_nop.c +0
-3@@ -212,9 +212,6 @@ igt_mainigt_fork_hang_detector (device); - igt_subtest("basic") -all (device, handle,10 ); -
Maybe just run it for a second?
Regards,
Tvrtko
tests/gem_exec_nop.c igt_main · line 217
Quoted 4 lines
tests/gem_exec_nop.c +0
-0for (e = intel_execution_engines; e->name; e++) igt_subtest_f("%s", e->name)single (device, handle, e->exec_id | e->flags, e->name);
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH v2 4/8 tests/gem_close_race: Remove basic-threads from BAT.
In reply to Marius Vlad--- tests/gem_close_race.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tests/gem_close_race.c +1 -1
@@ -231,7 +231,7 @@ igt_mainigt_waitchildren (); } - igt_subtest("basic-threads") + igt_subtest("threads")threads (10 ); igt_subtest("process-exit") {
Signature · 6 lines
2.5.0 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [PATCH i-g-t v2 4/8] tests/gem_close_race: Remove basic-threads from BAT.
On Fri, May 27, 2016 at 07:27:49PM +0300, Marius Vlad wrote:
Please explain why. And why this approach.
-Chris
Signature · 5 lines
Chris Wilson, Intel Open Source Technology Centre _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [PATCH i-g-t v2 4/8] tests/gem_close_race: Remove basic-threads from BAT.
In reply to Marius VladQuoted 11 lines · Marius Vlad
Signed-off-by Marius Vlad <[email protected]>--- tests/gem_close_race.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)tests/gem_close_race.c +0
-0
tests/gem_close_race.c igt_main · line 237
Quoted 8 lines
tests/gem_close_race.c +1
-1@@ -231,7 +231,7 @@ igt_mainigt_waitchildren (); } - igt_subtest("basic-threads") + igt_subtest("threads")threads (10 ); igt_subtest("process-exit") {
Instead of removing decrease to a second or two?
Regards,
Tvrtko
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH v2 5/8 tests/gem_sync: Remove basic tests.
In reply to Marius Vlad--- tests/gem_sync.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
tests/gem_sync.c +2 -2
@@ -221,12 +221,12 @@ igt_mainsync_ring (fd, e->exec_id | e->flags, ncpus); } - igt_subtest("basic-each") + igt_subtest("each")sync_ring (fd, ~0u ,1 ); igt_subtest("forked-each")sync_ring (fd, ~0u , ncpus); - igt_subtest("basic-all") + igt_subtest("all")sync_all (fd,1 ); igt_subtest("forked-all")sync_all (fd, ncpus);
Signature · 6 lines
2.5.0 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [PATCH i-g-t v2 5/8] tests/gem_sync: Remove basic tests.
On Fri, May 27, 2016 at 07:27:50PM +0300, Marius Vlad wrote:
No. Please explain what you replace this basic test with. -Chris
Signature · 5 lines
Chris Wilson, Intel Open Source Technology Centre _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [PATCH i-g-t v2 5/8] tests/gem_sync: Remove basic tests.
In reply to Marius VladQuoted 15 lines · Marius Vlad
Signed-off-by Marius Vlad <[email protected]>--- tests/gem_sync.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)tests/gem_sync.c +0
-1@@ -221,12 +221,12 @@ igt_mainsync_ring (fd, e->exec_id | e->flags, ncpus); } -igt_subtest ("basic-each" )
tests/gem_sync.c igt_main · line 232
Quoted 10 lines
tests/gem_sync.c +2
-1+ igt_subtest("each")sync_ring (fd, ~0u ,1 ); igt_subtest("forked-each")sync_ring (fd, ~0u , ncpus); - igt_subtest("basic-all") + igt_subtest("all")sync_all (fd,1 ); igt_subtest("forked-all")sync_all (fd, ncpus);
Same thing, make it faster for BAT and keep the current length for nightly?
Regards,
Tvrtko
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH v2 6/8 tests/gem_storedw_loop: Remove from BAT.
In reply to Marius Vlad--- tests/gem_storedw_loop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tests/gem_storedw_loop.c +1 -1
@@ -185,7 +185,7 @@ igt_main }for (e = intel_execution_engines; e->name; e++) { - igt_subtest_f("basic-%s", e->name) { + igt_subtest_f("%s", e->name) {check_test_requirements (fd, e->exec_id);store_test (fd, e->exec_id | e->flags,16 *1024 ); }
Signature · 6 lines
2.5.0 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [PATCH i-g-t v2 6/8] tests/gem_storedw_loop: Remove from BAT.
Quoted 11 lines · Marius Vlad
Signed-off-by Marius Vlad <[email protected]>--- tests/gem_storedw_loop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)tests/gem_storedw_loop.c +0
-0
tests/gem_storedw_loop.c igt_main · line 191
Quoted 8 lines
tests/gem_storedw_loop.c +1
-1@@ -185,7 +185,7 @@ igt_main }for (e = intel_execution_engines; e->name; e++) { - igt_subtest_f("basic-%s", e->name) { + igt_subtest_f("%s", e->name) {check_test_requirements (fd, e->exec_id);store_test (fd, e->exec_id | e->flags,16 *1024 ); }
Again instead of removing make a shorter version for BAT?
Regards,
Tvrtko
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [PATCH i-g-t v2 6/8] tests/gem_storedw_loop: Remove from BAT.
Quoted 14 lines · Tvrtko Ursulin
Quoted 12 lines · Marius Vlad
Signed-off-by Marius Vlad <[email protected]>--- tests/gem_storedw_loop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)tests/gem_storedw_loop.c +0
-0@@ -185,7 +185,7 @@ igt_main }
Quoted 9 lines
tests/gem_storedw_loop.c igt_main · line 191
Quoted 7 lines
tests/gem_storedw_loop.c +1
-1for (e = intel_execution_engines; e->name; e++) { - igt_subtest_f("basic-%s", e->name) { + igt_subtest_f("%s", e->name) {check_test_requirements (fd, e->exec_id);store_test (fd, e->exec_id | e->flags,16 *1024 ); }Again instead of removing make a shorter version for BAT?
This one can be dropped.
gem_exec_store covers the inter-ring synchronisation for writes and gem_sync covers the missed interrupt syndrome.
(gem_exec_whisper would cover the inter-ring synchronisation for reads and writes, but that is too slow under lockdep/memdebug + execlists.) -Chris
Signature · 5 lines
Chris Wilson, Intel Open Source Technology Centre _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH v2 7/8 tests/gem_tile_pread_basic: Remove gem_tiled_pread_basic from BAT.
In reply to Marius VladTest is renamed to gem_tiled_pread.
--- tests/Makefile.sources | 2 +- tests/gem_tiled_pread.c | 228 ++++++++++++++++++++++++++++++++++++++++++ tests/gem_tiled_pread_basic.c | 215 --------------------------------------- 3 files changed, 229 insertions(+), 216 deletions(-) create mode 100644 tests/gem_tiled_pread.c delete mode 100644 tests/gem_tiled_pread_basic.c
tests/Makefile.sources +1 -1
@@ -175,7 +175,7 @@ TESTS_progs = \ gem_sync \ gem_threaded_access_tiled \ gem_tiled_fence_blits \ - gem_tiled_pread_basic \ + gem_tiled_pread \ gem_tiled_pread_pwrite \ gem_tiled_swapping \ gem_tiled_wb \
tests/gem_tiled_pread.c new file +228 -0
228 lines not on this page · raw message
tests/gem_tiled_pread_basic.c deleted +0 -215
215 lines not on this page · raw message
Signature · 6 lines
2.5.0 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH 8/8 tests/gem_exec_suspend: Remove hibernate from BAT.
In reply to Marius VladWe are already skipping this test in CI on more than one platform, so migrate them to nightly.
--- tests/gem_exec_suspend.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tests/gem_exec_suspend.c +1 -1
@@ -247,7 +247,7 @@ igt_mainrun_test (fd,-1 ,NOSLEEP ); igt_subtest("basic-S3")run_test (fd,-1 ,SUSPEND ); - igt_subtest("basic-S4") + igt_subtest("S4")run_test (fd,-1 ,HIBERNATE );for (e = intel_execution_engines; e->name; e++) {
Signature · 6 lines
2.5.0 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [PATCH i-g-t 8/8] tests/gem_exec_suspend: Remove hibernate from BAT.
Quoted 2 lines · Marius Vlad
We are already skipping this test in CI on more than one platform, so migrate them to nightly.
And? So QA is failing, don't bother testing at all? -Chris
Signature · 5 lines
Chris Wilson, Intel Open Source Technology Centre _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
On Fri, May 27, 2016 at 07:27:46PM +0300, Marius Vlad wrote:
You are lacking an explanation. Please tell me what this test is about and why it is not suitable criteria for a basic acceptance test. -Chris
Signature · 5 lines
Chris Wilson, Intel Open Source Technology Centre _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
The explanation is the same as in the previous series: the GEM tests are taking too long. Either I sack them under nightly runs or decrease the runtime. As new tests are added, it will take too long to provide meaningful output from BAT. There are platforms that reach the timeout (of 15minutes), and the slowest platform is the one that provides the runtime for the entire CI system (as we wait and collect the results from all of them).
Not being able to complete under a 5min makes BAT useless and more than once you mention that even at their current runtime some GEM tests have to have a higher runtime to trigger relevant bugs, which in your own words it makes sense to have them run for (some) extended period of time. Even though running once per night has some disadvantage if the tests are reliable if won't be that hard to catch the regression(s).
Quoted 8 lines · Chris Wilson
On Fri, May 27, 2016 at 07:27:46PM +0300, Marius Vlad wrote:
You are lacking an explanation. Please tell me what this test is about and why it is not suitable criteria for a basic acceptance test. -Chris
Signature · 1 line
Chris Wilson, Intel Open Source Technology Centre
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 7 lines · Marius Vlad
The explanation is the same as in the previous series: the GEM tests are taking too long. Either I sack them under nightly runs or decrease the runtime. As new tests are added, it will take too long to provide meaningful output from BAT. There are platforms that reach the timeout (of 15minutes), and the slowest platform is the one that provides the runtime for the entire CI system (as we wait and collect the results from all of them).
I am all for improving BAT, dropping tests is not acceptable imo. Replacing them with equivalent-or-better that run quickly should be the goal. Otherwise, you get into the same situation with the nightly runs (that already exclude gem_concurrent_blit despite it being one of the few tools that catch basic errors in GEM).
-Chris
Signature · 5 lines
Chris Wilson, Intel Open Source Technology Centre _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 9 lines · Chris Wilson
Quoted 7 lines · Marius Vlad
The explanation is the same as in the previous series: the GEM tests are taking too long. Either I sack them under nightly runs or decrease the runtime. As new tests are added, it will take too long to provide meaningful output from BAT. There are platforms that reach the timeout (of 15minutes), and the slowest platform is the one that provides the runtime for the entire CI system (as we wait and collect the results from all of them).
Quoted 5 lines
I am all for improving BAT, dropping tests is not acceptable imo. Replacing them with equivalent-or-better that run quickly should be the goal. Otherwise, you get into the same situation with the nightly runs (that already exclude
gem_concurrent_blitdespite it being one of the few tools that catch basic errors in GEM).
I'm far from being the expert here to work on improving them, hence my suggestion to tune-down the execution time my first approach. The consensus is to have some sort of work-around in some acceptable time-frame. Improving, on different platforms, is an endeavour on itself.
Have another suggestion, similar to Nightly runs. Have an extended namespace for GEM test that take/require a longer runtime and run them before Nightly kicks in. Basically have a shorter run-time for BAT and longer runtime (under that extended name) for extended runs. Atm, I'm timing concurrent_blit on a couple of platforms to see how much time it normally takes. If under a couple of hours that would be acceptable. Hoping that by segregating GEM tests would remove the noise I'm seeing for Nightly runs.
Quoted 8 lines
-Chris
Signature · 5 lines
Chris Wilson, Intel Open Source Technology Centre _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx