NetBSD Problem Report #53150

From martin@duskware.de  Tue Apr  3 14:37:46 2018
Return-Path: <martin@duskware.de>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id D86B87A151
	for <gnats-bugs@gnats.NetBSD.org>; Tue,  3 Apr 2018 14:37:45 +0000 (UTC)
From: martin
Reply-To: martin
To: gnats-bugs@NetBSD.org
Subject: Test depends on reverse non-resolvability of IP 1.1.1.1
X-Send-Pr-Version: 3.95

>Number:         53150
>Category:       bin
>Synopsis:       Test depends on reverse non-resolvability of IP 1.1.1.1
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Apr 03 14:40:00 +0000 2018
>Closed-Date:    Mon Apr 09 16:24:08 +0000 2018
>Last-Modified:  Tue Apr 10 08:10:00 +0000 2018
>Originator:     Martin Husemann
>Release:        NetBSD 8.99.14
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD thirdstage.duskware.de 8.99.14 NetBSD 8.99.14 (MODULAR) #73: Tue Apr 3 13:01:44 CEST 2018 martin@thirdstage.duskware.de:/usr/src/sys/arch/sparc64/compile/MODULAR sparc64
Architecture: sparc64
Machine: sparc64
>Description:

The IP address 1.1.1.1 now resolves to
1dot1dot1dot1.cloudflare-dns.com.

This breaks the usr.bin/shmif_dumpbus/t_basic:pcap
test. It would be easy to fix if tcpdump had an
option like "-n" that only would apply to DNS lookups,
that is: do not resolve IP addresses, but still look
up protocols.

Otherwise the "golden output" has to be recreated.

>How-To-Repeat:
cd /usr/tests/usr.bin/shmif_dumpbus
atf-run

>Fix:
n/a

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->closed
State-Changed-By: martin@NetBSD.org
State-Changed-When: Mon, 09 Apr 2018 16:24:08 +0000
State-Changed-Why:
Changed to avoid reverse DNS lookup


From: "Martin Husemann" <martin@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/53150 CVS commit: src/tests/usr.bin/shmif_dumpbus
Date: Mon, 9 Apr 2018 16:21:05 +0000

 Module Name:	src
 Committed By:	martin
 Date:		Mon Apr  9 16:21:05 UTC 2018

 Modified Files:
 	src/tests/usr.bin/shmif_dumpbus: d_pcap.out.bz2.uue t_basic.sh

 Log Message:
 Use tcpdump -n to avoid reverse DNS lookup. There is no point in having
 different results from running this test in a networked vs. a non-networked
 environment.
 Adjust golden output accordingly.
 Fixes PR 53150.


 To generate a diff of this commit:
 cvs rdiff -u -r1.2 -r1.3 src/tests/usr.bin/shmif_dumpbus/d_pcap.out.bz2.uue
 cvs rdiff -u -r1.8 -r1.9 src/tests/usr.bin/shmif_dumpbus/t_basic.sh

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

From: "Manuel Bouyer" <bouyer@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/53150 CVS commit: [netbsd-8] src/tests/usr.bin/shmif_dumpbus
Date: Tue, 10 Apr 2018 08:06:46 +0000

 Module Name:	src
 Committed By:	bouyer
 Date:		Tue Apr 10 08:06:46 UTC 2018

 Modified Files:
 	src/tests/usr.bin/shmif_dumpbus [netbsd-8]: d_pcap.out.bz2.uue
 	    t_basic.sh

 Log Message:
 Pull up following revision(s) (requested by martin in ticket #726):
 	tests/usr.bin/shmif_dumpbus/d_pcap.out.bz2.uue: revision 1.3
 	tests/usr.bin/shmif_dumpbus/t_basic.sh: revision 1.9
 Use tcpdump -n to avoid reverse DNS lookup. There is no point in having
 different results from running this test in a networked vs. a non-networked
 environment.
 Adjust golden output accordingly.
 Fixes PR 53150.


 To generate a diff of this commit:
 cvs rdiff -u -r1.2 -r1.2.36.1 \
     src/tests/usr.bin/shmif_dumpbus/d_pcap.out.bz2.uue
 cvs rdiff -u -r1.8 -r1.8.20.1 src/tests/usr.bin/shmif_dumpbus/t_basic.sh

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.