Bug 112223

Summary: [CI][BAT] igt@i915_pm_rpm@module-reload - fail - igt_pm-WARNING: timeout: pm_status expected:suspended, got:active, Failed assertion: setup_environment()
Product: DRI Reporter: Lakshmi <lakshminarayana.vudum>
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: not set    
Priority: not set CC: intel-gfx-bugs
Version: DRI git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: KBL i915 features: power/runtime PM

Description Lakshmi 2019-11-07 06:40:55 UTC
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7273/fi-kbl-guc/igt@i915_pm_rpm@module-reload.html
Starting subtest: module-reload
(i915_pm_rpm:4872) igt_pm-WARNING: timeout: pm_status expected:suspended, got:active
(i915_pm_rpm:4872) CRITICAL: Test assertion failure function __real_main1983, file ../tests/i915/i915_pm_rpm.c:2130:
(i915_pm_rpm:4872) CRITICAL: Failed assertion: setup_environment()
Subtest module-reload failed.
**** DEBUG ****
(i915_pm_rpm:4872) DEBUG: Reload w/o display
(i915_pm_rpm:4872) igt_kmod-DEBUG: Could not remove module drm_kms_helper (No such file or directory)
(i915_pm_rpm:4872) igt_kmod-DEBUG: Could not remove module drm (No such file or directory)
(i915_pm_rpm:4872) igt_kmod-INFO: Reloading i915 with disable_display=1 mmio_debug=-1

(i915_pm_rpm:4872) DEBUG: Test requirement passed: drm_fd != -1
(i915_pm_rpm:4872) igt_debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0'
(i915_pm_rpm:4872) DEBUG: Test requirement passed: debugfs != -1
(i915_pm_rpm:4872) igt_kms-DEBUG: VT: graphics mode set (mode was 0x1)
(i915_pm_rpm:4872) igt_pm-DEBUG: Audio device path is /sys/class/sound/hwC0D2/device/device/power/control
(i915_pm_rpm:4872) igt_pm-DEBUG: Saved audio power management as '0' and 'on'
(i915_pm_rpm:4872) igt_pm-DEBUG: Saved runtime power management as '10000' and 'on'
(i915_pm_rpm:4872) INFO: Runtime PM support: 1
(i915_pm_rpm:4872) INFO: PC8 residency support: 0
(i915_pm_rpm:4872) DEBUG: Test requirement passed: has_runtime_pm
(i915_pm_rpm:4872) igt_pm-INFO: DMC: fw loaded: yes
(i915_pm_rpm:4872) DEBUG: Test requirement passed: igt_pm_dmc_loaded(debugfs)
(i915_pm_rpm:4872) INFO: i915_runtime_pm_status:
Runtime power status: enabled
GPU idle: yes
IRQs disabled: no
Usage count: 0
PCI device power state: D0 [0]
Wakeref last acquired:
   track_intel_runtime_pm_wakeref+0x14/0x90 [i915]
   i915_dmc_info+0x3e/0x240 [i915]
   seq_read+0xdb/0x3c0
   full_proxy_read+0x51/0x80
   vfs_read+0x96/0x160
   ksys_read+0x9f/0xe0
   do_syscall_64+0x4f/0x210
   entry_SYSCALL_64_after_hwframe+0x49/0xbe
Wakeref last released:
   __untrack_all_wakerefs+0x67/0x70 [i915]
   __intel_wakeref_dec_and_check_tracking+0x61/0x80 [i915]
   __intel_runtime_pm_put+0x106/0x270 [i915]
   i915_dmc_info+0x1c3/0x240 [i915]
   seq_read+0xdb/0x3c0
   full_proxy_read+0x51/0x80
   vfs_read+0x96/0x160
   ksys_read+0x9f/0xe0
Wakeref count: 0
(i915_pm_rpm:4872) igt_pm-DEBUG: (status = igt_get_runtime_pm_status()) == expected took 95ms
(i915_pm_rpm:4872) intel_chipset-DEBUG: Test requirement passed: pci_dev
(i915_pm_rpm:4872) DEBUG: device_in_pci_d3: PCI D3 state=3
(i915_pm_rpm:4872) DEBUG: device_in_pci_d3() took 0ms
(i915_pm_rpm:4872) igt_pm-DEBUG: Restoring runtime PM management to '10000' and 'on'
(i915_pm_rpm:4872) igt_pm-DEBUG: Restoring audio power management to '0' and 'on'
(i915_pm_rpm:4872) DEBUG: Reload as normal
(i915_pm_rpm:4872) igt_kmod-DEBUG: Could not remove module drm_kms_helper (No such file or directory)
(i915_pm_rpm:4872) igt_kmod-DEBUG: Could not remove module drm (No such file or directory)
(i915_pm_rpm:4872) igt_kmod-INFO: Reloading i915 with mmio_debug=-1

