From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id NuutI9mUtGKMMgEAbAwnHQ (envelope-from ) for ; Thu, 23 Jun 2022 18:29:13 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id AJJpItmUtGKhsgAAauVa8A (envelope-from ) for ; Thu, 23 Jun 2022 18:29:13 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id EB763D144 for ; Thu, 23 Jun 2022 18:29:12 +0200 (CEST) Received: from localhost ([::1]:50394 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o4Phg-0005Zu-2y for larch@yhetil.org; Thu, 23 Jun 2022 12:29:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54606) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o4PhX-0005ZW-1K for bug-guix@gnu.org; Thu, 23 Jun 2022 12:29:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:45787) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o4PhW-0002Bj-PC for bug-guix@gnu.org; Thu, 23 Jun 2022 12:29:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o4PhW-00085k-I3 for bug-guix@gnu.org; Thu, 23 Jun 2022 12:29:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#55206: Intermittent ldap test failure Resent-From: Timotej Lazar Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 23 Jun 2022 16:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55206 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Mathieu Othacehe , 55206@debbugs.gnu.org Cc: Ricardo Wurmus Received: via spool by 55206-submit@debbugs.gnu.org id=B55206.165600174031094 (code B ref 55206); Thu, 23 Jun 2022 16:29:02 +0000 Received: (at 55206) by debbugs.gnu.org; 23 Jun 2022 16:29:00 +0000 Received: from localhost ([127.0.0.1]:39684 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o4PhU-00085R-70 for submit@debbugs.gnu.org; Thu, 23 Jun 2022 12:29:00 -0400 Received: from araneo.si ([90.157.193.204]:52864) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o4PhR-00085G-6J for 55206@debbugs.gnu.org; Thu, 23 Jun 2022 12:28:59 -0400 Received: from araneo.si (localhost.lan [127.0.0.1]) by araneo.si (OpenSMTPD) with ESMTP id 8ec81f04; Thu, 23 Jun 2022 16:28:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=araneo.si; h=from:to:cc :subject:in-reply-to:references:date:message-id:mime-version :content-type; s=20180623; bh=CVAIQ4H4DhpZOI8Ooo0/X9r179Q=; b=Uk yPLzxIizvaV9ZtrwCZJzxo6qLA5xEy2keX725s/Z58Y4k2v58LryJqyb4uloTYbR lK1pjPrbFm+Fvafi2Yu7ljPQ6pCAQsJ+3gQtiS3xhpaTi8DYEPaTBmQ7QfSro4qO uHByaRdJgzp2KzcTCR6n2nFdq+NLJPAHtH0xjJWdHQ6Wmj1seGR0aSbv1vvj4Xam IibmC8wIvEvLwm/k1osw7JrUsfkd9/X9B21q86d98+AlT3mGLGpXLkqGSNTYr9Ap K1gqndilgQjkzNb24yx+NdB8F/wqFNG0oIW6/pZD10rb6WdmUGRAu5oqsAYoUIb8 lnqPvNn7qRt5M+Jer2yw== Received: by araneo.si (OpenSMTPD) with ESMTPSA id 675c98db (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Thu, 23 Jun 2022 16:28:54 +0000 (UTC) From: Timotej Lazar In-Reply-To: <87r15dmrvk.fsf@gnu.org> References: <87r15dmrvk.fsf@gnu.org> Date: Thu, 23 Jun 2022 18:28:53 +0200 Message-ID: <87wnd7pcmy.fsf@araneo.si> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1656001753; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=4JPC1HX/DAOqzISTc9VLFJslzhfGTAJe0zVV2zQ+iCo=; b=WNFnkAikS70gjEqw9lpQiTdcRlAm0qbrrcxJzbaOycutZrlRLZIr6UHE8kzCvUjndhii/8 jXxKuXZO4LDJEUgxN294c/ooIlRjOqz9sloqptDtvN+lh5dD6EGH8L4g2D8Up2Vl7KWc6V pKXBCnBJzx8KvQ7ITGKfmidLVqIEFJZIMdcuJKB96UQANe601wmbM1DNkmhX5chHAKPyT5 vhCzUaIV6nUGqTacl0D2XAjXvtWXNPYIC+fPYQYZOUTtz6VH5Djou3uJYtOTN8/VEaKFII diOlZUzx8KazKxVP3yI5geXbM0lkdU+twnaYWrNlyeo/anhXJWlJcvetLgQPww== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1656001753; a=rsa-sha256; cv=none; b=XzKdySXo0DepGo3pcsAB3C4QDhrnpkQd129yHFL6FAzisYfUWbaq0/Oy+djsN7yF5HeZVr 6tPaDi+3xyvcDzKWTj2FRz+WKc5+Ef2ZTsxgZQYbGxTDrzqkCTVfIde1ZWZjDPE2+B7ryb c+Vyt1m3fawKpaoGbcwYZ0A3i10tHF81fAfJo+w16U8iH5kcquR/+GlzE/+5g2B7XmhLUN 0WnV3HBifu9Y+yIWGGT/zGM2tE8hpiXSUrvjUOiI3ripMG/0EiXHH6eavNZ+0aAbBYu4ZF Nni6z2LyTl0m0p5ccekJJf27z0Ye/sT+ot6K6ZXwpCzXYafdYbY2BG6Y5Pb5NA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=araneo.si header.s=20180623 header.b="Uk yPLzx"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=araneo.si (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 5.54 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=araneo.si header.s=20180623 header.b="Uk yPLzx"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=araneo.si (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: EB763D144 X-Spam-Score: 5.54 X-Migadu-Scanner: scn0.migadu.com X-TUID: eiDwGWb+J+Wc --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi, Mathieu Othacehe [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.1= 7/sbin/.dsctl-real", line 20, in =E2=80=A6 OSError: [Errno 12] Cannot allocate memory: '/gnu/store/jkfbqqv7dk38xr1= a214razjlxip49hip-389-ds-base-1.4.4.17/lib/python3.9/site-packages/lib389/c= li_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. --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: inline; filename=0001-tests-ldap-Increase-VM-memory-size.patch Content-Transfer-Encoding: quoted-printable >From 7e187015b49469671d9a25e5c1f3892f5e396ac6 Mon Sep 17 00:00:00 2001 From: Timotej Lazar 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=3DUTF-8 Content-Transfer-Encoding: 8bit With the default limit of 512=C2=A0MB 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=C2=A0MiB. --- 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)))) =20 (define vm - (virtual-machine os)) + (virtual-machine + (operating-system os) + (memory-size 1024))) =20 (define test (with-imported-modules '((gnu build marionette)) --=20 2.36.1 --=-=-=--