From unknown Fri Jun 13 06:11:50 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#46413 <46413@debbugs.gnu.org> To: bug#46413 <46413@debbugs.gnu.org> Subject: Status: tests/publish.scm fails on berlin Reply-To: bug#46413 <46413@debbugs.gnu.org> Date: Fri, 13 Jun 2025 13:11:50 +0000 retitle 46413 tests/publish.scm fails on berlin reassign 46413 guix submitter 46413 Leo Famulari severity 46413 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 09 18:20:42 2021 Received: (at submit) by debbugs.gnu.org; 9 Feb 2021 23:20:42 +0000 Received: from localhost ([127.0.0.1]:55037 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l9cJE-0004Mx-Ui for submit@debbugs.gnu.org; Tue, 09 Feb 2021 18:20:42 -0500 Received: from lists.gnu.org ([209.51.188.17]:59930) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l9cJC-0004Mp-3t for submit@debbugs.gnu.org; Tue, 09 Feb 2021 18:20:39 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:38494) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l9cJB-0002yn-Nz for bug-guix@gnu.org; Tue, 09 Feb 2021 18:20:37 -0500 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:59309) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l9cJ6-00070y-FA for bug-guix@gnu.org; Tue, 09 Feb 2021 18:20:37 -0500 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id EDA085C018D; Tue, 9 Feb 2021 18:20:30 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Tue, 09 Feb 2021 18:20:30 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=date:from:to:subject:message-id:mime-version:content-type; s= mesmtp; bh=cPyK/hGThWQkYo0RihIQo9ACdZ3C3lO2qlJEivxvQ3o=; b=rYdle FgEHh4btoEcMll3PWWpA/2zzabp3nPo0Og1NhyksIf8Q6xDzrvrdS49DR8DnuOrB eLsWuMO/gwaHbwcVeiXo0twwdgM8cSA8FxH8JNQCqg6uf2Hyy8yPQ+1qHzpZc8G0 +lgw7vvlPRMnAtuo6GIF0Tm90ko0B2q0PvQhLA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=cPyK/hGThWQkYo0RihIQo9ACdZ3C3 lO2qlJEivxvQ3o=; b=a8pjJ1lNxkThXre/MWOefyf2CSr565dcRelLxjId3wfyL vzp14bM76Xmp1KHbKIsuUYakOHRK+iyHqSuYVbjKWYvmfNjmacxHwqNS8A+yt17a THf1Fl6rmPgFhf74CCvsnAfPK9w463ZV6mx8xoitdMMGa2lVjv2+lORg1SOvECwE 72pSCsLfQ7Q6ZToTUrY9vIJB8pUGDRBlkiMABrOpGdfqkLiNFP0UsLUJIwacmru/ QkJC1SdhcAm5oty5Te1l2M2uoDW7iuQ1T1w2ZHb3al0cZpRebUnPQzNziZZwNS0Z YBwuELuSTxZjCVabFhsUVev3sj7cJDAuvM95u2Dzg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrheeigddutdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepfffhvffukfggtggusehmtderredttd dvnecuhfhrohhmpefnvghoucfhrghmuhhlrghrihcuoehlvghosehfrghmuhhlrghrihdr nhgrmhgvqeenucggtffrrghtthgvrhhnpeefgfehhfeuffdvheekheevgeevffetveekve dtffejteduleefveffudefudekvdenucffohhmrghinhepghhnuhdrohhrghenucfkphep uddttddruddurdduieelrdduudeknecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrg hmpehmrghilhhfrhhomheplhgvohesfhgrmhhulhgrrhhirdhnrghmvg X-ME-Proxy: Received: from localhost (pool-100-11-169-118.phlapa.fios.verizon.net [100.11.169.118]) by mail.messagingengine.com (Postfix) with ESMTPA id 5C81724005B for ; Tue, 9 Feb 2021 18:20:30 -0500 (EST) Date: Tue, 9 Feb 2021 18:20:28 -0500 From: Leo Famulari To: bug-guix@gnu.org Subject: tests/publish.scm fails on berlin Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="yP/jyzw7I1r8v5jl" Content-Disposition: inline Received-SPF: pass client-ip=66.111.4.29; envelope-from=leo@famulari.name; helo=out5-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_FILL_THIS_FORM_SHORT=0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) 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: -2.4 (--) --yP/jyzw7I1r8v5jl Content-Type: text/plain; charset=us-ascii Content-Disposition: inline I notice that tests/publish.scm crashes consistently when run "by hand" with `make check` on ci.guix.gnu.org: ------ $ make check -j1 [...] PASS: tests/profiles.scm make[4]: *** [Makefile:5520: tests/publish.log] Error 134 make[4]: Leaving directory '/home/lfam/guix' make[3]: *** [Makefile:5502: check-TESTS] Error 2 make[3]: Leaving directory '/home/lfam/guix' make[2]: *** [Makefile:5751: check-am] Error 2 make[2]: Leaving directory '/home/lfam/guix' make[1]: *** [Makefile:5279: check-recursive] Error 1 make[1]: Leaving directory '/home/lfam/guix' make: *** [Makefile:5753: check] Error 2 ------ Since it crashes, the remainder of the tests are not run. I've attached the log, but I'm not sure what the problem is. --yP/jyzw7I1r8v5jl Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="publish.log" Content-Transfer-Encoding: quoted-printable test-name: /nix-cache-info location: /home/lfam/guix/tests/publish.scm:135 source: + (test-equal + "/nix-cache-info" + (format + #f + "StoreDir: ~a\nWantMassQuery: 0\nPriority: 100\n" + %store-directory) + (http-get-body (publish-uri "/nix-cache-info"))) expected-value: "StoreDir: /home/lfam/guix/test-tmp/store\nWantMassQuery: 0= \nPriority: 100\n" actual-value: "StoreDir: /home/lfam/guix/test-tmp/store\nWantMassQuery: 0\n= Priority: 100\n" result: PASS test-name: /*.narinfo location: /home/lfam/guix/tests/publish.scm:140 source: + (test-equal + "/*.narinfo" + (let* ((info (query-path-info %store %item)) + (unsigned-info + (format + #f + "StorePath: ~a\nURL: nar/~a\nCompression: none\nFileSize: ~a= \nNarHash: sha256:~a\nNarSize: ~d\nReferences: ~a~%" + %item + (basename %item) + (path-info-nar-size info) + (bytevector->nix-base32-string + (path-info-hash info)) + (path-info-nar-size info) + (basename (first (path-info-references info))))) + (signature + (base64-encode + (string->utf8 + (canonical-sexp->string + (signed-string unsigned-info)))))) + (format + #f + "~aSignature: 1;~a;~a~%" + unsigned-info + (gethostname) + signature)) + (utf8->string + (http-get-body + (publish-uri + (string-append + "/" + (store-path-hash-part %item) + ".narinfo"))))) expected-value: "StorePath: /home/lfam/guix/test-tmp/store/s3i2h3aw4gk9fs3d= 80j43sj1g9v50idf-item\nURL: nar/s3i2h3aw4gk9fs3d80j43sj1g9v50idf-item\nComp= ression: none\nFileSize: 120\nNarHash: sha256:1xngcmsdkdvaycaqjfzvq4gr3gib5= 6p2l8illglnsqzhpss47pxz\nNarSize: 120\nReferences: 7va9x8gzhcwxv1srdiw9jx6i= a9c20s0j-ref\nSignature: 1;berlin.guix.gnu.org;KHNpZ25hdHVyZSAKIChkYXRhIAog= IChmbGFncyBwa2NzMSkKICAoaGFzaCBzaGEyNTYgIzdCODIxNDAyQjZCQTI3NzQ3OTI0QTdFNDU= wMDdFMzYyOUM2OTUwOTFFNjlCQTI2OTc2MUIwRDRDMkRGMUJCQ0IjKQogICkKIChzaWctdmFsIA= ogIChyc2EgCiAgIChzICNCREVCOEY4Mjk4QzY1MkQ4NkNCRTgwQjJEMEIzMUY0MUFBODI3ODU1R= kRBNDUyNjU1REQwMUQ5Mzg2RTk2OUQ2RTlFNzdFRTNDNzI2NjEwNzY4NjlFNEFGMUQ0MEM0M0Y4= RjQ5MjE2Nzc2QzVFQ0Q2NDc0QkY2MjFGNDVFOTRGOTJFOTk2Nzg5Mzg2NDI2MThFNjdGQzA5RDU= 1MzcyNkQ5MzM5MjZFNkQ2MkQ3QzVFQTM4Mjc4NkUyQkFDRTIxQUVFNUVCMUVDMDFGNUUxQjc1M0= I2NzdDMDE1RTlBMEExNjk1MkRCQjgzQUM1MjMxQURBMzBDMTFDMjMzOTA4ODdEIykKICAgKQogI= CkKIChwdWJsaWMta2V5IAogIChyc2EgCiAgIChuICMwMEMxRjc2NDA2OUY1NEZGRTkzQTEyNkIw= MjMyODkwM0U5ODRFNEFFM0FGNkRGNDAyQjVCNkIzOTA3OTExQjg4QzM4NUYxQkE3NkEwMDJFQzl= ERUExMDlBNTIyOEVGMEU2MkVFMzFBMDZEMUE1ODYxQ0FCNDc0RjZDODU3QUM2NkVCNjVBMTkwNU= YyNUJCQTE4Njk1NzlFNzNBM0I3RkVEMTNBRjVBMTY2NzMyNkY4OENERkMyRkYyNEIwM0MxNEZEM= TM4NEFBN0U3M0NBODk1NzI4ODBCNjA2RTNBOTc0RTE1MzQ3OTYzRkM3QjYzNzg1NzQ5MzZBNDc1= ODBEQkNCNDUjKQogICAoZSAjMDEwMDAxIykKICAgKQogICkKICkK\n" actual-value: "StorePath: /home/lfam/guix/test-tmp/store/s3i2h3aw4gk9fs3d80= j43sj1g9v50idf-item\nURL: nar/s3i2h3aw4gk9fs3d80j43sj1g9v50idf-item\nCompre= ssion: none\nFileSize: 120\nNarHash: sha256:1xngcmsdkdvaycaqjfzvq4gr3gib56p= 2l8illglnsqzhpss47pxz\nNarSize: 120\nReferences: 7va9x8gzhcwxv1srdiw9jx6ia9= c20s0j-ref\nSignature: 1;berlin.guix.gnu.org;KHNpZ25hdHVyZSAKIChkYXRhIAogIC= hmbGFncyBwa2NzMSkKICAoaGFzaCBzaGEyNTYgIzdCODIxNDAyQjZCQTI3NzQ3OTI0QTdFNDUwM= DdFMzYyOUM2OTUwOTFFNjlCQTI2OTc2MUIwRDRDMkRGMUJCQ0IjKQogICkKIChzaWctdmFsIAog= IChyc2EgCiAgIChzICNCREVCOEY4Mjk4QzY1MkQ4NkNCRTgwQjJEMEIzMUY0MUFBODI3ODU1RkR= BNDUyNjU1REQwMUQ5Mzg2RTk2OUQ2RTlFNzdFRTNDNzI2NjEwNzY4NjlFNEFGMUQ0MEM0M0Y4Rj= Q5MjE2Nzc2QzVFQ0Q2NDc0QkY2MjFGNDVFOTRGOTJFOTk2Nzg5Mzg2NDI2MThFNjdGQzA5RDU1M= zcyNkQ5MzM5MjZFNkQ2MkQ3QzVFQTM4Mjc4NkUyQkFDRTIxQUVFNUVCMUVDMDFGNUUxQjc1M0I2= NzdDMDE1RTlBMEExNjk1MkRCQjgzQUM1MjMxQURBMzBDMTFDMjMzOTA4ODdEIykKICAgKQogICk= KIChwdWJsaWMta2V5IAogIChyc2EgCiAgIChuICMwMEMxRjc2NDA2OUY1NEZGRTkzQTEyNkIwMj= MyODkwM0U5ODRFNEFFM0FGNkRGNDAyQjVCNkIzOTA3OTExQjg4QzM4NUYxQkE3NkEwMDJFQzlER= UExMDlBNTIyOEVGMEU2MkVFMzFBMDZEMUE1ODYxQ0FCNDc0RjZDODU3QUM2NkVCNjVBMTkwNUYy= NUJCQTE4Njk1NzlFNzNBM0I3RkVEMTNBRjVBMTY2NzMyNkY4OENERkMyRkYyNEIwM0MxNEZEMTM= 4NEFBN0U3M0NBODk1NzI4ODBCNjA2RTNBOTc0RTE1MzQ3OTYzRkM3QjYzNzg1NzQ5MzZBNDc1OD= BEQkNCNDUjKQogICAoZSAjMDEwMDAxIykKICAgKQogICkKICkK\n" result: PASS test-name: /*.narinfo with properly encoded '+' sign location: /home/lfam/guix/tests/publish.scm:169 source: + (test-equal + "/*.narinfo with properly encoded '+' sign" + (let* ((item (add-text-to-store + %store + "fake-gtk+" + "Congrats!")) + (info (query-path-info %store item)) + (unsigned-info + (format + #f + "StorePath: ~a\nURL: nar/~a\nCompression: none\nFileSize: ~a= \nNarHash: sha256:~a\nNarSize: ~d\nReferences: ~%" + item + (uri-encode (basename item)) + (path-info-nar-size info) + (bytevector->nix-base32-string + (path-info-hash info)) + (path-info-nar-size info))) + (signature + (base64-encode + (string->utf8 + (canonical-sexp->string + (signed-string unsigned-info)))))) + (format + #f + "~aSignature: 1;~a;~a~%" + unsigned-info + (gethostname) + signature)) + (let ((item (add-text-to-store + %store + "fake-gtk+" + "Congrats!"))) + (utf8->string + (http-get-body + (publish-uri + (string-append + "/" + (store-path-hash-part item) + ".narinfo")))))) expected-value: "StorePath: /home/lfam/guix/test-tmp/store/r3j7lcw6x9lsmqcl= y3m8509ynzxk9668-fake-gtk+\nURL: nar/r3j7lcw6x9lsmqcly3m8509ynzxk9668-fake-= gtk%2B\nCompression: none\nFileSize: 128\nNarHash: sha256:1ysbwi8icaw2g5qmw= jf9k0qd4d9gazd91kf1djycpk5ahwh4kmlp\nNarSize: 128\nReferences: \nSignature:= 1;berlin.guix.gnu.org;KHNpZ25hdHVyZSAKIChkYXRhIAogIChmbGFncyBwa2NzMSkKICAo= aGFzaCBzaGEyNTYgIzZENEMwM0RFNDM1MjcyMzdGMzRBODZFQjY0NzFFQUMwRjcwRkNGNDRFNzI= yRDk5QURDRUJFNkRCNzE0MDZGOEMjKQogICkKIChzaWctdmFsIAogIChyc2EgCiAgIChzICMwNk= JDQjk2QzE0RUI5RkI2QTgzQUM2NkIzMEUyNTI0N0I2MEE5Rjc5RDJCNkRBQUEyMDMxRjRCRDEwN= jAzMjlBMTBENkNGNjU2MUMyMEFEQTg5NENGMzM4OTAwQTA3RTREREVCQjdBNDkzQTBBNDc1RThD= NTc2MTMxMzA3RkI1NzJGQTc4NTRDRTRGNDM5NTlCREFDNzA0RjYzODQ5MTAwMzM1MkYzQjAxMDZ= ENjFCRTNEMjZDMDk0QjJDNDJFQzY3NjFGOTY1ODdDMDkzODVERTgyMzQ1Qjk1QkUyNkE0MDI3QT= I1OUIxMUQ4RkYxOENGRTQyMTE5RUMyODM4RDhFIykKICAgKQogICkKIChwdWJsaWMta2V5IAogI= Chyc2EgCiAgIChuICMwMEMxRjc2NDA2OUY1NEZGRTkzQTEyNkIwMjMyODkwM0U5ODRFNEFFM0FG= NkRGNDAyQjVCNkIzOTA3OTExQjg4QzM4NUYxQkE3NkEwMDJFQzlERUExMDlBNTIyOEVGMEU2MkV= FMzFBMDZEMUE1ODYxQ0FCNDc0RjZDODU3QUM2NkVCNjVBMTkwNUYyNUJCQTE4Njk1NzlFNzNBM0= I3RkVEMTNBRjVBMTY2NzMyNkY4OENERkMyRkYyNEIwM0MxNEZEMTM4NEFBN0U3M0NBODk1NzI4O= DBCNjA2RTNBOTc0RTE1MzQ3OTYzRkM3QjYzNzg1NzQ5MzZBNDc1ODBEQkNCNDUjKQogICAoZSAj= MDEwMDAxIykKICAgKQogICkKICkK\n" actual-value: "StorePath: /home/lfam/guix/test-tmp/store/r3j7lcw6x9lsmqcly3= m8509ynzxk9668-fake-gtk+\nURL: nar/r3j7lcw6x9lsmqcly3m8509ynzxk9668-fake-gt= k%2B\nCompression: none\nFileSize: 128\nNarHash: sha256:1ysbwi8icaw2g5qmwjf= 9k0qd4d9gazd91kf1djycpk5ahwh4kmlp\nNarSize: 128\nReferences: \nSignature: 1= ;berlin.guix.gnu.org;KHNpZ25hdHVyZSAKIChkYXRhIAogIChmbGFncyBwa2NzMSkKICAoaG= FzaCBzaGEyNTYgIzZENEMwM0RFNDM1MjcyMzdGMzRBODZFQjY0NzFFQUMwRjcwRkNGNDRFNzIyR= Dk5QURDRUJFNkRCNzE0MDZGOEMjKQogICkKIChzaWctdmFsIAogIChyc2EgCiAgIChzICMwNkJD= Qjk2QzE0RUI5RkI2QTgzQUM2NkIzMEUyNTI0N0I2MEE5Rjc5RDJCNkRBQUEyMDMxRjRCRDEwNjA= zMjlBMTBENkNGNjU2MUMyMEFEQTg5NENGMzM4OTAwQTA3RTREREVCQjdBNDkzQTBBNDc1RThDNT= c2MTMxMzA3RkI1NzJGQTc4NTRDRTRGNDM5NTlCREFDNzA0RjYzODQ5MTAwMzM1MkYzQjAxMDZEN= jFCRTNEMjZDMDk0QjJDNDJFQzY3NjFGOTY1ODdDMDkzODVERTgyMzQ1Qjk1QkUyNkE0MDI3QTI1= OUIxMUQ4RkYxOENGRTQyMTE5RUMyODM4RDhFIykKICAgKQogICkKIChwdWJsaWMta2V5IAogICh= yc2EgCiAgIChuICMwMEMxRjc2NDA2OUY1NEZGRTkzQTEyNkIwMjMyODkwM0U5ODRFNEFFM0FGNk= RGNDAyQjVCNkIzOTA3OTExQjg4QzM4NUYxQkE3NkEwMDJFQzlERUExMDlBNTIyOEVGMEU2MkVFM= zFBMDZEMUE1ODYxQ0FCNDc0RjZDODU3QUM2NkVCNjVBMTkwNUYyNUJCQTE4Njk1NzlFNzNBM0I3= RkVEMTNBRjVBMTY2NzMyNkY4OENERkMyRkYyNEIwM0MxNEZEMTM4NEFBN0U3M0NBODk1NzI4ODB= CNjA2RTNBOTc0RTE1MzQ3OTYzRkM3QjYzNzg1NzQ5MzZBNDc1ODBEQkNCNDUjKQogICAoZSAjMD= EwMDAxIykKICAgKQogICkKICkK\n" result: PASS test-name: /nar/* location: /home/lfam/guix/tests/publish.scm:201 source: + (test-equal + "/nar/*" + "bar" + (call-with-temporary-output-file + (lambda (temp port) + (let ((nar (utf8->string + (http-get-body + (publish-uri + (string-append "/nar/" (basename %item))))))) + (call-with-input-string + nar + (cut restore-file <> temp))) + (call-with-input-file temp read-string)))) expected-value: "bar" actual-value: "bar" result: PASS test-name: /nar/gzip/* location: /home/lfam/guix/tests/publish.scm:212 source: + (test-equal + "/nar/gzip/*" + "bar" + (call-with-temporary-output-file + (lambda (temp port) + (let ((nar (http-get-port + (publish-uri + (string-append "/nar/gzip/" (basename %item)))))) + (call-with-gzip-input-port + nar + (cut restore-file <> temp))) + (call-with-input-file temp read-string)))) expected-value: "bar" actual-value: "bar" result: PASS test-name: /nar/gzip/* is really gzip location: /home/lfam/guix/tests/publish.scm:223 source: + (test-equal + "/nar/gzip/* is really gzip" + %gzip-magic-bytes + (let ((nar (http-get-port + (publish-uri + (string-append "/nar/gzip/" (basename %item)))))) + (get-bytevector-n + nar + (bytevector-length %gzip-magic-bytes)))) expected-value: #vu8(31 139) actual-value: #vu8(31 139) result: PASS test-name: /nar/lzip/* location: /home/lfam/guix/tests/publish.scm:233 source: + (test-equal + "/nar/lzip/*" + "bar" + (call-with-temporary-output-file + (lambda (temp port) + (let ((nar (http-get-port + (publish-uri + (string-append "/nar/lzip/" (basename %item)))))) + (call-with-lzip-input-port + nar + (cut restore-file <> temp))) + (call-with-input-file temp read-string)))) expected-value: "bar" actual-value: "bar" result: PASS test-name: /nar/zstd/* location: /home/lfam/guix/tests/publish.scm:245 source: + (test-equal + "/nar/zstd/*" + "bar" + (call-with-temporary-output-file + (lambda (temp port) + (let ((nar (http-get-port + (publish-uri + (string-append "/nar/zstd/" (basename %item)))))) + (call-with-zstd-input-port + nar + (cut restore-file <> temp))) + (call-with-input-file temp read-string)))) expected-value: "bar" actual-value: "bar" result: PASS test-name: /*.narinfo with compression location: /home/lfam/guix/tests/publish.scm:256 source: + (test-equal + "/*.narinfo with compression" + `(("StorePath" unquote %item) + ("URL" + unquote + (string-append "nar/gzip/" (basename %item))) + ("Compression" . "gzip")) + (let ((thread + (with-separate-output-ports + (call-with-new-thread + (lambda () (guix-publish "--port=3D6799" "-C5")))))) + (wait-until-ready 6799) + (let* ((url (string-append + "http://localhost:6799/" + (store-path-hash-part %item) + ".narinfo")) + (body (http-get-port url))) + (filter + (lambda (item) + (match item + (("Compression" . _) #t) + (("StorePath" . _) #t) + (("URL" . _) #t) + (_ #f))) + (recutils->alist body))))) expected-value: (("StorePath" . "/home/lfam/guix/test-tmp/store/s3i2h3aw4gk= 9fs3d80j43sj1g9v50idf-item") ("URL" . "nar/gzip/s3i2h3aw4gk9fs3d80j43sj1g9v= 50idf-item") ("Compression" . "gzip")) actual-value: (("StorePath" . "/home/lfam/guix/test-tmp/store/s3i2h3aw4gk9f= s3d80j43sj1g9v50idf-item") ("URL" . "nar/gzip/s3i2h3aw4gk9fs3d80j43sj1g9v50= idf-item") ("Compression" . "gzip")) result: PASS test-name: /*.narinfo with lzip compression location: /home/lfam/guix/tests/publish.scm:276 source: + (test-equal + "/*.narinfo with lzip compression" + `(("StorePath" unquote %item) + ("URL" + unquote + (string-append "nar/lzip/" (basename %item))) + ("Compression" . "lzip")) + (let ((thread + (with-separate-output-ports + (call-with-new-thread + (lambda () (guix-publish "--port=3D6790" "-Clzip")))))) + (wait-until-ready 6790) + (let* ((url (string-append + "http://localhost:6790/" + (store-path-hash-part %item) + ".narinfo")) + (body (http-get-port url))) + (filter + (lambda (item) + (match item + (("Compression" . _) #t) + (("StorePath" . _) #t) + (("URL" . _) #t) + (_ #f))) + (recutils->alist body))))) expected-value: (("StorePath" . "/home/lfam/guix/test-tmp/store/s3i2h3aw4gk= 9fs3d80j43sj1g9v50idf-item") ("URL" . "nar/lzip/s3i2h3aw4gk9fs3d80j43sj1g9v= 50idf-item") ("Compression" . "lzip")) actual-value: (("StorePath" . "/home/lfam/guix/test-tmp/store/s3i2h3aw4gk9f= s3d80j43sj1g9v50idf-item") ("URL" . "nar/lzip/s3i2h3aw4gk9fs3d80j43sj1g9v50= idf-item") ("Compression" . "lzip")) result: PASS test-name: /*.narinfo for a compressed file location: /home/lfam/guix/tests/publish.scm:296 source: + (test-equal + "/*.narinfo for a compressed file" + '("none" "nar") + (let* ((item (add-text-to-store + %store + "fake.tar.gz" + "This is a fake compressed file.")) + (url (string-append + "http://localhost:6799/" + (store-path-hash-part item) + ".narinfo")) + (body (http-get-port url)) + (info (recutils->alist body))) + (list (assoc-ref info "Compression") + (dirname (assoc-ref info "URL"))))) expected-value: ("none" "nar") actual-value: ("none" "nar") result: PASS test-name: /*.narinfo with lzip + gzip location: /home/lfam/guix/tests/publish.scm:308 source: + (test-equal + "/*.narinfo with lzip + gzip" + `((("StorePath" unquote %item) + ("URL" + unquote + (string-append "nar/gzip/" (basename %item))) + ("Compression" . "gzip") + ("URL" + unquote + (string-append "nar/lzip/" (basename %item))) + ("Compression" . "lzip")) + 200 + 200) + (call-with-temporary-directory + (lambda (cache) + (let ((thread + (with-separate-output-ports + (call-with-new-thread + (lambda () + (guix-publish + "--port=3D6793" + "-Cgzip:2" + "-Clzip:2")))))) + (wait-until-ready 6793) + (let* ((base "http://localhost:6793/") + (part (store-path-hash-part %item)) + (url (string-append base part ".narinfo")) + (body (http-get-port url))) + (list (take (recutils->alist body) 5) + (response-code + (http-get + (string-append base "nar/gzip/" (basename %item)))) + (response-code + (http-get + (string-append base "nar/lzip/" (basename %item))))))= )))) expected-value: ((("StorePath" . "/home/lfam/guix/test-tmp/store/s3i2h3aw4g= k9fs3d80j43sj1g9v50idf-item") ("URL" . "nar/gzip/s3i2h3aw4gk9fs3d80j43sj1g9= v50idf-item") ("Compression" . "gzip") ("URL" . "nar/lzip/s3i2h3aw4gk9fs3d8= 0j43sj1g9v50idf-item") ("Compression" . "lzip")) 200 200) actual-value: ((("StorePath" . "/home/lfam/guix/test-tmp/store/s3i2h3aw4gk9= fs3d80j43sj1g9v50idf-item") ("URL" . "nar/gzip/s3i2h3aw4gk9fs3d80j43sj1g9v5= 0idf-item") ("Compression" . "gzip") ("URL" . "nar/lzip/s3i2h3aw4gk9fs3d80j= 43sj1g9v50idf-item") ("Compression" . "lzip")) 200 200) result: PASS test-name: custom nar path location: /home/lfam/guix/tests/publish.scm:335 source: + (test-equal + "custom nar path" + (list `(("StorePath" unquote %item) + ("URL" + unquote + (string-append + "foo/bar/chbouib/" + (basename %item))) + ("Compression" . "none")) + 200 + 404) + (let ((thread + (with-separate-output-ports + (call-with-new-thread + (lambda () + (guix-publish + "--port=3D6798" + "-C0" + "--nar-path=3D///foo/bar//chbouib/")))))) + (wait-until-ready 6798) + (let* ((base "http://localhost:6798/") + (part (store-path-hash-part %item)) + (url (string-append base part ".narinfo")) + (nar-url + (string-append + base + "foo/bar/chbouib/" + (basename %item))) + (body (http-get-port url))) + (list (filter + (lambda (item) + (match item + (("Compression" . _) #t) + (("StorePath" . _) #t) + (("URL" . _) #t) + (_ #f))) + (recutils->alist body)) + (response-code (http-get nar-url)) + (response-code + (http-get + (string-append base "nar/" (basename %item)))))))) expected-value: ((("StorePath" . "/home/lfam/guix/test-tmp/store/s3i2h3aw4g= k9fs3d80j43sj1g9v50idf-item") ("URL" . "foo/bar/chbouib/s3i2h3aw4gk9fs3d80j= 43sj1g9v50idf-item") ("Compression" . "none")) 200 404) actual-value: ((("StorePath" . "/home/lfam/guix/test-tmp/store/s3i2h3aw4gk9= fs3d80j43sj1g9v50idf-item") ("URL" . "foo/bar/chbouib/s3i2h3aw4gk9fs3d80j43= sj1g9v50idf-item") ("Compression" . "none")) 200 404) result: PASS test-name: /nar/ with properly encoded '+' sign location: /home/lfam/guix/tests/publish.scm:365 source: + (test-equal + "/nar/ with properly encoded '+' sign" + "Congrats!" + (let ((item (add-text-to-store + %store + "fake-gtk+" + "Congrats!"))) + (call-with-temporary-output-file + (lambda (temp port) + (let ((nar (utf8->string + (http-get-body + (publish-uri + (string-append + "/nar/" + (uri-encode (basename item)))))))) + (call-with-input-string + nar + (cut restore-file <> temp))) + (call-with-input-file temp read-string))))) expected-value: "Congrats!" actual-value: "Congrats!" result: PASS test-name: /nar/invalid location: /home/lfam/guix/tests/publish.scm:377 source: + (test-equal + "/nar/invalid" + 404 + (begin + (call-with-output-file + (string-append (%store-prefix) "/invalid") + (lambda (port) + (display + "This file is not a valid store item." + port))) + (response-code + (http-get + (publish-uri (string-append "/nar/invalid")))))) expected-value: 404 actual-value: 404 result: PASS publishing /home/lfam/guix/test-tmp/store on 0.0.0.0, port 6789 using 'none' compression method, level 0 publishing /home/lfam/guix/test-tmp/store on 0.0.0.0, port 6799 using 'gzip' compression method, level 5 publishing /home/lfam/guix/test-tmp/store on 0.0.0.0, port 6790 using 'lzip' compression method, level 3 publishing /home/lfam/guix/test-tmp/store on 0.0.0.0, port 6793 using 'gzip' compression method, level 2 using 'lzip' compression method, level 2 publishing /home/lfam/guix/test-tmp/store on 0.0.0.0, port 6798 using 'none' compression method, level 0 @ build-started /home/lfam/guix/test-tmp/store/lcjfvb26q7jlmbnb2zdni2sghlj9= 93bp-the-file.txt.drv - x86_64-linux /home/lfam/guix/test-tmp/var/log/guix/= drvs/lc//jfvb26q7jlmbnb2zdni2sghlj993bp-the-file.txt.drv.bz2 123820 @ build-succeeded /home/lfam/guix/test-tmp/store/lcjfvb26q7jlmbnb2zdni2sghl= j993bp-the-file.txt.drv - test-name: /file/NAME/sha256/HASH location: /home/lfam/guix/tests/publish.scm:385 source: + (test-equal + "/file/NAME/sha256/HASH" + "Hello, Guix world!" + (let* ((data "Hello, Guix world!") + (hash (call-with-input-string data port-sha256)) + (drv (run-with-store + %store + (gexp->derivation + "the-file.txt" + (gexp (call-with-output-file + (ungexp output) + (lambda (port) (display (ungexp data) port)))) + #:hash-algo + 'sha256 + #:hash + hash))) + (out (build-derivations %store (list drv)))) + (utf8->string + (http-get-body + (publish-uri + (string-append + "/file/the-file.txt/sha256/" + (bytevector->nix-base32-string hash))))))) expected-value: "Hello, Guix world!" actual-value: "Hello, Guix world!" result: PASS test-name: /file/NAME/sha256/INVALID-NIX-BASE32-STRING location: /home/lfam/guix/tests/publish.scm:403 source: + (test-equal + "/file/NAME/sha256/INVALID-NIX-BASE32-STRING" + 404 + (let ((uri (publish-uri + "/file/the-file.txt/sha256/not-a-nix-base32-string"))) + (response-code (http-get uri)))) expected-value: 404 actual-value: 404 result: PASS test-name: /file/NAME/sha256/INVALID-HASH location: /home/lfam/guix/tests/publish.scm:409 source: + (test-equal + "/file/NAME/sha256/INVALID-HASH" + 404 + (let ((uri (publish-uri + (string-append + "/file/the-file.txt/sha256/" + (bytevector->nix-base32-string + (call-with-input-string "" port-sha256)))))) + (response-code (http-get uri)))) expected-value: 404 actual-value: 404 result: PASS ;;; (wait-for-file "/tmp/guix-directory.9rJG3j/gzip/s3i2h3aw4gk9fs3d80j43sj= 1g9v50idf-item.narinfo") test-name: with cache location: /home/lfam/guix/tests/publish.scm:417 source: + (test-equal + "with cache" + (list #t + `(("StorePath" unquote %item) + ("URL" + unquote + (string-append "nar/gzip/" (basename %item))) + ("Compression" . "gzip")) + 200 + #t + #t + 404) + (call-with-temporary-directory + (lambda (cache) + (let ((thread + (with-separate-output-ports + (call-with-new-thread + (lambda () + (guix-publish + "--port=3D6797" + "-C2" + (string-append "--cache=3D" cache) + "--cache-bypass-threshold=3D0")))))) + (wait-until-ready 6797) + (let* ((base "http://localhost:6797/") + (part (store-path-hash-part %item)) + (url (string-append base part ".narinfo")) + (nar-url + (string-append base "nar/gzip/" (basename %item))) + (cached + (string-append + cache + "/gzip/" + (basename %item) + ".narinfo")) + (nar (string-append + cache + "/gzip/" + (basename %item) + ".nar")) + (response (http-get url))) + (and (=3D 404 (response-code response)) + (match (assq-ref + (response-headers response) + 'cache-control) + ((((quote max-age) . ttl)) (< ttl 3600))) + (wait-for-file cached) + (=3D 420 (stat:perms (lstat cached))) + (=3D 420 (stat:perms (lstat nar))) + (let* ((body (http-get-port url)) + (compressed (http-get nar-url)) + (uncompressed + (http-get + (string-append base "nar/" (basename %item)))) + (narinfo (recutils->alist body))) + (list (file-exists? nar) + (filter + (lambda (item) + (match item + (("Compression" . _) #t) + (("StorePath" . _) #t) + (("URL" . _) #t) + (_ #f))) + narinfo) + (response-code compressed) + (=3D (response-content-length compressed) + (stat:size (stat nar))) + (=3D (string->number (assoc-ref narinfo "FileSize"= )) + (stat:size (stat nar))) + (response-code uncompressed))))))))) expected-value: (#t (("StorePath" . "/home/lfam/guix/test-tmp/store/s3i2h3a= w4gk9fs3d80j43sj1g9v50idf-item") ("URL" . "nar/gzip/s3i2h3aw4gk9fs3d80j43sj= 1g9v50idf-item") ("Compression" . "gzip")) 200 #t #t 404) actual-value: (#t (("StorePath" . "/home/lfam/guix/test-tmp/store/s3i2h3aw4= gk9fs3d80j43sj1g9v50idf-item") ("URL" . "nar/gzip/s3i2h3aw4gk9fs3d80j43sj1g= 9v50idf-item") ("Compression" . "gzip")) 200 #t #t 404) result: PASS ;;; (wait-for-file "/tmp/guix-directory.m96XNk/gzip/s3i2h3aw4gk9fs3d80j43sj= 1g9v50idf-item.narinfo") ;;; (narinfo/gzip+lzip (("StorePath" . "/home/lfam/guix/test-tmp/store/s3i2= h3aw4gk9fs3d80j43sj1g9v50idf-item") ("URL" . "nar/gzip/s3i2h3aw4gk9fs3d80j4= 3sj1g9v50idf-item") ("Compression" . "gzip") ("FileSize" . "86") ("URL" . "= nar/lzip/s3i2h3aw4gk9fs3d80j43sj1g9v50idf-item") ("Compression" . "lzip") (= "FileSize" . "99") ("NarHash" . "sha256:1xngcmsdkdvaycaqjfzvq4gr3gib56p2l8i= llglnsqzhpss47pxz") ("NarSize" . "120") ("References" . "7va9x8gzhcwxv1srdi= w9jx6ia9c20s0j-ref") ("Signature" . "1;berlin.guix.gnu.org;KHNpZ25hdHVyZSAK= IChkYXRhIAogIChmbGFncyBwa2NzMSkKICAoaGFzaCBzaGEyNTYgI0VENDRDQjY2QjZFRUY0MzM= yNjI4M0I5QkEwQjc4QTRCQjEyQjI0REFEODBDNUM2RjlCRjZCMzVDNzY5MDNCMEEjKQogICkKIC= hzaWctdmFsIAogIChyc2EgCiAgIChzICMyMUJFNTJCNUY3RjM0MTlBQjNENkJGMjM1RkM2NDUzR= jVFMTFGNDQ2RjMzRjU3OTNBQjE5MEMwREE1MkU3QkJFMkQzMDZFMzFCNzJFNTRFREM3OEFDRDZC= QzczOTJBNTI3MEFDMTIzQzU1NkI4Q0VCMUY3N0FGM0YwN0VFMzY2NzQ5QURENTE5QTU1MDk1NjR= FMzFGRjkyOEJEREY1MURGM0YxOEM5Qzc1OUMzQzczQzg1RkJCNUIxMUNBRDJCQkNGNTJFRjEyMD= U0MTQxQkI3NjE0QUJCMTRCOERGRUY0MjY1NzdDQzU5RDEwN0Y3QjIxN0I3M0QzNkJGNDcwMjdFI= ykKICAgKQogICkKIChwdWJsaWMta2V5IAogIChyc2EgCiAgIChuICMwMEMxRjc2NDA2OUY1NEZG= RTkzQTEyNkIwMjMyODkwM0U5ODRFNEFFM0FGNkRGNDAyQjVCNkIzOTA3OTExQjg4QzM4NUYxQkE= 3NkEwMDJFQzlERUExMDlBNTIyOEVGMEU2MkVFMzFBMDZEMUE1ODYxQ0FCNDc0RjZDODU3QUM2Nk= VCNjVBMTkwNUYyNUJCQTE4Njk1NzlFNzNBM0I3RkVEMTNBRjVBMTY2NzMyNkY4OENERkMyRkYyN= EIwM0MxNEZEMTM4NEFBN0U3M0NBODk1NzI4ODBCNjA2RTNBOTc0RTE1MzQ3OTYzRkM3QjYzNzg1= NzQ5MzZBNDc1ODBEQkNCNDUjKQogICAoZSAjMDEwMDAxIykKICAgKQogICkKICkK"))) test-name: with cache, lzip + gzip location: /home/lfam/guix/tests/publish.scm:479 source: + (test-equal + "with cache, lzip + gzip" + '(200 200 404) + (call-with-temporary-directory + (lambda (cache) + (let ((thread + (with-separate-output-ports + (call-with-new-thread + (lambda () + (guix-publish + "--port=3D6794" + "-Cgzip:2" + "-Clzip:2" + (string-append "--cache=3D" cache) + "--cache-bypass-threshold=3D0")))))) + (wait-until-ready 6794) + (let* ((base "http://localhost:6794/") + (part (store-path-hash-part %item)) + (url (string-append base part ".narinfo")) + (nar-url + (cute string-append + "nar/" + <> + "/" + (basename %item))) + (cached + (cute string-append + cache + "/" + <> + "/" + (basename %item) + ".narinfo")) + (nar (cute string-append + cache + "/" + <> + "/" + (basename %item) + ".nar")) + (response (http-get url))) + (wait-for-file (cached "gzip")) + (let* ((body (http-get-port url)) + (narinfo (recutils->alist body)) + (uncompressed + (string-append base "nar/" (basename %item)))) + (and (file-exists? (nar "gzip")) + (file-exists? (nar "lzip")) + (equal? + (take (pk 'narinfo/gzip+lzip narinfo) 7) + `(("StorePath" unquote %item) + ("URL" unquote (nar-url "gzip")) + ("Compression" . "gzip") + ("FileSize" + unquote + (number->string (stat:size (stat (nar "gzip"))))) + ("URL" unquote (nar-url "lzip")) + ("Compression" . "lzip") + ("FileSize" + unquote + (number->string (stat:size (stat (nar "lzip"))))))) + (list (response-code + (http-get (string-append base (nar-url "gzip")))) + (response-code + (http-get (string-append base (nar-url "lzip")))) + (response-code (http-get uncompressed)))))))))) expected-value: (200 200 404) actual-value: (200 200 404) result: PASS ;;; (wait-for-file "/tmp/guix-directory.5CRlhm/none/drlf4d7hrx8spvy4klkf79k= 1cbzb72v8-fake-compressed-thing.tar.gz.narinfo") test-name: with cache, uncompressed location: /home/lfam/guix/tests/publish.scm:526 source: + (test-equal + "with cache, uncompressed" + (list #t + (* 42 3600) + `(("StorePath" unquote item) + ("URL" + unquote + (string-append "nar/" (basename item))) + ("Compression" . "none")) + 200 + (* 42 3600) + (path-info-nar-size + (query-path-info %store item)) + 404) + (call-with-temporary-directory + (lambda (cache) + (let ((thread + (with-separate-output-ports + (call-with-new-thread + (lambda () + (guix-publish + "--port=3D6796" + "-C2" + "--ttl=3D42h" + (string-append "--cache=3D" cache) + "--cache-bypass-threshold=3D0")))))) + (wait-until-ready 6796) + (let* ((base "http://localhost:6796/") + (part (store-path-hash-part item)) + (url (string-append base part ".narinfo")) + (cached + (string-append + cache + "/none/" + (basename item) + ".narinfo")) + (nar (string-append + cache + "/none/" + (basename item) + ".nar")) + (response (http-get url))) + (and (=3D 404 (response-code response)) + (wait-for-file cached) + (let* ((response (http-get url)) + (body (http-get-port url)) + (compressed + (http-get + (string-append base "nar/gzip/" (basename item)= ))) + (uncompressed + (http-get + (string-append base "nar/" (basename item)))) + (narinfo (recutils->alist body))) + (list (file-exists? nar) + (match (assq-ref + (response-headers response) + 'cache-control) + ((((quote max-age) . ttl)) ttl) + (_ #f)) + (filter + (lambda (item) + (match item + (("Compression" . _) #t) + (("StorePath" . _) #t) + (("URL" . _) #t) + (_ #f))) + narinfo) + (response-code uncompressed) + (match (assq-ref + (response-headers uncompressed) + 'cache-control) + ((((quote max-age) . ttl)) ttl) + (_ #f)) + (string->number (assoc-ref narinfo "FileSize")) + (response-code compressed))))))))) expected-value: (#t 151200 (("StorePath" . "/home/lfam/guix/test-tmp/store/= drlf4d7hrx8spvy4klkf79k1cbzb72v8-fake-compressed-thing.tar.gz") ("URL" . "n= ar/drlf4d7hrx8spvy4klkf79k1cbzb72v8-fake-compressed-thing.tar.gz") ("Compre= ssion" . "none")) 200 151200 176 404) actual-value: (#t 151200 (("StorePath" . "/home/lfam/guix/test-tmp/store/dr= lf4d7hrx8spvy4klkf79k1cbzb72v8-fake-compressed-thing.tar.gz") ("URL" . "nar= /drlf4d7hrx8spvy4klkf79k1cbzb72v8-fake-compressed-thing.tar.gz") ("Compress= ion" . "none")) 200 151200 176 404) result: PASS ;;; (wait-for-file "/tmp/guix-directory.lQ5Iyj/gzip/8g66gfkxls4pxvz2l1b47zn= 6sgryd23r-random.narinfo") publishing /home/lfam/guix/test-tmp/store on 0.0.0.0, port 6797 using 'gzip' compression method, level 2 publishing /home/lfam/guix/test-tmp/store on 0.0.0.0, port 6794 using 'gzip' compression method, level 2 using 'lzip' compression method, level 2 random seed for tests: 1612901421 publishing /home/lfam/guix/test-tmp/store on 0.0.0.0, port 6796 using 'gzip' compression method, level 2 publishing /home/lfam/guix/test-tmp/store on 0.0.0.0, port 6795 using 'gzip' compression method, level 3 finding garbage collector roots... removing stale temporary roots file `/home/lfam/guix/test-tmp/var/123751/te= mproots/123781' deleting unused links... ;;; (response #< version: (1 . 1) code: 200 reason-phrase: "OK" h= eaders: ((content-length . 1277) (content-type application/x-nix-narinfo (c= harset . "utf-8"))) port: #>) test-name: with cache, vanishing item location: /home/lfam/guix/tests/publish.scm:587 source: + (test-equal + "with cache, vanishing item" + 200 + (call-with-temporary-directory + (lambda (cache) + (let ((thread + (with-separate-output-ports + (call-with-new-thread + (lambda () + (guix-publish + "--port=3D6795" + (string-append "--cache=3D" cache))))))) + (wait-until-ready 6795) + (let* ((base "http://localhost:6795/") + (item (add-text-to-store %store "random" (random-text))) + (part (store-path-hash-part item)) + (url (string-append base part ".narinfo")) + (cached + (string-append + cache + "/gzip/" + (basename item) + ".narinfo")) + (response (http-get url))) + (and (=3D 200 (response-code response)) + (wait-for-file cached) + (begin + (delete-paths %store (list item)) + (response-code (pk 'response (http-get url)))))))))) expected-value: 200 actual-value: 200 result: PASS --yP/jyzw7I1r8v5jl-- From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 09 18:41:42 2021 Received: (at 46413) by debbugs.gnu.org; 9 Feb 2021 23:41:42 +0000 Received: from localhost ([127.0.0.1]:55064 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l9cdZ-0006yM-QK for submit@debbugs.gnu.org; Tue, 09 Feb 2021 18:41:42 -0500 Received: from mail-qk1-f169.google.com ([209.85.222.169]:37268) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l9cdY-0006yA-Aq for 46413@debbugs.gnu.org; Tue, 09 Feb 2021 18:41:40 -0500 Received: by mail-qk1-f169.google.com with SMTP id s77so19973521qke.4 for <46413@debbugs.gnu.org>; Tue, 09 Feb 2021 15:41:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=09Dlol7sErlRoyAfWdwvCFXsGq/ztnrXbE99wLh968M=; b=orQ93we0C9+RwfUPU4ajw+GQ8irBmGQ+wiT+nbxYT2jhyRd8IMbzsPko2khPdyRcZa FUIRSGTnc71mV4xSKSvtlNo1GwnJLWo5RlNZ170onq9FfIlzmzTsh5JGb1NSi5jwMdQR AAzqfpAx4NhLOyUceH7BGeyEFeiaVzeAlluIYI/6u9NirSwQEr9X9+YcsrCRMOoC2VKG yCTYSHpo9BiGMAxps9pST8YJNIp/Iynf0rXToEESUBV8ThtK8aILOnoHaK5gaWwayUbK l82xNo6OqUJ7vAKkB1tN0DV7ODb3on/5MlpN2wnbLEz8/Rk8mJRplEgSNdDxDhOsyrGp m0zA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=09Dlol7sErlRoyAfWdwvCFXsGq/ztnrXbE99wLh968M=; b=Tbzdy6FTk27rI6pLqsI5tzPvaAqzUhBNYsHTXdHfhjRsyx1X+hZ4ObTM8jy6vUjTKp 66rFowqJkt+DmB292ar39o6uQ3FejoV8pagdRStiN+fz9e+iqpdEipXVTndeeuAPjaxf ewBZe45HXeL4xlzMpuKR54gkZoJhWtwu1QYN29d1Na3TzjEFmq1oJM968bVNoF9S/kAD wyputag6bkA3+vZ1IGl3FfKOEGDd/bA1i1SKqNgJtUxgKKXj2yvyWDIpFtLoCQjeMcwg FE1y8A7LGRag1sal6QuW+xi0Do6OrFoWClXPorPSjMFWE9ceVhUAnBJI3Omlg7ah86UO 80MA== X-Gm-Message-State: AOAM5323i1gM+GUuQCRa4TFnzXJkRqykyD9DxVrpho2KmeksRwcm02UM JXhEZVNOG2fTbWshN3FtJBcaFHmCeaHKT+F1CoAaQv2d X-Google-Smtp-Source: ABdhPJznqdd8vgAnm7PPXTyplAgJSsgqsQuZvJie/132IMQqHptU5axlagX3VK7SEEn4lSi1fcAmXP6LDIfsXCe46lA= X-Received: by 2002:a37:4fd2:: with SMTP id d201mr753470qkb.232.1612914094624; Tue, 09 Feb 2021 15:41:34 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: zimoun Date: Wed, 10 Feb 2021 00:41:23 +0100 Message-ID: Subject: Re: bug#46413: tests/publish.scm fails on berlin To: Leo Famulari Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 46413 Cc: 46413@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 (-) Hi Leo, On Wed, 10 Feb 2021 at 00:21, Leo Famulari wrote: > > I notice that tests/publish.scm crashes consistently when run "by hand" > with `make check` on ci.guix.gnu.org: It also crashes on one of my machine running Guix on the top of Ubuntu. I have not investigated more yet. Cheers, simon From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 09 19:08:39 2021 Received: (at 46413) by debbugs.gnu.org; 10 Feb 2021 00:08:39 +0000 Received: from localhost ([127.0.0.1]:55088 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l9d3f-0001Fr-K0 for submit@debbugs.gnu.org; Tue, 09 Feb 2021 19:08:39 -0500 Received: from wout1-smtp.messagingengine.com ([64.147.123.24]:46533) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l9d3c-0001Fb-Uu for 46413@debbugs.gnu.org; Tue, 09 Feb 2021 19:08:37 -0500 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 3270CD16; Tue, 9 Feb 2021 19:08:31 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Tue, 09 Feb 2021 19:08:31 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=mesmtp; bh=S25q47p3WM0ZA5h+lAGeohZj /+cKa3zYhPcNs9wKbJs=; b=GHNTu9Iuf7M253uh3N/dOL/YNnt7SBq2yn8Z5Vuw vAGV8kNhxGJCOPkk1Q3ogYvMChv21BfJ5smrK3FPkI9rG3mwv6glcdM5vbSdFkkj esb3yvlKJYo2M82PXgAl3lUhdEna3uTNJHT0Cb7p/JwFs7tNecUO7NnMRIMbJvFN bDA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=S25q47 p3WM0ZA5h+lAGeohZj/+cKa3zYhPcNs9wKbJs=; b=KNaC+6QYZcjuChX5AELWcD uZ3Yp1ves+JAlbo89hD57mtlZicZ1A0uZ67r8RG/PsxSN1d4Ox+HLOqU05wBq0O3 rjHk0QKSSQZSsBDf/blL9rIFKtVUt3Y950UH//2cOWNlQqkibFzoR5cXyynGyDGo mmF6TeGMWMxKQVxwgTGqpCT6zZIVIuckA8/+OnIJGBoIQemzzDfEnMOSR6ZvIFvf rpUCqXIkRDGXXH+TXaopwQwJGMYgC8SK1I7ujVnzWaVYjJMwIW+e86Bl2v1NfB28 ItEhTceUKXkT/FCWM5OhIEVThywTda/Zlpidti5TNb/Mx8QtePOhSo5ENw4PaBmQ == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrheeigddulecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepfffhvffukfhfgggtuggjsehttdertd dttddvnecuhfhrohhmpefnvghoucfhrghmuhhlrghrihcuoehlvghosehfrghmuhhlrghr ihdrnhgrmhgvqeenucggtffrrghtthgvrhhnpeeukeektdffvddtudegjeegtdevhfeufe eivdejiedtieegtdevjedvjeehffevgfenucfkphepuddttddruddurdduieelrdduudek necuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheplhgvoh esfhgrmhhulhgrrhhirdhnrghmvg X-ME-Proxy: Received: from localhost (pool-100-11-169-118.phlapa.fios.verizon.net [100.11.169.118]) by mail.messagingengine.com (Postfix) with ESMTPA id 587781080063; Tue, 9 Feb 2021 19:08:30 -0500 (EST) Date: Tue, 9 Feb 2021 19:08:28 -0500 From: Leo Famulari To: zimoun Subject: Re: bug#46413: tests/publish.scm fails on berlin Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 46413 Cc: 46413@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.7 (-) On Wed, Feb 10, 2021 at 12:41:23AM +0100, zimoun wrote: > It also crashes on one of my machine running Guix on the top of > Ubuntu. I have not investigated more yet. Oh, that's interesting! It works fine for me with Guix on Debian. From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 09 20:46:47 2021 Received: (at 46413) by debbugs.gnu.org; 10 Feb 2021 01:46:47 +0000 Received: from localhost ([127.0.0.1]:55182 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l9ead-0003fI-0r for submit@debbugs.gnu.org; Tue, 09 Feb 2021 20:46:47 -0500 Received: from mail-wr1-f53.google.com ([209.85.221.53]:42297) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l9eaZ-0003ex-Pg for 46413@debbugs.gnu.org; Tue, 09 Feb 2021 20:46:45 -0500 Received: by mail-wr1-f53.google.com with SMTP id r21so675503wrr.9 for <46413@debbugs.gnu.org>; Tue, 09 Feb 2021 17:46:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=eV98xyLS7vP1P6RhQlptYsIBaCENKvEYEKeUcUzP61A=; b=Ct6Pj1KmIna7A92FL8RP7sRAQpkwT7sryyHFyAky+vK7JCEywIMs4/IcsFRFW6tg+u PjVmTZUvspGstrfEBdv01F1Tozql/KS7PaPxEwMwok2LXTg7S7NBODHHddayY/mzgH8d sBgUhlugDxLYT/lbQBX9rNtiKFc6ymrqAbhVt/tArLI9Xyt2u7vEhhw/7J7twLVvDcoh DklLpNAcDQKgafBphSK8sCwkZ4hUs/oAfkKf1B/rExcG+sLFLepWZk6/fxcDFWkmJQVb PsXf6kNtr0vJh/Li0bqHO+MLuTQAskRKTFDIWTi8Lrz830ffmnC+M8rgqY/4GubCadFz xf+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=eV98xyLS7vP1P6RhQlptYsIBaCENKvEYEKeUcUzP61A=; b=rXnhBDUIGHMyUBR3/QVySZAHMjKcCeKBtwyqBz6Gcfipgk5U5UeL2UYp7mjc7zAUrH z2SZo1Y5M4XYQz2tH/lKtEgbJq63Px9qOfSiT4U6ByqygolFybDIcyzLfyEy+YxqU1st mPPquJP7jgSmEJ1mWJPEAuopPRxliQG4MkRaInHhMRQIuD6Jo538UkXHq2Fm6cNBTlCk 50xT+0GSQ/ubn3aMI8oewLTywKiZVFbXo1uhE7AZG73vtbUTITNIDn+yTPJTcacIrcGG IaVf+fY7NwVr/3BLuK+JNPYn4jvQbnm+QpA6JWZARdmspVF3mD5jzibZRtmfAcK39cUg kKZQ== X-Gm-Message-State: AOAM531fAAzv8F7TZTCz+Sw1+b64KgVP4+zwzapUi2NNUL754zoQoeFJ z8evX+9zlsPRdy9ShKMGQ28t1BXcuHs= X-Google-Smtp-Source: ABdhPJw+EXIq5z7eabZznZezb5WWkoQnDiPk3F7deNpEmYKfoYN3y/VATD3jxEeDuk+ic4RsJU9Xeg== X-Received: by 2002:adf:dfc9:: with SMTP id q9mr860693wrn.322.1612921597932; Tue, 09 Feb 2021 17:46:37 -0800 (PST) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id a84sm722019wme.12.2021.02.09.17.46.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Feb 2021 17:46:37 -0800 (PST) From: zimoun To: Leo Famulari Subject: Re: bug#46413: tests/publish.scm fails on berlin In-Reply-To: References: Date: Wed, 10 Feb 2021 02:45:08 +0100 Message-ID: <865z30bsrf.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 46413 Cc: 46413@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 (-) Hi Leo, On Tue, 09 Feb 2021 at 19:08, Leo Famulari wrote: > On Wed, Feb 10, 2021 at 12:41:23AM +0100, zimoun wrote: >> It also crashes on one of my machine running Guix on the top of >> Ubuntu. I have not investigated more yet. > > Oh, that's interesting! It works fine for me with Guix on Debian. It works for me on Debian too. But not on Ubuntu. Debian: using b9a54aa to build 4590ee9bd0 Ubuntu: using 380a837 to build 4590ee9bd0 I have not investigate more. Cheers, simon From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 28 17:36:12 2021 Received: (at 46413) by debbugs.gnu.org; 28 Dec 2021 22:36:12 +0000 Received: from localhost ([127.0.0.1]:47686 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n2L4m-0007EU-4r for submit@debbugs.gnu.org; Tue, 28 Dec 2021 17:36:12 -0500 Received: from wout1-smtp.messagingengine.com ([64.147.123.24]:36115) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n2L4k-0007EC-33 for 46413@debbugs.gnu.org; Tue, 28 Dec 2021 17:36:11 -0500 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id AD05F3200EC0; Tue, 28 Dec 2021 17:36:03 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Tue, 28 Dec 2021 17:36:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=mesmtp; bh=d0V9XL93uj7gKEfcRVBQRKSJ kLl3C9fEBusEL7KRLbk=; b=IAwA3JmVSyIPgEncsSCVqioBxjB5kEDbUzqrxk4L 0rK+3sPU/AC26X+RvKMu3K3VftpXhyvvRh+uJYEwL8lCd8lGTT2Emxa/DqlbjJD6 ZB6Ila5SDF01N09cneT/+Z8Dkn0I719RXhbabAjvEZzc/UqK70/oXAU0taBbfRUm w2U= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=d0V9XL 93uj7gKEfcRVBQRKSJkLl3C9fEBusEL7KRLbk=; b=G9Fb+0FgJ0oYU8+iUvvqZG 3HNBnvptQ/jswrOLxdPlxelb+tWwj8I7Kz8PzH9r4s8vJc34oc47oeVzXOBS2FBC uT8wS6gapRuHHe/qR5JJ/iwu+kIXBk6E9mc6M3YKmAg+e6hUiAmyXhCo1LFcvk92 sOes4dDTSUoVTIsuvuYdVlDSc6/1x+5XNEFMtQ4GKvVdoR2TTd6qlrlBrA+fdjp2 RZwK4WjgjQ5onlbj+TzP3G0wiX/bU+aPPrbBybE9gwA6D2AG+NpxxFW48DiJnr09 DpXabDZpOG+x0gPFsKZpTMzA0nUbkNkbax0C7GCUdrjzI8hGSOTjop6WT6aO/mJA == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddruddvtddgtdduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuffkfhggtggujgesthdtre dttddtvdenucfhrhhomhepnfgvohcuhfgrmhhulhgrrhhiuceolhgvohesfhgrmhhulhgr rhhirdhnrghmvgeqnecuggftrfgrthhtvghrnhepvddvudegffefiedttdfhfedvuefhgf ekieekgeekveetgefhfeetgfegueduffeinecuffhomhgrihhnpehgnhhurdhorhhgnecu vehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheplhgvohesfh grmhhulhgrrhhirdhnrghmvg X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 28 Dec 2021 17:36:01 -0500 (EST) Date: Tue, 28 Dec 2021 17:35:59 -0500 From: Leo Famulari To: zimoun Subject: Re: bug#46413: tests/publish.scm fails on berlin Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 46413 Cc: 46413@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.7 (-) On Wed, Feb 10, 2021 at 12:41:23AM +0100, zimoun wrote: > On Wed, 10 Feb 2021 at 00:21, Leo Famulari wrote: > > > > I notice that tests/publish.scm crashes consistently when run "by hand" > > with `make check` on ci.guix.gnu.org: This is still happening. From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 15 13:12:29 2022 Received: (at 46413) by debbugs.gnu.org; 15 Jul 2022 17:12:29 +0000 Received: from localhost ([127.0.0.1]:42091 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oCOrc-0001ER-3R for submit@debbugs.gnu.org; Fri, 15 Jul 2022 13:12:29 -0400 Received: from mail-qt1-f173.google.com ([209.85.160.173]:45670) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oCOrX-0001E5-8A for 46413@debbugs.gnu.org; Fri, 15 Jul 2022 13:12:27 -0400 Received: by mail-qt1-f173.google.com with SMTP id b21so1103871qte.12 for <46413@debbugs.gnu.org>; Fri, 15 Jul 2022 10:12:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=wGj1L8RAReAklInUkud8KD/rjPtBuDcVVP+oH8pWVWU=; b=ObqoI2MQyGUUOgXFZFpyJyJksIUH4hcDs1SH/dppABD5H5t9rwuubzSqBfoVeEl3bQ /UOlQl7Zd00WUMjfCqR7rEuvpSP1BYLxr7zMzHVeMLn2iM6eDrU2lrcDSE+WLOFkSdnS Vd2KGEONmszDF/S5MB3vtP3X3M724ynKAkOeCgjP5PWE4nheifZDc3+oWbmx0tIr65Wp 4ZgL8q/Oyq6OC/7mDTEojSEY47DfFU5eH8YLwqmMzp2W+jH2CaD2XUo0CwELea7AU7HU ORPC27qCrYhyJ0NhqRwLiGwUwRQErVSFRR2e2Wz0ZHCPt/EQyoBhvTM3D5rvzQupflY6 Aw/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=wGj1L8RAReAklInUkud8KD/rjPtBuDcVVP+oH8pWVWU=; b=vZ5/smsmBNYNizt4oiGZO1eaTKmdmqsWaXB7pWM9mTv+SfMQD81RrbxwNSsrENjMll tZZmlmssApSIFnTWH7+vo0uAbwYs9B6wZ/h3V0O7ZYXxd8S0LxOJPOKb3hvjpHHecTfb pApeiXNFXKSv8gzYJLjV8kp2E5MW01RmzajW27QZWZwtB2a8VACS4lgidPVqdKpP73xr ELawmzL1yKX5l0ahEO/x8BBDZiZnchCQor/NTtMZirV/ogFWvJgmukJxz+EisUa9CtB8 FQKIeFEZ4hR++VZAYeY37zEnPIGUOo6Zs7RjE6HbkpIkedUrjgQjGzyEu6yjCXygKe1v iYIQ== X-Gm-Message-State: AJIora9BTO/s7UmPTjAFnvo0P7jYPVBF17dHqhNR3tAzd+5PTmDklhuz hyUmA/vE7XKlm0wHAwcPSRzkOvIYrnhopw== X-Google-Smtp-Source: AGRyM1uNitYmqHDZ0v0haoprhSoAxKZ2Rmt2DVYeT1WnRn8qIz19MVdkoZuPmLSyj5lIgxgsUXULJg== X-Received: by 2002:ac8:580c:0:b0:31e:e03d:dc57 with SMTP id g12-20020ac8580c000000b0031ee03ddc57mr1735473qtg.402.1657905136970; Fri, 15 Jul 2022 10:12:16 -0700 (PDT) Received: from hurd (dsl-205-233-125-176.b2b2c.ca. [205.233.125.176]) by smtp.gmail.com with ESMTPSA id d9-20020a05620a204900b006b5b7d1302dsm4154642qka.19.2022.07.15.10.12.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jul 2022 10:12:16 -0700 (PDT) From: Maxim Cournoyer To: Leo Famulari Subject: Re: bug#46413: tests/publish.scm fails on berlin References: Date: Fri, 15 Jul 2022 13:12:14 -0400 In-Reply-To: (Leo Famulari's message of "Tue, 9 Feb 2021 18:20:28 -0500") Message-ID: <87sfn2uwpd.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 46413 Cc: 46413@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 (-) Hi, Leo Famulari writes: > I notice that tests/publish.scm crashes consistently when run "by hand" > with `make check` on ci.guix.gnu.org: > > ------ > $ make check -j1 > [...] > PASS: tests/profiles.scm > make[4]: *** [Makefile:5520: tests/publish.log] Error 134 > make[4]: Leaving directory '/home/lfam/guix' > make[3]: *** [Makefile:5502: check-TESTS] Error 2 > make[3]: Leaving directory '/home/lfam/guix' > make[2]: *** [Makefile:5751: check-am] Error 2 > make[2]: Leaving directory '/home/lfam/guix' > make[1]: *** [Makefile:5279: check-recursive] Error 1 > make[1]: Leaving directory '/home/lfam/guix' > make: *** [Makefile:5753: check] Error 2=20 > ------ > > Since it crashes, the remainder of the tests are not run. > > I've attached the log, but I'm not sure what the problem is. > > test-name: /nix-cache-info > location: /home/lfam/guix/tests/publish.scm:135 > source: > + (test-equal > + "/nix-cache-info" > + (format > + #f > + "StoreDir: ~a\nWantMassQuery: 0\nPriority: 100\n" > + %store-directory) > + (http-get-body (publish-uri "/nix-cache-info"))) > expected-value: "StoreDir: /home/lfam/guix/test-tmp/store\nWantMassQuery:= 0\nPriority: 100\n" > actual-value: "StoreDir: /home/lfam/guix/test-tmp/store\nWantMassQuery: 0= \nPriority: 100\n" > result: PASS > > test-name: /*.narinfo > location: /home/lfam/guix/tests/publish.scm:140 > source: > + (test-equal > + "/*.narinfo" > + (let* ((info (query-path-info %store %item)) > + (unsigned-info > + (format > + #f > + "StorePath: ~a\nURL: nar/~a\nCompression: none\nFileSize: = ~a\nNarHash: sha256:~a\nNarSize: ~d\nReferences: ~a~%" > + %item > + (basename %item) > + (path-info-nar-size info) > + (bytevector->nix-base32-string > + (path-info-hash info)) > + (path-info-nar-size info) > + (basename (first (path-info-references info))))) > + (signature > + (base64-encode > + (string->utf8 > + (canonical-sexp->string > + (signed-string unsigned-info)))))) > + (format > + #f > + "~aSignature: 1;~a;~a~%" > + unsigned-info > + (gethostname) > + signature)) > + (utf8->string > + (http-get-body > + (publish-uri > + (string-append > + "/" > + (store-path-hash-part %item) > + ".narinfo"))))) > expected-value: "StorePath: /home/lfam/guix/test-tmp/store/s3i2h3aw4gk9fs= 3d80j43sj1g9v50idf-item\nURL: nar/s3i2h3aw4gk9fs3d80j43sj1g9v50idf-item\nCo= mpression: none\nFileSize: 120\nNarHash: sha256:1xngcmsdkdvaycaqjfzvq4gr3gi= b56p2l8illglnsqzhpss47pxz\nNarSize: 120\nReferences: 7va9x8gzhcwxv1srdiw9jx= 6ia9c20s0j-ref\nSignature: 1;berlin.guix.gnu.org;KHNpZ25hdHVyZSAKIChkYXRhIA= ogIChmbGFncyBwa2NzMSkKICAoaGFzaCBzaGEyNTYgIzdCODIxNDAyQjZCQTI3NzQ3OTI0QTdFN= DUwMDdFMzYyOUM2OTUwOTFFNjlCQTI2OTc2MUIwRDRDMkRGMUJCQ0IjKQogICkKIChzaWctdmFs= IAogIChyc2EgCiAgIChzICNCREVCOEY4Mjk4QzY1MkQ4NkNCRTgwQjJEMEIzMUY0MUFBODI3ODU= 1RkRBNDUyNjU1REQwMUQ5Mzg2RTk2OUQ2RTlFNzdFRTNDNzI2NjEwNzY4NjlFNEFGMUQ0MEM0M0= Y4RjQ5MjE2Nzc2QzVFQ0Q2NDc0QkY2MjFGNDVFOTRGOTJFOTk2Nzg5Mzg2NDI2MThFNjdGQzA5R= DU1MzcyNkQ5MzM5MjZFNkQ2MkQ3QzVFQTM4Mjc4NkUyQkFDRTIxQUVFNUVCMUVDMDFGNUUxQjc1= M0I2NzdDMDE1RTlBMEExNjk1MkRCQjgzQUM1MjMxQURBMzBDMTFDMjMzOTA4ODdEIykKICAgKQo= gICkKIChwdWJsaWMta2V5IAogIChyc2EgCiAgIChuICMwMEMxRjc2NDA2OUY1NEZGRTkzQTEyNk= IwMjMyODkwM0U5ODRFNEFFM0FGNkRGNDAyQjVCNkIzOTA3OTExQjg4QzM4NUYxQkE3NkEwMDJFQ= zlERUExMDlBNTIyOEVGMEU2MkVFMzFBMDZEMUE1ODYxQ0FCNDc0RjZDODU3QUM2NkVCNjVBMTkw= NUYyNUJCQTE4Njk1NzlFNzNBM0I3RkVEMTNBRjVBMTY2NzMyNkY4OENERkMyRkYyNEIwM0MxNEZ= EMTM4NEFBN0U3M0NBODk1NzI4ODBCNjA2RTNBOTc0RTE1MzQ3OTYzRkM3QjYzNzg1NzQ5MzZBND= c1ODBEQkNCNDUjKQogICAoZSAjMDEwMDAxIykKICAgKQogICkKICkK\n" > actual-value: "StorePath: /home/lfam/guix/test-tmp/store/s3i2h3aw4gk9fs3d= 80j43sj1g9v50idf-item\nURL: nar/s3i2h3aw4gk9fs3d80j43sj1g9v50idf-item\nComp= ression: none\nFileSize: 120\nNarHash: sha256:1xngcmsdkdvaycaqjfzvq4gr3gib5= 6p2l8illglnsqzhpss47pxz\nNarSize: 120\nReferences: 7va9x8gzhcwxv1srdiw9jx6i= a9c20s0j-ref\nSignature: 1;berlin.guix.gnu.org;KHNpZ25hdHVyZSAKIChkYXRhIAog= IChmbGFncyBwa2NzMSkKICAoaGFzaCBzaGEyNTYgIzdCODIxNDAyQjZCQTI3NzQ3OTI0QTdFNDU= wMDdFMzYyOUM2OTUwOTFFNjlCQTI2OTc2MUIwRDRDMkRGMUJCQ0IjKQogICkKIChzaWctdmFsIA= ogIChyc2EgCiAgIChzICNCREVCOEY4Mjk4QzY1MkQ4NkNCRTgwQjJEMEIzMUY0MUFBODI3ODU1R= kRBNDUyNjU1REQwMUQ5Mzg2RTk2OUQ2RTlFNzdFRTNDNzI2NjEwNzY4NjlFNEFGMUQ0MEM0M0Y4= RjQ5MjE2Nzc2QzVFQ0Q2NDc0QkY2MjFGNDVFOTRGOTJFOTk2Nzg5Mzg2NDI2MThFNjdGQzA5RDU= 1MzcyNkQ5MzM5MjZFNkQ2MkQ3QzVFQTM4Mjc4NkUyQkFDRTIxQUVFNUVCMUVDMDFGNUUxQjc1M0= I2NzdDMDE1RTlBMEExNjk1MkRCQjgzQUM1MjMxQURBMzBDMTFDMjMzOTA4ODdEIykKICAgKQogI= CkKIChwdWJsaWMta2V5IAogIChyc2EgCiAgIChuICMwMEMxRjc2NDA2OUY1NEZGRTkzQTEyNkIw= MjMyODkwM0U5ODRFNEFFM0FGNkRGNDAyQjVCNkIzOTA3OTExQjg4QzM4NUYxQkE3NkEwMDJFQzl= ERUExMDlBNTIyOEVGMEU2MkVFMzFBMDZEMUE1ODYxQ0FCNDc0RjZDODU3QUM2NkVCNjVBMTkwNU= YyNUJCQTE4Njk1NzlFNzNBM0I3RkVEMTNBRjVBMTY2NzMyNkY4OENERkMyRkYyNEIwM0MxNEZEM= TM4NEFBN0U3M0NBODk1NzI4ODBCNjA2RTNBOTc0RTE1MzQ3OTYzRkM3QjYzNzg1NzQ5MzZBNDc1= ODBEQkNCNDUjKQogICAoZSAjMDEwMDAxIykKICAgKQogICkKICkK\n" > result: PASS > > test-name: /*.narinfo with properly encoded '+' sign > location: /home/lfam/guix/tests/publish.scm:169 > source: > + (test-equal > + "/*.narinfo with properly encoded '+' sign" > + (let* ((item (add-text-to-store > + %store > + "fake-gtk+" > + "Congrats!")) > + (info (query-path-info %store item)) > + (unsigned-info > + (format > + #f > + "StorePath: ~a\nURL: nar/~a\nCompression: none\nFileSize: = ~a\nNarHash: sha256:~a\nNarSize: ~d\nReferences: ~%" > + item > + (uri-encode (basename item)) > + (path-info-nar-size info) > + (bytevector->nix-base32-string > + (path-info-hash info)) > + (path-info-nar-size info))) > + (signature > + (base64-encode > + (string->utf8 > + (canonical-sexp->string > + (signed-string unsigned-info)))))) > + (format > + #f > + "~aSignature: 1;~a;~a~%" > + unsigned-info > + (gethostname) > + signature)) > + (let ((item (add-text-to-store > + %store > + "fake-gtk+" > + "Congrats!"))) > + (utf8->string > + (http-get-body > + (publish-uri > + (string-append > + "/" > + (store-path-hash-part item) > + ".narinfo")))))) > expected-value: "StorePath: /home/lfam/guix/test-tmp/store/r3j7lcw6x9lsmq= cly3m8509ynzxk9668-fake-gtk+\nURL: nar/r3j7lcw6x9lsmqcly3m8509ynzxk9668-fak= e-gtk%2B\nCompression: none\nFileSize: 128\nNarHash: sha256:1ysbwi8icaw2g5q= mwjf9k0qd4d9gazd91kf1djycpk5ahwh4kmlp\nNarSize: 128\nReferences: \nSignatur= e: 1;berlin.guix.gnu.org;KHNpZ25hdHVyZSAKIChkYXRhIAogIChmbGFncyBwa2NzMSkKIC= AoaGFzaCBzaGEyNTYgIzZENEMwM0RFNDM1MjcyMzdGMzRBODZFQjY0NzFFQUMwRjcwRkNGNDRFN= zIyRDk5QURDRUJFNkRCNzE0MDZGOEMjKQogICkKIChzaWctdmFsIAogIChyc2EgCiAgIChzICMw= NkJDQjk2QzE0RUI5RkI2QTgzQUM2NkIzMEUyNTI0N0I2MEE5Rjc5RDJCNkRBQUEyMDMxRjRCRDE= wNjAzMjlBMTBENkNGNjU2MUMyMEFEQTg5NENGMzM4OTAwQTA3RTREREVCQjdBNDkzQTBBNDc1RT= hDNTc2MTMxMzA3RkI1NzJGQTc4NTRDRTRGNDM5NTlCREFDNzA0RjYzODQ5MTAwMzM1MkYzQjAxM= DZENjFCRTNEMjZDMDk0QjJDNDJFQzY3NjFGOTY1ODdDMDkzODVERTgyMzQ1Qjk1QkUyNkE0MDI3= QTI1OUIxMUQ4RkYxOENGRTQyMTE5RUMyODM4RDhFIykKICAgKQogICkKIChwdWJsaWMta2V5IAo= gIChyc2EgCiAgIChuICMwMEMxRjc2NDA2OUY1NEZGRTkzQTEyNkIwMjMyODkwM0U5ODRFNEFFM0= FGNkRGNDAyQjVCNkIzOTA3OTExQjg4QzM4NUYxQkE3NkEwMDJFQzlERUExMDlBNTIyOEVGMEU2M= kVFMzFBMDZEMUE1ODYxQ0FCNDc0RjZDODU3QUM2NkVCNjVBMTkwNUYyNUJCQTE4Njk1NzlFNzNB= M0I3RkVEMTNBRjVBMTY2NzMyNkY4OENERkMyRkYyNEIwM0MxNEZEMTM4NEFBN0U3M0NBODk1NzI= 4ODBCNjA2RTNBOTc0RTE1MzQ3OTYzRkM3QjYzNzg1NzQ5MzZBNDc1ODBEQkNCNDUjKQogICAoZS= AjMDEwMDAxIykKICAgKQogICkKICkK\n" > actual-value: "StorePath: /home/lfam/guix/test-tmp/store/r3j7lcw6x9lsmqcl= y3m8509ynzxk9668-fake-gtk+\nURL: nar/r3j7lcw6x9lsmqcly3m8509ynzxk9668-fake-= gtk%2B\nCompression: none\nFileSize: 128\nNarHash: sha256:1ysbwi8icaw2g5qmw= jf9k0qd4d9gazd91kf1djycpk5ahwh4kmlp\nNarSize: 128\nReferences: \nSignature:= 1;berlin.guix.gnu.org;KHNpZ25hdHVyZSAKIChkYXRhIAogIChmbGFncyBwa2NzMSkKICAo= aGFzaCBzaGEyNTYgIzZENEMwM0RFNDM1MjcyMzdGMzRBODZFQjY0NzFFQUMwRjcwRkNGNDRFNzI= yRDk5QURDRUJFNkRCNzE0MDZGOEMjKQogICkKIChzaWctdmFsIAogIChyc2EgCiAgIChzICMwNk= JDQjk2QzE0RUI5RkI2QTgzQUM2NkIzMEUyNTI0N0I2MEE5Rjc5RDJCNkRBQUEyMDMxRjRCRDEwN= jAzMjlBMTBENkNGNjU2MUMyMEFEQTg5NENGMzM4OTAwQTA3RTREREVCQjdBNDkzQTBBNDc1RThD= NTc2MTMxMzA3RkI1NzJGQTc4NTRDRTRGNDM5NTlCREFDNzA0RjYzODQ5MTAwMzM1MkYzQjAxMDZ= ENjFCRTNEMjZDMDk0QjJDNDJFQzY3NjFGOTY1ODdDMDkzODVERTgyMzQ1Qjk1QkUyNkE0MDI3QT= I1OUIxMUQ4RkYxOENGRTQyMTE5RUMyODM4RDhFIykKICAgKQogICkKIChwdWJsaWMta2V5IAogI= Chyc2EgCiAgIChuICMwMEMxRjc2NDA2OUY1NEZGRTkzQTEyNkIwMjMyODkwM0U5ODRFNEFFM0FG= NkRGNDAyQjVCNkIzOTA3OTExQjg4QzM4NUYxQkE3NkEwMDJFQzlERUExMDlBNTIyOEVGMEU2MkV= FMzFBMDZEMUE1ODYxQ0FCNDc0RjZDODU3QUM2NkVCNjVBMTkwNUYyNUJCQTE4Njk1NzlFNzNBM0= I3RkVEMTNBRjVBMTY2NzMyNkY4OENERkMyRkYyNEIwM0MxNEZEMTM4NEFBN0U3M0NBODk1NzI4O= DBCNjA2RTNBOTc0RTE1MzQ3OTYzRkM3QjYzNzg1NzQ5MzZBNDc1ODBEQkNCNDUjKQogICAoZSAj= MDEwMDAxIykKICAgKQogICkKICkK\n" > result: PASS > > test-name: /nar/* > location: /home/lfam/guix/tests/publish.scm:201 > source: > + (test-equal > + "/nar/*" > + "bar" > + (call-with-temporary-output-file > + (lambda (temp port) > + (let ((nar (utf8->string > + (http-get-body > + (publish-uri > + (string-append "/nar/" (basename %item))))))) > + (call-with-input-string > + nar > + (cut restore-file <> temp))) > + (call-with-input-file temp read-string)))) > expected-value: "bar" > actual-value: "bar" > result: PASS > > test-name: /nar/gzip/* > location: /home/lfam/guix/tests/publish.scm:212 > source: > + (test-equal > + "/nar/gzip/*" > + "bar" > + (call-with-temporary-output-file > + (lambda (temp port) > + (let ((nar (http-get-port > + (publish-uri > + (string-append "/nar/gzip/" (basename %item)))))) > + (call-with-gzip-input-port > + nar > + (cut restore-file <> temp))) > + (call-with-input-file temp read-string)))) > expected-value: "bar" > actual-value: "bar" > result: PASS > > test-name: /nar/gzip/* is really gzip > location: /home/lfam/guix/tests/publish.scm:223 > source: > + (test-equal > + "/nar/gzip/* is really gzip" > + %gzip-magic-bytes > + (let ((nar (http-get-port > + (publish-uri > + (string-append "/nar/gzip/" (basename %item)))))) > + (get-bytevector-n > + nar > + (bytevector-length %gzip-magic-bytes)))) > expected-value: #vu8(31 139) > actual-value: #vu8(31 139) > result: PASS > > test-name: /nar/lzip/* > location: /home/lfam/guix/tests/publish.scm:233 > source: > + (test-equal > + "/nar/lzip/*" > + "bar" > + (call-with-temporary-output-file > + (lambda (temp port) > + (let ((nar (http-get-port > + (publish-uri > + (string-append "/nar/lzip/" (basename %item)))))) > + (call-with-lzip-input-port > + nar > + (cut restore-file <> temp))) > + (call-with-input-file temp read-string)))) > expected-value: "bar" > actual-value: "bar" > result: PASS > > test-name: /nar/zstd/* > location: /home/lfam/guix/tests/publish.scm:245 > source: > + (test-equal > + "/nar/zstd/*" > + "bar" > + (call-with-temporary-output-file > + (lambda (temp port) > + (let ((nar (http-get-port > + (publish-uri > + (string-append "/nar/zstd/" (basename %item)))))) > + (call-with-zstd-input-port > + nar > + (cut restore-file <> temp))) > + (call-with-input-file temp read-string)))) > expected-value: "bar" > actual-value: "bar" > result: PASS > > test-name: /*.narinfo with compression > location: /home/lfam/guix/tests/publish.scm:256 > source: > + (test-equal > + "/*.narinfo with compression" > + `(("StorePath" unquote %item) > + ("URL" > + unquote > + (string-append "nar/gzip/" (basename %item))) > + ("Compression" . "gzip")) > + (let ((thread > + (with-separate-output-ports > + (call-with-new-thread > + (lambda () (guix-publish "--port=3D6799" "-C5")))))) > + (wait-until-ready 6799) > + (let* ((url (string-append > + "http://localhost:6799/" > + (store-path-hash-part %item) > + ".narinfo")) > + (body (http-get-port url))) > + (filter > + (lambda (item) > + (match item > + (("Compression" . _) #t) > + (("StorePath" . _) #t) > + (("URL" . _) #t) > + (_ #f))) > + (recutils->alist body))))) > expected-value: (("StorePath" . "/home/lfam/guix/test-tmp/store/s3i2h3aw4= gk9fs3d80j43sj1g9v50idf-item") ("URL" . "nar/gzip/s3i2h3aw4gk9fs3d80j43sj1g= 9v50idf-item") ("Compression" . "gzip")) > actual-value: (("StorePath" . "/home/lfam/guix/test-tmp/store/s3i2h3aw4gk= 9fs3d80j43sj1g9v50idf-item") ("URL" . "nar/gzip/s3i2h3aw4gk9fs3d80j43sj1g9v= 50idf-item") ("Compression" . "gzip")) > result: PASS > > test-name: /*.narinfo with lzip compression > location: /home/lfam/guix/tests/publish.scm:276 > source: > + (test-equal > + "/*.narinfo with lzip compression" > + `(("StorePath" unquote %item) > + ("URL" > + unquote > + (string-append "nar/lzip/" (basename %item))) > + ("Compression" . "lzip")) > + (let ((thread > + (with-separate-output-ports > + (call-with-new-thread > + (lambda () (guix-publish "--port=3D6790" "-Clzip")))))) > + (wait-until-ready 6790) > + (let* ((url (string-append > + "http://localhost:6790/" > + (store-path-hash-part %item) > + ".narinfo")) > + (body (http-get-port url))) > + (filter > + (lambda (item) > + (match item > + (("Compression" . _) #t) > + (("StorePath" . _) #t) > + (("URL" . _) #t) > + (_ #f))) > + (recutils->alist body))))) > expected-value: (("StorePath" . "/home/lfam/guix/test-tmp/store/s3i2h3aw4= gk9fs3d80j43sj1g9v50idf-item") ("URL" . "nar/lzip/s3i2h3aw4gk9fs3d80j43sj1g= 9v50idf-item") ("Compression" . "lzip")) > actual-value: (("StorePath" . "/home/lfam/guix/test-tmp/store/s3i2h3aw4gk= 9fs3d80j43sj1g9v50idf-item") ("URL" . "nar/lzip/s3i2h3aw4gk9fs3d80j43sj1g9v= 50idf-item") ("Compression" . "lzip")) > result: PASS > > test-name: /*.narinfo for a compressed file > location: /home/lfam/guix/tests/publish.scm:296 > source: > + (test-equal > + "/*.narinfo for a compressed file" > + '("none" "nar") > + (let* ((item (add-text-to-store > + %store > + "fake.tar.gz" > + "This is a fake compressed file.")) > + (url (string-append > + "http://localhost:6799/" > + (store-path-hash-part item) > + ".narinfo")) > + (body (http-get-port url)) > + (info (recutils->alist body))) > + (list (assoc-ref info "Compression") > + (dirname (assoc-ref info "URL"))))) > expected-value: ("none" "nar") > actual-value: ("none" "nar") > result: PASS > > test-name: /*.narinfo with lzip + gzip > location: /home/lfam/guix/tests/publish.scm:308 > source: > + (test-equal > + "/*.narinfo with lzip + gzip" > + `((("StorePath" unquote %item) > + ("URL" > + unquote > + (string-append "nar/gzip/" (basename %item))) > + ("Compression" . "gzip") > + ("URL" > + unquote > + (string-append "nar/lzip/" (basename %item))) > + ("Compression" . "lzip")) > + 200 > + 200) > + (call-with-temporary-directory > + (lambda (cache) > + (let ((thread > + (with-separate-output-ports > + (call-with-new-thread > + (lambda () > + (guix-publish > + "--port=3D6793" > + "-Cgzip:2" > + "-Clzip:2")))))) > + (wait-until-ready 6793) > + (let* ((base "http://localhost:6793/") > + (part (store-path-hash-part %item)) > + (url (string-append base part ".narinfo")) > + (body (http-get-port url))) > + (list (take (recutils->alist body) 5) > + (response-code > + (http-get > + (string-append base "nar/gzip/" (basename %item)))) > + (response-code > + (http-get > + (string-append base "nar/lzip/" (basename %item))))= )))))) > expected-value: ((("StorePath" . "/home/lfam/guix/test-tmp/store/s3i2h3aw= 4gk9fs3d80j43sj1g9v50idf-item") ("URL" . "nar/gzip/s3i2h3aw4gk9fs3d80j43sj1= g9v50idf-item") ("Compression" . "gzip") ("URL" . "nar/lzip/s3i2h3aw4gk9fs3= d80j43sj1g9v50idf-item") ("Compression" . "lzip")) 200 200) > actual-value: ((("StorePath" . "/home/lfam/guix/test-tmp/store/s3i2h3aw4g= k9fs3d80j43sj1g9v50idf-item") ("URL" . "nar/gzip/s3i2h3aw4gk9fs3d80j43sj1g9= v50idf-item") ("Compression" . "gzip") ("URL" . "nar/lzip/s3i2h3aw4gk9fs3d8= 0j43sj1g9v50idf-item") ("Compression" . "lzip")) 200 200) > result: PASS > > test-name: custom nar path > location: /home/lfam/guix/tests/publish.scm:335 > source: > + (test-equal > + "custom nar path" > + (list `(("StorePath" unquote %item) > + ("URL" > + unquote > + (string-append > + "foo/bar/chbouib/" > + (basename %item))) > + ("Compression" . "none")) > + 200 > + 404) > + (let ((thread > + (with-separate-output-ports > + (call-with-new-thread > + (lambda () > + (guix-publish > + "--port=3D6798" > + "-C0" > + "--nar-path=3D///foo/bar//chbouib/")))))) > + (wait-until-ready 6798) > + (let* ((base "http://localhost:6798/") > + (part (store-path-hash-part %item)) > + (url (string-append base part ".narinfo")) > + (nar-url > + (string-append > + base > + "foo/bar/chbouib/" > + (basename %item))) > + (body (http-get-port url))) > + (list (filter > + (lambda (item) > + (match item > + (("Compression" . _) #t) > + (("StorePath" . _) #t) > + (("URL" . _) #t) > + (_ #f))) > + (recutils->alist body)) > + (response-code (http-get nar-url)) > + (response-code > + (http-get > + (string-append base "nar/" (basename %item)))))))) > expected-value: ((("StorePath" . "/home/lfam/guix/test-tmp/store/s3i2h3aw= 4gk9fs3d80j43sj1g9v50idf-item") ("URL" . "foo/bar/chbouib/s3i2h3aw4gk9fs3d8= 0j43sj1g9v50idf-item") ("Compression" . "none")) 200 404) > actual-value: ((("StorePath" . "/home/lfam/guix/test-tmp/store/s3i2h3aw4g= k9fs3d80j43sj1g9v50idf-item") ("URL" . "foo/bar/chbouib/s3i2h3aw4gk9fs3d80j= 43sj1g9v50idf-item") ("Compression" . "none")) 200 404) > result: PASS > > test-name: /nar/ with properly encoded '+' sign > location: /home/lfam/guix/tests/publish.scm:365 > source: > + (test-equal > + "/nar/ with properly encoded '+' sign" > + "Congrats!" > + (let ((item (add-text-to-store > + %store > + "fake-gtk+" > + "Congrats!"))) > + (call-with-temporary-output-file > + (lambda (temp port) > + (let ((nar (utf8->string > + (http-get-body > + (publish-uri > + (string-append > + "/nar/" > + (uri-encode (basename item)))))))) > + (call-with-input-string > + nar > + (cut restore-file <> temp))) > + (call-with-input-file temp read-string))))) > expected-value: "Congrats!" > actual-value: "Congrats!" > result: PASS > > test-name: /nar/invalid > location: /home/lfam/guix/tests/publish.scm:377 > source: > + (test-equal > + "/nar/invalid" > + 404 > + (begin > + (call-with-output-file > + (string-append (%store-prefix) "/invalid") > + (lambda (port) > + (display > + "This file is not a valid store item." > + port))) > + (response-code > + (http-get > + (publish-uri (string-append "/nar/invalid")))))) > expected-value: 404 > actual-value: 404 > result: PASS > > publishing /home/lfam/guix/test-tmp/store on 0.0.0.0, port 6789 > using 'none' compression method, level 0 > publishing /home/lfam/guix/test-tmp/store on 0.0.0.0, port 6799 > using 'gzip' compression method, level 5 > publishing /home/lfam/guix/test-tmp/store on 0.0.0.0, port 6790 > using 'lzip' compression method, level 3 > publishing /home/lfam/guix/test-tmp/store on 0.0.0.0, port 6793 > using 'gzip' compression method, level 2 > using 'lzip' compression method, level 2 > publishing /home/lfam/guix/test-tmp/store on 0.0.0.0, port 6798 > using 'none' compression method, level 0 > @ build-started /home/lfam/guix/test-tmp/store/lcjfvb26q7jlmbnb2zdni2sghl= j993bp-the-file.txt.drv - x86_64-linux /home/lfam/guix/test-tmp/var/log/gui= x/drvs/lc//jfvb26q7jlmbnb2zdni2sghlj993bp-the-file.txt.drv.bz2 123820 > @ build-succeeded /home/lfam/guix/test-tmp/store/lcjfvb26q7jlmbnb2zdni2sg= hlj993bp-the-file.txt.drv - > test-name: /file/NAME/sha256/HASH > location: /home/lfam/guix/tests/publish.scm:385 > source: > + (test-equal > + "/file/NAME/sha256/HASH" > + "Hello, Guix world!" > + (let* ((data "Hello, Guix world!") > + (hash (call-with-input-string data port-sha256)) > + (drv (run-with-store > + %store > + (gexp->derivation > + "the-file.txt" > + (gexp (call-with-output-file > + (ungexp output) > + (lambda (port) (display (ungexp data) port)))) > + #:hash-algo > + 'sha256 > + #:hash > + hash))) > + (out (build-derivations %store (list drv)))) > + (utf8->string > + (http-get-body > + (publish-uri > + (string-append > + "/file/the-file.txt/sha256/" > + (bytevector->nix-base32-string hash))))))) > expected-value: "Hello, Guix world!" > actual-value: "Hello, Guix world!" > result: PASS > > test-name: /file/NAME/sha256/INVALID-NIX-BASE32-STRING > location: /home/lfam/guix/tests/publish.scm:403 > source: > + (test-equal > + "/file/NAME/sha256/INVALID-NIX-BASE32-STRING" > + 404 > + (let ((uri (publish-uri > + "/file/the-file.txt/sha256/not-a-nix-base32-string"))) > + (response-code (http-get uri)))) > expected-value: 404 > actual-value: 404 > result: PASS > > test-name: /file/NAME/sha256/INVALID-HASH > location: /home/lfam/guix/tests/publish.scm:409 > source: > + (test-equal > + "/file/NAME/sha256/INVALID-HASH" > + 404 > + (let ((uri (publish-uri > + (string-append > + "/file/the-file.txt/sha256/" > + (bytevector->nix-base32-string > + (call-with-input-string "" port-sha256)))))) > + (response-code (http-get uri)))) > expected-value: 404 > actual-value: 404 > result: PASS > > > ;;; (wait-for-file "/tmp/guix-directory.9rJG3j/gzip/s3i2h3aw4gk9fs3d80j43= sj1g9v50idf-item.narinfo") > test-name: with cache > location: /home/lfam/guix/tests/publish.scm:417 > source: > + (test-equal > + "with cache" > + (list #t > + `(("StorePath" unquote %item) > + ("URL" > + unquote > + (string-append "nar/gzip/" (basename %item))) > + ("Compression" . "gzip")) > + 200 > + #t > + #t > + 404) > + (call-with-temporary-directory > + (lambda (cache) > + (let ((thread > + (with-separate-output-ports > + (call-with-new-thread > + (lambda () > + (guix-publish > + "--port=3D6797" > + "-C2" > + (string-append "--cache=3D" cache) > + "--cache-bypass-threshold=3D0")))))) > + (wait-until-ready 6797) > + (let* ((base "http://localhost:6797/") > + (part (store-path-hash-part %item)) > + (url (string-append base part ".narinfo")) > + (nar-url > + (string-append base "nar/gzip/" (basename %item))) > + (cached > + (string-append > + cache > + "/gzip/" > + (basename %item) > + ".narinfo")) > + (nar (string-append > + cache > + "/gzip/" > + (basename %item) > + ".nar")) > + (response (http-get url))) > + (and (=3D 404 (response-code response)) > + (match (assq-ref > + (response-headers response) > + 'cache-control) > + ((((quote max-age) . ttl)) (< ttl 3600))) > + (wait-for-file cached) > + (=3D 420 (stat:perms (lstat cached))) > + (=3D 420 (stat:perms (lstat nar))) > + (let* ((body (http-get-port url)) > + (compressed (http-get nar-url)) > + (uncompressed > + (http-get > + (string-append base "nar/" (basename %item)))) > + (narinfo (recutils->alist body))) > + (list (file-exists? nar) > + (filter > + (lambda (item) > + (match item > + (("Compression" . _) #t) > + (("StorePath" . _) #t) > + (("URL" . _) #t) > + (_ #f))) > + narinfo) > + (response-code compressed) > + (=3D (response-content-length compressed) > + (stat:size (stat nar))) > + (=3D (string->number (assoc-ref narinfo "FileSiz= e")) > + (stat:size (stat nar))) > + (response-code uncompressed))))))))) > expected-value: (#t (("StorePath" . "/home/lfam/guix/test-tmp/store/s3i2h= 3aw4gk9fs3d80j43sj1g9v50idf-item") ("URL" . "nar/gzip/s3i2h3aw4gk9fs3d80j43= sj1g9v50idf-item") ("Compression" . "gzip")) 200 #t #t 404) > actual-value: (#t (("StorePath" . "/home/lfam/guix/test-tmp/store/s3i2h3a= w4gk9fs3d80j43sj1g9v50idf-item") ("URL" . "nar/gzip/s3i2h3aw4gk9fs3d80j43sj= 1g9v50idf-item") ("Compression" . "gzip")) 200 #t #t 404) > result: PASS > > > ;;; (wait-for-file "/tmp/guix-directory.m96XNk/gzip/s3i2h3aw4gk9fs3d80j43= sj1g9v50idf-item.narinfo") > > ;;; (narinfo/gzip+lzip (("StorePath" . "/home/lfam/guix/test-tmp/store/s3= i2h3aw4gk9fs3d80j43sj1g9v50idf-item") ("URL" . "nar/gzip/s3i2h3aw4gk9fs3d80= j43sj1g9v50idf-item") ("Compression" . "gzip") ("FileSize" . "86") ("URL" .= "nar/lzip/s3i2h3aw4gk9fs3d80j43sj1g9v50idf-item") ("Compression" . "lzip")= ("FileSize" . "99") ("NarHash" . "sha256:1xngcmsdkdvaycaqjfzvq4gr3gib56p2l= 8illglnsqzhpss47pxz") ("NarSize" . "120") ("References" . "7va9x8gzhcwxv1sr= diw9jx6ia9c20s0j-ref") ("Signature" . "1;berlin.guix.gnu.org;KHNpZ25hdHVyZS= AKIChkYXRhIAogIChmbGFncyBwa2NzMSkKICAoaGFzaCBzaGEyNTYgI0VENDRDQjY2QjZFRUY0M= zMyNjI4M0I5QkEwQjc4QTRCQjEyQjI0REFEODBDNUM2RjlCRjZCMzVDNzY5MDNCMEEjKQogICkK= IChzaWctdmFsIAogIChyc2EgCiAgIChzICMyMUJFNTJCNUY3RjM0MTlBQjNENkJGMjM1RkM2NDU= zRjVFMTFGNDQ2RjMzRjU3OTNBQjE5MEMwREE1MkU3QkJFMkQzMDZFMzFCNzJFNTRFREM3OEFDRD= ZCQzczOTJBNTI3MEFDMTIzQzU1NkI4Q0VCMUY3N0FGM0YwN0VFMzY2NzQ5QURENTE5QTU1MDk1N= jRFMzFGRjkyOEJEREY1MURGM0YxOEM5Qzc1OUMzQzczQzg1RkJCNUIxMUNBRDJCQkNGNTJFRjEy= MDU0MTQxQkI3NjE0QUJCMTRCOERGRUY0MjY1NzdDQzU5RDEwN0Y3QjIxN0I3M0QzNkJGNDcwMjd= FIykKICAgKQogICkKIChwdWJsaWMta2V5IAogIChyc2EgCiAgIChuICMwMEMxRjc2NDA2OUY1NE= ZGRTkzQTEyNkIwMjMyODkwM0U5ODRFNEFFM0FGNkRGNDAyQjVCNkIzOTA3OTExQjg4QzM4NUYxQ= kE3NkEwMDJFQzlERUExMDlBNTIyOEVGMEU2MkVFMzFBMDZEMUE1ODYxQ0FCNDc0RjZDODU3QUM2= NkVCNjVBMTkwNUYyNUJCQTE4Njk1NzlFNzNBM0I3RkVEMTNBRjVBMTY2NzMyNkY4OENERkMyRkY= yNEIwM0MxNEZEMTM4NEFBN0U3M0NBODk1NzI4ODBCNjA2RTNBOTc0RTE1MzQ3OTYzRkM3QjYzNz= g1NzQ5MzZBNDc1ODBEQkNCNDUjKQogICAoZSAjMDEwMDAxIykKICAgKQogICkKICkK"))) > test-name: with cache, lzip + gzip > location: /home/lfam/guix/tests/publish.scm:479 > source: > + (test-equal > + "with cache, lzip + gzip" > + '(200 200 404) > + (call-with-temporary-directory > + (lambda (cache) > + (let ((thread > + (with-separate-output-ports > + (call-with-new-thread > + (lambda () > + (guix-publish > + "--port=3D6794" > + "-Cgzip:2" > + "-Clzip:2" > + (string-append "--cache=3D" cache) > + "--cache-bypass-threshold=3D0")))))) > + (wait-until-ready 6794) > + (let* ((base "http://localhost:6794/") > + (part (store-path-hash-part %item)) > + (url (string-append base part ".narinfo")) > + (nar-url > + (cute string-append > + "nar/" > + <> > + "/" > + (basename %item))) > + (cached > + (cute string-append > + cache > + "/" > + <> > + "/" > + (basename %item) > + ".narinfo")) > + (nar (cute string-append > + cache > + "/" > + <> > + "/" > + (basename %item) > + ".nar")) > + (response (http-get url))) > + (wait-for-file (cached "gzip")) > + (let* ((body (http-get-port url)) > + (narinfo (recutils->alist body)) > + (uncompressed > + (string-append base "nar/" (basename %item)))) > + (and (file-exists? (nar "gzip")) > + (file-exists? (nar "lzip")) > + (equal? > + (take (pk 'narinfo/gzip+lzip narinfo) 7) > + `(("StorePath" unquote %item) > + ("URL" unquote (nar-url "gzip")) > + ("Compression" . "gzip") > + ("FileSize" > + unquote > + (number->string (stat:size (stat (nar "gzip"))))) > + ("URL" unquote (nar-url "lzip")) > + ("Compression" . "lzip") > + ("FileSize" > + unquote > + (number->string (stat:size (stat (nar "lzip")))))= )) > + (list (response-code > + (http-get (string-append base (nar-url "gzip")= ))) > + (response-code > + (http-get (string-append base (nar-url "lzip")= ))) > + (response-code (http-get uncompressed)))))))))) > expected-value: (200 200 404) > actual-value: (200 200 404) > result: PASS > > > ;;; (wait-for-file "/tmp/guix-directory.5CRlhm/none/drlf4d7hrx8spvy4klkf7= 9k1cbzb72v8-fake-compressed-thing.tar.gz.narinfo") > test-name: with cache, uncompressed > location: /home/lfam/guix/tests/publish.scm:526 > source: > + (test-equal > + "with cache, uncompressed" > + (list #t > + (* 42 3600) > + `(("StorePath" unquote item) > + ("URL" > + unquote > + (string-append "nar/" (basename item))) > + ("Compression" . "none")) > + 200 > + (* 42 3600) > + (path-info-nar-size > + (query-path-info %store item)) > + 404) > + (call-with-temporary-directory > + (lambda (cache) > + (let ((thread > + (with-separate-output-ports > + (call-with-new-thread > + (lambda () > + (guix-publish > + "--port=3D6796" > + "-C2" > + "--ttl=3D42h" > + (string-append "--cache=3D" cache) > + "--cache-bypass-threshold=3D0")))))) > + (wait-until-ready 6796) > + (let* ((base "http://localhost:6796/") > + (part (store-path-hash-part item)) > + (url (string-append base part ".narinfo")) > + (cached > + (string-append > + cache > + "/none/" > + (basename item) > + ".narinfo")) > + (nar (string-append > + cache > + "/none/" > + (basename item) > + ".nar")) > + (response (http-get url))) > + (and (=3D 404 (response-code response)) > + (wait-for-file cached) > + (let* ((response (http-get url)) > + (body (http-get-port url)) > + (compressed > + (http-get > + (string-append base "nar/gzip/" (basename ite= m)))) > + (uncompressed > + (http-get > + (string-append base "nar/" (basename item)))) > + (narinfo (recutils->alist body))) > + (list (file-exists? nar) > + (match (assq-ref > + (response-headers response) > + 'cache-control) > + ((((quote max-age) . ttl)) ttl) > + (_ #f)) > + (filter > + (lambda (item) > + (match item > + (("Compression" . _) #t) > + (("StorePath" . _) #t) > + (("URL" . _) #t) > + (_ #f))) > + narinfo) > + (response-code uncompressed) > + (match (assq-ref > + (response-headers uncompressed) > + 'cache-control) > + ((((quote max-age) . ttl)) ttl) > + (_ #f)) > + (string->number (assoc-ref narinfo "FileSize")) > + (response-code compressed))))))))) > expected-value: (#t 151200 (("StorePath" . "/home/lfam/guix/test-tmp/stor= e/drlf4d7hrx8spvy4klkf79k1cbzb72v8-fake-compressed-thing.tar.gz") ("URL" . = "nar/drlf4d7hrx8spvy4klkf79k1cbzb72v8-fake-compressed-thing.tar.gz") ("Comp= ression" . "none")) 200 151200 176 404) > actual-value: (#t 151200 (("StorePath" . "/home/lfam/guix/test-tmp/store/= drlf4d7hrx8spvy4klkf79k1cbzb72v8-fake-compressed-thing.tar.gz") ("URL" . "n= ar/drlf4d7hrx8spvy4klkf79k1cbzb72v8-fake-compressed-thing.tar.gz") ("Compre= ssion" . "none")) 200 151200 176 404) > result: PASS > > > ;;; (wait-for-file "/tmp/guix-directory.lQ5Iyj/gzip/8g66gfkxls4pxvz2l1b47= zn6sgryd23r-random.narinfo") > publishing /home/lfam/guix/test-tmp/store on 0.0.0.0, port 6797 > using 'gzip' compression method, level 2 > publishing /home/lfam/guix/test-tmp/store on 0.0.0.0, port 6794 > using 'gzip' compression method, level 2 > using 'lzip' compression method, level 2 > random seed for tests: 1612901421 > publishing /home/lfam/guix/test-tmp/store on 0.0.0.0, port 6796 > using 'gzip' compression method, level 2 > publishing /home/lfam/guix/test-tmp/store on 0.0.0.0, port 6795 > using 'gzip' compression method, level 3 > finding garbage collector roots... > removing stale temporary roots file `/home/lfam/guix/test-tmp/var/123751/= temproots/123781' > deleting unused links... > > ;;; (response #< version: (1 . 1) code: 200 reason-phrase: "OK"= headers: ((content-length . 1277) (content-type application/x-nix-narinfo = (charset . "utf-8"))) port: #>) > test-name: with cache, vanishing item > location: /home/lfam/guix/tests/publish.scm:587 > source: > + (test-equal > + "with cache, vanishing item" > + 200 > + (call-with-temporary-directory > + (lambda (cache) > + (let ((thread > + (with-separate-output-ports > + (call-with-new-thread > + (lambda () > + (guix-publish > + "--port=3D6795" > + (string-append "--cache=3D" cache))))))) > + (wait-until-ready 6795) > + (let* ((base "http://localhost:6795/") > + (item (add-text-to-store %store "random" (random-text))) > + (part (store-path-hash-part item)) > + (url (string-append base part ".narinfo")) > + (cached > + (string-append > + cache > + "/gzip/" > + (basename item) > + ".narinfo")) > + (response (http-get url))) > + (and (=3D 200 (response-code response)) > + (wait-for-file cached) > + (begin > + (delete-paths %store (list item)) > + (response-code (pk 'response (http-get url)))))))))) > expected-value: 200 > actual-value: 200 > result: PASS I don't see any failure in the above test results? Thanks, Maxim From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 19 09:52:37 2022 Received: (at 46413) by debbugs.gnu.org; 19 Jul 2022 13:52:37 +0000 Received: from localhost ([127.0.0.1]:53171 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oDneO-0007Nr-R9 for submit@debbugs.gnu.org; Tue, 19 Jul 2022 09:52:37 -0400 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:51955) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oDneM-0007NA-Ra for 46413@debbugs.gnu.org; Tue, 19 Jul 2022 09:52:35 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id C0390320029B; Tue, 19 Jul 2022 09:52:27 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Tue, 19 Jul 2022 09:52:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=cc:cc:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=mesmtp; t=1658238747; x=1658325147; bh=LaaBioHSauR82sfdDk3pZqTTcYP3rT4Cv3mpOhjHt+s=; b=WEYaXRyhohhy L7q3oP9UGKoyzJGM25FqcO9Fj0QbpV3eiQHm11vWOIzTaQ43uESJMmMPcjYDAZTd QOOATDzMl04aNJSWsS8VPRQ6VFNDY5/CKLAQy4dpXP5AZsU3jWcM4a0SbIXopRMz FNLwNrC/L/ak4IiS2IxRgn7PKANWRzs= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; t=1658238747; x=1658325147; bh=LaaBioHSauR82sfdDk3pZqTTcYP3 rT4Cv3mpOhjHt+s=; b=cftbjcwE2Uu13KYql1e8WC+bzuuttiAXJB0ZrXr5HOtp QZB8G7zUA/+NjepNBUxS0IIrBvkDkLHVSE/VRfNUTMamtuogNu5YRLznTqUX/h+s HWwH2T9ycWc1olYNfFzvuFFuNJvlxCbq7PyJcsIic+koZNgTqC03/+h79UNmE71X NncnsHZPJFaiWpACBUmqFVPt2zQD9jRoOCA6p47wQl4jPOP26iCGyp8RgXguODTp Nc1PWGFAAe24PT5iro2nSoN6e6YMMz/lvZZdd4Usp6+rr1rPyoZFlCjTW9drYWyM rH7lllmYIPJkXeFmPKqo4JLdX/0xprBM8rdjnlCJ4Q== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrudeltddgieelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvfevuffkfhggtggujgesthdtredttddtvdenucfhrhhomhepnfgvohcu hfgrmhhulhgrrhhiuceolhgvohesfhgrmhhulhgrrhhirdhnrghmvgeqnecuggftrfgrth htvghrnhepteehuedviedvleeuueekhfdtieehtdeghfdvvdelhfdujeduieehleefveet uefhnecuffhomhgrihhnpehgnhhurdhorhhgnecuvehluhhsthgvrhfuihiivgeptdenuc frrghrrghmpehmrghilhhfrhhomheplhgvohesfhgrmhhulhgrrhhirdhnrghmvg X-ME-Proxy: Feedback-ID: i819c4023:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 19 Jul 2022 09:52:26 -0400 (EDT) Date: Tue, 19 Jul 2022 09:52:25 -0400 From: Leo Famulari To: Maxim Cournoyer Subject: Re: bug#46413: tests/publish.scm fails on berlin Message-ID: References: <87sfn2uwpd.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87sfn2uwpd.fsf@gmail.com> X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 46413 Cc: 46413@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.7 (-) On Fri, Jul 15, 2022 at 01:12:14PM -0400, Maxim Cournoyer wrote: > Hi, > > Leo Famulari writes: > > > I notice that tests/publish.scm crashes consistently when run "by hand" > > with `make check` on ci.guix.gnu.org: > > > > ------ > > $ make check -j1 > > [...] > > PASS: tests/profiles.scm > > make[4]: *** [Makefile:5520: tests/publish.log] Error 134 > > make[4]: Leaving directory '/home/lfam/guix' > > make[3]: *** [Makefile:5502: check-TESTS] Error 2 > > make[3]: Leaving directory '/home/lfam/guix' > > make[2]: *** [Makefile:5751: check-am] Error 2 > > make[2]: Leaving directory '/home/lfam/guix' > > make[1]: *** [Makefile:5279: check-recursive] Error 1 > > make[1]: Leaving directory '/home/lfam/guix' > > make: *** [Makefile:5753: check] Error 2 > > ------ > > > > Since it crashes, the remainder of the tests are not run. > > > > I've attached the log, but I'm not sure what the problem is. [...] > I don't see any failure in the above test results? The test suite crashes, so there are no error messages printed. I haven't dug in, but I suspect the test suite doesn't handle the case where the host machine is already running a `guix publish` server.