bug#42533: 28.0.50; srecode-utest-project test failing on macOS

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

bug#42533: 28.0.50; srecode-utest-project test failing on macOS

Philipp Stephani

This is a follow-up to Bug#30700, reporting individual test failures on
macOS as separate bugs.

Under macOS, 'make check' fails in the test srecode-utest-project:

Running 2 tests (2020-07-25 20:22:08+0200, selector `(not (or (tag :expensive-test) (tag :unstable)))')
Test srecode-utest-project backtrace:
  signal(ert-test-failed (((should-not "Failed to load app specific te
  ert-fail(((should-not "Failed to load app specific template when ava
  #f(compiled-function () #<bytecode 0x179a6521f8940163>)()
  ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test
  ert-run-test(#s(ert-test :name srecode-utest-project :documentation
  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/cedet/srecode-utest-
  command-line()
  normal-top-level()
Test srecode-utest-project condition:
    (ert-test-failed
     ((should-not "Failed to load app specific template when available.")
      :form "Failed to load app specific template when available." :value "Failed to load app specific template when available."))
   FAILED  1/2  srecode-utest-project (2.174053 sec)



In GNU Emacs 28.0.50 (build 67, x86_64-apple-darwin19.5.0, NS appkit-1894.50 Version 10.15.5 (Build 19F101))
 of 2020-07-25
Repository revision: 3b44829823f43d3736b8ec9db2258eeff7f6c16a
Repository branch: master
Windowing system distributor 'Apple', version 10.3.1894
System Description:  Mac OS X 10.15.5

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.

Configured using:
 'configure --with-modules --without-xml2 --without-pop --with-mailutils
 --enable-gcc-warnings=warn-only --enable-checking=all
 --enable-check-lisp-object-type 'CFLAGS=-ggdb3 -O0''

Configured features:
JPEG TIFF GIF PNG NOTIFY KQUEUE ACL GNUTLS ZLIB TOOLKIT_SCROLL_BARS NS
MODULES THREADS JSON PDUMPER LCMS2

Important settings:
  value of $LANG: de_DE.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-mode: t
  global-eldoc-mode: t
  eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message rmc dired dired-loaddefs rfc822
mml easymenu mml-sec epa epg epg-config gnus-util rmail rmail-loaddefs
text-property-search time-date mm-decode mm-bodies mm-encode mail-parse
rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045
ietf-drums mm-util mail-prsvr mail-utils phst skeleton derived edmacro
kmacro pcase ffap thingatpt url url-proxy url-privacy url-expand
url-methods url-history url-cookie url-domsuf url-util url-parse
auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs
password-cache json map url-vars mailcap subr-x rx gnutls puny seq
byte-opt gv bytecomp byte-compile cconv dbus xml compile comint
ansi-color ring cl-loaddefs cl-lib tooltip eldoc electric uniquify
ediff-hook vc-hooks lisp-float-type mwheel term/ns-win ns-win
ucs-normalize mule-util term/common-win tool-bar dnd fontset image
regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode
lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch
timer select scroll-bar mouse jit-lock font-lock syntax facemenu
font-core term/tty-colors frame minibuffer cl-generic cham georgian
utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean
japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european
ethiopic indian cyrillic chinese composite charscript charprop
case-table epa-hook jka-cmpr-hook help simple abbrev obarray
cl-preloaded nadvice loaddefs button faces cus-face macroexp files
text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote threads kqueue cocoa ns
lcms2 multi-tty make-network-process emacs)

Memory information:
((conses 16 69711 5100)
 (symbols 48 8650 1)
 (strings 32 23543 1970)
 (string-bytes 1 768529)
 (vectors 16 14147)
 (vector-slots 8 172535 4996)
 (floats 8 26 29)
 (intervals 56 206 0)
 (buffers 992 10))



Reply | Threaded
Open this post in threaded view
|

bug#42533: 28.0.50; srecode-utest-project test failing on macOS

Lars Ingebrigtsen
Philipp <[hidden email]> writes:

> This is a follow-up to Bug#30700, reporting individual test failures on
> macOS as separate bugs.
>
> Under macOS, 'make check' fails in the test srecode-utest-project:

This also has:

  :expected-result (if (getenv "EMACS_HYDRA_CI") :failed :passed) ; fixme

    * test/lisp/cedet/srecode-utest-template.el (srecode-utest-project):
    Test fails on hydra.nixos.org, for some reason.

So it's not just failing on Macos.

I've tried to follow the logic of the test, but I'm failing to see how
the code diverges under Linux and Macos...  Perhaps Eric has some input
here?

--
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



Reply | Threaded
Open this post in threaded view
|

bug#42533: 28.0.50; srecode-utest-project test failing on macOS

Lars Ingebrigtsen
Lars Ingebrigtsen <[hidden email]> writes:

> I've tried to follow the logic of the test, but I'm failing to see how
> the code diverges under Linux and Macos...  Perhaps Eric has some input
> here?

I spent about an hour on this last night, comparing what happens on
Macos and Debian (where this test doesn't fail), and I wasn't
successful.  This test is more of an integration test than a unit test
in that it doesn't tell you much about where deep in the srecode
machinery things go wrong, unfortunately...

--
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no