From: Prarit Bhargava on gitlab.com
Merge Request: https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2723
There are subpackages that won't compile due to architectural differences
and cross compiling packaging issues. Disable these packages from cross
compiling. This shouldn't be a shock as CKI is not building these in
cross compiles either.
Signed-off-by: Prarit Bhargava <prarit(a)redhat.com>
---
redhat/Makefile.cross | 45 ++++++++++++++++++++++++---------------------
1 files changed, 24 insertions(+), 21 deletions(-)
From: Michael Hofmann on gitlab.com
Merge Request: https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2719
Currently, it is possible to only build the base variant by specifying
`--without debug`. The same is not true if one wants to only build the
debug variant.
Using `--with dbgonly` will disable base variants, but will also disable a
variety of other subpackages.
Keeping the design pattern introduced by `--without debug`, add a
`--without base`. Rework `--with dbgonly` to be a superset of this.
Convert `.gitlab-ci.yml` to use `--without debug` and --without base` to
select kernel variants.
This requires https://gitlab.com/cki-project/pipeline-
definition/-/merge_requests/1836 to be merged first. This ensures debug
kernels automatically get a `--without base`.
Signed-off-by: Michael Hofmann <mhofmann(a)redhat.com>
---
redhat/kernel.spec.template | 13 ++++++++-----
.gitlab-ci.yml | 16 ++++++++--------
2 files changed, 16 insertions(+), 13 deletions(-)
From: Michael Hofmann on gitlab.com
Merge Request: https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2719
Currently, it is possible to only build the base variant by specifying
`--without debug`. The same is not true if one wants to only build the
debug variant.
Using `--with dbgonly` will disable base variants, but will also disable a
variety of other subpackages.
Keeping the design pattern introduced by `--without debug`, add a
`--without base`. Rework `--with dbgonly` to be a superset of this.
Convert `.gitlab-ci.yml` to use `--without debug` and --without base` to
select kernel variants.
This requires https://gitlab.com/cki-project/pipeline-
definition/-/merge_requests/1836 to be merged first. This ensures debug
kernels automatically get a `--without base`.
Signed-off-by: Michael Hofmann <mhofmann(a)redhat.com>
---
redhat/kernel.spec.template | 13 ++++++++-----
.gitlab-ci.yml | 16 ++++++++--------
2 files changed, 16 insertions(+), 13 deletions(-)
Hi, we tested your kernel and here are the results:
Overall result: PASSED
Merge: OK
Compile: OK
Test: OK
Tested-by: CKI Project <cki-project(a)redhat.com>
Kernel information:
Brew / Koji Task ID: 106387241
You can find all the details about the test run at
https://datawarehouse.cki-project.org/kcidb/checkouts/105093
One or more kernel tests failed:
We also see the following known issues which are not related to your changes:
Issue: NFS Connectathon: SELinux prevents rpcbind
URL: https://bugzilla.redhat.com/1758147
Affected tests:
aarch64 - Filesystem - NFS Connectathon
x86_64 - Filesystem - NFS Connectathon
If you find a failure unrelated to your changes, please ask the test maintainer to review it.
This will prevent the failures from being incorrectly reported in the future.
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.
,-. ,-.
( C ) ( K ) Continuous
`-',-.`-' Kernel
( I ) Integration
`-'
______________________________________________________________________________
From: Prarit Bhargava <prarit(a)redhat.com>
kernel.spec.template: Fix --without bpftool
The selftests turn bpftool on unconditionally. If a user has specified
--without bpftool it means the user really wants to disable bpftool. In
this case the selftest should be disabled.
Disable selftests and output a message to the user disabled when --without
bpftool is specified.
Signed-off-by: Prarit Bhargava <prarit(a)redhat.com>
diff --git a/redhat/kernel.spec.template b/redhat/kernel.spec.template
index blahblah..blahblah 100644
--- a/redhat/kernel.spec.template
+++ b/redhat/kernel.spec.template
@@ -298,8 +298,6 @@ Summary: The Linux kernel
%define with_perf 0
%define with_tools 0
%define with_bpftool 0
-# selftests turns on bpftool
-%define with_selftests 0
# No realtime fedora variants
%define with_realtime 0
%define with_arm64_64k 0
@@ -445,9 +443,10 @@ Summary: The Linux kernel
%define use_vdso 1
%endif
-# selftests require bpftool to be built
-%if %{with_selftests}
-%define with_bpftool 1
+# selftests require bpftool to be built. If bpftools is disabled, then disable selftests
+%if %{with_bpftool} == 0
+%{echo:bpftools disabled ... disabling selftests}
+%define with_selftests 0
%endif
%ifnarch noarch
--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2720
From: Prarit Bhargava <prarit(a)redhat.com>
kernel.spec.template: Fix --without bpftool
The selftests turn bpftool on unconditionally. If a user has specified
--without bpftool it means the user really wants to disable bpftool. In
this case the selftest should be disabled.
Disable selftests and output a message to the user disabled when --without
bpftool is specified.
Signed-off-by: Prarit Bhargava <prarit(a)redhat.com>
diff --git a/redhat/kernel.spec.template b/redhat/kernel.spec.template
index blahblah..blahblah 100644
--- a/redhat/kernel.spec.template
+++ b/redhat/kernel.spec.template
@@ -447,8 +447,13 @@ Summary: The Linux kernel
# selftests require bpftool to be built
%if %{with_selftests}
+%if %{with_bpftool} == 0
+%{echo:Disabling selftests build: '--without bpftool' specified}
+%define with_selftests 0
+%else
%define with_bpftool 1
%endif
+%endif
%ifnarch noarch
%define with_kernel_abi_stablelists 0
--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2720
From: Don Zickus on gitlab.com
Merge Request: https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2709
NOTE: Truncated patchset since committer email 'mhofmann(a)redhat.com'
does not match the submitter's GitLab public email address
'dzickus(a)redhat.com'.
There is no easy way to test or debug scheduled job .gitlab-ci.yml
changes. Add infrastructure to allow pushes to a test-os-build area and
a scheduled job to play that branch.
Signed-off-by: Don Zickus <dzickus(a)redhat.com>
---
.gitlab-ci.yml | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
Hi, we tested your kernel and here are the results:
Overall result: PASSED
Merge: OK
Compile: OK
Test: OK
Tested-by: CKI Project <cki-project(a)redhat.com>
Kernel information:
Brew / Koji Task ID: 106142729
You can find all the details about the test run at
https://datawarehouse.cki-project.org/kcidb/checkouts/104298
One or more kernel tests failed:
We also see the following known issues which are not related to your changes:
Issue: NFS Connectathon: SELinux prevents rpcbind
URL: https://bugzilla.redhat.com/1758147
Affected tests:
s390x - Filesystem - NFS Connectathon
x86_64 - Filesystem - NFS Connectathon
If you find a failure unrelated to your changes, please ask the test maintainer to review it.
This will prevent the failures from being incorrectly reported in the future.
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.
,-. ,-.
( C ) ( K ) Continuous
`-',-.`-' Kernel
( I ) Integration
`-'
______________________________________________________________________________