GNU bug report logs - #30057
file-notify-test03-events sometimes fails

Previous Next

Package: emacs;

Reported by: Glenn Morris <rgm <at> gnu.org>

Date: Wed, 10 Jan 2018 04:12:02 UTC

Severity: minor

Found in version 26.0.90

Fixed in version 26.1

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 30057 in the body.
You can then email your comments to 30057 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to michael.albinus <at> gmx.de, bug-gnu-emacs <at> gnu.org:
bug#30057; Package emacs. (Wed, 10 Jan 2018 04:12:02 GMT) Full text and rfc822 format available.

Message #3 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: submit <at> debbugs.gnu.org
Subject: file-notify-test03-events sometimes fails
Date: Tue, 09 Jan 2018 23:11:17 -0500
Package: emacs
Severity: minor
Version: 26.0.90

Current emacs-26 branch on RHEL 7.4, using -lglibc (inotify).
I've several times had the following odd-looking failure of
file-notify-test03-events during "make -j8 check".
Resembles https://debbugs.gnu.org/26126 ?


Running 8 tests (2018-01-09 20:03:51-0800)
Library: `inotify'
   passed  1/8  file-notify-test00-availability
   passed  2/8  file-notify-test01-add-watch
   passed  3/8  file-notify-test02-rm-watch
Test file-notify-test03-events backtrace:
  signal(ert-test-failed (((should (string-prefix-p (file-notify--even
  ert-fail(((should (string-prefix-p (file-notify--event-watched-file 
  (progn (ert-fail (car (cdr (progn (or (and (memq (type-of result) cl
  (if (and (memq (type-of result) cl-struct-ert-test-failed-tags) t) (
  (let ((result (car --dolist-tail--))) (if (and (memq (type-of result
  (while --dolist-tail-- (let ((result (car --dolist-tail--))) (if (an
  (let ((--dolist-tail-- file-notify--test-results)) (while --dolist-t
  (let* ((events (if (consp (car (cond ((string-equal (file-notify--te
  (progn (if (string-equal (file-notify--test-library) "kqueue") nil (
  (unwind-protect (progn (if (string-equal (file-notify--test-library)
  (closure (t) nil (let* ((fn-132 (function file-notify--test-local-en
  ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test
  ert-run-test(#s(ert-test :name file-notify-test03-events :documentat
  ert-run-or-rerun-test(#s(ert--stats :selector (not (or (tag :expensi
  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/filenotify-tests.el"
  command-line()
  normal-top-level()
Test file-notify-test03-events condition:
    (ert-test-failed
     ((should
       (string-prefix-p
	(file-notify--event-watched-file file-notify--test-event)
	(file-notify--event-file-name file-notify--test-event)))
      :form
      (string-prefix-p "/tmp/file-notify-testgqbQAt" "/tmp/signed-bad.elcBJAl1B")
      :value nil))
   FAILED  4/8  file-notify-test03-events
Reverting buffer `file-notify-testUYUt9m'.
Reverting buffer `file-notify-testUYUt9m'.
   passed  5/8  file-notify-test04-autorevert
   passed  6/8  file-notify-test05-file-validity
   passed  7/8  file-notify-test06-dir-validity
   passed  8/8  file-notify-test08-backup

Ran 8 tests, 7 results as expected, 1 unexpected (2018-01-09 20:04:04-0800)

1 unexpected results:
   FAILED  file-notify-test03-events




Reply sent to Michael Albinus <michael.albinus <at> gmx.de>:
You have taken responsibility. (Wed, 10 Jan 2018 12:47:02 GMT) Full text and rfc822 format available.

Notification sent to Glenn Morris <rgm <at> gnu.org>:
bug acknowledged by developer. (Wed, 10 Jan 2018 12:47:02 GMT) Full text and rfc822 format available.

Message #8 received at 30057-done <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 30057-done <at> debbugs.gnu.org
Subject: Re: bug#30057: file-notify-test03-events sometimes fails
Date: Wed, 10 Jan 2018 13:46:16 +0100
Version: 26.1

Glenn Morris <rgm <at> gnu.org> writes:

Hi Glenn,

> Package: emacs
> Severity: minor
> Version: 26.0.90
>
> Current emacs-26 branch on RHEL 7.4, using -lglibc (inotify).
> I've several times had the following odd-looking failure of
> file-notify-test03-events during "make -j8 check".
> Resembles https://debbugs.gnu.org/26126 ?

No.

> (string-prefix-p "/tmp/file-notify-testgqbQAt" "/tmp/signed-bad.elcBJAl1B")

An unexpected event on unrelated file "/tmp/signed-bad.elcBJAl1B"
happened while watching directory "/tmp".

I've fixed this by adding an own subdirectory below "/tmp", which will
be watched for the test. Committed to the emacs-26 branch, because only
a test file is changed.

If the problem happens again, pls reopen the bug.

Best regards, Michael.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 08 Feb 2018 12:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 7 years and 212 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.