All of lore.kernel.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t] tests/vgem_basic: Fix unload testcase
@ 2021-05-27 14:07 Daniel Vetter
  2021-05-27 15:03 ` [igt-dev] ✗ Fi.CI.BAT: failure for " Patchwork
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Daniel Vetter @ 2021-05-27 14:07 UTC (permalink / raw)
  To: IGT development; +Cc: Daniel Vetter

An mmap _should_ keep the module alive.

This reverts

commit 8abe91985b30f8a26cdcb6816d2393956f171ea5
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Wed Oct 5 14:40:16 2016 +0100

    igt/vgem_basic: Allow mmap() to persist without the vgem module loaded

With real drivers there is usually more than just shmem around, so
encoding this as some kind of expectation just doesn't make sense at
all.

Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
---
 tests/vgem_basic.c | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/tests/vgem_basic.c b/tests/vgem_basic.c
index 526636dd1772..57c575e2e51b 100644
--- a/tests/vgem_basic.c
+++ b/tests/vgem_basic.c
@@ -382,14 +382,18 @@ static void test_unload(void)
 	close(dmabuf);
 
 	/* Although closed, the mmap should keep the dmabuf/module alive */
-	igt_assert_f(module_unload() == 0,
-		     "A mmap should not keep the module alive\n");
+	igt_assert_f(module_unload() != 0,
+		     "A mmap should keep the module alive\n");
 
 	for (int page = 0; page < bo.size >> 12; page++)
 		ptr[1024*page + page%1024] = page;
 
 	/* And finally we should have no more uses on the module. */
 	munmap(ptr, bo.size);
+
+	igt_assert_f(module_unload() == 0,
+		     "No mmap anymore, should be able to unload\n");
+
 }
 
 static bool has_prime_export(int fd)
-- 
2.24.1

_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [igt-dev] ✗ Fi.CI.BAT: failure for tests/vgem_basic: Fix unload testcase
  2021-05-27 14:07 [igt-dev] [PATCH i-g-t] tests/vgem_basic: Fix unload testcase Daniel Vetter
@ 2021-05-27 15:03 ` Patchwork
  2021-07-13 16:39 ` [igt-dev] ✗ Fi.CI.BAT: failure for tests/vgem_basic: Fix unload testcase (rev2) Patchwork
  2021-08-12 19:38 ` [igt-dev] [PATCH i-g-t] tests/vgem_basic: Fix unload testcase Daniel Vetter
  2 siblings, 0 replies; 4+ messages in thread
From: Patchwork @ 2021-05-27 15:03 UTC (permalink / raw)
  To: Daniel Vetter; +Cc: igt-dev


