unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Kangas <stefan@marxist.se>
To: Michael Albinus <michael.albinus@gmx.de>
Cc: 37202@debbugs.gnu.org
Subject: bug#37202: shadowfile-tests: two failures on macOS
Date: Tue, 3 Sep 2019 15:13:07 +0200	[thread overview]
Message-ID: <CADwFkmnWKu=kJgX_2_4M=B6wBrOP4ZUpv+6+Z6S_obDQ6XuXiw@mail.gmail.com> (raw)
In-Reply-To: <87muflpoiz.fsf@gmx.de>

[-- Attachment #1: Type: text/plain, Size: 527 bytes --]

Michael Albinus <michael.albinus@gmx.de> writes:

Hi Michael,

> Could you, pls, check? In case it still fails, pls set shadow-debug to t
> (in shadowfile-tests.el, line 67), and rerun the test.

Thanks for looking into this.  Unfortunately, I'm still seeing
failures on latest master (commit ea5d591f29):

2 unexpected results:
   FAILED  shadow-test08-shadow-todo
   FAILED  shadow-test09-shadow-copy-files

I've attached the output of "make -C test shadowfile-tests" with
shadow-debug set to t.

Best regards,
Stefan Kangas

[-- Attachment #2: shadowfile-tests.log --]
[-- Type: application/octet-stream, Size: 4424 bytes --]

  GEN      lisp/shadowfile-tests.log
Running 10 tests (2019-09-03 15:09:00+0200, selector `(not (tag :unstable))')
   passed   1/10  shadow-test00-clusters (4.038487 sec)
   passed   2/10  shadow-test01-sites (0.028111 sec)
   passed   3/10  shadow-test02-files (0.011824 sec)
   passed   4/10  shadow-test03-expand-cluster-in-file-name (0.012810 sec)
   passed   5/10  shadow-test04-contract-file-name (0.134683 sec)
   passed   6/10  shadow-test05-file-match (0.015192 sec)
   passed   7/10  shadow-test06-literal-groups (0.034533 sec)
   passed   8/10  shadow-test07-regexp-groups (0.030164 sec)
cluster1 /Stefans-MBP: \`/Stefans-MBP:\' ((shadow-cluster cluster1 /Stefans-MBP: \`/Stefans-MBP:\'))
cluster2 /mock:Stefans-MBP: \`/mock:Stefans-MBP:\' ((shadow-cluster cluster2 /mock:Stefans-MBP: \`/mock:Stefans-MBP:\') (shadow-cluster cluster1 /Stefans-MBP: \`/Stefans-MBP:\'))
/var/folders/pj/rhx0gxy15tv3vx6l3mdy0qvm0000gn/T/shadowfile-testsMVv1V3 ((/cluster1:/var/folders/pj/rhx0gxy15tv3vx6l3mdy0qvm0000gn/T/shadowfile-testsMVv1V3 /cluster2:/var/folders/pj/rhx0gxy15tv3vx6l3mdy0qvm0000gn/T/shadowfile-testsMVv1V3))
(/var/folders/pj/rhx0gxy15tv3vx6l3mdy0qvm0000gn/T/shadowfile-testsMVv1V3 . /cluster2:/var/folders/pj/rhx0gxy15tv3vx6l3mdy0qvm0000gn/T/shadowfile-testsMVv1V3) nil
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
  (if (unwind-protect (setq value-549 (apply fn-547 args-548)) (setq f
  (let (form-description-551) (if (unwind-protect (setq value-549 (app
  (let ((value-549 'ert-form-evaluation-aborted-550)) (let (form-descr
  (let* ((fn-547 #'member) (args-548 (condition-case err (let ((signal
  (progn (shadow--tests-cleanup) (setq cluster1 "cluster1" primary sha
  (unwind-protect (progn (shadow--tests-cleanup) (setq cluster1 "clust
  (let ((backup-inhibited t) (shadow-info-file shadow-test-info-file) 
  (lambda nil (let* ((fn-532 #'not) (args-533 (condition-case err (let
  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 (tag :unstable)) 
  ert-run-tests((not (tag :unstable)) #f(compiled-function (event-type
  ert-run-tests-batch((not (tag :unstable)))
  ert-run-tests-batch-and-exit((not (tag :unstable)))
  eval((ert-run-tests-batch-and-exit '(not (tag :unstable))) t)
  command-line-1(("-L" ":." "-l" "ert" "-l" "lisp/shadowfile-tests.el"
  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/pj/rhx0gxy15tv3vx6l3mdy0qvm0000gn/T/shadowfile-testsMVv1V3" . "/cluster2:/var/folders/pj/rhx0gxy15tv3vx6l3mdy0qvm0000gn/T/shadowfile-testsMVv1V3")
       nil)
      :value nil))
   FAILED   9/10  shadow-test08-shadow-todo (0.134735 sec)


Test shadow-test09-shadow-copy-files backtrace:
  set-buffer(nil)
  (save-current-buffer (set-buffer shadow-todo-buffer) (goto-char (poi
  (progn (shadow--tests-cleanup) (setq cluster1 "cluster1" primary sha
  (unwind-protect (progn (shadow--tests-cleanup) (setq cluster1 "clust
  (let ((backup-inhibited t) (shadow-info-file shadow-test-info-file) 
  (lambda nil (let* ((fn-567 #'not) (args-568 (condition-case err (let
  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 (tag :unstable)) 
  ert-run-tests((not (tag :unstable)) #f(compiled-function (event-type
  ert-run-tests-batch((not (tag :unstable)))
  ert-run-tests-batch-and-exit((not (tag :unstable)))
  eval((ert-run-tests-batch-and-exit '(not (tag :unstable))) t)
  command-line-1(("-L" ":." "-l" "ert" "-l" "lisp/shadowfile-tests.el"
  command-line()
  normal-top-level()
Test shadow-test09-shadow-copy-files condition:
    (wrong-type-argument stringp nil)
   FAILED  10/10  shadow-test09-shadow-copy-files (0.580559 sec)

Ran 10 tests, 8 results as expected, 2 unexpected (2019-09-03 15:09:06+0200, 5.780896 sec)

2 unexpected results:
   FAILED  shadow-test08-shadow-todo
   FAILED  shadow-test09-shadow-copy-files

make[1]: *** [lisp/shadowfile-tests.log] Error 1
make: *** [lisp/shadowfile-tests] Error 2

  reply	other threads:[~2019-09-03 13:13 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-28  0:41 bug#37202: shadowfile-tests: two failures on macOS Stefan Kangas
2019-08-28  8:18 ` Michael Albinus
2019-08-29 13:51   ` Michael Albinus
     [not found]     ` <CADwFkmkxp+NhTTuUg_kja-768nskD4JhbhTwTMKkwh4=QxfKjw@mail.gmail.com>
2019-09-03 12:12       ` Michael Albinus
2019-09-03 13:13         ` Stefan Kangas [this message]
2019-09-03 15:04           ` Michael Albinus
2019-09-04 12:16           ` Michael Albinus
2019-09-05 15:07             ` Stefan Kangas
2019-09-07 10:33               ` Michael Albinus
2019-09-07 12:45                 ` Stefan Kangas
2019-09-08  8:21                   ` Michael Albinus
2019-09-08 20:23                     ` Stefan Kangas
2019-09-13 12:29                       ` Michael Albinus
2019-09-14 16:39                         ` Stefan Kangas
2019-09-15 14:56                           ` Michael Albinus
2019-09-16  2:07                             ` Stefan Kangas
2019-09-16 13:13                               ` Michael Albinus
2019-09-16 19:52                             ` Glenn Morris
2019-09-19 11:09                               ` Michael Albinus
2019-09-20  0:19                                 ` Paul Eggert
2019-09-20 12:35                                   ` Michael Albinus
2019-09-20 19:04                                     ` Paul Eggert
2019-09-20 19:13                                       ` Michael Albinus
2019-09-21  7:55                               ` Michael Albinus
2019-10-03 13:50                                 ` Michael Albinus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CADwFkmnWKu=kJgX_2_4M=B6wBrOP4ZUpv+6+Z6S_obDQ6XuXiw@mail.gmail.com' \
    --to=stefan@marxist.se \
    --cc=37202@debbugs.gnu.org \
    --cc=michael.albinus@gmx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).