* [Intel-gfx] [PATCH i-g-t] tests/debugfs_test: Use O_NONBLOCK
@ 2019-09-08 16:19 Chris Wilson
2019-09-09 7:26 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2019-09-09 9:15 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
0 siblings, 2 replies; 3+ messages in thread
From: Chris Wilson @ 2019-09-08 16:19 UTC (permalink / raw)
To: igt-dev; +Cc: intel-gfx
Since we are just reading from each debugfs file, any that requires
initial setup may not be fully setup or be left in a state that results
in the file *expectedly* waiting. Use O_NONBLOCK to avoid waits on
external events as we are just peeking for a trivial check that the
files do not explode.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
---
tests/debugfs_test.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/debugfs_test.c b/tests/debugfs_test.c
index 6d1757c50..f8dd851c9 100644
--- a/tests/debugfs_test.c
+++ b/tests/debugfs_test.c
@@ -65,7 +65,7 @@ static void read_and_discard_sysfs_entries(int path_fd, int indent)
igt_debug("%sReading file \"%s\"\n", tabs, dirent->d_name);
igt_set_timeout(5, "reading sysfs entry");
- sub_fd = openat(path_fd, dirent->d_name, O_RDONLY);
+ sub_fd = openat(path_fd, dirent->d_name, O_RDONLY | O_NONBLOCK);
if (sub_fd == -1) {
igt_debug("%sCould not open file \"%s\" with error: %m\n",
tabs, dirent->d_name);
--
2.23.0
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [igt-dev] ✓ Fi.CI.BAT: success for tests/debugfs_test: Use O_NONBLOCK
2019-09-08 16:19 [Intel-gfx] [PATCH i-g-t] tests/debugfs_test: Use O_NONBLOCK Chris Wilson
@ 2019-09-09 7:26 ` Patchwork
2019-09-09 9:15 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
1 sibling, 0 replies; 3+ messages in thread
From: Patchwork @ 2019-09-09 7:26 UTC (permalink / raw)
To: Chris Wilson; +Cc: igt-dev
== Series Details ==
Series: tests/debugfs_test: Use O_NONBLOCK
URL : https://patchwork.freedesktop.org/series/66399/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_6852 -> IGTPW_3429
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://patchwork.freedesktop.org/api/1.0/series/66399/revisions/1/mbox/
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in IGTPW_3429:
### IGT changes ###
#### Suppressed ####
The following results come from untrusted machines, tests, or statuses.
They do not affect the overall result.
* igt@gem_sync@basic-each:
- {fi-tgl-u}: NOTRUN -> [INCOMPLETE][1]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3429/fi-tgl-u/igt@gem_sync@basic-each.html
Known issues
------------
Here are the changes found in IGTPW_3429 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@kms_chamelium@dp-crc-fast:
- fi-cml-u2: [PASS][2] -> [FAIL][3] ([fdo#110387])
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6852/fi-cml-u2/igt@kms_chamelium@dp-crc-fast.html
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3429/fi-cml-u2/igt@kms_chamelium@dp-crc-fast.html
#### Possible fixes ####
* igt@gem_ctx_create@basic-files:
- fi-icl-u2: [INCOMPLETE][4] ([fdo#107713] / [fdo#109100]) -> [PASS][5]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6852/fi-icl-u2/igt@gem_ctx_create@basic-files.html
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3429/fi-icl-u2/igt@gem_ctx_create@basic-files.html
* igt@gem_exec_fence@nb-await-default:
- fi-icl-u3: [DMESG-WARN][6] ([fdo#107724]) -> [PASS][7]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6852/fi-icl-u3/igt@gem_exec_fence@nb-await-default.html
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3429/fi-icl-u3/igt@gem_exec_fence@nb-await-default.html
* igt@gem_exec_gttfill@basic:
- {fi-tgl-u}: [INCOMPLETE][8] -> [PASS][9]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6852/fi-tgl-u/igt@gem_exec_gttfill@basic.html
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3429/fi-tgl-u/igt@gem_exec_gttfill@basic.html
* igt@kms_frontbuffer_tracking@basic:
- fi-icl-u3: [FAIL][10] ([fdo#103167]) -> [PASS][11]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6852/fi-icl-u3/igt@kms_frontbuffer_tracking@basic.html
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3429/fi-icl-u3/igt@kms_frontbuffer_tracking@basic.html
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[fdo#103167]: https://bugs.freedesktop.org/show_bug.cgi?id=103167
[fdo#107713]: https://bugs.freedesktop.org/show_bug.cgi?id=107713
[fdo#107724]: https://bugs.freedesktop.org/show_bug.cgi?id=107724
[fdo#109100]: https://bugs.freedesktop.org/show_bug.cgi?id=109100
[fdo#110387]: https://bugs.freedesktop.org/show_bug.cgi?id=110387
Participating hosts (52 -> 45)
------------------------------
Missing (7): fi-ilk-m540 fi-hsw-4200u fi-byt-squawks fi-bsw-cyan fi-icl-y fi-byt-clapper fi-bdw-samus
Build changes
-------------
* CI: CI-20190529 -> None
* IGT: IGT_5173 -> IGTPW_3429
CI-20190529: 20190529
CI_DRM_6852: d45d78ff950be956657e1236785714509a7d43be @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_3429: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3429/
IGT_5173: 3fb0f227d8856008f89a797879e27094745ce97e @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3429/
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply [flat|nested] 3+ messages in thread
* [igt-dev] ✓ Fi.CI.IGT: success for tests/debugfs_test: Use O_NONBLOCK
2019-09-08 16:19 [Intel-gfx] [PATCH i-g-t] tests/debugfs_test: Use O_NONBLOCK Chris Wilson
2019-09-09 7:26 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
@ 2019-09-09 9:15 ` Patchwork
1 sibling, 0 replies; 3+ messages in thread
From: Patchwork @ 2019-09-09 9:15 UTC (permalink / raw)
To: Chris Wilson; +Cc: igt-dev
== Series Details ==
Series: tests/debugfs_test: Use O_NONBLOCK
URL : https://patchwork.freedesktop.org/series/66399/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_6852_full -> IGTPW_3429_full
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://patchwork.freedesktop.org/api/1.0/series/66399/revisions/1/mbox/
Known issues
------------
Here are the changes found in IGTPW_3429_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_ctx_switch@legacy-bsd2-heavy:
- shard-iclb: [PASS][1] -> [SKIP][2] ([fdo#109276]) +6 similar issues
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6852/shard-iclb4/igt@gem_ctx_switch@legacy-bsd2-heavy.html
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3429/shard-iclb3/igt@gem_ctx_switch@legacy-bsd2-heavy.html
* igt@gem_eio@reset-stress:
- shard-glk: [PASS][3] -> [FAIL][4] ([fdo#109661])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6852/shard-glk6/igt@gem_eio@reset-stress.html
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3429/shard-glk7/igt@gem_eio@reset-stress.html
* igt@gem_exec_schedule@preemptive-hang-bsd:
- shard-iclb: [PASS][5] -> [SKIP][6] ([fdo#111325]) +5 similar issues
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6852/shard-iclb3/igt@gem_exec_schedule@preemptive-hang-bsd.html
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3429/shard-iclb2/igt@gem_exec_schedule@preemptive-hang-bsd.html
* igt@kms_cursor_crc@pipe-b-cursor-64x64-random:
- shard-kbl: [PASS][7] -> [FAIL][8] ([fdo#103232])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6852/shard-kbl3/igt@kms_cursor_crc@pipe-b-cursor-64x64-random.html
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3429/shard-kbl2/igt@kms_cursor_crc@pipe-b-cursor-64x64-random.html
* igt@kms_flip@flip-vs-expired-vblank:
- shard-glk: [PASS][9] -> [FAIL][10] ([fdo#105363])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6852/shard-glk1/igt@kms_flip@flip-vs-expired-vblank.html
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3429/shard-glk8/igt@kms_flip@flip-vs-expired-vblank.html
* igt@kms_frontbuffer_tracking@fbc-stridechange:
- shard-iclb: [PASS][11] -> [FAIL][12] ([fdo#103167]) +4 similar issues
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6852/shard-iclb2/igt@kms_frontbuffer_tracking@fbc-stridechange.html
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3429/shard-iclb6/igt@kms_frontbuffer_tracking@fbc-stridechange.html
* igt@kms_plane@plane-panning-bottom-right-suspend-pipe-c-planes:
- shard-apl: [PASS][13] -> [DMESG-WARN][14] ([fdo#108566]) +5 similar issues
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6852/shard-apl6/igt@kms_plane@plane-panning-bottom-right-suspend-pipe-c-planes.html
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3429/shard-apl5/igt@kms_plane@plane-panning-bottom-right-suspend-pipe-c-planes.html
* igt@kms_psr@psr2_sprite_blt:
- shard-iclb: [PASS][15] -> [SKIP][16] ([fdo#109441]) +1 similar issue
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6852/shard-iclb2/igt@kms_psr@psr2_sprite_blt.html
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3429/shard-iclb5/igt@kms_psr@psr2_sprite_blt.html
* igt@kms_rotation_crc@primary-yf-tiled-reflect-x-90:
- shard-iclb: [PASS][17] -> [INCOMPLETE][18] ([fdo#107713] / [fdo#110026] / [fdo#110040 ])
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6852/shard-iclb2/igt@kms_rotation_crc@primary-yf-tiled-reflect-x-90.html
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3429/shard-iclb7/igt@kms_rotation_crc@primary-yf-tiled-reflect-x-90.html
#### Possible fixes ####
* igt@gem_exec_schedule@preempt-hang-bsd:
- shard-iclb: [SKIP][19] ([fdo#111325]) -> [PASS][20] +1 similar issue
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6852/shard-iclb1/igt@gem_exec_schedule@preempt-hang-bsd.html
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3429/shard-iclb6/igt@gem_exec_schedule@preempt-hang-bsd.html
* igt@gem_exec_schedule@preempt-other-bsd1:
- shard-iclb: [SKIP][21] ([fdo#109276]) -> [PASS][22] +19 similar issues
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6852/shard-iclb3/igt@gem_exec_schedule@preempt-other-bsd1.html
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3429/shard-iclb1/igt@gem_exec_schedule@preempt-other-bsd1.html
* igt@gem_tiled_swapping@non-threaded:
- shard-apl: [DMESG-WARN][23] ([fdo#108686]) -> [PASS][24]
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6852/shard-apl6/igt@gem_tiled_swapping@non-threaded.html
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3429/shard-apl2/igt@gem_tiled_swapping@non-threaded.html
* igt@i915_suspend@fence-restore-untiled:
- shard-apl: [DMESG-WARN][25] ([fdo#108566]) -> [PASS][26] +4 similar issues
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6852/shard-apl3/igt@i915_suspend@fence-restore-untiled.html
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3429/shard-apl5/igt@i915_suspend@fence-restore-untiled.html
* igt@kms_cursor_legacy@2x-long-flip-vs-cursor-atomic:
- shard-glk: [FAIL][27] ([fdo#104873]) -> [PASS][28]
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6852/shard-glk1/igt@kms_cursor_legacy@2x-long-flip-vs-cursor-atomic.html
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3429/shard-glk3/igt@kms_cursor_legacy@2x-long-flip-vs-cursor-atomic.html
* igt@kms_flip@flip-vs-suspend:
- shard-hsw: [INCOMPLETE][29] ([fdo#103540]) -> [PASS][30]
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6852/shard-hsw5/igt@kms_flip@flip-vs-suspend.html
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3429/shard-hsw8/igt@kms_flip@flip-vs-suspend.html
* igt@kms_frontbuffer_tracking@fbc-1p-offscren-pri-indfb-draw-pwrite:
- shard-iclb: [FAIL][31] ([fdo#103167]) -> [PASS][32] +2 similar issues
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6852/shard-iclb5/igt@kms_frontbuffer_tracking@fbc-1p-offscren-pri-indfb-draw-pwrite.html
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3429/shard-iclb5/igt@kms_frontbuffer_tracking@fbc-1p-offscren-pri-indfb-draw-pwrite.html
* igt@kms_frontbuffer_tracking@fbc-stridechange:
- shard-glk: [FAIL][33] ([fdo#103167]) -> [PASS][34]
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6852/shard-glk4/igt@kms_frontbuffer_tracking@fbc-stridechange.html
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3429/shard-glk6/igt@kms_frontbuffer_tracking@fbc-stridechange.html
- shard-apl: [FAIL][35] ([fdo#103167]) -> [PASS][36]
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6852/shard-apl2/igt@kms_frontbuffer_tracking@fbc-stridechange.html
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3429/shard-apl1/igt@kms_frontbuffer_tracking@fbc-stridechange.html
- shard-kbl: [FAIL][37] ([fdo#103167]) -> [PASS][38]
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6852/shard-kbl1/igt@kms_frontbuffer_tracking@fbc-stridechange.html
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3429/shard-kbl1/igt@kms_frontbuffer_tracking@fbc-stridechange.html
* igt@kms_psr2_su@frontbuffer:
- shard-iclb: [SKIP][39] ([fdo#109642] / [fdo#111068]) -> [PASS][40]
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6852/shard-iclb3/igt@kms_psr2_su@frontbuffer.html
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3429/shard-iclb2/igt@kms_psr2_su@frontbuffer.html
* igt@kms_psr@psr2_primary_mmap_cpu:
- shard-iclb: [SKIP][41] ([fdo#109441]) -> [PASS][42]
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6852/shard-iclb7/igt@kms_psr@psr2_primary_mmap_cpu.html
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3429/shard-iclb2/igt@kms_psr@psr2_primary_mmap_cpu.html
#### Warnings ####
* igt@gem_mocs_settings@mocs-reset-bsd2:
- shard-iclb: [SKIP][43] ([fdo#109276]) -> [FAIL][44] ([fdo#111330])
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6852/shard-iclb7/igt@gem_mocs_settings@mocs-reset-bsd2.html
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3429/shard-iclb2/igt@gem_mocs_settings@mocs-reset-bsd2.html
* igt@kms_dp_dsc@basic-dsc-enable-edp:
- shard-iclb: [DMESG-WARN][45] ([fdo#107724]) -> [SKIP][46] ([fdo#109349])
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6852/shard-iclb2/igt@kms_dp_dsc@basic-dsc-enable-edp.html
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3429/shard-iclb3/igt@kms_dp_dsc@basic-dsc-enable-edp.html
[fdo#103167]: https://bugs.freedesktop.org/show_bug.cgi?id=103167
[fdo#103232]: https://bugs.freedesktop.org/show_bug.cgi?id=103232
[fdo#103540]: https://bugs.freedesktop.org/show_bug.cgi?id=103540
[fdo#104873]: https://bugs.freedesktop.org/show_bug.cgi?id=104873
[fdo#105363]: https://bugs.freedesktop.org/show_bug.cgi?id=105363
[fdo#107713]: https://bugs.freedesktop.org/show_bug.cgi?id=107713
[fdo#107724]: https://bugs.freedesktop.org/show_bug.cgi?id=107724
[fdo#108566]: https://bugs.freedesktop.org/show_bug.cgi?id=108566
[fdo#108686]: https://bugs.freedesktop.org/show_bug.cgi?id=108686
[fdo#109276]: https://bugs.freedesktop.org/show_bug.cgi?id=109276
[fdo#109349]: https://bugs.freedesktop.org/show_bug.cgi?id=109349
[fdo#109441]: https://bugs.freedesktop.org/show_bug.cgi?id=109441
[fdo#109642]: https://bugs.freedesktop.org/show_bug.cgi?id=109642
[fdo#109661]: https://bugs.freedesktop.org/show_bug.cgi?id=109661
[fdo#110026]: https://bugs.freedesktop.org/show_bug.cgi?id=110026
[fdo#110040 ]: https://bugs.freedesktop.org/show_bug.cgi?id=110040
[fdo#111068]: https://bugs.freedesktop.org/show_bug.cgi?id=111068
[fdo#111325]: https://bugs.freedesktop.org/show_bug.cgi?id=111325
[fdo#111330]: https://bugs.freedesktop.org/show_bug.cgi?id=111330
Participating hosts (10 -> 6)
------------------------------
Missing (4): pig-skl-6260u shard-skl pig-hsw-4770r pig-glk-j5005
Build changes
-------------
* CI: CI-20190529 -> None
* IGT: IGT_5173 -> IGTPW_3429
* Piglit: piglit_4509 -> None
CI-20190529: 20190529
CI_DRM_6852: d45d78ff950be956657e1236785714509a7d43be @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_3429: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3429/
IGT_5173: 3fb0f227d8856008f89a797879e27094745ce97e @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
piglit_4509: fdc5a4ca11124ab8413c7988896eec4c97336694 @ git://anongit.freedesktop.org/piglit
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3429/
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-09-09 9:15 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-09-08 16:19 [Intel-gfx] [PATCH i-g-t] tests/debugfs_test: Use O_NONBLOCK Chris Wilson
2019-09-09 7:26 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2019-09-09 9:15 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox