Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH] [i-g-t] tests/amdgpu/amd_mem_leak: add delay after igt_system_suspend_autoresume
@ 2023-04-24 13:30 Hersen Wu
  2023-04-24 15:37 ` [igt-dev] ✗ Fi.CI.BAT: failure for " Patchwork
  0 siblings, 1 reply; 3+ messages in thread
From: Hersen Wu @ 2023-04-24 13:30 UTC (permalink / raw)
  To: igt-dev, rodrigo.siqueira, aurabindo.pillai, alex.hung,
	hamza.mahfooz
  Cc: Hersen Wu

at call back of igt_system_suspend_autoresume, linux kernel resume
finish and in d0 state. but user mode components may not be fully
out of sleep mode. add delay wait for system stable before checking
memory leak.

Signed-off-by: Hersen Wu <hersenxs.wu@amd.com>
---
 tests/amdgpu/amd_mem_leak.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/amdgpu/amd_mem_leak.c b/tests/amdgpu/amd_mem_leak.c
index dee563cb..7d920c11 100644
--- a/tests/amdgpu/amd_mem_leak.c
+++ b/tests/amdgpu/amd_mem_leak.c
@@ -173,6 +173,7 @@ static void test_suspend_resume(data_t *data)
 	igt_display_commit_atomic(display, DRM_MODE_ATOMIC_ALLOW_MODESET, NULL);
 
 	igt_system_suspend_autoresume(SUSPEND_STATE_MEM, SUSPEND_TEST_NONE);
+	sleep(30);
 
 	igt_assert_f(check_memleak(data), "memory leak detected\n");
 
-- 
2.25.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [igt-dev] ✗ Fi.CI.BAT: failure for tests/amdgpu/amd_mem_leak: add delay after igt_system_suspend_autoresume
  2023-04-24 13:30 [igt-dev] [PATCH] [i-g-t] tests/amdgpu/amd_mem_leak: add delay after igt_system_suspend_autoresume Hersen Wu
@ 2023-04-24 15:37 ` Patchwork
  2023-04-24 16:38   ` Kamil Konieczny
  0 siblings, 1 reply; 3+ messages in thread
From: Patchwork @ 2023-04-24 15:37 UTC (permalink / raw)
  To: Hersen Wu; +Cc: igt-dev

[-- Attachment #1: Type: text/plain, Size: 3868 bytes --]

== Series Details ==

Series: tests/amdgpu/amd_mem_leak: add delay after igt_system_suspend_autoresume
URL   : https://patchwork.freedesktop.org/series/116889/
State : failure

== Summary ==

CI Bug Log - changes from CI_DRM_13054 -> IGTPW_8846
====================================================

Summary
-------

  **FAILURE**

  Serious unknown changes coming with IGTPW_8846 absolutely need to be
  verified manually.
  
  If you think the reported changes have nothing to do with the changes
  introduced in IGTPW_8846, please notify your bug team to allow them
  to document this new failure mode, which will reduce false positives in CI.

  External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8846/index.html

Participating hosts (38 -> 37)
------------------------------

  Missing    (1): fi-snb-2520m 

Possible new issues
-------------------

  Here are the unknown changes that may have been introduced in IGTPW_8846:

### IGT changes ###

#### Possible regressions ####

  * igt@i915_suspend@basic-s3-without-i915:
    - fi-cfl-8700k:       [PASS][1] -> [ABORT][2]
   [1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13054/fi-cfl-8700k/igt@i915_suspend@basic-s3-without-i915.html
   [2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8846/fi-cfl-8700k/igt@i915_suspend@basic-s3-without-i915.html

  
Known issues
------------

  Here are the changes found in IGTPW_8846 that come from known issues:

### IGT changes ###

#### Issues hit ####

  * igt@gem_exec_suspend@basic-s3@smem:
    - bat-rpls-1:         NOTRUN -> [ABORT][3] ([i915#6687] / [i915#7978])
   [3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8846/bat-rpls-1/igt@gem_exec_suspend@basic-s3@smem.html

  * igt@i915_pm_rps@basic-api:
    - bat-dg1-5:          [PASS][4] -> [FAIL][5] ([i915#8308])
   [4]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13054/bat-dg1-5/igt@i915_pm_rps@basic-api.html
   [5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8846/bat-dg1-5/igt@i915_pm_rps@basic-api.html

  * igt@i915_selftest@live@slpc:
    - bat-rpls-1:         NOTRUN -> [DMESG-FAIL][6] ([i915#6367])
   [6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8846/bat-rpls-1/igt@i915_selftest@live@slpc.html

  
#### Possible fixes ####

  * igt@i915_selftest@live@migrate:
    - bat-adlp-6:         [DMESG-FAIL][7] ([i915#7699]) -> [PASS][8]
   [7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13054/bat-adlp-6/igt@i915_selftest@live@migrate.html
   [8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8846/bat-adlp-6/igt@i915_selftest@live@migrate.html

  * igt@i915_selftest@live@requests:
    - bat-rpls-1:         [ABORT][9] ([i915#4983] / [i915#7911]) -> [PASS][10]
   [9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13054/bat-rpls-1/igt@i915_selftest@live@requests.html
   [10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8846/bat-rpls-1/igt@i915_selftest@live@requests.html

  
  [i915#4983]: https://gitlab.freedesktop.org/drm/intel/issues/4983
  [i915#6367]: https://gitlab.freedesktop.org/drm/intel/issues/6367
  [i915#6687]: https://gitlab.freedesktop.org/drm/intel/issues/6687
  [i915#7699]: https://gitlab.freedesktop.org/drm/intel/issues/7699
  [i915#7911]: https://gitlab.freedesktop.org/drm/intel/issues/7911
  [i915#7978]: https://gitlab.freedesktop.org/drm/intel/issues/7978
  [i915#8308]: https://gitlab.freedesktop.org/drm/intel/issues/8308


Build changes
-------------

  * CI: CI-20190529 -> None
  * IGT: IGT_7266 -> IGTPW_8846

  CI-20190529: 20190529
  CI_DRM_13054: 8cabe2adb8e028197f9535daffd3d5ff98d51d8b @ git://anongit.freedesktop.org/gfx-ci/linux
  IGTPW_8846: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8846/index.html
  IGT_7266: 94411dd85f9ad6d76fb7b2097197122703a3914c @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8846/index.html

[-- Attachment #2: Type: text/html, Size: 4616 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [igt-dev] ✗ Fi.CI.BAT: failure for tests/amdgpu/amd_mem_leak: add delay after igt_system_suspend_autoresume
  2023-04-24 15:37 ` [igt-dev] ✗ Fi.CI.BAT: failure for " Patchwork
