-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ZTS: add centos stream10 #16904
ZTS: add centos stream10 #16904
Conversation
Some tests failed:
|
I like more targets to test on, but I'm reluctant to automatically test on CentOS Stream by default. Stream is not supported by OpenZFS since it's such a moving target. I would hate to have people's PRs suddenly have test failures simply because Stream changed something under the rug. That said, would you consider making this an optional, Example: (code below is untested) diff --git a/.github/workflows/zfs-qemu.yml b/.github/workflows/zfs-qemu.yml
index 4748e90db..1d72650de 100644
--- a/.github/workflows/zfs-qemu.yml
+++ b/.github/workflows/zfs-qemu.yml
@@ -3,6 +3,18 @@ name: zfs-qemu
on:
push:
pull_request:
+ workflow_dispatch:
+ inputs:
+ include_stream9:
+ type: boolean
+ required: false
+ default: false
+ description: 'Test on CentOS 9 stream'
+ include_stream10:
+ type: boolean
+ required: false
+ default: false
+ description: 'Test on CentOS 10 stream'
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
@@ -37,6 +49,15 @@ jobs:
os_selection="$FULL_OS"
fi
os_json=$(echo ${os_selection} | jq -c)
+
+ # Add on optional runners
+ if [ ${{ github.event.inputs.include_stream9 }} == "true" ] ; then
+ os_json="$(echo $os_json | jq -c '. += ["centos-stream9"]')"
+ fi
+ if [ ${{ github.event.inputs.include_stream10 }} == "true" ] ; then
+ os_json="$(echo $os_json | jq -c '. += ["centos-stream10"]')"
+ fi
+
echo "os=$os_json" >> $GITHUB_OUTPUT
echo "ci_type=$ci_type" >> $GITHUB_OUTPUT NOTE! If you want these nice |
So should I remove See results of https://github.com/hanthor/zfs/actions/runs/12512921350/job/34906851668 for |
Yes, I think that centos9-stream should be optionally run via |
Added centos as optional runners via workflow_dispatch removed centos-stream9 from the FULL_OS runner list as CentOS is not officially support by ZFS. This commit will add preliminary support for EL10 and allow testing ZFS ahead of EL10 codebase solidifying in ~6 months Signed-off-by: James Reilly <[email protected]>
CentOS Stream is objectively less of a moving target than Fedora, yet Fedora releases are in FULL_OS list. Logically either CentOS Stream belongs in that list too, or Fedora releases should be optional like CentOS Stream. |
@carlwgeorge ah that's true, and thinking about it Fedora would catch 99% of those issues first anyway. That said, I don't know what testing Stream by default really gets us that Fedora+Alma does not. Adding more runners isn't free since we're limited to ~20 concurrent or something by our GH account. There may be value in a build-only Stream runner that doesn't run the test suite though. We've run into a few instances where RHEL's Frankenstein kernel has pulled in code from newer kernels that broke our build, for example. |
Testing on CentOS Stream would give you several months advance notice of changes coming to the RHEL kernel. CentOS Stream 9 has RHEL 9.6 kernel changes while RHEL 9 and RHEL 9 derivatives are still on 9.5. CentOS Stream 10 has RHEL 10.0 kernel changes before RHEL 10.0 is released (which are not part of RHEL 10 Beta). CentOS Stream changes are not just random things thrown at the wall, they are changes that have passed RHEL QA that are queued up for the next minor version of RHEL. If a change there is going to affect your builds you'll have to deal with it eventually, either when it's available in CentOS Stream or when it lands in RHEL. Only testing on Fedora and Alma leaves you with a significant blind spot where incoming RHEL changes are known publicly but not tested against. This blind spot results in longer delays in offering compatibility with new RHEL minor versions. See also #11320 (comment). |
Added centos as optional runners via workflow_dispatch removed centos-stream9 from the FULL_OS runner list as CentOS is not officially support by ZFS. This commit will add preliminary support for EL10 and allow testing ZFS ahead of EL10 codebase solidifying in ~6 months Signed-off-by: James Reilly <[email protected]> Reviewed-by: Tony Hutter <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: Tino Reichardt <[email protected]>
Motivation and Context
CentOS-stream10 is out. It would be nice to have ZFS support
We will be adding stream9 and stream10 as optional runners for testing incoming EL changes. As CentOS Stream does not have official ZFS support
Description
I copied the work to add fedora 41 from here: #16700
How Has This Been Tested?
It has been built in CI on my fork, will be testing in CI with this draft PR
Types of changes
Checklist:
Signed-off-by
](https://github.com/openzfs/zfs/blob/master/.github/CONTRIBUTING.md#signed-offsupport