From patchwork Thu Jan 29 12:49:09 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Barnab=C3=A1s_P=C5=91cze?= X-Patchwork-Id: 26040 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id DD08CC3226 for ; Thu, 29 Jan 2026 12:49:17 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 9049161FD5; Thu, 29 Jan 2026 13:49:17 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="EjIakKhv"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 5EADD615B2 for ; Thu, 29 Jan 2026 13:49:14 +0100 (CET) Received: from pb-laptop.local (185.221.142.123.nat.pool.zt.hu [185.221.142.123]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 22E2E2147; Thu, 29 Jan 2026 13:48:35 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1769690916; bh=DZZCLyq+uKcnNRCm6t+E0e4qk2PXVJjIoIyqjVrRg84=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=EjIakKhvqyggDsn2NpJN5ZBW8jXC9/bqKOuSVyTgi/f5KfwDSvwF2s85eF2oT8gJc oqqPGdCYbgSq/UJwaxSmCbxvv/TXFgSe30iTalsKfBhnX+mmgqHS7kx/o3pa56IBT9 YR7ot9UPAal5LUGw1DtkererSTA/yuGpHcrDMe9g= From: =?utf-8?q?Barnab=C3=A1s_P=C5=91cze?= To: libcamera-devel@lists.libcamera.org Cc: Laurent Pinchart Subject: [libcamera-ci] [PATCH v3 2/2] Update virtme-ng to 1.40 Date: Thu, 29 Jan 2026 13:49:09 +0100 Message-ID: <20260129124909.1258870-2-barnabas.pocze@ideasonboard.com> X-Mailer: git-send-email 2.52.0 In-Reply-To: <20260129124909.1258870-1-barnabas.pocze@ideasonboard.com> References: <20260129124909.1258870-1-barnabas.pocze@ideasonboard.com> MIME-Version: 1.0 X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" This enables the removal of the exit code workaround since the exit code is now propagated to the host[0]. However, the single argument `--rwdir` does not work as it did in 1.18, and the `=` form must be used otherwise virtme-ng refuses to start[1]: error: cannot initialize inside the guest (path must be defined inside a valid overlay) [0]: https://github.com/arighi/virtme-ng/pull/61 [1]: https://github.com/arighi/virtme-ng/issues/409 Signed-off-by: Barnabás Pőcze Reviewed-by: Laurent Pinchart --- changes in v3: * do not mount tmpfs to /tmp (requires https://patchwork.libcamera.org/patch/26038/) v2: https://patchwork.libcamera.org/patch/25957/ --- .gitlab-ci/test-lc-compliance.sh | 6 ++---- .gitlab-ci/test-libcamera-qemu.sh | 7 +++---- gitlab-ci.yml | 2 +- 3 files changed, 6 insertions(+), 9 deletions(-) -- 2.52.0 diff --git a/.gitlab-ci/test-lc-compliance.sh b/.gitlab-ci/test-lc-compliance.sh index 6208723..a888cae 100755 --- a/.gitlab-ci/test-lc-compliance.sh +++ b/.gitlab-ci/test-lc-compliance.sh @@ -14,7 +14,7 @@ libcamera_compliance() { --verbose \ --skip-modules \ --force-9p \ - --rwdir "$PWD/build" \ + --rwdir "$PWD/build=$PWD/build" \ --run /opt/linux/bzImage \ --exec " \ set -x; \ @@ -25,12 +25,10 @@ libcamera_compliance() { UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 \ GTEST_OUTPUT=xml:./build/lc-compliance-report.xml \ lc-compliance -c Virtual0; \ - echo \\\$? > ./build/.test-status; \ " - local status=$(cat build/.test-status) + local status=$? echo "Test result exit state: $status" - rm build/.test-status if [[ $status != 0 ]] ; then exit $status diff --git a/.gitlab-ci/test-libcamera-qemu.sh b/.gitlab-ci/test-libcamera-qemu.sh index f9de5ab..7a05137 100755 --- a/.gitlab-ci/test-libcamera-qemu.sh +++ b/.gitlab-ci/test-libcamera-qemu.sh @@ -24,13 +24,12 @@ libcamera_unit_test() { echo "Running libcamera tests in a qemu VM" virtme-ng --verbose --skip-modules --force-9p \ - --rwdir "$PWD/build" \ + --rwdir "$PWD/build=$PWD/build" \ --run /opt/linux/bzImage \ - --exec "meson test -C build --no-rebuild --print-errorlogs; echo \\\$? > build/.test-status" + --exec "meson test -C build --no-rebuild --print-errorlogs" - local status=$(cat build/.test-status) + local status=$? echo "Test result exit state: $status" - rm build/.test-status if [[ $status != 0 ]] ; then exit $status diff --git a/gitlab-ci.yml b/gitlab-ci.yml index bd5df66..3f80cb8 100644 --- a/gitlab-ci.yml +++ b/gitlab-ci.yml @@ -34,7 +34,7 @@ variables: ca-certificates git VIRTME_GIT_URL: 'https://github.com/arighi/virtme-ng.git' - VIRTME_GIT_REF: 'v1.18' + VIRTME_GIT_REF: 'v1.40' # Jobs that test individual commits need more history to find the common # ancestor of the branch being tested and the default branch. Fetch up to 100