Bug 110680

Summary: [CI][DRMTIP] igt@perf_pmu@rc6-runtime-pm-long - skip - Test requirement: igt_wait_for_pm_status(IGT_RUNTIME_PM_STATUS_SUSPENDED), SKIP
Product: DRI Reporter: Lakshmi <lakshminarayana.vudum>
Component: DRM/IntelAssignee: Don Hiatt <don.hiatt>
Status: RESOLVED MOVED QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: normal    
Priority: medium CC: don.hiatt, intel-gfx-bugs, jon.ewins
Version: DRI git   
Hardware: Other   
OS: All   
Whiteboard: ReadyForDev
i915 platform: ICL i915 features: Perf/PMU

Description Lakshmi 2019-05-15 06:27:59 UTC
https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_284/fi-icl-u2/igt@perf_pmu@rc6-runtime-pm-long.html

Test requirement not met in function gem_require_engine, file ../lib/igt_gt.h:114:
Test requirement: gem_has_engine(gem_fd, class, instance)
Starting subtest: rc6-runtime-pm-long
Test requirement not met in function test_rc6, file ../tests/perf_pmu.c:1409:
Test requirement: igt_wait_for_pm_status(IGT_RUNTIME_PM_STATUS_SUSPENDED)
Subtest rc6-runtime-pm-long: SKIP (12.774s)
Test requirement not met in function gem_require_engine, file ../lib/igt_gt.h:114:
Test requirement: gem_has_engine(gem_fd, class, instance)
Comment 1 CI Bug Log 2019-05-15 06:30:09 UTC
The CI Bug Log issue associated to this bug has been updated.

### New filters associated

* ICL: igt@perf_pmu@rc6-runtime-pm-long - skip - Test requirement: igt_wait_for_pm_status(IGT_RUNTIME_PM_STATUS_SUSPENDED), SKIP
  - https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_284/fi-icl-u2/igt@perf_pmu@rc6-runtime-pm-long.html
Comment 2 Don Hiatt 2019-06-24 20:24:39 UTC
The 'tests/perf_pmu.c' has three testings checking for RC6 residency reporting ("rc6," "rc6-runtime-pm," and "rc6-runtime-pm-long").

The test failing here is "rc6-runtime-pm-long" which puts the platform in the IGT_RUNTIME_PM_STATUS_SUSPENDED state and then sleeps "for a bit to see if once woken up estimated RC6 hasn't drifted to far in advance of real RC6."

In this case the test_rc6() IGT requirement of suspending is failing and the test is being skipped accordingly.

This occurred on fi-icl-u2 but hasn't been seen since drmtip_284 (1 month, 1 week old). Suggest we monitor this to see if it shows up again, if not close it.
Comment 3 Don Hiatt 2019-06-24 20:25:28 UTC
Assigning to myself to monitor and attempt to duplicate it.
Comment 4 Don Hiatt 2019-06-26 17:43:20 UTC
This SKIP occurred only one time in drmtip_284 and from drmtip_285 (1 month, 1 week old) until drmtip_315 (2 days, 16 hours old) has PASSED.

Looks like it was a one off failure but will continue to monitor.
Comment 5 CI Bug Log 2019-07-15 08:34:52 UTC
A CI Bug Log filter associated to this bug has been updated:

{- ICL: igt@perf_pmu@rc6-runtime-pm-long - skip - Test requirement: igt_wait_for_pm_status(IGT_RUNTIME_PM_STATUS_SUSPENDED), SKIP -}
{+ CML ICL: igt@perf_pmu@rc6-runtime-pm-long - skip - Test requirement: igt_wait_for_pm_status(IGT_RUNTIME_PM_STATUS_SUSPENDED), SKIP +}


  No new failures caught with the new filter
Comment 6 CI Bug Log 2019-07-15 11:08:49 UTC
A CI Bug Log filter associated to this bug has been updated:

{- CML ICL: igt@perf_pmu@rc6-runtime-pm-long - skip - Test requirement: igt_wait_for_pm_status(IGT_RUNTIME_PM_STATUS_SUSPENDED), SKIP -}
{+ CML ICL: igt@perf_pmu@rc6-runtime-pm(-long)? - skip - Test requirement: igt_wait_for_pm_status(IGT_RUNTIME_PM_STATUS_SUSPENDED), SKIP +}

New failures caught by the filter:

  * https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6470/re-icl-u/igt@perf_pmu@rc6-runtime-pm.html
Comment 7 Don Hiatt 2019-07-22 17:47:03 UTC
This new SKIP started with CI_DRM_6470_resume and is now occurring on 're-icl-u' whereas it was originally reported on 'fi-icl-u2'. 

Prior to the failure in CI_DRM_6470_resume, this always passed CI_DRM_5891_re toCI_DRM_6404_resume. There has not been a another run since 6470_resume (1 week, 3 days old).

 
http://gfx-ci.fi.intel.com/cibuglog-ng/results/all?query=test_name+%3D+%27igt%40perf_pmu%40rc6-runtime-pm%27+AND+machine_name+ICONTAINS+%27re-icl-u%27
Comment 8 Don Hiatt 2019-09-10 17:25:21 UTC
This has not occurred for 2 months now. Will continue to monitor.
Comment 9 Don Hiatt 2019-09-24 16:50:29 UTC
2 months + 2 weeks since this occurred. Will wait another couple of weeks and close if it doesn't happen again.
Comment 10 Don Hiatt 2019-10-04 16:39:20 UTC
I have a patch to IGT that will dump the pm runtime state if/when this occurs. This still looks to be a race in the test rather than an actual bug.
Comment 11 Don Hiatt 2019-10-15 17:40:02 UTC
Debug patch merged to IGT, if/when this occurs again we should have a little more insight into the issue.
Comment 12 Martin Peres 2019-11-29 19:07:35 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/293.

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.