From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Laurence Warne Newsgroups: gmane.emacs.bugs Subject: bug#73441: 31.0.50; Unstable proced-refine-test failure Date: Tue, 29 Oct 2024 21:26:12 +0000 Message-ID: References: <87ldziy0b8.fsf@gentoo.org> <87msj5to3t.fsf@gmx.de> <87ldycjflg.fsf@gmx.de> <87r07z73ew.fsf@gmx.de> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="000000000000b78c240625a43cbe" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35716"; mail-complaints-to="usenet@ciao.gmane.io" Cc: mattiase@acm.org, 73441@debbugs.gnu.org, Sam James To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Oct 29 22:28:32 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 1t5tlO-00095w-QO for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 29 Oct 2024 22:28:31 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t5tky-00011C-NQ; Tue, 29 Oct 2024 17:28:04 -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 1t5tky-000113-05 for bug-gnu-emacs@gnu.org; Tue, 29 Oct 2024 17:28:04 -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 1t5tkx-0000Mi-Nb for bug-gnu-emacs@gnu.org; Tue, 29 Oct 2024 17:28:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=Date:From:In-Reply-To:References:MIME-Version:To:Subject; bh=oxD33jE9sfcioHEYy73dToUP+A0GKtBjbnyDj6zyZl4=; b=CELaqIDsrw2/0EEBxpQ36y6rgHEA8WMKKbpJuu3wEv5j1+HmAzvBIREb1dICvONRWcjQra7e57Ekqnk/9qLPIgC938GalQr7zVWDcHfVZcGqWhzYKOjMYeNysTcaIXstV8zDKpMCfTOpmKuP7qdZib3Im0u41++mMP7VTNGLTg9hC2gce4XUDU+BzcXAFfooZeh6qQBgTD2oNtT0WwZnbL0Lza6uW7jpsyPn77q3KAv0RxF7AJKVpGoznWL30I5fwBR+8gynzk9maw/+uNym+urEgeXKTMLdGPV2zX5cJX00PWxbl4TuH16UaTz3Abp2cwssLo2Lrs42jbf8QomQOg==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t5tkw-0003Bb-IU for bug-gnu-emacs@gnu.org; Tue, 29 Oct 2024 17:28:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Laurence Warne Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 29 Oct 2024 21:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73441 X-GNU-PR-Package: emacs Original-Received: via spool by 73441-submit@debbugs.gnu.org id=B73441.173023724712196 (code B ref 73441); Tue, 29 Oct 2024 21:28:02 +0000 Original-Received: (at 73441) by debbugs.gnu.org; 29 Oct 2024 21:27:27 +0000 Original-Received: from localhost ([127.0.0.1]:58954 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t5tkM-0003Ae-FT for submit@debbugs.gnu.org; Tue, 29 Oct 2024 17:27:26 -0400 Original-Received: from mail-vk1-f175.google.com ([209.85.221.175]:55679) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t5tkK-0003AY-Fm for 73441@debbugs.gnu.org; Tue, 29 Oct 2024 17:27:25 -0400 Original-Received: by mail-vk1-f175.google.com with SMTP id 71dfb90a1353d-50d4780a24eso1887325e0c.3 for <73441@debbugs.gnu.org>; Tue, 29 Oct 2024 14:27:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1730237184; x=1730841984; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=5crJLFEf8ncBDsK+T8YCRWr/0n6keIvF/7dHnkpbapE=; b=Iviehklk+Ej5x7zdKEfzNTXCNINVuIjlZtcrO+l/hj1GyaM0EH8UIa+v/Vio/0A9iW X46iOGZvYPm8KA8dkt3StYBCSLlUUBwlqh95DxZGFQCE3W8crhbVath3V+2i0QFNPGmH 79tXCRWNaemYumclXK9KwGqgtw3LF/M+tahH0zj8ArZDeWUzcM7VIL2gh1VD5vZLf5AC o5oQARU5uVhpw6PU3om4JRByLf8vlhlZxgZz2+NHx/Pw0sgQaVQQBt0VrSqVD6Kw2dxe 2yVxhwstpb0V/VyXy4ZItXBV8sljaMs+7QcEfq1ZxANHFupVbAjn1TpEDwcvsFvAxPHE upGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730237184; x=1730841984; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=5crJLFEf8ncBDsK+T8YCRWr/0n6keIvF/7dHnkpbapE=; b=vTVfA2uRtl5zkDjZhHIvFwiWxXiUwE3OfgJMjHsvWPmwqDHZDJzbZdNFxjRSkYQcUY diucOUd808hBGFw6RB0SDfpnGEksiDUpSHBNMrOei4lfXzfCTzG6uh3Bu9jskrcnkhKy JIUz8FIxzdAVSyGRN9n+2s/cs9tC5smhfVuwEu0TKKGtrHmAaVmu40uF0TMzwgrHCXT4 dQIoXwyGg6ladXRh2eSCvwcTgamCtzeyhpVUrR67kgzkOuKRhqOUnJEXhZCJN3Tdtgvj A2XOMn9R520/LvTm8pA/SYwM8+/oRVwEby7CuhlePy5iYVFPg4hdK0hrVOR56S6sxbTY 9rJQ== X-Forwarded-Encrypted: i=1; AJvYcCW9FoicMrrAKVEfiv8XdzMC8/9dIAVoYT6IGiCVn3QM8jcrLy451AvO7mGU0Vz8i1Y8cYWysw==@debbugs.gnu.org X-Gm-Message-State: AOJu0YwxfIQrpHR83izNSeuLHBu2OMdCir/miY9EKbw6Y+Um6mpcbUQC 37SoFa0CeUr66Qf4HtjC4Mk0JhEbVHGzx0oqYJTHwKKS7FxhLqKczDclpCdy8wbUlh+MfdkGSLq eoRpSyjfCPno3yG4dz8fFRhGUYw0= X-Google-Smtp-Source: AGHT+IFWnhyNoU/xLT5OnUd39r/eY0GTJGNLFM4R5o2BtdE+ds2ys0A5lCAwOE734DttMD8N1e6tZfOBmiIeZqC4yLw= X-Received: by 2002:a05:6122:200d:b0:4f5:199b:2a61 with SMTP id 71dfb90a1353d-510150e5219mr10451480e0c.9.1730237183772; Tue, 29 Oct 2024 14:26:23 -0700 (PDT) In-Reply-To: <87r07z73ew.fsf@gmx.de> 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:294537 Archived-At: --000000000000b78c240625a43cbe Content-Type: multipart/alternative; boundary="000000000000b78c120625a43cbc" --000000000000b78c120625a43cbc Content-Type: text/plain; charset="UTF-8" Hi Michael, Sorry it looks like I might have overlooked the case where a process has an empty column for %CPU. It sounds a bit strange and I can't reproduce it (as in a process having a blank entry - though I'm guessing it's platform dependent), but proced-refine appears to respect processes having a blank entry for %CPU and include them so I guess it's correct to do so in the tests too? In the attached patch I also added an ert-explainer to the proced refine tests so we should get info on the process that failed if it comes up again. Thanks, Laurence --000000000000b78c120625a43cbc Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Michael,

