Bug 10291

Summary: [Test Case 1059] Parselogs is failing giving error: genericx86-64 getty[1311]: tcgetattr: Input/output error^M
Product: [Build System, Metadata & Runtime] BSPs Reporter: Jose Perez C <jose.perez.carranza>
Component: bsps-runtimeAssignee: California Sullivan <california.l.sullivan>
Status: VERIFIED FIXED QA Contact: Juan Ramos <juan.fernandox.ramos.frayle>
Severity: normal    
Priority: Medium+ CC: alejandro.hernandez, sgw, yp.kernel.watcher, yp.watcher
Version: 2.2   
Target Milestone: 2.2 M4   
Hardware: NUC   
OS: x86_64   
Whiteboard: YP 2.2 M4 RC1 BUILD BLOCKING BUG
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)
Attachments:
Description Flags
Log for test image
none
lsbx86-64_NUC none

Description Jose Perez C 2016-09-16 15:52:29 UTC
Created attachment 3423 [details]
Log for test image

STATUS: FAILED
BUILD: 2.2 M3: 2679a347c576f5411fbe802d2f6201c94036ecb2
ENVIRONMENT: genericx86-64-lsb on NUC
STEPS TO REPRODUCE: 
  
1- execute `bitbake core-image-sato-sdk -c testimage `
  
2 - After execution check:
 Parse dmesg log and all log files in /var/log for keywords like: "error" , "failed" , "cannot", "can't" etc.
Filter out the known and invalid errors or errors that appear in certain situations and need to be ignored.

EXPECTED OUTCOME: 
  
 No errors or fails should be present in logs

ACTUAL OUTCOME: 

***********************
Central error: Sep 15 19:55:05 genericx86-64 getty[1311]: 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)

***********************
Comment 1 Jose Perez C 2016-09-16 15:57:32 UTC
this happens on only on NUC image can be downloaded from
Comment 2 Jose Perez C 2016-09-16 15:57:52 UTC
(In reply to comment #1)
> this happens on only on NUC image can be downloaded from

http://autobuilder.yoctoproject.org/pub/releases/yocto-2.2_M3.rc1/machines/genericx86-64-lsb/core-image-lsb-sdk-genericx86-64.hddimg
Comment 3 Saul Wold 2016-09-22 02:52:00 UTC
This is with a NUC6
Comment 4 California Sullivan 2016-09-26 16:48:10 UTC
This appears to not be new. I can also reproduce this with a core-image-lsb-sdk image built from the yocto-2.1 (original krogoth release) tag.
Comment 5 Jose Perez C 2016-09-26 16:56:53 UTC
2.1 Krogoth Release was validated by QA team in Romania with a NUC 5 (or lower) we started this test on GDC on NUC 6 in 2.2 M2 release.
Comment 7 Juan Ramos 2016-10-25 16:29:42 UTC
Created attachment 3496 [details]
lsbx86-64_NUC

Tested in actual release, the error is not present:

10:55:42 - bitbake-worker - RESULTS - Testcase 1059: PASSED
Comment 8 Juan Ramos 2016-10-25 17:00:15 UTC
tested in Build 2.2 rc4 (M4), commit 4b94b498e21aeba945fe7e72a6b7c4bb0314fb83, no error present:
10:55:42 - bitbake-worker - RESULTS - Testcase 1059: PASSED 

(In reply to comment #6)
> Fixed in master:
> https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/
> ?id=a75b79a9e9d76db8f75af64c3792c7a1bbfd15b8