From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA; Thu, 16 Jul 2026 16:41:56 +0200 X-Sieve: CMU Sieve 2.4 Received: from mail-wr1-f61.google.com (mail-wr1-f61.google.com [209.85.221.61]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 66GEftHh031918 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 16 Jul 2026 16:41:55 +0200 Received: by mail-wr1-f61.google.com with SMTP id ffacd0b85a97d-473bc66c837sf5663331f8f.0 for ; Thu, 16 Jul 2026 07:41:55 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1784212910; cv=pass; d=google.com; s=arc-20260327; b=YIvjAihrnWF+Le8mnA7tol3bTf+dEclSIy+guD6KA+S7stF9d/UCVUbzPSBngCEqq7 EQrmrIOjo5idjVG4+bM2R+843nsLsz51dIurmqMoO8BH3HEdsPLatHenWmAkBRzY0JHW gok8u/H7u754ec5uHj8q6YtSlgjESDy57eUyHRydeyOjsYDn00UUhxJBQq2vc41/KWbG 93NjFiUlN4p3jAMNtFS+wjc+84vv6JutJN1UEEa6RlWAPeg8HtwEbBCcCtsu9I6yT43Y SnbUlRtQ4RFAP2cfHwYDuR4oYppfHVCP5jLyX96qJu2JmBc7d50csxG2ek5JJZad8xVd whsw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:mime-version:message-id:date :subject:to:from:sender:dkim-signature; bh=N+QzFnUqtEITUyyBLbiaplpE1YigRFZYjtIYm+4C7GA=; fh=NMYBH//UWbIWYeqCf0p9wICpsG4jwuPL2zHEPa6+cK8=; b=Hu/04VyeoSJO2hxrp6DY+Ehx49AXvS6kSwu1VO5ue/IM8m6HA4EPEQk6CqO69P9Dqa o/XtbfzIDFuiAxNCZinf0893UhkxYi2zgpd20FyMr2v5LD14Y8wjpvgFu5e+CUzazL8z mK2eqf+R2Y0bU4u7fzp3zFPqj4Hb3xxC6/QKRdX3P0zNMEfriN2MgigV5fqKsFg1CdsU u5BP7ohcKNeMp+2fdz5LJ8QzKSpHt5VZkWs7NHJQLH6O2k17r38mdFv+8f8/xj4/te8r gZezyBkSEyW7/9FRKbozyRWTSlX+ta3U0beTTGjTI7erSQIEioAeCSweCyLQgCD9fYZX hIhQ==; darn=ilbers.de ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of wzh@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=wzh@ilbers.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20251104; t=1784212910; x=1784817710; darn=ilbers.de; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:content-type :x-original-authentication-results:x-original-sender:mime-version :message-id:date:subject:to:from:sender:from:to:cc:subject:date :message-id:reply-to:content-type; bh=N+QzFnUqtEITUyyBLbiaplpE1YigRFZYjtIYm+4C7GA=; b=ThjdJyE/KTdyCe/xXhSo8hzUMMD+ltaF+8Kp3PVI7HKpHsU7hoGYYIZbqlakC4Ynrs WnhEKrq6XngFD91QwCdkr9FzlRLaZYkIJFOfC3lncpd+lzFOLmYbocGabeQq39d0K4x/ ln3tXQdGIz+sl8oRgCqqgmqbmPAF1uctnOFaDKED2hQ8B+b6gPBd+tPxjq1Gnb32C7S3 VfWPfmqmwqSH15tKTesNQBFiIbF+QOQEA660YVFm8qDjRexS1hMc+2G5R7cP25NJBV4R lx4zUkHV6mJAM9qAmXpfspZ4vbLbMEhZu1Jg5IAl1VheJmmBD8vBiOIyl9/ArBp8z1iE 4uqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784212910; x=1784817710; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :content-type:x-original-authentication-results:x-original-sender :mime-version:message-id:date:subject:to:from:x-beenthere :x-gm-message-state:sender:from:to:cc:subject:date:message-id :reply-to:content-type; bh=N+QzFnUqtEITUyyBLbiaplpE1YigRFZYjtIYm+4C7GA=; b=X9dlc6umTHtSUx1kUwObRHf+6TLitb7/eZ6z9vHcbLLbGQ6n8D1mU9E52YkeOQEozS 3/9DrSdRHkBy4CBkBsPb7cF9xc+aa/9pUujHoVq9vIWT6WfVdZJAhQSTLxReSe9edW+M lcXElGdGDxEegjBdMM3jhp+SKQltpHOsqykvkCjRgL/JEZWh1np4+lgEltV2fwQMzJkG SgCKNEK0AAgiTalSXvbxvDKFzshc6RSD7stJYJsMqsxrxyNP2NV44K3NwBoDiR0eYIJF tDQ4Nu1sSpnqKuu7SvE51smiHxIX16fRdwv+Cw8+JJ1HgKkGTfTgXE4YURQUIFULh8Uw +XMQ== Sender: isar-users@googlegroups.com X-Forwarded-Encrypted: i=2; AHgh+RojpRzfSySKLxdvvIehWB07lUMKWoZuN5Qa7m8oVh12B/jcGvM/N+ZqpseIxiss60c7Jvcq@ilbers.de X-Gm-Message-State: AOJu0YxpCBPflfliPiJE8vETdibILh5m6rA3jGglrksmn00PQYm0iaB6 +eEMZiBBbgK3OgAOUefdfA2x58SZWfzlpTWgRqGWhfLhBs6M7WaF0ykH X-Received: by 2002:a05:6000:4a08:b0:47e:9f03:e542 with SMTP id ffacd0b85a97d-47f4889fbddmr13539229f8f.45.1784212909830; Thu, 16 Jul 2026 07:41:49 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com; h="Aa7YSPRb6eCdXGHNCNYZzfehpZ5Cc3rxh+MqpwET4vYeqSvoog==" Received: by 2002:adf:ee10:0:b0:47f:55e4:b9f6 with SMTP id ffacd0b85a97d-47f5b849804ls444479f8f.0.-pod-prod-02-eu; Thu, 16 Jul 2026 07:41:47 -0700 (PDT) X-Received: by 2002:a5d:64e7:0:b0:475:f0d1:eb69 with SMTP id ffacd0b85a97d-47f488b75famr13828764f8f.54.1784212906705; Thu, 16 Jul 2026 07:41:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1784212906; cv=none; d=google.com; s=arc-20260327; b=I6Xgm/msYoRE2RNrfsNghaT9qTXeVfAzcpgnEQ7mSJQDe/Z7k4tsvTOJCrc949aqat sehMShPifq/6Yi5h7vaVJEybIsGV82SYWlJHRehanXq1vuvCjSb0VJvVytJs8sXHdD6K FHlxZ/VoeudfcxWSSphrzg4Gg0UqE2YfyHIvrlfN7il4V754LcxHvBbRRvW3bh+ZOdTD 0/LDgSoJh3ysWtAKTgCfCiKZm3tygM4WhhpdxbEqSr/WhPPblzEFDhVEMcWNbypmyfZV IA4rReb95vpE8Xu2RbLAXNOsdxW7iDbTQw2qv0YrioqM0GiUL8u3gxnnhV+oURlW99f2 60uA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from; bh=Fk5peY1DAvdWcEhQi8hAlGT1wN+B0Ym2wyJXAaxVkR0=; fh=7tclEdh7YbwSQowgJ6LNq720O7H5HTEaqj22NJWRE2E=; b=KR9bRbGkLMgxfFLTRgIIWwevaOqy96A75Q2sU0SxHJTKvGGGjHxKCXBe+iQXibQt4/ C2SZEOJjG92aO9aL45CjI8955S2Id0BF88pNBFarHBd64HcfNcLaipdlIKbEol4/EDnD 2g2wu9ranwPFfW9rABdgoabbcNc1HG5B+75m0DKuF9V1TPdBCYcLM+mXcvjaEq7A3oek aQjOAPhJkrhVQGgZzxmgF2W8OWMTwAlNDV2Lrh4Ql9j5mC3qYLj/ETFxA8IdFfvgbKY6 nDXBX8A8H6AwDqJgMN8vNDBahu3hAiicrg5emag7v7N5NS8Tr7WICJbtv8+/pBOH/VYv Y/sA==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of wzh@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=wzh@ilbers.de Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id ffacd0b85a97d-47f465174a9si175720f8f.7.2026.07.16.07.41.46 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 16 Jul 2026 07:41:46 -0700 (PDT) Received-SPF: pass (google.com: domain of wzh@ilbers.de designates 85.214.156.166 as permitted sender) client-ip=85.214.156.166; Received: from debian-zwei.m.ilbers.de ([88.130.203.42]) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPA id 66GEfj7J031903 for ; Thu, 16 Jul 2026 16:41:46 +0200 From: Zhihang Wei To: isar-users@googlegroups.com Subject: [PATCH v2 1/2] testsuite: Support cleanup on rootless build files in test-container Date: Thu, 16 Jul 2026 16:41:44 +0200 Message-Id: <20260716144145.1495181-1-wzh@ilbers.de> X-Mailer: git-send-email 2.39.5 MIME-Version: 1.0 X-Spam-Status: No, score=-4.6 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2, RCVD_IN_RP_CERTIFIED,RCVD_IN_RP_RNBL,RCVD_IN_RP_SAFE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on shymkent.ilbers.de X-Original-Sender: wzh@ilbers.de X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of wzh@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=wzh@ilbers.de Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list isar-users@googlegroups.com; contact isar-users+owners@googlegroups.com List-ID: X-Spam-Checked-In-Group: isar-users@googlegroups.com X-Google-Group-Id: 914930254986 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , X-TUID: o5CAAzOhPP3w When running tests with rootless builds, some files created with the user namespace inside the container cannot be removed by the calling user after the test-container exits without sudo. Add the `--clean-rootless-files` option to the test-container entrypoint to clean up such files before leaving the container. The cleanup is only performed for rootless builds and only removes files that cannot be cleaned up without sudo outside the container. Other build artifacts are left untouched so they remain available for CI artifact collection and post-test inspection. Signed-off-by: Zhihang Wei --- .../dockerdata/test-container-entrypoint | 38 +++++++++++++++++-- 1 file changed, 34 insertions(+), 4 deletions(-) diff --git a/testsuite/dockerdata/test-container-entrypoint b/testsuite/dockerdata/test-container-entrypoint index e4714942..745d181b 100755 --- a/testsuite/dockerdata/test-container-entrypoint +++ b/testsuite/dockerdata/test-container-entrypoint @@ -17,6 +17,8 @@ else shift 1 fi +clean_rootless_files=0 + export args="--max-parallel-tasks=1 --disable-sysinfo" for arg in $*; do case "$arg" in @@ -29,15 +31,19 @@ for arg in $*; do --shell) export start_shell=1 ;; + --clean-rootless-files) + clean_rootless_files=1 + ;; --help) cat <