GNU bug report logs - #55866
[PATCH 0/2] Disable tests failing due to YAMA’s ptrace_scope.

Previous Next

Package: guix-patches;

Reported by: Lars-Dominik Braun <lars <at> 6xq.net>

Date: Thu, 9 Jun 2022 08:52:02 UTC

Severity: normal

Tags: patch

Done: Lars-Dominik Braun <lars <at> 6xq.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Lars-Dominik Braun <lars <at> 6xq.net>
Subject: bug#55866: closed (Re: [bug#55866] [PATCH 0/2] Disable tests
 failing due to YAMA’s ptrace_scope.)
Date: Fri, 10 Jun 2022 09:44:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#55866: [PATCH 0/2] Disable tests failing due to YAMA’s ptrace_scope.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 55866 <at> debbugs.gnu.org.

-- 
55866: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=55866
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Lars-Dominik Braun <lars <at> 6xq.net>
To: Maxime Devos <maximedevos <at> telenet.be>
Cc: 55866-done <at> debbugs.gnu.org
Subject: Re: [bug#55866] [PATCH 0/2] Disable tests failing due to YAMA’s ptrace_scope.
Date: Fri, 10 Jun 2022 11:43:10 +0200
Hi Maxime,

> Sounds reasonable to me, though I recommend reporting the issue
> upstream such that they can adjust their test suites to skip the tests
> when YAMA interferes.
pushed as 9d2ef7344e340747640dc00413aa6a7b054f022a and
3e6bc1edca0c7ee4e8bfe0d8e783db48d2bb647c. I added a link to the upstream
report in the comments. Doesn’t make much sense for python-debugpy
though, since we’d end up with no test suite at all.

Thank you very much,
Lars


[Message part 3 (message/rfc822, inline)]
From: Lars-Dominik Braun <lars <at> 6xq.net>
To: guix-patches <at> gnu.org
Subject: [PATCH 0/2] Disable tests failing due to YAMA’s ptrace_scope.
Date: Thu, 9 Jun 2022 10:51:10 +0200
Hi,

I noticed that some tests fail on my foreign distribution,
but not on Guix System, because they differ in their
/proc/sys/kernel/yama/ptrace_scope. Guix sets it to 0 (no limitations),
whereas most distributions default to 1 (only children can be ptrace’d),
causing a reproducibility issue. The following patches therefore disable
tests, which fail with a setting of >0.

Cheers,
Lars

Lars-Dominik Braun (2):
  gnu: python-pydevd: Skip tests failing due to YAMA.
  gnu: python-debugpy: Disable tests.

 gnu/packages/python-xyz.scm | 29 +++++++++++++++++------------
 1 file changed, 17 insertions(+), 12 deletions(-)

-- 
2.35.1




This bug report was last modified 2 years and 348 days ago.

Previous Next


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