Bug 1395029

Summary: 'ESC' is filtered out in the OpenStack console output
Product: [Retired] Beaker Reporter: matt jia <mjia>
Component: lab controllerAssignee: beaker-dev-list
Status: CLOSED WONTFIX QA Contact: tools-bugs <tools-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: developCC: mjia
Target Milestone: ---   
Target Release: ---   
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: 2020-10-21 14:12:51 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:

Description matt jia 2016-11-15 01:43:55 UTC
Description of problem:

OpenStack is filtering out 'ESC' in the console output. This defeats the beaker console log scrapping which will replace the ANSI escape sequences start with 'ESC' with newlines in beaker.

Version-Release number of selected component (if applicable):

23

How reproducible:

Easy

Steps to Reproduce:
1. running a recipe with OpenStack
2. check the console log in beaker

Actual results:

The console log has some ANSI escape sequences. Something like

[1;23r[H[6B04:09:22 Not asking for VNC because of an automated install[1;24r[H[7B[1;23r[H[7B04:09:22 Not asking for VNC because text mode was explicitly asked for in kickstart[1;24r[H[9B[1;23r[H[9BStarting automated install[1;24r[H[10;27H[1;23r[H[10;27H.[1;24r[H[10;28H[1;23r[H[10;28H.[1;24r[H[10;29H[1;23r[H[10;29H.[1;24r[H[10;30H[1;23r[H[10;30H.[1;24r[H[10;31H[1;23r[H[10;31H.[1;24r[H[10;32H[1;23r[H[10;32H.[1;24r[H[10;33H[1;23r[H[10;33H.[1;24
Expected results:

The ANSI escape sequences should be replaced with newlines.

Comment 1 matt jia 2016-11-15 02:03:52 UTC
On Gerrit:

 https://gerrit.beaker-project.org/#/c/5432/

Comment 2 matt jia 2016-12-16 01:07:29 UTC
I haven't come up with a workaround that doesn't run a very high chance of wiping out legitimate parts of the console output. May be we do not need to bother this in beaker as the nova bug I have filed will be fixed.

https://bugs.launchpad.net/nova/+bug/1645545