Bug 111314

Summary: [CI][DRMTIP] igt@kms_* - skip - Test requirement: connector
Product: DRI Reporter: Lakshmi <lakshminarayana.vudum>
Component: DRM/IntelAssignee: Intel GFX Bugs mailing list <intel-gfx-bugs>
Status: RESOLVED NOTABUG QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: normal    
Priority: medium CC: intel-gfx-bugs
Version: DRI git   
Hardware: Other   
OS: All   
Whiteboard: ReadyForDev
i915 platform: ICL i915 features: display/Other

Description Lakshmi 2019-08-07 11:46:50 UTC
https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_337/fi-icl-dsi/igt@kms_3d.html

IGT-Version: 1.24-g242cb6f2 (x86_64) (Linux: 5.3.0-rc3-g1aafc95ec9fc-drmtip_337+ x86_64)
Test requirement not met in function __real_main29, file ../tests/kms_3d.c:56:
Test requirement: connector
SKIP (0.001s)
Comment 1 CI Bug Log 2019-08-07 11:48:23 UTC
The CI Bug Log issue associated to this bug has been updated.

### New filters associated

* fi-icl-dsi: igt@kms_* - skip - Test requirement: connector
  - https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_337/fi-icl-dsi/igt@kms_3d.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_337/fi-icl-dsi/igt@kms_hdmi_inject@inject-audio.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_337/fi-icl-dsi/igt@kms_hdmi_inject@inject-4k.html
Comment 2 Stanislav Lisovskiy 2019-08-30 08:22:45 UTC
What all those tests have in common is that they all loop through connectors looking for the HDMI one and set connector to NULL if they failed to find HDMI connector:

/* find an hdmi connector */
for (int i = 0; i < res->count_connectors; i++) {

connector = drmModeGetConnectorCurrent(drm_fd, res->connectors[i]);

if (connector->connector_type == DRM_MODE_CONNECTOR_HDMIA)
    break;                => will break if found and assertion will not fail

drmModeFreeConnector(connector);

connector = NULL;
}
igt_require(connector);   => which fails if no HDMI was found.

Does the fi-icl-dsi have HDMI connector? If not, then this test is supposed to fail and it is correct. If it has HDMI - then we need to understand why it didn't detect it.
Comment 3 Jani Saarinen 2019-08-30 09:58:58 UTC
No, ICL-DSI has only eDP (DSI panel)
Comment 4 Jani Saarinen 2019-08-30 09:59:47 UTC
Based on this resolving as invalid. Expected behaviour

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.