Bug 1532675

Summary: incorrectly rendered empty lines in commands output on "Detail of Commands run" page
Product: Red Hat Satellite Reporter: Jan Hutař <jhutar>
Component: Remote ExecutionAssignee: Adam Ruzicka <aruzicka>
Status: CLOSED ERRATA QA Contact: Peter Ondrejka <pondrejk>
Severity: low Docs Contact:
Priority: unspecified    
Version: 6.3.0CC: aruzicka, inecas, pcreech
Target Milestone: 6.5.0Keywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-05-14 12:36:57 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
screenshot of how numbers do not match rows none

Description Jan Hutař 2018-01-09 14:53:42 UTC
Description of problem:
There are incorrectly rendered empty lines in commands output on "Detail of Commands run" page


Version-Release number of selected component (if applicable):
satellite-6.3.0-23.0.el7sat.noarch


How reproducible:
always


Steps to Reproduce:
1. Via remote execution, run some yum command which have empty lines in
   its output, e.g.:
    yum downgrade zsh ksh -y
2. Then check Monitor -> Jobs -> <job> -> Hosts -> <host> for command output


Actual results:
Notice that empty rows are missing and rows numbering continues below black area of command output. Copy&paste the text into text-editor and notice the rows are sill there.


Expected results:
Output should match to what command really returned and number annotating row should match to the number in reality (how command returned it)

Comment 2 Jan Hutař 2018-01-09 14:57:17 UTC
Created attachment 1379136 [details]
screenshot of how numbers do not match rows

Numbers of highlighted rows are shown below rows because above there were 4 empty lines in the output so line numbers and actual line content is shifted

Comment 3 Adam Ruzicka 2018-01-10 09:16:09 UTC
Created redmine issue http://projects.theforeman.org/issues/22209 from this bug

Comment 4 Satellite Program 2018-09-18 14:02:46 UTC
Upstream bug assigned to aruzicka

Comment 5 Satellite Program 2018-09-18 14:02:48 UTC
Upstream bug assigned to aruzicka

Comment 6 Satellite Program 2018-09-19 14:02:54 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/22209 has been resolved.

Comment 7 Peter Ondrejka 2018-11-07 15:03:47 UTC
Verified on Satellite 6.5 snap 2

Comment 12 errata-xmlrpc 2019-05-14 12:36:57 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2019:1222