GNU bug report logs - #44259
Most mml-sec.el tests are failing on macOS

Previous Next

Package: emacs;

Reported by: Stefan Kangas <stefan <at> marxist.se>

Date: Tue, 27 Oct 2020 18:18:01 UTC

Severity: normal

Tags: fixed

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 44259 in the body.
You can then email your comments to 44259 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#44259; Package emacs. (Tue, 27 Oct 2020 18:18:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Stefan Kangas <stefan <at> marxist.se>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 27 Oct 2020 18:18:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefan <at> marxist.se>
To: bug-gnu-emacs <at> gnu.org
Subject: Most mml-sec.el tests are failing on macOS
Date: Tue, 27 Oct 2020 19:16:57 +0100
Most mml-sec.el tests are failing on macOS.  Here is my analysis.

In mml-sec-tests.el, the cleanup in mml-sec-test--kill-gpg-agent
depends on the 'args key in the alist returned by process-attributes.
But evaluating following on macOS gives nil:

   (assq 'args (process-attributes (emacs-pid)))

Support for `args' seems to be not implemented on macOS.  See
src/sysdep.c, function system_process_attributes.

This was previously discussed in Bug#16579, where support for
process-attributes was first added. It seems like the API for all this
is not documented, so it's tricky to add.

    https://debbugs.gnu.org/cgi/bugreport.cgi?bug=16579#5

So I guess we either should make the tests not depend on 'args, or
figure out how to implement the above support for macOS.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#44259; Package emacs. (Tue, 27 Oct 2020 20:09:01 GMT) Full text and rfc822 format available.

Message #8 received at 44259 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Stefan Kangas <stefan <at> marxist.se>
Cc: 44259 <at> debbugs.gnu.org
Subject: Re: bug#44259: Most mml-sec.el tests are failing on macOS
Date: Tue, 27 Oct 2020 21:08:40 +0100
Stefan Kangas <stefan <at> marxist.se> writes:

> So I guess we either should make the tests not depend on 'args, or
> figure out how to implement the above support for macOS.

Or we could just disable these tests on Macos...  I'm not sure these
test bring us that much of value.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#44259; Package emacs. (Tue, 27 Oct 2020 21:42:01 GMT) Full text and rfc822 format available.

Message #11 received at 44259 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefan <at> marxist.se>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 44259 <at> debbugs.gnu.org
Subject: Re: bug#44259: Most mml-sec.el tests are failing on macOS
Date: Tue, 27 Oct 2020 21:41:15 +0000
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> Stefan Kangas <stefan <at> marxist.se> writes:
>
>> So I guess we either should make the tests not depend on 'args, or
>> figure out how to implement the above support for macOS.
>
> Or we could just disable these tests on Macos...  I'm not sure these
> test bring us that much of value.

Works for me.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#44259; Package emacs. (Wed, 28 Oct 2020 10:56:01 GMT) Full text and rfc822 format available.

Message #14 received at 44259 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Stefan Kangas <stefan <at> marxist.se>
Cc: 44259 <at> debbugs.gnu.org
Subject: Re: bug#44259: Most mml-sec.el tests are failing on macOS
Date: Wed, 28 Oct 2020 11:55:07 +0100
Stefan Kangas <stefan <at> marxist.se> writes:

>> Or we could just disable these tests on Macos...  I'm not sure these
>> test bring us that much of value.
>
> Works for me.

Done.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Added tag(s) fixed. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Wed, 28 Oct 2020 10:56:02 GMT) Full text and rfc822 format available.

bug marked as fixed in version 28.1, send any further explanations to 44259 <at> debbugs.gnu.org and Stefan Kangas <stefan <at> marxist.se> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Wed, 28 Oct 2020 10:56:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 25 Nov 2020 12:24:08 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 207 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.