action #41801
closed25-serverstartup.t test fails with recent Mojolicious
0%
Description
I just ran an openQA package build for Fedora Rawhide, and it failed, because the 25-serverstartup.t test failed. On closer examination it looks like debug messages are not being logged:
# Failed test 'right debug message'
# at ./t/25-serverstartup.t line 57.
# '[2018-09-29T00:51:03.0490 UTC] [error] Just works
# [2018-09-29T00:51:03.0490 UTC] [fatal] Fatal error
# [2018-09-29T00:51:03.0490 UTC] [info] Works too
# '
# doesn't match '(?^:\[.*\] \[debug\] It works)'
# Looks like you failed 1 test of 4.
# Failed test 'Setup logging to file'
The test expects four messages to be logged, one each at levels 'debug', 'info', 'error' and 'fatal'. In fact the 'debug' message does not show up.
The test does this to try and set the log level to 'debug':
local $ENV{MOJO_LOG_LEVEL} = 'debug';
I suspect this is, for some reason, not working after this upstream commit:
https://github.com/mojolicious/mojo/commit/7b1307c29607661bb2afac03706c502bfaf97dfb
It's late on a Friday, so I'm not gonna dig any further right now, but I figured I should report it. The Fedora package is some way behind openQA git master, but this particular test hasn't been changed since 2017, so that won't matter.
Updated by AdamWill about 6 years ago
Sorry, completely forgot to mention the interesting thing about the build running on Rawhide is that Rawhide has Mojolicious 8.0. The same build worked fine on F28 and F29, which have earlier Mojolicious versions.
Updated by coolo about 6 years ago
- Is duplicate of action #41486: Port openQA to Mojolicious 8.0 added
Updated by coolo about 6 years ago
- Status changed from New to Rejected
Travis was so nice to report this earlier - and for now we stick to 7.94 there. It's most likely not a big change, but it needs digging