From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mathieu Othacehe Subject: bug#38359: Guix 1.0.1-10.41b4b71 test fails on armhf Date: Mon, 25 Nov 2019 12:51:45 +0100 Message-ID: <87a78ktbqm.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:59632) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iZLzF-0006QO-1e for bug-guix@gnu.org; Mon, 25 Nov 2019 16:33:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iZLzD-0003Ue-Lw for bug-guix@gnu.org; Mon, 25 Nov 2019 16:33:36 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:43782) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iZLzB-0003T8-QR for bug-guix@gnu.org; Mon, 25 Nov 2019 16:33:35 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iZLzB-0002Tv-O1 for bug-guix@gnu.org; Mon, 25 Nov 2019 16:33:33 -0500 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:54435) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iZCuO-0005b4-DP for bug-guix@gnu.org; Mon, 25 Nov 2019 06:52:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iZCuM-0000HI-J1 for bug-guix@gnu.org; Mon, 25 Nov 2019 06:52:00 -0500 Received: from mail-wm1-x332.google.com ([2a00:1450:4864:20::332]:40166) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iZCuI-000056-OQ for bug-guix@gnu.org; Mon, 25 Nov 2019 06:51:55 -0500 Received: by mail-wm1-x332.google.com with SMTP id y5so15596450wmi.5 for ; Mon, 25 Nov 2019 03:51:53 -0800 (PST) Received: from meru (lfbn-ann-1-237-90.w86-200.abo.wanadoo.fr. [86.200.196.90]) by smtp.gmail.com with ESMTPSA id x10sm10230965wrp.58.2019.11.25.03.51.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Nov 2019 03:51:49 -0800 (PST) List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 38359@debbugs.gnu.org Hello, I have 3 failing tests when building guix 1.0.1-10.41b4b71 on armhf. I didn't build with -K argument and as it takes ~10 hours, so I'll just paste my terminal output for now. It seems to fail on ci.guix.info but the log is partial? http://ci.guix.info/log/ma98kc90y5jp7h1ydxjlfa7r3nx0sd37-guix-1.0.1-10.41b4b71 Here is my output: --8<---------------cut here---------------start------------->8--- ================================================= GNU Guix 1.0.1-10.41b4b71: ./test-suite.log ================================================= # TOTAL: 975 # PASS: 903 # SKIP: 67 # XFAIL: 2 # FAIL: 3 # XPASS: 0 # ERROR: 0 --8<---------------cut here---------------end--------------->8--- and the failing tests: --8<---------------cut here---------------start------------->8--- test-name: make-lzip-input-port/compressed location: /tmp/guix-build-guix-1.0.1-10.41b4b71.drv-0/source/tests/lzlib.scm:111 source: + (test-assert + "make-lzip-input-port/compressed" + (let* ((len (pk 'len (+ 10 (random 4000 %seed)))) + (data (random-bytevector len)) + (compressed + (make-lzip-input-port/compressed + (open-bytevector-input-port data))) + (result + (call-with-lzip-input-port + compressed + get-bytevector-all))) + (pk (bytevector-length result) + (bytevector-length data)) + random seed for tests: 1574602043 (bytevector=? result data))) ;;; (len 3501) actual-value: #f actual-error: + (wrong-type-arg + #f + "Wrong type to apply: ~S" + (#f) + (#f)) result: FAIL --8<---------------cut here---------------end--------------->8--- and, --8<---------------cut here---------------start------------->8--- test-name: client location: /tmp/guix-build-guix-1.0.1-10.41b4b71.drv-0/source/tests/processes.scm:43 source: + (test-assert + "client" + (with-store + store + (let* ((session + (find (lambda (session) + (= (getpid) + (process-id (daemon-session-client session)))) + (daemon-sessions))) + (daemon (daemon-session-process session))) + (and (kill (process-id daemon) 0) + (string-suffix? + "guix-daemon" + (first (process-command daemon))))))) actual-value: #f actual-error: + (wrong-type-arg + "struct_vtable" + "Wrong type argument in position ~A (expecting ~A): ~S" + (1 "struct" #f) + (#f)) result: FAIL --8<---------------cut here---------------end--------------->8--- and, --8<---------------cut here---------------start------------->8--- test-name: client + lock location: /tmp/guix-build-guix-1.0.1-10.41b4b71.drv-0/source/tests/processes.scm:53 source: + (test-assert + "client + lock" + (with-store + store + (call-with-temporary-directory + (lambda (directory) + (let* ((token1 (string-append directory "/token1")) + (token2 (string-append directory "/token2")) + (exp (gexp (begin + (ungexp (random-text)) + (mkdir (ungexp token1)) + (let loop () + (unless + (file-exists? (ungexp token2)) + (sleep 1) + (loop))) + (mkdir (ungexp output))))) + (guile (package-derivation store %bootstrap-guile)) + (drv (run-with-store + store + (gexp->derivation + "foo" + exp + #:guile-for-build + guile))) + (thread + (call-with-new-thread + (lambda () (build-derivations store (list drv))))) + (_ (let loop () + (unless + (file-exists? token1) + (usleep 200) + (loop)))) + (session + (find (lambda (session) + (= (getpid) + (process-id (daemon-session-client session)))) + (daemon-sessions))) + (locks (daemon-session-locks-held (pk 'session session)))) + (call-with-output-file token2 (const #t)) + (equal? + (list (string-append + (derivation->output-path drv) + ".lock")) + locks)))))) ;;; (session #f) actual-value: #f actual-error: + (wrong-type-arg + "struct_vtable" + "Wrong type argument in position ~A (expecting ~A): ~S" + (1 "struct" #f) + (#f)) result: FAIL --8<---------------cut here---------------end--------------->8--- Thanks, Mathieu