Skip to content

net: TestInterfaces and TestInterfaceAddrs fail #15463

Closed
@alexbrainman

Description

@alexbrainman

Please answer these questions before submitting your issue. Thanks!

  1. What version of Go are you using (go version)?
go version devel +707aed0 Wed Apr 27 04:24:37 2016 +0000 windows/amd64
  1. What operating system and processor architecture are you using (go env)?
set GOARCH=amd64
set GOBIN=
set GOEXE=.exe
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOOS=windows
set GOPATH=c:\dev
set GORACE=
set GOROOT=C:\dev\go
set GOTOOLDIR=C:\dev\go\pkg\tool\windows_amd64
set CC=gcc
set GOGCCFLAGS=-m64 -mthreads -fmessage-length=0 -fdebug-prefix-map=C:\Users\brainman\AppData\Local\Temp\go-build145678430=/tmp/go-build -gno-record-gcc-switches
set CXX=g++
set CGO_ENABLED=1
  1. What did you do?
    If possible, provide a recipe for reproducing the error.
    A complete runnable program is good.
    A link on play.golang.org is best.

I run all.bat.

  1. What did you expect to see?

Successful completion.

  1. What did you see instead?
--- FAIL: TestInterfaces (0.02s)
        interface_test.go:84: "Local Area Connection": flags "up|broadcast|multicast", ifindex 11, mtu 1500
        interface_test.go:85: hardware address "00:50:56:84:00:12"
        interface_test.go:225: no IPv6 zone identifier found: &net.IPNet{IP:net.IP{0xfe, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xc9, 0xe4, 0x43, 0x25, 0x37, 0x45, 0xcf, 0xa5}, Mask:net.IPMask{0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, Zone:""}
        interface_test.go:230: interface address "10.0.24.10/24"
        interface_test.go:272: joined group address "ff01::1"
        interface_test.go:272: joined group address "ff02::1"
        interface_test.go:272: joined group address "ff02::c"
        interface_test.go:272: joined group address "ff02::1:3"
        interface_test.go:272: joined group address "ff02::1:ff45:cfa5"
        interface_test.go:272: joined group address "224.0.0.1"
        interface_test.go:272: joined group address "224.0.0.252"
        interface_test.go:272: joined group address "235.80.68.83"
        interface_test.go:272: joined group address "239.83.100.109"
        interface_test.go:272: joined group address "239.255.255.250"
        interface_test.go:84: "Loopback Pseudo-Interface 1": flags "up|loopback|multicast", ifindex 1, mtu -1
        interface_test.go:85: hardware address ""
        interface_test.go:230: interface address "::1/128"
        interface_test.go:230: interface address "127.0.0.1/8"
        interface_test.go:272: joined group address "ff02::c"
        interface_test.go:272: joined group address "239.255.255.250"
        interface_test.go:84: "isatap.sge.local": flags "pointtopoint|multicast", ifindex 12, mtu 1280
        interface_test.go:85: hardware address "00:00:00:00:00:00:00:e0"
--- FAIL: TestInterfaceAddrs (0.00s)
        interface_test.go:225: no IPv6 zone identifier found: &net.IPNet{IP:net.IP{0xfe, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xc9, 0xe4, 0x43, 0x25, 0x37, 0x45, 0xcf, 0xa5}, Mask:net.IPMask{0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, Zone:""}
        interface_test.go:230: interface address "10.0.24.10/24"
        interface_test.go:230: interface address "::1/128"
        interface_test.go:230: interface address "127.0.0.1/8"
FAIL
FAIL    net     15.454s
ok      net/http        12.317s

Alex

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions