Skip to contentSkip to conversation

71951: all pass

ovmf baseline-only test Platform Team regression test user 1 participant 1 message Aug 8, 2017

lore
Share & tools
lore

Platform Team regression test user

author Reviewed-by Ruiyu Ni
#0 lore raw

This run is configured for baseline tests only.

flight 71951 ovmf real [real]
http://osstest.xs.citrite.net/~osstest/testlogs/logs/71951/

Perfect :-)
All tests in this flight passed as required
version targeted for testing:
ovmf 4cf3f37c87ba1f9d58072444bd735e40e4779e70
baseline version:
ovmf 6e414300b5f19d3045a0d21ad90ac2fe965478a5

Last test of basis    71950  2017-08-08 08:17:55 Z    0 days
Testing same since    71951  2017-08-08 17:47:30 Z    0 days    1 attempts

------------------------------------------------------------
People who touched revisions under test:
Star Zeng <[email protected]>

jobs:

 build-amd64-xsm                                              pass    
 build-i386-xsm                                               pass    
 build-amd64                                                  pass    
 build-i386                                                   pass    
 build-amd64-libvirt                                          pass    
 build-i386-libvirt                                           pass    
 build-amd64-pvops                                            pass    
 build-i386-pvops                                             pass    
 test-amd64-amd64-xl-qemuu-ovmf-amd64                         pass    
 test-amd64-i386-xl-qemuu-ovmf-amd64                          pass    

------------------------------------------------------------
sg-report-flight on osstest.xs.citrite.net
logs: /home/osstest/logs
images: /home/osstest/images

Logs, config files, etc. are available at
http://osstest.xs.citrite.net/~osstest/testlogs/logs

Test harness code can be found at
http://xenbits.xensource.com/gitweb?p=osstest.git;a=summary

Push not applicable.

------------------------------------------------------------
commit 4cf3f37c87ba1f9d58072444bd735e40e4779e70

Author: Star Zeng <[email protected]>
Date:   Tue Jul 18 16:32:16 2017 +0800

MdeModulePkg SerialDxe: Process timeout consistently in SerialRead

https://lists.01.org/pipermail/edk2-devel/2017-July/012385.html
reported the timeout processing in SerialRead is not consistent.

Since SerialPortPoll only checks the status of serial port and returns immediately, and SerialPortRead does not really implement a time out mechanism and will always wait for enough input, it will cause below results:
1. If there is no serial input at all, this interface will return timeout immediately without any waiting;
2. If there is A characters in serial port FIFO, and caller requires A+1 characters, it will wait until a new input is coming and timeout will not really occur.

This patch is to update SerialRead() to check SerialPortPoll() and read data through SerialPortRead() one byte by one byte, and check timeout against mSerialIoMode.Timeout if no input.

Cc: Heyi Guo <[email protected]>
Cc: Ruiyu Ni <[email protected]>
Cc: Laszlo Ersek <[email protected]>
Contributed-under: TianoCore Contribution Agreement 1.0

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel