[OS-BUILD PATCH] redhat: indicate HEAD state in tarball/rpm name
by Jarod Wilson (via Email Bridge)
From: Jarod Wilson <jarod(a)redhat.com>
redhat: indicate HEAD state in tarball/rpm name
For the non-Fedora (RHEL) case, we are looking to move to a setup where we
include Merge Requests as soon as they are ready, and thus the head of
main may not always be a tagged build. This gives some indication to
someone basing a build on main that they're basing their work on the tree
at a state between tagged builds.
If HEAD is a tagged build, as usual, you should see:
linux-4.18.0-374.el8.tar.xz
kernel-4.18.0-374.el8.src.rpm
If HEAD has additional commits, with this change, you should see:
linux-4.18.0-374.p1.g797fdad2a6e5.el8.tar.xz
kernel-4.18.0-374.p1.g797fdad2a6e5.el8.src.rpm
The .pX field is "X patches since tag" and the .gSHA field is the HEAD sha
of the branch after adding your local changes.
This is directly related to:
https://gitlab.com/redhat/rhel/src/kernel/rhel-8/-/merge_requests/2405
Signed-off-by: Jarod Wilson <jarod(a)redhat.com>
diff --git a/redhat/Makefile b/redhat/Makefile
index blahblah..blahblah 100644
--- a/redhat/Makefile
+++ b/redhat/Makefile
@@ -189,6 +189,14 @@ ifeq ($(VERSION_ON_UPSTREAM),1)
endif
else
SNAPSHOT:=0
+ EXACT_TAG:=$(shell $(GIT) describe --exact-match 2>/dev/null)
+ ifeq ($(EXACT_TAG),)
+ _TAG:=$(shell $(GIT) describe 2>/dev/null)
+ ifneq ($(_TAG),)
+ RHEL_EXTRAVERSION:=$(shell echo $(_TAG) | awk -F- '{ printf(".p%d.%s", $$(NF-1),$$(NF)) }')
+ BUILD:=$(BUILD)$(RHEL_EXTRAVERSION)
+ endif
+ endif
endif
KVERSION:=$(RPMKVERSION).$(RPMKPATCHLEVEL).$(RPMKSUBLEVEL)
--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1735
2 years
[OS-BUILD PATCH] tools/power/x86/intel-speed-select: fix build
failure when
using -Wl,--as-needed
by Herton R. Krzesinski (via Email Bridge)
From: Herton R. Krzesinski <herton(a)redhat.com>
tools/power/x86/intel-speed-select: fix build failure when using -Wl,--as-needed
Upstream Status: patch submitted to platform-driver-x86/upstream maintainer
Build of intel-speed-select will fail if you run:
$ LDFLAGS="-Wl,--as-needed" /usr/bin/make V=1
...
gcc -O2 -Wall -g -D_GNU_SOURCE -Iinclude -I/usr/include/libnl3 -Wl,--as-needed -lnl-genl-3 -lnl-3 intel-speed-select-in.o -o intel-speed-select
/usr/bin/ld: intel-speed-select-in.o: in function `handle_event':
(...)/linux/tools/power/x86/intel-speed-select/hfi-events.c:189: undefined reference to `nlmsg_hdr'
...
In this case the problem is that order when linking matters when using
the flag -Wl,--as-needed, symbols not used at that point are discarded.
So since intel-speed-select-in.o comes after, at that point the
libraries/symbols are already discarded and then missing/undefined
references are reported.
To fix this, make sure we specify LDFLAGS after the object file.
Signed-off-by: Herton R. Krzesinski <herton(a)redhat.com>
diff --git a/tools/power/x86/intel-speed-select/Makefile b/tools/power/x86/intel-speed-select/Makefile
index blahblah..blahblah 100644
--- a/tools/power/x86/intel-speed-select/Makefile
+++ b/tools/power/x86/intel-speed-select/Makefile
@@ -42,7 +42,7 @@ ISST_IN := $(OUTPUT)intel-speed-select-in.o
$(ISST_IN): prepare FORCE
$(Q)$(MAKE) $(build)=intel-speed-select
$(OUTPUT)intel-speed-select: $(ISST_IN)
- $(QUIET_LINK)$(CC) $(CFLAGS) $(LDFLAGS) $< -o $@
+ $(QUIET_LINK)$(CC) $(CFLAGS) $< $(LDFLAGS) -o $@
clean:
rm -f $(ALL_PROGRAMS)
--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1736
2 years
❌ FAIL: Test report for kernel 5.17.1-200.fc35 (fedora-35)
by CKI Project
Hello,
We ran automated tests on the following kernel build:
Kernel package: kernel-5.17.1-200.fc35
Task URL: https://koji.fedoraproject.org/koji/taskinfo?taskID=85024251
The results of these automated tests are provided below.
Overall result: FAILED (see details below)
Tests: FAILED
One or more kernel tests failed:
s390x:
❌ LTP - syscalls
aarch64:
❌ LTP - syscalls
ppc64le:
❌ LTP - syscalls
x86_64:
❌ LTP - cve
❌ LTP - syscalls
❌ LTP - containers
❌ LTP - tracing
All kernel binaries, config files, and logs are available for download here:
https://arr-cki-prod-datawarehouse-public.s3.amazonaws.com/index.html?pre...
Please reply to this email if you have any questions about the tests that we
ran or if you have any suggestions on how to make future tests more effective.
For the full detail on our testing procedures, please scroll to the bottom of
this message.
,-. ,-.
( C ) ( K ) Continuous
`-',-.`-' Kernel
( I ) Integration
`-'
______________________________________________________________________________
Hardware testing
----------------
We booted each kernel and ran the following tests:
aarch64:
Host 1:
🚧 ✅ SELinux Custom Module Setup
✅ Boot test
✅ Reboot test
✅ xfstests - ext4
✅ xfstests - xfs
✅ lvm thinp sanity
✅ Storage: swraid mdadm raid_module test
🚧 ✅ xfstests - btrfs
🚧 ✅ Storage blktests - blk
🚧 ✅ Storage blktests - nvme-tcp
🚧 ✅ Storage block - filesystem fio test
🚧 ✅ Storage block - queue scheduler test
🚧 ✅ Storage block - storage fio numa
🚧 ✅ storage: software RAID testing
🚧 ✅ stress: stress-ng - interrupt
🚧 ✅ stress: stress-ng - cpu
🚧 ✅ stress: stress-ng - cpu-cache
🚧 ✅ stress: stress-ng - memory
Host 2:
🚧 ✅ SELinux Custom Module Setup
✅ Boot test
✅ Reboot test
✅ ACPI table test
✅ LTP - cve
✅ LTP - sched
❌ LTP - syscalls
✅ LTP - can
✅ LTP - commands
✅ LTP - containers
✅ LTP - dio
✅ LTP - fs
✅ LTP - fsx
✅ LTP - math
✅ LTP - hugetlb
✅ LTP - mm
✅ LTP - nptl
✅ LTP - pty
✅ LTP - ipc
✅ LTP - tracing
✅ LTP: openposix test suite
✅ CIFS Connectathon
✅ Loopdev Sanity
✅ Memory: fork_mem
✅ Memory function: memfd_create
✅ AMTU (Abstract Machine Test Utility)
✅ Ethernet drivers sanity
🚧 ✅ NFS Connectathon
Host 3:
⚡ Internal infrastructure issues prevented one or more tests (marked
with ⚡⚡⚡) from running on this architecture.
This is not the fault of the kernel that was tested.
🚧 ✅ SELinux Custom Module Setup
✅ Boot test
✅ Reboot test
🚧 ⚡⚡⚡ Storage blktests - nvmeof-mp
ppc64le:
Host 1:
🚧 ✅ SELinux Custom Module Setup
✅ Boot test
✅ Reboot test
✅ xfstests - ext4
✅ xfstests - xfs
✅ lvm thinp sanity
✅ Storage: swraid mdadm raid_module test
🚧 ✅ xfstests - btrfs
🚧 ✅ Storage blktests - blk
🚧 ✅ Storage blktests - nvme-tcp
🚧 ✅ Storage block - filesystem fio test
🚧 ✅ Storage block - queue scheduler test
🚧 ✅ Storage block - storage fio numa
🚧 ✅ Storage: lvm device-mapper test - upstream
🚧 ✅ storage: software RAID testing
Host 2:
🚧 ✅ SELinux Custom Module Setup
✅ Boot test
✅ Reboot test
✅ LTP - cve
✅ LTP - sched
❌ LTP - syscalls
✅ LTP - can
✅ LTP - commands
✅ LTP - containers
✅ LTP - dio
✅ LTP - fs
✅ LTP - fsx
✅ LTP - math
✅ LTP - hugetlb
✅ LTP - mm
✅ LTP - nptl
✅ LTP - pty
✅ LTP - ipc
✅ LTP - tracing
✅ LTP: openposix test suite
✅ CIFS Connectathon
✅ Loopdev Sanity
✅ Memory: fork_mem
✅ Memory function: memfd_create
✅ AMTU (Abstract Machine Test Utility)
✅ Ethernet drivers sanity
🚧 ❌ xarray-idr-radixtree-test
🚧 ✅ NFS Connectathon
Host 3:
🚧 ✅ SELinux Custom Module Setup
✅ Boot test
✅ Reboot test
🚧 ✅ Storage blktests - nvmeof-mp
s390x:
Host 1:
🚧 ✅ SELinux Custom Module Setup
✅ Boot test
✅ Reboot test
🚧 ✅ Storage blktests - nvmeof-mp
Host 2:
🚧 ✅ SELinux Custom Module Setup
✅ Boot test
✅ Reboot test
✅ LTP - cve
✅ LTP - sched
❌ LTP - syscalls
✅ LTP - can
✅ LTP - commands
✅ LTP - containers
✅ LTP - dio
✅ LTP - fs
✅ LTP - fsx
✅ LTP - math
✅ LTP - hugetlb
✅ LTP - mm
✅ LTP - nptl
✅ LTP - pty
✅ LTP - ipc
✅ LTP - tracing
✅ LTP: openposix test suite
✅ CIFS Connectathon
✅ Loopdev Sanity
✅ Memory: fork_mem
✅ Memory function: memfd_create
✅ AMTU (Abstract Machine Test Utility)
✅ Ethernet drivers sanity
🚧 ✅ NFS Connectathon
Host 3:
🚧 ✅ SELinux Custom Module Setup
✅ Boot test
✅ Reboot test
✅ Storage: swraid mdadm raid_module test
🚧 ❌ Storage blktests - blk
🚧 ✅ Storage blktests - nvme-tcp
🚧 ✅ stress: stress-ng - interrupt
🚧 ✅ stress: stress-ng - cpu
🚧 ✅ stress: stress-ng - cpu-cache
🚧 ✅ stress: stress-ng - memory
x86_64:
Host 1:
🚧 ✅ SELinux Custom Module Setup
✅ Boot test
✅ Reboot test
✅ xfstests - ext4
✅ xfstests - xfs
✅ xfstests - nfsv4.2
✅ lvm thinp sanity
✅ Storage: swraid mdadm raid_module test
🚧 ✅ xfstests - btrfs
🚧 ✅ xfstests - cifsv3.11
🚧 ✅ Storage blktests - blk
🚧 ✅ Storage blktests - nvme-tcp
🚧 ✅ Storage block - filesystem fio test
🚧 ✅ Storage block - queue scheduler test
🚧 ✅ Storage block - storage fio numa
🚧 ✅ Storage: lvm device-mapper test - upstream
🚧 ✅ storage: software RAID testing
🚧 ✅ stress: stress-ng - interrupt
🚧 ✅ stress: stress-ng - cpu
🚧 ✅ stress: stress-ng - cpu-cache
🚧 ✅ stress: stress-ng - memory
Host 2:
🚧 ✅ SELinux Custom Module Setup
✅ Boot test
✅ Reboot test
✅ ACPI table test
❌ LTP - cve
✅ LTP - sched
❌ LTP - syscalls
✅ LTP - can
✅ LTP - commands
❌ LTP - containers
✅ LTP - dio
✅ LTP - fs
✅ LTP - fsx
✅ LTP - math
✅ LTP - hugetlb
✅ LTP - mm
✅ LTP - nptl
✅ LTP - pty
✅ LTP - ipc
❌ LTP - tracing
✅ LTP: openposix test suite
✅ CIFS Connectathon
✅ Loopdev Sanity
✅ Memory: fork_mem
✅ Memory function: memfd_create
✅ AMTU (Abstract Machine Test Utility)
✅ Ethernet drivers sanity
🚧 ❌ xarray-idr-radixtree-test
🚧 ✅ NFS Connectathon
Host 3:
🚧 ✅ SELinux Custom Module Setup
✅ Boot test
✅ Reboot test
🚧 ✅ Storage blktests - nvmeof-mp
Test sources: https://gitlab.com/cki-project/kernel-tests
💚 Pull requests are welcome for new tests or improvements to existing tests!
Aborted tests
-------------
Tests that didn't complete running successfully are marked with ⚡⚡⚡.
If this was caused by an infrastructure issue, we try to mark that
explicitly in the report.
Waived tests
------------
If the test run included waived tests, they are marked with 🚧. Such tests are
executed but their results are not taken into account. Tests are waived when
their results are not reliable enough, e.g. when they're just introduced or are
being fixed.
Testing timeout
---------------
We aim to provide a report within reasonable timeframe. Tests that haven't
finished running yet are marked with ⏱.
2 years, 1 month
[OS-BUILD PATCH] redhat/configs: Enable CONFIG_RCU_SCALE_TEST &
CONFIG_RCU_REF_SCALE_TEST
by Waiman Long (via Email Bridge)
From: Waiman Long <longman(a)redhat.com>
redhat/configs: Enable CONFIG_RCU_SCALE_TEST & CONFIG_RCU_REF_SCALE_TEST
Enable CONFIG_RCU_SCALE_TEST and CONFIG_RCU_REF_SCALE_TEST to build
the rcuscale and refscale test kernel modules to be included in
kernel-modules-internal rpm to be used for internal QE testing.
Signed-off-by: Waiman Long <longman(a)redhat.com>
diff --git a/redhat/configs/common/generic/CONFIG_RCU_REF_SCALE_TEST b/redhat/configs/common/generic/CONFIG_RCU_REF_SCALE_TEST
index blahblah..blahblah 100644
--- a/redhat/configs/common/generic/CONFIG_RCU_REF_SCALE_TEST
+++ b/redhat/configs/common/generic/CONFIG_RCU_REF_SCALE_TEST
@@ -1 +1 @@
-# CONFIG_RCU_REF_SCALE_TEST is not set
+CONFIG_RCU_REF_SCALE_TEST=m
diff --git a/redhat/configs/common/generic/CONFIG_RCU_SCALE_TEST b/redhat/configs/common/generic/CONFIG_RCU_SCALE_TEST
index blahblah..blahblah 100644
--- a/redhat/configs/common/generic/CONFIG_RCU_SCALE_TEST
+++ b/redhat/configs/common/generic/CONFIG_RCU_SCALE_TEST
@@ -1 +1 @@
-# CONFIG_RCU_SCALE_TEST is not set
+CONFIG_RCU_SCALE_TEST=m
diff --git a/redhat/configs/common/generic/s390x/zfcpdump/CONFIG_RCU_REF_SCALE_TEST b/redhat/configs/common/generic/s390x/zfcpdump/CONFIG_RCU_REF_SCALE_TEST
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/common/generic/s390x/zfcpdump/CONFIG_RCU_REF_SCALE_TEST
@@ -0,0 +1 @@
+# CONFIG_RCU_REF_SCALE_TEST is not set
diff --git a/redhat/configs/common/generic/s390x/zfcpdump/CONFIG_RCU_SCALE_TEST b/redhat/configs/common/generic/s390x/zfcpdump/CONFIG_RCU_SCALE_TEST
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/common/generic/s390x/zfcpdump/CONFIG_RCU_SCALE_TEST
@@ -0,0 +1 @@
+# CONFIG_RCU_SCALE_TEST is not set
diff --git a/redhat/configs/ark/generic/s390x/zfcpdump/CONFIG_RCU_TORTURE_TEST b/redhat/configs/common/generic/s390x/zfcpdump/CONFIG_RCU_TORTURE_TEST
rename from redhat/configs/ark/generic/s390x/zfcpdump/CONFIG_RCU_TORTURE_TEST
rename to redhat/configs/common/generic/s390x/zfcpdump/CONFIG_RCU_TORTURE_TEST
index blahblah..blahblah 100644
--- a/redhat/configs/ark/generic/s390x/zfcpdump/CONFIG_RCU_TORTURE_TEST
+++ b/redhat/configs/common/generic/s390x/zfcpdump/CONFIG_RCU_TORTURE_TEST
diff --git a/redhat/mod-internal.list b/redhat/mod-internal.list
index blahblah..blahblah 100644
--- a/redhat/mod-internal.list
+++ b/redhat/mod-internal.list
@@ -45,6 +45,7 @@ test_klp_state2
test_klp_state3
torture
refscale
+rcuscale
memcpy_kunit
dev_addr_lists_test
test_hash
--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1726
2 years, 1 month