From unknown Thu Aug 14 22:22:36 2025 X-Loop: help-debbugs@gnu.org Subject: bug#62778: continuous integration test failure Resent-From: Bruno Haible Original-Sender: "Debbugs-submit" Resent-CC: bug-gzip@gnu.org Resent-Date: Tue, 11 Apr 2023 17:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 62778 X-GNU-PR-Package: gzip X-GNU-PR-Keywords: To: 62778@debbugs.gnu.org X-Debbugs-Original-To: bug-gzip@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.168123318413308 (code B ref -1); Tue, 11 Apr 2023 17:14:01 +0000 Received: (at submit) by debbugs.gnu.org; 11 Apr 2023 17:13:04 +0000 Received: from localhost ([127.0.0.1]:38101 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pmHYF-0003Sa-QO for submit@debbugs.gnu.org; Tue, 11 Apr 2023 13:13:04 -0400 Received: from lists.gnu.org ([209.51.188.17]:43958) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pmHYD-0003Rh-Go for submit@debbugs.gnu.org; Tue, 11 Apr 2023 13:13:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pmHY7-0002Jo-Sp for bug-gzip@gnu.org; Tue, 11 Apr 2023 13:12:57 -0400 Received: from mo4-p00-ob.smtp.rzone.de ([81.169.146.221]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pmHY5-0006QZ-NN for bug-gzip@gnu.org; Tue, 11 Apr 2023 13:12:55 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1681233170; cv=none; d=strato.com; s=strato-dkim-0002; b=BmFud95qugeTtrhP7EKMBo2OLWVRu8bV8ZQ5Yg2b3iKRqr2rH38I5sHIaJsWKWErgV Q3XgdgHUk0KfOfl4t1JA0oXsL4ljU3jTprVqjl+tT/jKR9Hp/vljpZ1GLy6t17t5pUWn ncOnzYE1Kt85fck8CSkwOkDl8D63TNRw9LYxKNMhDGbCabKe4rH1Z9RCCfLu1Np4sYWZ MovSstSbZ+K7zQ10Ki1B2f5ybnpT1XUeK2yl5bieRNEHUeLqSOoSPjEPMZNYmKQ29JFE tM1f7utnYzESfy1ht+yTfEpkNjDpXNVazIVtTSHgjjAaaFHznfXQI7pGLSW7UqlCl94a QRoQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1681233170; s=strato-dkim-0002; d=strato.com; h=Message-ID:Date:Subject:To:From:Cc:Date:From:Subject:Sender; bh=Qb3/IQ7yJYeT9HCtXexcHiRKS0lxtlweVuchNqsw+nc=; b=dfCOVTr6A0zwfSurpycvrTgPCRy0L07+hwDeUMxFuJcSYa9qjFHrG+uI3Y3REc6yxW 0KWNgSdyAXlEl9hQgui1P60uYruSVzWaCoMKpK/rVXI2XZqWyuMj21XKswiMk6QLSyS9 vHKn98uvENQ/ixxeZkayOR8Uzws02o9THNMB6w/JlELvP1/8Lmc0Tio3UrxnS4pIQEGo LmgBbWB9GntFfkH2aIMGTg1T9fA9ZjRuCLAFDPR+6e/YLGkisOa8t+TOcqq603cwnjPt 26hq+eS3qTgkMPCsnmRfIl525P/selkjARQobgzXJeUDHUcqcThMOX1Ds5NO7gbtSUkv LMrg== ARC-Authentication-Results: i=1; strato.com; arc=none; dkim=none X-RZG-CLASS-ID: mo00 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1681233170; s=strato-dkim-0002; d=clisp.org; h=Message-ID:Date:Subject:To:From:Cc:Date:From:Subject:Sender; bh=Qb3/IQ7yJYeT9HCtXexcHiRKS0lxtlweVuchNqsw+nc=; b=QQzKUIz6pCRODSqcM8Wu5geLAD3A+7iZr2/vnPSx2hNpqaaO2EHj+Q226wFwIpX+df vxIdlW8/ZQLX4yUVUAgGeA2EblmOkU9nbcUxUmzH6kIjl0UCi0yGxqsDbVPshC8bOo4V O+mgtTOIIctnH2AyaHMB36vNdMKlswIsgnu0xhd06KxjLfmPn2f7gIC9vHBascElXXzV 6zVzpRqbE/1PlH7+ET3zVQ9FNlr/zHuocFrw/41oG83bxKSo7LnxiagrI5b111eYtvYX eN6bXVrnCkRjO7i6RblAZ78T/YtZJfmfXnVJGefXIrOft0fXKYvSl1TV7JZ27Lbo2Mgm QlQA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; t=1681233169; s=strato-dkim-0003; d=clisp.org; h=Message-ID:Date:Subject:To:From:Cc:Date:From:Subject:Sender; bh=Qb3/IQ7yJYeT9HCtXexcHiRKS0lxtlweVuchNqsw+nc=; b=ZrFPEyR/kri0fAQBhJRSkGXomIFZOpbl+CU/ZMS+B+WxR6on6xZkM8l6rn8+Gbmpe9 vFqnuXgfYwTSfE3FS/Bg== X-RZG-AUTH: ":Ln4Re0+Ic/6oZXR1YgKryK8brlshOcZlIWs+iCP5vnk6shH0WWb0LN8XZoH94zq68+3cfpOS26TOAAnlF4GkwLedNvZatGzI/Q==" Received: from nimes.localnet by smtp.strato.de (RZmta 49.4.0 AUTH) with ESMTPSA id D064b6z3BHCnjAB (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate); Tue, 11 Apr 2023 19:12:49 +0200 (CEST) From: Bruno Haible Date: Tue, 11 Apr 2023 19:12:49 +0200 Message-ID: <5881886.z1itQsCWp9@nimes> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="nextPart19065454.WiZsEGxfJz" Content-Transfer-Encoding: 7Bit Received-SPF: none client-ip=81.169.146.221; envelope-from=bruno@clisp.org; helo=mo4-p00-ob.smtp.rzone.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) This is a multi-part message in MIME format. --nextPart19065454.WiZsEGxfJz Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" Hi Jim, The continuous integration at https://gitlab.com/gnu-gzip/ci-distcheck/ shows a test failure: =46AIL: write-error =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =2E./../../sources/gzip/build-aux/test-driver: line 107: ../../../sources/g= zip/tests/write-error: Permission denied =46AIL write-error (exit status: 126) A simple 'chmod a+x tests/write-error' fixes this one, for non-root users. When I run "make check" as root =E2=80=94 which happens to be what the CI d= oes =E2=80=94 I get another test failure: =46AIL write-error (exit status: 1) The reason here is that even after 'chmod a-w d', the directory 'd' is writable. This patch fixes both issues. "make check" now passes again, both as a normal user and as root. --nextPart19065454.WiZsEGxfJz Content-Disposition: attachment; filename="0001-tests-Fix-a-test-failure.patch" Content-Transfer-Encoding: 7Bit Content-Type: text/x-patch; charset="UTF-8"; name="0001-tests-Fix-a-test-failure.patch" >From 5520631bafe004aead6db710e66de2cf43fc0a80 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Tue, 11 Apr 2023 19:10:29 +0200 Subject: [PATCH] tests: Fix a test failure. * tests/write-error: Make executable. Skip the test if we're running as root. --- tests/write-error | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) mode change 100644 => 100755 tests/write-error diff --git a/tests/write-error b/tests/write-error old mode 100644 new mode 100755 index 150c162..1f3a7f1 --- a/tests/write-error +++ b/tests/write-error @@ -24,7 +24,11 @@ fail=0 mkdir d || framework_failure_ echo > d/f || framework_failure_ chmod a-w d || framework_failure_ - -returns_ 1 gzip d/f > out 2> err || fail=1 +if test -w d; then + echo >&2 "$0: being root, skipping this test" + fail=77 +else + returns_ 1 gzip d/f > out 2> err || fail=1 +fi Exit $fail -- 2.34.1 --nextPart19065454.WiZsEGxfJz-- From unknown Thu Aug 14 22:22:36 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Bruno Haible Subject: bug#62778: closed (Re: bug#62778: continuous integration test failure) Message-ID: References: <9bd7c444-cc65-a23d-b28f-f4bd9749b655@cs.ucla.edu> <5881886.z1itQsCWp9@nimes> X-Gnu-PR-Message: they-closed 62778 X-Gnu-PR-Package: gzip Reply-To: 62778@debbugs.gnu.org Date: Tue, 11 Apr 2023 18:01:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1681236062-18587-1" This is a multi-part message in MIME format... ------------=_1681236062-18587-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #62778: continuous integration test failure which was filed against the gzip package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 62778@debbugs.gnu.org. --=20 62778: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D62778 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1681236062-18587-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 62778-done) by debbugs.gnu.org; 11 Apr 2023 18:00:38 +0000 Received: from localhost ([127.0.0.1]:38149 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pmIII-0004ow-7l for submit@debbugs.gnu.org; Tue, 11 Apr 2023 14:00:38 -0400 Received: from mail.cs.ucla.edu ([131.179.128.66]:52650) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pmIIE-0004ob-1n for 62778-done@debbugs.gnu.org; Tue, 11 Apr 2023 14:00:37 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.cs.ucla.edu (Postfix) with ESMTP id BEE3C3C097AFA; Tue, 11 Apr 2023 11:00:27 -0700 (PDT) Received: from mail.cs.ucla.edu ([127.0.0.1]) by localhost (mail.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id jXhNsf8_ketr; Tue, 11 Apr 2023 11:00:27 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by mail.cs.ucla.edu (Postfix) with ESMTP id 851943C09FA03; Tue, 11 Apr 2023 11:00:27 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.cs.ucla.edu 851943C09FA03 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cs.ucla.edu; s=9D0B346E-2AEB-11ED-9476-E14B719DCE6C; t=1681236027; bh=KRzllEZo/EPiexQB48wBzI40g+yloPleOOw2gRVpvN8=; h=Message-ID:Date:MIME-Version:To:From; b=RyHiYI4IDn6+vymmneErqluzvdt8MXkH5aJBtO6QeVE367UAtvlYZ+PNohBnJFPiH Hw1K7O9gQ6GH5Ics0T2z10LAEKkBwjgDM2o+TQXRYN4vrxi/QvuH86n3Zpt7bQJwuG QVmcrufWI34zgQmNMO+k8Li5clbbkUGo514HkyycDxizy+rzy6sTmAJalRPMzIooqQ CxAGDYSnTF2Q1FezckgQMI6JxqjoFrNA+SZ+byPnaStRR86ddHJiAf3yjAgeIZ40Rm 4wATozBj+pCpEk8JhFLpQyf639ECeDTi7Ihb4qNB6a83tzTkA6eJKnVckoxxt66cXJ POb0QsqtG8quQ== X-Virus-Scanned: amavisd-new at mail.cs.ucla.edu Received: from mail.cs.ucla.edu ([127.0.0.1]) by localhost (mail.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id L7Aj29bpZ3Cb; Tue, 11 Apr 2023 11:00:27 -0700 (PDT) Received: from [131.179.64.200] (Penguin.CS.UCLA.EDU [131.179.64.200]) by mail.cs.ucla.edu (Postfix) with ESMTPSA id 7140C3C097AFA; Tue, 11 Apr 2023 11:00:27 -0700 (PDT) Message-ID: <9bd7c444-cc65-a23d-b28f-f4bd9749b655@cs.ucla.edu> Date: Tue, 11 Apr 2023 11:00:24 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.1 Subject: Re: bug#62778: continuous integration test failure To: Bruno Haible References: <5881886.z1itQsCWp9@nimes> Content-Language: en-US From: Paul Eggert Organization: UCLA Computer Science Department In-Reply-To: <5881886.z1itQsCWp9@nimes> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -1.1 (-) X-Debbugs-Envelope-To: 62778-done Cc: 62778-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.1 (--) Thanks, I installed that. ------------=_1681236062-18587-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 11 Apr 2023 17:13:04 +0000 Received: from localhost ([127.0.0.1]:38101 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pmHYF-0003Sa-QO for submit@debbugs.gnu.org; Tue, 11 Apr 2023 13:13:04 -0400 Received: from lists.gnu.org ([209.51.188.17]:43958) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pmHYD-0003Rh-Go for submit@debbugs.gnu.org; Tue, 11 Apr 2023 13:13:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pmHY7-0002Jo-Sp for bug-gzip@gnu.org; Tue, 11 Apr 2023 13:12:57 -0400 Received: from mo4-p00-ob.smtp.rzone.de ([81.169.146.221]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pmHY5-0006QZ-NN for bug-gzip@gnu.org; Tue, 11 Apr 2023 13:12:55 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1681233170; cv=none; d=strato.com; s=strato-dkim-0002; b=BmFud95qugeTtrhP7EKMBo2OLWVRu8bV8ZQ5Yg2b3iKRqr2rH38I5sHIaJsWKWErgV Q3XgdgHUk0KfOfl4t1JA0oXsL4ljU3jTprVqjl+tT/jKR9Hp/vljpZ1GLy6t17t5pUWn ncOnzYE1Kt85fck8CSkwOkDl8D63TNRw9LYxKNMhDGbCabKe4rH1Z9RCCfLu1Np4sYWZ MovSstSbZ+K7zQ10Ki1B2f5ybnpT1XUeK2yl5bieRNEHUeLqSOoSPjEPMZNYmKQ29JFE tM1f7utnYzESfy1ht+yTfEpkNjDpXNVazIVtTSHgjjAaaFHznfXQI7pGLSW7UqlCl94a QRoQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1681233170; s=strato-dkim-0002; d=strato.com; h=Message-ID:Date:Subject:To:From:Cc:Date:From:Subject:Sender; bh=Qb3/IQ7yJYeT9HCtXexcHiRKS0lxtlweVuchNqsw+nc=; b=dfCOVTr6A0zwfSurpycvrTgPCRy0L07+hwDeUMxFuJcSYa9qjFHrG+uI3Y3REc6yxW 0KWNgSdyAXlEl9hQgui1P60uYruSVzWaCoMKpK/rVXI2XZqWyuMj21XKswiMk6QLSyS9 vHKn98uvENQ/ixxeZkayOR8Uzws02o9THNMB6w/JlELvP1/8Lmc0Tio3UrxnS4pIQEGo LmgBbWB9GntFfkH2aIMGTg1T9fA9ZjRuCLAFDPR+6e/YLGkisOa8t+TOcqq603cwnjPt 26hq+eS3qTgkMPCsnmRfIl525P/selkjARQobgzXJeUDHUcqcThMOX1Ds5NO7gbtSUkv LMrg== ARC-Authentication-Results: i=1; strato.com; arc=none; dkim=none X-RZG-CLASS-ID: mo00 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1681233170; s=strato-dkim-0002; d=clisp.org; h=Message-ID:Date:Subject:To:From:Cc:Date:From:Subject:Sender; bh=Qb3/IQ7yJYeT9HCtXexcHiRKS0lxtlweVuchNqsw+nc=; b=QQzKUIz6pCRODSqcM8Wu5geLAD3A+7iZr2/vnPSx2hNpqaaO2EHj+Q226wFwIpX+df vxIdlW8/ZQLX4yUVUAgGeA2EblmOkU9nbcUxUmzH6kIjl0UCi0yGxqsDbVPshC8bOo4V O+mgtTOIIctnH2AyaHMB36vNdMKlswIsgnu0xhd06KxjLfmPn2f7gIC9vHBascElXXzV 6zVzpRqbE/1PlH7+ET3zVQ9FNlr/zHuocFrw/41oG83bxKSo7LnxiagrI5b111eYtvYX eN6bXVrnCkRjO7i6RblAZ78T/YtZJfmfXnVJGefXIrOft0fXKYvSl1TV7JZ27Lbo2Mgm QlQA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; t=1681233169; s=strato-dkim-0003; d=clisp.org; h=Message-ID:Date:Subject:To:From:Cc:Date:From:Subject:Sender; bh=Qb3/IQ7yJYeT9HCtXexcHiRKS0lxtlweVuchNqsw+nc=; b=ZrFPEyR/kri0fAQBhJRSkGXomIFZOpbl+CU/ZMS+B+WxR6on6xZkM8l6rn8+Gbmpe9 vFqnuXgfYwTSfE3FS/Bg== X-RZG-AUTH: ":Ln4Re0+Ic/6oZXR1YgKryK8brlshOcZlIWs+iCP5vnk6shH0WWb0LN8XZoH94zq68+3cfpOS26TOAAnlF4GkwLedNvZatGzI/Q==" Received: from nimes.localnet by smtp.strato.de (RZmta 49.4.0 AUTH) with ESMTPSA id D064b6z3BHCnjAB (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate); Tue, 11 Apr 2023 19:12:49 +0200 (CEST) From: Bruno Haible To: bug-gzip@gnu.org Subject: continuous integration test failure Date: Tue, 11 Apr 2023 19:12:49 +0200 Message-ID: <5881886.z1itQsCWp9@nimes> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="nextPart19065454.WiZsEGxfJz" Content-Transfer-Encoding: 7Bit Received-SPF: none client-ip=81.169.146.221; envelope-from=bruno@clisp.org; helo=mo4-p00-ob.smtp.rzone.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) This is a multi-part message in MIME format. --nextPart19065454.WiZsEGxfJz Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" Hi Jim, The continuous integration at https://gitlab.com/gnu-gzip/ci-distcheck/ shows a test failure: =46AIL: write-error =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =2E./../../sources/gzip/build-aux/test-driver: line 107: ../../../sources/g= zip/tests/write-error: Permission denied =46AIL write-error (exit status: 126) A simple 'chmod a+x tests/write-error' fixes this one, for non-root users. When I run "make check" as root =E2=80=94 which happens to be what the CI d= oes =E2=80=94 I get another test failure: =46AIL write-error (exit status: 1) The reason here is that even after 'chmod a-w d', the directory 'd' is writable. This patch fixes both issues. "make check" now passes again, both as a normal user and as root. --nextPart19065454.WiZsEGxfJz Content-Disposition: attachment; filename="0001-tests-Fix-a-test-failure.patch" Content-Transfer-Encoding: 7Bit Content-Type: text/x-patch; charset="UTF-8"; name="0001-tests-Fix-a-test-failure.patch" >From 5520631bafe004aead6db710e66de2cf43fc0a80 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Tue, 11 Apr 2023 19:10:29 +0200 Subject: [PATCH] tests: Fix a test failure. * tests/write-error: Make executable. Skip the test if we're running as root. --- tests/write-error | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) mode change 100644 => 100755 tests/write-error diff --git a/tests/write-error b/tests/write-error old mode 100644 new mode 100755 index 150c162..1f3a7f1 --- a/tests/write-error +++ b/tests/write-error @@ -24,7 +24,11 @@ fail=0 mkdir d || framework_failure_ echo > d/f || framework_failure_ chmod a-w d || framework_failure_ - -returns_ 1 gzip d/f > out 2> err || fail=1 +if test -w d; then + echo >&2 "$0: being root, skipping this test" + fail=77 +else + returns_ 1 gzip d/f > out 2> err || fail=1 +fi Exit $fail -- 2.34.1 --nextPart19065454.WiZsEGxfJz-- ------------=_1681236062-18587-1-- From unknown Thu Aug 14 22:22:36 2025 X-Loop: help-debbugs@gnu.org Subject: bug#62778: continuous integration test failure Resent-From: Jim Meyering Original-Sender: "Debbugs-submit" Resent-CC: bug-gzip@gnu.org Resent-Date: Tue, 11 Apr 2023 18:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62778 X-GNU-PR-Package: gzip X-GNU-PR-Keywords: To: 62778@debbugs.gnu.org, eggert@cs.ucla.edu, bruno@clisp.org Cc: 62778-done@debbugs.gnu.org Received: via spool by 62778-submit@debbugs.gnu.org id=B62778.168123906323875 (code B ref 62778); Tue, 11 Apr 2023 18:52:02 +0000 Received: (at 62778) by debbugs.gnu.org; 11 Apr 2023 18:51:03 +0000 Received: from localhost ([127.0.0.1]:38215 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pmJ55-0006Co-7u for submit@debbugs.gnu.org; Tue, 11 Apr 2023 14:51:03 -0400 Received: from mail-lj1-f172.google.com ([209.85.208.172]:39565) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pmJ53-0006BT-0Y; Tue, 11 Apr 2023 14:51:01 -0400 Received: by mail-lj1-f172.google.com with SMTP id e20so9334811lji.6; Tue, 11 Apr 2023 11:51:00 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1681239054; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=G+lmhrAVzHmu9q/ZbHDEzlm3/6am8/OrMxjJ6maEWdQ=; b=S6otPQe4eZlNxfWMDZcyM+b8/+o4oyod+MT14sA/kXVMKvV7E+tGFZXGOmNdk0fy6T 3pRp5p4/Q7vCv9DsMnsPDBl+liAJtMK6eEgOcO6KLRSI+Cpl2pOJQwVgZ5NzovahleLR hkqDyLkExhtuPQe1DVhpfL9a+bVvtXUNod0GWUUX87Bd5IF/mI8Ba9Y8JLebhepADXW4 o9ZYGD+gzufGcfvaLlEqSzu7T8QJU8x7d+o3BGUMZnVna9UhLwskOgMYF4Cc2G9X1sOi nKwkweSQGkjMu9tLnzDQFburCQQTl1QtY7tmTlPcSg1m/CyjVGFyI0uEpg0TBNS9ebln MeZA== X-Gm-Message-State: AAQBX9fZp+zbSyQvotLAYwC87TB7I4hEOnsjStzno7tbM9hKVTGqRsDk 3Dk3uj9JDdYOUS/bj3FlxgzzuOfZ/C3iqNUj6f1EdbR4 X-Google-Smtp-Source: AKy350ZNa1mqx9DHrp+pHbMBniz5/nvNqi/vy7/CoxUWV6vJKwVQ/DMP1ZrFjlsCRK2izqbtEAgdLP69w7vZMHBuAgA= X-Received: by 2002:a2e:9d4d:0:b0:293:39fe:b712 with SMTP id y13-20020a2e9d4d000000b0029339feb712mr4280756ljj.3.1681239053805; Tue, 11 Apr 2023 11:50:53 -0700 (PDT) MIME-Version: 1.0 References: <5881886.z1itQsCWp9@nimes> <9bd7c444-cc65-a23d-b28f-f4bd9749b655@cs.ucla.edu> In-Reply-To: <9bd7c444-cc65-a23d-b28f-f4bd9749b655@cs.ucla.edu> From: Jim Meyering Date: Tue, 11 Apr 2023 11:50:40 -0700 Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.2 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.8 (/) On Tue, Apr 11, 2023 at 11:01=E2=80=AFAM Paul Eggert w= rote: > Thanks, I installed that. Thanks to both of you.