From nobody Fri Jan 21 00:54:17 2022 X-Original-To: testing@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id B68C119684F3 for ; Fri, 21 Jan 2022 00:54:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Jg19P3lv8z3hhb for ; Fri, 21 Jan 2022 00:54:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 11BE6127CA for ; Fri, 21 Jan 2022 00:54:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 20L0sGTK041002 for ; Fri, 21 Jan 2022 00:54:16 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 20L0sGWQ041001 for testing@FreeBSD.org; Fri, 21 Jan 2022 00:54:16 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: testing@FreeBSD.org Subject: [Bug 240621] Flakey test case: lib.libc.sys.stat_test.stat_socket Date: Fri, 21 Jan 2022 00:54:17 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: tests X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: testing@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Testing List-Archive: https://lists.freebsd.org/archives/freebsd-testing List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-testing@freebsd.org X-BeenThere: freebsd-testing@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1642726457; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=wkeFMdTwJDNUEWerssrzirOL64aE/ALQkmYJa67Fxb4=; b=OMnWUjYau8zqcUh/Cve73Qag/hKER+I7ZckHEY0TPbCrbLz/OQhS3nwUNzdKLyK8InQWBY o1zxPSCskl20V0OzVhmHnB1yj85/qX2ZXwV3cmeRRWZIS7o8Nm0z5QtMDAwpeJqvQaMbGE Nydq2c6ccgpR3TZCdie+IRU+kF6tzFTe0MOkaSWcspS72GOvMR8TiQLf5UmIIk6SWYX2JX wSpcR4jZfj/vY9f0IOmj2u5luF59QXsj4YRjgdSJLyTKXOWrAv6N/YmsAZp4R971+NwJa2 M2M9pLkCTocmR3L6dMHTnhf2fDlwzNuqnVqi7Kx+Or79BXmUcBPm4nGypmh+XA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1642726457; a=rsa-sha256; cv=none; b=VglfwDon5KKSaLUL+tlKnN9GTtb6Rp+nvr38zXiJKXmFW0iHqcB9LXSkRxG4S0j0dPIzR0 63a8+fKO3pzxCArOJVWyLMFN4Fdjt/tu3ziIoGPMajNKLbuhpLLloPhk875V2kGg3Ulqfs gfUgCCIZ8RbWEpgnB8wZnPjQeSwINUMQ4kM2uE7JcZTqCLVqtVUvgiRcVX14gsM0SvYHby 6gRLCz9AepndPOJoLP7XoYvtIMgYS4pgcCrjxKe4KMtTQDc/xToY3D1ch2M6DeeOnff3Gd 0rCh5NyZh8gWeOLKSTMfHTdPvAMX0ujxdRk+GsZ7axNq1DUv9A2hrE9Bxeu29Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D240621 --- Comment #4 from commit-hook@FreeBSD.org --- A commit in branch stable/13 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D812345b1d469e5bb90f5487fef1e4ab16= 890cc7a commit 812345b1d469e5bb90f5487fef1e4ab16890cc7a Author: Mark Johnston AuthorDate: 2022-01-14 20:00:01 +0000 Commit: Mark Johnston CommitDate: 2022-01-21 00:52:36 +0000 netbsd-tests: Fix the libc stat_socket test The test tries to connect a socket to a closed port at 127.0.0.1. It sets O_NONBLOCK on the socket first and expects to get EINPROGRESS from connect(2), but this is not guaranteed, ECONNREFUSED is possible. Handle both cases, and re-enable the test. PR: 240621 Sponsored by: The FreeBSD Foundation (cherry picked from commit 95c75073d3d1ca9dcae41784453172f199bb2c0f) contrib/netbsd-tests/lib/libc/sys/t_stat.c | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) --=20 You are receiving this mail because: You are the assignee for the bug.=