From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 18 15:54:13 2020 Received: (at 40650) by debbugs.gnu.org; 18 Apr 2020 19:54:13 +0000 Received: from localhost ([127.0.0.1]:43615 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jPtXU-0002Xy-Jo for submit@debbugs.gnu.org; Sat, 18 Apr 2020 15:54:13 -0400 Received: from eggs1p.gnu.org ([209.51.188.97]:34566 helo=eggs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jPtXO-0002XM-Ir for 40650@debbugs.gnu.org; Sat, 18 Apr 2020 15:54:07 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:35529) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jPtXJ-0001qj-88; Sat, 18 Apr 2020 15:53:57 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=55820 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jPtXB-0003bF-Cd; Sat, 18 Apr 2020 15:53:51 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Vagrant Cascadian Subject: =?utf-8?B?4oCYc2NhbmRpcirigJk=?= test failure References: <87pnc8wgnq.fsf@yucca> <87d087kem6.fsf@gnu.org> <87o8rr1h02.fsf@ponder> <87mu7abinc.fsf@gnu.org> <87sgh14v6y.fsf@yucca> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 30 Germinal an 228 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Sat, 18 Apr 2020 21:53:48 +0200 In-Reply-To: <87sgh14v6y.fsf@yucca> (Vagrant Cascadian's message of "Fri, 17 Apr 2020 15:13:41 -0700") Message-ID: <87ftd0604z.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 40650 Cc: 40650@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 (-) Hey, Vagrant Cascadian skribis: > test-name: scandir*, properties > location: /build/guix-YPdZIs/guix-1.1.0/tests/syscalls.scm:257 > source: > + (test-assert > + "scandir*, properties" > + (let ((directory > + (dirname > + (search-path %load-path "guix/base32.scm")))) > + (every (lambda (entry name) > + (match entry > + ((name2 . properties) > + (and (string=3D? name2 name) > + (let* ((full (string-append directory "/" nam= e)) > + (stat (lstat full)) > + (inode (assoc-ref properties 'inode)) > + (type (assoc-ref properties 'type))) > + (and (=3D inode (stat:ino stat)) > + (or (eq? type 'unknown) > + (eq? type (stat:type stat))))))))) > + (pk (scandir* directory)) > + (pk (scandir directory (const #t) string > ;;; ((("." (type . directory) (inode . 656899)) (".." (type . directory) = (inode . 655381)) ("base16.go" (type . regular) (inode . 673193)) ("base16.= scm" (type . regular) (inode . 656947)) ("base32.go" (type . regular) (inod= e . 674231)) ("base32.scm" (type . regular) (inode . 656911)) ("base64.go" = (type . regular) (inode . 675116)) ("base64.scm" (type . regular) (inode . = 657151)) ("build" (type . directory) (inode . 657319)) ("build-system" (typ= e . directory) (inode . 657157)) ("build-system.go" (type . regular) (inode= . 673229)) ("build-system.scm" (type . regular) (inode . 656914)) ("bzr-do= wnload.go" (type . regular) (inode . 674252)) ("bzr-download.scm" (type . r= egular) (inode . 656932)) ("cache.go" (type . regular) (inode . 673222)) ("= cache.scm" (type . regular) (inode . 657532)) ("channels.go" (type . regula= r) (inode . 675153)) ("channels.scm" (type . regular) (inode . 657499)) ("c= i.go" (type . regular) (inode . 674235)) ("ci.scm" (type . regular) (inode = . 657298)) ("colors.go" (type . regular) (inode . 673271)) ("colors.scm" (t= ype . regular) (inode . 656965)) ("combinators.go" (type . regular) (inode = . 675122)) ("combinators.scm" (type . regular) (inode . 656926)) ("config.g= o" (type . regular) (inode . 676566)) ("config.scm" (type . regular) (inode= . 675006)) ("config.scm.in" (type . regular) (inode . 657505)) ("cpio.go" = (type . regular) (inode . 675880)) ("cpio.scm" (type . regular) (inode . 65= 6935)) ("cve.go" (type . regular) (inode . 675915)) ("cve.scm" (type . regu= lar) (inode . 657295)) ("cvs-download.go" (type . regular) (inode . 674303)= ) ("cvs-download.scm" (type . regular) (inode . 657265)) ("deprecation.go" = (type . regular) (inode . 674238)) ("deprecation.scm" (type . regular) (ino= de . 656962)) ("derivations.go" (type . regular) (inode . 675143)) ("deriva= tions.scm" (type . regular) (inode . 657544)) ("describe.go" (type . regula= r) (inode . 675149)) ("describe.scm" (type . regular) (inode . 656908)) ("d= iagnostics.go" (type . regular) (inode . 675214)) ("diagnostics.scm" (type = . regular) (inode . 656902)) ("discovery.go" (type . regular) (inode . 6758= 97)) ("discovery.scm" (type . regular) (inode . 656971)) ("docker.go" (type= . regular) (inode . 673196)) ("docker.scm" (type . regular) (inode . 65696= 8)) ("download.go" (type . regular) (inode . 675127)) ("download.scm" (type= . regular) (inode . 657310)) ("elf.go" (type . regular) (inode . 673265)) = ("elf.scm" (type . regular) (inode . 657301)) ("ftp-client.go" (type . regu= lar) (inode . 674297)) ("ftp-client.scm" (type . regular) (inode . 657538))= ("gexp.go" (type . regular) (inode . 673203)) ("gexp.scm" (type . regular)= (inode . 656941)) ("git-download.go" (type . regular) (inode . 674255)) ("= git-download.scm" (type . regular) (inode . 657316)) ("git.go" (type . regu= lar) (inode . 673219)) ("git.scm" (type . regular) (inode . 656905)) ("glob= .go" (type . regular) (inode . 673216)) ("glob.scm" (type . regular) (inode= . 656929)) ("gnu-maintenance.go" (type . regular) (inode . 673210)) ("gnu-= maintenance.scm" (type . regular) (inode . 657517)) ("gnupg.go" (type . reg= ular) (inode . 675940)) ("gnupg.scm" (type . regular) (inode . 657292)) ("g= rafts.go" (type . regular) (inode . 674258)) ("grafts.scm" (type . regular)= (inode . 657520)) ("graph.go" (type . regular) (inode . 675175)) ("graph.s= cm" (type . regular) (inode . 656917)) ("hg-download.go" (type . regular) (= inode . 675900)) ("hg-download.scm" (type . regular) (inode . 657508)) ("ht= tp-client.go" (type . regular) (inode . 674300)) ("http-client.scm" (type .= regular) (inode . 657526)) ("i18n.go" (type . regular) (inode . 675211)) (= "i18n.scm" (type . regular) (inode . 657268)) ("import" (type . directory) = (inode . 657574)) ("inferior.go" (type . regular) (inode . 675146)) ("infer= ior.scm" (type . regular) (inode . 657523)) ("json.go" (type . regular) (in= ode . 675883)) ("json.scm" (type . regular) (inode . 657145)) ("licenses.go= " (type . regular) (inode . 673213)) ("licenses.scm" (type . regular) (inod= e . 657502)) ("lint.go" (type . regular) (inode . 675912)) ("lint.scm" (typ= e . regular) (inode . 657277)) ("lzlib.go" (type . regular) (inode . 674267= )) ("lzlib.scm" (type . regular) (inode . 656923)) ("man-db.scm" (type . re= gular) (inode . 657280)) ("memoization.go" (type . regular) (inode . 675889= )) ("memoization.scm" (type . regular) (inode . 656956)) ("modules.go" (typ= e . regular) (inode . 674249)) ("modules.scm" (type . regular) (inode . 657= 541)) ("monad-repl.go" (type . regular) (inode . 675903)) ("monad-repl.scm"= (type . regular) (inode . 657529)) ("monads.go" (type . regular) (inode . = 673200)) ("monads.scm" (type . regular) (inode . 657547)) ("nar.go" (type .= regular) (inode . 675906)) ("nar.scm" (type . regular) (inode . 656977)) (= "packages.go" (type . regular) (inode . 675997)) ("packages.scm" (type . re= gular) (inode . 657289)) ("pki.go" (type . regular) (inode . 674242)) ("pki= .scm" (type . regular) (inode . 657571)) ("profiles.go" (type . regular) (i= node . 675139)) ("profiles.scm" (type . regular) (inode . 657514)) ("profil= ing.go" (type . regular) (inode . 675943)) ("profiling.scm" (type . regular= ) (inode . 657274)) ("progress.go" (type . regular) (inode . 675886)) ("pro= gress.scm" (type . regular) (inode . 657283)) ("records.go" (type . regular= ) (inode . 675119)) ("records.scm" (type . regular) (inode . 657313)) ("rem= ote.scm" (type . regular) (inode . 657154)) ("repl.go" (type . regular) (in= ode . 674262)) ("repl.scm" (type . regular) (inode . 656938)) ("scripts" (t= ype . directory) (inode . 656983)) ("scripts.go" (type . regular) (inode . = 674383)) ("scripts.scm" (type . regular) (inode . 657271)) ("search-paths.g= o" (type . regular) (inode . 674352)) ("search-paths.scm" (type . regular) = (inode . 656944)) ("self.go" (type . regular) (inode . 675167)) ("self.scm"= (type . regular) (inode . 656920)) ("serialization.go" (type . regular) (i= node . 673206)) ("serialization.scm" (type . regular) (inode . 657535)) ("s= ets.go" (type . regular) (inode . 674246)) ("sets.scm" (type . regular) (in= ode . 656953)) ("ssh.scm" (type . regular) (inode . 656980)) ("status.go" (= type . regular) (inode . 674311)) ("status.scm" (type . regular) (inode . 6= 57307)) ("store" (type . directory) (inode . 657553)) ("store.go" (type . r= egular) (inode . 673268)) ("store.scm" (type . regular) (inode . 657550)) (= "svn-download.go" (type . regular) (inode . 675208)) ("svn-download.scm" (t= ype . regular) (inode . 656974)) ("swh.go" (type . regular) (inode . 675130= )) ("swh.scm" (type . regular) (inode . 657148)) ("tests" (type . directory= ) (inode . 657256)) ("tests.go" (type . regular) (inode . 676569)) ("tests.= scm" (type . regular) (inode . 656950)) ("ui.go" (type . regular) (inode . = 674307)) ("ui.scm" (type . regular) (inode . 657304)) ("upstream.go" (type = . regular) (inode . 675171)) ("upstream.scm" (type . regular) (inode . 6572= 86)) ("utils.go" (type . regular) (inode . 675892)) ("utils.scm" (type . re= gular) (inode . 657511)) ("workers.go" (type . regular) (inode . 673225)) (= "workers.scm" (type . regular) (inode . 656959)) ("zlib.go" (type . regular= ) (inode . 675918)) ("zlib.scm" (type . regular) (inode . 657637)))) > > ;;; (("." ".." "base16.go" "base16.scm" "base32.go" "base32.scm" "base64.= go" "base64.scm" "build" "build-system" "build-system.go" "build-system.scm= " "bzr-download.go" "bzr-download.scm" "cache.go" "cache.scm" "channels.go"= "channels.scm" "ci.go" "ci.scm" "colors.go" "colors.scm" "combinators.go" = "combinators.scm" "config.go" "config.scm" "config.scm.in" "cpio.go" "cpio.= scm" "cve.go" "cve.scm" "cvs-download.go" "cvs-download.scm" "deprecation.g= o" "deprecation.scm" "derivations.go" "derivations.scm" "describe.go" "desc= ribe.scm" "diagnostics.go" "diagnostics.scm" "discovery.go" "discovery.scm"= "docker.go" "docker.scm" "download.go" "download.scm" "elf.go" "elf.scm" "= ftp-client.go" "ftp-client.scm" "gexp.go" "gexp.scm" "git-download.go" "git= -download.scm" "git.go" "git.scm" "glob.go" "glob.scm" "gnu-maintenance.go"= "gnu-maintenance.scm" "gnupg.go" "gnupg.scm" "grafts.go" "grafts.scm" "gra= ph.go" "graph.scm" "hg-download.go" "hg-download.scm" "http-client.go" "htt= p-client.scm" "i18n.go" "i18n.scm" "import" "inferior.go" "inferior.scm" "j= son.go" "json.scm" "licenses.go" "licenses.scm" "lint.go" "lint.scm" "lzlib= .go" "lzlib.scm" "man-db.scm" "memoization.go" "memoization.scm" "modules.g= o" "modules.scm" "monad-repl.go" "monad-repl.scm" "monads.go" "monads.scm" = "nar.go" "nar.scm" "packages.go" "packages.scm" "pki.go" "pki.scm" "profile= s.go" "profiles.scm" "profiling.go" "profiling.scm" "progress.go" "progress= .scm" "records.go" "records.scm" "remote.scm" "repl.go" "repl.scm" "scripts= " "scripts.go" "scripts.scm" "search-paths.go" "search-paths.scm" "self.go"= "self.scm" "serialization.go" "serialization.scm" "sets.go" "sets.scm" "ss= h.scm" "status.go" "status.scm" "store" "store.go" "store.scm" "svn-downloa= d.go" "svn-download.scm" "swh.go" "swh.scm" "tests" "tests.go" "tests.scm" = "ui.go" "ui.scm" "upstream.go" "upstream.scm" "utils.go" "utils.scm" "worke= rs.go" "workers.scm" "zlib.go" "zlib.scm")) > actual-value: #f > result: FAIL Looking at this test, the only way =E2=80=98every=E2=80=99 could return #f = is (1) if =E2=80=98lstat=E2=80=99 returns a different inode number, or (2) if =E2=80= =98lstat=E2=80=99 returns a different file type than the one for =E2=80=98scandir*=E2=80=99. Unfortunately it=E2=80=99s hard to tell more without debugging interactivel= y on the machine, adding =E2=80=98pk=E2=80=99 calls here and there to see. Can you reproduce this test failure in a simpler environment when interactive debugging is possible? Thanks, Ludo=E2=80=99.