From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Philipp Stephani Newsgroups: gmane.emacs.bugs Subject: bug#30700: 27.0.50; Broken tests on macOS Date: Wed, 17 Apr 2019 21:25:37 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="127425"; mail-complaints-to="usenet@blaine.gmane.org" To: 30700@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Apr 17 21:35:19 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hGqL1-000X1y-2u for geb-bug-gnu-emacs@m.gmane.org; Wed, 17 Apr 2019 21:35:19 +0200 Original-Received: from localhost ([127.0.0.1]:58547 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hGqL0-000560-2d for geb-bug-gnu-emacs@m.gmane.org; Wed, 17 Apr 2019 15:35:18 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:36817) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hGqC3-0006Gm-Ox for bug-gnu-emacs@gnu.org; Wed, 17 Apr 2019 15:26:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hGqC2-0004d8-63 for bug-gnu-emacs@gnu.org; Wed, 17 Apr 2019 15:26:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55461) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hGqC1-0004cU-Uu for bug-gnu-emacs@gnu.org; Wed, 17 Apr 2019 15:26:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hGqC1-00089b-K2 for bug-gnu-emacs@gnu.org; Wed, 17 Apr 2019 15:26:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Philipp Stephani Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 17 Apr 2019 19:26:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30700 X-GNU-PR-Package: emacs Original-Received: via spool by 30700-submit@debbugs.gnu.org id=B30700.155552915731328 (code B ref 30700); Wed, 17 Apr 2019 19:26:01 +0000 Original-Received: (at 30700) by debbugs.gnu.org; 17 Apr 2019 19:25:57 +0000 Original-Received: from localhost ([127.0.0.1]:40772 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hGqBw-00089E-Tq for submit@debbugs.gnu.org; Wed, 17 Apr 2019 15:25:57 -0400 Original-Received: from mail-oi1-f172.google.com ([209.85.167.172]:34013) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hGqBv-000890-Hj for 30700@debbugs.gnu.org; Wed, 17 Apr 2019 15:25:56 -0400 Original-Received: by mail-oi1-f172.google.com with SMTP id v10so20995266oib.1 for <30700@debbugs.gnu.org>; Wed, 17 Apr 2019 12:25:55 -0700 (PDT) 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 :content-transfer-encoding; bh=RSP5cPAmSyaESKcx9qHBu8th7ifERLSlvCzaTvJvl3E=; b=dTT+UMSx0cTBivPHQ1LhZZMT4UDkd3JE6x3/16XKrQyPieErMBSSEI6edK6o/RuiF3 ifaEplrRZMixOuwNhlOSZoBS7i9cTwPmTEb9gTlPfuKVwvJh51ukJEEOJ2wCWGreUbIT FSmc6j8hYaLuD7wq76ZeN//WWuUVrtRKpSwa+jW3/W5tFZc45rg0emVzoitDbtpNaOyw 5j8GmgoA9/3fnsSZowOlJi6LPvOaiAqBo9fMVvGdBArvTzukLTSvi+S0SGwbslbPK1OM +kLcCTctlNdYPMx6Lgt+rkFwmPM8xXACW3kS+OA5L9BBNvzCAWiSThLIG70l1NAy0X0x 4uCg== 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:content-transfer-encoding; bh=RSP5cPAmSyaESKcx9qHBu8th7ifERLSlvCzaTvJvl3E=; b=QtouTY1B/tfVXbne9CIA+e0oFCUieYxUQ+0iXIj8KX7Tr3So+oJr6PcK2zqIvEl1kh 3z9wKjMBEd4kjjkUgqViIkA7W5t44mfy2/MkzHcYTDqKxho8IU2jmnkrF/wsRPccmuNV JykH9kcpTzcvfQ0BJVQsP6FKKI9Z+XXpuR7s27SlH2yKszP4Fy0W19p1RQdCQ6yE6Y4r WV0c39lZtQxbhWdEZ7ksMUhFl807nGkFmY6FyNOSlg528Vls6JtXB857tAwg0EPSIIRJ LTOUYSi2dh2vEvXBfDJ3PqcjkpxJxg31rcLF9YAKhG54vujpE40KhC7Ybc4ZskZep5AD 9tIA== X-Gm-Message-State: APjAAAWxPhgTcKmwsclWCr1IoO+ccnSwWIAfdWRL33EgWpOJO7bRkNbv w/Lc8+gth4PxqOc1tIB8u9Ib6pxpWqytf0l///bPMKqo X-Google-Smtp-Source: APXvYqw1eUlIn5sQLBCqA8jFqdzx6WBbeQzHSN1+3K5dUhgkVAZD/q8azdNYkhTI3RefLfRmVWeM2w6GinFhRTgNibU= X-Received: by 2002:aca:47d7:: with SMTP id u206mr173696oia.9.1555529148905; Wed, 17 Apr 2019 12:25:48 -0700 (PDT) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:157776 Archived-At: Am So., 4. M=C3=A4rz 2018 um 20:06 Uhr schrieb Philipp : > > > The following tests fail for me on macOS with a recent master build: An update: I've run the testsuite again. The errors I got this time are: Test tramp-test19-directory-files-and-attributes backtrace: signal(ert-test-failed (((should (tramp--test-file-attributes-equal- ert-fail(((should (tramp--test-file-attributes-equal-p (file-attribu #f(compiled-function () #)() ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test ert-run-test(#s(ert-test :name tramp-test19-directory-files-and-attr ert-run-or-rerun-test(#s(ert--stats :selector (not ...) :tests [... ert-run-tests((not (or (tag :expensive-test) (tag :unstable))) #f(co ert-run-tests-batch((not (or (tag :expensive-test) (tag :unstable))) ert-run-tests-batch-and-exit((not (or (tag :expensive-test) (tag :un eval((ert-run-tests-batch-and-exit '(not (or (tag :expensive-test) ( command-line-1(("-L" ":." "-l" "ert" "-l" "lisp/net/tramp-tests" "-- command-line() normal-top-level() Test tramp-test19-directory-files-and-attributes condition: (ert-test-failed ((should (tramp--test-file-attributes-equal-p (file-attributes ...) (cdr elt))) :form (tramp--test-file-attributes-equal-p (t 5 501 20 (0 0 0 1000) (23735 29792) (23735 29792) 160 "drwxr-xr-x" nil ...) (t 5 501 20 (0 0 0 1000) (23735 29792) (23735 29792) 160 "drwxr-xr-x" nil ...)) :value nil)) FAILED 25/46 tramp-test19-directory-files-and-attributes (1.931638 sec= ) When using the explainer for equal, I get (list-elt 10 (different-types 8887934387 (4547 . 7603))) i.e. the inode numbers are different. I also don't understand why it used the dotted format for the RHS; with big integers this should never be necessary. Test tramp-test22-file-times backtrace: signal(ert-test-failed (((should (equal (nth 5 (file-attributes tmp- ert-fail(((should (equal (nth 5 (file-attributes tmp-name1)) (second #f(compiled-function () #)() ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test ert-run-test(#s(ert-test :name tramp-test22-file-times :documentatio ert-run-or-rerun-test(#s(ert--stats :selector (not ...) :tests [... ert-run-tests((not (or (tag :expensive-test) (tag :unstable))) #f(co ert-run-tests-batch((not (or (tag :expensive-test) (tag :unstable))) ert-run-tests-batch-and-exit((not (or (tag :expensive-test) (tag :un eval((ert-run-tests-batch-and-exit '(not (or (tag :expensive-test) ( command-line-1(("-L" ":." "-l" "ert" "-l" "lisp/net/tramp-tests" "-- command-line() normal-top-level() Test tramp-test22-file-times condition: (ert-test-failed ((should (equal (nth 5 ...) (seconds-to-time 1))) :form (equal (0 1) (0 1 0 0)) :value nil :explanation (proper-lists-of-different-length 2 4 (0 1) (0 1 0 0) first-mismatch-at 2))) FAILED 28/46 tramp-test22-file-times (2.090504 sec) These are two different representations of the same time. Probably something should normalize the return values to the canonical format. Test echo-server-with-dns backtrace: make-network-process(:name "server" :server t :noquery t :family ipv make-server("p") #f(compiled-function () #)() ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test ert-run-test(#s(ert-test :name echo-server-with-dns :documentation n ert-run-or-rerun-test(#s(ert--stats :selector (not ...) :tests [... ert-run-tests((not (or (tag :expensive-test) (tag :unstable))) #f(co ert-run-tests-batch((not (or (tag :expensive-test) (tag :unstable))) ert-run-tests-batch-and-exit((not (or (tag :expensive-test) (tag :un eval((ert-run-tests-batch-and-exit '(not (or (tag :expensive-test) ( command-line-1(("-L" ":." "-l" "ert" "-l" "lisp/net/network-stream-t command-line() normal-top-level() Test echo-server-with-dns condition: (error "p/0 nodename nor servname provided, or not known") FAILED 5/24 echo-server-with-dns (0.003934 sec) Same as before. Test shadow-test08-shadow-todo backtrace: signal(ert-test-failed (((should (member (cons file (shadow-contract ert-fail(((should (member (cons file (shadow-contract-file-name (con #f(compiled-function () #)() ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test ert-run-test(#s(ert-test :name shadow-test08-shadow-todo :documentat ert-run-or-rerun-test(#s(ert--stats :selector (not (or ... ...)) :te ert-run-tests((not (or (tag :expensive-test) (tag :unstable))) #f(co ert-run-tests-batch((not (or (tag :expensive-test) (tag :unstable))) ert-run-tests-batch-and-exit((not (or (tag :expensive-test) (tag :un eval((ert-run-tests-batch-and-exit '(not (or (tag :expensive-test) ( command-line-1(("-L" ":." "-l" "ert" "-l" "lisp/shadowfile-tests" "- command-line() normal-top-level() Test shadow-test08-shadow-todo condition: (ert-test-failed ((should (member (cons file ...) shadow-files-to-copy)) :form (member ("/var/folders/ks/sxl3n3w51td0ry21j3tjs1wh0000gn/T/shadowfile-testso= znrLv" . "/cluster2:/var/folders/ks/sxl3n3w51td0ry21j3tjs1wh0000gn/T/shadowfile-te= stsoznrLv") nil) :value nil)) FAILED 9/10 shadow-test08-shadow-todo (0.170742 sec) Test shadow-test09-shadow-copy-files backtrace: signal(ert-test-failed (((should (looking-at (regexp-quote "(setq sh ert-fail(((should (looking-at (regexp-quote "(setq shadow-files-to-c #f(compiled-function () #)() ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test ert-run-test(#s(ert-test :name shadow-test09-shadow-copy-files :docu ert-run-or-rerun-test(#s(ert--stats :selector (not (or ... ...)) :te ert-run-tests((not (or (tag :expensive-test) (tag :unstable))) #f(co ert-run-tests-batch((not (or (tag :expensive-test) (tag :unstable))) ert-run-tests-batch-and-exit((not (or (tag :expensive-test) (tag :un eval((ert-run-tests-batch-and-exit '(not (or (tag :expensive-test) ( command-line-1(("-L" ":." "-l" "ert" "-l" "lisp/shadowfile-tests" "- command-line() normal-top-level() Test shadow-test09-shadow-copy-files condition: (ert-test-failed ((should (looking-at (regexp-quote "(setq shadow-files-to-copy nil)"))) :form (looking-at "(setq shadow-files-to-copy nil)") :value nil)) FAILED 10/10 shadow-test09-shadow-copy-files (2.697340 sec) I don't understand these yet. That is, some tests are fixed, but there are also a few new failures.