unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#55206: Intermittent ldap test failure
@ 2022-05-01 11:09 Mathieu Othacehe
  2022-06-23 16:28 ` Timotej Lazar
  0 siblings, 1 reply; 3+ messages in thread
From: Mathieu Othacehe @ 2022-05-01 11:09 UTC (permalink / raw)
  To: 55206; +Cc: Ricardo Wurmus


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




^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#55206: Intermittent ldap test failure
  2022-05-01 11:09 bug#55206: Intermittent ldap test failure Mathieu Othacehe
@ 2022-06-23 16:28 ` Timotej Lazar
  2022-06-24  8:26   ` Mathieu Othacehe
  0 siblings, 1 reply; 3+ messages in thread
From: Timotej Lazar @ 2022-06-23 16:28 UTC (permalink / raw)
  To: Mathieu Othacehe, 55206; +Cc: Ricardo Wurmus

[-- Attachment #1: Type: text/plain, Size: 824 bytes --]

Hi,

Mathieu Othacehe <othacehe@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.


[-- Attachment #2: 0001-tests-ldap-Increase-VM-memory-size.patch --]
[-- Type: text/x-patch, Size: 1032 bytes --]

From 7e187015b49469671d9a25e5c1f3892f5e396ac6 Mon Sep 17 00:00:00 2001
From: Timotej Lazar <timotej.lazar@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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* bug#55206: Intermittent ldap test failure
  2022-06-23 16:28 ` Timotej Lazar
@ 2022-06-24  8:26   ` Mathieu Othacehe
  0 siblings, 0 replies; 3+ messages in thread
From: Mathieu Othacehe @ 2022-06-24  8:26 UTC (permalink / raw)
  To: Timotej Lazar; +Cc: Ricardo Wurmus, 55206-done


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




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-06-24  8:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-01 11:09 bug#55206: Intermittent ldap test failure Mathieu Othacehe
2022-06-23 16:28 ` Timotej Lazar
2022-06-24  8:26   ` Mathieu Othacehe

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).