(i915_pm_rpm:4872) DEBUG: Test requirement passed: drm_fd != -1
(i915_pm_rpm:4872) igt_debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0'
(i915_pm_rpm:4872) DEBUG: Test requirement passed: debugfs != -1
(i915_pm_rpm:4872) igt_kms-DEBUG: VT: graphics mode set (mode was 0x1)
(i915_pm_rpm:4872) igt_pm-DEBUG: Audio device path is /sys/class/sound/hwC0D2/device/device/power/control
(i915_pm_rpm:4872) igt_pm-DEBUG: Saved audio power management as '0' and 'on'
(i915_pm_rpm:4872) igt_pm-DEBUG: Saved runtime power management as '10000' and 'on'
(i915_pm_rpm:4872) INFO: Runtime PM support: 1
(i915_pm_rpm:4872) INFO: PC8 residency support: 0
(i915_pm_rpm:4872) DEBUG: Test requirement passed: has_runtime_pm
(i915_pm_rpm:4872) igt_pm-INFO: DMC: fw loaded: yes
(i915_pm_rpm:4872) DEBUG: Test requirement passed: igt_pm_dmc_loaded(debugfs)
(i915_pm_rpm:4872) INFO: i915_runtime_pm_status:
Runtime power status: enabled
GPU idle: yes
IRQs disabled: no
Usage count: 0
PCI device power state: D0 [0]
Wakeref last acquired:
   track_intel_runtime_pm_wakeref+0x14/0x90 [i915]
   intel_atomic_commit+0x32/0x350 [i915]
   drm_atomic_helper_set_config+0x61/0x90
   drm_mode_setcrtc+0x18e/0x720
   drm_ioctl_kernel+0xa7/0xf0
   drm_ioctl+0x2e1/0x390
   do_vfs_ioctl+0xa0/0x6f0
   ksys_ioctl+0x35/0x60
Wakeref last released:
   __untrack_all_wakerefs+0x67/0x70 [i915]
   __intel_wakeref_dec_and_check_tracking+0x61/0x80 [i915]
   __intel_runtime_pm_put+0x106/0x270 [i915]
   intel_atomic_commit_tail+0x8b7/0x14c0 [i915]
   intel_atomic_commit+0x31d/0x350 [i915]
   drm_atomic_helper_set_config+0x61/0x90
   drm_mode_setcrtc+0x18e/0x720
   drm_ioctl_kernel+0xa7/0xf0
Wakeref count: 0
(i915_pm_rpm:4872) igt_pm-WARNING: timeout: pm_status expected:suspended, got:active
(i915_pm_rpm:4872) CRITICAL: Test assertion failure function __real_main1983, file ../tests/i915/i915_pm_rpm.c:2130:
(i915_pm_rpm:4872) CRITICAL: Failed assertion: setup_environment()
(i915_pm_rpm:4872) igt_core-INFO: Stack trace:
(i915_pm_rpm:4872) igt_core-INFO:   #0 ../lib/igt_core.c:1716 __igt_fail_assert()
(i915_pm_rpm:4872) igt_core-INFO:   #1 ../tests/i915/i915_pm_rpm.c:2128 __real_main1983()
(i915_pm_rpm:4872) igt_core-INFO:   #2 ../tests/i915/i915_pm_rpm.c:1983 main()
(i915_pm_rpm:4872) igt_core-INFO:   #3 ../csu/libc-start.c:344 __libc_start_main()
(i915_pm_rpm:4872) igt_core-INFO:   #4 [_start+0x2a]
****  END  ****
Subtest module-reload: FAIL (31.075s)
Comment 1 CI Bug Log 2019-11-07 06:42:49 UTC
The CI Bug Log issue associated to this bug has been updated.

### New filters associated

* KBL: igt@i915_pm_rpm@module-reload - fail - igt_pm-WARNING: timeout: pm_status expected:suspended, got:active, Failed assertion: setup_environment()
  - https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15082/fi-kbl-guc/igt@i915_pm_rpm@module-reload.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7273/fi-kbl-guc/igt@i915_pm_rpm@module-reload.html
Comment 2 CI Bug Log 2019-11-12 07:39:48 UTC
A CI Bug Log filter associated to this bug has been updated:

{- KBL: igt@i915_pm_rpm@module-reload - fail - igt_pm-WARNING: timeout: pm_status expected:suspended, got:active, Failed assertion: setup_environment() -}
{+ KBL: igt@i915_pm_rpm@* - fail - igt_pm-WARNING: timeout: pm_status expected:suspended, got:active, Failed assertion: setup_environment() +}

New failures caught by the filter:

  * https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7309/fi-kbl-guc/igt@i915_pm_rpm@basic-rte.html
Comment 3 Martin Peres 2019-11-29 19:46:12 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/579.

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.