Bug 110877 - [CI][DRMTIP] igt@perf_pmu@rc6 - skip - Test requirement: wait_for_rc6(fd), SKIP
Summary: [CI][DRMTIP] igt@perf_pmu@rc6 - skip - Test requirement: wait_for_rc6(fd), SKIP
Status: RESOLVED MOVED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: DRI git
Hardware: Other All
: medium normal
Assignee: Don Hiatt
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard: ReadyForDev
Keywords:
: 110933 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-06-10 11:02 UTC by Lakshmi
Modified: 2019-11-29 19:09 UTC (History)
3 users (show)

See Also:
i915 platform: CFL, ICL
i915 features:


Attachments

Description Lakshmi 2019-06-10 11:02:00 UTC
https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_302/fi-icl-guc/igt@perf_pmu@rc6.html

Starting subtest: rc6
Test requirement not met in function test_rc6, file ../tests/perf_pmu.c:1433:
Test requirement: wait_for_rc6(fd)
Subtest rc6: SKIP (1.244s)
Comment 1 CI Bug Log 2019-06-10 11:02:36 UTC
The CI Bug Log issue associated to this bug has been updated.

### New filters associated

* ICL: igt@perf_pmu@rc6 - skip - Test requirement: wait_for_rc6(fd), SKIP
  - https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_302/fi-icl-guc/igt@perf_pmu@rc6.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_4323/shard-iclb7/igt@perf_pmu@rc6.html
Comment 2 Don Hiatt 2019-06-24 18:12:12 UTC
The 'tests/perf_pmu.c' has three testings checking for RC6 residency reporting ("rc6," "rc6-runtime-pm," and "rc6-runtime-pm-long").

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

wait_for_rc6() waits for a 'RC6 evaluation interval' and then checks the sysfs to see if we entered RC6 or not. Since this test is failing it looks like we are not going into RC6. 

This appears to be happening on 'fi-icl-guc'. We need to determine if we are indeed not going into RC6 or if it's just a test issue (e.g. perhaps the timeout needs to be increased). 

We originally saw this bug on drm_tip_302 (2 weeks, 3 days old) and then again in drm_tip_303 (1 week, 6 days old). I'm not sure if there were any runs on 'fi-icl-guc' between the first and second run, or if there is some sort of timing issue that makes this bug difficult to reproduce.

If RC6 is broken on 'fi-icl-guc' that would be of high importance to the end user of that machine, however if it's just and artifact of the testing procedure then it should be fixed but it's a lower priority.
Comment 3 Don Hiatt 2019-06-24 18:12:51 UTC
Assigning to myself to see if I can duplicate it.
Comment 4 Don Hiatt 2019-06-26 17:24:24 UTC
(In reply to Don Hiatt from comment #2)

> We originally saw this bug on drm_tip_302 (2 weeks, 3 days old) and then
> again in drm_tip_303 (1 week, 6 days old). I'm not sure if there were any
> runs on 'fi-icl-guc' between the first and second run, or if there is some
> sort of timing issue that makes this bug difficult to reproduce.
> 
Lakshmi answered this question with the following, thanks!

http://gfx-ci.fi.intel.com/cibuglog-ng/results/all?query=test_name+%3D+%27igt%40perf_pmu%40rc6%27+AND+machine_name+ICONTAINS+%27icl-guc%27

Looks like the test skipped only on drmtip 302 and 303 runs but later few drmtip runs are having pass results but not skips.
Comment 5 Don Hiatt 2019-06-26 17:31:05 UTC
The last SKIP was on drmtip_303 but it started PASSING since drmtip_304, with the latest pass being on drmtip_312.

We'll continue to monitor but it looks like every run since drmtip_304 is passing.
Comment 6 CI Bug Log 2019-08-05 06:53:27 UTC
The CI Bug Log issue associated to this bug has been updated.

### New filters associated

* GUC: Test requirement: wait_for_rc6\(\)\n.*SKIP
  (No new failures associated)
Comment 7 Lakshmi 2019-08-05 06:55:15 UTC
*** Bug 110933 has been marked as a duplicate of this bug. ***
Comment 8 CI Bug Log 2019-08-12 12:11:59 UTC
A CI Bug Log filter associated to this bug has been updated:

{- ICL: igt@perf_pmu@rc6 - skip - Test requirement: wait_for_rc6(fd), SKIP -}
{+ CML ICL: igt@perf_pmu@rc6 - skip - Test requirement: wait_for_rc6(fd), SKIP +}

New failures caught by the filter:

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_341/fi-cml-u/igt@perf_pmu@rc6.html
Comment 9 Don Hiatt 2019-08-27 15:56:05 UTC
Chris has a patch that is using the GT parked to get an estimate of R6C while sleeping. This seems to be a fix for this issue as well.
Comment 10 Don Hiatt 2019-09-10 17:37:18 UTC
This passed drmtip_347 (3 weeks old) and then returned to skipping. It continues to look like the issue is just with IGT testing and Chris's patch to use ktime for RC6 estimates will resolve this (the patch is still pending).
Comment 11 Martin Peres 2019-11-29 19:09:32 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/310.


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.