Project

General

Profile

Actions

action #52235

closed

isotovideo -d broken

Added by apachelogger almost 5 years ago. Updated almost 5 years ago.

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

Related issues 2 (1 open1 closed)

Related to openQA Project - action #52247: autoinst-log.txt opened with wrong pathResolveddheidler2019-05-28

Actions
Related to openQA Project - action #45011: Allow detection of known failures at the autoinst-log.txtWorkable2018-12-11

Actions
Actions

Also available in: Atom PDF