Skip to contentSkip to conversation

66965: regressions - FAIL

ovmf baseline-only test Platform Team regression test user 1 participant 1 message Aug 11, 2016

lore
Share & tools
lore

Platform Team regression test user

author Reviewed-by Jaben Carsey Reviewed-by Jaben Carsey Reviewed-by Liming Gao Reviewed-by Ard Biesheuvel Reviewed-by Jaben Carsey Reviewed-by Tapan Shah Reviewed-by Jaben Carsey Reviewed-by Tapan Shah Reviewed-by Jaben Carsey Reviewed-by Tapan Shah Reviewed-by Jaben Carsey Reviewed-by Tapan Shah Reviewed-by Jaben Carsey Reviewed-by Tapan Shah Reviewed-by Jaben Carsey Reviewed-by Tapan Shah
#0 lore raw

This run is configured for baseline tests only.

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

Regressions :-(

Tests which did not succeed and are blocking,
including tests which could not be run:
build-amd64-xsm 5 xen-build fail REGR. vs. 66958

version targeted for testing:
ovmf af90df3cb099ed8e009579b7b55e7142dc0fc410
baseline version:
ovmf 1fbd0ca16a997b68ed320340aef18645e71e8a73

Last test of basis    66958  2016-08-10 03:19:59 Z    1 days
Testing same since    66965  2016-08-10 21:19:32 Z    1 days    1 attempts

------------------------------------------------------------
People who touched revisions under test:
Ruiyu Ni <[email protected]>
Shi, Steven <[email protected]>
Steven Shi <[email protected]>

jobs:

 build-amd64-xsm                                              fail    
 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 af90df3cb099ed8e009579b7b55e7142dc0fc410

Author: Shi, Steven <[email protected]>
Date:   Wed Aug 3 17:43:06 2016 +0800

ShellPkg-UefiShellCommandLib: Add EFIAPI in VA_List library function

Add EFIAPI in CatPrint library function. Every function which uses variable list need explicit use EFIAPI to force use MS ABI. This change is needed to pass CLANG38 build.

Contributed-under: TianoCore Contribution Agreement 1.0

commit ba601bddf8a36b4b63704596842c69b412741bbb

Author: Shi, Steven <[email protected]>
Date:   Wed Aug 3 17:43:05 2016 +0800

ShellPkg-UefiShellTftpCommandLib: Replace compiler builtin

Use explicit CopyMem to replace compiler builtin to do the structure values assignment. This change is needed to pass CLANG38 build.

Contributed-under: TianoCore Contribution Agreement 1.0

commit 6f756db5ea057ff10dd168c7627163cec046a3d9

Author: Shi, Steven <[email protected]>
Date:   Wed Aug 3 17:43:04 2016 +0800

BaseTools-Conf:Introduce CLANG38 new toolchain for x86

This adds support for LLVM 3.8.x in LTO mode for IA32 and X64. CLANG38 enable LLVM Link Time Optimization (LTO) and code size optimization flag (-Oz) by default for aggressive code size improvement. CLANG38 X64 code is small code model + PIE.

CLANG LTO needs PIE in link flags to generate PIE code correctly, otherwise the PIE is not really enabled. (e.g. OvmfPkgX64 will hang in 64bits SEC at high address because of small model code displacement overflow).

Test pass platforms: OVMF (OvmfPkgIa32.dsc, OvmfPkgX64.dsc and OvmfPkgIa32X64.dsc).
Test compiler and linker version: LLVM 3.8, GNU ld 2.26.

Example steps to use the CLANG38 tool chain to build OVMF platform:
1. Download and extract the llvm 3.8.0 Pre-Built Binaries from
http://www.llvm.org/releases/ (e.g. http://www.llvm.org/releases/
3.8.0/clang+llvm-3.8.0-x86_64-linux-gnu-ubuntu-16.04.tar.xz and extract it as ~/clang38).
2. Copy LLVMgold.so from https://github.com/shijunjing/edk2/blob/
llvm/BaseTools/Bin/LLVMgold.so to above clang lib folder (e.g. ~/clang38/lib/LLVMgold.so)
3. Install new version linker with plugin support (e.g. ld 2.26 in GNU Binutils 2.26 or Ubuntu16.04)
$ cd edk2
$ git checkout llvm
$ export CLANG38_BIN=path/to/your/clang38/
(e.g. export CLANG38_BIN=~/clang38/bin/)
$ source edksetup.sh
$ make -C BaseTools/Source/C
$ build -t CLANG38 -a X64 -p OvmfPkg/OvmfPkgX64.dsc -n 5 -b DEBUG -DDEBUG_ON_SERIAL_PORT
$ cd edk2/Build/OvmfX64/DEBUG_CLANG38/FV
$ qemu-system-x86_64.exe -bios OVMF.fd -serial file:serial.log -m 4096
-hda fat:.

