Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upTest suite fails when a local HTTP proxy is configured #3585
Comments
This comment has been minimized.
This comment has been minimized.
|
I think this is the expected behaviour. |
This comment has been minimized.
This comment has been minimized.
|
|
gouthamve
closed this
Dec 19, 2017
This comment has been minimized.
This comment has been minimized.
|
Sweet merciful heavens... I know I can unset the environment variable, but (a) this used to work, and (b) you're sending invalid HTTP requests. |
This comment has been minimized.
This comment has been minimized.
|
@mpalmer these tests didn't exist when you submitted your PR on Sep the 5th so it explains why it worked then :) here is a link to the PR branch |
This comment has been minimized.
This comment has been minimized.
|
Unfortunately, running |
This comment has been minimized.
This comment has been minimized.
|
I had a another try, but seems that it is not a trivial fix. I tested it on Debian it works as advertised and all tests passed. |
This comment has been minimized.
This comment has been minimized.
|
hm , I tested this again and now the |
This comment has been minimized.
This comment has been minimized.
|
found the magic string added the fix to the same PR so download the same branch and confirm if it works on your box. |
This comment has been minimized.
This comment has been minimized.
|
Yay! |
This comment has been minimized.
This comment has been minimized.
lock
bot
commented
Mar 23, 2019
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
mpalmer commentedDec 14, 2017
What did you do?
I ran
make testin an environment where thehttp_proxyenvironment variable was pointing to a Squid 3 proxy.What did you expect to see?
A successful test suite run.
What did you see instead? Under which circumstances?
The Squid error page included the text:
The last time I ran the test suite was around the time I submitted #3138, and it worked fine then (and I've had
http_proxyset for the better part of a decade), so that should narrow down the period in which the problem was introduced.Environment
System information:
Linux 4.9.0-3-amd64 x86_64
Prometheus version:
Git commit
b5c30090bN/A