Subject: [core-updates] perl-mojolicious test failure

From: Danny Milosavljevic <[email-masked]>
Date: Wed, 17 Feb 2021 18:55:35 +0100

Hi,

as of guix core-updates commit abd318ff4b741eac11227778bf2e569ee7b186ff
[email-masked] fails tests:

#   Failed test '200 OK'
#   at t/mojolicious/lite_app.t line 878.
#          got: '500'
#     expected: '200'

#   Failed test 'Content-Type: application/json;charset=UTF-8'
#   at t/mojolicious/lite_app.t line 878.
#          got: 'text/html;charset=UTF-8'
#     expected: 'application/json;charset=UTF-8'

#   Failed test 'exact match for JSON Pointer ""'
#   at t/mojolicious/lite_app.t line 878.
#     Structures begin differing at:
#          $got = undef
#     $expected = HASH(0x232ecd0)

#   Failed test 'exact match for JSON Pointer "/foo"'
#   at t/mojolicious/lite_app.t line 878.
#     Structures begin differing at:
#          $got = undef
#     $expected = ARRAY(0x232e4f8)

#   Failed test 'with description'
#   at t/mojolicious/lite_app.t line 878.
Wide character in print at /gnu/store/kwfamg3hg19xgiwk8cyz5l6z9lb1lga0-perl-5.32.0/lib/perl5/5.32.0/Test2/Formatter/TAP.pm line 125.
#          got: undef
#     expected: 'b☃r'

#   Failed test 'has value for JSON Pointer "/foo"'
#   at t/mojolicious/lite_app.t line 878.

#   Failed test 'with description'
#   at t/mojolicious/lite_app.t line 878.

#   Failed test 'similar match for JSON Pointer "/foo/3"'
#   at t/mojolicious/lite_app.t line 878.
#                   undef
#     doesn't match '(?^:r$)'
#   Failed test 'with description'
#   at t/mojolicious/lite_app.t line 878.
#                   undef
#     doesn't match '(?^:r$)'
# Looks like you failed 9 tests of 593.
t/mojolicious/lite_app.t ................... 
Dubious, test returned 9 (wstat 2304, 0x900)
Failed 9/593 subtests 
t/mojolicious/longpolling_lite_app.t ....... ok
t/mojolicious/multipath_lite_app.t ......... ok
t/mojolicious/ojo.t ........................ ok
t/mojolicious/ojo_signatures.t ............. ok
t/mojolicious/pattern.t .................... ok
t/mojolicious/pod_renderer_lite_app.t ...... ok
t/mojolicious/production_app.t ............. ok
t/mojolicious/rebased_lite_app.t ........... ok
t/mojolicious/renderer.t ................... ok
t/mojolicious/restful_lite_app.t ........... ok
t/mojolicious/routes.t ..................... ok
Use of strings with code points over 0xFF as arguments to bitwise and (&) operator is not allowed at /tmp/guix-build-perl-mojolicious-7.59.drv-0/Mojolicious-7.59/blib/lib/Mojo/JSON.pm line 253.
# Tests were run but no plan was declared and done_testing() was not seen.
# Looks like your test exited with 255 just after 4.
t/mojolicious/signatures_lite_app.t ........ 
Dubious, test returned 255 (wstat 65280, 0xff00)
All 4 subtests passed 

Test Summary Report
-------------------
t/mojo/json.t                            (Wstat: 65280 Tests: 52 Failed: 0)
  Non-zero exit status: 255
  Parse errors: No plan found in TAP output
t/mojolicious/charset_lite_app.t         (Wstat: 2048 Tests: 44 Failed: 8)
  Failed tests:  35-37, 39-41, 43-44
  Non-zero exit status: 8
t/mojolicious/lite_app.t                 (Wstat: 2304 Tests: 593 Failed: 9)
  Failed tests:  444, 446-451, 454-455
  Non-zero exit status: 9
t/mojolicious/signatures_lite_app.t      (Wstat: 65280 Tests: 4 Failed: 0)
  Non-zero exit status: 255
  Parse errors: No plan found in TAP output
t/mojolicious/websocket_lite_app.t       (Wstat: 65280 Tests: 138 Failed: 0)
  Non-zero exit status: 255
  Parse errors: No plan found in TAP output
Files=97, Tests=10629, 37 wallclock secs ( 1.02 usr  0.15 sys + 28.71 cusr  2.28 csys = 32.16 CPU)
Result: FAIL
Failed 5/97 test programs. 17/10629 subtests failed.
make: *** [Makefile:1392: test_dynamic] Error 255

Test suite failed, dumping logs.
error: in phase 'check': uncaught exception:
%exception #<&invoke-error program: "make" arguments: ("test" "-j" "16") exit-status: 2 term-signal: #f stop-signal: #f>