From: Sean Whitton Date: Tue, 15 Nov 2022 23:33:37 +0000 (-0700) Subject: Mark two flaky tests as unstable X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~69 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=a154ca2fc7f3f0c4ef09f48225b869141e95195a;p=emacs.git Mark two flaky tests as unstable test-undo-region is failing on Debian arch:all autobuilders, and process-tests/multiple-threads-waiting randomly fails locally and on autobuilders. Closes: #1024060 --- a154ca2fc7f3f0c4ef09f48225b869141e95195a diff --cc debian/.git-dpm index 4d5f01f3488,00000000000..473835f81d0 mode 100644,000000..100644 --- a/debian/.git-dpm +++ b/debian/.git-dpm @@@ -1,8 -1,0 +1,8 @@@ +# see git-dpm(1) from git-dpm package - d91aca70c4f6837be713fad769d6cbc35f8e531d - d91aca70c4f6837be713fad769d6cbc35f8e531d ++1b1427e19da0552bb5b6ee0aeb5046247afc4469 ++1b1427e19da0552bb5b6ee0aeb5046247afc4469 +279b82e64e15b5e2df3cb522636c6db85a8ee659 +279b82e64e15b5e2df3cb522636c6db85a8ee659 +emacs_28.2+1.orig.tar.xz +d7f49858bdec2d47110c2ed7b1d0005f157e20c3 +26988304 diff --cc debian/patches/0014-Mark-test-undo-region-as-unstable.patch index 00000000000,00000000000..bdc378b50c6 new file mode 100644 --- /dev/null +++ b/debian/patches/0014-Mark-test-undo-region-as-unstable.patch @@@ -1,0 -1,0 +1,48 @@@ ++From 27d843b9cc19fd5bcf1f20c21d828e2e5ba13c4f Mon Sep 17 00:00:00 2001 ++From: Sean Whitton ++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 () #)() ++ 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" ":/<>/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)) diff --cc debian/patches/0015-Mark-flaky-test-process-tests-multiple-threads-waiti.patch index 00000000000,00000000000..f904d65c4ac new file mode 100644 --- /dev/null +++ b/debian/patches/0015-Mark-flaky-test-process-tests-multiple-threads-waiti.patch @@@ -1,0 -1,0 +1,45 @@@ ++From 1b1427e19da0552bb5b6ee0aeb5046247afc4469 Mon Sep 17 00:00:00 2001 ++From: Sean Whitton ++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 '/<>/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 diff --cc debian/patches/series index a7468f992b6,00000000000..9d5609f720e mode 100644,000000..100644 --- a/debian/patches/series +++ b/debian/patches/series @@@ -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