Project

General

Profile

Actions

action #50945

closed

[tools][svirt] Svirt serial backend gets stalled by new lines in command passed to script_run

Added by pvorel almost 5 years ago. Updated almost 4 years ago.

Status:
Resolved
Priority:
Low
Assignee:
-
Category:
Enhancement to existing tests
Target version:
-
Start date:
2019-04-30
Due date:
% Done:

0%

Estimated time:
Difficulty:

Description

Svirt serial backend gets stalled by new lines in command passed to script_run.

Workaround is to replace new line in code by new line character, see this diff
from PR#6841 found when working on #45863, but that's not a solution.

------------------------- tests/kernel/install_ltp.pm -------------------------
index c3dc476d8..de108b4cf 100644
@@ -227,19 +227,9 @@ sub install_from_repo {
sub setup_network {
my $content;

  • $content = <<EOF; -# ltp specific setup -pts/1 -pts/2 -pts/3 -pts/4 -pts/5 -pts/6 -pts/7 -pts/8 -pts/9 -EOF
  • assert_script_run("echo \"$content\" >> '/etc/securetty'");
  • # pts in /etc/securetty
  • $content = '# ltp specific setup\npts/1\npts/2\npts/3\npts/4\npts/5\npts/6\npts/7\npts/8\npts/9\n';
  • assert_script_run("printf \"$content\" >> /etc/securetty");

Related issues 1 (0 open1 closed)

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

Actions
Actions #1

Updated by pvorel almost 5 years ago

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

Updated by okurz almost 5 years ago

  • Category changed from 132 to Feature requests
Actions #3

Updated by okurz about 4 years ago

  • Priority changed from Normal to Low
Actions #4

Updated by okurz almost 4 years ago

  • Project changed from openQA Project to openQA Tests
  • Category changed from Feature requests to Enhancement to existing tests
  • Status changed from New to Resolved

likely solved by coolgw in https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/10516 within os-autoinst-distri-opensuse

Actions

Also available in: Atom PDF