Skip to content

Failed test 'no exception - expect 404' #249

Open
@luyuan1975

Description

@luyuan1975

$ zef list --installed
===> Found via inst#/home/soft/rakudo-moar/share/perl6/core
rakudo:ver<2024.12>:auth
===> Found via inst#/home/soft/rakudo-moar/share/perl6/site
DBIish:ver<0.6.6>:authzef:raku-community-modules:api<1>
File::Directory::Tree:ver<0.1>:authzef:labster
File::Temp:ver<0.0.11>:authzef:raku-community-modules
IO::Socket::SSL:ver<0.0.3>:authgithub:sergot
JSON::Fast:ver<0.19>:authcpan:TIMOTIMO
NativeCall::TypeDiag:auth
NativeHelpers::Blob:ver<0.1.12>:authgithub:salortiz
NativeLibs:ver<0.0.9>:authgithub:salortiz
OpenSSL:ver<0.2.2>:authgithub:sergot
PathTools:ver<0.2.0>:authgithub:ugexe
zef:ver<0.22.6>:authgithub:ugexe:api<0>

$ zef install HTTP::UserAgent
......
===> Testing: HTTP::UserAgent:ver<1.1.52>:authgithub:sergot
[HTTP::UserAgent] Use of Nil in string context
[HTTP::UserAgent] in block at /home/soft/rakudo-moar/share/perl6/site/sources/47257BA70F233525B020CE3BE828D794F2D0B7D3 (HTTP::UserAgent) line 344
[HTTP::UserAgent] Use of uninitialized value of type Any in numeric context
[HTTP::UserAgent] in block at /home/soft/rakudo-moar/share/perl6/site/sources/47257BA70F233525B020CE3BE828D794F2D0B7D3 (HTTP::UserAgent) line 346
[HTTP::UserAgent] # Failed test 'no exception - expect 404'
[HTTP::UserAgent] # at t/082-exceptions.t line 10
[HTTP::UserAgent] # Failed to resolve host name '' with family 0.
[HTTP::UserAgent] # Error: Name or service not known
[HTTP::UserAgent] No such method 'is-success' for invocant of type 'Any'
[HTTP::UserAgent] in block at t/082-exceptions.t line 12
[HTTP::UserAgent] # NETWORK_TESTING was not set
[HTTP::UserAgent] # NETWORK_TESTING was not set
[HTTP::UserAgent] # NETWORK_TESTING was not set
[HTTP::UserAgent] # NETWORK_TESTING was not set
[HTTP::UserAgent] # NETWORK_TESTING was not set
[HTTP::UserAgent] # NETWORK_TESTING was not set
===> Testing [FAIL]: HTTP::UserAgent:ver<1.1.52>:authgithub:sergot
Aborting due to test failure: HTTP::UserAgent:ver<1.1.52>:authgithub:sergot (use --force-test to override)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions