* [bug#55866] [PATCH 0/2] Disable tests failing due to YAMA’s ptrace_scope.
@ 2022-06-09 8:51 Lars-Dominik Braun
2022-06-09 20:46 ` Maxime Devos
0 siblings, 1 reply; 3+ messages in thread
From: Lars-Dominik Braun @ 2022-06-09 8:51 UTC (permalink / raw)
To: 55866
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* [bug#55866] [PATCH 0/2] Disable tests failing due to YAMA’s ptrace_scope.
2022-06-09 8:51 [bug#55866] [PATCH 0/2] Disable tests failing due to YAMA’s ptrace_scope Lars-Dominik Braun
@ 2022-06-09 20:46 ` Maxime Devos
2022-06-10 9:43 ` bug#55866: " Lars-Dominik Braun
0 siblings, 1 reply; 3+ messages in thread
From: Maxime Devos @ 2022-06-09 20:46 UTC (permalink / raw)
To: Lars-Dominik Braun, 55866
[-- Attachment #1: Type: text/plain, Size: 647 bytes --]
Lars-Dominik Braun schreef op do 09-06-2022 om 10:51 [+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.
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.
Greetings,Maxime.
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#55866: [PATCH 0/2] Disable tests failing due to YAMA’s ptrace_scope.
2022-06-09 20:46 ` Maxime Devos
@ 2022-06-10 9:43 ` Lars-Dominik Braun
0 siblings, 0 replies; 3+ messages in thread
From: Lars-Dominik Braun @ 2022-06-10 9:43 UTC (permalink / raw)
To: Maxime Devos; +Cc: 55866-done
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-06-10 10:57 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-09 8:51 [bug#55866] [PATCH 0/2] Disable tests failing due to YAMA’s ptrace_scope Lars-Dominik Braun
2022-06-09 20:46 ` Maxime Devos
2022-06-10 9:43 ` bug#55866: " Lars-Dominik Braun
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).