From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.devel Subject: make check hangs in network-stream-tests.el Date: Wed, 19 Jul 2017 16:42:46 +0200 Message-ID: <871spctrmh.fsf@rosalinde> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1500475492 19519 195.159.176.226 (19 Jul 2017 14:44:52 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 19 Jul 2017 14:44:52 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jul 19 16:44:47 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dXqDQ-0004P4-53 for ged-emacs-devel@m.gmane.org; Wed, 19 Jul 2017 16:44:40 +0200 Original-Received: from localhost ([::1]:33712 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dXqDV-0008Tn-Kt for ged-emacs-devel@m.gmane.org; Wed, 19 Jul 2017 10:44:45 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59813) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dXqBy-0007dx-Bd for emacs-devel@gnu.org; Wed, 19 Jul 2017 10:43:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dXqBv-0004Ck-9H for emacs-devel@gnu.org; Wed, 19 Jul 2017 10:43:10 -0400 Original-Received: from [195.159.176.226] (port=34737 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dXqBv-0004Bt-35 for emacs-devel@gnu.org; Wed, 19 Jul 2017 10:43:07 -0400 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1dXqBh-0007OX-6v for emacs-devel@gnu.org; Wed, 19 Jul 2017 16:42:53 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 51 Original-X-Complaints-To: usenet@blaine.gmane.org X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 195.159.176.226 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:216879 Archived-At: When I run `make check' it sometimes hangs in network-stream-tests.el. I've left it alone for as much as 10-15 minutes and then aborted. Today it happened again, so after aborting I ran ert interactively on network-stream-tests.el and got one successful run of all tests but also a hang; here are the results in the latter case: Selector: t Passed: 2 Failed: 0 Skipped: 0 Total: 2/10 Started at: 2017-07-19 16:17:02+0200 Aborted. Aborted at: 2017-07-19 16:22:24+0200 ..Q------- . connect-to-tls-ipv4-nowait passed . connect-to-tls-ipv4-wait passed Q connect-to-tls-ipv6-nowait (quit) This is what *Messages* contains: gnutls-serv: HTTP Server listening on IPv4 0.0.0.0 port 44331...done HTTP Server listening on IPv6 :: port 44331...done gnutls-serv: HTTP Server listening on IPv4 0.0.0.0 port 44332...done HTTP Server listening on IPv6 :: port 44332...done gnutls-serv: HTTP Server listening on IPv4 0.0.0.0 port 44333...bind() failed: Address already in use HTTP Server listening on IPv6 :: port 44333...bind() failed: Address already in use Abort testing? (y or n) y Aborted: Ran 10 tests, 2 results were as expected During this test run and during make check, I had AFAIK no network problems, and again, sometimes the tests complete successfully. So what's going on? When this hang has happened, the only way I found to get `make check' to complete was to temporarily remove network-stream-tests.el and network-stream-tests.elc. Is there a better alternative? Steve Berman