Bug 111191

Summary: [CI][BAT] igt@kms_chamelium@common-hpd-after-suspend - fail - previous timer already enabled
Product: DRI Reporter: Martin Peres <martin.peres>
Component: DRM/IntelAssignee: Intel GFX Bugs mailing list <intel-gfx-bugs>
Status: RESOLVED MOVED QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: minor    
Priority: low CC: intel-gfx-bugs
Version: XOrg git   
Hardware: Other   
OS: All   
Whiteboard: ReadyForDev
i915 platform: SKL i915 features: display/Other

Description Martin Peres 2019-07-22 12:56:09 UTC
https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5106/fi-skl-6700k2/igt@kms_chamelium@common-hpd-after-suspend.html

Starting subtest: common-hpd-after-suspend
(kms_chamelium:2981) igt_chamelium-CRITICAL: Test assertion failure function chamelium_rpc, file ../lib/igt_chamelium.c:349:
(kms_chamelium:2981) igt_chamelium-CRITICAL: Failed assertion: !chamelium->env.fault_occurred
(kms_chamelium:2981) igt_chamelium-CRITICAL: Chamelium RPC call failed: RPC failed at server.  <class 'chameleond.devices.input_flow.InputFlowError'>:previous timer already enabled
Comment 1 CI Bug Log 2019-07-22 12:57:05 UTC
The CI Bug Log issue associated to this bug has been updated.

### New filters associated

* SKL: igt@kms_chamelium@common-hpd-after-suspend - fail - previous timer already enabled
  - https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5106/fi-skl-6700k2/igt@kms_chamelium@common-hpd-after-suspend.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_4645/fi-skl-6700k2/igt@kms_chamelium@common-hpd-after-suspend.html
Comment 2 Lakshmi 2019-09-10 09:31:59 UTC
Priority/severity is set to default. This issue occurred only once on IGT_5106 (1 month, 2 weeks old).
Comment 3 Arek Hiler 2019-10-31 13:34:38 UTC
Seems like ther is another active thread that is waiting to toggle the port:

  def ScheduleHpdToggle(self, port_id, delay_ms, rising_edge):
    """Schedules one HPD Toggle, with a delay between the toggle.

    Args:
      port_id: The ID of the video input port.
      delay_ms: Delay in milli-second before the toggle takes place.
      rising_edge: Whether the toggle should be a rising edge or a falling edge.
    """

    if self._timer and self._timer.isAlive():
      raise InputFlowError('previous timer already enabled')

    self._timer = threading.Timer(delay_ms / 1000.0, self._RunHpdToggle,
                                  [port_id, rising_edge])
    self._timer.start()

    if rising_edge:
      self.Unplug()
    else:
      self.Plug()


It may be a leftover from a previous test but we do not have logs / testlist for any of the registered failures to do a popper assessment.

Anyway this is a test's/chamelium issue, so user impact is none.
Comment 4 Martin Peres 2019-11-29 19:20:10 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/drm/intel/issues/346.

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.