|Summary:||[BAT][ILK,SNB,IVB] Spurious Test requirement failed !(vga_connector->connection == DRM_MODE_CONNECTED)|
|Product:||DRI||Reporter:||Martin Peres <martin.peres>|
|Status:||CLOSED WORKSFORME||QA Contact:||Intel GFX Bugs mailing list <intel-gfx-bugs>|
|i915 platform:||ILK, IVB, SNB||i915 features:||display/Other|
Description Martin Peres 2017-05-15 12:05:51 UTC
Sometimes, the following tests' requirements is randomly not met: - igt@kms_force_connector_basic@force-connector-state: - igt@kms_force_connector_basic@force-edid: - igt@kms_force_connector_basic@force-load-detect: - igt@kms_force_connector_basic@prune-stale-modes: Here is the exact error message: IGT-Version: 1.18-ge10c48d (x86_64) (Linux: 4.11.0-CI-Patchwork_4689+ 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-connector-state: SKIP Here is an example of when this happened (look at fi-ivb-3520m and fi-snb-2520m): https://intel-gfx-ci.01.org/CI/Patchwork_4689/
Comment 1 Martin Peres 2017-05-15 12:09:07 UTC
If it helps, it happens constantly on fi-hsw-4770: https://intel-gfx-ci.01.org/CI/igt@firstname.lastname@example.org
Comment 2 krisman 2017-05-19 17:18:01 UTC
(In reply to Martin Peres from comment #1) > If it helps, it happens constantly on fi-hsw-4770: > https://intel-gfx-ci.01.org/CI/igt@kms_force_connector_basic@force-connector- > state.html Hi Martin, I can reproduce this consistently on local hardware. Taking over this one for debugging.
Comment 3 krisman 2017-06-19 00:33:35 UTC
(In reply to krisman from comment #2) > (In reply to Martin Peres from comment #1) > > If it helps, it happens constantly on fi-hsw-4770: > > https://intel-gfx-ci.01.org/CI/igt@kms_force_connector_basic@force-connector- > > state.html > Update for this week. My understanding is that the issue truly affects fi-ivb-3520m and fi-snb-2520m on the CI, but not fi-hsw-4770. The fi-hsw-4770 should indeed skip every time since, according to the Hardware information page, it has VGA attached, and the test requires it to be disconnected: igt_skip_on(vga_connector->connection == DRM_MODE_CONNECTED); On my HSW, I can hit the issue sometimes with VGA disconnected, but I wasn't lucky enough to catch it after setting debug information. I'm checking the kernel for spots where it might be racing and reporting bad information about connectors. Tips are appreciated.
Comment 4 Ville Syrjala 2017-06-19 12:09:36 UTC
Some logs that I looked at a while ago seemed to suggest that the hardware load detection may itself get confused and it will detect that something is connected. Why that happens I don't know.
Comment 5 Martin Peres 2017-07-17 13:19:27 UTC
Any news on this bug?
Comment 6 Martin Peres 2017-08-14 11:53:57 UTC
Comment 7 Jani Saarinen 2017-09-16 09:08:03 UTC
Happened last time over month ago. Resolving for now.