Skip to content

Conversation

@FCO
Copy link

@FCO FCO commented Aug 18, 2025

Checklist

(Feel free to delete this text once you went through it.)

  • Did you add an entry to the Changes file?
  • If there is no {{NEXT}} above the latest released version in Changes, add
    it.

@FCO
Copy link
Author

FCO commented Aug 22, 2025

I'm probably doing something very wrong, but the errors I'm getting are these ones:

❯ prove6 -Ilib t xt it
An operation first awaited:
  in block <unit> at it/akamai-push-promise.rakutest line 7

Died with the exception:
    connection reset by peer

it/akamai-push-promise.rakutest .......... Dubious, test returned 255
All 4 subtests passed
An operation first awaited:
  in block <unit> at it/akamai.rakutest line 10

Died with the exception:
    connection reset by peer

it/akamai.rakutest ....................... Dubious, test returned 255
All 2 subtests passed
An operation first awaited:
  in block <unit> at it/http2-larger-file.rakutest line 6

Died with the exception:
    Malformed header value ' lhr 1'
      in method new at /Users/fernando/cro-http/lib/Cro/HTTP/Header.rakumod (Cro::HTTP::Header) line 39
      in method append-header at /Users/fernando/cro-http/lib/Cro/HTTP/Message.rakumod (Cro::HTTP::Message) line 44
      in method set-headers at /Users/fernando/cro-http/lib/Cro/HTTP2/GeneralParser.rakumod (Cro::HTTP2::GeneralParser) line 247
      in block  at /Users/fernando/cro-http/lib/Cro/HTTP2/GeneralParser.rakumod (Cro::HTTP2::GeneralParser) line 125
      in block  at /Users/fernando/cro-http/lib/Cro/HTTP2/FrameParser.rakumod (Cro::HTTP2::FrameParser) line 104
      in block  at /Users/fernando/cro-http/lib/Cro/HTTP2/FrameParser.rakumod (Cro::HTTP2::FrameParser) line 61
      in block  at /Users/fernando/.rakubrew/versions/moar-2025.06/install/share/perl6/site/sources/ABAF64BE62A481E7D08FE8DF38CAF35183A7DB16 (Cro::TLS) line 92

it/http2-larger-file.rakutest ............ Dubious, test returned 255
All 1 subtests passed
t/http-auth-basic-with-session.rakutest .. ok
t/http-auth-basic.rakutest ............... ok
t/http-auth-webtoken-bearer.rakutest ..... ok
t/http-auth-webtoken-cookie.rakutest ..... ok
t/http-cookie.rakutest ................... ok
t/http-cookiejar.rakutest ................ ok
t/http-log-file.rakutest ................. ok
t/http-middleware.rakutest ............... ok
t/http-rawbodyparserselector.rakutest .... ok
t/http-request-parser.rakutest ........... ok
t/http-request-serializer.rakutest ....... ok
t/http-request.rakutest .................. ok
t/http-response-parser.rakutest .......... ok
t/http-response-serializer.rakutest ...... ok
t/http-response.rakutest ................. ok
t/http-router-plugin.rakutest ............ ok
t/http-router.rakutest ................... ok
t/http-session-inmemory.rakutest ......... ok
t/http-session-persistent.rakutest ....... ok
t/http2-frame-parser.rakutest ............ ok
t/http2-frame-serializer.rakutest ........ ok                                                                                            t/http2-frame.rakutest ................... ok
t/http2-request-parser.rakutest .......... ok
t/http2-request-serializer.rakutest ...... ok
t/http2-response-parser.rakutest ......... ok
t/http2-response-serializer.rakutest ..... ok
t/router-auth.rakutest ................... ok
t/uri-http.rakutest ...................... ok
xt/http-client.rakutest ..................102/?Tried to get the result of a broken Promise
  in block  at /Users/fernando/cro-http/lib/Cro/HTTP/Client.rakumod (Cro::HTTP::Client) line 932

Original exception:
    Tried to get the result of a broken Promise
      in block  at /Users/fernando/.rakubrew/versions/moar-2025.06/install/share/perl6/site/sources/ABAF64BE62A481E7D08FE8DF38CAF35183A7DB16 (Cro::TLS) line 110

    Original exception:
        An operation first awaited:
          in block  at /Users/fernando/.rakubrew/versions/moar-2025.06/install/share/perl6/site/sources/54DA18A673601FAFD8F6161DA647BED3ABCA650F (IO::Socket::Async::SSL) line 676

        Died with the exception:
            Server certificate verification failed: certificate has expired
              in block  at /Users/fernando/.rakubrew/versions/moar-2025.06/install/share/perl6/site/sources/54DA18A673601FAFD8F6161DA647BED3ABCA650F (IO::Socket::Async::SSL) line 676

