[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#976500: helpful-el: FTBFS: tests failed



Source: helpful-el
Version: 0.18-1
Severity: serious
Justification: FTBFS on arm64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20201205 ftbfs-bullseye

Hi,

During a rebuild of all packages in sid, your package failed to build
on arm64 (I don't know if it also fails on amd64).

Relevant part (hopefully):
> dpkg-buildpackage
> -----------------
> 
> Command: dpkg-buildpackage -us -uc -sa -rfakeroot
> dpkg-buildpackage: info: source package helpful-el
> dpkg-buildpackage: info: source version 0.18-1
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Lev Lamberov <dogsleg@debian.org>
>  dpkg-source --before-build .
> dpkg-buildpackage: info: host architecture arm64
>  debian/rules clean
> dh clean --with elpa
>    dh_clean
>  dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building helpful-el using existing ./helpful-el_0.18.orig.tar.gz
> dpkg-source: info: using patch list from debian/patches/series
> dpkg-source: info: building helpful-el in helpful-el_0.18-1.debian.tar.xz
> dpkg-source: info: building helpful-el in helpful-el_0.18-1.dsc
>  debian/rules binary
> dh binary --with elpa
>    dh_update_autotools_config
>    dh_autoreconf
>    dh_elpa_test
> 	emacs -batch -Q -l package --eval "(add-to-list 'package-directory-list \"/usr/share/emacs/site-lisp/elpa\")" --eval "(add-to-list 'package-directory-list \"/usr/share/emacs/site-lisp/elpa-src\")" -f package-initialize -L . -L test --eval "(load-file \"test/test-helper.el\")" -l test/helpful-unit-test.el --eval \(ert-run-tests-batch-and-exit\)
> Loading /<<PKGBUILDDIR>>/test/test-helper.el (source)...
> No Emacs source code found at "/<<PKGBUILDDIR>>/emacs-25.3/src", some tests will be skipped. Run ./download_emacs_src.sh
> Running 83 tests (2020-12-05 01:44:43+0000, selector ‘t’)
>    passed   1/83  helpful--aliases (0.300638 sec)
>    passed   2/83  helpful--bound-p (0.000281 sec)
>    passed   3/83  helpful--callees (0.000312 sec)
>    passed   4/83  helpful--callees--closure (0.000256 sec)
>    passed   5/83  helpful--callees--cond (0.000342 sec)
>    passed   6/83  helpful--callees--condition-case (0.000319 sec)
>    passed   7/83  helpful--callees--funcall (0.000578 sec)
>    passed   8/83  helpful--callees--function (0.000298 sec)
>    passed   9/83  helpful--callees--lambda (0.000261 sec)
>    passed  10/83  helpful--callees-button--smoke (0.001193 sec)
>    passed  11/83  helpful--callees-let (0.000476 sec)
>    passed  12/83  helpful--canonical-symbol (0.000234 sec)
>    passed  13/83  helpful--convert-c-name (0.000322 sec)
>   skipped  14/83  helpful--definition-c-vars (0.000380 sec)
>    passed  15/83  helpful--definition-edebug-fn (0.003334 sec)
>    passed  16/83  helpful--definition-no-defvar (0.021644 sec)
>   skipped  17/83  helpful--definition-special-form (0.000399 sec)
> No library xref.el in search path
> No library xref.el in search path
> No library xref.el in search path
> No library elisp-mode.el in search path
>    passed  18/83  helpful--display-implementations (7.441602 sec)
>    passed  19/83  helpful--docstring (0.000226 sec)
>    passed  20/83  helpful--docstring-advice (0.000370 sec)
>    passed  21/83  helpful--docstring-keymap (0.001943 sec)
>    passed  22/83  helpful--docstring-keymap-newline (0.000390 sec)
>    passed  23/83  helpful--docstring-strings (0.000732 sec)
>    passed  24/83  helpful--docstring-symbol (0.000648 sec)
>    passed  25/83  helpful--docstring-unescape (0.001399 sec)
>    passed  26/83  helpful--edebug-fn (0.220819 sec)
>    passed  27/83  helpful--edebug-p (0.000203 sec)
> Test helpful--elc-only backtrace:
>   signal(error ("Can’t find library /tmp/foo.el"))
>   error("Can't find library %s" "/tmp/foo.el")
>   find-library-name("/tmp/foo.el")
>   find-function-search-for-symbol(helpful-fn-in-elc nil "/tmp/foo.elc"
>   (cdr (find-function-search-for-symbol sym nil library-name))
>   (setq pos (cdr (find-function-search-for-symbol sym nil library-name
>   (save-restriction (widen) (setq pos (cdr (find-function-search-for-s
>   (save-excursion (save-restriction (widen) (setq pos (cdr (find-funct
>   (save-current-buffer (set-buffer buf) (save-excursion (save-restrict
>   (progn (let ((auto-mode-alist nil)) (setq buf (find-file-noselect sr
>   (if src-path (progn (let ((auto-mode-alist nil)) (setq buf (find-fil
>   (let ((src-path (helpful--library-path library-name))) (if src-path 
>   (cond ((and (not (symbolp sym)) (functionp sym)) (list nil nil nil))
>   (let ((initial-buffers (buffer-list)) (primitive-p (helpful--primiti
>   helpful--definition(helpful-fn-in-elc t)
>   (if look-for-src (helpful--definition helpful--sym helpful--callable
>   (let* ((val (if helpful--callable-p nil (helpful--sym-value helpful-
>   helpful-update()
>   helpful-function(helpful-fn-in-elc)
>   (let ((load-history (cons '("/tmp/foo.elc" (defun . helpful-fn-in-el
>   (lambda nil (let ((load-history (cons '("/tmp/foo.elc" (defun . help
>   ert--run-test-internal(#s(ert--test-execution-info :test ... :result
>   ert-run-test(#s(ert-test :name helpful--elc-only :documentation "Ens
>   ert-run-or-rerun-test(#s(ert--stats :selector t :tests ... :test-map
>   ert-run-tests(t #f(compiled-function (event-type &rest event-args) #
>   ert-run-tests-batch(nil)
>   ert-run-tests-batch-and-exit()
>   eval((ert-run-tests-batch-and-exit) t)
>   command-line-1(("-l" "package" "--eval" "(add-to-list 'package-direc
>   command-line()
>   normal-top-level()
> Test helpful--elc-only condition:
>     (error "Can’t find library /tmp/foo.el")
>    FAILED  28/83  helpful--elc-only (0.017832 sec)
>    passed  29/83  helpful--format-docstring (0.000880 sec)
>    passed  30/83  helpful--format-docstring--bare-url (0.001106 sec)
>    passed  31/83  helpful--format-docstring--info (0.001877 sec)
>    passed  32/83  helpful--format-docstring--url (0.000518 sec)
>    passed  33/83  helpful--format-docstring-command-keys (0.000593 sec)
>    passed  34/83  helpful--format-docstring-escapes (0.000372 sec)
>    passed  35/83  helpful--format-docstring-mode-maps (0.004741 sec)
>    passed  36/83  helpful--format-keymap--keyboard-macros (0.000307 sec)
>    passed  37/83  helpful--format-reference (0.001041 sec)
>    passed  38/83  helpful--inhibit-read-only (0.154509 sec)
>    passed  39/83  helpful--interactively-defined-fn (0.172242 sec)
>    passed  40/83  helpful--keymap-keys (0.002773 sec)
> Warning: message called with 0 arguments, but requires 1+
>    passed  41/83  helpful--keymap-keys--anonymous-fns (0.010016 sec)
>    passed  42/83  helpful--keymap-keys--prefix (0.000308 sec)
>    passed  43/83  helpful--keymap-keys--sparse (0.003004 sec)
>    passed  44/83  helpful--keymap-keys--strings (0.000383 sec)
>    passed  45/83  helpful--keymaps-containing (1.411891 sec)
>    passed  46/83  helpful--keymaps-containing-aliases (0.740063 sec)
>    passed  47/83  helpful--kind-name (0.000251 sec)
>    passed  48/83  helpful--loads-autoload-symbol (0.544183 sec)
>    passed  49/83  helpful--merge-alists (0.000227 sec)
>    passed  50/83  helpful--no-docstring (0.000197 sec)
> Searched 0/1 files
> Searched 1/1 files
>    passed  51/83  helpful--no-symbol-properties (0.212667 sec)
>    passed  52/83  helpful--obsolete-function (0.049576 sec)
>    passed  53/83  helpful--obsolete-variable (0.001036 sec)
> Searched 0/1 files
> Searched 1/1 files
>    passed  54/83  helpful--original-value (0.138023 sec)
>    passed  55/83  helpful--outer-sexp (0.000390 sec)
> Searched 0/1 files
> Searched 1/1 files
>    passed  56/83  helpful--package-version (0.186718 sec)
>    passed  57/83  helpful--pretty-print (0.000540 sec)
>    passed  58/83  helpful--primitive-p (0.000235 sec)
>    passed  59/83  helpful--primitive-p--advised (0.000198 sec)
>    passed  60/83  helpful--signature (0.000236 sec)
>    passed  61/83  helpful--signature--advertised (0.000382 sec)
>    passed  62/83  helpful--signature-fn-with\? (0.000226 sec)
>    passed  63/83  helpful--signature-space (0.000226 sec)
>    passed  64/83  helpful--source (0.068924 sec)
>    passed  65/83  helpful--source--interactively-defined-fn (0.001732 sec)
>    passed  66/83  helpful--source-autoloaded (0.020394 sec)
>    passed  67/83  helpful--split-first-line (0.000341 sec)
>    passed  68/83  helpful--summary--aliases (0.024804 sec)
>    passed  69/83  helpful--summary--fn-with-\? (0.000589 sec)
>    passed  70/83  helpful--summary--interactive-fn (0.000675 sec)
>    passed  71/83  helpful--summary--special-form (0.000543 sec)
>    passed  72/83  helpful--summary--symbol-with-space (0.000523 sec)
>    passed  73/83  helpful--unnamed-compiled-func (0.226732 sec)
>    passed  74/83  helpful--unnamed-func (0.175251 sec)
>    passed  75/83  helpful--usage-docstring (0.000246 sec)
>    passed  76/83  helpful--without-advice (0.000213 sec)
>    passed  77/83  helpful-callable (1.647098 sec)
>   skipped  78/83  helpful-callable--with-C-source (0.000386 sec)
>    passed  79/83  helpful-function--single-buffer (0.491233 sec)
>    passed  80/83  helpful-symbol-c-style (0.336602 sec)
>    passed  81/83  helpful-symbol-unbound (0.000233 sec)
>    passed  82/83  helpful-update-after-killing-buf (0.254199 sec)
>    passed  83/83  helpful-variable (0.155632 sec)
> 
> Ran 83 tests, 79 results as expected, 1 unexpected, 3 skipped (2020-12-05 01:44:59+0000, 16.063747 sec)
> 
> 1 unexpected results:
>    FAILED  helpful--elc-only
> 
> 3 skipped results:
>   SKIPPED  helpful--definition-c-vars
>   SKIPPED  helpful--definition-special-form
>   SKIPPED  helpful-callable--with-C-source
> 
> dh_elpa_test: error: emacs -batch -Q -l package --eval "(add-to-list 'package-directory-list \"/usr/share/emacs/site-lisp/elpa\")" --eval "(add-to-list 'package-directory-list \"/usr/share/emacs/site-lisp/elpa-src\")" -f package-initialize -L . -L test --eval "(load-file \"test/test-helper.el\")" -l test/helpful-unit-test.el --eval \(ert-run-tests-batch-and-exit\) returned exit code 1
> make: *** [debian/rules:4: binary] Error 25

The full build log is available from:
   http://qa-logs.debian.net/2020/12/05/helpful-el_0.18-1_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with me
so that we can identify if something relevant changed in the meantime.

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.


Reply to: