Skip to content
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

v1.12 Backports 2024-02-08 #30678

Merged
merged 2 commits into from
Feb 9, 2024
Merged

Conversation

nbusseneau
Copy link
Member

@nbusseneau nbusseneau commented Feb 8, 2024

@nbusseneau nbusseneau added kind/backports This PR provides functionality previously merged into master. backport/1.12 This PR represents a backport for Cilium 1.12.x of a PR that was merged to main. labels Feb 8, 2024
Copy link
Member

@giorio94 giorio94 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@nbusseneau
Copy link
Member Author

/test-backport-1.12

@nbusseneau
Copy link
Member Author

External workloads and GKE testing are failing due to K8s 1.24 not being available on GKE anymore, the failures can be ignored as per our policy this means GKE testing will get removed in a separate PR because none of the K8s versions officially supported on 1.12 are available on GKE.

@nbusseneau
Copy link
Member Author

1.18 / 4.9 hit #27118.

@nbusseneau nbusseneau marked this pull request as ready for review February 8, 2024 17:25
@nbusseneau nbusseneau requested review from a team as code owners February 8, 2024 17:25
@nbusseneau
Copy link
Member Author

This should be ready to merge as soon as reviews are in, cf. previous messages for rationale to ignore failures.

@qmonnet qmonnet added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label Feb 8, 2024
qmonnet and others added 2 commits February 9, 2024 21:42
[ upstream commit 5581963 ]

This commit brings two fixes to the script that we use to determine to
which version we should upgrade/downgrade in some CI workflows.

The first fix is the most important one. When looking for the closest
patch version, make the script return the value in VERSION instead of
decrementing it. The rationale is that for stable branches, VERSION
already points to the latest patch release, there is no need to decrease
it further! This fix does not affect the output for the calculation of
the previous minor version number.

The second fix is simply the addition of an error message in case the
minor version number is 0, to get some explicit error instead of a
silent failure if we ever reach Cilium 2.0.0.

Updated samples of numbers from VERSION and the corresponding values
returned:

    VERSION         Previous minor  Previous patch release

    1.14.3          v1.13           v1.14.3
    1.14.1          v1.13           v1.14.1
    1.14.0          v1.13           <error>
    1.14.1-dev      v1.13           v1.14.1
    1.15.0-dev      v1.14           <error>
    1.13.90         v1.12           <error>
    2.0.1           <error>         v2.0.1

Fixes: 56dfec2 ("contrib/scripts: Support patch releases in print-downgrade-version.sh")
Signed-off-by: Quentin Monnet <quentin@isovalent.com>
Signed-off-by: Nicolas Busseneau <nicolas@isovalent.com>
[ upstream commit bd67597 ]

b20038e ("gha: explicilty specify beefier runner type for clustermesh
workflows") explicitly configured beefier runners for clustermesh
workflows, as they require more power to host two multi-node kind clusters.
However, this change turned out to have unexpected billing consequences,
even though GitHub recently upgraded [1] the default runners for OSS
projects to 4 vCPU and 16GiB of RAM (the same specs of the runner which
had been configured). Hence, let's revert this change, and instead make
the runner type configurable through an environment variable. This will
also make it easier to change the runner type in the future, if needed.

[1]: https://github.blog/2024-01-17-github-hosted-runners-double-the-power-for-open-source/

Fixes: b20038e ("gha: explicilty specify beefier runner type for clustermesh workflows")
Suggested-by: André Martins <andre@cilium.io>
Signed-off-by: Marco Iorio <marco.iorio@isovalent.com>
Signed-off-by: Nicolas Busseneau <nicolas@isovalent.com>
@sayboras
Copy link
Member

sayboras commented Feb 9, 2024

/test-backport-1.12

Job 'Cilium-PR-K8s-1.17-kernel-4.9' failed:

Click to show.

Test Name

K8sPolicyTest Basic Test checks all kind of Kubernetes policies

Failure Output

FAIL: Found 1 k8s-app=cilium logs matching list of errors that must be investigated:

Jenkins URL: https://jenkins.cilium.io/job/Cilium-PR-K8s-1.17-kernel-4.9/367/

If it is a flake and a GitHub issue doesn't already exist to track it, comment /mlh new-flake Cilium-PR-K8s-1.17-kernel-4.9 so I can create one.

Then please upload the Jenkins artifacts to that issue.

@sayboras sayboras removed the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label Feb 9, 2024
@sayboras
Copy link
Member

sayboras commented Feb 9, 2024

/test-1.16-4.9

@sayboras
Copy link
Member

sayboras commented Feb 9, 2024

/test-1.17-4.9

@sayboras
Copy link
Member

sayboras commented Feb 9, 2024

/test-1.21-4.9

@maintainer-s-little-helper maintainer-s-little-helper bot added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label Feb 9, 2024
@julianwiedmann julianwiedmann merged commit a0e32da into v1.12 Feb 9, 2024
108 checks passed
@julianwiedmann julianwiedmann deleted the pr/v1.12-backport-2024-02-08 branch February 9, 2024 21:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport/1.12 This PR represents a backport for Cilium 1.12.x of a PR that was merged to main. kind/backports This PR provides functionality previously merged into master. ready-to-merge This PR has passed all tests and received consensus from code owners to merge.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants