<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [IGT] kms_psr_sink_crc subtest suspend_psr_exit failed with: rtcwake failed with 1"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=103676#c1">Comment # 1</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [IGT] kms_psr_sink_crc subtest suspend_psr_exit failed with: rtcwake failed with 1"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=103676">bug 103676</a>
              from <span class="vcard"><a class="email" href="mailto:hector.franciscox.velazquez.suriano@intel.com" title="Hector Velazquez <hector.franciscox.velazquez.suriano@intel.com>"> <span class="fn">Hector Velazquez</span></a>
</span></b>
        <pre>This test are failing on CFL QA

igt@kms_psr_sink_crc@suspend_psr_exit

====================================================
Output Sample (same output)
====================================================
**** DEBUG ****
(kms_psr_sink_crc:14192) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=1920,
height=1080, format=0x34325258, tiling=0x100000000000001, size=0)
(kms_psr_sink_crc:14192) drmtest-DEBUG: Test requirement passed:
is_i915_device(fd) && has_known_intel_chipset(fd)
(kms_psr_sink_crc:14192) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=1,
pitch=7680)
(kms_psr_sink_crc:14192) igt-kms-DEBUG: Test requirement passed: plane_idx >= 0
&& plane_idx < pipe->n_planes
(kms_psr_sink_crc:14192) igt-kms-DEBUG: display: A.0: plane_set_fb(0)
(kms_psr_sink_crc:14192) igt-kms-DEBUG: display: A.0: plane_set_size (0x0)
(kms_psr_sink_crc:14192) igt-kms-DEBUG: display: A.0: fb_set_position(0,0)
(kms_psr_sink_crc:14192) igt-kms-DEBUG: display: A.0: fb_set_size(0x0)
(kms_psr_sink_crc:14192) igt-kms-DEBUG: Test requirement passed: plane_idx >= 0
&& plane_idx < pipe->n_planes
(kms_psr_sink_crc:14192) igt-kms-DEBUG: display: A.2: plane_set_fb(0)
(kms_psr_sink_crc:14192) igt-kms-DEBUG: display: A.2: plane_set_size (0x0)
(kms_psr_sink_crc:14192) igt-kms-DEBUG: display: A.2: fb_set_position(0,0)
(kms_psr_sink_crc:14192) igt-kms-DEBUG: display: A.2: fb_set_size(0x0)
(kms_psr_sink_crc:14192) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=64,
height=64, format=0x34325241, tiling=0x0, size=0)
(kms_psr_sink_crc:14192) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=2,
pitch=256)
(kms_psr_sink_crc:14192) igt-kms-DEBUG: display: A.2: plane_set_position(0,0)
(kms_psr_sink_crc:14192) igt-kms-DEBUG: display: commit {
(kms_psr_sink_crc:14192) igt-kms-DEBUG: display:     SetCrtc pipe A, disabling
(kms_psr_sink_crc:14192) igt-kms-DEBUG: display:     SetPlane pipe A, plane 1,
disabling
(kms_psr_sink_crc:14192) igt-kms-DEBUG: display:     SetCursor pipe A,
disabling
(kms_psr_sink_crc:14192) igt-kms-DEBUG: display:     MoveCursor pipe A, (0, 0)
(kms_psr_sink_crc:14192) igt-kms-DEBUG: display:     SetCrtc pipe B, disabling
(kms_psr_sink_crc:14192) igt-kms-DEBUG: display:     SetPlane pipe B, plane 1,
disabling
(kms_psr_sink_crc:14192) igt-kms-DEBUG: display:     SetCursor pipe B,
disabling
(kms_psr_sink_crc:14192) igt-kms-DEBUG: display:     MoveCursor pipe B, (0, 0)
(kms_psr_sink_crc:14192) igt-kms-DEBUG: display: }
(kms_psr_sink_crc:14192) igt-kms-DEBUG: display: A.0: plane_set_fb(99)
(kms_psr_sink_crc:14192) igt-kms-DEBUG: display: A.0: plane_set_size
(1920x1080)
(kms_psr_sink_crc:14192) igt-kms-DEBUG: display: A.0: fb_set_position(0,0)
(kms_psr_sink_crc:14192) igt-kms-DEBUG: display: A.0: fb_set_size(1920x1080)
(kms_psr_sink_crc:14192) igt-kms-DEBUG: display: commit {
(kms_psr_sink_crc:14192) igt-kms-DEBUG: display:     eDP-1: SetCrtc pipe A, fb
99, src (0, 0), mode 1920x1080
(kms_psr_sink_crc:14192) igt-kms-DEBUG: display: }
(kms_psr_sink_crc:14192) igt-core-DEBUG: Test requirement passed:
!igt_run_in_simulation()
(kms_psr_sink_crc:14192) igt-aux-DEBUG: Test requirement passed: (power_dir =
open("/sys/power", O_RDONLY)) >= 0
(kms_psr_sink_crc:14192) igt-aux-DEBUG: Test requirement passed:
get_supported_suspend_states(power_dir) & (1 << state)
(kms_psr_sink_crc:14192) igt-aux-DEBUG: Test requirement passed: test ==
SUSPEND_TEST_NONE || faccessat(power_dir, "pm_test", R_OK | W_OK, 0) == 0
(kms_psr_sink_crc:14192) igt-aux-DEBUG: Test requirement passed: ret == 0
(kms_psr_sink_crc:14192) igt-core-INFO: [cmd] rtcwake: assuming RTC uses UTC
...
rtcwake: wakeup from "mem" using /dev/rtc0 at Tue Nov  7 23:59:39 2017
(kms_psr_sink_crc:14192) igt-core-WARNING: [cmd] rtcwake: write error
(kms_psr_sink_crc:14192) igt-aux-CRITICAL: Test assertion failure function
suspend_via_rtcwake, file igt_aux.c:809:
(kms_psr_sink_crc:14192) igt-aux-CRITICAL: Failed assertion: ret == 0
(kms_psr_sink_crc:14192) igt-aux-CRITICAL: Last errno: 25, Inappropriate ioctl
for device
(kms_psr_sink_crc:14192) igt-aux-CRITICAL: rtcwake failed with 1
Check dmesg for further details.
(kms_psr_sink_crc:14192) igt-core-INFO: Stack trace:
(kms_psr_sink_crc:14192) igt-core-INFO:   #0 [__igt_fail_assert+0x101]
(kms_psr_sink_crc:14192) igt-core-INFO:   #1
[igt_system_suspend_autoresume+0x5ae]
(kms_psr_sink_crc:14192) igt-core-INFO:   #2 [<unknown>+0x5ae]
****  END  ****

