Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

net: tips all.bash test failed: interface_test.go:74: route ip+net: invalid network interface name #14706

Closed
wheelcomplex opened this issue Mar 8, 2016 · 2 comments

Comments

Projects
None yet
4 participants
@wheelcomplex
Copy link
Contributor

commented Mar 8, 2016

Please answer these questions before submitting your issue. Thanks!

  1. What version of Go are you using (go version)?

go version devel +beabd87 Tue Mar 8 06:02:15 2016 +0000 freebsd/amd64

  1. What operating system and processor architecture are you using (go env)?
GOARCH="amd64"
GOBIN="/home/rhinofly/home/ds/sandspace/go/bin.freebsd-amd64"
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="freebsd"
GOOS="freebsd"
GOPATH="/home/rhinofly/home/ds/sandspace/external/:/home/rhinofly/home/ds/sandspace/golibs/"
GORACE=""
GOROOT="/home/rhinofly/home/ds/sandspace/go"
GOTOOLDIR="/home/rhinofly/home/ds/sandspace/go/pkg/tool/freebsd_amd64"
CC="clang"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -gno-record-gcc-switches"
CXX="clang++"
CGO_ENABLED="1"
$ ifconfig -a
em0: flags=8843 metric 0 mtu 1500
    options=209b
    ether 66:30:38:38:64:30
    inet 10.236.12.201 netmask 0xffffff00 broadcast 10.236.12.255 
    nd6 options=29
    media: Ethernet autoselect (1000baseT )
    status: active
lo0: flags=8049 metric 0 mtu 16384
    options=600003
    inet6 ::1 prefixlen 128 
    inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 
    inet 127.0.0.1 netmask 0xff000000 
    nd6 options=21
    groups: lo 
$ uname -a
FreeBSD rhinofly-devel-800201.localdomain 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r295683: Wed Feb 17 02:07:17 UTC 2016     root@releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64
  1. What did you do?
    (Use play.golang.org to provide a runnable example, if possible.)

git clone https://github.com/golang/go.git tips-go && cd tips-go/src && ./all.bash

  1. What did you expect to see?

build done without error and warning.

  1. What did you see instead?
    --- FAIL: TestInterfaces (0.00s)
    interface_test.go:74: route ip+net: invalid network interface name
    FAIL
    FAIL    net 2.240s
    

detail data by fmt.Printf(%v):

all interfaces data:
ift=[{1 1500  dc:05:00:00:00:00:00:00:00:ca:9a:3b:00:00:00:00:94:49:13:00:00:00:00:00:00:00:00:00:00:00:00:00:1f:61:0a:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:44:63:57:67:00:00:00:00:08:dc:76:04:00:00:00:00:18:1f:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:06:00:00:00:00:00:00:00:01:00:00:00:00:00:00:00:6b:f0:dc:56:00:00:00:00:3f:f6:05:00:00:00:00:00:38:12:01:00:06:03:06:00 up|broadcast|multicast} {2 16384  00:40:00:00:00:00:00:00:00:00:00:00:00:00:00:00:9d:ac:01:00:00:00:00:00:00:00:00:00:00:00:00:00:9d:ac:01:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:2b:d2:32:0c:00:00:00:00:2b:d2:32:0c:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:0f:0e:00:00:00:00:00:00:01:00:00:00:00:00:00:00:6a:f0:dc:56:00:00:00:00:5d:8e:08:00:00:00:00:00:38:12:02:00:18:03:00:00 up|loopback|multicast}]

test failed:
ifi={1 1500  dc:05:00:00:00:00:00:00:00:ca:9a:3b:00:00:00:00:94:49:13:00:00:00:00:00:00:00:00:00:00:00:00:00:1f:61:0a:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:44:63:57:67:00:00:00:00:08:dc:76:04:00:00:00:00:18:1f:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:06:00:00:00:00:00:00:00:01:00:00:00:00:00:00:00:6b:f0:dc:56:00:00:00:00:3f:f6:05:00:00:00:00:00:38:12:01:00:06:03:06:00 up|broadcast|multicast}, ifxn-, err=route ip+net: invalid network interface name

@ianlancetaylor ianlancetaylor added this to the Go1.7 milestone Mar 8, 2016

@ianlancetaylor

This comment has been minimized.

Copy link
Contributor

commented Mar 8, 2016

CC @mikioh

@mikioh

This comment has been minimized.

Copy link
Contributor

commented Mar 9, 2016

This is a duplicate of #7849. See https://github.com/golang/go/wiki/FreeBSD.

@mikioh mikioh closed this Mar 9, 2016

@golang golang locked and limited conversation to collaborators Mar 13, 2017

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
You can’t perform that action at this time.