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 about 1 year ago. Updated about 1 month ago.

Status:ResolvedStart date:01/02/2019
Priority:HighDue date:
Assignee:mkittler% Done:

0%

Category:Concrete Bugs
Target version:Done
Difficulty:
Duration:

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:... New 01/12/2018
Related to openQA Project - action #45863: [s390x][svirt][ltp] Fix serial terminal console implement... Resolved
Related to openQA Project - action #49394: [s390x][svirt] Print content of kernel log and serial con... New 15/03/2019

History

#1 Updated by mgriessmeier about 1 year ago

  • Description updated (diff)

#3 Updated by mgriessmeier about 1 year ago

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

#4 Updated by pvorel about 1 year 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 about 1 year 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 about 1 year ago

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

#7 Updated by pvorel 12 months 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 12 months ago

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

#9 Updated by okurz 12 months 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 12 months ago

  • Target version changed from future to Planned - kernel&network

#11 Updated by pvorel 12 months ago

  • Assignee set to pvorel
  • Target version changed from Planned - kernel&network to Current Sprint - kernel
  • Parent task set to #45863

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

#12 Updated by pvorel 12 months 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 12 months 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 12 months ago

  • Description updated (diff)

#15 Updated by pvorel 12 months ago

  • Description updated (diff)

#16 Updated by pvorel 12 months ago

  • Parent task deleted (#45863)

#17 Updated by pvorel 12 months 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 12 months ago

  • Target version changed from Current Sprint - kernel to Planned - kernel&network

#19 Updated by pvorel 12 months ago

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

#20 Updated by pvorel 10 months ago

  • Target version changed from Planned - kernel&network to future

#21 Updated by pvorel 9 months ago

  • Assignee deleted (pvorel)

#22 Updated by okurz 8 months ago

  • Category changed from 132 to Feature requests

#23 Updated by SLindoMansilla 4 months ago

  • Priority changed from Normal to High

#24 Updated by mkittler about 1 month 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