From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: john muhl Newsgroups: gmane.emacs.bugs Subject: bug#71942: 30.0.60; Intermittent failure in process-tests Date: Thu, 04 Jul 2024 14:34:42 -0500 Message-ID: <87sewp6je5.fsf@pub.pink> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3811"; mail-complaints-to="usenet@ciao.gmane.io" To: 71942@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jul 04 21:35:20 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sPSEf-0000jp-W0 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 04 Jul 2024 21:35:19 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sPSEY-0002oZ-Tu; Thu, 04 Jul 2024 15:35:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sPSEO-0002jx-HJ for bug-gnu-emacs@gnu.org; Thu, 04 Jul 2024 15:35:02 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sPSEN-00017l-D4 for bug-gnu-emacs@gnu.org; Thu, 04 Jul 2024 15:34:59 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sPSEP-0003Ix-TZ for bug-gnu-emacs@gnu.org; Thu, 04 Jul 2024 15:35:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: john muhl Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 04 Jul 2024 19:35:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 71942 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.172012169612684 (code B ref -1); Thu, 04 Jul 2024 19:35:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 4 Jul 2024 19:34:56 +0000 Original-Received: from localhost ([127.0.0.1]:43032 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sPSEJ-0003IT-Ek for submit@debbugs.gnu.org; Thu, 04 Jul 2024 15:34:56 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:38304) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sPSEG-0003IH-L6 for submit@debbugs.gnu.org; Thu, 04 Jul 2024 15:34:53 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sPSED-0002iS-Qw for bug-gnu-emacs@gnu.org; Thu, 04 Jul 2024 15:34:49 -0400 Original-Received: from fout2-smtp.messagingengine.com ([103.168.172.145]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sPSEB-00015l-AT for bug-gnu-emacs@gnu.org; Thu, 04 Jul 2024 15:34:49 -0400 Original-Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailfout.nyi.internal (Postfix) with ESMTP id 76416138025D for ; Thu, 4 Jul 2024 15:34:44 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Thu, 04 Jul 2024 15:34:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pub.pink; h=cc :content-type:content-type:date:date:from:from:in-reply-to :message-id:mime-version:reply-to:subject:subject:to:to; s=fm2; t=1720121684; x=1720208084; bh=OSb4e3buK+VpP/llSVJtnQMtjH/+Yf1k C3g1JoOb16I=; b=g+K5GthwCVAMwm4cDg3ZI4jypY1D8CH2lR/AjxHZy4eIuRO6 p6532nEZZQFCmwLncEZyL64Ig0kWhF76H4YVYStkdLV8OV5F3x3+u+JfThE68uAy LJPJoax/DWhgISaARD+ITmeqxeg5/zExxreYS7fqxApvo1nBRkT8qAXB1sVscVAb wyHif2esMoxK1210t6nVbhxjSjkZ+w14YyvWkPei6j7GvByFBGPmHWG1PCtn4ISx wKexjW/DqkLC8/JQSX1cxCsb+lr2jcd7150TtOYZPKq63WOOvD4LcAYNA16cSz8C j5F63JINKQ243HrKnzr3FXVY4gf+qcBZ+VOfMg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:message-id :mime-version:reply-to:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t= 1720121684; x=1720208084; bh=OSb4e3buK+VpP/llSVJtnQMtjH/+Yf1kC3g 1JoOb16I=; b=BzOR9sbdu1bQ3FAZEj2/AYVy7LnUFkhO/Pu7BeMhVE22XJS8Y/r XmoOCoPG+YyAhBCSTMExX3bFXiN0rDSIzckf1Htw3ni0QVfBiOfUjyxa1NAOtFLP U+AU9w7pnW+cUjHYNtsE08n/3x9QYH3YaHof7Qm64ksOVFb6su5xucGLQ6CRq7W7 YSh9lK6cn22s6TVyRiHIUhwkarlrL7hJ6ITG0N3Fet3i+Oux9lFdX4fKaB2ltqOy ndc39CvGaD/JnimUEfTZNWJfjNZ5WXIvfH2IakO8MJvSOWwDDVZuCcWNuk6bIm/0 HxdGbZoWOLSPPrLln10v1S9j2x3fyvgRCmw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrudelgddufeeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkgggtsehmtderredttd ejnecuhfhrohhmpehjohhhnhcumhhuhhhluceojhhmsehpuhgsrdhpihhnkheqnecuggft rfgrthhtvghrnhepgeegieffgfffvdeiheekieejueduveeiieeuudetveetieduvdetge egleehhedtnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhho mhepjhhmsehpuhgsrdhpihhnkh X-ME-Proxy: Feedback-ID: i74194916:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Thu, 4 Jul 2024 15:34:43 -0400 (EDT) Received-SPF: pass client-ip=103.168.172.145; envelope-from=jm@pub.pink; helo=fout2-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:288398 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable The failure is in =E2=80=98process-tests/sentinel-with-multiple-processes= =E2=80=99 and happens on all the configurations being tested. It happens in both =E2=80=98make check=E2=80=99 and running the test individually. It can= be reproduced using a script like: #!/usr/bin/env bash echo OK >> ~/tmp/process-tests.txt cd ~/src/emacs rm -f test/src/process-tests.log make test/src/process-tests.log and the command =E2=80=98watch -e script.sh=E2=80=99. For an idea how often= it fails here are the results of five runs of the above on two different machines: wc -l process-tests-*.txt 157 process-tests-1.txt 259 process-tests-2.txt 329 process-tests-3.txt 112 process-tests-4.txt 96 process-tests-5.txt 950 total wc -l process-tests-*.txt 11 process-tests-1.txt 14 process-tests-2.txt 9 process-tests-3.txt 11 process-tests-4.txt 11 process-tests-5.txt 56 total --=-=-= Content-Type: text/plain Content-Disposition: attachment; filename=process-tests-1.log Running 37 tests (2024-07-03 02:45:36-0500, selector `(not (or (tag :expensive-test) (tag :unstable) (tag :nativecomp)))') passed 1/37 lookup-family-specification (0.000848 sec) passed 2/37 lookup-google (0.012795 sec) passed 3/37 lookup-hints-specification (0.000481 sec) localhost/0 Name or service not known localhost/0 Name or service not known 343.1.2.3/0 Name or service not known 343.1.2.3/0 Name or service not known 1.2.3.4.5/0 Name or service not known 1.2.3.4.5/0 Name or service not known fe80::1/0 Address family for hostname not supported e301::203:1/0 Address family for hostname not supported e301:203::1/0 Address family for hostname not supported e301:0203::1/0 Address family for hostname not supported ::1/0 Address family for hostname not supported ::0/0 Address family for hostname not supported 0343:1:2::3/0 Address family for hostname not supported 343:001:2::3/0 Address family for hostname not supported passed 4/37 lookup-hints-values (0.000875 sec) passed 5/37 lookup-unicode-domains (0.356801 sec) skipped 6/37 make-process-w32-debug-spawn-error (0.000212 sec) passed 7/37 make-process/connection-type/in-pty (0.002656 sec) passed 8/37 make-process/connection-type/out-pty (0.002723 sec) passed 9/37 make-process/connection-type/out-pty-with-stderr-buffer (0.002729 sec) passed 10/37 make-process/connection-type/pipe (0.002522 sec) passed 11/37 make-process/connection-type/pipe-2 (0.002597 sec) passed 12/37 make-process/connection-type/pty (0.002545 sec) passed 13/37 make-process/connection-type/pty-2 (0.002701 sec) passed 14/37 make-process/connection-type/pty-with-stderr-buffer (0.003489 sec) passed 15/37 make-process/file-handler/disable (0.000826 sec) passed 16/37 make-process/file-handler/found (0.000227 sec) passed 17/37 make-process/file-handler/not-found (0.008194 sec) passed 18/37 make-process/mix-stderr (0.019879 sec) passed 19/37 make-process/noquery-stderr (0.010120 sec) passed 20/37 make-process/stop (0.000331 sec) emacs.invalid/0 Name or service not known passed 21/37 non-existent-lookup-failure (0.032796 sec) passed 22/37 process-num-processors (0.000285 sec) skipped 23/37 process-sentinel-interrupt-event (0.000287 sec) passed 24/37 process-test-sentinel-accept-process-output (0.008299 sec) passed 25/37 process-test-sentinel-sit-for (0.026713 sec) passed 26/37 process-test-stderr-buffer (0.005043 sec) passed 27/37 process-test-stderr-filter (0.005920 sec) passed 28/37 process-tests/fd-setsize-no-crash/make-network-process (0.032965 sec) passed 29/37 process-tests/fd-setsize-no-crash/make-pipe-process (0.026318 sec) passed 30/37 process-tests/fd-setsize-no-crash/make-process (0.084728 sec) passed 31/37 process-tests/fd-setsize-no-crash/make-serial-process (0.038348 sec) passed 32/37 process-tests/multiple-threads-waiting (0.017314 sec) passed 33/37 process-tests/sentinel-called (0.211271 sec) Test process-tests/sentinel-with-multiple-processes backtrace: signal(ert-test-failed (((should (equal calls (list (list process "f ert-fail(((should (equal calls (list (list process "finished\n")))) #f(compiled-function () #)() #f(compiled-function () #)() handler-bind-1(#f(compiled-function () #) (erro ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test ert-run-test(#s(ert-test :name process-tests/sentinel-with-multiple- ert-run-or-rerun-test(#s(ert--stats :selector ... :tests ... :test-m ert-run-tests((not (or (tag :expensive-test) (tag :unstable) (tag :n 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" "--eval" "(setq treesit-extra-l command-line() normal-top-level() Test process-tests/sentinel-with-multiple-processes condition: Info: Connection type: pty (ert-test-failed ((should (equal calls (list ...))) :form (equal nil ((# "finished\n"))) :value nil :explanation (different-types nil ((# "finished\n"))))) FAILED 34/37 process-tests/sentinel-with-multiple-processes (0.241297 sec) at src/process-tests.el:865 passed 35/37 set-process-filter-t (1.110837 sec) passed 36/37 start-process-should-not-modify-arguments (0.001001 sec) passed 37/37 unibyte-domain-name (0.016113 sec) Ran 37 tests, 34 results as expected, 1 unexpected, 2 skipped (2024-07-03 02:45:38-0500, 2.657456 sec) 1 unexpected results: FAILED process-tests/sentinel-with-multiple-processes 2 skipped results: SKIPPED make-process-w32-debug-spawn-error SKIPPED process-sentinel-interrupt-event --=-=-= Content-Type: text/plain Content-Disposition: attachment; filename=process-tests-2.log Running 37 tests (2024-06-29 18:49:19+0200, selector `(not (or (tag :expensive-test) (tag :unstable) (tag :nativecomp)))') passed 1/37 lookup-family-specification (0.000518 sec) passed 2/37 lookup-google (0.010568 sec) passed 3/37 lookup-hints-specification (0.000154 sec) localhost/0 Name or service not known localhost/0 Name or service not known 343.1.2.3/0 Name or service not known 343.1.2.3/0 Name or service not known 1.2.3.4.5/0 Name or service not known 1.2.3.4.5/0 Name or service not known fe80::1/0 Address family for hostname not supported e301::203:1/0 Address family for hostname not supported e301:203::1/0 Address family for hostname not supported e301:0203::1/0 Address family for hostname not supported ::1/0 Address family for hostname not supported ::0/0 Address family for hostname not supported 0343:1:2::3/0 Address family for hostname not supported 343:001:2::3/0 Address family for hostname not supported passed 4/37 lookup-hints-values (0.000272 sec) passed 5/37 lookup-unicode-domains (0.124601 sec) skipped 6/37 make-process-w32-debug-spawn-error (0.000133 sec) passed 7/37 make-process/connection-type/in-pty (0.002294 sec) passed 8/37 make-process/connection-type/out-pty (0.001549 sec) passed 9/37 make-process/connection-type/out-pty-with-stderr-buffer (0.001336 sec) passed 10/37 make-process/connection-type/pipe (0.001688 sec) passed 11/37 make-process/connection-type/pipe-2 (0.002292 sec) passed 12/37 make-process/connection-type/pty (0.001713 sec) passed 13/37 make-process/connection-type/pty-2 (0.001550 sec) passed 14/37 make-process/connection-type/pty-with-stderr-buffer (0.001428 sec) passed 15/37 make-process/file-handler/disable (0.000328 sec) passed 16/37 make-process/file-handler/found (0.000075 sec) passed 17/37 make-process/file-handler/not-found (0.004593 sec) passed 18/37 make-process/mix-stderr (0.005268 sec) passed 19/37 make-process/noquery-stderr (0.004517 sec) passed 20/37 make-process/stop (0.000071 sec) emacs.invalid/0 Name or service not known passed 21/37 non-existent-lookup-failure (0.006915 sec) passed 22/37 process-num-processors (0.000069 sec) skipped 23/37 process-sentinel-interrupt-event (0.000064 sec) passed 24/37 process-test-sentinel-accept-process-output (0.001387 sec) passed 25/37 process-test-sentinel-sit-for (0.010667 sec) passed 26/37 process-test-stderr-buffer (0.001688 sec) passed 27/37 process-test-stderr-filter (0.001644 sec) passed 28/37 process-tests/fd-setsize-no-crash/make-network-process (0.013212 sec) passed 29/37 process-tests/fd-setsize-no-crash/make-pipe-process (0.013785 sec) passed 30/37 process-tests/fd-setsize-no-crash/make-process (0.036187 sec) passed 31/37 process-tests/fd-setsize-no-crash/make-serial-process (0.017596 sec) --=-=-=--