-
Notifications
You must be signed in to change notification settings - Fork 2k
Closed
Labels
bugAn issue reporting a potential bugAn issue reporting a potential bugneeds more infoIssues that require more informationIssues that require more informationneeds triageAn issue that needs to be triagedAn issue that needs to be triaged
Milestone
Description
Version
edge
What Kubernetes platforms are you running on?
Other
Steps to reproduce
- Clean Go mod cache
- Update
go.mod
to Go version1.24
- Run
go mod tidy
- Run tests
go test ./...
➜ kubernetes-ingress git:(chore/go-version) ✗ go test ./...
# github.com/nginx/kubernetes-ingress/internal/k8s/appprotect
# [github.com/nginx/kubernetes-ingress/internal/k8s/appprotect]
internal/k8s/appprotect/app_protect_configuration.go:404:27: non-constant format string in call to fmt.Errorf
internal/k8s/appprotect/app_protect_configuration.go:412:27: non-constant format string in call to fmt.Errorf
internal/k8s/appprotect/app_protect_configuration.go:420:27: non-constant format string in call to fmt.Errorf
ok github.com/nginx/kubernetes-ingress/cmd/nginx-ingress (cached)
ok github.com/nginx/kubernetes-ingress/internal/certmanager (cached)
? github.com/nginx/kubernetes-ingress/internal/certmanager/test_files [no test files]
? github.com/nginx/kubernetes-ingress/internal/common_cluster_info [no test files]
# github.com/nginx/kubernetes-ingress/internal/k8s/appprotectdos
# [github.com/nginx/kubernetes-ingress/internal/k8s/appprotectdos]
internal/k8s/appprotectdos/app_protect_dos_configuration.go:201:26: non-constant format string in call to fmt.Errorf
internal/k8s/appprotectdos/app_protect_dos_configuration.go:212:26: non-constant format string in call to fmt.Errorf
internal/k8s/appprotectdos/app_protect_dos_configuration.go:222:26: non-constant format string in call to fmt.Errorf
internal/k8s/appprotectdos/app_protect_dos_configuration.go:239:26: non-constant format string in call to fmt.Errorf
E20250225 17:05:39.367536 82250 configmaps.go:726] ConfigMap /: invalid value for 'app-protect-reconnect-period-seconds': "60.1", must be between '0' and '60' (exclusive), '0' is illegal, ignoring
E20250225 17:05:39.367831 82250 configmaps.go:726] ConfigMap /: invalid value for 'app-protect-reconnect-period-seconds': "100", must be between '0' and '60' (exclusive), '0' is illegal, ignoring
E20250225 17:05:39.367843 82250 configmaps.go:726] ConfigMap /: invalid value for 'app-protect-reconnect-period-seconds': "0", must be between '0' and '60' (exclusive), '0' is illegal, ignoring
E20250225 17:05:39.367854 82250 configmaps.go:726] ConfigMap /: invalid value for 'app-protect-reconnect-period-seconds': "-5", must be between '0' and '60' (exclusive), '0' is illegal, ignoring
E20250225 17:05:39.367861 82250 configmaps.go:726] ConfigMap /: invalid value for 'app-protect-reconnect-period-seconds': "", must be between '0' and '60' (exclusive), '0' is illegal, ignoring
W20250225 17:05:39.384082 82250 configmaps.go:412] ConfigMap / key zone-sync requires 'zone-sync-port' to be configured
W20250225 17:05:39.384126 82250 configmaps.go:412] ConfigMap / key zone-sync requires 'zone-sync-port' to be configured
--- FAIL: TestParseZoneSyncResolverIPV6MapResolverIPV6 (0.00s)
--- FAIL: TestParseZoneSyncResolverIPV6MapResolverIPV6/zone-sync-resolver-ipv6_set_to_false (0.00s)
configmaps_test.go:1067: Unexpected warnings
--- FAIL: TestParseZoneSyncResolverIPV6MapResolverIPV6/zone-sync-resolver-ipv6_set_to_true (0.00s)
configmaps_test.go:1067: Unexpected warnings
W20250225 17:05:39.390205 82250 configmaps.go:412] ConfigMap / key zone-sync requires 'zone-sync-port' to be configured
E20250225 17:05:39.390227 82250 configmaps.go:436] error parsing port: 0 not a valid port number
W20250225 17:05:39.390245 82250 configmaps.go:412] ConfigMap / key zone-sync requires 'zone-sync-port' to be configured
E20250225 17:05:39.390255 82250 configmaps.go:436] error parsing port: -1 not a valid port number
W20250225 17:05:39.390272 82250 configmaps.go:412] ConfigMap / key zone-sync requires 'zone-sync-port' to be configured
E20250225 17:05:39.390278 82250 configmaps.go:436] error parsing port: 65536 not a valid port number
W20250225 17:05:39.390303 82250 configmaps.go:412] ConfigMap / key zone-sync requires 'zone-sync-port' to be configured
E20250225 17:05:39.390312 82250 configmaps.go:429] / 'zone-sync-port' contains invalid integer: strconv.Atoi: parsing "not-a-number": invalid syntax, ignoring
E20250225 17:05:39.390356 82250 configmaps.go:429] / 'zone-sync-port' contains invalid integer: strconv.Atoi: parsing "": invalid syntax, ignoring
W20250225 17:05:39.390371 82250 configmaps.go:412] ConfigMap / key zone-sync requires 'zone-sync-port' to be configured
W20250225 17:05:39.390415 82250 configmaps.go:412] ConfigMap / key zone-sync requires 'zone-sync-port' to be configured
W20250225 17:05:39.390435 82250 configmaps.go:412] ConfigMap / key zone-sync requires 'zone-sync-port' to be configured
W20250225 17:05:39.390450 82250 configmaps.go:412] ConfigMap / key zone-sync requires 'zone-sync-port' to be configured
E20250225 17:05:39.390676 82250 configmaps.go:805] Configmap /: Invalid value for the enforce-initial-report key: got false: / 'enforce-initial-report' contains invalid bool: strconv.ParseBool: parsing "7": invalid syntax, ignoring. Ignoring.
E20250225 17:05:39.390689 82250 configmaps.go:805] Configmap /: Invalid value for the enforce-initial-report key: got false: / 'enforce-initial-report' contains invalid bool: strconv.ParseBool: parsing "": invalid syntax, ignoring. Ignoring.
E20250225 17:05:39.390717 82250 configmaps.go:831] Configmap /: Invalid value for the interval key: got "": time: invalid duration "". Ignoring.
E20250225 17:05:39.390721 82250 configmaps.go:837] Configmap /: Value too low for the interval key, got: , need higher than 60s. Ignoring.
E20250225 17:05:39.391293 82250 configmaps.go:837] Configmap /: Value too low for the interval key, got: 1s, need higher than 60s. Ignoring.
E20250225 17:05:39.391318 82250 configmaps.go:837] Configmap /: Value too low for the interval key, got: 1s, need higher than 60s. Ignoring.
E20250225 17:05:39.391354 82250 configmaps.go:776] Configmap /: Invalid value for the ssl-verify key: got false: / 'ssl-verify' contains invalid bool: strconv.ParseBool: parsing "10": invalid syntax, ignoring. Ignoring.
E20250225 17:05:39.391539 82250 configmaps.go:776] Configmap /: Invalid value for the ssl-verify key: got false: / 'ssl-verify' contains invalid bool: strconv.ParseBool: parsing "test": invalid syntax, ignoring. Ignoring.
W20250225 17:05:39.392204 82250 configmaps.go:264] ConfigMap /: invalid value for 'access-log': "/tmp/nginx main", ignoring
W20250225 17:05:39.392224 82250 configmaps.go:264] ConfigMap /: invalid value for 'access-log': "/dev/stdout main", ignoring
I20250225 17:05:39.392269 82250 configmaps.go:209] ConfigMap /: 'real-ip-header' is ignored because 'real_ip_header' is automatically set to 'proxy_protocol' when TLS passthrough is enabled, ignoring
E20250225 17:05:39.392283 82250 configmaps.go:211] ConfigMap /: 'real-ip-header' is ignored because 'real_ip_header' is automatically set to 'proxy_protocol' when TLS passthrough is enabled, ignoring
E20250225 17:05:39.392304 82250 configmaps.go:211] ConfigMap /: 'real-ip-header' is ignored because 'real_ip_header' is automatically set to 'proxy_protocol' when TLS passthrough is enabled, ignoring
E20250225 17:05:39.392466 82250 configmaps.go:673] ConfigMap /: invalid value for 'app-protect-compressed-requests-action': "invalid", must be 'pass' or 'drop', ignoring
E20250225 17:05:39.392517 82250 configmaps.go:673] ConfigMap /: invalid value for 'app-protect-compressed-requests-action': "", must be 'pass' or 'drop', ignoring
E20250225 17:05:39.392674 82250 configmaps.go:776] Configmap /: Invalid value for the ssl-verify key: got false: / 'ssl-verify' contains invalid bool: strconv.ParseBool: parsing "": invalid syntax, ignoring. Ignoring.
E20250225 17:05:39.392883 82250 configmaps.go:790] / 'resolver-ipv6' contains invalid bool: strconv.ParseBool: parsing "": invalid syntax, ignoring
E20250225 17:05:39.392902 82250 configmaps.go:790] / 'resolver-ipv6' contains invalid bool: strconv.ParseBool: parsing "10": invalid syntax, ignoring
FAIL
FAIL github.com/nginx/kubernetes-ingress/internal/configs 1.644s
ok github.com/nginx/kubernetes-ingress/internal/configs/commonhelpers (cached)
ok github.com/nginx/kubernetes-ingress/internal/configs/version1 (cached)
ok github.com/nginx/kubernetes-ingress/internal/configs/version2 (cached)
ok github.com/nginx/kubernetes-ingress/internal/externaldns (cached)
ok github.com/nginx/kubernetes-ingress/internal/healthcheck (cached)
ok github.com/nginx/kubernetes-ingress/internal/k8s (cached)
FAIL github.com/nginx/kubernetes-ingress/internal/k8s/appprotect [build failed]
ok github.com/nginx/kubernetes-ingress/internal/k8s/appprotectcommon (cached)
FAIL github.com/nginx/kubernetes-ingress/internal/k8s/appprotectdos [build failed]
ok github.com/nginx/kubernetes-ingress/internal/k8s/secrets (cached)
ok github.com/nginx/kubernetes-ingress/internal/license_reporting (cached)
? github.com/nginx/kubernetes-ingress/internal/logger [no test files]
ok github.com/nginx/kubernetes-ingress/internal/logger/glog (cached)
? github.com/nginx/kubernetes-ingress/internal/logger/levels [no test files]
? github.com/nginx/kubernetes-ingress/internal/metrics [no test files]
ok github.com/nginx/kubernetes-ingress/internal/metrics/collectors (cached)
ok github.com/nginx/kubernetes-ingress/internal/nginx (cached)
ok github.com/nginx/kubernetes-ingress/internal/telemetry (cached)
ok github.com/nginx/kubernetes-ingress/internal/validation (cached)
? github.com/nginx/kubernetes-ingress/pkg/apis/configuration [no test files]
? github.com/nginx/kubernetes-ingress/pkg/apis/configuration/v1 [no test files]
ok github.com/nginx/kubernetes-ingress/pkg/apis/configuration/validation (cached)
? github.com/nginx/kubernetes-ingress/pkg/apis/dos [no test files]
? github.com/nginx/kubernetes-ingress/pkg/apis/dos/v1beta1 [no test files]
ok github.com/nginx/kubernetes-ingress/pkg/apis/dos/validation (cached)
? github.com/nginx/kubernetes-ingress/pkg/apis/externaldns [no test files]
? github.com/nginx/kubernetes-ingress/pkg/apis/externaldns/v1 [no test files]
ok github.com/nginx/kubernetes-ingress/pkg/apis/externaldns/validation (cached)
? github.com/nginx/kubernetes-ingress/pkg/client/clientset/versioned [no test files]
? github.com/nginx/kubernetes-ingress/pkg/client/clientset/versioned/fake [no test files]
? github.com/nginx/kubernetes-ingress/pkg/client/clientset/versioned/scheme [no test files]
? github.com/nginx/kubernetes-ingress/pkg/client/clientset/versioned/typed/configuration/v1 [no test files]
? github.com/nginx/kubernetes-ingress/pkg/client/clientset/versioned/typed/configuration/v1/fake [no test files]
? github.com/nginx/kubernetes-ingress/pkg/client/clientset/versioned/typed/dos/v1beta1 [no test files]
? github.com/nginx/kubernetes-ingress/pkg/client/clientset/versioned/typed/dos/v1beta1/fake [no test files]
? github.com/nginx/kubernetes-ingress/pkg/client/clientset/versioned/typed/externaldns/v1 [no test files]
? github.com/nginx/kubernetes-ingress/pkg/client/clientset/versioned/typed/externaldns/v1/fake [no test files]
? github.com/nginx/kubernetes-ingress/pkg/client/informers/externalversions [no test files]
? github.com/nginx/kubernetes-ingress/pkg/client/informers/externalversions/configuration [no test files]
? github.com/nginx/kubernetes-ingress/pkg/client/informers/externalversions/configuration/v1 [no test files]
? github.com/nginx/kubernetes-ingress/pkg/client/informers/externalversions/dos [no test files]
? github.com/nginx/kubernetes-ingress/pkg/client/informers/externalversions/dos/v1beta1 [no test files]
? github.com/nginx/kubernetes-ingress/pkg/client/informers/externalversions/externaldns [no test files]
? github.com/nginx/kubernetes-ingress/pkg/client/informers/externalversions/externaldns/v1 [no test files]
? github.com/nginx/kubernetes-ingress/pkg/client/informers/externalversions/internalinterfaces [no test files]
? github.com/nginx/kubernetes-ingress/pkg/client/listers/configuration/v1 [no test files]
? github.com/nginx/kubernetes-ingress/pkg/client/listers/dos/v1beta1 [no test files]
? github.com/nginx/kubernetes-ingress/pkg/client/listers/externaldns/v1 [no test files]
FAIL
Metadata
Metadata
Assignees
Labels
bugAn issue reporting a potential bugAn issue reporting a potential bugneeds more infoIssues that require more informationIssues that require more informationneeds triageAn issue that needs to be triagedAn issue that needs to be triaged
Type
Projects
Status
Done 🚀