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

WebApp::HTTP fails testing due to connection time-out #76

Open
finanalyst opened this issue Jul 19, 2022 · 7 comments
Open

WebApp::HTTP fails testing due to connection time-out #76

finanalyst opened this issue Jul 19, 2022 · 7 comments

Comments

@finanalyst
Copy link

Using .github workflow with

      - run: zef install https://github.com/croservices/cro-core/archive/master.zip
      - run: zef install https://github.com/croservices/cro-tls/archive/master.zip
      - run: zef install https://github.com/croservices/cro-http/archive/master.zip

getting

===> Testing: Log::Timeline:ver<0.5.1>:auth<zef:jnthn>
===> Testing [OK] for Log::Timeline:ver<0.5.1>:auth<zef:jnthn>
===> Testing: Cro::HTTP:ver<0.8.7>:auth<zef:cro>
===> Testing [FAIL]: Cro::HTTP:ver<0.8.7>:auth<zef:cro>
Error: Process completed with exit code 1.
@jnthn
Copy link
Member

jnthn commented Jul 19, 2022

Need verbose test output to be able to help.

@finanalyst
Copy link
Author

I tried changing
run zef install https://github.com/croservices/cro-http/archive/master.zip
to
run zef --verbose install ...
Github actions has been stuck on this step for 45 minutes so far. :(

@finanalyst
Copy link
Author

Here is the result after an 1hour.


[Log::Timeline] Result: PASS
===> Testing [OK] for Log::Timeline:ver<0.5.1>:auth<zef:jnthn>
===> Testing: Cro::HTTP:ver<0.8.7>:auth<zef:cro>
[Cro::HTTP] t/http-auth-basic-with-session.t .. ok
[Cro::HTTP] t/http-auth-basic.t ............... ok
[Cro::HTTP] t/http-auth-webtoken-bearer.t ..... ok
[Cro::HTTP] t/http-auth-webtoken-cookie.t ..... ok
[Cro::HTTP] t/http-client.t ................... ok
[Cro::HTTP] t/http-cookie.t ................... ok
[Cro::HTTP] t/http-cookiejar.t ................ ok
[Cro::HTTP] t/http-custom-methods.t ........... ok
[Cro::HTTP] t/http-log-file.t ................. ok
[Cro::HTTP] t/http-middleware.t ............... ok
[Cro::HTTP] t/http-rawbodyparserselector.t .... ok
[Cro::HTTP] t/http-request-parser.t ........... ok
[Cro::HTTP] t/http-request-serializer.t ....... ok
[Cro::HTTP] t/http-request.t .................. ok
[Cro::HTTP] t/http-response-parser.t .......... ok
[Cro::HTTP] t/http-response-serializer.t ...... ok
[Cro::HTTP] t/http-response.t ................. ok
[Cro::HTTP] t/http-reverse-proxy.t ............ ok
[Cro::HTTP] t/http-router-plugin.t ............ ok
[Cro::HTTP] t/http-router.t ................... ok
[Cro::HTTP] t/http-server.t ................... ok
[Cro::HTTP] t/http-session-inmemory.t ......... ok
[Cro::HTTP] t/http-session-persistent.t ....... ok
[Cro::HTTP]     # Failed test '.message matches /'headers'/'
[Cro::HTTP]     # at SETTING::src/core.c/Any-iterable-methods.pm6 line 563
[Cro::HTTP]     # Expected: /'headers'/
[Cro::HTTP]     # Got:      Exceeded timeout for connection when attempting to access localhost
[Cro::HTTP]     # You failed 1 test of 3
[Cro::HTTP] # Failed test 'Timeout for headers via total'
[Cro::HTTP] # at t/http-timeout.t line 56
===> Testing [FAIL]: Cro::HTTP:ver<0.8.7>:auth<zef:cro>
Error: Process completed with exit code 1.

@finanalyst finanalyst changed the title Can't get WebApp::HTTP to install for testing WebApp::HTTP fails testing due to connection time-out Jul 29, 2022
@finanalyst
Copy link
Author

@jnthn Cro::HTTP is failing in .github workflow because of a connection timeout.

@jnthn
Copy link
Member

jnthn commented Jul 29, 2022

@finanalyst Always, or sometimes? Haven't managed to make that test hang in a bunch of local runs.

@finanalyst
Copy link
Author

@jnthn always when testing on .github. Never locally

@jnthn
Copy link
Member

jnthn commented Jul 30, 2022

Going on https://github.com/croservices/cro-http/actions/runs/2765919736 it seems that Rakudo version may be involved (and thus why I've not observd it locally).

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