Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8E384C282EC for ; Mon, 17 Mar 2025 08:16:40 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id C00E410E33E; Mon, 17 Mar 2025 08:16:39 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=collabora.com header.i=@collabora.com header.b="anoOxtlR"; dkim-atps=neutral Received: from bali.collaboradmins.com (bali.collaboradmins.com [148.251.105.195]) by gabe.freedesktop.org (Postfix) with ESMTPS id 9252B10E33E for ; Mon, 17 Mar 2025 08:16:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1742199393; bh=c6EOthO2QTraqb0ciH4MDF7R5MtHBXi1rwZve1rxnSg=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=anoOxtlRv96kPvm7cMHXlJSLRaJCGrJzWDgG51XQJ2G15YHvMe7QJuCaLdxTNg06L a1RYuKOGR+0VvsWpfOBQkcNvOtG7PsUnoOsdjKG6UuYq3kpc63SmotSdN2/XLXgwpa cEUWgHDblTCxxR+TccGTqytlGtAr328TCD068kRgd8FpnfzAWfweuigPjyrNmvxC8c DyrrCkYYdSQ1ntJD2OEaNmznz4UqXCafH7Zeezftok6ziVmUhVcMzASuZr8mX9jkCK /Phv3U/p82w5a7of9ELWhUJGPRwzJcBPCNo6jpPWb9PQMlnKVxcQa12iyNHv5b9bt+ USn4aj2ImM5HQ== Received: from [192.168.50.250] (unknown [171.76.87.92]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: vignesh) by bali.collaboradmins.com (Postfix) with ESMTPSA id 1D75417E05C8; Mon, 17 Mar 2025 09:16:30 +0100 (CET) Message-ID: Date: Mon, 17 Mar 2025 13:46:22 +0530 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: drm-ci: vkms: kms_flip@modeset-vs-vblank-race flake To: Louis Chauvet , dri-devel Cc: "hamohammed.sa" , simona.vetter@ffwll.ch, "melissa.srw" , "maarten.lankhorst" , Maxime Ripard , tzimmermann , airlied , =?UTF-8?Q?Ma=C3=ADra_Canal?= , daniels , sergi.blanch.torne@collabora.com, "guilherme.gallo" , Helen Mae Koike Fornazier , corentin.noel@collabora.com References: <2364a6bf-e6bc-4741-8c78-cea8bdb06e03@collabora.com> <1ebda1a2-779b-4642-9df2-d24cbf223875@bootlin.com> Content-Language: en-US From: Vignesh Raman In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Hi Louis, On 14/03/25 20:01, Louis Chauvet wrote: > > > Le 14/03/2025 à 13:11, Vignesh Raman a écrit : >> Hi Louis, >> >> On 13/03/25 19:30, Louis Chauvet wrote: >>> >>> >>> Le 13/03/2025 à 11:45, Vignesh Raman a écrit : >>>> Hi Maintainers, >>>> >>> >>> Hi Vignesh, >>> >>> Thanks for the report. >>> >>> On my setup, this test passed, and the others are skipped. >>> >>> I think the issue on this specific test may be due to performance (seems >>> to be a timing issue, I will try to slow down my VM). The other tests >>> require suspend/resume, which I failed to setup on my VM. >>> >>> To understand what is wrong, I would like to have an environment very >>> similar to the CI, how can I reproduce this on my machine? Is there a >>> setup script somewhere I can run to create a virtual machine? >> >> You can follow the instructions below to use the same container that >> drm-ci uses from mesa (From pipeline >> https://gitlab.freedesktop.org/vigneshraman/linux/-/jobs/72473690). >> drm-ci uses the crosvm-runner.sh script. You can also build specific IGT >> version and run the tests from the container. Thanks Corentin for the >> documentation. >> >> https://gitlab.collabora.com/virgl-es/documentation/-/blob/master/dev- >> ci-container.md > > Thank you so much for those information, but I think this gitlab > instance is private, is there a public repository somewhere? Please can you check this link, https://github.com/vigneshraman/dev-ci-container/blob/main/dev-ci-container.md Regards, Vignesh > > Have a nice day, > Louis Chauvet > >> If you want to run only specific tests for vkms in drm-ci, you can use >> this commit, >> https://gitlab.freedesktop.org/vigneshraman/linux/-/ >> commit/0773affa01a4347056c891bc58887ae1daa0161c >> >> Once the pipeline is created you can use the ci_run_n_monitor.py [1] >> from mesa project to run only vkms and its dependent jobs. >> >> ../mesa/bin/ci/ci_run_n_monitor.py --pipeline-url >> https://gitlab.freedesktop.org/vigneshraman/linux/-/pipelines/1384344 >> --target vkms:none >> >> [1] >> https://gitlab.freedesktop.org/mesa/mesa/-/blob/main/bin/ci/ >> ci_run_n_monitor.py >> >> Please let us know if you need more information. Thanks. >> >> Regards, >> Vignesh >> >>> >>> Thanks, >>> Louis Chauvet >>> >>>> There are some flake test reported for vkms driver testing in drm-ci. >>>> >>>> # Board Name: vkms >>>> # Failure Rate: 20 >>>> # IGT Version: 1.30-g04bedb923 >>>> # Linux Version: 6.14.0-rc4 >>>> kms_flip@modeset-vs-vblank-race >>>> >>>> DEBUG - Begin test kms_flip@modeset-vs-vblank-race >>>> ERROR - Igt error: (kms_flip:1250) CRITICAL: Test assertion failure >>>> function run_test_step, file ../tests/kms_flip.c:979: >>>> ERROR - Igt error: (kms_flip:1250) CRITICAL: Failed assertion: end - >>>> start > 0.9 * actual_frame_time(o) && end - start < 2.6 * >>>> actual_frame_time(o) >>>> ERROR - Igt error: (kms_flip:1250) CRITICAL: wait for two vblanks took >>>> 47374 usec (frame time 16665.600000 usec) >>>> ERROR - Igt error: Dynamic subtest A-Virtual17 failed. >>>> ERROR - Igt error: **** DEBUG **** >>>> ERROR - Igt error: (kms_flip:1250) igt_fb-DEBUG: >>>> igt_create_fb_with_bo_size(width=1024, height=768, >>>> format=XR24(0x34325258), modifier=0x0, size=0) >>>> ERROR - Igt error: (kms_flip:1250) igt_fb-DEBUG: >>>> igt_create_fb_with_bo_size(handle=1, pitch=4096) >>>> ERROR - Igt error: (kms_flip:1250) ioctl_wrappers-DEBUG: Test >>>> requirement passed: igt_has_fb_modifiers(fd) >>>> ERROR - Igt error: (kms_flip:1250) igt_fb-DEBUG: >>>> igt_create_fb_with_bo_size(width=1024, height=768, >>>> format=XR24(0x34325258), modifier=0x0, size=0) >>>> ERROR - Igt error: (kms_flip:1250) igt_fb-DEBUG: >>>> igt_create_fb_with_bo_size(handle=2, pitch=4096) >>>> ERROR - Igt error: (kms_flip:1250) ioctl_wrappers-DEBUG: Test >>>> requirement passed: igt_has_fb_modifiers(fd) >>>> ERROR - Igt error: (kms_flip:1250) igt_fb-DEBUG: Test requirement >>>> passed: cairo_surface_status(fb->cairo_surface) == CAIRO_STATUS_SUCCESS >>>> ERROR - Igt error: (kms_flip:1250) igt_fb-DEBUG: Test requirement >>>> passed: cairo_surface_status(fb->cairo_surface) == CAIRO_STATUS_SUCCESS >>>> ERROR - Igt error: (kms_flip:1250) igt_kms-INFO:   1024x768: 60 65000 >>>> 1024 1048 1184 1344 768 771 777 806 0x48 0xa >>>> ERROR - Igt error: (kms_flip:1250) DEBUG: No stale events found >>>> ERROR - Igt error: (kms_flip:1250) INFO: Expected frametime: 16666us; >>>> measured 16665.6us +- 0.500us accuracy 0.01% >>>> ERROR - Igt error: (kms_flip:1250) CRITICAL: Test assertion failure >>>> function run_test_step, file ../tests/kms_flip.c:979: >>>> ERROR - Igt error: (kms_flip:1250) CRITICAL: Failed assertion: end - >>>> start > 0.9 * actual_frame_time(o) && end - start < 2.6 * >>>> actual_frame_time(o) >>>> ERROR - Igt error: (kms_flip:1250) CRITICAL: wait for two vblanks took >>>> 47374 usec (frame time 16665.600000 usec) >>>> ERROR - Igt error: (kms_flip:1250) igt_core-INFO: Stack trace: >>>> ERROR - Igt error: (kms_flip:1250) igt_core-INFO:   #0 >>>> ../lib/igt_core.c:2055 __igt_fail_assert() >>>> ERROR - Igt error: (kms_flip:1250) igt_core-INFO:   #1 >>>> ../tests/kms_flip.c:1023 run_test_on_crtc_set.constprop.0() >>>> ERROR - Igt error: (kms_flip:1250) igt_core-INFO:   #2 >>>> ../tests/kms_flip.c:1845 run_test() >>>> ERROR - Igt error: (kms_flip:1250) igt_core-INFO:   #3 >>>> ../tests/kms_flip.c:2078 __igt_unique____real_main2001() >>>> ERROR - Igt error: (kms_flip:1250) igt_core-INFO:   #4 >>>> ../tests/kms_flip.c:2001 main() >>>> ERROR - Igt error: (kms_flip:1250) igt_core-INFO:   #5 >>>> [__libc_init_first+0x8a] >>>> ERROR - Igt error: (kms_flip:1250) igt_core-INFO:   #6 >>>> [__libc_start_main+0x85] >>>> ERROR - Igt error: (kms_flip:1250) igt_core-INFO:   #7 [_start+0x21] >>>> ERROR - Igt error: ****  END  **** >>>> ERROR - Igt error: (kms_flip:1250) igt_kms-CRITICAL: Test assertion >>>> failure function kmstest_set_connector_dpms, file ../lib/ >>>> igt_kms.c:2246: >>>> ERROR - Igt error: (kms_flip:1250) igt_kms-CRITICAL: Failed assertion: >>>> found_it >>>> ERROR - Igt error: (kms_flip:1250) igt_kms-CRITICAL: Last errno: 9, Bad >>>> file descriptor >>>> ERROR - Igt error: (kms_flip:1250) igt_kms-CRITICAL: DPMS property not >>>> found on 39 >>>> ERROR - Test kms_flip@modeset-vs-vblank-race: Fail: See >>>> "/builds/vigneshraman/linux/results/igt.kms_flip@modeset-vs-vblank- >>>> race.log" >>>> DEBUG - End test kms_flip@modeset-vs-vblank-race >>>> >>>> Pipeline: https://gitlab.freedesktop.org/vigneshraman/linux/-/ >>>> jobs/72473690 >>>> >>>> Please could you have a look at these test results and let us know if >>>> you need more information. Thank you. >>>> >>>> Regards, >>>> Vignesh >>> >> >