[-- Attachment #1.1: Type: text/plain, Size: 16425 bytes --]

== Series Details ==

Series: tests/vgem_basic: Fix unload testcase
URL   : https://patchwork.freedesktop.org/series/90669/
State : failure

== Summary ==

CI Bug Log - changes from CI_DRM_10142 -> IGTPW_5854
====================================================

Summary
-------

  **FAILURE**

  Serious unknown changes coming with IGTPW_5854 absolutely need to be
  verified manually.
  
  If you think the reported changes have nothing to do with the changes
  introduced in IGTPW_5854, please notify your bug team to allow them
  to document this new failure mode, which will reduce false positives in CI.

  External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5854/index.html

Possible new issues
-------------------

  Here are the unknown changes that may have been introduced in IGTPW_5854:

### IGT changes ###

#### Possible regressions ####

  * igt@vgem_basic@unload:
    - fi-kbl-7567u:       [PASS][1] -> [FAIL][2]
   [1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10142/fi-kbl-7567u/igt@vgem_basic@unload.html
   [2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5854/fi-kbl-7567u/igt@vgem_basic@unload.html
    - fi-elk-e7500:       [PASS][3] -> [FAIL][4]
   [3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10142/fi-elk-e7500/igt@vgem_basic@unload.html
   [4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5854/fi-elk-e7500/igt@vgem_basic@unload.html
    - fi-skl-6700k2:      [PASS][5] -> [FAIL][6]
   [5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10142/fi-skl-6700k2/igt@vgem_basic@unload.html
   [6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5854/fi-skl-6700k2/igt@vgem_basic@unload.html
    - fi-cfl-guc:         [PASS][7] -> [FAIL][8]
   [7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10142/fi-cfl-guc/igt@vgem_basic@unload.html
   [8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5854/fi-cfl-guc/igt@vgem_basic@unload.html
    - fi-tgl-u2:          [PASS][9] -> [FAIL][10]
   [9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10142/fi-tgl-u2/igt@vgem_basic@unload.html
   [10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5854/fi-tgl-u2/igt@vgem_basic@unload.html
    - fi-hsw-4770:        [PASS][11] -> [FAIL][12]
   [11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10142/fi-hsw-4770/igt@vgem_basic@unload.html
   [12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5854/fi-hsw-4770/igt@vgem_basic@unload.html
    - fi-ilk-650:         [PASS][13] -> [FAIL][14]
   [13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10142/fi-ilk-650/igt@vgem_basic@unload.html
   [14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5854/fi-ilk-650/igt@vgem_basic@unload.html
    - fi-cml-u2:          [PASS][15] -> [FAIL][16]
   [15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10142/fi-cml-u2/igt@vgem_basic@unload.html
   [16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5854/fi-cml-u2/igt@vgem_basic@unload.html
    - fi-snb-2600:        [PASS][17] -> [FAIL][18]
   [17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10142/fi-snb-2600/igt@vgem_basic@unload.html
   [18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5854/fi-snb-2600/igt@vgem_basic@unload.html
    - fi-kbl-soraka:      NOTRUN -> [FAIL][19]
   [19]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5854/fi-kbl-soraka/igt@vgem_basic@unload.html
    - fi-cfl-8109u:       [PASS][20] -> [FAIL][21]
   [20]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10142/fi-cfl-8109u/igt@vgem_basic@unload.html
   [21]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5854/fi-cfl-8109u/igt@vgem_basic@unload.html
    - fi-bdw-5557u:       [PASS][22] -> [FAIL][23]
   [22]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10142/fi-bdw-5557u/igt@vgem_basic@unload.html
   [23]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5854/fi-bdw-5557u/igt@vgem_basic@unload.html
    - fi-kbl-r:           [PASS][24] -> [FAIL][25]
   [24]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10142/fi-kbl-r/igt@vgem_basic@unload.html
   [25]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5854/fi-kbl-r/igt@vgem_basic@unload.html
    - fi-bwr-2160:        [PASS][26] -> [FAIL][27]
   [26]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10142/fi-bwr-2160/igt@vgem_basic@unload.html
   [27]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5854/fi-bwr-2160/igt@vgem_basic@unload.html
    - fi-bsw-kefka:       [PASS][28] -> [FAIL][29]
   [28]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10142/fi-bsw-kefka/igt@vgem_basic@unload.html
   [29]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5854/fi-bsw-kefka/igt@vgem_basic@unload.html
    - fi-kbl-guc:         [PASS][30] -> [FAIL][31]
   [30]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10142/fi-kbl-guc/igt@vgem_basic@unload.html
   [31]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5854/fi-kbl-guc/igt@vgem_basic@unload.html
    - fi-kbl-7500u:       [PASS][32] -> [FAIL][33]
   [32]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10142/fi-kbl-7500u/igt@vgem_basic@unload.html
   [33]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5854/fi-kbl-7500u/igt@vgem_basic@unload.html
    - fi-kbl-x1275:       [PASS][34] -> [FAIL][35]
   [34]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10142/fi-kbl-x1275/igt@vgem_basic@unload.html
   [35]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5854/fi-kbl-x1275/igt@vgem_basic@unload.html
    - fi-pnv-d510:        [PASS][36] -> [FAIL][37]
   [36]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10142/fi-pnv-d510/igt@vgem_basic@unload.html
   [37]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5854/fi-pnv-d510/igt@vgem_basic@unload.html
    - fi-icl-u2:          [PASS][38] -> [FAIL][39]
   [38]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10142/fi-icl-u2/igt@vgem_basic@unload.html
   [39]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5854/fi-icl-u2/igt@vgem_basic@unload.html
    - fi-skl-6600u:       [PASS][40] -> [FAIL][41]
   [40]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10142/fi-skl-6600u/igt@vgem_basic@unload.html
   [41]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5854/fi-skl-6600u/igt@vgem_basic@unload.html
    - fi-tgl-y:           [PASS][42] -> [FAIL][43]
   [42]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10142/fi-tgl-y/igt@vgem_basic@unload.html
   [43]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5854/fi-tgl-y/igt@vgem_basic@unload.html
    - fi-icl-y:           [PASS][44] -> [FAIL][45]
   [44]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10142/fi-icl-y/igt@vgem_basic@unload.html
   [45]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5854/fi-icl-y/igt@vgem_basic@unload.html
    - fi-cfl-8700k:       [PASS][46] -> [FAIL][47]
   [46]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10142/fi-cfl-8700k/igt@vgem_basic@unload.html
   [47]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5854/fi-cfl-8700k/igt@vgem_basic@unload.html
    - fi-snb-2520m:       [PASS][48] -> [FAIL][49]
   [48]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10142/fi-snb-2520m/igt@vgem_basic@unload.html
   [49]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5854/fi-snb-2520m/igt@vgem_basic@unload.html
    - fi-ivb-3770:        [PASS][50] -> [FAIL][51]
   [50]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10142/fi-ivb-3770/igt@vgem_basic@unload.html
   [51]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5854/fi-ivb-3770/igt@vgem_basic@unload.html
    - fi-glk-dsi:         [PASS][52] -> [FAIL][53]
   [52]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10142/fi-glk-dsi/igt@vgem_basic@unload.html
   [53]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5854/fi-glk-dsi/igt@vgem_basic@unload.html

  
#### Suppressed ####

  The following results come from untrusted machines, tests, or statuses.
  They do not affect the overall result.

  * igt@i915_selftest@live@gt_heartbeat:
    - {fi-tgl-dsi}:       [PASS][54] -> [INCOMPLETE][55]
   [54]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10142/fi-tgl-dsi/igt@i915_selftest@live@gt_heartbeat.html
   [55]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5854/fi-tgl-dsi/igt@i915_selftest@live@gt_heartbeat.html

  * igt@vgem_basic@unload:
    - {fi-ehl-2}:         [PASS][56] -> [FAIL][57]
   [56]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10142/fi-ehl-2/igt@vgem_basic@unload.html
   [57]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5854/fi-ehl-2/igt@vgem_basic@unload.html
    - {fi-jsl-1}:         [PASS][58] -> [FAIL][59]
   [58]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10142/fi-jsl-1/igt@vgem_basic@unload.html
   [59]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5854/fi-jsl-1/igt@vgem_basic@unload.html
    - {fi-ehl-1}:         [PASS][60] -> [FAIL][61]
   [60]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10142/fi-ehl-1/igt@vgem_basic@unload.html
   [61]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5854/fi-ehl-1/igt@vgem_basic@unload.html
    - {fi-rkl-11500t}:    [PASS][62] -> [FAIL][63]
   [62]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10142/fi-rkl-11500t/igt@vgem_basic@unload.html
   [63]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5854/fi-rkl-11500t/igt@vgem_basic@unload.html
    - {fi-hsw-gt1}:       [PASS][64] -> [FAIL][65]
   [64]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10142/fi-hsw-gt1/igt@vgem_basic@unload.html
   [65]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5854/fi-hsw-gt1/igt@vgem_basic@unload.html
    - {fi-tgl-dsi}:       [PASS][66] -> [FAIL][67]
   [66]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10142/fi-tgl-dsi/igt@vgem_basic@unload.html
   [67]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5854/fi-tgl-dsi/igt@vgem_basic@unload.html

  
Known issues
------------

  Here are the changes found in IGTPW_5854 that come from known issues:

### IGT changes ###

#### Issues hit ####

  * igt@gem_exec_fence@basic-busy@bcs0:
    - fi-kbl-soraka:      NOTRUN -> [SKIP][68] ([fdo#109271]) +6 similar issues
   [68]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5854/fi-kbl-soraka/igt@gem_exec_fence@basic-busy@bcs0.html

  * igt@gem_huc_copy@huc-copy:
    - fi-kbl-soraka:      NOTRUN -> [SKIP][69] ([fdo#109271] / [i915#2190])
   [69]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5854/fi-kbl-soraka/igt@gem_huc_copy@huc-copy.html

  * igt@i915_selftest@live@execlists:
    - fi-icl-y:           NOTRUN -> [INCOMPLETE][70] ([i915#2782] / [i915#3462])
   [70]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5854/fi-icl-y/igt@i915_selftest@live@execlists.html
    - fi-kbl-soraka:      NOTRUN -> [INCOMPLETE][71] ([i915#2782] / [i915#3462] / [i915#794])
   [71]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5854/fi-kbl-soraka/igt@i915_selftest@live@execlists.html

  * igt@i915_selftest@live@gt_pm:
    - fi-kbl-soraka:      NOTRUN -> [DMESG-FAIL][72] ([i915#1886] / [i915#2291])
   [72]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5854/fi-kbl-soraka/igt@i915_selftest@live@gt_pm.html

  * igt@kms_chamelium@common-hpd-after-suspend:
    - fi-kbl-soraka:      NOTRUN -> [SKIP][73] ([fdo#109271] / [fdo#111827]) +8 similar issues
   [73]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5854/fi-kbl-soraka/igt@kms_chamelium@common-hpd-after-suspend.html

  * igt@kms_pipe_crc_basic@compare-crc-sanitycheck-pipe-d:
    - fi-kbl-soraka:      NOTRUN -> [SKIP][74] ([fdo#109271] / [i915#533])
   [74]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5854/fi-kbl-soraka/igt@kms_pipe_crc_basic@compare-crc-sanitycheck-pipe-d.html

  * igt@runner@aborted:
    - fi-kbl-soraka:      NOTRUN -> [FAIL][75] ([i915#1436] / [i915#2426] / [i915#3363])
   [75]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5854/fi-kbl-soraka/igt@runner@aborted.html

  
#### Possible fixes ####

  * igt@i915_selftest@live@hangcheck:
    - fi-icl-y:           [INCOMPLETE][76] ([i915#2782]) -> [PASS][77]
   [76]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10142/fi-icl-y/igt@i915_selftest@live@hangcheck.html
   [77]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5854/fi-icl-y/igt@i915_selftest@live@hangcheck.html

  * igt@kms_frontbuffer_tracking@basic:
    - fi-tgl-u2:          [FAIL][78] ([i915#2416]) -> [PASS][79]
   [78]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10142/fi-tgl-u2/igt@kms_frontbuffer_tracking@basic.html
   [79]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5854/fi-tgl-u2/igt@kms_frontbuffer_tracking@basic.html

  
#### Warnings ####

  * igt@i915_selftest@live@execlists:
    - fi-cfl-8109u:       [DMESG-FAIL][80] ([i915#3462]) -> [INCOMPLETE][81] ([i915#3462])
   [80]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10142/fi-cfl-8109u/igt@i915_selftest@live@execlists.html
   [81]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5854/fi-cfl-8109u/igt@i915_selftest@live@execlists.html

  * igt@runner@aborted:
    - fi-cfl-8109u:       [FAIL][82] ([i915#2426] / [i915#3363]) -> [FAIL][83] ([i915#3363])
   [82]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10142/fi-cfl-8109u/igt@runner@aborted.html
   [83]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5854/fi-cfl-8109u/igt@runner@aborted.html
    - fi-kbl-r:           [FAIL][84] ([i915#1436] / [i915#3363]) -> [FAIL][85] ([i915#1436] / [i915#2426] / [i915#3363])
   [84]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10142/fi-kbl-r/igt@runner@aborted.html
   [85]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5854/fi-kbl-r/igt@runner@aborted.html
    - fi-kbl-7500u:       [FAIL][86] ([i915#1436] / [i915#3363]) -> [FAIL][87] ([i915#1436] / [i915#2426] / [i915#3363])
   [86]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10142/fi-kbl-7500u/igt@runner@aborted.html
   [87]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5854/fi-kbl-7500u/igt@runner@aborted.html
    - fi-cml-u2:          [FAIL][88] ([i915#3363] / [i915#3462]) -> [FAIL][89] ([i915#2082] / [i915#2426] / [i915#3363] / [i915#3462])
   [88]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10142/fi-cml-u2/igt@runner@aborted.html
   [89]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5854/fi-cml-u2/igt@runner@aborted.html
    - fi-kbl-7567u:       [FAIL][90] ([i915#1436] / [i915#2426] / [i915#3363]) -> [FAIL][91] ([i915#1436] / [i915#3363])
   [90]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10142/fi-kbl-7567u/igt@runner@aborted.html
   [91]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5854/fi-kbl-7567u/igt@runner@aborted.html
    - fi-skl-6700k2:      [FAIL][92] ([i915#1436] / [i915#2426] / [i915#3363]) -> [FAIL][93] ([i915#1436] / [i915#3363])
   [92]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10142/fi-skl-6700k2/igt@runner@aborted.html
   [93]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5854/fi-skl-6700k2/igt@runner@aborted.html

  
  {name}: This element is suppressed. This means it is ignored when computing
          the status of the difference (SUCCESS, WARNING, or FAILURE).

  [fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
  [fdo#111827]: https://bugs.freedesktop.org/show_bug.cgi?id=111827
  [i915#1222]: https://gitlab.freedesktop.org/drm/intel/issues/1222
  [i915#1436]: https://gitlab.freedesktop.org/drm/intel/issues/1436
  [i915#1886]: https://gitlab.freedesktop.org/drm/intel/issues/1886
  [i915#2082]: https://gitlab.freedesktop.org/drm/intel/issues/2082
  [i915#2190]: https://gitlab.freedesktop.org/drm/intel/issues/2190
  [i915#2291]: https://gitlab.freedesktop.org/drm/intel/issues/2291
  [i915#2416]: https://gitlab.freedesktop.org/drm/intel/issues/2416
  [i915#2426]: https://gitlab.freedesktop.org/drm/intel/issues/2426
  [i915#2782]: https://gitlab.freedesktop.org/drm/intel/issues/2782
  [i915#3363]: https://gitlab.freedesktop.org/drm/intel/issues/3363
  [i915#3462]: https://gitlab.freedesktop.org/drm/intel/issues/3462
  [i915#533]: https://gitlab.freedesktop.org/drm/intel/issues/533
  [i915#794]: https://gitlab.freedesktop.org/drm/intel/issues/794


Participating hosts (43 -> 38)
------------------------------

  Additional (1): fi-kbl-soraka 
  Missing    (6): fi-ilk-m540 fi-hsw-4200u fi-bsw-cyan fi-dg1-1 fi-bsw-nick fi-bdw-samus 


Build changes
-------------

  * CI: CI-20190529 -> None
  * IGT: IGT_6095 -> IGTPW_5854

  CI-20190529: 20190529
  CI_DRM_10142: c6ef6bce1a7cbb7747d72c52d950c2d61fb3609f @ git://anongit.freedesktop.org/gfx-ci/linux
  IGTPW_5854: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5854/index.html
  IGT_6095: 5c7b7a8e441577a00cc4e71ec0ae57af640eb92a @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5854/index.html

[-- Attachment #1.2: Type: text/html, Size: 20214 bytes --]

[-- Attachment #2: Type: text/plain, Size: 154 bytes --]

_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [igt-dev] ✗ Fi.CI.BAT: failure for tests/vgem_basic: Fix unload testcase (rev2)
  2021-05-27 14:07 [igt-dev] [PATCH i-g-t] tests/vgem_basic: Fix unload testcase Daniel Vetter
  2021-05-27 15:03 ` [igt-dev] ✗ Fi.CI.BAT: failure for " Patchwork
@ 2021-07-13 16:39 ` Patchwork
  2021-08-12 19:38 ` [igt-dev] [PATCH i-g-t] tests/vgem_basic: Fix unload testcase Daniel Vetter
  2 siblings, 0 replies; 4+ messages in thread
From: Patchwork @ 2021-07-13 16:39 UTC (permalink / raw)
  To: Daniel Vetter; +Cc: igt-dev


[-- Attachment #1.1: Type: text/plain, Size: 11050 bytes --]

== Series Details ==

Series: tests/vgem_basic: Fix unload testcase (rev2)
URL   : https://patchwork.freedesktop.org/series/90669/
State : failure

== Summary ==

CI Bug Log - changes from CI_DRM_10341 -> IGTPW_6018
====================================================

Summary
-------

  **FAILURE**

  Serious unknown changes coming with IGTPW_6018 absolutely need to be
  verified manually.
  
  If you think the reported changes have nothing to do with the changes
  introduced in IGTPW_6018, please notify your bug team to allow them
  to document this new failure mode, which will reduce false positives in CI.

  External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6018/index.html

Possible new issues
-------------------

  Here are the unknown changes that may have been introduced in IGTPW_6018:

### IGT changes ###

#### Possible regressions ####

  * igt@gem_exec_parallel@engines@userptr:
    - fi-bsw-kefka:       [PASS][1] -> [DMESG-WARN][2]
   [1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10341/fi-bsw-kefka/igt@gem_exec_parallel@engines@userptr.html
   [2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6018/fi-bsw-kefka/igt@gem_exec_parallel@engines@userptr.html

  * igt@vgem_basic@unload:
    - fi-kbl-7567u:       [PASS][3] -> [FAIL][4]
   [3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10341/fi-kbl-7567u/igt@vgem_basic@unload.html
   [4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6018/fi-kbl-7567u/igt@vgem_basic@unload.html
    - fi-elk-e7500:       [PASS][5] -> [FAIL][6]
   [5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10341/fi-elk-e7500/igt@vgem_basic@unload.html
   [6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6018/fi-elk-e7500/igt@vgem_basic@unload.html
    - fi-skl-6700k2:      [PASS][7] -> [FAIL][8]
   [7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10341/fi-skl-6700k2/igt@vgem_basic@unload.html
   [8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6018/fi-skl-6700k2/igt@vgem_basic@unload.html
    - fi-skl-guc:         [PASS][9] -> [FAIL][10]
   [9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10341/fi-skl-guc/igt@vgem_basic@unload.html
   [10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6018/fi-skl-guc/igt@vgem_basic@unload.html
    - fi-cfl-guc:         [PASS][11] -> [FAIL][12]
   [11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10341/fi-cfl-guc/igt@vgem_basic@unload.html
   [12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6018/fi-cfl-guc/igt@vgem_basic@unload.html
    - fi-hsw-4770:        [PASS][13] -> [FAIL][14]
   [13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10341/fi-hsw-4770/igt@vgem_basic@unload.html
   [14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6018/fi-hsw-4770/igt@vgem_basic@unload.html
    - fi-ilk-650:         [PASS][15] -> [FAIL][16]
   [15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10341/fi-ilk-650/igt@vgem_basic@unload.html
   [16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6018/fi-ilk-650/igt@vgem_basic@unload.html
    - fi-cml-u2:          [PASS][17] -> [FAIL][18]
   [17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10341/fi-cml-u2/igt@vgem_basic@unload.html
   [18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6018/fi-cml-u2/igt@vgem_basic@unload.html
    - fi-bxt-dsi:         [PASS][19] -> [FAIL][20]
   [19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10341/fi-bxt-dsi/igt@vgem_basic@unload.html
   [20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6018/fi-bxt-dsi/igt@vgem_basic@unload.html
    - fi-kbl-soraka:      [PASS][21] -> [FAIL][22]
   [21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10341/fi-kbl-soraka/igt@vgem_basic@unload.html
   [22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6018/fi-kbl-soraka/igt@vgem_basic@unload.html
    - fi-cfl-8109u:       [PASS][23] -> [FAIL][24]
   [23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10341/fi-cfl-8109u/igt@vgem_basic@unload.html
   [24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6018/fi-cfl-8109u/igt@vgem_basic@unload.html
    - fi-bsw-nick:        [PASS][25] -> [FAIL][26]
   [25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10341/fi-bsw-nick/igt@vgem_basic@unload.html
   [26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6018/fi-bsw-nick/igt@vgem_basic@unload.html
    - fi-bdw-5557u:       [PASS][27] -> [FAIL][28]
   [27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10341/fi-bdw-5557u/igt@vgem_basic@unload.html
   [28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6018/fi-bdw-5557u/igt@vgem_basic@unload.html
    - fi-kbl-8809g:       [PASS][29] -> [FAIL][30]
   [29]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10341/fi-kbl-8809g/igt@vgem_basic@unload.html
   [30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6018/fi-kbl-8809g/igt@vgem_basic@unload.html
    - fi-bwr-2160:        [PASS][31] -> [FAIL][32]
   [31]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10341/fi-bwr-2160/igt@vgem_basic@unload.html
   [32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6018/fi-bwr-2160/igt@vgem_basic@unload.html
    - fi-bsw-kefka:       [PASS][33] -> [FAIL][34]
   [33]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10341/fi-bsw-kefka/igt@vgem_basic@unload.html
   [34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6018/fi-bsw-kefka/igt@vgem_basic@unload.html
    - fi-kbl-guc:         [PASS][35] -> [FAIL][36]
   [35]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10341/fi-kbl-guc/igt@vgem_basic@unload.html
   [36]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6018/fi-kbl-guc/igt@vgem_basic@unload.html
    - fi-kbl-7500u:       [PASS][37] -> [FAIL][38]
   [37]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10341/fi-kbl-7500u/igt@vgem_basic@unload.html
   [38]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6018/fi-kbl-7500u/igt@vgem_basic@unload.html
    - fi-kbl-x1275:       [PASS][39] -> [FAIL][40]
   [39]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10341/fi-kbl-x1275/igt@vgem_basic@unload.html
   [40]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6018/fi-kbl-x1275/igt@vgem_basic@unload.html
    - fi-pnv-d510:        [PASS][41] -> [FAIL][42]
   [41]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10341/fi-pnv-d510/igt@vgem_basic@unload.html
   [42]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6018/fi-pnv-d510/igt@vgem_basic@unload.html
    - fi-tgl-y:           [PASS][43] -> [FAIL][44]
   [43]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10341/fi-tgl-y/igt@vgem_basic@unload.html
   [44]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6018/fi-tgl-y/igt@vgem_basic@unload.html
    - fi-icl-y:           [PASS][45] -> [FAIL][46]
   [45]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10341/fi-icl-y/igt@vgem_basic@unload.html
   [46]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6018/fi-icl-y/igt@vgem_basic@unload.html
    - fi-cfl-8700k:       [PASS][47] -> [FAIL][48]
   [47]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10341/fi-cfl-8700k/igt@vgem_basic@unload.html
   [48]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6018/fi-cfl-8700k/igt@vgem_basic@unload.html
    - fi-snb-2520m:       [PASS][49] -> [FAIL][50]
   [49]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10341/fi-snb-2520m/igt@vgem_basic@unload.html
   [50]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6018/fi-snb-2520m/igt@vgem_basic@unload.html
    - fi-ivb-3770:        [PASS][51] -> [FAIL][52]
   [51]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10341/fi-ivb-3770/igt@vgem_basic@unload.html
   [52]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6018/fi-ivb-3770/igt@vgem_basic@unload.html
    - fi-glk-dsi:         [PASS][53] -> [FAIL][54]
   [53]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10341/fi-glk-dsi/igt@vgem_basic@unload.html
   [54]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6018/fi-glk-dsi/igt@vgem_basic@unload.html

  
#### Suppressed ####

  The following results come from untrusted machines, tests, or statuses.
  They do not affect the overall result.

  * igt@vgem_basic@unload:
    - {fi-ehl-2}:         [PASS][55] -> [FAIL][56]
   [55]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10341/fi-ehl-2/igt@vgem_basic@unload.html
   [56]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6018/fi-ehl-2/igt@vgem_basic@unload.html
    - {fi-jsl-1}:         [PASS][57] -> [FAIL][58]
   [57]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10341/fi-jsl-1/igt@vgem_basic@unload.html
   [58]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6018/fi-jsl-1/igt@vgem_basic@unload.html
    - {fi-tgl-1115g4}:    [PASS][59] -> [FAIL][60]
   [59]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10341/fi-tgl-1115g4/igt@vgem_basic@unload.html
   [60]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6018/fi-tgl-1115g4/igt@vgem_basic@unload.html
    - {fi-hsw-gt1}:       [PASS][61] -> [FAIL][62]
   [61]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10341/fi-hsw-gt1/igt@vgem_basic@unload.html
   [62]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6018/fi-hsw-gt1/igt@vgem_basic@unload.html
    - {fi-tgl-dsi}:       [PASS][63] -> [FAIL][64]
   [63]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10341/fi-tgl-dsi/igt@vgem_basic@unload.html
   [64]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6018/fi-tgl-dsi/igt@vgem_basic@unload.html

  
Known issues
------------

  Here are the changes found in IGTPW_6018 that come from known issues:

### IGT changes ###

#### Issues hit ####

  * igt@amdgpu/amd_prime@amd-to-i915:
    - fi-tgl-y:           NOTRUN -> [SKIP][65] ([fdo#109315] / [i915#2575])
   [65]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6018/fi-tgl-y/igt@amdgpu/amd_prime@amd-to-i915.html

  * igt@i915_selftest@live@execlists:
    - fi-kbl-soraka:      [PASS][66] -> [INCOMPLETE][67] ([i915#2782] / [i915#794])
   [66]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10341/fi-kbl-soraka/igt@i915_selftest@live@execlists.html
   [67]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6018/fi-kbl-soraka/igt@i915_selftest@live@execlists.html

  
  {name}: This element is suppressed. This means it is ignored when computing
          the status of the difference (SUCCESS, WARNING, or FAILURE).

  [fdo#109315]: https://bugs.freedesktop.org/show_bug.cgi?id=109315
  [i915#2575]: https://gitlab.freedesktop.org/drm/intel/issues/2575
  [i915#2782]: https://gitlab.freedesktop.org/drm/intel/issues/2782
  [i915#3717]: https://gitlab.freedesktop.org/drm/intel/issues/3717
  [i915#794]: https://gitlab.freedesktop.org/drm/intel/issues/794


Participating hosts (39 -> 36)
------------------------------

  Missing    (3): fi-ilk-m540 fi-bdw-samus fi-hsw-4200u 


Build changes
-------------

  * CI: CI-20190529 -> None
  * IGT: IGT_6137 -> IGTPW_6018

  CI-20190529: 20190529
  CI_DRM_10341: 72a4e94d9585ff89a8c85bd1436fb05b60dad2f8 @ git://anongit.freedesktop.org/gfx-ci/linux
  IGTPW_6018: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6018/index.html
  IGT_6137: 2fee489255f7a8cd6a584373c30e3d44a07a78ea @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6018/index.html

[-- Attachment #1.2: Type: text/html, Size: 12132 bytes --]

[-- Attachment #2: Type: text/plain, Size: 154 bytes --]

_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [igt-dev] [PATCH i-g-t] tests/vgem_basic: Fix unload testcase
  2021-05-27 14:07 [igt-dev] [PATCH i-g-t] tests/vgem_basic: Fix unload testcase Daniel Vetter
  2021-05-27 15:03 ` [igt-dev] ✗ Fi.CI.BAT: failure for " Patchwork
  2021-07-13 16:39 ` [igt-dev] ✗ Fi.CI.BAT: failure for tests/vgem_basic: Fix unload testcase (rev2) Patchwork
@ 2021-08-12 19:38 ` Daniel Vetter
  2 siblings, 0 replies; 4+ messages in thread
From: Daniel Vetter @ 2021-08-12 19:38 UTC (permalink / raw)
  To: IGT development, Thomas Zimmermann; +Cc: Daniel Vetter

On Thu, May 27, 2021 at 4:07 PM Daniel Vetter <daniel.vetter@ffwll.ch> wrote:
>
> An mmap _should_ keep the module alive.
>
> This reverts
>
> commit 8abe91985b30f8a26cdcb6816d2393956f171ea5
> Author: Chris Wilson <chris@chris-wilson.co.uk>
> Date:   Wed Oct 5 14:40:16 2016 +0100
>
>     igt/vgem_basic: Allow mmap() to persist without the vgem module loaded
>
> With real drivers there is usually more than just shmem around, so
> encoding this as some kind of expectation just doesn't make sense at
> all.
>
> Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>

Merged with Thomas' irc-ack. I'll go right ahead and merge the kernel
side too so there's not too much window for CI breakage.
-Daniel
> ---
>  tests/vgem_basic.c | 8 ++++++--
>  1 file changed, 6 insertions(+), 2 deletions(-)
>
> diff --git a/tests/vgem_basic.c b/tests/vgem_basic.c
> index 526636dd1772..57c575e2e51b 100644
> --- a/tests/vgem_basic.c
> +++ b/tests/vgem_basic.c
> @@ -382,14 +382,18 @@ static void test_unload(void)
>         close(dmabuf);
>
>         /* Although closed, the mmap should keep the dmabuf/module alive */
> -       igt_assert_f(module_unload() == 0,
> -                    "A mmap should not keep the module alive\n");
> +       igt_assert_f(module_unload() != 0,
> +                    "A mmap should keep the module alive\n");
>
>         for (int page = 0; page < bo.size >> 12; page++)
>                 ptr[1024*page + page%1024] = page;
>
>         /* And finally we should have no more uses on the module. */
>         munmap(ptr, bo.size);
> +
> +       igt_assert_f(module_unload() == 0,
> +                    "No mmap anymore, should be able to unload\n");
> +
>  }
>
>  static bool has_prime_export(int fd)
> --
> 2.24.1
>


-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-08-12 19:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-27 14:07 [igt-dev] [PATCH i-g-t] tests/vgem_basic: Fix unload testcase Daniel Vetter
2021-05-27 15:03 ` [igt-dev] ✗ Fi.CI.BAT: failure for " Patchwork
2021-07-13 16:39 ` [igt-dev] ✗ Fi.CI.BAT: failure for tests/vgem_basic: Fix unload testcase (rev2) Patchwork
2021-08-12 19:38 ` [igt-dev] [PATCH i-g-t] tests/vgem_basic: Fix unload testcase Daniel Vetter

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.