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.devel Subject: Re: ai_flags in calls to getaddrinfo, broader call for reproducibility check Date: Tue, 12 Jan 2021 17:00:56 +0100 Message-ID: <87pn2aywjr.fsf@gmail.com> References: <83sg7mggls.fsf@gnu.org> <83czymc8nq.fsf@gnu.org> <74b7a0a9-0eb3-7944-19d2-f72424ee72d7@dasyatidae.com> <83eeirfqbo.fsf@gnu.org> <87o8hvscfi.fsf@gmail.com> <8335z7fmnz.fsf@gnu.org> <87ft374axc.fsf@gmail.com> <83wnwjdwww.fsf@gnu.org> <87czyb2nvq.fsf@gmail.com> <83r1mqdwri.fsf@gnu.org> <83eeiqduvi.fsf@gnu.org> 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="35613"; mail-complaints-to="usenet@ciao.gmane.io" Cc: rtt@dasyatidae.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Jan 12 17:03:04 2021 Return-path: Envelope-to: ged-emacs-devel@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 1kzM8N-00096u-RU for ged-emacs-devel@m.gmane-mx.org; Tue, 12 Jan 2021 17:03:03 +0100 Original-Received: from localhost ([::1]:38542 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kzM8M-00076e-T1 for ged-emacs-devel@m.gmane-mx.org; Tue, 12 Jan 2021 11:03:02 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43774) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kzM6k-000674-8k for emacs-devel@gnu.org; Tue, 12 Jan 2021 11:01:27 -0500 Original-Received: from mail-wm1-x332.google.com ([2a00:1450:4864:20::332]:39221) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kzM6R-0002Ra-2E; Tue, 12 Jan 2021 11:01:18 -0500 Original-Received: by mail-wm1-x332.google.com with SMTP id 3so2588998wmg.4; Tue, 12 Jan 2021 08:01:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :mime-version:content-transfer-encoding; bh=lNU1s5cLZLIFgrFxzE7f2TyXYKJG9DFqDuY5k3eC64o=; b=XSfdLylN78tX0p81JOMB7Y7hthnJLuGUnaErX1DsPtAqIQqQMIjzEYSLSLTHLnpyr+ G+gHKTtjyX+5+OiibXo4mJ5pd3QINPzYxnMcBXAQ9Np+bjuMJs5XBjQoq4UjkGwrN7Jq mZqIZRLp7D9nY2CQz7EH92LM2MMUoNRV6Xl19pjG2fHu9/zPdjfTMt1aHPSq7Xa4LvKT yMtkG2pykADLxeYrrg7TJ6xSgzshmbtaSyhHFIEFYAeLc3fwixxPrGqeK+7wEPZAcqeT IleZpMAwQ5MkMH/WDZFW6xGqHDWqupj/FDtBfZen9b46uBR5lusfk9ZLao2Wmh+pBk2N 2f0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:mime-version:content-transfer-encoding; bh=lNU1s5cLZLIFgrFxzE7f2TyXYKJG9DFqDuY5k3eC64o=; b=o/XH0ITf7+yQR2AvGqUCp7G94N3BaJn6G64JXrj6WlXVOXDKlFse8BRI2cFcbIT/qt 0vSBR7+8CrDT8PJmV1vyuOBG4u7yT/9r+Z9aYZahNsmZtKKlg2MifcRhuL1DI1HPbIYE BAXoJj+d889t5KzMECiwlJxYdoYjm5fSAETAGfiWaTfGQcMee7VcU6+X7F/LvjoZj99g e02bSLBomFzvVpq6MXyGHgbz/7OX1L0rPAOf0RDfIOMpyxBeVkr2ovuQm0lRY55j7FWW 0u97hF6UfUvPxxaxjPyfAsWaayuacAVz55/7HvSPUCbXO6EAdu83ZVgAwVegXYTXlmHp xJHg== X-Gm-Message-State: AOAM533F3GnfcSo/+ASjWkEjN+xfcDFJMG7pglsOeUb7s3ViGMTY2tk8 cN+M68O8le687SOYYqeTM8QoTc6tPMg= X-Google-Smtp-Source: ABdhPJwduHthHfeWqJI58ij6V6KdivaDc5lCHL0hROQfyYwCdzwQw8Jw2q6313hvZS0enhRquKG1iA== X-Received: by 2002:a1c:483:: with SMTP id 125mr3220614wme.80.1610467259556; Tue, 12 Jan 2021 08:00:59 -0800 (PST) Original-Received: from rltb ([2a01:e34:ecfc:a861:69b6:6aaf:dbd3:8964]) by smtp.gmail.com with ESMTPSA id v65sm5020200wme.23.2021.01.12.08.00.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Jan 2021 08:00:58 -0800 (PST) In-Reply-To: <83eeiqduvi.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 12 Jan 2021 17:42:41 +0200") Received-SPF: pass client-ip=2a00:1450:4864:20::332; envelope-from=rpluim@gmail.com; helo=mail-wm1-x332.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:262992 Archived-At: Eli Zaretskii writes: >> Date: Tue, 12 Jan 2021 17:01:53 +0200 >> From: Eli Zaretskii >> Cc: rtt@dasyatidae.com, emacs-devel@gnu.org >>=20 >> > I=CA=BCve lost track of which tests were failing, but something like >> > following. And if the 'dns-query' calls succeed but the >> > network-lookup-address-info ones fail then we have a really messed up >> > situation. >>=20 >> You assume that a TCP connection to the DNS server there will succeed? > > Btw, this succeeds even on my XP box, which doesn't have IPv6 > installed: > > (dns-query "google.com" 'AAAA) > =3D> "2a00:1450:4009:80b:0:0:0:200e" > > So I'm not sure that test is reliable enough for these purposes. It=CA=BCs checking if IPv6 names can be resolved, not if IPv6 works. If you think that=CA=BCs not a useful test, we can remove it. I can condition all the IPv6 tests on the following, which should alleviate your concerns: ;; This will need updating when IANA assign more IPv6 global ranges. (defun ipv6-is-available () (and (featurep 'make-network-process '(:family ipv6)) (cl-rassoc-if (lambda (elt) (and (eq 9 (length elt)) (=3D (logand (aref elt 0) #xe000) #x2000))) (network-interface-list)))) (although it=CA=BCs needed in nsm-tests.el and process-tests.el, which means duplication ) Robert