[Intel-gfx] [i-g-t] many testcases skiped

Arkadiusz Hiler arkadiusz.hiler at intel.com
Mon Jul 17 13:06:27 UTC 2017


On Mon, Jul 17, 2017 at 12:30:30PM +0200, Gu, HailinX wrote:
> Hi~ Hiler
> Thank for your reply. 
> I'm sorry for didn't notice the integradted graphics.
> But there is still some cases could not pass and shown requirement not met, running on i7-4770. 
> I wonder if these skiped cases only about the cpu? So different processor must have different test result.
> Or can we do something to meet the requirements and let all case pass.
> 
> Logs show below.
> 
> /igt/tests# ./pm_backlight
> IGT-Version: 1.19-g4258cc8e (x86_64) (Linux: 4.10.0 x86_64)
> Test requirement not met in function __real_main154, file pm_backlight.c:163:
> Test requirement: !(backlight_read(&old, "brightness"))
> Last errno: 2, No such file or directory
> Subtest basic-brightness: SKIP
> Subtest bad-brightness: SKIP
> Subtest fade: SKIP

Could not read backlight values from sysfs. Probably is not supported on
your hardware.

> /igt/tests# ./kms_force_connector_basic
> IGT-Version: 1.19-g4258cc8e (x86_64) (Linux: 4.10.0 x86_64)
> Test requirement not met in function main, file kms_force_connector_basic.c:111:
> Test requirement: !(vga_connector->connection == DRM_MODE_CONNECTED)
> Last errno: 2, No such file or directory
> Subtest force-load-detect: SKIP
> Subtest force-connector-state: SKIP
> Subtest force-edid: SKIP
> Subtest prune-stale-modes: SKIP

Seems like VGA connector is not connected. So the tests skips.

> /igt/tests# ./gem_exec_basic
> IGT-Version: 1.19-g4258cc8e (x86_64) (Linux: 4.10.0 x86_64)
> Subtest basic-default: SUCCESS (0.000s)
> Subtest readonly-default: SUCCESS (0.000s)
> Subtest gtt-default: SUCCESS (0.000s)
> Subtest basic-render: SUCCESS (0.000s)
> Subtest readonly-render: SUCCESS (0.000s)
> Subtest gtt-render: SUCCESS (0.000s)
> Subtest basic-bsd: SUCCESS (0.000s)
> Subtest readonly-bsd: SUCCESS (0.000s)
> Subtest gtt-bsd: SUCCESS (0.000s)
> Test requirement not met in function gem_require_ring, file ioctl_wrappers.c:1591:
> Test requirement: gem_has_ring(fd, ring)
> Subtest basic-bsd1: SKIP (0.000s)
> Test requirement not met in function gem_require_ring, file ioctl_wrappers.c:1591:
> Test requirement: gem_has_ring(fd, ring)
> Subtest readonly-bsd1: SKIP (0.000s)
> Test requirement not met in function gem_require_ring, file ioctl_wrappers.c:1591:
> Test requirement: gem_has_ring(fd, ring)
> Subtest gtt-bsd1: SKIP (0.000s)
> Test requirement not met in function gem_require_ring, file ioctl_wrappers.c:1591:
> Test requirement: gem_has_ring(fd, ring)
> Subtest basic-bsd2: SKIP (0.000s)
> Test requirement not met in function gem_require_ring, file ioctl_wrappers.c:1591:
> Test requirement: gem_has_ring(fd, ring)
> Subtest readonly-bsd2: SKIP (0.000s)
> Test requirement not met in function gem_require_ring, file ioctl_wrappers.c:1591:
> Test requirement: gem_has_ring(fd, ring)
> Subtest gtt-bsd2: SKIP (0.000s)

You have only BSD ring. No BSD1 nor BSD2, therefore the skips.

> Subtest basic-blt: SUCCESS (0.000s)
> Subtest readonly-blt: SUCCESS (0.000s)
> Subtest gtt-blt: SUCCESS (0.000s)
> Subtest basic-vebox: SUCCESS (0.000s)
> Subtest readonly-vebox: SUCCESS (0.000s)
> Subtest gtt-vebox: SUCCESS (0.000s)
> 
> /igt/tests#./kms_sink_crc_basic
> IGT-Version: 1.19-g4258cc8e (x86_64) (Linux: 4.10.0 x86_64)
> no eDP with CRC support found
> SKIP (0.328s)

Quite likely you do not have Embedded Display Port on a desktop machine.

> Thank you
> Gu

SKIPs are expected when there is no support for particular feature in
the hardware or other conditions are not met.

If you do not find and error self-explanatory then bring it to the
mailing list (or read the code).

-- 
Cheers,
Arek

