Skip to contentSkip to conversation

many testcases skiped

i-g-t Hailin Gu 2 participants 6 messages Jul 11, 2017 – Jul 17, 2017

lore
Share & tools
lore

Hailin Gu

author
#0 lore raw

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@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@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
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

author
#1 lore raw

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.

Thank you

*From:*Hailin Gu [mailto:[email protected]]
*Sent:* Tuesday, July 11, 2017 7:51 PM
*To:* [email protected]
*Cc:* Li, ZhijianX <[email protected]>; Li, Philip <[email protected]> *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@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@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
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

#2 lore raw
Quoted 10 lines · Hailin Gu

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. 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?

Signature · 2 lines
Cheers,
Arek
Quoted 67 lines

Thank you

*From:*Hailin Gu [mailto:[email protected]]
*Sent:* Tuesday, July 11, 2017 7:51 PM
*To:* [email protected]
*Cc:* Li, ZhijianX <[email protected]>; Li, Philip <[email protected]> *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@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@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

Quoted 7 lines

Gu

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

#3 lore raw
Quoted 9 lines · Arkadiusz Hiler
Quoted 8 lines · Hailin Gu

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.

Quoted 6 lines
Quoted 2 lines

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.

Quoted 90 lines

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?

Signature · 2 lines
Cheers,
Arek
Quoted 67 lines

Thank you

*From:*Hailin Gu [mailto:[email protected]]
*Sent:* Tuesday, July 11, 2017 7:51 PM
*To:* [email protected]
*Cc:* Li, ZhijianX <[email protected]>; Li, Philip <[email protected]> *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@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@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

Quoted 7 lines

Gu

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

#4 lore raw

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

/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

/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)
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)

Thank you
Gu

Quoted 49 lines

-----Original Message-----
From: Hiler, Arkadiusz
Sent: Monday, July 17, 2017 4:30 PM
To: Gu, HailinX <[email protected]>
Cc: [email protected]; Li, ZhijianX <[email protected]>; Li, Philip <[email protected]>
Subject: Re: [Intel-gfx] [i-g-t] many testcases skiped

Quoted 9 lines · Arkadiusz Hiler
Quoted 8 lines · Hailin Gu

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.

Quoted 7 lines
Quoted 3 lines

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.

Quoted 20 lines

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

Quoted 9 lines

Thank you

*From:*Hailin Gu [mailto:[email protected]] *Sent:* Tuesday, July 11, 2017 7:51 PM
*To:* [email protected]
*Cc:* Li, ZhijianX <[email protected]>; Li, Philip <[email protected]>
*Subject:* [i-g-t] many testcases skiped

Quoted 73 lines
Quoted 3 lines
Quoted 3 lines

Hi~ all,

I want to run the testcases of igt, but there are some problems during

that.

Quoted 69 lines
Quoted 57 lines

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@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@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

Quoted 7 lines

Gu

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

#5 lore raw
Quoted 9 lines · HailinX

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.

Quoted 8 lines

/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.

Quoted 9 lines

/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.

Quoted 21 lines

/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:

Quoted 8 lines

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.

Quoted 11 lines

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.

Quoted 2 lines

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).

Signature · 2 lines
Cheers,
Arek
Quoted 119 lines
Quoted 119 lines

-----Original Message-----
From: Hiler, Arkadiusz
Sent: Monday, July 17, 2017 4:30 PM
To: Gu, HailinX <[email protected]>
Cc: [email protected]; Li, ZhijianX <[email protected]>; Li, Philip <[email protected]>
Subject: Re: [Intel-gfx] [i-g-t] many testcases skiped

Quoted 9 lines · Arkadiusz Hiler
Quoted 8 lines · Hailin Gu

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.

Quoted 7 lines
Quoted 3 lines

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.

Quoted 23 lines

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

Quoted 12 lines

Thank you

*From:*Hailin Gu [mailto:[email protected]] *Sent:* Tuesday, July 11, 2017 7:51 PM
*To:* [email protected]
*Cc:* Li, ZhijianX <[email protected]>; Li, Philip <[email protected]>
*Subject:* [i-g-t] many testcases skiped

Hi~ all,

I want to run the testcases of igt, but there are some problems during

that.

Quoted 65 lines
Quoted 64 lines

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@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@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
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx