Intermittent test failure in TestArtifactProxyRequest/Proxy_Request_Test:_basic_proxied_request_for_subgroup
E.g. https://gitlab.com/gitlab-org/gitlab-pages/-/jobs/61355133
--- FAIL: TestArtifactProxyRequest/Proxy_Request_Test:_basic_proxied_request_for_subgroup (5.12s)
helpers_test.go:158: Running ./gitlab-pages [-log-verbose=true -listen-http 127.0.0.1:37000 -listen-http [::1]:37000 -listen-https 127.0.0.1:37001 -listen-https [::1]:37001 -listen-proxy 127.0.0.1:37002 -listen-proxy [::1]:37002 -root-key /tmp/https-fixture140679946 -root-cert /tmp/https-fixture389074657 -artifacts-server=https://127.0.0.1:34301/api/v4 ]
helpers_test.go:27: time="2018-04-05T14:35:58Z" level=info msg="GitLab Pages Daemon" revision=5405831 version=dev
helpers_test.go:27: time="2018-04-05T14:35:58Z" level=info msg="URL: https://gitlab.com/gitlab-org/gitlab-pages"
helpers_test.go:27: time="2018-04-05T14:35:58Z" level=debug msg="Start daemon with configuration" artifacts-server="https://127.0.0.1:34301/api/v4" artifacts-server-timeout=10 daemon-gid=0 daemon-uid=0 default-config-filename=config disable-cross-origin-requests=false domain=gitlab-example.com listen-http="127.0.0.1:37000,[::1]:37000" listen-https="127.0.0.1:37001,[::1]:37001" listen-proxy="127.0.0.1:37002,[::1]:37002" log-format=text metrics-address= pages-domain=gitlab-example.com pages-root=shared/pages pages-status= redirect-http=false root-cert=/tmp/https-fixture140679946 root-key=/tmp/https-fixture389074657 status_path= use-http-2=true
helpers_test.go:27: time="2018-04-05T14:35:58Z" level=debug msg="Set up HTTP listener" listener="127.0.0.1:37000"
helpers_test.go:27: time="2018-04-05T14:35:58Z" level=debug msg="Set up HTTP listener" listener="[::1]:37000"
helpers_test.go:27: time="2018-04-05T14:35:58Z" level=debug msg="Set up HTTPS listener" listener="127.0.0.1:37001"
helpers_test.go:27: time="2018-04-05T14:35:58Z" level=debug msg="Set up HTTPS listener" listener="[::1]:37001"
helpers_test.go:27: time="2018-04-05T14:35:58Z" level=debug msg="Set up proxy listener" listener="127.0.0.1:37002"
helpers_test.go:27: time="2018-04-05T14:35:58Z" level=debug msg="Set up proxy listener" listener="[::1]:37002"
helpers_test.go:27: time="2018-04-05T14:35:58Z" level=debug msg="Loaded projects for group" duration=3.6899e-05 group=group.no.projects
helpers_test.go:27: time="2018-04-05T14:35:58Z" level=debug msg="Loaded projects for group" duration=0.000255859 group=group.404
helpers_test.go:27: time="2018-04-05T14:35:58Z" level=debug msg="Loaded projects for group" duration=2.5209e-05 group=group.no.public
helpers_test.go:27: time="2018-04-05T14:35:58Z" level=debug msg="Loaded projects for group" duration=4.883e-05 group=group.hidden
helpers_test.go:27: time="2018-04-05T14:35:58Z" level=debug msg="Loaded projects for group" duration=7.589e-05 group=group.deleted
helpers_test.go:27: time="2018-04-05T14:35:58Z" level=debug msg="Loaded projects for group" duration=0.000188674 group=group.internal
helpers_test.go:27: time="2018-04-05T14:35:58Z" level=debug msg="Loaded projects for group" duration=0.000652273 group=group
helpers_test.go:27: time="2018-04-05T14:35:58Z" level=debug msg="Loaded projects for group" duration=0.000805147 group=group.https-only
helpers_test.go:27: time="2018-04-05T14:35:58Z" level=info msg="Updated all domains" count(domains)=11 duration=0.00296095 hash="<empty>"
helpers_test.go:27: 127.0.0.1:37000 127.0.0.1:42196 - - [2018-04-05 14:35:58.613696515 +0000 UTC] "GET / HTTP/1.1" 404 3067 "" "Go-http-client/1.1" 0.000112
helpers_test.go:27: [::1]:37000 [::1]:33582 - - [2018-04-05 14:35:58.614674018 +0000 UTC] "GET / HTTP/1.1" 404 3067 "" "Go-http-client/1.1" 0.000081
helpers_test.go:27: 127.0.0.1:37001 127.0.0.1:55986 - - [2018-04-05 14:35:58.62309192 +0000 UTC] "GET / HTTP/1.1" 404 3067 "" "Go-http-client/1.1" 0.000032
helpers_test.go:27: [::1]:37001 [::1]:57242 - - [2018-04-05 14:35:58.629367497 +0000 UTC] "GET / HTTP/1.1" 404 3067 "" "Go-http-client/1.1" 0.000030
helpers_test.go:27: 127.0.0.1:37002 127.0.0.1:57346 - - [2018-04-05 14:35:58.630123976 +0000 UTC] "GET / HTTP/1.1" 404 3067 "" "Go-http-client/1.1" 0.000069
helpers_test.go:27: [::1]:37002 [::1]:41982 - - [2018-04-05 14:35:58.630861754 +0000 UTC] "GET / HTTP/1.1" 404 3067 "" "Go-http-client/1.1" 0.000059
helpers_test.go:241: curl -X GET -H'Host: group.gitlab-example.com' http://127.0.0.1:37000/-/subgroup/project/-/jobs/1/artifacts/200.html
assertions.go:154:
Location: acceptance_test.go:472
Error: No error is expected but got Get http://127.0.0.1:37000/-/subgroup/project/-/jobs/1/artifacts/200.html: net/http: timeout awaiting response headers