From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 124384 invoked by alias); 3 Jun 2017 15:00:46 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 124205 invoked by uid 89); 3 Jun 2017 15:00:29 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy= X-HELO: mail-qt0-f196.google.com X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=3wbYcHFlpPt9vEYhUjrODgoEFB20EzjIj+7h3peI+GA=; b=cVjMxB8QIAm9D6XaEzHy9idOX/9cAFSMecjisGg918UkX2Fl5ypF69N8mHfLjkD8P+ 2JotKIOk4+Ie83cYU3zwv2bBANInkAOoEyZw946nsKcKHLSOjWjPk3tLkF0b7EyC/L+f AkRg+qzDLiJ8p3z6SkpzBVJBtIx/gvfp+RhsZl0zHjRThC7VxKMEFQBGLkSdWb6IQZQq 4djqsNXlqi+NBjzYxS0i5D65XTIjHkmpYqqdW2N72wLE8rwJXFKXlb1CXl/A6bu7pVDS AsniyTF71yPBxeBPCHvtvQPvWVOfcvfNzpIFd6i18zVKuqv95VeqRlGRwUbtY6nFZPqo Gy9g== X-Gm-Message-State: AODbwcC44dikVK12axaajpcCzz+tt3cpd4TPkn8/hd5KGQgbYkUPkMfU ihHTwqSesyJEeTbT0e2Fp7M+kJrcqnAr X-Received: by 10.237.61.145 with SMTP id i17mr13490785qtf.241.1496502008153; Sat, 03 Jun 2017 08:00:08 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <3c929b88-297f-19ce-1091-a99a751f6a57@redhat.com> References: <2b4fc76e-e756-e4e4-11ca-829a03cf84bb@redhat.com> <760fae72-2aeb-fe24-541e-4a0014cce5ea@gotplt.org> <997caf1e-1676-4bbb-6739-ba27d705430a@redhat.com> <3c929b88-297f-19ce-1091-a99a751f6a57@redhat.com> From: "H.J. Lu" Date: Sat, 03 Jun 2017 15:00:00 -0000 Message-ID: Subject: Re: [PATCH] Tests for res_init To: Florian Weimer Cc: Siddhesh Poyarekar , GNU C Library Content-Type: text/plain; charset="UTF-8" X-SW-Source: 2017-06/txt/msg00160.txt.bz2 On Fri, Jun 2, 2017 at 11:43 PM, Florian Weimer wrote: > On 06/03/2017 04:06 AM, H.J. Lu wrote: >> On Fri, Jun 2, 2017 at 1:43 PM, H.J. Lu wrote: >>> On Fri, Jun 2, 2017 at 1:40 PM, Florian Weimer wrote: >>>> On 06/02/2017 10:19 PM, H.J. Lu wrote: >>>>> On Fri, Jun 2, 2017 at 6:49 AM, Florian Weimer wrote: >>>>>> On 05/18/2017 10:05 PM, Siddhesh Poyarekar wrote: >>>>>>> Why not just have a tst-resolv-res_init.c and >>>>>>> tst-resolv-res_init-thread.c? That's how a lot of the other similar >>>>>>> kinds of tests are rewritten. I don't have a very strong opinion on >>>>>>> this though, you can choose the color of your shed :) >>>>>> >>>>>> I do it this way so that I can use #if instead of #ifdef, following the >>>>>> current guidelines to trigger -Wundef warnings on typos. >>>>>> >>>>>> I'm going to push this without the tests expecting incorrect results. >>>>>> >>>>> >>>>> On Fedora 25/x86-64, I got >>>>> >>>>> [hjl@gnu-6 build-x86_64-linux]$ cat resolv/tst-resolv-res_init.out >>>>> Timed out: killed the child process >>>>> [hjl@gnu-6 build-x86_64-linux]$ cat resolv/tst-resolv-res_init-thread.out >>>>> Timed out: killed the child process >>>>> [hjl@gnu-6 build-x86_64-linux]$ >>>> >>>> I see that too, with 4.11.3-200.fc25.x86_64. What's your kernel version? >>>> >>>> I don't see the delay with 4.10.17-100.fc24.x86_64. There, the poll >>>> system calls return immediately. I wonder if it's some sort of >>>> regression in network namespaces. >>> >>> Yes, I am also running 4.11.3-200.fc25.x86_64. >>> >> >> I booted 4.10.16-200.fc25.x86_64 and the test passed. Any ideas? > > I'm going to try to come up with a self-contained reproducer, and then > approach the kernel people if it still looks like a kernel bug. > > Florian Kernel regression was introduced by commit 580bdf5650fff8f66468ce491f8308f1117b7074 Merge: e60a426 a249708 Author: David S. Miller Date: Tue Jan 17 15:19:37 2017 -0500 Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net But I don't know exactly which commit caused it. -- H.J.