unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#49665: 28.0.50; Failing autorevert tests on Cygwin
@ 2021-07-20 16:26 Ken Brown
  2021-07-20 17:37 ` Michael Albinus
  0 siblings, 1 reply; 6+ messages in thread
From: Ken Brown @ 2021-07-20 16:26 UTC (permalink / raw)
  To: 49665; +Cc: Michael Albinus

Some of the autorevert tests fail on Cygwin.  The precise tests that
fail aren't the same in every run, but here's the result of the most
recent run on my 64-bit Cygwin system:

Ran 8 tests, 3 results as expected, 5 unexpected (2021-07-20 11:28:04-0400, 
9.783866 sec)

5 unexpected results:
    FAILED  auto-revert-test00-auto-revert-mode
    FAILED  auto-revert-test01-auto-revert-several-files
    FAILED  auto-revert-test02-auto-revert-deleted-file
    FAILED  auto-revert-test05-global-notify
    FAILED  auto-revert-test07-auto-revert-several-buffers

And here's the result of the most recent run on my 32-bit Cygwin system:

Ran 8 tests, 4 results as expected, 4 unexpected (2021-07-20 11:35:17-0400, 
19.531540 sec)

4 unexpected results:
    FAILED  auto-revert-test00-auto-revert-mode
    FAILED  auto-revert-test01-auto-revert-several-files
    FAILED  auto-revert-test02-auto-revert-deleted-file
    FAILED  auto-revert-test05-global-notify

I also see occasional failures of
auto-revert-test03-auto-revert-tail-mode on both architectures.

test02 and test05 have apparently been failing for a long time, but I
didn't notice it prior to commit fe16248b77, because all tests were
tagged as expensive before then and so weren't run by 'make check'.  The
(sporadic) failures of test00, test01, and test03 started with that
commit, so they are almost certainly due to timing issues.  I'm not sure
about test07, which wasn't added until later.  All I know is that it
always fails on 64-bit and occasionally fails on 32-bit.  This makes me
guess that it's also a timing issue, but I suppose there could be some
other bug that's specific to 64-bit.

I'm not interested in spending a lot of time on this (or asking anyone
else to spend time on it), because I've never seen a Cygwin user
complain about auto-revert mode.  (Maybe no one uses it because it's
slow.)  But I would like to stop seeing the test failures.

Here's one possibility: Skip test02 and test05 on Cygwin, with a FIXME
comment indicating that they've been failing for a long time and we
don't know why.  Tag test00, test01, and test03 as expensive on Cygwin,
since we would have to make the tests much slower in order for them to
pass.  I'm not sure about test07.

Other suggestions?

Thanks.

Ken

In GNU Emacs 28.0.50 (build 4, x86_64-pc-cygwin, GTK+ Version 3.22.28, cairo 
version 1.17.4)
  of 2021-07-20 built on moufang2
Repository revision: 61c1522ddedc45d85804ff2786bd301e9b487b32
Repository branch: master
Windowing system distributor 'The Cygwin/X Project', version 11.0.12012000
Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG JSON
LCMS2 LIBOTF LIBXML2 M17N_FLT MODULES NOTIFY GFILENOTIFY PDUMPER PNG
RSVG SOUND THREADS TIFF TOOLKIT_SCROLL_BARS X11 XDBE XIM XPM GTK3 ZLIB





^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-07-28 11:48 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-20 16:26 bug#49665: 28.0.50; Failing autorevert tests on Cygwin Ken Brown
2021-07-20 17:37 ` Michael Albinus
2021-07-20 20:15   ` Ken Brown
2021-07-20 21:23     ` Michael Albinus
2021-07-27 17:47       ` Michael Albinus
2021-07-28 11:48         ` Ken Brown

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).