[OS-BUILD PATCH] Fix RHDISTGIT for Fedora
by Justin M. Forbes (via Email Bridge)
From: Justin M. Forbes <jforbes(a)fedoraproject.org>
Fix RHDISTGIT for Fedora
While the existing setup worked fine for users not setting up an
RHDISTGIT_CACHE, it fails once you do because there was no entry to
properly push to the Fedora dist-git.
Signed-off-by: Justin M. Forbes <jforbes(a)fedoraproject.org>
diff --git a/redhat/Makefile.rhpkg b/redhat/Makefile.rhpkg
index blahblah..blahblah 100644
--- a/redhat/Makefile.rhpkg
+++ b/redhat/Makefile.rhpkg
@@ -27,13 +27,15 @@ ifeq ("$(RHDISTGIT_CACHE)", "")
endif
endif
-ifneq ("$(DISTRO)", "centos")
- RHDISTGIT:="ssh://$(RHDISTGIT_USER)@pkgs.devel.redhat.com/rpms/$(PACKAGE_NAME)"
-else
+ifeq ("$(DISTRO)", "fedora")
+ RHDISTGIT:="ssh://$(RHDISTGIT_USER)@pkgs.fedoraproject.org/rpms/$(PACKAGE_NAME)"
+else ifeq ("$(DISTRO)", "centos")
# CentOS uses a fork + merge request based workflow with dist-git to
# handle changes, so you need to provide the gitlab username and we by
# default set the default user's fork path. The dist-git target in
# redhat/Makefile has a check to see if the variable is not set.
GL_FORK_PATH?=$(PACKAGE_NAME).git
RHDISTGIT:=git@gitlab.com:$(GL_DISTGIT_USER)/$(GL_FORK_PATH)
+else
+ RHDISTGIT:="ssh://$(RHDISTGIT_USER)@pkgs.devel.redhat.com/rpms/$(PACKAGE_NAME)"
endif
--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1683
2 years, 1 month
[OS-BUILD PATCH] redhat/configs/process_configs.sh: Fix race with
tools
generation
by Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava <prarit(a)redhat.com>
redhat/configs/process_configs.sh: Fix race with tools generation
Kernel builds are occasionally failing with (for example):
Processing /home/prarit/rpmbuild/BUILD/kernel-5.17/linux-5.17.0-0.test.fc35.x86_64/configs/kernel-5.17.0-s390x.config ...
Processing /home/prarit/rpmbuild/BUILD/kernel-5.17/linux-5.17.0-0.test.fc35.x86_64/configs/kernel-5.17.0-x86_64-debug.config ...
Processing /home/prarit/rpmbuild/BUILD/kernel-5.17/linux-5.17.0-0.test.fc35.x86_64/configs/kernel-5.17.0-x86_64.config ...
/bin/sh: line 1: scripts/basic/fixdep: Text file busy
make[1]: *** [scripts/Makefile.host:95: scripts/basic/fixdep] Error 126
make[1]: *** Deleting file 'scripts/basic/fixdep'
make: *** [Makefile:559: scripts_basic] Error 2
/bin/sh: line 1: scripts/basic/fixdep: Text file busy
make[1]: *** [scripts/Makefile.host:95: scripts/basic/fixdep] Error 126
make[1]: *** Deleting file 'scripts/basic/fixdep'
make: *** [Makefile:559: scripts_basic] Error 2
This occurs because the makes are conflicting with one another to create
the same files. This can be fixed by having the first make run on it's
own, and then having the remainder run in parallel.
Signed-off-by: Prarit Bhargava <prarit(a)redhat.com>
diff --git a/redhat/configs/process_configs.sh b/redhat/configs/process_configs.sh
index blahblah..blahblah 100755
--- a/redhat/configs/process_configs.sh
+++ b/redhat/configs/process_configs.sh
@@ -304,6 +304,11 @@ function process_configs()
count=0
for cfg in "$SCRIPT_DIR/${PACKAGE_NAME}${KVERREL}${SUBARCH}"*.config
do
+ if [ "$count" -eq 0 ]; then
+ # do the first one by itself so that tools are built
+ process_config "$cfg" "$count"
+ continue
+ fi
process_config "$cfg" "$count" &
waitpids[${count}]=$!
((count++))
--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1673
2 years, 1 month
[OS-BUILD PATCH 0/2] Remove CONFIG_SND_SOC_SOF_DEBUG_PROBES files
by Patrick Talbert (via Email Bridge)
From: Patrick Talbert on gitlab.com
Merge Request: https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1682
Since 3dc0d7091778 ('ASoC: SOF: Convert the generic probe support to
SOF client') the SND_SOC_SOF_DEBUG_PROBES config item is no longer
user-selectable. Remove the CONFIG_SND_SOC_SOF_DEBUG_PROBES files to
prevent config evaluation failures.
Signed-off-by: Patrick Talbert <ptalbert(a)redhat.com>
---
redhat/configs/common/debug/CONFIG_SND_SOC_SOF_DEBUG_PROBES | 1 -
redhat/configs/fedora/generic/x86/CONFIG_SND_AMD_ACP_CONFIG => redhat/configs/common/generic/x86/CONFIG_SND_AMD_ACP_CONFIG | 0
redhat/configs/common/generic/CONFIG_SND_SOC_SOF_DEBUG_PROBES | 1 -
redhat/configs/fedora/generic/CONFIG_SND_AMD_ACP_CONFIG | 1 -
4 files changed, 0 insertions(+), 3 deletions(-)
2 years, 1 month
❌ FAIL: Test report for kernel 5.16.17-200.fc35 (fedora-35)
by CKI Project
Hello,
We ran automated tests on the following kernel build:
Kernel package: kernel-5.16.17-200.fc35
Task URL: https://koji.fedoraproject.org/koji/taskinfo?taskID=84602059
The results of these automated tests are provided below.
Overall result: FAILED (see details below)
Tests: FAILED
One or more kernel tests failed:
aarch64:
❌ LTP - syscalls
ppc64le:
❌ LTP - syscalls
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
✅ 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 2:
⚡ 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
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 - srp
Host 4:
🚧 ✅ 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
🚧 ✅ stress: stress-ng - os
Host 5:
🚧 ✅ SELinux Custom Module Setup
✅ Boot test
✅ Reboot test
🚧 ✅ Storage blktests - nvmeof-mp
ppc64le:
Host 1:
🚧 ✅ SELinux Custom Module Setup
✅ Boot test
✅ Reboot test
🚧 ✅ Storage blktests - srp
Host 2:
🚧 ✅ 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 3:
🚧 ✅ 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 4:
🚧 ✅ 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
✅ 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
🚧 ✅ stress: stress-ng - os
Host 3:
🚧 ✅ 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
x86_64:
Host 1:
🚧 ✅ 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 2:
🚧 ✅ SELinux Custom Module Setup
✅ Boot test
✅ Reboot test
🚧 ✅ Storage blktests - srp
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
✅ 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
🚧 ⚡⚡⚡ stress: stress-ng - os
Host 4:
🚧 ✅ 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] Add new kunit tests for 5.18 to mod-internal.list
by Justin M. Forbes (via Email Bridge)
From: Justin M. Forbes <jforbes(a)fedoraproject.org>
Add new kunit tests for 5.18 to mod-internal.list
Two new kunit tests came in during the merge window so far,
stackinit_kunit and overflow_kunit. Add them to mod-internal.list so
that depmod works correctly and they can find their needed symbols.
Signed-off-by: Justin M. Forbes <jforbes(a)fedoraproject.org>
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
@@ -49,3 +49,5 @@ memcpy_kunit
dev_addr_lists_test
test_hash
test_bpf
+stackinit_kunit
+overflow_kunit
--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1674
2 years, 1 month
[OS-BUILD PATCH] redhat/Makefile: Fix dist-git
by Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava <prarit(a)redhat.com>
redhat/Makefile: Fix dist-git
dist-git is failing to construct an SRPM on ark-latest with
error: Bad file:
/data/src/redhat/kernel-ark/redhat/rpm/SOURCES/kernel-kabi-dw-5.18.0-0.rc0.20220322git519129040766.4.tar.bz2:
No such file or directory
error: Bad file:
/data/src/redhat/kernel-ark/redhat/rpm/SOURCES/kernel-abi-stablelists-5.18.0-0.rc0.20220322git519129040766.4.tar.bz2:
No such file or directory
This occurs because dist-git increments the value of RPMKPATCHLEVEL by
one, which affects KVERSION.
Move the calclulation of KVERSION after the increment of RPMKPATCHLEVEL,
and fix the dist-git target.
Tested-by: Justin M. Forbes <jforbes(a)fedoraproject.org>
Signed-off-by: Prarit Bhargava <prarit(a)redhat.com>
diff --git a/redhat/Makefile b/redhat/Makefile
index blahblah..blahblah 100644
--- a/redhat/Makefile
+++ b/redhat/Makefile
@@ -33,7 +33,6 @@ RPMKVERSION:=$(shell $(GIT) show $(HEAD):Makefile | sed -ne '/^VERSION\ =\ /{s//
RPMKPATCHLEVEL:=$(shell $(GIT) show $(HEAD):Makefile | sed -ne '/^PATCHLEVEL\ =\ /{s///;p;q}')
RPMKSUBLEVEL:=$(shell $(GIT) show $(HEAD):Makefile | sed -ne '/^SUBLEVEL\ =\ /{s///;p;q}')
RPMKEXTRAVERSION:=$(shell $(GIT) show $(HEAD):Makefile | sed -ne '/^EXTRAVERSION\ =\ /{s///;p;q}')
-KVERSION:=$(RPMKVERSION).$(RPMKPATCHLEVEL).$(RPMKSUBLEVEL)
GITID:= $(shell $(GIT) log --max-count=1 --pretty=format:%H $(HEAD))
ifndef BUILD
BUILD:=$(RHEL_RELEASE)
@@ -182,6 +181,7 @@ ifeq ($(VERSION_ON_UPSTREAM),1)
endif
endif
+KVERSION:=$(RPMKVERSION).$(RPMKPATCHLEVEL).$(RPMKSUBLEVEL)
DISTRO_BUILD:=$(PREBUILD)$(shell echo $(BUILD) | sed -e 's|\(^[0-9]\{1,4\}\)\..*|\1|')
KABI_TARBALL:=$(SOURCES)/kernel-abi-stablelists-$(KVERSION)-$(DISTRO_BUILD).tar.bz2
KABIDW := $(REDHAT)/kabi-dwarf
--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1672
2 years, 1 month
[OS-BUILD PATCH 0/2] redhat/configs: remove unnecessary GPIO Kconfig
options
by Brian Masney (via Email Bridge)
From: Brian Masney on gitlab.com
Merge Request: https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1671
This removes some GPIO related Kconfig options that are no longer needed.
Signed-off-by: Brian Masney <bmasney(a)redhat.com>
---
redhat/configs/ark/generic/arm/aarch64/CONFIG_GPIO_AMDPT | 1 -
redhat/configs/ark/generic/arm/aarch64/CONFIG_GPIO_GENERIC_PLATFORM | 1 -
redhat/configs/ark/generic/arm/aarch64/CONFIG_MFD_VIPERBOARD | 1 -
redhat/configs/ark/generic/CONFIG_GPIO_AMDPT | 1 +
redhat/configs/common/generic/CONFIG_GPIO_VIPERBOARD | 2 +-
redhat/configs/common/generic/CONFIG_I2C_VIPERBOARD | 2 +-
redhat/configs/common/generic/CONFIG_MFD_VIPERBOARD | 2 +-
7 files changed, 4 insertions(+), 6 deletions(-)
2 years, 1 month
Fedora kernel emails: too much or just right?
by Donald Zickus
Hi,
It has been awhile since we changed how this mailing list is used. As
folks have noticed, we have increased traffic significantly over the
past couple of years to reflect the activity Red Hat developers are
performing on the Fedora kernel.
My question to this list is around the thoughts of this activity:
* Is there too much noise? Should we throttle back?
* is the volume ok? Folks have good filters?
* Other suggestions on how we use this list?
Trying to continue to make this mailing list useful.
Thanks for any feedback!
Cheers,
Don
2 years, 1 month
[OS-BUILD PATCH] Define SNAPSHOT correctly when VERSION_ON_UPSTREAM
is 0
by Justin M. Forbes (via Email Bridge)
From: Justin M. Forbes <jforbes(a)fedoraproject.org>
Define SNAPSHOT correctly when VERSION_ON_UPSTREAM is 0
The Makefile changes cleaned things up quite a bit, but left out the
else to define SNAPSHOT when VERSION_ON_UPSTREAM:=0. The result was as
specfile with debugbuildsenabled set incorrectly.
Signed-off-by: Justin M. Forbes <jforbes(a)fedoraproject.org>
diff --git a/redhat/Makefile b/redhat/Makefile
index blahblah..blahblah 100644
--- a/redhat/Makefile
+++ b/redhat/Makefile
@@ -180,6 +180,8 @@ ifeq ($(VERSION_ON_UPSTREAM),1)
endif
UPSTREAM_TARBALL_NAME:=$(patsubst v%,%,$(_TAG))
endif
+else
+ SNAPSHOT:=0
endif
DISTRO_BUILD:=$(PREBUILD)$(shell echo $(BUILD) | sed -e 's|\(^[0-9]\{1,4\}\)\..*|\1|')
--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1655
2 years, 1 month