Bug 101048 - [BAT][ILK,SNB,IVB] Spurious Test requirement failed !(vga_connector->connection == DRM_MODE_CONNECTED)
Summary: [BAT][ILK,SNB,IVB] Spurious Test requirement failed !(vga_connector->connecti...
Status: CLOSED WORKSFORME
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: DRI git
Hardware: Other All
: high normal
Assignee: krisman
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard: ReadyForDev
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-15 12:05 UTC by Martin Peres
Modified: 2017-10-03 20:47 UTC (History)
1 user (show)

See Also:
i915 platform: ILK, IVB, SNB
i915 features: display/Other


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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@kms_force_connector_basic@force-connector-state.html
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 7 Jani Saarinen 2017-09-16 09:08:03 UTC
Happened last time over month ago.
Resolving for now.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.