xt/http-client.rakutest .................. Dubious, test returned 1
All 116 subtests passed                                                                                                                  xt/http-custom-methods.rakutest ..........1/?Tried to get the result of a broken Promise                                                   in block  at /Users/fernando/cro-http/lib/Cro/HTTP/Client.rakumod (Cro::HTTP::Client) line 932

Original exception:
    Tried to get the result of a broken Promise                                                                                                in block  at /Users/fernando/.rakubrew/versions/moar-2025.06/install/share/perl6/site/sources/ABAF64BE62A481E7D08FE8DF38CAF35183A7DB16 (Cro::TLS) line 110

    Original exception:
        An operation first awaited:                                                                                                                in block  at /Users/fernando/.rakubrew/versions/moar-2025.06/install/share/perl6/site/sources/54DA18A673601FAFD8F6161DA647BED3ABCA650F (IO::Socket::Async::SSL) line 676

        Died with the exception:
            Server certificate verification failed: certificate has expired
              in block  at /Users/fernando/.rakubrew/versions/moar-2025.06/install/share/perl6/site/sources/54DA18A673601FAFD8F6161DA647BED3ABCA650F (IO::Socket::Async::SSL) line 676

xt/http-custom-methods.rakutest .......... Dubious, test returned 1
All 8 subtests passed
xt/http-reverse-proxy.rakutest ...........9/?Tried to get the result of a broken Promise                                                   in block  at /Users/fernando/.rakubrew/versions/moar-2025.06/install/share/perl6/site/sources/ABAF64BE62A481E7D08FE8DF38CAF35183A7DB16 (Cro::TLS) line 110

Original exception:
    An operation first awaited:                                                                                                                in block  at /Users/fernando/.rakubrew/versions/moar-2025.06/install/share/perl6/site/sources/54DA18A673601FAFD8F6161DA647BED3ABCA650F (IO::Socket::Async::SSL) line 676

    Died with the exception:
        Server certificate verification failed: certificate has expired
          in block  at /Users/fernando/.rakubrew/versions/moar-2025.06/install/share/perl6/site/sources/54DA18A673601FAFD8F6161DA647BED3ABCA650F (IO::Socket::Async::SSL) line 676

xt/http-reverse-proxy.rakutest ........... Dubious, test returned 1
All 17 subtests passed
xt/http-server.rakutest ..................1/?# Failed test 'Can connect once service is started (HTTPS)'                                 # at xt/http-server.rakutest line 92
# Server certificate verification failed: certificate has expired
Cannot resolve caller print(Any:U: Str:D); none of these signatures matches:
    (Mu $:: *%_)
  in block <unit> at xt/http-server.rakutest line 94
xt/http-server.rakutest .................. Dubious, test returned 1
Failed 1/13 subtests
xt/http-timeout.rakutest .................1/?    # Failed test 'right exception type (X::Cro::HTTP::Client::Timeout)'
    # at SETTING::src/core.d/await.rakumod line 20
    # Expected: X::Cro::HTTP::Client::Timeout                                                                                                # Got:      X::IO::Socket::Async::SSL::Verification+{X::Await::Died}+{X::Promise::Broken}
    # Exception message: Server certificate verification failed: certificate has expired
    # You failed 1 test of 3
# Failed test 'Timeout for headers via total for HTTP/2'
# at xt/http-timeout.rakutest line 62                                                                                                    xt/http-timeout.rakutest .................4/?Tried to get the result of a broken Promise
  in block  at /Users/fernando/.rakubrew/versions/moar-2025.06/install/share/perl6/site/sources/ABAF64BE62A481E7D08FE8DF38CAF35183A7DB16 (Cro::TLS) line 110

Original exception:                                                                                                                          An operation first awaited:
      in block  at /Users/fernando/.rakubrew/versions/moar-2025.06/install/share/perl6/site/sources/54DA18A673601FAFD8F6161DA647BED3ABCA650F (IO::Socket::Async::SSL) line 676

    Died with the exception:
        Server certificate verification failed: certificate has expired
          in block  at /Users/fernando/.rakubrew/versions/moar-2025.06/install/share/perl6/site/sources/54DA18A673601FAFD8F6161DA647BED3ABCA650F (IO::Socket::Async::SSL) line 676
xt/http-timeout.rakutest ................. Dubious, test returned 1
Failed 1/4 subtests
Tried to get the result of a broken Promise
  in block  at /Users/fernando/cro-http/lib/Cro/HTTP/Client.rakumod (Cro::HTTP::Client) line 932
