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

req test suite nondeterministic failures (httpbin probems?) #46

Closed
jkachmar opened this issue Jul 10, 2018 · 3 comments
Closed

req test suite nondeterministic failures (httpbin probems?) #46

jkachmar opened this issue Jul 10, 2018 · 3 comments

Comments

@jkachmar
Copy link
Contributor

As seen on the Stackage build server:

  httpbin-tests/Network/HTTP/ReqSpec.hs:293:5: 
  1) Network.HTTP.Req, streaming random bytes, works
       uncaught exception: HttpException
       VanillaHttpException (HttpExceptionRequest Request {
         host                 = "httpbin.org"
         port                 = 443
         secure               = True
         requestHeaders       = []
         path                 = "/stream-bytes/0"
         queryString          = ""
         method               = "GET"
         proxy                = Nothing
         rawBody              = False
         redirectCount        = 10
         responseTimeout      = ResponseTimeoutDefault
         requestVersion       = HTTP/1.1
       }
        (StatusCodeException (Response {responseStatus = Status {statusCode = 503, statusMe
ssage = "Service Temporarily Unavailable"}, responseVersion = HTTP/1.1, responseHeaders = [
("Date","Tue, 10 Jul 2018 02:44:52 GMT"),("Content-Type","text/plain"),("Content-Length","4
0"),("Connection","keep-alive"),("ETag","\"5b42e707-28\""),("Vary","Accept"),("x-now-trace"
,"sfo1"),("server","now"),("now","1"),("cache-control","s-maxage=0")], responseBody = (), r
esponseCookieJar = CJ {expose = []}, responseClose' = ResponseClose}) "The deployment is cu
rrently unavailable\n"))
       (after 97 tests and 1 shrink)
         Small {getSmall = 0}

  To rerun use: --match "/Network.HTTP.Req/streaming random bytes/works/"

Randomized with seed 1455496155

Finished in 3.7513 seconds

cf. snoyberg/http-client#360 for a similar issue

jkachmar added a commit to commercialhaskell/stackage that referenced this issue Jul 10, 2018
@mrkkrp
Copy link
Owner

mrkkrp commented Jul 10, 2018

Status code 503 means "Service Temporarily Unavailable", maybe it'll be fixed soon by httpbin folks?

@jkachmar
Copy link
Contributor Author

jkachmar commented Jul 10, 2018 via email

@mrkkrp
Copy link
Owner

mrkkrp commented Jul 10, 2018

I've re-run the build today and it passed all green: https://travis-ci.org/mrkkrp/req/builds/391345775. Closing.

@mrkkrp mrkkrp closed this as completed Jul 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants