GNU bug report logs -
#55206
Intermittent ldap test failure
Previous Next
Reported by: Mathieu Othacehe <othacehe <at> gnu.org>
Date: Sun, 1 May 2022 11:10:02 UTC
Severity: normal
Done: Mathieu Othacehe <othacehe <at> gnu.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 55206 in the body.
You can then email your comments to 55206 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#55206
; Package
guix
.
(Sun, 01 May 2022 11:10:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Mathieu Othacehe <othacehe <at> gnu.org>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Sun, 01 May 2022 11:10:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hello,
The ldap test in intermittently failing:
https://ci.guix.gnu.org/build/703858/log/raw.
It looks like the ldap_bind call is failing:
ldap_bind: Invalid credentials (49)
and the "eva" user is hence not created. Ricardo any idea what could be
going wrong?
Here is the log of a successful run to compare:
https://ci.guix.gnu.org/build/694584/log/raw.
Thanks,
Mathieu
Information forwarded
to
bug-guix <at> gnu.org
:
bug#55206
; Package
guix
.
(Thu, 23 Jun 2022 16:29:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 55206 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi,
Mathieu Othacehe <othacehe <at> gnu.org> [2022-05-01 13:09:19+0200]:
> The ldap test in intermittently failing:
> https://ci.guix.gnu.org/build/703858/log/raw.
I just encountered the same failure with a different error:
komputilo login: Traceback (most recent call last):
File "/gnu/store/jkfbqqv7dk38xr1a214razjlxip49hip-389-ds-base-1.4.4.17/sbin/.dsctl-real", line 20, in <module>
…
OSError: [Errno 12] Cannot allocate memory: '/gnu/store/jkfbqqv7dk38xr1a214razjlxip49hip-389-ds-base-1.4.4.17/lib/python3.9/site-packages/lib389/cli_ctl'
About 50% of test runs fail, either with this error or the one from the
original report.
After increasing the memory limit for the test VM, I was able to run the
test successfully ten times on two different machines. The patch is
attached.
[0001-tests-ldap-Increase-VM-memory-size.patch (text/x-patch, inline)]
From 7e187015b49469671d9a25e5c1f3892f5e396ac6 Mon Sep 17 00:00:00 2001
From: Timotej Lazar <timotej.lazar <at> araneo.si>
Date: Thu, 23 Jun 2022 18:13:29 +0200
Subject: [PATCH] tests: ldap: Increase VM memory size.
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
With the default limit of 512 MB the test sometimes fails, in different
ways. Fixes https://issues.guix.gnu.org/55206.
* gnu/tests/ldap.scm (run-ldap-test): Increase memory size to 1024 MiB.
---
gnu/tests/ldap.scm | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/gnu/tests/ldap.scm b/gnu/tests/ldap.scm
index d5403b3539..47e77c0c53 100644
--- a/gnu/tests/ldap.scm
+++ b/gnu/tests/ldap.scm
@@ -58,7 +58,9 @@ (define os
(guix combinators))))
(define vm
- (virtual-machine os))
+ (virtual-machine
+ (operating-system os)
+ (memory-size 1024)))
(define test
(with-imported-modules '((gnu build marionette))
--
2.36.1
Reply sent
to
Mathieu Othacehe <othacehe <at> gnu.org>
:
You have taken responsibility.
(Fri, 24 Jun 2022 08:27:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Mathieu Othacehe <othacehe <at> gnu.org>
:
bug acknowledged by developer.
(Fri, 24 Jun 2022 08:27:02 GMT)
Full text and
rfc822 format available.
Message #13 received at 55206-done <at> debbugs.gnu.org (full text, mbox):
Hey Timotej,
> After increasing the memory limit for the test VM, I was able to run the
> test successfully ten times on two different machines. The patch is
> attached.
Great, that wouldn't be the first time that the RAM limitation causes
strange transient issues.
I'm pushing the proposed patch and closing this bug,
Thanks,
Mathieu
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Fri, 22 Jul 2022 11:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 1 year and 278 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.