goproxy icon indicating copy to clipboard operation
goproxy copied to clipboard

Unit tests fail in tip

Open nim-nim opened this issue 7 years ago • 3 comments

  • go test -compiler gc -ldflags '-X github.com/elazarl/goproxy/version.GitSHA=a96fa3a318260eab29abaf32f7128c9eb07fb073 -extldflags '''-Wl,-z,relro '''' --- FAIL: TestNoProxyHeaders (0.00s) proxy_test.go:535: Got Connection header from goproxy map[User-Agent:[Go-http-client/1.1] Connection:[close] Accept-Encoding:[gzip]] --- FAIL: TestNoProxyHeadersHttps (0.04s) proxy_test.go:535: Got Connection header from goproxy map[User-Agent:[Go-http-client/1.1] Connection:[close] Accept-Encoding:[gzip]] parse 127.0.0.1:43879: first path segment in URL cannot contain colon:-NewRequest exit status 255 FAIL github.com/elazarl/goproxy 0.451s

(on a centos 7 host)

nim-nim avatar Jan 17 '18 14:01 nim-nim

Still getting this with go version

  • go1.9.4 linux/amd64
  • go1.10.3 linux/amd64
  • go1.10.3 darwin/amd64
--- FAIL: TestNoProxyHeaders (0.00s)
	proxy_test.go:535: Got Connection header from goproxy map[User-Agent:[Go-http-client/1.1] Connection:[close] Accept-Encoding:[gzip]]
--- FAIL: TestNoProxyHeadersHttps (0.14s)
	proxy_test.go:535: Got Connection header from goproxy map[User-Agent:[Go-http-client/1.1] Connection:[close] Accept-Encoding:[gzip]]
parse 127.0.0.1:37507: first path segment in URL cannot contain colon:-NewRequest
FAIL	github.com/elazarl/goproxy	1.597s

Can I be of any support to help debug this? What could be the cause?

empijei avatar Aug 19 '18 00:08 empijei

Any news on this?

empijei avatar Sep 11 '18 08:09 empijei

Is this issue still present? We have a CI/CD pipeline that runs for every commit and this error never happened

ErikPelli avatar Dec 26 '24 17:12 ErikPelli