[Intel-gfx] [linus:master] [i915] f683b9d613: igt.gem_userptr_blits.probe.fail

Liam Howlett liam.howlett at oracle.com
Mon Oct 24 15:07:54 UTC 2022


* kernel test robot <oliver.sang at intel.com> [221024 01:06]:
> 
> Greeting,
> 
> FYI, we noticed igt.gem_userptr_blits.probe.fail due to commit (built with gcc-11):
> 
> commit: f683b9d613193362ceb954c216f663a43c027302 ("i915: use the VMA iterator")
> https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master
> 
> in testcase: igt
> version: igt-x86_64-cf55acde-1_20221012
> with following parameters:
> 
> 	group: group-13
> 
> 
> 
> on test machine: 20 threads 1 sockets (Commet Lake) with 16G memory
> 
> caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
> 
> 
> 
> 
> If you fix the issue, kindly add following tag
> | Reported-by: kernel test robot <oliver.sang at intel.com>
> | Link: https://lore.kernel.org/r/202210241246.68be2f11-oliver.sang@intel.com
> 
> 
> 
> 2022-10-24 03:27:39 build/tests/gem_userptr_blits --run-subtest probe
> IGT-Version: 1.26-gcf55acde (x86_64) (Linux: 6.0.0-rc3-00280-gf683b9d61319 x86_64)
> Aperture size is 268435456 MiB
> Total RAM is 13505 MiB
> Not enough RAM to run test, reducing buffer count.
> Test requirement not met in function __igt_unique____real_main2320, file ../tests/i915/gem_userptr_blits.c:2401:
> Test requirement: has_userptr(fd)
> Starting subtest: probe
> (gem_userptr_blits:1984) CRITICAL: Test assertion failure function test_probe, file ../tests/i915/gem_userptr_blits.c:2231:
> (gem_userptr_blits:1984) CRITICAL: Failed assertion: __gem_userptr(fd, ptr + 4096, 3*4096, 0, 0x2, &handle) == expected
> (gem_userptr_blits:1984) CRITICAL: Last errno: 14, Bad address
> (gem_userptr_blits:1984) CRITICAL: error: 0 != -14
> Subtest probe failed.
> **** DEBUG ****
> (gem_userptr_blits:1984) DEBUG: Test requirement passed: has_userptr_probe(fd)
> (gem_userptr_blits:1984) CRITICAL: Test assertion failure function test_probe, file ../tests/i915/gem_userptr_blits.c:2231:
> (gem_userptr_blits:1984) CRITICAL: Failed assertion: __gem_userptr(fd, ptr + 4096, 3*4096, 0, 0x2, &handle) == expected
> (gem_userptr_blits:1984) CRITICAL: Last errno: 14, Bad address
> (gem_userptr_blits:1984) CRITICAL: error: 0 != -14
> (gem_userptr_blits:1984) igt_core-INFO: Stack trace:
> (gem_userptr_blits:1984) igt_core-INFO:   #0 [__igt_fail_assert+0x106]
> (gem_userptr_blits:1984) igt_core-INFO:   #1 ../tests/i915/gem_userptr_blits.c:801 __igt_unique____real_main2320()
> (gem_userptr_blits:1984) igt_core-INFO:   #2 ../tests/i915/gem_userptr_blits.c:2320 main()
> (gem_userptr_blits:1984) igt_core-INFO:   #3 ../csu/libc-start.c:308 __libc_start_main()
> (gem_userptr_blits:1984) igt_core-INFO:   #4 [_start+0x2a]
> ****  END  ****
> Stack trace:
>   #0 [__igt_fail_assert+0x106]
>   #1 ../tests/i915/gem_userptr_blits.c:801 __igt_unique____real_main2320()
>   #2 ../tests/i915/gem_userptr_blits.c:2320 main()
>   #3 ../csu/libc-start.c:308 __libc_start_main()
>   #4 [_start+0x2a]
> Subtest probe: FAIL (0.052s)
> 
> 
> 
> To reproduce:
> 
>         git clone https://github.com/intel/lkp-tests.git
>         cd lkp-tests
>         sudo bin/lkp install job.yaml           # job file is attached in this email
>         bin/lkp split-job --compatible job.yaml # generate the yaml file for lkp run
>         sudo bin/lkp run generated-yaml-file
> 
>         # if come across any failure that blocks the test,
>         # please remove ~/.lkp and /lkp dir to run from a clean state.
> 

These steps seem insufficient.  Initially, it failed complaining about a
missing config so I created the directory manually and copied the
confing in only to have it fail again:

lkp-tests/filters/need_kconfig_hw.rb:11:in `load_kernel_context':
context.yaml doesn't exist:
/pkg/linux/x86_64-rhel-8.3-func/gcc-11/f683b9d613193362ceb954c216f663a43c027302/context.yaml

Is there a full set of instructions for recreation?

Thanks,
Liam


More information about the Intel-gfx mailing list