Actions
action #52235
closedisotovideo -d broken
Status:
Resolved
Priority:
Urgent
Assignee:
Category:
Regressions/Crashes
Target version:
Start date:
2019-05-28
Due date:
% Done:
0%
Estimated time:
Description
This supposedly is a regression introduced in fe70160d7134dfa499cae7d47fafd95e5321dcf8
When running with -d to print debug output to stdout the autoinst-log.txt is never written as per
if ($direct_output) {
$logger = Mojo::Log->new(level => 'debug');
}
else {
$logger = Mojo::Log->new(level => 'debug', path => catfile(result_dir, 'autoinst-log.txt'));
}
which bastest.pm will eventually trip over in
# Detect autoinst failures and override result if die
try {
$self->search_for_expected_autoinst_failures();
}
catch {
# Process autoinst dectection failure
bmwqemu::diag($_);
$self->record_resultfile('Failed', $_, result => 'fail');
$died = 1;
};
output:
[2019-05-28T12:52:46.236 UTC] [debug] Can't open 'autoinst-log.txt' for reading: 'No such file or directory' at /workspace/os-autoinst/basetest.pm line 742
[2019-05-28T12:52:46.237 UTC] [debug] try() encountered an unexpected argument (1) - perhaps a missing semi-colon before or at /workspace/os-autoinst/basetest.pm line 391.
[2019-05-28T12:52:46.237 UTC] [debug] killing autotest process 34
Actions