Mark two flaky tests as unstable
authorSean Whitton <spwhitton@spwhitton.name>
Tue, 15 Nov 2022 23:33:37 +0000 (16:33 -0700)
committerSean Whitton <spwhitton@spwhitton.name>
Tue, 15 Nov 2022 23:33:41 +0000 (16:33 -0700)
test-undo-region is failing on Debian arch:all autobuilders, and
process-tests/multiple-threads-waiting randomly fails locally and on
autobuilders.

Closes: #1024060
1  2 
debian/.git-dpm
debian/patches/0014-Mark-test-undo-region-as-unstable.patch
debian/patches/0015-Mark-flaky-test-process-tests-multiple-threads-waiti.patch
debian/patches/series

diff --cc debian/.git-dpm
index 4d5f01f34885061ac7de1c0c527f57cc711dcf59,0000000000000000000000000000000000000000..473835f81d0cd0864b25306c8abe313bcb4243a8
mode 100644,000000..100644
--- /dev/null
@@@ -1,8 -1,0 +1,8 @@@
- d91aca70c4f6837be713fad769d6cbc35f8e531d
- d91aca70c4f6837be713fad769d6cbc35f8e531d
 +# see git-dpm(1) from git-dpm package
++1b1427e19da0552bb5b6ee0aeb5046247afc4469
++1b1427e19da0552bb5b6ee0aeb5046247afc4469
 +279b82e64e15b5e2df3cb522636c6db85a8ee659
 +279b82e64e15b5e2df3cb522636c6db85a8ee659
 +emacs_28.2+1.orig.tar.xz
 +d7f49858bdec2d47110c2ed7b1d0005f157e20c3
 +26988304
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..bdc378b50c6b863d76f3ddd1e91f838af676388f
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,48 @@@
++From 27d843b9cc19fd5bcf1f20c21d828e2e5ba13c4f Mon Sep 17 00:00:00 2001
++From: Sean Whitton <spwhitton@spwhitton.name>
++Date: Tue, 15 Nov 2022 15:54:41 -0700
++Subject: Mark test-undo-region as unstable
++
++It is repeatedly failing on Debian's arch:all autobuilders, though
++seemingly nowhere else:
++
++     passed  40/44  simple-transpose-subr (0.000396 sec)
++  Test test-undo-region backtrace:
++    signal(ert-test-failed (((should (= (length (delq nil (undo-make-sel
++    ert-fail(((should (= (length (delq nil (undo-make-selective-list 1 9
++    #f(compiled-function () #<bytecode 0x52f126616d2cdbd>)()
++    ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test
++    ert-run-test(#s(ert-test :name test-undo-region :documentation nil :
++    ert-run-or-rerun-test(#s(ert--stats :selector ... :tests ... :test-m
++    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
++    command-line-1(("-L" ":/<<PKGBUILDDIR>>/debian/build
++    command-line()
++    normal-top-level()
++  Test test-undo-region condition:
++      (ert-test-failed
++       ((should
++         (=
++      (length ...)
++      2))
++        :form
++        (= 3 2)
++        :value nil))
++     FAILED  41/44  test-undo-region (0.000185 sec)
++---
++ test/lisp/simple-tests.el | 1 +
++ 1 file changed, 1 insertion(+)
++
++diff --git a/test/lisp/simple-tests.el b/test/lisp/simple-tests.el
++index 6350bebeeea..808a77a2fe0 100644
++--- a/test/lisp/simple-tests.el
+++++ b/test/lisp/simple-tests.el
++@@ -960,6 +960,7 @@ simple-tests-shell-command-dont-erase-buffer
++         (should (= (point) (alist-get shell-command-dont-erase-buffer expected-point)))))))
++ 
++ (ert-deftest test-undo-region ()
+++  :tags '(:unstable)
++   (with-temp-buffer
++     (insert "This is a test\n")
++     (goto-char (point-min))
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..f904d65c4ac141c40897d4e7c52304536a82503a
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,45 @@@
++From 1b1427e19da0552bb5b6ee0aeb5046247afc4469 Mon Sep 17 00:00:00 2001
++From: Sean Whitton <spwhitton@spwhitton.name>
++Date: Tue, 15 Nov 2022 16:26:59 -0700
++Subject: Mark flaky test process-tests/multiple-threads-waiting as unstable
++
++It times out:
++
++     passed  22/28  process-tests/fd-setsize-no-crash/make-serial-process (0.021449 sec)
++  make[5]: *** [Makefile:182: src/process-tests.log] Error 134
++    GEN      src/regex-emacs-tests.log
++    GEN      src/search-tests.log
++    GEN      src/syntax-tests.log
++    GEN      src/textprop-tests.log
++    GEN      src/thread-tests.log
++    GEN      src/timefns-tests.log
++    GEN      src/undo-tests.log
++    GEN      src/xdisp-tests.log
++    GEN      src/xfaces-tests.log
++    GEN      src/xml-tests.log
++  make[5]: Leaving directory '/<<PKGBUILDDIR>>/debian/build-gtk/test'
++  make[4]: [Makefile:335: check-doit] Error 2 (ignored)
++
++  SUMMARY OF TEST RESULTS
++  -----------------------
++  Files examined: 375
++  Ran 5408 tests, 28 failed to run, 5273 results as expected, 0 unexpected, 135 skipped
++  1 files did not finish:
++    src/process-tests.log
++  make[4]: *** [Makefile:336: check-doit] Error 2
++---
++ test/src/process-tests.el | 1 +
++ 1 file changed, 1 insertion(+)
++
++diff --git a/test/src/process-tests.el b/test/src/process-tests.el
++index 725da084e72..ddcf8511127 100644
++--- a/test/src/process-tests.el
+++++ b/test/src/process-tests.el
++@@ -800,6 +800,7 @@ process-tests/sentinel-with-multiple-processes
++                            (list (list process "finished\n"))))))))))
++ 
++ (ert-deftest process-tests/multiple-threads-waiting ()
+++  :tags '(:unstable)
++   (skip-unless (fboundp 'make-thread))
++   (with-timeout (60 (ert-fail "Test timed out"))
++     (process-tests--with-processes processes
index a7468f992b6499d5f6a2da52314edc2f76798144,0000000000000000000000000000000000000000..9d5609f720ef4e2f0da6251a49bd1c8053f97714
mode 100644,000000..100644
--- /dev/null
@@@ -1,13 -1,0 +1,15 @@@
 +0001-Prefer-usr-share-info-emacs.patch
 +0002-Run-debian-startup-and-set-debian-emacs-flavor.patch
 +0003-Remove-files-that-appear-to-be-incompatible-with-the.patch
 +0004-Adjust-documentation-references-for-Debian.patch
 +0005-Modify-the-output-of-version-to-indicate-Debian-modi.patch
 +0006-Don-t-try-to-build-src-macuvs.h-via-IVD_Sequences.tx.patch
 +0007-Kill-gpg-agent-in-package-test.el-to-avoid-a-race.patch
 +0008-Mark-vc-bzr-test-fauilt-bzr-autoloads-as-unstable-fo.patch
 +0009-pdumper-set-DUMP_RELOC_ALIGNMENT_BITS-1-for-m68k.patch
 +0010-Avoid-fork-bomb-caused-by-native-compilation.patch
 +0011-Avoid-fork-bomb-caused-by-native-compilation-trampol.patch
 +0012-Fix-eln-files-not-being-generated-when-native-comp-a.patch
 +0013-Fix-large-core-dumps-from-background-processes.patch
++0014-Mark-test-undo-region-as-unstable.patch
++0015-Mark-flaky-test-process-tests-multiple-threads-waiti.patch