Original exception:
    Tried to get the result of a broken Promise
      in block  at /Users/fernando/.rakubrew/versions/moar-2025.06/install/share/perl6/site/sources/ABAF64BE62A481E7D08FE8DF38CAF35183A7DB16 (Cro::TLS) line 110
    Original exception:
        An operation first awaited:
          in block  at /Users/fernando/.rakubrew/versions/moar-2025.06/install/share/perl6/site/sources/54DA18A673601FAFD8F6161DA647BED3ABCA650F (IO::Socket::Async::SSL) line 676

        Died with the exception:
            Server certificate verification failed: certificate has expired
              in block  at /Users/fernando/.rakubrew/versions/moar-2025.06/install/share/perl6/site/sources/54DA18A673601FAFD8F6161DA647BED3ABCA650F (IO::Socket::Async::SSL) line 676
xt/http2-client.rakutest ................. Dubious, test returned 1
No subtests run
Tried to get the result of a broken Promise
  in block  at /Users/fernando/.rakubrew/versions/moar-2025.06/install/share/perl6/site/sources/ABAF64BE62A481E7D08FE8DF38CAF35183A7DB16 (Cro::TLS) line 110

Original exception:
    An operation first awaited:
      in block  at /Users/fernando/.rakubrew/versions/moar-2025.06/install/share/perl6/site/sources/54DA18A673601FAFD8F6161DA647BED3ABCA650F (IO::Socket::Async::SSL) line 676

    Died with the exception:
        Server certificate verification failed: certificate has expired
          in block  at /Users/fernando/.rakubrew/versions/moar-2025.06/install/share/perl6/site/sources/54DA18A673601FAFD8F6161DA647BED3ABCA650F (IO::Socket::Async::SSL) line 676

xt/http2-push-promise.rakutest ........... Dubious, test returned 1
No subtests run
Tried to get the result of a broken Promise
  in block  at /Users/fernando/.rakubrew/versions/moar-2025.06/install/share/perl6/site/sources/ABAF64BE62A481E7D08FE8DF38CAF35183A7DB16 (Cro::TLS) line 110

Original exception:
    An operation first awaited:
      in block  at /Users/fernando/.rakubrew/versions/moar-2025.06/install/share/perl6/site/sources/54DA18A673601FAFD8F6161DA647BED3ABCA650F (IO::Socket::Async::SSL) line 676

    Died with the exception:
        Server certificate verification failed: certificate has expired
          in block  at /Users/fernando/.rakubrew/versions/moar-2025.06/install/share/perl6/site/sources/54DA18A673601FAFD8F6161DA647BED3ABCA650F (IO::Socket::Async::SSL) line 676

xt/http2.rakutest ........................ Dubious, test returned 255
All 6 subtests passed

Test Summary Report
-------------------
it/akamai-push-promise.rakutest  (Wstat: 65280 Tests: 0 Failed: 0)
Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 4 tests but ran 0.
it/akamai.rakutest  (Wstat: 65280 Tests: 0 Failed: 0)
Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 2 tests but ran 0.
it/http2-larger-file.rakutest  (Wstat: 65280 Tests: 0 Failed: 0)
Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 1 tests but ran 0.
xt/http-client.rakutest  (Wstat: 256 Tests: 116 Failed: 0)
Non-zero exit status: 1
  Parse errors: No plan found in TAP output
xt/http-custom-methods.rakutest  (Wstat: 256 Tests: 8 Failed: 0)
Non-zero exit status: 1
  Parse errors: No plan found in TAP output
xt/http-reverse-proxy.rakutest  (Wstat: 256 Tests: 17 Failed: 0)
Non-zero exit status: 1
  Parse errors: No plan found in TAP output
xt/http-server.rakutest  (Wstat: 256 Tests: 13 Failed: 1)
  Failed tests:  13
Non-zero exit status: 1
  Parse errors: No plan found in TAP output
xt/http-timeout.rakutest  (Wstat: 256 Tests: 4 Failed: 1)
  Failed tests:  2
Non-zero exit status: 1
  Parse errors: No plan found in TAP output
xt/http2-client.rakutest  (Wstat: 256 Tests: 0 Failed: 0)
Non-zero exit status: 1
  Parse errors: No plan found in TAP output
xt/http2-push-promise.rakutest  (Wstat: 256 Tests: 0 Failed: 0)
Non-zero exit status: 1
  Parse errors: No plan found in TAP output
xt/http2.rakutest  (Wstat: 65280 Tests: 0 Failed: 0)
Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 6 tests but ran 0.
Files=39, Tests=1683,  46 wallclock secs
Result: FAILED

@japhb japhb merged commit a9d0a60 into croservices:main Oct 1, 2025
2 checks passed
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

Successfully merging this pull request may close these issues.

2 participants