@ 2023-04-24 16:38   ` Kamil Konieczny
  0 siblings, 0 replies; 3+ messages in thread
From: Kamil Konieczny @ 2023-04-24 16:38 UTC (permalink / raw)
  To: igt-dev; +Cc: SanjuX Marikkar

Hi Sai,

this is unrelated to i915 regressions,

Regards,
Kamil

On 2023-04-24 at 15:37:03 -0000, Patchwork wrote:
> == Series Details ==
> 
> Series: tests/amdgpu/amd_mem_leak: add delay after igt_system_suspend_autoresume
> URL   : https://patchwork.freedesktop.org/series/116889/
> State : failure
> 
> == Summary ==
> 
> CI Bug Log - changes from CI_DRM_13054 -> IGTPW_8846
> ====================================================
> 
> Summary
> -------
> 
>   **FAILURE**
> 
>   Serious unknown changes coming with IGTPW_8846 absolutely need to be
>   verified manually.
>   
>   If you think the reported changes have nothing to do with the changes
>   introduced in IGTPW_8846, please notify your bug team to allow them
>   to document this new failure mode, which will reduce false positives in CI.
> 
>   External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8846/index.html
> 
> Participating hosts (38 -> 37)
> ------------------------------
> 
>   Missing    (1): fi-snb-2520m 
> 
> Possible new issues
> -------------------
> 
>   Here are the unknown changes that may have been introduced in IGTPW_8846:
> 
> ### IGT changes ###
> 
> #### Possible regressions ####
> 
>   * igt@i915_suspend@basic-s3-without-i915:
>     - fi-cfl-8700k:       [PASS][1] -> [ABORT][2]
>    [1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13054/fi-cfl-8700k/igt@i915_suspend@basic-s3-without-i915.html
>    [2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8846/fi-cfl-8700k/igt@i915_suspend@basic-s3-without-i915.html
> 
>   
> Known issues
> ------------
> 
>   Here are the changes found in IGTPW_8846 that come from known issues:
> 
> ### IGT changes ###
> 
> #### Issues hit ####
> 
>   * igt@gem_exec_suspend@basic-s3@smem:
>     - bat-rpls-1:         NOTRUN -> [ABORT][3] ([i915#6687] / [i915#7978])
>    [3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8846/bat-rpls-1/igt@gem_exec_suspend@basic-s3@smem.html
> 
>   * igt@i915_pm_rps@basic-api:
>     - bat-dg1-5:          [PASS][4] -> [FAIL][5] ([i915#8308])
>    [4]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13054/bat-dg1-5/igt@i915_pm_rps@basic-api.html
>    [5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8846/bat-dg1-5/igt@i915_pm_rps@basic-api.html
> 
>   * igt@i915_selftest@live@slpc:
>     - bat-rpls-1:         NOTRUN -> [DMESG-FAIL][6] ([i915#6367])
>    [6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8846/bat-rpls-1/igt@i915_selftest@live@slpc.html
> 
>   
> #### Possible fixes ####
> 
>   * igt@i915_selftest@live@migrate:
>     - bat-adlp-6:         [DMESG-FAIL][7] ([i915#7699]) -> [PASS][8]
>    [7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13054/bat-adlp-6/igt@i915_selftest@live@migrate.html
>    [8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8846/bat-adlp-6/igt@i915_selftest@live@migrate.html
> 
>   * igt@i915_selftest@live@requests:
>     - bat-rpls-1:         [ABORT][9] ([i915#4983] / [i915#7911]) -> [PASS][10]
>    [9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13054/bat-rpls-1/igt@i915_selftest@live@requests.html
>    [10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8846/bat-rpls-1/igt@i915_selftest@live@requests.html
> 
>   
>   [i915#4983]: https://gitlab.freedesktop.org/drm/intel/issues/4983
>   [i915#6367]: https://gitlab.freedesktop.org/drm/intel/issues/6367
>   [i915#6687]: https://gitlab.freedesktop.org/drm/intel/issues/6687
>   [i915#7699]: https://gitlab.freedesktop.org/drm/intel/issues/7699
>   [i915#7911]: https://gitlab.freedesktop.org/drm/intel/issues/7911
>   [i915#7978]: https://gitlab.freedesktop.org/drm/intel/issues/7978
>   [i915#8308]: https://gitlab.freedesktop.org/drm/intel/issues/8308
> 
> 
> Build changes
> -------------
> 
>   * CI: CI-20190529 -> None
>   * IGT: IGT_7266 -> IGTPW_8846
> 
>   CI-20190529: 20190529
>   CI_DRM_13054: 8cabe2adb8e028197f9535daffd3d5ff98d51d8b @ git://anongit.freedesktop.org/gfx-ci/linux
>   IGTPW_8846: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8846/index.html
>   IGT_7266: 94411dd85f9ad6d76fb7b2097197122703a3914c @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
> 
> == Logs ==
> 
> For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8846/index.html

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-04-24 16:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-24 13:30 [igt-dev] [PATCH] [i-g-t] tests/amdgpu/amd_mem_leak: add delay after igt_system_suspend_autoresume Hersen Wu
2023-04-24 15:37 ` [igt-dev] ✗ Fi.CI.BAT: failure for " Patchwork
2023-04-24 16:38   ` Kamil Konieczny

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox