Re: [OS-BUILD PATCH] redhat: bump libcpupower soname to match upstream

2023-08-29 Thread Justin M. Forbes (via Email Bridge)
From: Justin M. Forbes on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2663#note_1534375545

Added include in release as this actually failed today's ELN build.
___
kernel mailing list -- kernel@lists.fedoraproject.org
To unsubscribe send an email to kernel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


[OS-BUILD PATCH] redhat: bump libcpupower soname to match upstream

2023-08-29 Thread Patrick Talbert (via Email Bridge)
From: Patrick Talbert 

redhat: bump libcpupower soname to match upstream

Since d7de5d8e ('cpupower: Bump soname version') the cpupower library
soname has been bumped from libcpupower.so.0 to libcpupower.so.1.

Signed-off-by: Patrick Talbert 

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
@@ -3471,7 +3471,7 @@ fi\
 
 %ifarch %{cpupowerarchs}
 %files -n %{package_name}-tools-libs
-%{_libdir}/libcpupower.so.0
+%{_libdir}/libcpupower.so.1
 %{_libdir}/libcpupower.so.0.0.1
 
 %files -n %{package_name}-tools-libs-devel

--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2663
___
kernel mailing list -- kernel@lists.fedoraproject.org
To unsubscribe send an email to kernel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: [OS-BUILD PATCHv2] Fix tarball creation logic

2023-08-29 Thread Patrick Talbert (via Email Bridge)
From: Patrick Talbert on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2658#note_1534366910

We now have d7de5d8e403a1293e10f8f59a1f2db320232c831 so the references to
libcpupower.so.0 in the spec template need to be updated to libcpupower.so.1.

It was pulled in with last night's update and has nothing to do with this MR.
___
kernel mailing list -- kernel@lists.fedoraproject.org
To unsubscribe send an email to kernel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: [OS-BUILD PATCHv2] Fix tarball creation logic

2023-08-29 Thread Don Zickus (via Email Bridge)
From: Don Zickus on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2658#note_1534220423

@mh21 - i am a little lost here.  I am just tweaking a tarball creation check.
I don't think the tarball is cached in the containers so I was expecting the
tarball to be fresh every CI run which makes this change a no-op but the CI
pieces keep failing.  Just scratching my head.  Thoughts?
___
kernel mailing list -- kernel@lists.fedoraproject.org
To unsubscribe send an email to kernel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


[OS-BUILD PATCHv2] Fix tarball creation logic

2023-08-29 Thread Don Zickus (via Email Bridge)
From: Don Zickus 

Fix tarball creation logic

The create tarball logic tried to determine if the tarball existed or
not by using a git sha.  However the check always failed because the
current sha was shortened and the tarball sha was the full 40 digits.

Correct this by converting the shortened sha into the full sha so the
comparison actually works.

Signed-off-by: Don Zickus 

diff --git a/redhat/scripts/create-tarball.sh b/redhat/scripts/create-tarball.sh
index blahblah..blahblah 100755
--- a/redhat/scripts/create-tarball.sh
+++ b/redhat/scripts/create-tarball.sh
@@ -9,6 +9,9 @@ XZ_THREADS="--threads $RHJOBS"
 ARCH=$(arch)
 XZ_OPTIONS=""
 
+# convert from shortened git sha to standard 40 digit git sha
+_GITID="$(git rev-parse "$_GITID")"
+
 if [ "$ARCH" != "x86_64" ]
 then
 XZ_OPTIONS="-M 3G"

--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2658
___
kernel mailing list -- kernel@lists.fedoraproject.org
To unsubscribe send an email to kernel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: [OS-BUILD PATCHv2] redhat: drop unneeded build-time dependency gcc-plugin-devel

2023-08-29 Thread Joe Lawrence (via Email Bridge)
From: Joe Lawrence on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2656#note_1533837661

Red Hat does not provide kpatch-build in the kpatch package as we don't
support customers creating and running their own kpatches.  For kpatch-patch
packages, we do manage the build requirements (including the gcc plugin on
ppc64le) in its own dist-git repo.  @coxu found the issues/tickets where we
noted as much in the upstream project README.md.  So tl/dr; kpatch is OK with
removing this as a _kernel_ build requirement.
___
kernel mailing list -- kernel@lists.fedoraproject.org
To unsubscribe send an email to kernel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


[OS-BUILD PATCHv4] Disable tests for ELN realtime pipelines

2023-08-29 Thread Michael Hofmann (via Email Bridge)
From: Michael Hofmann 

Disable tests for ELN realtime pipelines

There is no real realtime variant on ELN atm as the realtime code is not
yet merged upstream.

Part of 
https://gitlab.com/redhat/centos-stream/tests/kernel/kpet-db/-/issues/134

Signed-off-by: Michael Hofmann 

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index blahblah..blahblah 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -208,12 +208,12 @@ eln_debug_baseline:
   extends: [.baseline, .trigger_eln, .reported_tests, .ark_latest_head]
   variables: *eln-up-debug
 
-eln_realtime_baseline:
-  extends: [.baseline, .trigger_eln, .reported_tests, .ark_latest_head]
+eln_realtime_baseline:  # no tests as realtime code not present upstream
+  extends: [.baseline, .trigger_eln, .no_tests, .ark_latest_head]
   variables: *eln-rt
 
-eln_realtime_debug_baseline:
-  extends: [.baseline, .trigger_eln, .reported_tests, .ark_latest_head]
+eln_realtime_debug_baseline:  # no tests as realtime code not present upstream
+  extends: [.baseline, .trigger_eln, .no_tests, .ark_latest_head]
   variables: *eln-rt-debug
 
 eln_64k_baseline:

--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2657
___
kernel mailing list -- kernel@lists.fedoraproject.org
To unsubscribe send an email to kernel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: [OS-BUILD PATCHv2] redhat: drop unneeded build-time dependency gcc-plugin-devel

2023-08-29 Thread Coiby Xu (via Email Bridge)
From: Coiby Xu on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2656#note_1533623825

@prarit According to [issue: doc: add gcc-plugin-devel package dep to
readme](https://github.com/dynup/kpatch/issues/888) and [commit 63a94b8 ("gcc-
plugin: create a ppc64le GCC plugin which inserts nops after local calls")](ht
tps://github.com/dynup/kpatch/commit/63a94b832327dc2c8669af7f2029e3d163b37406)
, gcc-plugin-devel is only needed for building gcc-plugins/ppc64le-plugin.so.
So I think it's ppc64le kpatch-build users' responsibility to add this
dependency and we shouldn't add this dependency to kernel. Btw, I find we only
[package kpatch](https://gitlab.com/redhat/centos-stream/rpms/kpatch) but not
kpatch-build (we should add this build-time dependency gcc-plugin-devel to
kpatch-build if we package kpatch-build).
___
kernel mailing list -- kernel@lists.fedoraproject.org
To unsubscribe send an email to kernel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: [OS-BUILD PATCH] Fix tarball creation logic

2023-08-29 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2658#note_1533599549

Maybe

```
# convert to short string sha
```
?
___
kernel mailing list -- kernel@lists.fedoraproject.org
To unsubscribe send an email to kernel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: [OS-BUILD PATCHv2] Disable ELN realtime pipelines

2023-08-29 Thread Jan Stancek (via Email Bridge)
From: Jan Stancek on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2657#note_1533491690

While it's not merged upstream, don't we at least want to keep compile check
for realtime variant? Maybe set it to manual trigger, so we save resources.
___
kernel mailing list -- kernel@lists.fedoraproject.org
To unsubscribe send an email to kernel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


[OS-BUILD PATCHv2] Disable ELN realtime pipelines

2023-08-29 Thread Michael Hofmann (via Email Bridge)
From: Michael Hofmann 

Disable ELN realtime pipelines

There is no real realtime variant on ELN atm as the realtime code is not
yet merged upstream.

Part of 
https://gitlab.com/redhat/centos-stream/tests/kernel/kpet-db/-/issues/134

Signed-off-by: Michael Hofmann 

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index blahblah..blahblah 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -139,14 +139,6 @@ workflow:
 rpmbuild_with: up dbgonly
 package_name: kernel-debug
 architectures: x86_64 aarch64 s390x ppc64le
-  eln-rt: &eln-rt
-rpmbuild_with: realtime
-package_name: kernel-rt
-architectures: x86_64
-  eln-rt-debug: &eln-rt-debug
-rpmbuild_with: realtime dbgonly
-package_name: kernel-rt-debug
-architectures: x86_64
   eln-64k: &eln-64k
 rpmbuild_with: arm64_64k
 package_name: kernel-64k
@@ -183,14 +175,6 @@ eln_debug_merge_request:
   extends: [.merge_request, .trigger_eln, .no_tests, .manual_for_bot]
   variables: *eln-up-debug
 
-eln_realtime_merge_request:
-  extends: [.merge_request, .trigger_eln, .no_tests, .manual_for_bot]
-  variables: *eln-rt
-
-eln_realtime_debug_merge_request:
-  extends: [.merge_request, .trigger_eln, .no_tests, .manual_for_bot]
-  variables: *eln-rt-debug
-
 eln_64k_merge_request:
   extends: [.merge_request, .trigger_eln, .no_tests, .manual_for_bot]
   variables: *eln-64k
@@ -208,14 +192,6 @@ eln_debug_baseline:
   extends: [.baseline, .trigger_eln, .reported_tests, .ark_latest_head]
   variables: *eln-up-debug
 
-eln_realtime_baseline:
-  extends: [.baseline, .trigger_eln, .reported_tests, .ark_latest_head]
-  variables: *eln-rt
-
-eln_realtime_debug_baseline:
-  extends: [.baseline, .trigger_eln, .reported_tests, .ark_latest_head]
-  variables: *eln-rt-debug
-
 eln_64k_baseline:
   extends: [.baseline, .trigger_eln, .reported_tests, .ark_latest_head]
   variables: *eln-64k

--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2657
___
kernel mailing list -- kernel@lists.fedoraproject.org
To unsubscribe send an email to kernel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: [OS-BUILD PATCHv3] Disable tests for ELN realtime pipelines

2023-08-29 Thread Michael Hofmann (via Email Bridge)
From: Michael Hofmann on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2657#note_1533516788

updated to just disable tests on the baselines
___
kernel mailing list -- kernel@lists.fedoraproject.org
To unsubscribe send an email to kernel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


[OS-BUILD PATCHv3] Disable tests for ELN realtime pipelines

2023-08-29 Thread Michael Hofmann (via Email Bridge)
From: Michael Hofmann 

Disable tests for ELN realtime pipelines

There is no real realtime variant on ELN atm as the realtime code is not
yet merged upstream.

Part of 
https://gitlab.com/redhat/centos-stream/tests/kernel/kpet-db/-/issues/134

Signed-off-by: Michael Hofmann 

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index blahblah..blahblah 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -208,12 +208,12 @@ eln_debug_baseline:
   extends: [.baseline, .trigger_eln, .reported_tests, .ark_latest_head]
   variables: *eln-up-debug
 
-eln_realtime_baseline:
-  extends: [.baseline, .trigger_eln, .reported_tests, .ark_latest_head]
+eln_realtime_baseline:  # no tests as realtime code not present upstream
+  extends: [.baseline, .trigger_eln, .no_tests, .ark_latest_head]
   variables: *eln-rt
 
-eln_realtime_debug_baseline:
-  extends: [.baseline, .trigger_eln, .reported_tests, .ark_latest_head]
+eln_realtime_debug_baseline:  # no tests as realtime code not present upstream
+  extends: [.baseline, .trigger_eln, .no_tests, .ark_latest_head]
   variables: *eln-rt-debug
 
 eln_64k_baseline:

--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2657
___
kernel mailing list -- kernel@lists.fedoraproject.org
To unsubscribe send an email to kernel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: [OS-BUILD PATCHv2] Disable ELN realtime pipelines

2023-08-29 Thread Michael Hofmann (via Email Bridge)
From: Michael Hofmann on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2657#note_1533512561

sure, if you consider that useful!
___
kernel mailing list -- kernel@lists.fedoraproject.org
To unsubscribe send an email to kernel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


[OS-BUILD PATCHv2] redhat: drop unneeded build-time dependency gcc-plugin-devel

2023-08-29 Thread Coiby Xu (via Email Bridge)
From: Coiby Xu 

redhat: drop unneeded build-time dependency gcc-plugin-devel

gcc-plugin-devel was added as a build-time dependency because
CONFIG_GCC_PLUGINS was enabled in commit 4f367b12148d ("redhat/configs:
Enable CONFIG_GCC_PLUGINS on ARK").

Later commit a310e189d2bb ("redhat/configs: Disable CONFIG_GCC_PLUGINS")
disabled CONFIG_GCC_PLUGINS, thus now gcc-plugin-devel is no longer
needed for building the kernel.

Fixes: a310e189d2bb ("redhat/configs: Disable CONFIG_GCC_PLUGINS")
Signed-off-by: Coiby Xu 

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
@@ -665,7 +665,6 @@ BuildRequires: gcc, binutils, redhat-rpm-config, hmaccalc, 
bison, flex, gcc-c++
 BuildRequires: net-tools, hostname, bc, elfutils-devel
 BuildRequires: dwarves
 BuildRequires: python3-devel
-BuildRequires: gcc-plugin-devel
 BuildRequires: kernel-rpm-macros
 # glibc-static is required for a consistent build environment (specifically
 # CONFIG_CC_CAN_LINK_STATIC=y).

--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2656
___
kernel mailing list -- kernel@lists.fedoraproject.org
To unsubscribe send an email to kernel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue