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

os: TestNetworkSymbolicLink fails when the Server service is not started #20179

Closed
alexbrainman opened this issue Apr 30, 2017 · 2 comments
Closed

Comments

@alexbrainman
Copy link
Member

Please answer these questions before submitting your issue. Thanks!

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

go version devel +220e0e0 Thu Apr 27 04:42:21 2017 +0000 windows/amd64

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:\users\alex\dev
set GORACE=
set GOROOT=c:\users\alex\dev\go
set GOTOOLDIR=c:\users\alex\dev\go\pkg\tool\windows_amd64
set GCCGO=gccgo
set CC=gcc
set GOGCCFLAGS=-m64 -mthreads -fmessage-length=0 -fdebug-prefix-map=C:\Users\Alex\AppData\Local\Temp\go-build484948159=/tmp/go-build -gno-record-gcc-switches
set CXX=g++
set CGO_ENABLED=1
set CGO_CFLAGS=-g -O2
set CGO_CPPFLAGS=
set CGO_CXXFLAGS=-g -O2
set CGO_FFLAGS=-g -O2
set CGO_LDFLAGS=-g -O2
set PKG_CONFIG=pkg-config

What did you do?

I run this command:
go test -v -run=TestNetworkSymbolicLink os

What did you expect to see?

=== RUN TestNetworkSymbolicLink
--- PASS: TestNetworkSymbolicLink (0.02s)
PASS
ok os 0.316s

What did you see instead?

=== RUN TestNetworkSymbolicLink
--- FAIL: TestNetworkSymbolicLink (0.01s)
os_windows_test.go:482: The Server service is not started.
FAIL
exit status 1
FAIL os 0.201s

I stopped the "Server" service before running the test.

Alex

@gopherbot
Copy link

CL https://golang.org/cl/42190 mentions this issue.

@gopherbot
Copy link

Change https://golang.org/cl/68030 mentions this issue: [release-branch.go1.8] os: skip TestNetworkSymbolicLink if Server service is not started

gopherbot pushed a commit that referenced this issue Oct 4, 2017
…vice is not started

Fixes #20179

Change-Id: I2b405c9a212a75aae628ad51885616d33c054191
Reviewed-on: https://go-review.googlesource.com/42190
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-on: https://go-review.googlesource.com/68030
Run-TryBot: Chris Broadfoot <cbro@golang.org>
Reviewed-by: Alex Brainman <alex.brainman@gmail.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
@golang golang locked and limited conversation to collaborators Oct 4, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants