Skip to content

net: UDPConn.WriteMsgUDP fails on Windows XP #23072

Closed
@alexbrainman

Description

@alexbrainman

new windows-386-xp builder on https://build.golang.org fails at commit 29cb57c

https://build.golang.org/log/e18744bedc520329ee61476194bf5020a66ba706

with

--- FAIL: TestUDPConnSpecificMethods (0.02s)
	protoconn_test.go:142: write udp4 127.0.0.1:1138->127.0.0.1:1138: wsasendmsg: An invalid argument was supplied.
--- FAIL: TestWriteToUDP (0.00s)
	udpsock_test.go:168: write udp 127.0.0.1:1282: wsasendmsg: An invalid argument was supplied.
FAIL
FAIL	net	10.336s

As I explained at #10267 (comment) I think we should just skip correspondent parts of the test on Windows XP.

Alex

Activity

bradfitz

bradfitz commented on Dec 9, 2017

@bradfitz
Contributor

What's the proper way to detect XP?

added
NeedsFixThe path to resolution is known, but the work has not been done.
on Dec 9, 2017
added this to the Go1.10 milestone on Dec 9, 2017
alexbrainman

alexbrainman commented on Dec 9, 2017

@alexbrainman
MemberAuthor

What's the proper way to detect XP?

Search for isWindowsXP in main repo.

I am going to send a fix for this in a little while. Please wait.

Alex

alexbrainman

alexbrainman commented on Dec 10, 2017

@alexbrainman
MemberAuthor

@bradfitz do we have Windows XP trybot?

Alex

gopherbot

gopherbot commented on Dec 10, 2017

@gopherbot
Contributor

Change https://golang.org/cl/83076 mentions this issue: internal/testenv: introduce IsWindowsXP

gopherbot

gopherbot commented on Dec 10, 2017

@gopherbot
Contributor

Change https://golang.org/cl/83077 mentions this issue: net: skip some tests on Windows XP

bradfitz

bradfitz commented on Dec 10, 2017

@bradfitz
Contributor

@alexbrainman, no trybot. We just have a single XP VM currently. Maybe @johnsonj will get Windows Server 2003 working on GCE and then we could have an opt-in Trybot or something.

alexbrainman

alexbrainman commented on Dec 10, 2017

@alexbrainman
MemberAuthor

Cool, I will test my change here, and then we'll submit and see.

Alex

alexbrainman

alexbrainman commented on Dec 10, 2017

@alexbrainman
MemberAuthor

I really do not know how to fix this - I am not even sure if it is possible to fix. I am just skipping broken tests for the moment.

Alex

bradfitz

bradfitz commented on Dec 10, 2017

@bradfitz
Contributor

@alexbrainman, that's fine.

modified the milestones: Go1.10, Unplanned on Dec 10, 2017
gopherbot

gopherbot commented on Feb 15, 2018

@gopherbot
Contributor

Change https://golang.org/cl/94255 mentions this issue: all: drop support for Windows Vista or below

locked and limited conversation to collaborators on Feb 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @bradfitz@gopherbot@alexbrainman

        Issue actions

          net: UDPConn.WriteMsgUDP fails on Windows XP · Issue #23072 · golang/go