Sorry it looks l= ike I might have overlooked the case where a process has an empty column fo= r %CPU.=C2=A0 It sounds a bit strange and I can't reproduce it (as in a= process having a blank entry - though I'm guessing it's platform d= ependent), but proced-refine appears to respect processes having a blank en= try for %CPU and include them so I guess it's correct to do so in the t= ests too?

In the attached patch I also added an er= t-explainer to the proced refine tests so we should get info on the process= that failed if it comes up again.

Thanks, Laurenc= e
--000000000000b78c120625a43cbc-- --000000000000b78c240625a43cbe Content-Type: text/x-patch; charset="US-ASCII"; name="0001-Don-t-fail-proced-refine-tests-when-CPU-is-empty-Bug.patch" Content-Disposition: attachment; filename="0001-Don-t-fail-proced-refine-tests-when-CPU-is-empty-Bug.patch" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_m2uyiyki0 RnJvbSAyNmM3OTNlZjFlYjYxMmI0OTk3Y2M1MTU3ZDEwNjk1Zjg0MDMwOTAzIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBMYXVyZW5jZSBXYXJuZSA8bGF1cmVuY2V3YXJuZUBnbWFpbC5j b20+CkRhdGU6IFR1ZSwgMjkgT2N0IDIwMjQgMjA6MTk6NDQgKzAwMDAKU3ViamVjdDogW1BBVENI XSBEb24ndCBmYWlsIHByb2NlZCByZWZpbmUgdGVzdHMgd2hlbiBDUFUgaXMgZW1wdHkgKEJ1ZyM3 MzQ0MSkKCiogdGVzdC9saXNwL3Byb2NlZC10ZXN0cy5l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