Project

General

Profile

Actions

action #108323

closed

Subroutine consoles::sshVirtsh::has redefined at .../Class/Accessor.pm

Added by tinita about 2 years ago. Updated about 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Regressions/Crashes
Target version:
Start date:
2022-03-14
Due date:
% Done:

0%

Estimated time:

Description

When looking into #108266 I saw this warning in the logfile
https://openqa.suse.de/tests/8294410/logfile?filename=autoinst-log.txt

Subroutine consoles::sshVirtsh::has redefined at /usr/lib/perl5/vendor_perl/5.26.1/Class/Accessor.pm line 35.
    Class::Accessor::import("Class::Accessor", "antlers") called at /usr/lib/os-autoinst/consoles/sshVirtsh.pm line 13
    consoles::sshVirtsh::BEGIN() called at /usr/lib/os-autoinst/consoles/sshVirtsh.pm line 13
...

I think this was introduced in 43543e0a7ab3acaf7310e4cf6efcb6675469d37e by adding

use Mojo::Base 'consoles::sshXtermVt', -signatures;

Now we have Mojo::Base and Class::Accessor defining accessors.

Also in consoles/VNC.pm we have

use Mojo::Base 'Class::Accessor::Fast', -signatures;

Related issues 2 (1 open1 closed)

Related to openQA Project - action #99663: Use more perl signatures - os-autoinst size:MResolvedokurz2021-10-01

Actions
Copied from openQA Infrastructure - action #108266: grenache: script_run() commands randomly time out since server room moveNew2022-03-14

Actions
Actions #1

Updated by tinita about 2 years ago

  • Copied from action #108266: grenache: script_run() commands randomly time out since server room move added
Actions #2

Updated by okurz about 2 years ago

  • Related to action #99663: Use more perl signatures - os-autoinst size:M added
Actions #3

Updated by mkittler about 2 years ago

  • Assignee set to mkittler
Actions #4

Updated by mkittler about 2 years ago

  • Status changed from New to Feedback
Actions #5

Updated by mkittler about 2 years ago

  • Status changed from Feedback to Resolved

Works in production, e.g. the warning is gone in https://openqa.suse.de/tests/8334727/logfile?filename=autoinst-log.txt (but was present in previous jobs of that scenario, e.g. https://openqa.suse.de/tests/8284935/logfile?filename=autoinst-log.txt).

Actions

Also available in: Atom PDF