[GIT PULL]: Add new timestamp field to luv results
by Matt Fleming
From: Matt Fleming <matt.fleming(a)intel.com>
https://github.com/01org/luv-yocto/pull/45
For the purposes of both debugging and optimizing it's really helpful to
have a timestamp field included in the test results log so that we can
see how long each unit test is taking to execute.
These changes should provide a start for debugging #26
Gayatri Kammela (2):
luv: Add timestamp to luv-parser-fwts
luv: Add timestamp to luv-parser-efivarfs
Matt Fleming (2):
luv-test-parser: Add timestamp field to schema
fwts: Fix luv-parser-fwts INFO results
.../efivarfs/efivarfs-test/luv-parser-efivarfs | 12 ++++--
meta-luv/recipes-core/fwts/fwts/luv-parser-fwts | 8 ++--
.../initscripts/initscripts/luv-test-parser | 46 +++++++++++++++-------
3 files changed, 46 insertions(+), 20 deletions(-)
--
1.9.3
7 years, 6 months
[GIT PULL] Mark boot partition as EFI System Partition (ESP)
by Matt Fleming
From: Matt Fleming <matt.fleming(a)intel.com>
https://github.com/01org/luv-yocto/pull/44
We've had reports of some Dell firmware not being able to boot the live
images automatically, which is probably caused by marking the bootable
partition as fat (0xc) and not EFI System Partition (0xef)
Matt Fleming (1):
luv-live-image: Mark boot partition as EFI System Partition (ESP)
meta-luv/recipes-core/images/luv-live-image.bb | 11 +++++++++++
1 file changed, 11 insertions(+)
--
1.9.3
7 years, 6 months
[PATCH] luv-test-manager : Append timestamp to the luv-results file name
by Gayatri Kammela
To address the issue #22 on https://github.com/01org/luv-yocto/issues
Modify luv-test-manager to append the timestamp to luv-results file name
so as to store the results from multiple boots on the same USB stick
The luv-results parition will contain results with file names
luv-results.2014-11-25_12-39-08 after one or multiple boots and also
print the same information inside luv.results file
Cc: Ricardo Neri <ricardo.neri-calderon(a)linux.intel.com>
Cc: Matt Fleming <matt.fleming(a)intel.com>
Signed-off-by: Gayatri Kammela <gayatri.kammela(a)intel.com>
---
meta-luv/recipes-core/initscripts/initscripts/luv-test-manager | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/meta-luv/recipes-core/initscripts/initscripts/luv-test-manager b/meta-luv/recipes-core/initscripts/initscripts/luv-test-manager
index 0ffa20aa5199..2b1053c9ba26 100644
--- a/meta-luv/recipes-core/initscripts/initscripts/luv-test-manager
+++ b/meta-luv/recipes-core/initscripts/initscripts/luv-test-manager
@@ -18,8 +18,8 @@ psplash_write() {
# correct partition, mount using the disk's UUID. If the partition
# cannot be mounted, test results are not saved.
-LUV_SAVE_RAW_DIR=/dev/null
-LUV_SAVE_PARSED_DIR=/dev/null
+#LUV_SAVE_RAW_DIR=/dev/null
+#LUV_SAVE_PARSED_DIR=/dev/null
LUV_SAVE_RESULTS_DIR=/dev/null
LUV_STORAGE=/mnt/luv-storage/
@@ -30,7 +30,8 @@ mkdir -p ${LUV_STORAGE}
if [ $? -eq 0 ]; then
mount ${LUV_DISK_DEVICE} ${LUV_STORAGE}
if [ $? -eq 0 ]; then
- LUV_SAVE_RESULTS_DIR=${LUV_STORAGE}luv-results/
+ tstamp=$(date +"%Y-%m-%d_%H-%M-%S")
+ LUV_SAVE_RESULTS_DIR=${LUV_STORAGE}luv.$tstamp-results/
mkdir -p ${LUV_SAVE_RESULTS_DIR}raw/
[ $? -eq 0 ] && LUV_SAVE_RAW_DIR=${LUV_SAVE_RESULTS_DIR}raw/
@@ -88,6 +89,8 @@ psplash_write "PROGRESS 0"
cat <<EOF | tee ${LUV_SAVE_RESULTS_DIR}/luv.results > /tmp/luv.results
$luv_version
+Date and time of the system :`date +"%a %b %d %Y_%H-%M-%S"\ `
+
Test results summary:
EOF
--
1.9.1
7 years, 6 months
[GIT PULL] First attempt at a simple wrapper for configuring luv-yocto
by Matt Fleming
From: Matt Fleming <matt.fleming(a)intel.com>
https://github.com/01org/luv-yocto/pull/43
issue #31 explains the reasons it'd be good to have some simple to use
script to configure the build environment. Basically, having manual
steps makes it far too easy to get one of them wrong or skip it
accidentally.
This is a first attempt at providing a simple to use single wrapper.
Matt Fleming (2):
luv: Add custom {bblayers,local}.conf
luv-setup: Tiny wrapper to make configuration easier
luv-setup | 9 ++
meta-luv/conf/bblayers.conf.sample | 17 +++
meta-luv/conf/local.conf.sample | 235 +++++++++++++++++++++++++++++++++++++
3 files changed, 261 insertions(+)
create mode 100755 luv-setup
create mode 100644 meta-luv/conf/bblayers.conf.sample
create mode 100644 meta-luv/conf/local.conf.sample
--
1.9.3
7 years, 6 months
[PATCH] Chipsec : Enable the chipsec test suite
by Gayatri Kammela
Reverts the commit af66ed38bad4337c1a639a8932733b2e7eddea12
Chipsec test suite enables to stop or start an IPsec connection
to a managed system and also enables any changes made to
IPsec configuration on the Hardware Management Console (HMC)
Cc: Matt Fleming <matt.fleming(a)intel.com>
signed-off-by: Gayatri Kammela <gayatri.kammela(a)intel.com>
---
meta-luv/recipes-core/images/core-image-efi-initramfs.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta-luv/recipes-core/images/core-image-efi-initramfs.bb b/meta-luv/recipes-core/images/core-image-efi-initramfs.bb
index a1e2aa14fdf2..1dd53e6f3278 100644
--- a/meta-luv/recipes-core/images/core-image-efi-initramfs.bb
+++ b/meta-luv/recipes-core/images/core-image-efi-initramfs.bb
@@ -7,7 +7,7 @@ IMAGE_INSTALL = "\
kernel-image fwts bash coreutils gawk grep util-linux-agetty \
util-linux-mount util-linux-umount kmod sed tar net-tools \
shadow util-linux procps efivarfs-test \
- psplash kexec vmcore-dmesg kernel-efi-warnings bits \
+ psplash chipsec kexec vmcore-dmesg kernel-efi-warnings bits \
"
export IMAGE_BASENAME = "core-image-efi-initramfs"
--
1.9.1
7 years, 7 months
[PATCH] luv : Add timestamp to the luv-results file name
by Gayatri Kammela
To address the issue #22 on https://github.com/01org/luv-yocto/issues
Modify luv-test-manager to append the timestamp to luv-results file name
and also print the same information inside luv.results
The luv-results parition will contain results with file names
luv.2014-11-14--19-39-08-results after one or multiple boots
Cc: Ricardo Neri <ricardo.neri-calderon(a)linux.intel.com>
Cc: Matt Fleming <matt.fleming(a)intel.com>
Signed-off-by: Gayatri Kammela <gayatri.kammela(a)intel.com>
---
meta-luv/recipes-core/initscripts/initscripts/luv-test-manager | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/meta-luv/recipes-core/initscripts/initscripts/luv-test-manager b/meta-luv/recipes-core/initscripts/initscripts/luv-test-manager
index 0ffa20aa5199..f0f98d3ada4b 100644
--- a/meta-luv/recipes-core/initscripts/initscripts/luv-test-manager
+++ b/meta-luv/recipes-core/initscripts/initscripts/luv-test-manager
@@ -18,8 +18,8 @@ psplash_write() {
# correct partition, mount using the disk's UUID. If the partition
# cannot be mounted, test results are not saved.
-LUV_SAVE_RAW_DIR=/dev/null
-LUV_SAVE_PARSED_DIR=/dev/null
+#LUV_SAVE_RAW_DIR=/dev/null
+#LUV_SAVE_PARSED_DIR=/dev/null
LUV_SAVE_RESULTS_DIR=/dev/null
LUV_STORAGE=/mnt/luv-storage/
@@ -30,7 +30,8 @@ mkdir -p ${LUV_STORAGE}
if [ $? -eq 0 ]; then
mount ${LUV_DISK_DEVICE} ${LUV_STORAGE}
if [ $? -eq 0 ]; then
- LUV_SAVE_RESULTS_DIR=${LUV_STORAGE}luv-results/
+ tstamp=$(date +"%Y-%m-%d--%H-%M-%S")
+ LUV_SAVE_RESULTS_DIR=${LUV_STORAGE}luv.$tstamp-results/
mkdir -p ${LUV_SAVE_RESULTS_DIR}raw/
[ $? -eq 0 ] && LUV_SAVE_RAW_DIR=${LUV_SAVE_RESULTS_DIR}raw/
@@ -88,6 +89,8 @@ psplash_write "PROGRESS 0"
cat <<EOF | tee ${LUV_SAVE_RESULTS_DIR}/luv.results > /tmp/luv.results
$luv_version
+
+Date and time of the system :`date +"%a %b %d %Y--%H-%M-%S"\ `
+
Test results summary:
EOF
--
1.9.1
7 years, 7 months
[RESULTS] [v1.2-rc1] Dell Inspiron 14R 5420 A19
by Mateus Rodrigues Costa
So this time the "Load Legacy Option Rom" option wasn't useful: I wasn't
able to use the Legacy "USB Storage Device" boot option it to quickly boot
the media, I got a "Operating System Not Found" error or something like
that. This is probably because of the change in the partition ordering.
Also, looks like I should be able to add a working boot option simply by
choosing a name and selecting a file system[0], but I also needed to add
the bootx64.efi file to File Name via the [activable by Enter] UI
(backslash wasn't available) or else it wouldn't work.
Anyway, results attached.
[0] http://www.dell.com/support/Article/us/en/04/603195/en
--
Mateus Rodrigues Costa
7 years, 7 months
[PATCH] luv: update version to 1.2-rc1
by Ricardo Neri
Signed-off-by: Ricardo Neri <ricardo.neri-calderon(a)linux.intel.com>
---
meta-luv/conf/distro/luv.conf | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta-luv/conf/distro/luv.conf b/meta-luv/conf/distro/luv.conf
index 6ff1567..bcfea8d 100644
--- a/meta-luv/conf/distro/luv.conf
+++ b/meta-luv/conf/distro/luv.conf
@@ -1,5 +1,5 @@
DISTRO_NAME = "Linux UEFI Validation Distribution"
-DISTRO_VERSION = "1.1"
+DISTRO_VERSION = "1.2-rc1"
TCLIBCAPPEND = ""
--
1.9.1
7 years, 7 months
Linux UEFI Validation Project v1.2-rc1 release
by Matt Fleming
Folks,
The first release candidate for the v1.2 release cycle is now available
here,
https://download.01.org/linux-uefi-validation/v1.2/luv-live-v1.2-rc1.tar.bz2
Starting with this release I've also signed a sha256 checksum of the
live image,
https://download.01.org/linux-uefi-validation/v1.2/sha256sums.asc
That way, it's possible for people to verify that the live images
haven't been tampered with in any way.
Changes in this release...
1. Serial console support
It's incredibly useful to be able to debug issues using the serial
console, especially since some people don't have VGA devices setup. This
-rc includes changes to write the pretty test results to the serial
console. This required adding some buffer flushing to the awk scripts
that make up the test manager, so that results are printed in real-time,
not just whenever the gawk output buffer happens to be flushed.
2. Improvements for displaying luv-results partition in Windows
There were a couple of bugs in the way that we created the live image
that meant that the partition containing the results of the tests wasn't
displayed in Windows. This was fixed by making the luv-results partition
the first partition on the live image and making sure the fstype in the
partition label was FAT32. Thanks to everyone that helped debug these
problems.
3. Include project version in live image
Ricardo provided some patches that record the project version as part of
the live image to make it quicker to report problems against specific
versions in the future.
The shortlog looks like this,
Matt Fleming (5):
luv-live-image: Enable kernel boot messages on serial console
luv-test-manager: Write test results directly to console
luv: Manually flush stdout from gawk
luv-live-image: Make luv-results the first partition
luv-live-image: Pick fat32 fstype when creating partitions
Ricardo Neri (2):
luv-test-manager: show luv release version in luv.results
luv: Update the version number to 1.1
--
Matt Fleming, Intel Open Source Technology Center
7 years, 7 months