Project

General

Profile

Actions

action #18768

closed

[s390x][zkvm]test fails in or after shutdown with "DIE Can't locate object method "blessed" via package "socket does not exist. Probably your backend instance could not start or died. at /usr/lib/os-autoinst/consoles/VNC.pm line 879."

Added by okurz almost 7 years ago. Updated almost 7 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
michalnowak
Category:
Bugs in existing tests
Target version:
-
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:

Description

Observation

openQA test in scenario sle-12-SP3-Server-DVD-s390x-gnome@zkvm fails in
shutdown or also after shutdown

with

systemd[1]: Stopped Create Static Device Nodes in /dev.
boot.cpi[9875]: ..skipped
[  OK  ] Stopped LSB: Set Control Program Identification data.
systemd[1]: cpi.service: Control process exited, code=exited status=5
systemd[1]: Stopped LSB: Set Control Program Identification data.
systemd[1]: cpi.service: Unit entered failed state.
systemd[1]: cpi.service: Failed with result 'exit-code'.
03:51:59.2387 14125 considering VNC stalled, no update for 4.13 seconds
systemd-cryptsetup[9876]: Failed to deactivate: Device or resource busy
DIE Can't locate object method "blessed" via package "socket does not exist. Probably your backend instance could not start or died. at /usr/lib/os-autoinst/consoles/VNC.pm line 879.
" (perhaps you forgot to load "socket does not exist. Probably your backend instance could not start or died. at /usr/lib/os-autoinst/consoles/VNC.pm line 879.
"?) at /usr/lib/os-autoinst/consoles/VNC.pm line 794.

 at /usr/lib/os-autoinst/backend/baseclass.pm line 73.
    backend::baseclass::die_handler('Can\'t locate object method "blessed" via package "socket doe...') called at /usr/lib/os-autoinst/consoles/VNC.pm line 794
    consoles::VNC::catch {...} ('socket does not exist. Probably your backend instance could n...') called at /usr/lib/perl5/vendor_perl/5.18.2/Try/Tiny.pm line 115
    Try::Tiny::try('CODE(0x6b56920)', 'Try::Tiny::Catch=REF(0x6b5b440)') called at /usr/lib/os-autoinst/consoles/VNC.pm line 801
    consoles::VNC::update_framebuffer('consoles::VNC=HASH(0x6d2b058)') called at /usr/lib/os-autoinst/consoles/vnc_base.pm line 68
    consoles::vnc_base::request_screen_update('consoles::vnc_base=HASH(0x44637a0)', undef) called at /usr/lib/os-autoinst/backend/baseclass.pm line 521
    backend::baseclass::bouncer('backend::svirt=HASH(0x5b5b258)', 'request_screen_update', undef) called at /usr/lib/os-autoinst/backend/baseclass.pm line 504
    backend::baseclass::request_screen_update('backend::svirt=HASH(0x5b5b258)') called at /usr/lib/os-autoinst/backend/baseclass.pm line 167
    eval {...} called at /usr/lib/os-autoinst/backend/baseclass.pm line 151
    backend::baseclass::run_capture_loop('backend::svirt=HASH(0x5b5b258)') called at /usr/lib/os-autoinst/backend/baseclass.pm line 122
    backend::baseclass::run('backend::svirt=HASH(0x5b5b258)', 6, 9) called at /usr/lib/os-autoinst/backend/driver.pm line 85
    backend::driver::start('backend::driver=HASH(0x5c34638)') called at /usr/lib/os-autoinst/backend/driver.pm line 48
    backend::driver::new('backend::driver', 'svirt') called at /usr/bin/isotovideo line 206
    main::init_backend() called at /usr/bin/isotovideo line 271

Reproducible

Fails since (I guess) https://github.com/os-autoinst/os-autoinst/pull/764 was introduced

Expected result

Last good: 0345

Problem

Error message is clearly suboptimal when perl wants to call a method on an error string which came back from VNC -> Improve that but also fix the underlying problem

Further details

Always latest result in this scenario: latest


Related issues 1 (0 open1 closed)

Is duplicate of openQA Tests - action #18738: [s390x] failing tests at different time points Rejectedmgriessmeier2017-04-24

Actions
Actions #1

Updated by mgriessmeier almost 7 years ago

  • Is duplicate of action #18738: [s390x] failing tests at different time points added
Actions #2

Updated by okurz almost 7 years ago

  • Related to action #16418: [tools][sprint 201712.2] svirt: openQA won't perform another query_isotovideo check when VM is down -> incompletes added
Actions #3

Updated by coolo almost 7 years ago

  • Related to deleted (action #16418: [tools][sprint 201712.2] svirt: openQA won't perform another query_isotovideo check when VM is down -> incompletes)
Actions #4

Updated by mgriessmeier almost 7 years ago

okurz and me don't really understand what happens here:

880 $socket or die 'socket does not exist. Probably your backend instance could not start or died.';

Why does the error look like this:
DIE Can't locate object method "blessed" via package "socket does not exist

Can somebody explain?

Actions #5

Updated by michalnowak almost 7 years ago

Maybe method blessed is not defined and use Scalar::Util 'blessed'; is missing in VNC.pm?

Actions #6

Updated by michalnowak almost 7 years ago

  • Status changed from New to Feedback
  • Assignee set to michalnowak
Actions #7

Updated by michalnowak almost 7 years ago

  • Status changed from Feedback to Resolved
Actions

Also available in: Atom PDF