If you want, you can build and install GNU Binutils 2.26 as below steps in Ubuntu:
Download binutils-2.26 source code from http://ftp.gnu.org/gnu/binutils/
and extract it to ~/binutils-2.26
$sudo apt-get install bison
$sudo apt-get install flex
Install other necessary binutils build tools if missing
$ mkdir build
$ cd build
$ ../binutils-2.26/configure --enable-gold --enable-plugins --disable-werror --prefix=/usr
$ make -j 5
$ sudo make install

If you want, you can build LLVMgold.so as below steps Download llvm-3.8.0 source code from http://www.llvm.org/releases/
3.8.0/llvm-3.8.0.src.tar.xz and extract it to ~/llvm-3.8.0.src Download clang3.8.0 source code from http://www.llvm.org/releases/
3.8.0/cfe-3.8.0.src.tar.xz and extract it to ~/llvm-3.8.0.src/tools/clang Refer http://clang.llvm.org/get_started.html to Install other necessary clang build tools if missing
$ mkdir llvm38build
$ cd llvm38build
If your GNU Binutils 2.26 is in /home/jshi19/binutils-2.26,
$ cmake ../llvm-3.8.0.src -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Release" -DLLVM_TARGETS_TO_BUILD="X86" -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_CXX_COMPILER="/usr/bin/g++" -DCMAKE_C_COMPILER="/usr/bin/gcc" -DLLVM_BINUTILS_INCDIR=/home/jshi19/binutils-2.26/include
$ make -j 5 LLVMgold The LLVMgold.so is in ~/llvm38build/lib/LLVMgold.so

Contributed-under: TianoCore Contribution Agreement 1.0

commit b5e006edb9387c774ab8d4ac27c14fe81de38d0a

Author: Shi, Steven <[email protected]>
Date:   Wed Aug 3 17:43:03 2016 +0800

BaseTools-Conf:Remove short dash in ar flag for LLVM

Both binutils ar and LLVM ar support "cr", but LLVM ar doens't support add "-" in the flags, and llvm-ar cannot accept "-cr". So remove the short dash "-" to make llvm archives work.

Contributed-under: TianoCore Contribution Agreement 1.0

commit 5aeafb3a254e7cd9e1fb69a0d391388a51c6e210

Author: Ruiyu Ni <[email protected]>
Date:   Mon Aug 8 18:21:32 2016 +0800

ShellPkg/ls: Display the correct directory path

Contributed-under: TianoCore Contribution Agreement 1.0

commit 47ec935660cd38659efcb414ab2cb819c0cb466e

Author: Ruiyu Ni <[email protected]>
Date:   Mon Aug 8 15:02:44 2016 +0800

ShellPkg/ls: Fix to support "ls fs0:File.txt"

“ls fs0:\File.txt" can list the file correctly but when the backslash is removed from colon, the file cannot be listed.
The patch fixes this issue.

Contributed-under: TianoCore Contribution Agreement 1.0

commit 54b1e0ec814d8a8ac0aea2262ba04d7567545197

Author: Ruiyu Ni <[email protected]>
Date:   Mon Aug 8 14:55:10 2016 +0800

MdePkg: Enhance PathRemoveLastItem() to support "FS0:File.txt"

The original implementation only looks for very last backslash and removes the string after that.
But when the path is like "FS0:File.txt" which doesn't contain backslash, the function cannot work well.
The patch enhances the code to look for very last backslash or colon to support the path which doesn't contain backslash.

Contributed-under: TianoCore Contribution Agreement 1.0

commit d25d59cb7ee608deb60137389c2461c6d937f669

Author: Ruiyu Ni <[email protected]>
Date:   Fri Aug 5 13:12:56 2016 +0800

ShellPkg: Fix FindFiles() to handle "fsx:EFI\BOOT" path

When the FilePattern is similar to "fsx:EFI\BOOT", FindFiles() cannot handle it correctly because it always assumes there is "\\" after "fsx:".

Contributed-under: TianoCore Contribution Agreement 1.0

commit db2e266a0e926be03fb0e6c86fadf121532912d1

Author: Ruiyu Ni <[email protected]>
Date:   Fri Aug 5 13:10:11 2016 +0800

ShellPkg: TAB logic incorrectly shows files in CWD when typing \<TAB>

It should shows files in root directory of current map.

Contributed-under: TianoCore Contribution Agreement 1.0

commit 9fcfa150fb6047eaa0e5901c0af3e588586200e3

Author: Ruiyu Ni <[email protected]>
Date:   Fri Aug 5 10:24:48 2016 +0800

ShellPkg: TAB logic incorrectly chops out fs0: when typing fs0:<TAB>

Contributed-under: TianoCore Contribution Agreement 1.0

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