Bug 11598

Summary: [morty]testimage quemux86-64 lsb genericx86-64 getty[1309]: tcgetattr: Input/output error^M
Product: [Build System, Metadata & Runtime] BSPs Reporter: Juan Ramos <juan.fernandox.ramos.frayle>
Component: bsps-configurationAssignee: Choong Yin Thong <yin.thong.choong>
Status: VERIFIED FIXED QA Contact: oscar lopez arandas <oscarx.lopez.arandas>
Severity: normal    
Priority: Medium+ CC: akuster, libertad.gonzalez.de.la.cruz, oscarx.lopez.arandas, randy.macleod, ross.burton, yp.bsp.watcher, yp.watcher
Version: 2.2   
Target Milestone: 2.2.2   
Hardware: x86   
OS: Multiple   
Whiteboard: Backport to 2.3.1
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)
Attachments:
Description Flags
testimage_lsb_qemux86-64.log
none
results-bitbake-worker
none
qemu86_lsb none

Description Juan Ramos 2017-05-31 22:50:21 UTC
Created attachment 3782 [details]
testimage_lsb_qemux86-64.log

STATUS: IDLE
BUILD: 2.2.2: rc1-d05941ae4567def4a288894717e5f550da246107
ENVIRONMENT: qemux86_64-lsb
STEPS TO REPRODUCE: 
  
Build Configuration:
BB_VERSION        = "1.32.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "universal"
TARGET_SYS        = "x86_64-poky-linux"
MACHINE           = "qemux86-64"
DISTRO            = "poky-lsb"
DISTRO_VERSION    = "2.2.2"
TUNE_FEATURES     = "m64 core2"
TARGET_FPU        = ""
meta              
meta-poky         
meta-yocto-bsp    = "HEAD:d05941ae4567def4a288894717e5f550da246107"

EXPECTED OUTCOME: 
   No errors or fails should be present in logs
ACTUAL OUTCOME
   Multiple error present in parselog:
***********************
Central error: Sep 15 19:55:15 genericx86-64 getty[1313]: tcgetattr: Input/output error^M 
***********************
Sep 15 22:34:57 genericx86-64 getty[1290]: tcgetattr: Input/output error^M 
Sep 15 22:35:00 genericx86-64 login[1289]: pam_unix(login:session): session opened for user root by LOGIN(uid=0)
Sep 15 22:35:00 genericx86-64 login[1291]: ROOT LOGIN  on '/dev/tty1'
Sep 15 22:35:07 genericx86-64 getty[1300]: tcgetattr: Input/output error^M 
Sep 15 19:54:25 genericx86-64 getty[1303]: tcgetattr: Input/output error^M 
Sep 15 19:54:35 genericx86-64 getty[1305]: tcgetattr: Input/output error^M 
Sep 15 19:54:45 genericx86-64 getty[1307]: tcgetattr: Input/output error^M 
Sep 15 19:54:55 genericx86-64 getty[1309]: tcgetattr: Input/output error^M 
Sep 15 19:55:05 genericx86-64 getty[1311]: tcgetattr: Input/output error^M 
Sep 15 19:55:15 genericx86-64 getty[1313]: tcgetattr: Input/output error^M 
Sep 15 19:55:25 genericx86-64 getty[1315]: tcgetattr: Input/output error^M 
Sep 15 19:55:35 genericx86-64 getty[1317]: tcgetattr: Input/output error^M 
Sep 15 19:55:59 genericx86-64 sshd[1318]: Accepted none for root from 10.219.5.37 port 35158 ssh2
Sep 15 19:55:59 genericx86-64 sshd[1318]: pam_unix(sshd:session): session opened for user root by (uid=0)
Sep 15 19:55:59 genericx86-64 sshd[1318]: Received disconnect from 10.219.5.37 port 35158:11: disconnected by user
Sep 15 19:55:59 genericx86-64 sshd[1318]: Disconnected from 10.219.5.37 port 35158
Sep 15 19:55:59 genericx86-64 sshd[1318]: pam_unix(sshd:session): session closed for user root
Sep 15 19:55:59 genericx86-64 sshd[1321]: Accepted none for root from 10.219.5.37 port 35160 ssh2
Sep 15 19:55:59 genericx86-64 sshd[1321]: pam_unix(sshd:session): session opened for user root by (uid=0)
Sep 15 19:55:59 genericx86-64 sshd[1321]: Received disconnect from 10.219.5.37 port 35160:11: disconnected by user

Full log attached.
Comment 1 Saul Wold 2017-06-01 15:09:10 UTC
This has a fix pending in MUT for bug #10844 by YinThong, this can be backported once merged into master/pyro/...
Comment 2 oscar lopez arandas 2017-06-01 21:49:39 UTC
the same error its presents in qemux86_lsb 

STATUS: IDLE
BUILD: 2.2.2: rc1-d05941ae4567def4a288894717e5f550da246107
ENVIRONMENT: qemux86_lsb
 
 Build Configuration:
BB_VERSION        = "1.32.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "universal"
TARGET_SYS        = "i586-poky-linux"
MACHINE           = "qemux86"
DISTRO            = "poky-lsb"
DISTRO_VERSION    = "2.2.2"
TUNE_FEATURES     = "m32 i586"
TARGET_FPU        = ""
meta              
meta-poky         
meta-yocto-bsp    = "HEAD:d05941ae4567def4a288894717e5f550da246107"

EXPECTED OUTCOME: 
   No errors or fails should be present in logs
ACTUAL OUTCOME
   Multiple error present in parselog:
*******************************************************************************
Central error: Jun  1 17:51:55 qemux86 getty[19856]: tcgetattr: Input/output error^M 
***********************
Jun  1 17:51:36 qemux86 sshd[19529]: Disconnected from 192.168.7.3 port 58822
Jun  1 17:51:36 qemux86 sshd[19529]: pam_unix(sshd:session): session closed for user root
Jun  1 17:51:36 qemux86 sshd[19532]: Accepted none for root from 192.168.7.3 port 58824 ssh2
Jun  1 17:51:36 qemux86 sshd[19532]: pam_unix(sshd:session): session opened for user root by (uid=0)
********************************************************************************
Full log attached.
Comment 3 oscar lopez arandas 2017-06-01 21:52:39 UTC
Created attachment 3787 [details]
results-bitbake-worker
Comment 4 Choong Yin Thong 2017-06-08 08:29:43 UTC
https://bugzilla.yoctoproject.org/show_bug.cgi?id=10844

bug #10844 already merge into latest master. Please test and verify.
Comment 5 oscar lopez arandas 2017-06-22 15:47:20 UTC
STATUS: IDLE
BUILD: 2.4 M1 rc1: 6964efddd31c479386d1643c1025bc102710392f"
ENVIRONMENT: qemux86_lsb and qemux86-64_lsb
 
 Build Configuration:
BB_VERSION        = "1.34.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "universal"
TARGET_SYS        = "i586-poky-linux"
MACHINE           = "qemux86"
DISTRO            = "poky-lsb"
DISTRO_VERSION    = "2.3"
TUNE_FEATURES     = "m32 i586"
TARGET_FPU        = ""
meta              
meta-poky         
meta-yocto-bsp    = "master:6964efddd31c479386d1643c1025bc102710392f"

EXPECTED OUTCOME: 
   No errors or fails should be present in logs
ACTUAL OUTCOME
    No errors or fails should be present in logs
 
Full log attached.
Comment 6 oscar lopez arandas 2017-06-22 15:48:41 UTC
Created attachment 3839 [details]
qemu86_lsb