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 <[email protected]>
| Link: https://lore.kernel.org/r/[email protected]
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.
--
0-DAY CI Kernel Test Service
https://01.org/lkp
* kernel test robot <[email protected]> [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 <[email protected]>
> | Link: https://lore.kernel.org/r/[email protected]
>
>
>
> 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
Hi Liam,
On Mon, Oct 24, 2022 at 03:07:54PM +0000, Liam Howlett wrote:
> * kernel test robot <[email protected]> [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 <[email protected]>
> > | Link: https://lore.kernel.org/r/[email protected]
> >
> >
> >
> > 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?
Sorry for the unclear reproducing steps. Seems it is due to bug in our
split-job code, we will fix it soon. Could you please try below steps
instead to see if the problem can be reproduced? Thanks.
# Build kernel on commit f683b9d61319 with the attached config in
# original report, and boot it on a machine.
$ git clone https://github.com/intel/lkp-tests.git
$ cd lkp-tests
$ bin/lkp split-job --compatible jobs/igt-part2.yaml
jobs/igt-part2.yaml => ./igt-part2-group-10.yaml
jobs/igt-part2.yaml => ./igt-part2-group-11.yaml
jobs/igt-part2.yaml => ./igt-part2-group-12.yaml
jobs/igt-part2.yaml => ./igt-part2-group-13.yaml
jobs/igt-part2.yaml => ./igt-part2-group-14.yaml
jobs/igt-part2.yaml => ./igt-part2-group-15.yaml
jobs/igt-part2.yaml => ./igt-part2-group-16.yaml
jobs/igt-part2.yaml => ./igt-part2-group-17.yaml
jobs/igt-part2.yaml => ./igt-part2-group-18.yaml
jobs/igt-part2.yaml => ./igt-part2-group-19.yaml
$ sudo bin/lkp install igt-part2-group-13.yaml
$ sudo bin/lkp run igt-part2-group-13.yaml
--
Best Regards,
Yujie