> 
> > -----Original Message-----
> > From: Hiler, Arkadiusz
> > Sent: Monday, July 17, 2017 4:30 PM
> > To: Gu, HailinX <hailinx.gu at intel.com>
> > Cc: intel-gfx at lists.freedesktop.org; Li, ZhijianX <zhijianx.li at intel.com>; Li,
> > Philip <philip.li at intel.com>
> > Subject: Re: [Intel-gfx] [i-g-t] many testcases skiped
> > 
> > On Mon, Jul 17, 2017 at 11:14:03AM +0300, Arkadiusz Hiler wrote:
> > > On Mon, Jul 17, 2017 at 12:28:00PM +0800, Hailin Gu wrote:
> > > > Hi~ all,
> > > >
> > > > Does the test program have any hardware or version limitations?
> > > >
> > > >
> > > > I found that most testcase could run on a machine with intel(R)
> > > > Core(TM) i7-2600K CPU @ 3.40GHz.
> > > >
> > > > But can't run on Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz or
> > > > Intel(R)
> > > > Core(TM) i3-2120 CPU @ 3.30GHz.
> > >
> > > Hey,
> > >
> > > The hardware limitation is that you should have integradted graphics.
> > 
> > And by "limitation" I've meant "requirement". At least when it comes to Intel
> > GPUs.
> > 
> > > E5-2669 v3 does not have one according to ark.intel.com.
> > >
> > > Error message seems to be pretty clear, stating: "No known gpu found".
> > >
> > > As of the i3 - it probably should work. Can you share complete logs
> > > from that machinge to see what goes wrong there?
> > >
> > > --
> > > Cheers,
> > > Arek
> > >
> > > > Thank you
> > > >
> > > > *From:*Hailin Gu [mailto:hailinx.gu at intel.com]
> > > > *Sent:* Tuesday, July 11, 2017 7:51 PM
> > > > *To:* intel-gfx at lists.freedesktop.org
> > > > *Cc:* Li, ZhijianX <zhijianx.li at intel.com>; Li, Philip
> > > > <philip.li at intel.com>
> > > > *Subject:* [i-g-t] many testcases skiped
> > > >
> > > > Hi~ all,
> > > >
> > > > I want to run the testcases of igt, but there are some problems during
> > that.
> > > > Lots of testcase started with gem and kms skiped.
> > > >
> > > > Thanks for your helping.
> > > >
> > > > I make the piglit and igt by following steps
> > > >
> > > >     $cd piglit
> > > >
> > > >     $cmake .
> > > >
> > > >     $male
> > > >
> > > >     $make install
> > > >
> > > >     $cd intel-gpu-tools
> > > >
> > > >     $./autogen
> > > >
> > > >     $make
> > > >
> > > > All of these steps are successful. And I write the path of igt in
> > > > piglit.conf. running the tests by calling
> > > >
> > > >     "./piglit run igt -t gem_sync /tmp"
> > > >
> > > > But all the case shows skip. Here is the output.
> > > >
> > > >     root at lkp-skl-sp1 /lkp/benchmarks/piglit# ./bin/piglit run igt -t
> > > > gem_sync /tmp
> > > >     [46/46] skip: 46
> > > >
> > > > Further, I try to run the test case directly, by running the test
> > > > program in igt. All the case skiped with following tips.
> > > >
> > > >     root at lkp-skl-sp1
> > > > /lkp/benchmarks/piglit/lib/piglit/bin/igt/tests#
> > > > ./gem_sync
> > > >     IGT-Version: 1.19-g4258cc8e (x86_64) (Linux: 4.9.0 x86_64)
> > > >     Test requirement not met in function drm_open_driver, file
> > > > drmtest.c:359:
> > > >     Test requirement: !(fd<0)
> > > >     No known gpu found
> > > >     Last errno: 2, No such file or directory
> > > >
> > > > my environment:
> > > >
> > > >  - Linux lkp-skl-sp1 4.9.0
> > > >
> > > >  - cpu skylake i7-6700
> > > >
> > > > May I have something ignored? Or What kind of equipment can meet the
> > > > test requirements?
> > > >
> > > >
> > > >
> > > > Thank you
> > > >
> > > > Gu
> > > >
> > >
> > > > _______________________________________________
> > > > Intel-gfx mailing list
> > > > Intel-gfx at lists.freedesktop.org
> > > > https://lists.freedesktop.org/mailman/listinfo/intel-gfx
> > >
> > > _______________________________________________
> > > Intel-gfx mailing list
> > > Intel-gfx at lists.freedesktop.org
> > > https://lists.freedesktop.org/mailman/listinfo/intel-gfx


More information about the Intel-gfx mailing list