Project

General

Profile

action #46967

[functional][u][tools] warning in bootloader_zkvm: Calling Net::SSH2::Channel::readline in non-blocking mode is usually a programming error

Added by mgriessmeier over 2 years ago. Updated over 1 year ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
Concrete Bugs
Target version:
Start date:
2019-02-01
Due date:
% Done:

0%

Estimated time:
Difficulty:

Description

Observation

openQA test in scenario OpenQA::Schema::Result::TestSuites=HASH(0xaeb1b28) fails in
bootloader_zkvm

[2019-02-01T10:03:04.876 CET] [debug] Connection to root@s390p8.suse.de established
Calling Net::SSH2::Channel::readline in non-blocking mode is usually a programming error at /usr/lib/os-autoinst/backend/baseclass.pm line 1221.

First time seeing this in Beta2 Candidate of SLE15-SP1, restarting worked though

Workaround

  • restarting the test

Reproducible

Fails since (at least) Build 158.4 (current job)

Expected result

Last good: 157.1 (or more recent)

Further details

Always latest result in this scenario: latest

UPDATE

bootloader_zkvm failures are not related to this warning. This warning comes from perl-Net-SSH2 version 0.66 (commit ad5f9f0 ("Warn about readline being called in non-blocking mode"). I guess 157.1 (last good) also had this warning, just didn't fail due some other reason. I'll fix this issue during fixing #45863.


Related issues

Related to openQA Tests - action #46919: [functional][u][svirt][sporadic] auto_review:"IO::Socket::INET: connect: Connection timed out"Rejected2018-12-01

Related to openQA Project - action #45863: [s390x][svirt][ltp] Fix serial terminal console implementation for svirt backend and use it's outputResolved

Related to openQA Project - action #49394: [s390x][svirt] Print content of kernel log and serial console into "Serial output" fieldNew2019-03-15

History

#1 Updated by mgriessmeier over 2 years ago

  • Description updated (diff)

#3 Updated by mgriessmeier over 2 years ago

actually this also occurs in tests which are successful, so it's more a warning

#4 Updated by pvorel over 2 years ago

It's possible to debug it if you set debug mode for SSH2: Net::SSH2->new(debug => 1);

Beware it takes a lot data.

#5 Updated by okurz over 2 years ago

  • Subject changed from [functional][tools] test fails in bootloader_zkvm: Calling Net::SSH2::Channel::readline in non-blocking mode is usually a programming error to [functional][u][tools] test fails in bootloader_zkvm: Calling Net::SSH2::Channel::readline in non-blocking mode is usually a programming error
  • Target version set to future

mgriessmeier please always use a team-assignment like [u] or [y]. As you know, we want the teams to be more independant so we should rely less on "catch-all" approaches like people like me to crosscheck the tickets that fall between the silos ;)

#6 Updated by szarate over 2 years ago

  • Related to action #46919: [functional][u][svirt][sporadic] auto_review:"IO::Socket::INET: connect: Connection timed out" added

#7 Updated by pvorel over 2 years ago

BTW I use Net::SSH2::Channel for another serial connection (over nc/virsh console call) for svirt serial terminal in blocking mode in this PR.
https://github.com/os-autoinst/os-autoinst/pull/1109 (#45863)

I hope I'll find a time to address this problematic connection in it as well.

#8 Updated by jlausuch over 2 years ago

mgriessmeier: can you please change the version of this ticket to "Planned Kernel&Network"?

#9 Updated by okurz over 2 years ago

jlausuch I do not know who added you in that weird way to the projects however I added you now to https://progress.opensuse.org/projects/qa/settings/members as manager so you should be able to do everything yourself now :)

#10 Updated by pvorel over 2 years ago

  • Target version changed from future to 454

#11 Updated by pvorel over 2 years ago

  • Assignee set to pvorel
  • Target version changed from 454 to 445
  • Parent task set to #45863

Actually, this must be solved during fixing svirt serial implementation in #45863.

#12 Updated by pvorel over 2 years ago

  • Subject changed from [functional][u][tools] test fails in bootloader_zkvm: Calling Net::SSH2::Channel::readline in non-blocking mode is usually a programming error to [functional][u][tools] warning in bootloader_zkvm: Calling Net::SSH2::Channel::readline in non-blocking mode is usually a programming error

#13 Updated by jlausuch over 2 years ago

okurz wrote:

jlausuch I do not know who added you in that weird way to the projects however I added you now to https://progress.opensuse.org/projects/qa/settings/members as manager so you should be able to do everything yourself now :)

Thanks :)

#14 Updated by pvorel over 2 years ago

  • Description updated (diff)

#15 Updated by pvorel over 2 years ago

  • Description updated (diff)

#16 Updated by pvorel over 2 years ago

  • Parent task deleted (#45863)

#17 Updated by pvorel over 2 years ago

  • Related to action #45863: [s390x][svirt][ltp] Fix serial terminal console implementation for svirt backend and use it's output added

#18 Updated by pvorel over 2 years ago

  • Target version changed from 445 to 454

#19 Updated by pvorel over 2 years ago

  • Related to action #49394: [s390x][svirt] Print content of kernel log and serial console into "Serial output" field added

#20 Updated by pvorel over 2 years ago

  • Target version changed from 454 to future

#21 Updated by pvorel over 2 years ago

  • Assignee deleted (pvorel)

#22 Updated by okurz over 2 years ago

  • Category changed from 132 to Feature requests

#23 Updated by SLindoMansilla almost 2 years ago

  • Priority changed from Normal to High

#24 Updated by mkittler over 1 year ago

  • Category changed from Feature requests to Concrete Bugs
  • Status changed from New to Resolved
  • Assignee set to mkittler
  • Target version changed from future to Done

This should be fixed with https://github.com/os-autoinst/os-autoinst/pull/1239 and I haven't seen this log message anymore. Recent tests in the same scenario are not failing anymore, too.

Also available in: Atom PDF