Skip hostname test for all aws jobs

This commit is contained in:
Peter Rifel 2024-02-22 07:34:56 -06:00
parent f21109e94f
commit fba4c1cc50
No known key found for this signature in database
1 changed files with 2 additions and 2 deletions

View File

@ -141,9 +141,9 @@ func (t *Tester) setSkipRegexFlag() error {
skipRegex += "|should.verify.that.all.nodes.have.volume.limits"
}
if k8sVersion.Minor < 28 && cluster.Spec.LegacyCloudProvider == "aws" {
if cluster.Spec.LegacyCloudProvider == "aws" {
// This test fails on RHEL-based distros because they return fully qualified hostnames yet the k8s node names are not fully qualified.
// Keeping this unskipped in k8s 1.28 so we can still get signal without causing all grid jobs to fail.
// Dedicated job testing this: https://testgrid.k8s.io/kops-misc#kops-aws-k28-hostname-bug123255
// ref: https://github.com/kubernetes/kops/issues/16349
// ref: https://github.com/kubernetes/kubernetes/issues/123255
skipRegex += "|Services.should.function.for.service.endpoints.using.hostNetwork"