From unknown Thu Aug 14 21:44:56 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#37822 <37822@debbugs.gnu.org> To: bug#37822 <37822@debbugs.gnu.org> Subject: Status: guile-fibers build failure Reply-To: bug#37822 <37822@debbugs.gnu.org> Date: Fri, 15 Aug 2025 04:44:56 +0000 retitle 37822 guile-fibers build failure reassign 37822 guix submitter 37822 Christopher Baines severity 37822 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 19 04:51:06 2019 Received: (at submit) by debbugs.gnu.org; 19 Oct 2019 08:51:06 +0000 Received: from localhost ([127.0.0.1]:51970 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iLkS1-0007Yk-SD for submit@debbugs.gnu.org; Sat, 19 Oct 2019 04:51:06 -0400 Received: from lists.gnu.org ([209.51.188.17]:57243) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iLkRz-0007Yb-Ic for submit@debbugs.gnu.org; Sat, 19 Oct 2019 04:51:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40586) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iLkRx-0002xe-MY for bug-guix@gnu.org; Sat, 19 Oct 2019 04:51:03 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,PDS_BTC_ID autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iLkRv-0000FM-RS for bug-guix@gnu.org; Sat, 19 Oct 2019 04:51:01 -0400 Received: from mira.cbaines.net ([2a01:7e00::f03c:91ff:fe69:8da9]:43406) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iLkRv-0000EJ-JB for bug-guix@gnu.org; Sat, 19 Oct 2019 04:50:59 -0400 Received: from localhost (cpc102582-walt20-2-0-cust14.13-2.cable.virginm.net [86.27.34.15]) by mira.cbaines.net (Postfix) with ESMTPSA id 7FF901749C for ; Sat, 19 Oct 2019 09:50:56 +0100 (BST) Received: from capella (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 41679961 for ; Sat, 19 Oct 2019 08:50:55 +0000 (UTC) User-agent: mu4e 1.2.0; emacs 26.3 From: Christopher Baines To: bug-guix@gnu.org Subject: guile-fibers build failure Date: Sat, 19 Oct 2019 09:50:53 +0100 Message-ID: <87o8ydqfte.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a01:7e00::f03c:91ff:fe69:8da9 X-Spam-Score: 2.2 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: The guile-fibers package seems to fail to build on some machines. starting phase `check' make check-am make[1]: Entering directory '/tmp/guix-build-guile-fibers-1.0.0.drv-0/fibers-1.0.0' make check-TESTS make[2]: Entering directory '/tmp/guix-build-guile-fibers-1.0. [...] Content analysis details: (2.2 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 3.6 RCVD_IN_SBL_CSS RBL: Received via a relay in Spamhaus SBL-CSS [2a01:7e00:0:0:f03c:91ff:fe69:8da9 listed in] [zen.spamhaus.org] -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [209.51.188.17 listed in list.dnswl.org] 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 PDS_BTC_ID FP reduced Bitcoin ID X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.2 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: The guile-fibers package seems to fail to build on some machines. starting phase `check' make check-am make[1]: Entering directory '/tmp/guix-build-guile-fibers-1.0.0.drv-0/fibers-1.0.0' make check-TESTS make[2]: Entering directory '/tmp/guix-build-guile-fibers-1.0. [...] Content analysis details: (1.2 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 3.6 RCVD_IN_SBL_CSS RBL: Received via a relay in Spamhaus SBL-CSS [2a01:7e00:0:0:f03c:91ff:fe69:8da9 listed in] [zen.spamhaus.org] -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [209.51.188.17 listed in list.dnswl.org] 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager 0.0 PDS_BTC_ID FP reduced Bitcoin ID --=-=-= Content-Type: text/plain The guile-fibers package seems to fail to build on some machines. starting phase `check' make check-am make[1]: Entering directory '/tmp/guix-build-guile-fibers-1.0.0.drv-0/fibers-1.0.0' make check-TESTS make[2]: Entering directory '/tmp/guix-build-guile-fibers-1.0.0.drv-0/fibers-1.0.0' assert #f equal to #f: ok assert #t terminates: ok assert (false-if-exception (begin (run-fibers) #t)) equal to #f: ok assert terminates: (run-fibers (lambda () (sleep 1)) #:drain? #t): ok (1.044672258 s) assert terminates: (run-fibers (lambda () (do-times 1 (spawn-fiber (lambda () #t)))) #:drain? #t): ok (0.034571671 s) assert terminates: (run-fibers (lambda () (do-times 10 (spawn-fiber (lambda () #t)))) #:drain? #t): ok (0.05742899 s) assert terminates: (run-fibers (lambda () (do-times 100 (spawn-fiber (lambda () #t)))) #:drain? #t): ok (0.022090434 s) assert terminates: (run-fibers (lambda () (do-times 1000 (spawn-fiber (lambda () #t)))) #:drain? #t): ok (0.110914993 s) assert terminates: (run-fibers (lambda () (do-times 10000 (spawn-fiber (lambda () #t)))) #:drain? #t): ok (0.110751905 s) assert terminates: (run-fibers (lambda () (do-times 100000 (spawn-fiber (lambda () #t)))) #:drain? #t): ok (0.747805854 s) assert terminates: (run-fibers (lambda () (do-times 100000 (spawn-fiber (lambda () #t) #:parallel? #t))) #:drain? #t): ok (1.116078927 s) assert terminates: (run-fibers (lambda () (do-times 100000 (spawn-fiber loop-to-1e4))) #:drain? #t): ok (396.536024374 s) assert terminates: (run-fibers (lambda () (do-times 100000 (spawn-fiber loop-to-1e4 #:parallel? #t))) #:drain? #t): ok (67.471703208 s) assert terminates: (run-fibers (lambda () (do-times 1 (spawn-fiber (lambda () (sleep 1))))) #:drain? #t): ok (1.027788168 s) assert terminates: (run-fibers (lambda () (do-times 10 (spawn-fiber (lambda () (sleep 1))))) #:drain? #t): /gnu/store/29jhbbg1hf557x8j53f9sxd9imlmf02a-bash-minimal-5.0.7/bin/bash: line 5: 2 445 Aborted top_srcdir="/tmp/guix-build-guile-fibers-1.0.0.drv-0/fibers-1.0.0" ./env /gnu/store/1mkkv2caiqbdbbd256c4dirfi4kwsacv-guile-2.2.6/bin/guile -s ${dir}$tst FAIL: tests/basic.scm This is from milano-guix-1, which has 32 cores. I'm a bit confused as to what is actually causing the test to fail. I'm guessing it could be timing out, but I can't see anything looking at the time the test takes to run. For comparison, this is a successful run for the above tests. starting phase `check' make check-am make[1]: Entering directory '/tmp/guix-build-guile-fibers-1.0.0.drv-0/fibers-1.0.0' make check-TESTS make[2]: Entering directory '/tmp/guix-build-guile-fibers-1.0.0.drv-0/fibers-1.0.0' assert #f equal to #f: ok assert #t terminates: ok assert (false-if-exception (begin (run-fibers) #t)) equal to #f: ok assert terminates: (run-fibers (lambda () (sleep 1)) #:drain? #t): ok (1.005070844 s) assert terminates: (run-fibers (lambda () (do-times 1 (spawn-fiber (lambda () #t)))) #:drain? #t): ok (0.0018557 s) assert terminates: (run-fibers (lambda () (do-times 10 (spawn-fiber (lambda () #t)))) #:drain? #t): ok (0.001681844 s) assert terminates: (run-fibers (lambda () (do-times 100 (spawn-fiber (lambda () #t)))) #:drain? #t): ok (0.024649538 s) assert terminates: (run-fibers (lambda () (do-times 1000 (spawn-fiber (lambda () #t)))) #:drain? #t): ok (0.004700786 s) assert terminates: (run-fibers (lambda () (do-times 10000 (spawn-fiber (lambda () #t)))) #:drain? #t): ok (0.039034647 s) assert terminates: (run-fibers (lambda () (do-times 100000 (spawn-fiber (lambda () #t)))) #:drain? #t): ok (0.300057354 s) assert terminates: (run-fibers (lambda () (do-times 100000 (spawn-fiber (lambda () #t) #:parallel? #t))) #:drain? #t): ok (0.324367502 s) assert terminates: (run-fibers (lambda () (do-times 100000 (spawn-fiber loop-to-1e4))) #:drain? #t): ok (149.039109838 s) assert terminates: (run-fibers (lambda () (do-times 100000 (spawn-fiber loop-to-1e4 #:parallel? #t))) #:drain? #t): ok (27.865951688 s) assert terminates: (run-fibers (lambda () (do-times 1 (spawn-fiber (lambda () (sleep 1))))) #:drain? #t): ok (1.004129529 s) assert terminates: (run-fibers (lambda () (do-times 10 (spawn-fiber (lambda () (sleep 1))))) #:drain? #t): ok (1.002370241 s) assert terminates: (run-fibers (lambda () (do-times 100 (spawn-fiber (lambda () (sleep 1))))) #:drain? #t): ok (1.005520729 s) assert terminates: (run-fibers (lambda () (do-times 1000 (spawn-fiber (lambda () (sleep 1))))) #:drain? #t): ok (1.062105807 s) assert terminates: (run-fibers (lambda () (do-times 10000 (spawn-fiber (lambda () (sleep 1))))) #:drain? #t): ok (1.839309678 s) assert terminates: (run-fibers (lambda () (do-times 20000 (spawn-fiber (lambda () (sleep 1))))) #:drain? #t): ok (2.814509145 s) assert terminates: (run-fibers (lambda () (do-times 40000 (spawn-fiber (lambda () (sleep 1))))) #:drain? #t): ok (5.607027563 s) assert terminates: (run-fibers (lambda () (spawn-fiber-tree 5 (lambda () (sleep 1)))) #:drain? #t): ok (1.011493675 s) assert terminates: (run-fibers (lambda () (spawn-fiber-chain 5)) #:drain? #t): ok (0.016214238 s) assert terminates: (run-fibers (lambda () (spawn-fiber-chain 50)) #:drain? #t): ok (0.00423236 s) assert terminates: (run-fibers (lambda () (spawn-fiber-chain 500)) #:drain? #t): ok (0.003719253 s) assert terminates: (run-fibers (lambda () (spawn-fiber-chain 5000)) #:drain? #t): ok (0.025188573 s) assert terminates: (run-fibers (lambda () (spawn-fiber-chain 50000)) #:drain? #t): ok (0.250818527 s) assert terminates: (run-fibers (lambda () (spawn-fiber-chain 500000)) #:drain? #t): ok (2.460237427 s) assert terminates: (run-fibers (lambda () (spawn-fiber-chain 5000000)) #:drain? #t): ok (24.836223284 s) assert terminates: (run-fibers (lambda () (test-run-order 10)) #:parallelism 1 #:drain? #t): ok (0.005306942 s) assert terminates: (run-fibers (lambda () (test-wakeup-order 10)) #:parallelism 1 #:drain? #t): ok (2.40722e-4 s) assert terminates: (run-fibers (lambda () 1) #:drain? #t): ok (0.001929389 s) assert run-fiber-return-vals equal to (1): ok assert terminates: (run-fibers (lambda () (do-times 20 (check-sleep (random 1.0)))) #:drain? #t): ;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0 ;;; or pass the --no-auto-compile argument to disable. ;;; compiling /tmp/guix-build-guile-fibers-1.0.0.drv-0/fibers-1.0.0/./tests/basic.scm ;;; WARNING: compilation of /tmp/guix-build-guile-fibers-1.0.0.drv-0/fibers-1.0.0/./tests/basic.scm failed: ;;; failed to create path for auto-compiled file "/tmp/guix-build-guile-fibers-1.0.0.drv-0/fibers-1.0.0/./tests/basic.scm" assert sleep 0.01910927417495763s < actual 0.019145132s: #t (diff: 0.18764619060916013%) assert sleep 0.024869744140937303s < actual 0.024898784s: #t (diff: 0.11676782397972449%) assert sleep 0.05190218899823896s < actual 0.051972101s: #t (diff: 0.13469952445245262%) assert sleep 0.07769845538751641s < actual 0.077729954s: #t (diff: 0.04053956069847074%) assert sleep 0.08845495012372985s < actual 0.088485864s: #t (diff: 0.03494872387232731%) assert sleep 0.15580748281365422s < actual 0.155834698s: #t (diff: 0.017467188259705484%) assert sleep 0.2606627789498001s < actual 0.260890831s: #t (diff: 0.08748930365842449%) assert sleep 0.2673394552296189s < actual 0.267357932s: #t (diff: 0.006911351848632854%) assert sleep 0.29310693200006604s < actual 0.293135829s: #t (diff: 0.009858859269136263%) assert sleep 0.2934838551523557s < actual 0.293499175s: #t (diff: 0.005219996730773745%) assert sleep 0.357478762512242s < actual 0.357505507s: #t (diff: 0.00748142003459793%) assert sleep 0.4336257477895825s < actual 0.43383964s: #t (diff: 0.04932645524575758%) assert sleep 0.4567640342315482s < actual 0.456969344s: #t (diff: 0.044948759767655215%) assert sleep 0.47751651120863536s < actual 0.477539228s: #t (diff: 0.004757278718409239%) assert sleep 0.4816563500411119s < actual 0.481682329s: #t (diff: 0.005393671003382431%) assert sleep 0.5132483764237162s < actual 0.513301348s: #t (diff: 0.010320846342060342%) assert sleep 0.5272744959176786s < actual 0.52729335s: #t (diff: 0.003575762239091523%) assert sleep 0.777461044570536s < actual 0.777491122s: #t (diff: 0.003868673507706317%) assert sleep 0.8278778710734596s < actual 0.827898268s: #t (diff: 0.0024637603266271747%) assert sleep 0.9526730873636382s < actual 0.952835541s: #t (diff: 0.01705240113493354%) ok (0.955494686 s) PASS: tests/basic.scm --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEPonu50WOcg2XVOCyXiijOwuE9XcFAl2qzm1fFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcACgkQXiijOwuE 9Xc0zA/9HHr24EnWwHvFfOmvQZ8d4NlpyiLFT0hOZvQC9rX3uBeB1eq091ltb6WS MSD3z/mZKpTyCpw8eS24Fqq9/X7qJJTnsf26OgM1fFtxexB/SwL12vrSjrH8eQv0 mf7buX3KA5nD525j+gdNc7Sx41fKmrAZL06smC1XcmfJnbRBuI3UmE8VxkkrIp1k l8cLObzF7baQLUJ9m/N0wi7J99wmZaumGPg32e3I2652fejXkT/GOG6w71w9gSr1 PjFR7s7PGclHMtCJYMUaywrAXgENLhiaC2a8/ODfQHIy6YkENuhoOqngZYX7e1IN unwEbFb+s7nnQtQZhGYVSr8nC8ROazP26vydgC5jXn+zucm/bLsVrGWgIIR5a+T+ pcos8Q1T3jLutiluzMgOqfG029oFsgL0Jv9UU0pqYiy3R785UABVCvfWMG3pdM15 AtIeMYqxgCum68PJY45MYMqamkhEP9EFfrZewJmTrIIkKDyKRplyVuaqyr647Ji/ xGjysAtu02xUjmmQOLvpksKaZJY+bUVCfqcbezNAYnhj2O9jdXITel9bk2propip r0GI79QFNhoNRURVht3nGjB/sEXOr2nFqwA/xUeEYKnOfcgua0o2FiMIFgMQNXDl Yfx8SqStXAoPlM6d1/Nj71+6U+HYBwEexsiLooOkNzYunWmkQps= =mvT0 -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 20 08:50:16 2019 Received: (at 37822-done) by debbugs.gnu.org; 20 Oct 2019 12:50:16 +0000 Received: from localhost ([127.0.0.1]:54011 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iMAf1-0003X9-Fd for submit@debbugs.gnu.org; Sun, 20 Oct 2019 08:50:15 -0400 Received: from mira.cbaines.net ([212.71.252.8]:56198) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iMAez-0003Wz-8Q for 37822-done@debbugs.gnu.org; Sun, 20 Oct 2019 08:50:14 -0400 Received: from localhost (cpc102582-walt20-2-0-cust14.13-2.cable.virginm.net [86.27.34.15]) by mira.cbaines.net (Postfix) with ESMTPSA id 131D3175DE for <37822-done@debbugs.gnu.org>; Sun, 20 Oct 2019 13:50:12 +0100 (BST) Received: from capella (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id d070ee0d for <37822-done@debbugs.gnu.org>; Sun, 20 Oct 2019 12:50:11 +0000 (UTC) References: <87o8ydqfte.fsf@cbaines.net> User-agent: mu4e 1.2.0; emacs 26.3 From: Christopher Baines To: 37822-done@debbugs.gnu.org Subject: Re: bug#37822: guile-fibers build failure In-reply-to: <87o8ydqfte.fsf@cbaines.net> Date: Sun, 20 Oct 2019 13:50:09 +0100 Message-ID: <87k18zr37i.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 37822-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) --=-=-= Content-Type: text/plain Christopher Baines writes: > The guile-fibers package seems to fail to build on some machines. > > starting phase `check' > make check-am > make[1]: Entering directory '/tmp/guix-build-guile-fibers-1.0.0.drv-0/fibers-1.0.0' > make check-TESTS > make[2]: Entering directory '/tmp/guix-build-guile-fibers-1.0.0.drv-0/fibers-1.0.0' > assert #f equal to #f: ok > assert #t terminates: ok > assert (false-if-exception (begin (run-fibers) #t)) equal to #f: ok > assert terminates: (run-fibers (lambda () (sleep 1)) #:drain? #t): ok (1.044672258 s) > assert terminates: (run-fibers (lambda () (do-times 1 (spawn-fiber (lambda () #t)))) #:drain? #t): ok (0.034571671 s) > assert terminates: (run-fibers (lambda () (do-times 10 (spawn-fiber (lambda () #t)))) #:drain? #t): ok (0.05742899 s) > assert terminates: (run-fibers (lambda () (do-times 100 (spawn-fiber (lambda () #t)))) #:drain? #t): ok (0.022090434 s) > assert terminates: (run-fibers (lambda () (do-times 1000 (spawn-fiber (lambda () #t)))) #:drain? #t): ok (0.110914993 s) > assert terminates: (run-fibers (lambda () (do-times 10000 (spawn-fiber (lambda () #t)))) #:drain? #t): ok (0.110751905 s) > assert terminates: (run-fibers (lambda () (do-times 100000 (spawn-fiber (lambda () #t)))) #:drain? #t): ok (0.747805854 s) > assert terminates: (run-fibers (lambda () (do-times 100000 (spawn-fiber (lambda () #t) #:parallel? #t))) #:drain? #t): ok (1.116078927 s) > assert terminates: (run-fibers (lambda () (do-times 100000 (spawn-fiber loop-to-1e4))) #:drain? #t): ok (396.536024374 s) > assert terminates: (run-fibers (lambda () (do-times 100000 (spawn-fiber loop-to-1e4 #:parallel? #t))) #:drain? #t): ok (67.471703208 s) > assert terminates: (run-fibers (lambda () (do-times 1 (spawn-fiber (lambda () (sleep 1))))) #:drain? #t): ok (1.027788168 s) > assert terminates: (run-fibers (lambda () (do-times 10 (spawn-fiber (lambda () (sleep 1))))) #:drain? #t): /gnu/store/29jhbbg1hf557x8j53f9sxd9imlmf02a-bash-minimal-5.0.7/bin/bash: line 5: 2 > 445 Aborted top_srcdir="/tmp/guix-build-guile-fibers-1.0.0.drv-0/fibers-1.0.0" ./env /gnu/store/1mkkv2caiqbdbbd256c4dirfi4kwsacv-guile-2.2.6/bin/guile -s ${dir}$tst > FAIL: tests/basic.scm > > > This is from milano-guix-1, which has 32 cores. I'm a bit confused as to > what is actually causing the test to fail. I'm guessing it could be > timing out, but I can't see anything looking at the time the test takes > to run. I've now tried running the tests using Guix immediately prior to the recent core-updates merge (d57660c54907cc6fba8b0adf6295fd2311ada6cf), and immediately after the merge (cf3d1763ede1a329c2bc932c84591ab594bb6c96) and the tests passed before, and failed afterwards. I've also tried running the tests manually, I did see a couple of times a failure that mentioned about "Too many open files" [1]. I then attempted to raise the limit for open files, I think using prlimit like `prlimit --nofile=8096:8096 --pid GUIX_DAEMON_PID` did the trick, and that meant that I built the package sucessfully. I'm thinking now that there's a relationship between the number of cores the tests are run with, and the required file descriptors. Also, I'm pretty sure this behaviour changed when core-updates was merged. I'll close this bug for now, as I've found a way to build the package. 1: make check-TESTS make[2]: Entering directory '/home/cbaines/fibers-1.0.0' assert #f equal to #f: ok assert #t terminates: ok assert (false-if-exception (begin (run-fibers) #t)) equal to #f: ok assert terminates: (run-fibers (lambda () (sleep 1)) #:drain? #t): ok (1.065373625 s) assert terminates: (run-fibers (lambda () (do-times 1 (spawn-fiber (lambda () #t)))) #:drain? #t): ok (0.099213566 s) assert terminates: (run-fibers (lambda () (do-times 10 (spawn-fiber (lambda () #t)))) #:drain? #t): ok (0.25544907 s) assert terminates: (run-fibers (lambda () (do-times 100 (spawn-fiber (lambda () #t)))) #:drain? #t): ok (0.072169616 s) assert terminates: (run-fibers (lambda () (do-times 1000 (spawn-fiber (lambda () #t)))) #:drain? #t): ok (0.02872572 s) assert terminates: (run-fibers (lambda () (do-times 10000 (spawn-fiber (lambda () #t)))) #:drain? #t): ok (0.099789859 s) assert terminates: (run-fibers (lambda () (do-times 100000 (spawn-fiber (lambda () #t)))) #:drain? #t): ok (0.560994013 s) assert terminates: (run-fibers (lambda () (do-times 100000 (spawn-fiber (lambda () #t) #:parallel? #t))) #:drain? #t): ok (0.913570257 s) assert terminates: (run-fibers (lambda () (do-times 100000 (spawn-fiber loop-to-1e4))) #:drain? #t): ok (7.429164661 s) assert terminates: (run-fibers (lambda () (do-times 100000 (spawn-fiber loop-to-1e4 #:parallel? #t))) #:drain? #t): ok (1.135422681 s) assert terminates: (run-fibers (lambda () (do-times 1 (spawn-fiber (lambda () (sleep 1))))) #:drain? #t): ok (1.020960002 s) assert terminates: (run-fibers (lambda () (do-times 10 (spawn-fiber (lambda () (sleep 1))))) #:drain? #t): ok (1.065859212 s) assert terminates: (run-fibers (lambda () (do-times 100 (spawn-fiber (lambda () (sleep 1))))) #:drain? #t): Backtrace: In ice-9/boot-9.scm: 222:29 19 (map1 (15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30)) 222:29 18 (map1 (16 17 18 19 20 21 22 23 24 25 26 27 28 29 30)) 222:29 17 (map1 (17 18 19 20 21 22 23 24 25 26 27 28 29 30)) 222:29 16 (map1 (18 19 20 21 22 23 24 25 26 27 28 29 30)) 222:29 15 (map1 (19 20 21 22 23 24 25 26 27 28 29 30)) 222:29 14 (map1 (20 21 22 23 24 25 26 27 28 29 30)) 222:29 13 (map1 (21 22 23 24 25 26 27 28 29 30)) 222:29 12 (map1 (22 23 24 25 26 27 28 29 30)) 222:29 11 (map1 (23 24 25 26 27 28 29 30)) 222:29 10 (map1 (24 25 26 27 28 29 30)) 222:29 9 (map1 (25 26 27 28 29 30)) 222:29 8 (map1 (26 27 28 29 30)) 222:29 7 (map1 (27 28 29 30)) 222:29 6 (map1 (28 29 30)) 222:29 5 (map1 (29 30)) 222:17 4 (map1 (30)) In fibers/internal.scm: 149:14 3 (make-scheduler #:parallelism _ #:prompt-tag _) In fibers/epoll.scm: 94:31 2 (epoll-create #:close-on-exec? _ #:maxevents _) 53:14 1 (make-wake-pipe) In unknown file: 0 (pipe) ERROR: In procedure pipe: In procedure pipe: Too many open files FAIL: tests/basic.scm --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEPonu50WOcg2XVOCyXiijOwuE9XcFAl2sWAFfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcACgkQXiijOwuE 9XeDlw/+LjhBe637wU9pd5mslUY8voZ7EQIBrS4FrmRVi/nnTqTlAzOYH5jbXktM fqXXeir1A+xqTXL2pvQK8o8bFNeSYppkTZobLa0LO3fgfKRGyzxFO5wIe8SJHRLz DIWapqCkReuCigfZ4VSMlg83AMurwFh7jfTjmQTrh0kByQk0FKm7nUmQ93HYyIen +Z4rKirIpho3wUcvm3urwbEC2j1XXl6/lY9LpHg8jILvEVhHWaxlS0plm/Zzhq7F yhFJoA65wlBgYCiYVyJ8/mUh7fBGGfPgjQplYCGaIduPap1xNtPL0xL0PrZs2FAv c3jM4z43MHyC2N2HLvOLnSSPjW227vm2BTYHcRJGW+czvrEEY8QjKdEPdla6r0jO SulO6uM0ipHfGPASpu4j/3NjCU+ZYvDuGJRKmgmx/W706QYCsPXlO1Fak97n+rm8 xFYmBXNBnz1ZiF41HdijbZe7ihK3r7yDZsY1F66iH0C6WgxiJ5ckwVvYzrejIX79 XXaHZNddLA+/rzw1VJ6ISbKQ5m71hpLryqRzmfPMQg8CragEZdYcjZHQZJZTgxUs bp+Vi79LBwvd0G16/JTA4eDhP1nrYoTP/TNodE4+Em5Bknf2Y81HWSG4dEgvAFAZ RffjM1D43y37DFl2tuAz2lKvmUGtGe0QIpo+knxkCkLXKL57GW0= =mkEo -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 22 08:39:55 2019 Received: (at 37822) by debbugs.gnu.org; 22 Oct 2019 12:39:55 +0000 Received: from localhost ([127.0.0.1]:58346 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iMtS6-0006C8-S4 for submit@debbugs.gnu.org; Tue, 22 Oct 2019 08:39:55 -0400 Received: from eggs.gnu.org ([209.51.188.92]:45468) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iMtS3-0006Br-PY for 37822@debbugs.gnu.org; Tue, 22 Oct 2019 08:39:52 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:55840) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iMtRy-0006rM-Cz; Tue, 22 Oct 2019 08:39:46 -0400 Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=39290 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iMtRx-0001XN-Iu; Tue, 22 Oct 2019 08:39:46 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: 37822@debbugs.gnu.org Subject: Re: bug#37822: guile-fibers build failure References: <87o8ydqfte.fsf@cbaines.net> <87k18zr37i.fsf@cbaines.net> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 1 Brumaire an 228 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Tue, 22 Oct 2019 14:39:44 +0200 In-Reply-To: <87k18zr37i.fsf@cbaines.net> (Christopher Baines's message of "Sun, 20 Oct 2019 13:50:09 +0100") Message-ID: <87v9sh2bu7.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 37822 Cc: mail@cbaines.net X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi Chris, Christopher Baines skribis: > I've now tried running the tests using Guix immediately prior to the > recent core-updates merge (d57660c54907cc6fba8b0adf6295fd2311ada6cf), > and immediately after the merge > (cf3d1763ede1a329c2bc932c84591ab594bb6c96) and the tests passed before, > and failed afterwards. > > I've also tried running the tests manually, I did see a couple of times > a failure that mentioned about "Too many open files" [1]. > > I then attempted to raise the limit for open files, I think using > prlimit like `prlimit --nofile=3D8096:8096 --pid GUIX_DAEMON_PID` did the > trick, and that meant that I built the package sucessfully. > > I'm thinking now that there's a relationship between the number of cores > the tests are run with, and the required file descriptors. Also, I'm > pretty sure this behaviour changed when core-updates was merged. Indeed, Fibers uses =E2=80=98epoll=E2=80=99 and for that it consumes file d= escriptors proportionally to the number of threads, IIRC. You=E2=80=99d still have to= have a large number of threads to hit the default rlimit, but that=E2=80=99s not impossible. > I'll close this bug for now, as I've found a way to build the package. To avoid =E2=80=9Crandom=E2=80=9D build failures, perhaps we should include= a hack in the =E2=80=98check=E2=80=99 phase, like calling =E2=80=98setrlimit=E2=80=99= right from there, WDYT? Thanks, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 22 17:57:10 2019 Received: (at 37822) by debbugs.gnu.org; 22 Oct 2019 21:57:10 +0000 Received: from localhost ([127.0.0.1]:60577 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iN29O-0007M1-48 for submit@debbugs.gnu.org; Tue, 22 Oct 2019 17:57:10 -0400 Received: from mira.cbaines.net ([212.71.252.8]:57982) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iN29M-0007Ls-7d for 37822@debbugs.gnu.org; Tue, 22 Oct 2019 17:57:08 -0400 Received: from localhost (cpc102582-walt20-2-0-cust14.13-2.cable.virginm.net [86.27.34.15]) by mira.cbaines.net (Postfix) with ESMTPSA id 55D9B172E4; Tue, 22 Oct 2019 22:57:07 +0100 (BST) Received: from capella (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 03d33abb; Tue, 22 Oct 2019 21:57:07 +0000 (UTC) References: <87o8ydqfte.fsf@cbaines.net> <87k18zr37i.fsf@cbaines.net> <87v9sh2bu7.fsf@gnu.org> User-agent: mu4e 1.2.0; emacs 26.3 From: Christopher Baines To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#37822: guile-fibers build failure In-reply-to: <87v9sh2bu7.fsf@gnu.org> Date: Tue, 22 Oct 2019 22:57:04 +0100 Message-ID: <875zkgqw9b.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 37822 Cc: 37822@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s writes: > Christopher Baines skribis: > >> I've now tried running the tests using Guix immediately prior to the >> recent core-updates merge (d57660c54907cc6fba8b0adf6295fd2311ada6cf), >> and immediately after the merge >> (cf3d1763ede1a329c2bc932c84591ab594bb6c96) and the tests passed before, >> and failed afterwards. >> >> I've also tried running the tests manually, I did see a couple of times >> a failure that mentioned about "Too many open files" [1]. >> >> I then attempted to raise the limit for open files, I think using >> prlimit like `prlimit --nofile=3D8096:8096 --pid GUIX_DAEMON_PID` did the >> trick, and that meant that I built the package sucessfully. >> >> I'm thinking now that there's a relationship between the number of cores >> the tests are run with, and the required file descriptors. Also, I'm >> pretty sure this behaviour changed when core-updates was merged. > > Indeed, Fibers uses =E2=80=98epoll=E2=80=99 and for that it consumes file= descriptors > proportionally to the number of threads, IIRC. You=E2=80=99d still have = to have > a large number of threads to hit the default rlimit, but that=E2=80=99s n= ot > impossible. > >> I'll close this bug for now, as I've found a way to build the package. > > To avoid =E2=80=9Crandom=E2=80=9D build failures, perhaps we should inclu= de a hack in > the =E2=80=98check=E2=80=99 phase, like calling =E2=80=98setrlimit=E2=80= =99 right from there, WDYT? If that's possible, it sounds like a good idea. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEPonu50WOcg2XVOCyXiijOwuE9XcFAl2vezBfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcACgkQXiijOwuE 9XcKuw//cfJF6OWOux/rnQL8RlRFb9E4LZjSxKrqyaAsRRn3izH+7iAhqsCOIZ2W kvNy8tlDR2y+pYSekUIscWkdT9HBx6EwQ2/gu3F3TVw1onuobZusImyTLoHvnZvK OQkmnP3I5INzjDpuDH3w3XextK5xyqMhhsseKX/NUnU+shReKh2WGeS2Ntwihrmx 0HPqyJ4UOTJML8nly3AO/chy69dyOnzPRzk5XYcN5fC1lRvokwkSjIW9iR47/jbG v0Bdcftsl1Rmmfu+sWeboACGETDMlaB4uxCCsuJ1mv5TaWw+kq6ZutMgxY4DGnuL otFM2kx0NXJyRn5R49p58xp8sCKyhYAEosFj/MlmsRXNKmmotCGGIjwEHZWhpS7F nr7vy4ghfMVUgHOcwIjNPj768lsearx4fSURTQ2TMRPiFzA0qijkezdYkLr0wlK7 y0ngn8KXmkKXK+Ix/ZhfkPJWcBr99b7CwnU01pm9jGjR56vHAYUgBSLneG1nylOa rQmXo+tN19gAuEppLoR0/o5IQEsJitaJc45/a9EGJ8D0qSRSKCvW0DZX5bh+DGrD F/hntq//Id2yJ49Lr1+XCUL18lyRRPAm8Hsj9Sttf54sWxyeawcR+edOS6PY7QWp Gi4Cw94hX5wRQzViWWmcbj5msUw+4CuirD++MPn6HqyVMOzH/aE= =cVF8 -----END PGP SIGNATURE----- --=-=-=-- From unknown Thu Aug 14 21:44:56 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 20 Nov 2019 12:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator