From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.devel Subject: Re: Flickering tests Date: Wed, 03 Jul 2024 17:39:21 +0200 Message-ID: <8734oqh4d2.fsf@gmx.de> References: <87ed8bhnrb.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37495"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: emacs-devel@gnu.org To: Andrea Corallo Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Jul 03 17:40:21 2024 Return-path: Envelope-to: ged-emacs-devel@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 1sP25l-0009T4-Io for ged-emacs-devel@m.gmane-mx.org; Wed, 03 Jul 2024 17:40:21 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sP24v-0002eJ-C1; Wed, 03 Jul 2024 11:39:29 -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 1sP24t-0002du-Rf for emacs-devel@gnu.org; Wed, 03 Jul 2024 11:39:28 -0400 Original-Received: from mout.gmx.net ([212.227.15.15]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sP24s-0004ao-1G; Wed, 03 Jul 2024 11:39:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.de; s=s31663417; t=1720021162; x=1720625962; i=michael.albinus@gmx.de; bh=h9jSjdMixWA6Hy70jgmpu00fI0Npmc4vB8jCoRM2we8=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date: Message-ID:MIME-Version:Content-Type:cc:content-transfer-encoding: content-type:date:from:message-id:mime-version:reply-to:subject: to; b=Lm0WrIuyfZU2QXWr2OJbhmOTMgyjxa8EzCyaQPXdctCpm3F7ND2l6xJCPFwEeT6m KNTzfbaGM0uyqnKLPtwLVlY1UFHLDUYF2pApOUnDakt7O//Uq3+erMcgSTRdmJKi8 Ptbl3kD91L/Xie2AuX5avN7U1NEhg2xOjCkQvDX8Mk7l9gDdGIdGUvTWQKAVq6XmG P992QWi2UZV5GkRWmfdLeLzapwuHXXlNTho1V4on7Y0YUU9qvwM3KZ6Ludmjbx3G9 ZXbCkX4UJmei7mK7RwMXpGUBBvzm9NpqiN77IR8uDZ42jfkMCpwOXKbHu6exiuGam 0cAjg2glYf4Gm49uZg== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from gandalf.gmx.de ([185.89.38.155]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1Msq2E-1s9i780rKS-00ugB0; Wed, 03 Jul 2024 17:39:22 +0200 In-Reply-To: (Andrea Corallo's message of "Wed, 03 Jul 2024 10:52:37 -0400") X-Provags-ID: V03:K1:p32bfjkTGoC9pj94c2jFx6yQ+zpnGXrh8v8kb0WQgrCwVdS+6eQ lUxnVDGNEMeZmH09y+eUK05QLRDRSm+KY3HDS0ng7O0OcOdrSimqqgAeU04wEJ5XOJn2NUe eyUVv8i8PULWcymYOw6OxATDcluRhvUlYxpRlB+csSLgcmIMAu0b1DpBK+8cn8Rxmf+l5mc 2EDtbbbgRZxepRook247A== UI-OutboundReport: notjunk:1;M01:P0:f9w4roStHYo=;pllEhQycSKnMcXcVJTtQ71wMQbc t6nRIKAjmjbjnt7RccsM7p50lARkMc29aKENi+LuvUkJoYPIGyEylPOajMyfm/+nyl/HvKZ+H W5Xrotl3K/V1lwULplqqDf9DyM/zi65Pab5AdctbCAR4VU8QoV0qlXD5s4pPra0OHMqwKXCB4 NH6PDbH0B3SI8YoKdtjOfPR0n2MPhSd3KbwobHcUiswpC4L15pxBwTFBlUp5bf68HpPOjSgDR /3HNEbm6731+M4bLxPXfhGz/akyNvNx8/QgIgA2XCMRT9xxdLrfIfvQ4NFR7zk9dmmrZqVFBl OhGDbV5fWOlIvXECREmAWjjSraF9eKyeTzSzpEyb8ng7BddT5KaFTYrEUFu1kKrkvj4jg9L2p lCTuYNOIpKk2j1ZupYkcw9HMcCLEIEfa4IhiFD32tOQpQLCTm//YrZWEfrt5LwF+fEPiMmVmf ny3gqa4l1sRef6F9BhvdOszx1GbzyxxJr0qjoNXq0RLb+mr2NASq8TH/ZRiQ7oCuvup1FesxR 3WzFZB4PZtnU44sD1F2YeGagRyhld6UYlqgNrLOph06E+WdLXPHBvEQgj5BeQMvByX/8bzkTQ zYseS7sJBnPNLz5VziEyvOKTuI2OE4MKanND5CxT5A9rFVXKDcbpgyLwWbq6p0DxChe9j4Ilq ydX+k2svtCZkTCZqbSmY6/7BS6ayHz3pBNADENUyic9HxSL4YlrviKx32U1b88TobEHH7DkBy TCBhbDAY8EdQBOnSnYy6n9pz2/4alEDyJyFwIn0ldg6WYpIt3MmXJodDc5o59Xd/0xebt/F6 Received-SPF: pass client-ip=212.227.15.15; envelope-from=Michael.Albinus@gmx.de; helo=mout.gmx.net X-Spam_score_int: 5 X-Spam_score: 0.5 X-Spam_bar: / X-Spam_report: (0.5 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_SBL_CSS=3.335, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:321263 Archived-At: Andrea Corallo writes: Hi Andrea, > Mmhh, I've the impression this happen on my system only when it's under > heavy load. I've 64 cores and if I "make check -j64" I've say 50% > probability to hit these, but if I run only: > > ./src/emacs -batch -l ert -l ./test/lisp/net/dbus-tests.el -f ert-run-tests-batch-and-exit > > they all pass. Perhaps some timeout need to be adjusted? It's not the a I believe. D-Bus tests are sending events to the D-Buson OS level, and receiving events which will be interpreted. They are not written such a way that all tests can run in parallel. If you invoke "make check -j64", it could happen that some D-Bus tests run in parallel, and returning events do arrive in another Emacs instance but the one which has send the evnt. This might be even more problematic, because recently (on Sunday, commit 4e22ef870c4b650f29c4441ac51b6a2ac506ea57) a test which registers for wildcard events has been added. This test resides in my local Emacs git for 3 months w/o problems; I've simply waited until the FSF papers of the author, Robert Church, were on file. What could we do? Could we exclude dbus-tests.el from running as simultaneous job? Or could we simply skip D-Bus tests, if we detect that the tests run via simultaneous make jobs? How to check, on Lisp level? We always have the option to mark this test as :unstable, so we could stabilize the Emacs 30 release this way. But it would be a pity. Btw, could you check whether the D-Bus tests flickery goes away if we tag dbus-test05-register-signal-with-nils as :unstable? > Andrea Best regards, Michael.