From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi1-x22c.google.com (mail-oi1-x22c.google.com [IPv6:2607:f8b0:4864:20::22c]) by sourceware.org (Postfix) with ESMTPS id C2BB33857C50 for ; Wed, 24 Mar 2021 19:18:21 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org C2BB33857C50 Received: by mail-oi1-x22c.google.com with SMTP id x207so1195873oif.1 for ; Wed, 24 Mar 2021 12:18:21 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Y45d3BRuxcC+/lHbpnODFU3RoqtHmbQBWkbOCd154q8=; b=lnqDFZpO9wEqJ+MVWWUQedwrjY/u8HxTBScsUf5yH+FX0JKo7P4yiMvVQjPcJthE3D SGU3bfHW+vjK5lVLuGirAPSXNFj8OZRsOpXSkMTyH3aYQsrzppqvh/wYVel+H3wVhN5q 5H3QWnGhyGIkxmCakAZEEYGk4T4plV8NUtghPz976GY2IJxh/6gFWsh32ObqYVT/XO8h iFpa3ZSyJJT/VanCU0nHx63RHHTMCMcxjpcFuYcF2gPCFNrglpOmoMWpL15AD3BEwEGa cuAnZ+jT0Ij33PIHiDyWKf5hhx6vkO/Cgr500i0xgEirPrzRvkOmd1BLOuDP3cC8NsSX BLtg== X-Gm-Message-State: AOAM530tPkwq7bqTjQ6PxwECZX2+2N/HaMz3f+v9Mn9rvYHbVJZ78lWy J+NAPi+r0po9Nnkjcu/6mFlNjRzB9D2duCb65uM= X-Google-Smtp-Source: ABdhPJyaeznAo8IoNfV64wOpnLhpCvLMq5U5Um6K7q9ObYDR2Uqc7rOSNNKjrIPazuFdAaDVo8bTcwojQ2Oc93K9VEg= X-Received: by 2002:a05:6808:10c5:: with SMTP id s5mr3404243ois.58.1616613501213; Wed, 24 Mar 2021 12:18:21 -0700 (PDT) MIME-Version: 1.0 References: <20210314164625.9312-1-lukma@denx.de> <20210322123213.58775fbd@jawa> In-Reply-To: <20210322123213.58775fbd@jawa> From: "H.J. Lu" Date: Wed, 24 Mar 2021 12:17:45 -0700 Message-ID: Subject: Re: [PATCH] tst: Provide test for select To: Lukasz Majewski Cc: Joseph Myers , Adhemerval Zanella , Florian Weimer , DJ Delorie , GNU C Library , Florian Weimer , Alistair Francis Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-3029.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Mar 2021 19:18:23 -0000 On Mon, Mar 22, 2021 at 4:33 AM Lukasz Majewski wrote: > > Dear Community, > > > This change adds new test to assess select()'s timeout related > > functionality (the rdfs set provides valid fd - stderr - but during > > normal program operation there is no data to be read, so one just > > waits for timeout). > > > > To be more specific - two use cases are checked: > > - if select() times out immediately when passed struct timeval has > > zero values of tv_usec and tv_sec. > > - if select() times out after timeout specified in passed argument > > Do you have any comments regarding this patch? > This test failed on machines with more than 40 cores: tst-select.c:54: 1616610088.851713938s not after 1616610089.851712804s (difference 0.999998866s) error: 1 test failures I was doing 3 "makec -j28 check" in parallel. H.J.