Skip to content

Can't open perl script ".../t/../api/perl/json_bridge.pl" #5

@eserte

Description

@eserte

The test t/25-json-bridge.t fails on all of my smoker systems, possibly because of a missing script:

#   Failed test 'bridge exits successfully for valid payload'
#   at t/25-json-bridge.t line 46.
#          got: '2'
#     expected: '0'

#   Failed test 'bridge keeps stderr empty on success'
#   at t/25-json-bridge.t line 47.
#          got: 'Can't open perl script "/home/cpansand/.cpan/build/2026041712/Convert-Pheno-0.31-1/t/../api/perl/json_bridge.pl": No such file or directory
# '
#     expected: ''

#   Failed test 'bridge returns valid JSON on success'
#   at t/25-json-bridge.t line 50.

#   Failed test 'bridge returns converted BFF payload'
#   at t/25-json-bridge.t line 51.
#          got: undef
#     expected: 'P0007500'

#   Failed test 'bridge reports missing method clearly'
#   at t/25-json-bridge.t line 56.
#                   'Can't open perl script "/home/cpansand/.cpan/build/2026041712/Convert-Pheno-0.31-1/t/../api/perl/json_bridge.pl": No such file or directory
# '
#     doesn't match '(?^:Payload must include string field 'method')'

#   Failed test 'invalid method is reported'
#   at t/25-json-bridge.t line 65.
#                   'Can't open perl script "/home/cpansand/.cpan/build/2026041712/Convert-Pheno-0.31-1/t/../api/perl/json_bridge.pl": No such file or directory
# '
#     doesn't match '(?^:not_a_method)'

#   Failed test 'malformed JSON is reported'
#   at t/25-json-bridge.t line 69.
#                   'Can't open perl script "/home/cpansand/.cpan/build/2026041712/Convert-Pheno-0.31-1/t/../api/perl/json_bridge.pl": No such file or directory
# '
#     doesn't match '(?^:Invalid JSON payload:)'
# Looks like you failed 7 tests of 10.
t/25-json-bridge.t ................. 
Dubious, test returned 7 (wstat 1792, 0x700)
Failed 7/10 subtests 

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