Bug 111694 - [CI][DRMTIP] igt@kms_hdmi_inject@inject-audio - fail - Failed assertion: glob("/proc/asound/card*/" ELD_PREFIX "*", GLOB_NOSORT, NULL, &glob_buf) == 0, glob failed
Summary: [CI][DRMTIP] igt@kms_hdmi_inject@inject-audio - fail - Failed assertion: glob...
Status: RESOLVED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: DRI git
Hardware: Other All
: not set not set
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-09-16 11:15 UTC by Lakshmi
Modified: 2019-10-16 11:44 UTC (History)
1 user (show)

See Also:
i915 platform: BDW, G45, IVB, KBL, SKL, TGL
i915 features: display/Other


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lakshmi 2019-09-16 11:15:04 UTC
https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_369/fi-bdw-gvtdvm/igt@kms_hdmi_inject@inject-audio.html

Starting subtest: inject-audio
(kms_hdmi_inject:1026) igt_eld-CRITICAL: Test assertion failure function eld_is_supported, file ../lib/igt_eld.c:277:
(kms_hdmi_inject:1026) igt_eld-CRITICAL: Failed assertion: glob("/proc/asound/card*/" ELD_PREFIX "*", GLOB_NOSORT, NULL, &glob_buf) == 0
(kms_hdmi_inject:1026) igt_eld-CRITICAL: glob failed
Subtest inject-audio failed.

https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_370/fi-tgl-u2/igt@kms_hdmi_inject@inject-audio.html
Starting subtest: inject-audio
(kms_hdmi_inject:1023) igt_eld-CRITICAL: Test assertion failure function eld_is_supported, file ../lib/igt_eld.c:277:
(kms_hdmi_inject:1023) igt_eld-CRITICAL: Failed assertion: glob("/proc/asound/card*/" ELD_PREFIX "*", GLOB_NOSORT, NULL, &glob_buf) == 0
(kms_hdmi_inject:1023) igt_eld-CRITICAL: glob failed
Subtest inject-audio failed.
Comment 1 CI Bug Log 2019-09-16 11:17:05 UTC
The CI Bug Log issue associated to this bug has been updated.

### New filters associated

* ELK IVB BDW SKL KBL TGL: igt@kms_hdmi_inject@inject-audio - fail - Failed assertion: glob("/proc/asound/card*/" ELD_PREFIX "*", GLOB_NOSORT, NULL, &glob_buf) == 0, glob failed
  - https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_369/fi-bdw-gvtdvm/igt@kms_hdmi_inject@inject-audio.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_369/fi-elk-e7500/igt@kms_hdmi_inject@inject-audio.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_369/fi-ivb-3770/igt@kms_hdmi_inject@inject-audio.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_369/fi-kbl-x1275/igt@kms_hdmi_inject@inject-audio.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_369/fi-skl-gvtdvm/igt@kms_hdmi_inject@inject-audio.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_369/fi-tgl-u/igt@kms_hdmi_inject@inject-audio.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_369/fi-tgl-u2/igt@kms_hdmi_inject@inject-audio.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_370/fi-bdw-gvtdvm/igt@kms_hdmi_inject@inject-audio.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_370/fi-elk-e7500/igt@kms_hdmi_inject@inject-audio.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_370/fi-ivb-3770/igt@kms_hdmi_inject@inject-audio.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_370/fi-kbl-x1275/igt@kms_hdmi_inject@inject-audio.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_370/fi-skl-gvtdvm/igt@kms_hdmi_inject@inject-audio.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_370/fi-tgl-u/igt@kms_hdmi_inject@inject-audio.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_370/fi-tgl-u2/igt@kms_hdmi_inject@inject-audio.html
Comment 2 Chris Wilson 2019-09-16 12:18:35 UTC
commit 8a611399226cfa248f91f80d263b84b7f13cabee (origin/master, origin/HEAD)
Author: Simon Ser <simon.ser@intel.com>
Date:   Fri Sep 13 13:23:40 2019 +0300

    lib/igt_eld: fix eld_is_supported failing if not supported
    
    When glob(3) doesn't find any results, it returns GLOB_NOMATCH. I've been
    confused by GLOB_NOCHECK's description and thought it would return 0.
    
    Instead of failing on the assert, return that ELDs aren't supported in case
    there's no match.
    
    While at it, also include glob's return value in the assert message.
    
    Signed-off-by: Simon Ser <simon.ser@intel.com>
    Fixes: 3374cd0b048f ("lib/igt_eld: introduce eld_is_supported")
    Cc: Petri Latvala <petri.latvala@intel.com>
    Reviewed-by: Petri Latvala <petri.latvala@intel.com>
Comment 3 CI Bug Log 2019-10-16 11:44:43 UTC
The CI Bug Log issue associated to this bug has been archived.

New failures matching the above filters will not be associated to this bug anymore.


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.