From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Basil L. Contovounesios" via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#50577: 28.0.50; Check-in fails in VC tests with commit.gpgSign true Date: Tue, 14 Sep 2021 11:51:23 +0100 Message-ID: <87a6kf2zx0.fsf@tcd.ie> Reply-To: "Basil L. Contovounesios" Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33337"; mail-complaints-to="usenet@ciao.gmane.io" To: 50577@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Sep 14 12:52:33 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mQ63F-0008Uc-64 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 14 Sep 2021 12:52:33 +0200 Original-Received: from localhost ([::1]:46438 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mQ63D-0000Km-U5 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 14 Sep 2021 06:52:31 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56790) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mQ62k-0000Jz-PH for bug-gnu-emacs@gnu.org; Tue, 14 Sep 2021 06:52:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36121) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mQ62k-0008Tk-Hm for bug-gnu-emacs@gnu.org; Tue, 14 Sep 2021 06:52:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mQ62k-0005Ey-8f for bug-gnu-emacs@gnu.org; Tue, 14 Sep 2021 06:52:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Basil L. Contovounesios" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 14 Sep 2021 10:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 50577 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.163161669820100 (code B ref -1); Tue, 14 Sep 2021 10:52:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 14 Sep 2021 10:51:38 +0000 Original-Received: from localhost ([127.0.0.1]:47664 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mQ62M-0005E8-DH for submit@debbugs.gnu.org; Tue, 14 Sep 2021 06:51:38 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:49834) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mQ62L-0005E1-AA for submit@debbugs.gnu.org; Tue, 14 Sep 2021 06:51:37 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56746) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mQ62J-0000IB-Vb for bug-gnu-emacs@gnu.org; Tue, 14 Sep 2021 06:51:37 -0400 Original-Received: from mail-wm1-x336.google.com ([2a00:1450:4864:20::336]:35675) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mQ62C-0007xI-2u for bug-gnu-emacs@gnu.org; Tue, 14 Sep 2021 06:51:35 -0400 Original-Received: by mail-wm1-x336.google.com with SMTP id z184-20020a1c7ec1000000b003065f0bc631so1732067wmc.0 for ; Tue, 14 Sep 2021 03:51:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tcd.ie; s=google21; h=from:to:subject:date:message-id:mime-version; bh=Ys2rhYNtYKf19yFpYmqdH7Ft3sHt7rdcej3inStIFJ8=; b=EegzkBWiTHziEYvfFGFTY71FrnP6Qy1NREQheTndJII6f5ON4cFsxPcGwodG0fJrUf deMhDlythAbk3lTi9V9mfSvgtuiCjfOYW5HHUEI6EzgPXiXbusPnrXexj9BqVu6a/RB5 k8tVk7/29TgSiaQpmlYDLywhZegTQ4/XZssgj0H+zhudUjyInr72OtdUmigSzujpY+a0 snFh2VO8NFkzvvIlBpAL1nUkOFYMqthDKQp93Ygle9GEN3D8WWG7OBelWhL7RiO3wisu mTLR5x9zCORA7j7IB76XtTdMSPGKr1ePFw/8+yur+DR/CseRbGX5imRwd6TU8v4z5GTU EGkg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=Ys2rhYNtYKf19yFpYmqdH7Ft3sHt7rdcej3inStIFJ8=; b=Z9R/+JRzdo8YYjNAbnHaQBTS6EDc09No5+GM96iIHyU/To2NPB6xlRVa0TOylRI2x7 ivPRY2E87gJgkX9hQSMaFHTpWif5z/5AXSuj5gpbPiPq9CZmYef7qNOtqFlbl+1ZCJnv DOVZUl4Ae4SvpnNXxGWFPpFkr/+0KQs08fjmF2dEchM7J9cPs7fT3Q+cpFJlhEqv4kBo rH2AOgBZimdQ9XQgt1HvYiZwghxtebWpUQC5gl2nT62xy/7zUfxtwnZLbcZ0eRSLZ+ZO WiywvVyvQdwfaKdy+XmRiFy4auqVs4QDULRF2TwWzrkKlYxciyKzSXM7z3EbiWzlzcFb 7rFw== X-Gm-Message-State: AOAM530OTF75fG4UutffAwJ9S2QCUE2aKP9tku2js7MLaXkrRGs+mZk5 JNgo+zOjHTlFgDQTEqqGcipwjTZvd5lLIw== X-Google-Smtp-Source: ABdhPJyuP1ZrLRk4Ox+kNDc05TmC9Q4QBf1+Zxcv8Hap0aOfsIRHoma7S8lEGJ+1Dpoeax/VSpHuGQ== X-Received: by 2002:a7b:ce93:: with SMTP id q19mr1427865wmj.195.1631616685379; Tue, 14 Sep 2021 03:51:25 -0700 (PDT) Original-Received: from localhost ([2a02:8084:20e2:c380:d15:339e:aa10:60f1]) by smtp.gmail.com with ESMTPSA id n26sm716055wmi.43.2021.09.14.03.51.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Sep 2021 03:51:24 -0700 (PDT) Received-SPF: pass client-ip=2a00:1450:4864:20::336; envelope-from=contovob@tcd.ie; helo=mail-wm1-x336.google.com 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, SPF_HELO_NONE=0.001, T_SPF_TEMPERROR=0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:214291 Archived-At: Severity: wishlist My global ~/.config/git/config says: [commit] gpgSign = true My Emacs checkout's local .git/config says: [commit] gpgSign = false Nevertheless, 'make test/vc-tests' sees the following test fail: --8<---------------cut here---------------start------------->8--- Registering (foo)... Registering (foo)... done Mark set Press C-c C-c when you are done editing. Enter a change comment. Type C-c C-c when done Checking in foo... Test vc-test-git06-version-diff backtrace: signal(error ("Failed (status 128): git --no-pager commit -m Test... error("Failed (%s): %s" "status 128" "git --no-pager commit -m Testi vc-do-command("*vc*" 0 "git" (":(literal)foo") "--no-pager" "commit" apply(vc-do-command "*vc*" 0 "git" (":(literal)foo") ("--no-pager" " vc-git-command(nil 0 (":(literal)foo") "commit" "-m" "Testing vc-ver apply(vc-git-command nil 0 (":(literal)foo") ("commit" "-m" "Testing vc-git-checkin(("foo") "Summary: Testing vc-version-diff\n" nil) apply(vc-git-checkin (("foo") "Summary: Testing vc-version-diff\n" n vc-call-backend(Git checkin ("foo") "Summary: Testing vc-version-dif #f(compiled-function (files comment) #) vc-finish-logentry() funcall-interactively(vc-finish-logentry) call-interactively(vc-finish-logentry) log-edit-done() (progn (if (memq backend '(RCS CVS SCCS)) (progn (vc-checkout tmp-na (save-current-buffer (set-buffer buff) (progn (if (memq backend '(RC (let ((buff (find-file tmp-name))) (save-current-buffer (set-buffer (let* ((tmp-name (expand-file-name "foo" default-directory)) (files (progn (add-hook 'vc-test--cleanup-hook (list 'lambda nil (cons 'del (unwind-protect (progn (add-hook 'vc-test--cleanup-hook (list 'lambd (let ((vc-handled-backends (list backend)) (default-directory (file- vc-test--version-diff(Git) (lambda nil (let ((value-269 (gensym "ert-form-evaluation-aborted-") ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test ert-run-test(#s(ert-test :name vc-test-git06-version-diff :documenta ert-run-or-rerun-test(#s(ert--stats :selector ... :tests ... :test-m ert-run-tests((not (or (tag :unstable) (tag :nativecomp))) #f(compil ert-run-tests-batch((not (or (tag :unstable) (tag :nativecomp)))) ert-run-tests-batch-and-exit((not (or (tag :unstable) (tag :nativeco eval((ert-run-tests-batch-and-exit '(not (or (tag :unstable) (tag :n command-line-1(("-L" ":." "-L" "./../../elpa/packages/url-http-ntlm/ command-line() normal-top-level() Test vc-test-git06-version-diff condition: (error "Failed (status 128): git --no-pager commit -m Testing vc-version-diff\n\n --only -- :(literal)foo") FAILED 14/21 vc-test-git06-version-diff (0.038991 sec) --8<---------------cut here---------------end--------------->8--- Disabling my global commit.gpgSign setting allows the test to pass. How can we protect the test suite from such global settings? Thanks, -- Basil In GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo version 1.16.0, Xaw3d scroll bars) of 2021-09-14 built on tia Repository revision: 1e83d04214f27a79a4d4841772da946e24cbf21d Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12011000 System Description: Debian GNU/Linux bookworm/sid Configured using: 'configure 'CC=ccache gcc' 'CFLAGS=-Og -ggdb' --config-cache --prefix=/home/blc/.local --enable-checking=structs --with-x-toolkit=lucid --with-file-notification=yes --with-x' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS X11 XAW3D XDBE XIM XPM LUCID ZLIB Important settings: value of $LANG: en_IE.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t indent-tabs-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs rfc822 mml mml-sec epa derived epg rfc6068 epg-config gnus-util rmail rmail-loaddefs auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json map text-property-search time-date subr-x seq byte-opt gv bytecomp byte-compile cconv mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loaddefs cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils iso-transl tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 50683 5829) (symbols 48 6619 1) (strings 32 18945 1298) (string-bytes 1 611959) (vectors 16 13364) (vector-slots 8 178283 7678) (floats 8 23 44) (intervals 56 230 0) (buffers 992 10))