From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.bugs Subject: bug#52194: 28.0.50; [PATCH] Put paid to a flappy test module Date: Tue, 30 Nov 2021 11:33:21 +0100 Message-ID: <87sfve3pce.fsf@gmail.com> References: <87pmqimnia.fsf@dick> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26585"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 52194@debbugs.gnu.org To: dick.r.chiang@gmail.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Nov 30 11:34:46 2021 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 1ms0TF-0006kz-Sg for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 30 Nov 2021 11:34:45 +0100 Original-Received: from localhost ([::1]:48720 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ms0TD-00068a-QK for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 30 Nov 2021 05:34:43 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:42094) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ms0SY-00068O-W0 for bug-gnu-emacs@gnu.org; Tue, 30 Nov 2021 05:34:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56941) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ms0SY-0008OR-JZ for bug-gnu-emacs@gnu.org; Tue, 30 Nov 2021 05:34:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ms0SY-00074Y-9e for bug-gnu-emacs@gnu.org; Tue, 30 Nov 2021 05:34:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Robert Pluim Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 30 Nov 2021 10:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52194 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 52194-submit@debbugs.gnu.org id=B52194.163826842027156 (code B ref 52194); Tue, 30 Nov 2021 10:34:02 +0000 Original-Received: (at 52194) by debbugs.gnu.org; 30 Nov 2021 10:33:40 +0000 Original-Received: from localhost ([127.0.0.1]:40254 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ms0S1-00073m-TU for submit@debbugs.gnu.org; Tue, 30 Nov 2021 05:33:40 -0500 Original-Received: from mail-wm1-f41.google.com ([209.85.128.41]:40624) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ms0S0-00073Z-Jm for 52194@debbugs.gnu.org; Tue, 30 Nov 2021 05:33:29 -0500 Original-Received: by mail-wm1-f41.google.com with SMTP id j140-20020a1c2392000000b003399ae48f58so19113298wmj.5 for <52194@debbugs.gnu.org>; Tue, 30 Nov 2021 02:33:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :mime-version:content-transfer-encoding; bh=lljVADsR8knxxLvSnFy5TLBilp4dpkmYzWg9N+XqEAs=; b=cZIKsDjTVNmzJa2YsCrpwQ5JRQjeyWAWSSJOHpYiV3WNQkaXompTkmAwgtGpXq6DER rmXRi3r+bhfr0jebgQOIqbWIYPNKB+LaPXU7FrxlHTuKLAydHY/MPUDpuYdIzzLXeBHU 2x5iPWbPWhSs7aM1T8tXBlrWhZmOfc2JRw4EvwMkXAV+Oxq2m32306lk60gw0PevTsje R1M/OEmu33wklhoiNwyPGLQpKevlXrYVtInTxGfop21fz9z+p/n5JszlvY1Q2Twt5jc4 JTqjoRKB6cGAt0fAzx6POXBmBhFaP4PL6nn/3D1+GWOYaNMb6Aqs2qA930mGNJIdkGYl KeyQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:mime-version:content-transfer-encoding; bh=lljVADsR8knxxLvSnFy5TLBilp4dpkmYzWg9N+XqEAs=; b=hz7izfQ34ysrIg9ggMr+AyPMQseDuSMD65t2A6+rkhkM//odPvtcWF55n82NW/jM6Q zQb5qbyMsPWdVFpb1L9ko3HBXuQaNKFATnZyjAmRsLGC3cSimpqhnY2SQxxVwUma3SJE eGtZdt/iaI4Yr4GWm0YwC93d3p3NwsehUdK9mOty6Ii3LKpaF66Bt5VrSEN2mal9O6OJ jHuyKedYQ9RjXeCll7eGKJ7tb1cu24V1oTmUe5vpyf/JX4RVZTKNp9gmITqlqzEaXfq1 Fk6ndxPsPMyoDu9lJkxf5vEPRYSbcfIh5Ga5OGonopClDfiwvAsYLV9J57tIbJz+bCFd bWaQ== X-Gm-Message-State: AOAM532CO255KrqThgYGCAlKH2lCbblvpd2bFxFMJ0Q3eDpjZvDn8Xap QPbZEX/7U7CUfZfo5CrjsBxBEgNUDno= X-Google-Smtp-Source: ABdhPJyvY3QxetlaRdikdSmXtaK3s18Tof9lmsTlcHowfsYyhPYxgKILd/ADhAqM3nGESfcn3mILmA== X-Received: by 2002:a05:600c:a05:: with SMTP id z5mr3844197wmp.73.1638268402420; Tue, 30 Nov 2021 02:33:22 -0800 (PST) Original-Received: from rltb ([2a01:e0a:3f3:fb50:3c45:157c:7662:2fd3]) by smtp.gmail.com with ESMTPSA id p8sm16238613wrx.25.2021.11.30.02.33.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Nov 2021 02:33:21 -0800 (PST) In-Reply-To: <87pmqimnia.fsf@dick> (dick r. chiang's message of "Mon, 29 Nov 2021 20:38:05 -0500") 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" Xref: news.gmane.io gmane.emacs.bugs:221108 Archived-At: >>>>> On Mon, 29 Nov 2021 20:38:05 -0500, dick.r.chiang@gmail.com said: dick> From 18e2cfa112c3393b4191bb3497bf9a0ae643c2a2 Mon Sep 17 00:00:00= 2001 dick> From: dickmao dick> Date: Mon, 29 Nov 2021 20:31:28 -0500 dick> Subject: [PATCH] Don't repeat yourself (DRY) I don=CA=BCt think that quite works: make network-stream-tests make[1]: Entering directory '/home/rpluim/repos/emacs-master/test' ELC lisp/net/network-stream-tests.elc GEN lisp/net/network-stream-tests.log Running 27 tests (2021-11-30 11:26:04+0100, selector `(not (or (tag :unstab= le) (tag :nativecomp)))') passed 1/27 check-network-process-coding-system-bind (0.000158 sec) passed 2/27 check-network-process-coding-system-no-override (0.000087= sec) passed 3/27 check-network-process-coding-system-override (0.000072 se= c) gnutls-serv on 36651: passed 4/27 connect-to-tls-ipv4-nowait (0.048766 sec) gnutls-serv on 46869: retry: make client process failed: Connection refused, :name, bar, :buffer,= *foo*, :service, 46869, :host, localhost passed 5/27 connect-to-tls-ipv4-wait (0.104101 sec) gnutls-serv on 40031: passed 6/27 connect-to-tls-ipv6-nowait (0.043784 sec) Received echo foo passed 7/27 echo-server-nowait (0.311162 sec) skipped 8/27 echo-server-with-dns (0.026180 sec) Received echo foo passed 9/27 echo-server-with-ip (0.301017 sec) Received echo foo passed 10/27 echo-server-with-local-ipv4 (0.300962 sec) Received echo foo passed 11/27 echo-server-with-local-ipv6 (0.301023 sec) Received echo foo passed 12/27 echo-server-with-localhost (0.301635 sec) passed 13/27 make-ipv4-tcp-server-with-specified-port (0.000320 sec) passed 14/27 make-ipv4-tcp-server-with-unspecified-port (0.000247 sec) passed 15/27 make-ipv6-tcp-server-with-specified-port (0.000365 sec) passed 16/27 make-ipv6-tcp-server-with-unspecified-port (0.000280 sec) passed 17/27 make-local-unix-server (0.000535 sec) gnutls-serv on 36935: retry: make client process failed: Connection refused, :name, bar, :buffer,= *foo*, :host, localhost, :service, 36935, :nowait, nil, :tls-parameters, n= il, :coding, nil passed 18/27 open-gnutls-stream-new-api-default (0.071366 sec) passed 19/27 open-gnutls-stream-new-api-errors (0.001658 sec) gnutls-serv on 41385: passed 20/27 open-gnutls-stream-new-api-nowait (0.064266 sec) gnutls-serv on 37255: retry: make client process failed: Connection refused, :name, bar, :buffer,= *foo*<3>, :host, localhost, :service, 37255, :nowait, nil, :tls-parameters= , nil, :coding, nil passed 21/27 open-gnutls-stream-new-api-wait (0.069339 sec) gnutls-serv on 41787: passed 22/27 open-gnutls-stream-old-api-nowait (0.051029 sec) gnutls-serv on 33897: retry: make client process failed: Connection refused, :name, bar, :buffer,= *foo*<3>, :host, localhost, :service, 33897, :nowait, nil, :tls-parameters= , nil, :coding, nil passed 23/27 open-gnutls-stream-old-api-wait (0.065877 sec) gnutls-serv on 46759: retry: make client process failed: Connection refused, :name, bar, :buffer,= *foo*<3>, :host, localhost, :service, 46759, :nowait, nil, :tls-parameters= , nil, :coding, nil passed 24/27 open-network-stream-tls (0.070041 sec) gnutls-serv on 36777: retry: make client process failed: Connection refused, :name, bar, :buffer,= *foo*<3>, :host, localhost, :service, 36777, :nowait, nil, :tls-parameters= , nil, :coding, nil passed 25/27 open-network-stream-tls-nocert (0.066414 sec) gnutls-serv on 45303: passed 26/27 open-network-stream-tls-nowait (0.044982 sec) gnutls-serv on 43721: retry: make client process failed: Connection refused, :name, bar, :buffer,= *foo*<3>, :host, localhost, :service, 43721, :nowait, nil, :tls-parameters= , nil, :coding, nil passed 27/27 open-network-stream-tls-wait (0.069078 sec) Ran 27 tests, 26 results as expected, 0 unexpected, 1 skipped (2021-11-30 1= 1:26:07+0100, 2.317750 sec) 1 skipped results: SKIPPED echo-server-with-dns =20=20 Robert --=20