Project

General

Profile

Actions

action #41801

closed

25-serverstartup.t test fails with recent Mojolicious

Added by AdamWill over 5 years ago. Updated over 5 years ago.

Status:
Rejected
Priority:
High
Assignee:
-
Category:
Feature requests
Target version:
-
Start date:
2018-09-29
Due date:
% Done:

0%

Estimated time:

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.


Related issues 1 (0 open1 closed)

Is duplicate of openQA Project - action #41486: Port openQA to Mojolicious 8.0Resolvedmkittler2018-09-24

Actions
Actions #1

Updated by AdamWill over 5 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.

Actions #2

Updated by coolo over 5 years ago

  • Is duplicate of action #41486: Port openQA to Mojolicious 8.0 added
Actions #3

Updated by coolo over 5 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

Actions

Also available in: Atom PDF