This is my configuration:

======================================
        Graphic stack
======================================
Component: drm
    tag: libdrm-2.4.81-85-gf3091ba
    commit: f3091bac21a963f1a3d8ce5db85c0f2b4acbeb49

Component: cairo
    tag: 1.15.6-63-g3322580
    commit: 3322580f0488ff77f53d86c2b4d3cf59e6dca4c7

Component: intel-gpu-tools
    tag: intel-gpu-tools-1.19-470-gc8d1ea2
    commit: c8d1ea24d3bfaf11b223bbe22407aeca196d0d89

Component: piglit
    tag: piglit-v1
    commit: 81617842ba40efb295bda553763490412bf5d895

======================================
             Software
======================================
kernel version              : 4.14.0-rc7-drm-intel-qa-ww44-commit-2f945d9+
hostname                    : CFL-2
architecture                : x86_64
os version                  : Ubuntu 16.10
os codename                 : yakkety
kernel driver               : i915
bios revision               : 95.4
bios release date           : 07/24/2017
ksc                         : 1.5
hardware acceleration       : disabled
swap partition              : enabled on (/dev/sda3)

======================================
        Graphic drivers
======================================
grep: /opt/X11R7/var/log/Xorg.0.log: No such file or directory
libdrm                      : 2.4.87
cairo                       : 1.15.9
intel-gpu-tools (tag)       : intel-gpu-tools-1.19-470-gc8d1ea2
intel-gpu-tools (commit)    : c8d1ea2

======================================
             Hardware
======================================
motherboard model          : CoffeeLakeClientPlatform
motherboard id             : CoffeeLakeSUDIMMRVP
form factor                : Desktop
manufacturer               : IntelCorporation
cpu family                 : Other
cpu family id              : 6
cpu information            : Genuine Intel(R) CPU 0000 @ 3.60GHz
gpu card                   : Intel Corporation Device 3e92 (prog-if 00 [VGA
controller])
memory ram                 : 15.58 GB
max memory ram             : 32 GB
cpu thread                 : 12
cpu core                   : 6
cpu model                  : 158
cpu stepping               : 10
socket                     : Other
hard drive                 : 111GiB (120GB)
current cd clock frequency : 337500 kHz
maximum cd clock frequency : 675000 kHz
displays connected         : eDP-1

======================================
             Firmware
======================================
dmc fw loaded             : yes
dmc version               : 1.1
guc fw loaded             : fetch SUCCESS, load SUCCESS
guc version wanted        : wanted 9.14, found 9.14
guc version found         : wanted 9.14, found 9.14

======================================
             kernel parameters
======================================
quiet drm.debug=0x1e pci=pcie_bus_safe intel_iommu=igfx_off auto panic=1
nmi_watchdog=panic i915.alpha_support=1 i915.enable_guc_loading=2
i915.enable_guc_submission=2 resume=/dev/sda3 fastboot</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>