[PATCH] luv-test: Do not create extra results directory
by Megha Dey
It was observed that when reboot tests was enabled, an extra results
directory was created. This was because the creation of the results
directory was done unconditionally. When we enable reboot tests, the
results of the tests that run after reboot should be appended to the
same result directory as the first boot. Thus, create the result
directory only the first time luv boots.
Signed-off-by: Megha Dey <megha.dey(a)linux.intel.com>
---
meta-luv/recipes-core/luv-test/luv-test/luv-test-manager | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/meta-luv/recipes-core/luv-test/luv-test/luv-test-manager b/meta-luv/recipes-core/luv-test/luv-test/luv-test-manager
index ffb197c..00f5131 100644
--- a/meta-luv/recipes-core/luv-test/luv-test/luv-test-manager
+++ b/meta-luv/recipes-core/luv-test/luv-test/luv-test-manager
@@ -195,9 +195,7 @@ start_reports()
EOF
}
-create_luv_dirs
-display_luv_version
-start_reports
+first_boot_file="${LUV_STORAGE}/first_boot"
# If first boot file exists on the disk and if the test suites are completed
# successfully, remove the file.
@@ -205,6 +203,10 @@ if [ -e "$first_boot_file" ]; then
if grep -q "luv_signature=1" $first_boot_file; then
rm $first_boot_file
fi
+else
+ create_luv_dirs
+ display_luv_version
+ start_reports
fi
# Create the "first_boot" file, only if one of the reboot tests is passed as
--
2.7.4
3 years, 6 months
[PATCH] luv-test: Do not create extra results directory
by Megha Dey
From: Jacob Pan <jacob.jun.pan(a)linux.intel.com>
It was observed that when reboot tests was enabled, an extra results
directory was created. This was because the creation of the results
directory was done unconditionally. When we enable reboot tests, the
results of the tests that run after reboot should be appended to the
same result directory as the first boot. Thus, create the result
directory only the first time luv boots.
Signed-off-by: Jacob Pan <jacob.jun.pan(a)linux.intel.com>
---
meta-luv/recipes-core/luv-test/luv-test/luv-test-manager | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/meta-luv/recipes-core/luv-test/luv-test/luv-test-manager b/meta-luv/recipes-core/luv-test/luv-test/luv-test-manager
index ffb197c..00f5131 100644
--- a/meta-luv/recipes-core/luv-test/luv-test/luv-test-manager
+++ b/meta-luv/recipes-core/luv-test/luv-test/luv-test-manager
@@ -195,9 +195,7 @@ start_reports()
EOF
}
-create_luv_dirs
-display_luv_version
-start_reports
+first_boot_file="${LUV_STORAGE}/first_boot"
# If first boot file exists on the disk and if the test suites are completed
# successfully, remove the file.
@@ -205,6 +203,10 @@ if [ -e "$first_boot_file" ]; then
if grep -q "luv_signature=1" $first_boot_file; then
rm $first_boot_file
fi
+else
+ create_luv_dirs
+ display_luv_version
+ start_reports
fi
# Create the "first_boot" file, only if one of the reboot tests is passed as
--
2.7.4
3 years, 6 months
Linux UEFI Validation Project v2.4-rc1 release
by Megha Dey
Hello,
This is to announce the release of LUV v2.4-rc1. It includes the usual
updates to yocto, meta-oe, various test suites kernel version and bug
fixes.
Since we had the stable v2.3 release 2 months back, it made sense to
have this release as rc1 of v2.4 to allow stabilization towards the
next release cycle.
=== Updates:
1. updated changes from the poky and meta-openembedded repos. (New
branch thud)
2. updated the Linux kernel version to 4.19
3. updated fwts to v18.0.11
4. updated chipsec to v1.3.6
=== Bug Fixes
1. Fixed all the issues which arose as a result of the above updates
2. Improvements to netconsole
https://github.com/intel/luv-yocto/issues/129
=== Features
1. Make sure all ACPI related tests in FWTS are executed on OVMF
https://github.com/intel/luv-yocto/issues/111
== Binary images for x86:
The release images for x86 (disk and network) are available at
https://download.01.org/linux-uefi-validation/v2.4/
=== Known issues
1. Bits is not running on 32 bit systems. Looks like this has started
after we updated grub from v2.0 to v2.02.
2. Netconsole in bits does not work if the listener is on a different
subnet compared to the host.
3. If reboots-tests are enabled, an extra directory is created in the
results folder.
4. When running netconsole, we only see logs from chipsec and ndctl
test suites
5. On certain systems, systemd fails to use ttyS0 as Standard Output
=== Short log:
Many thanks to all the contributors of this release. This is how the
short log looks:
Megha Dey (10):
Merge branch thud of git://git.yoctoproject.org/poky
Merge branch thud of git://git.openembedded.org/meta-openembedded
LUV v2.4-dev
meta-luv: Update kernel selftest recipes
linux-luv: Bump kernel to v4.19
linux-libc-headers: Bump linux-libc-headers to v4.19
meta-luv: update LAYERSERIES_COMPAT_layername
luv-test: improvements to netconsole
bits: Resolve 'storage size isn't known' error
luv: Add systemd to PACKAGECONFIG variable for ndctl
Naresh Bhat (2):
fwts: Update fwts to v18.11.00
Move LIC_FILES_CHKSUM inc to bb file
Ricardo Neri (7):
sbsigntool: Use native sysroot to build
jq: Depend on native flex and bison
chipsec: Add dependency on python-logging
chipsec: Add severity to test case
chipsec.modules.common.cpu.spectre_v2
chipsec: Bump to version v1.3.6
chipsec: Adjust hunks in a patch
chipsec: Stop removing unnecessary files for 32-bit x86 builds
Sai Praneeth (1):
meta-luv/ovmf: Enable FPDT in OVMF
Thiebaud Weksteen (2):
Add symlink to LUV README from root
bits: Add -no-pie flag to support Debian.
Thanks,
Megha
3 years, 6 months
[PATCH] fwts: Update fwts to v18.12.00
by Naresh Bhat
Update FWTS to version v18.12.00
Signed-off-by: Naresh Bhat <naresh.bhat(a)linaro.org>
---
meta-luv/recipes-core/fwts/fwts_git.bb | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/meta-luv/recipes-core/fwts/fwts_git.bb b/meta-luv/recipes-core/fwts/fwts_git.bb
index a3c105384f..c5d9a5d2b7 100644
--- a/meta-luv/recipes-core/fwts/fwts_git.bb
+++ b/meta-luv/recipes-core/fwts/fwts_git.bb
@@ -4,9 +4,9 @@ HOMEPAGE = "https://wiki.ubuntu.com/Kernel/Reference/fwts"
LICENSE = "GPLv2+"
LIC_FILES_CHKSUM = "file://src/main.c;beginline=1;endline=16;md5=31da590f3e9f3bd34dcdb9e4db568519"
-PV = "V18.11.00+git${SRCPV}"
+PV = "V18.12.00+git${SRCPV}"
-SRCREV = "be475359aa91728e952117af764bab39b1528c68"
+SRCREV = "f2a7aeb6d961025e211aaa955c6d3e24ca210ad7"
SRC_URI = "git://kernel.ubuntu.com/hwe/fwts.git \
file://luv-parser-fwts \
"
--
2.17.1
3 years, 6 months
[PATCH] chipsec: Stop removing unnecessary files for 32-bit x86 builds
by Ricardo Neri
In CHIPSEC pull request https://github.com/chipsec/chipsec/pull/348, all
files under chipsec_tools/linux were removed as part of a cleanup. These
files were legacy and should not be used.
Reported-by: Megha Dey <megha.dey(a)linux.intel.com>
Signed-off-by: Ricardo Neri <ricardo.neri-calderon(a)linux.intel.com>
---
meta-luv/recipes-core/chipsec/chipsec_git.bb | 5 -----
1 file changed, 5 deletions(-)
diff --git a/meta-luv/recipes-core/chipsec/chipsec_git.bb b/meta-luv/recipes-core/chipsec/chipsec_git.bb
index 24dccdbc39..369fd3c29f 100644
--- a/meta-luv/recipes-core/chipsec/chipsec_git.bb
+++ b/meta-luv/recipes-core/chipsec/chipsec_git.bb
@@ -68,11 +68,6 @@ do_patch_append() {
do_install_append() {
install -d ${D}${bindir}
install -m 0755 ${WORKDIR}/chipsec ${D}${bindir}
-
- if [ ! "${TARGET_ARCH}" = "x86_64" ]; then
- rm ${D}${PYTHON_SITEPACKAGES_DIR}/chipsec_tools/linux/LzmaCompress.bin
- rm ${D}${PYTHON_SITEPACKAGES_DIR}/chipsec_tools/linux/TianoCompress.bin
- fi
}
LUV_TEST_LOG_PARSER="luv-parser-chipsec"
--
2.17.1
3 years, 6 months
[PATCH] luv: Add systemd to PACKAGECONFIG variable for ndctl
by Megha Dey
Commit cd7101c("ndctl: fix compile issue") makes reference to the
PACKAGECONFIG variable for ndctl. Since the default value of the
PACKAGECONFIG variable is undefined for the ndctl recipe, we see
the following error:
ERROR: ndctl-v62+gitAUTOINC+11f560f404-r0 do_package:
SYSTEMD_SERVICE_ndctl value ndctl-monitor.service does not exist
ERROR: ndctl-v62+gitAUTOINC+11f560f404-r0 do_package: Function failed:
systemd_populate_packages
Thus, we need to add systemd to the PACKAGECONFIG variable for ndctl.
Signed-off-by: Megha Dey <megha.dey(a)linux.intel.com>
---
meta-luv/conf/distro/luv.conf | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta-luv/conf/distro/luv.conf b/meta-luv/conf/distro/luv.conf
index 860452a..c6ce7cc 100644
--- a/meta-luv/conf/distro/luv.conf
+++ b/meta-luv/conf/distro/luv.conf
@@ -16,5 +16,6 @@ DISTRO_FEATURES_append = " systemd"
VIRTUAL-RUNTIME_init_manager = "systemd"
VIRTUAL-RUNTIME_initscripts = ""
DISTRO_FEATURES_BACKFILL_CONSIDERED += "sysvinit"
+PACKAGECONFIG_append_pn-ndctl="systemd"
INITRAMFS_MAXSIZE = "265000"
--
2.7.4
3 years, 6 months