Created attachment 137904 [details] output This tests has fail on CNL QA Tests List: igt@gem_userptr_blits@swapping-normal-sync output: . . . **** DEBUG **** (gem_userptr_blits:773) DEBUG: Test requirement passed: !(!can_swap()) (gem_userptr_blits:773) intel-os-DEBUG: Checking 5863 surfaces of size 1048576 bytes (total 6150803456) against RAM (gem_userptr_blits:773) drmtest-DEBUG: Test requirement passed: !(fd<0) (gem_userptr_blits:773) igt-debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0' (gem_userptr_blits:773) intel-os-DEBUG: Test requirement passed: __intel_check_memory(count, size, mode, &required, &total) (gem_userptr_blits:773) igt-core-DEBUG: Test requirement passed: !igt_run_in_simulation() (gem_userptr_blits:773) intel-os-DEBUG: Checking 8599 surfaces of size 1048576 bytes (total 9021108224) against RAM + swap (gem_userptr_blits:773) drmtest-DEBUG: Test requirement passed: !(fd<0) (gem_userptr_blits:773) igt-debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0' (gem_userptr_blits:773) intel-os-DEBUG: Test requirement passed: __intel_check_memory(count, size, mode, &required, &total) (gem_userptr_blits:773) igt-core-DEBUG: Test requirement passed: !igt_run_in_simulation() (gem_userptr_blits:773) CRITICAL: Test assertion failure function swapping_evictions, file eviction_common.c:231: (gem_userptr_blits:773) CRITICAL: Failed assertion: ret == 0 (gem_userptr_blits:773) CRITICAL: error: -12 != 0 (gem_userptr_blits:773) igt-core-INFO: Stack trace: (gem_userptr_blits:773) igt-core-INFO: #0 [__igt_fail_assert+0x101] (gem_userptr_blits:773) igt-core-INFO: #1 [test_swapping_evictions+0x1a7] (gem_userptr_blits:773) igt-core-INFO: #2 [<unknown>+0x1a7] **** END **** . . . ====================================== Graphic stack ====================================== Component: drm tag: libdrm-2.4.89-90-g45eee3f commit: 45eee3fd44f4fa253cd4d5c03f48d4a6899f899f Component: intel-gpu-tools tag: intel-gpu-tools-1.21-188-g289202e commit: 289202e876688338f439ded7613804ee67034e91 Component: piglit tag: piglit-v1 commit: b8e7cc0e59cf21fe5f98a2d8280cf9a03d02f542 ====================================== Software ====================================== kernel version : 4.16.0-rc4-drm-intel-qa-ww10-commit-6c6e100+ os version : Ubuntu 17.10 artful x86_64 kernel driver : i915 hardware acceleration : disabled swap partition : enabled on (/dev/nvme0n1p2) ====================================== Graphic drivers ====================================== modesetting : enabled modesetting compiled for : 1.19.5 X.Org Video Driver libdrm : 2.4.91 intel-gpu-tools (tag) : intel-gpu-tools-1.21-188-g289202e8 intel-gpu-tools (commit) : 289202e8 ====================================== Hardware ====================================== motherboard id : CannonLakeYLPDDR4RVP cpu information : Genuine Intel(R) CPU 0000 @ 1.10GHz gpu card : Intel Corporation Device 5a41 (rev 04) (prog-if 00 [VGA controller]) memory ram : 7.63 GB current cd clock frequency : 168000 kHz maximum cd clock frequency : 528000 kHz displays connected : eDP-1 ====================================== Firmware ====================================== dmc fw loaded : yes dmc version : 1.7 guc fw loaded : fetch NONE, load NONE ====================================== kernel parameters ====================================== drm.debug=0x1e intel_iommu=igfx_off fsck.repair=yes i915.alpha_support=1 resume=/dev/nvme0n1p2
Created attachment 137905 [details] kernel log
Created attachment 137906 [details] dmesg -w -H
Shock, during a swap thrash test, an allocation failed. Otherwise known as yet another example of us, or the core mm, not being able to reclaim memory reliably.
Created attachment 138075 [details] KBL_GLK_CFL_test-ouput Adding more platforms with the same result.
First of all. Sorry about spam. This is mass update for our bugs. Sorry if you feel this annoying but with this trying to understand if bug still valid or not. If bug investigation still in progress, please ignore this and I apologize! If you think this is not anymore valid, please comment to the bug that can be closed. If you haven't tested with our latest pre-upstream tree(drm-tip), can you do that also to see if issue is valid there still and if you cannot see issue there, please comment to the bug.
Still valid for GLK: [gfx@GLK-1-GLKRVP1DDR405] [~]$ : sudo -E ./intel-graphics/intel-gpu-tools/tests/gem_userptr_blits --r swapping-normal-sync IGT-Version: 1.22-g7c474e0 (x86_64) (Linux: 4.16.0-rc7-drm-intel-qa-ww15-commit-617cdf0+ x86_64) Aperture size is 268435456 MiB Total RAM is 3,780 MiB Not enough RAM to run test, reducing buffer count. (gem_userptr_blits:2779) CRITICAL: Test assertion failure function swapping_evictions, file eviction_common.c:231: (gem_userptr_blits:2779) CRITICAL: Failed assertion: ret == 0 (gem_userptr_blits:2779) CRITICAL: error: -12 != 0 Stack trace: #0 [__igt_fail_assert+0x101] #1 [test_swapping_evictions+0x1a7] #2 [<unknown>+0x1a7] Subtest swapping-normal-sync failed. **** DEBUG **** (gem_userptr_blits:2779) DEBUG: Test requirement passed: !(!can_swap()) (gem_userptr_blits:2779) intel-os-DEBUG: Checking 2,835 surfaces of size 1,048,576 bytes (total 2,974,167,040) against RAM (gem_userptr_blits:2779) drmtest-DEBUG: Test requirement passed: !(fd<0) (gem_userptr_blits:2779) igt-debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0' (gem_userptr_blits:2779) intel-os-DEBUG: Test requirement passed: __intel_check_memory(count, size, mode, &required, &total) (gem_userptr_blits:2779) igt-core-DEBUG: Test requirement passed: !igt_run_in_simulation() (gem_userptr_blits:2779) intel-os-DEBUG: Checking 4,158 surfaces of size 1,048,576 bytes (total 4,362,108,928) against RAM + swap (gem_userptr_blits:2779) drmtest-DEBUG: Test requirement passed: !(fd<0) (gem_userptr_blits:2779) igt-debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0' (gem_userptr_blits:2779) intel-os-DEBUG: Test requirement passed: __intel_check_memory(count, size, mode, &required, &total) (gem_userptr_blits:2779) igt-core-DEBUG: Test requirement passed: !igt_run_in_simulation() (gem_userptr_blits:2779) CRITICAL: Test assertion failure function swapping_evictions, file eviction_common.c:231: (gem_userptr_blits:2779) CRITICAL: Failed assertion: ret == 0 (gem_userptr_blits:2779) CRITICAL: error: -12 != 0 (gem_userptr_blits:2779) igt-core-INFO: Stack trace: (gem_userptr_blits:2779) igt-core-INFO: #0 [__igt_fail_assert+0x101] (gem_userptr_blits:2779) igt-core-INFO: #1 [test_swapping_evictions+0x1a7] (gem_userptr_blits:2779) igt-core-INFO: #2 [<unknown>+0x1a7] **** END **** Subtest swapping-normal-sync: FAIL (8.643s)
No failure reported by CI about this, the test case has been passing for some time. Resolving.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.