This job view page is being replaced by Spyglass soon. Check out the new job view.
PRrikatz: Implement object deep inspector
ResultFAILURE
Tests 0 failed / 0 succeeded
Started2022-04-10 21:57
Elapsed1m28s
Revision7da4e6ffbb8954e30b2131fbc164ac136251e344
Refs 8456

No Test Failures!


Error lines from build-log.txt

... skipping 134 lines ...
=== RUN   TestMaxmindEdition
--- PASS: TestMaxmindEdition (0.00s)
=== RUN   TestMaxmindMirror
--- PASS: TestMaxmindMirror (0.00s)
=== RUN   TestMaxmindRetryDownload
I0410 21:58:28.517767   11009 flags.go:365] "downloading maxmind GeoIP2 databases"
I0410 21:58:28.518490   11009 maxmind.go:123] "download failed on attempt 1"
I0410 21:58:29.599551   11009 maxmind.go:123] "download failed on attempt 2"
I0410 21:58:31.161679   11009 maxmind.go:123] "download failed on attempt 3"
E0410 21:58:31.161812   11009 flags.go:367] "unexpected error downloading GeoIP2 database" err="Get \"http://127.0.0.1/GeoLite2-City.tar.gz\": dial tcp 127.0.0.1:80: connect: connection refused"
--- PASS: TestMaxmindRetryDownload (2.64s)
=== RUN   TestCreateApiserverClient
W0410 21:58:31.161925   11009 client_config.go:617] Neither --kubeconfig nor --master was specified.  Using the inClusterConfig.  This might not work.
W0410 21:58:31.162213   11009 client_config.go:622] error creating inClusterConfig, falling back to default config: open /var/run/secrets/kubernetes.io/serviceaccount/token: no such file or directory
--- PASS: TestCreateApiserverClient (0.00s)
=== RUN   TestHandleSigterm
W0410 21:58:31.172157   11009 store.go:807] Unexpected error reading configuration configmap: configmaps "" not found
    main_test.go:116: Sending SIGTERM to PID 11009
--- PASS: TestHandleSigterm (1.03s)
PASS
ok  	k8s.io/ingress-nginx/cmd/nginx	3.830s
?   	k8s.io/ingress-nginx/cmd/plugin	[no test files]
?   	k8s.io/ingress-nginx/cmd/plugin/commands/backends	[no test files]
... skipping 12 lines ...
?   	k8s.io/ingress-nginx/cmd/plugin/kubectl	[no test files]
?   	k8s.io/ingress-nginx/cmd/plugin/lints	[no test files]
?   	k8s.io/ingress-nginx/cmd/plugin/request	[no test files]
?   	k8s.io/ingress-nginx/cmd/plugin/util	[no test files]
?   	k8s.io/ingress-nginx/cmd/waitshutdown	[no test files]
=== RUN   TestHandleAdmission
E0410 21:58:31.210068   12211 main.go:77] "failed to decode ingress" err="couldn't get version/kind; json parse error: invalid character 'ΓΏ' looking for beginning of value"
E0410 21:58:31.211086   12211 main.go:89] "invalid ingress configuration" err="this is a test error" ingress="/"
I0410 21:58:31.211146   12211 main.go:100] "successfully validated configuration, accepting" ingress="/"
--- PASS: TestHandleAdmission (0.00s)
PASS
ok  	k8s.io/ingress-nginx/internal/admission/controller	0.018s
=== RUN   TestSHA1
E0410 21:58:30.061573   11973 file.go:32] "Error reading file" err="open : no such file or directory" path=""
--- PASS: TestSHA1 (0.02s)
PASS
ok  	k8s.io/ingress-nginx/internal/file	0.025s
=== RUN   TestEqualConfiguration
--- PASS: TestEqualConfiguration (0.00s)
=== RUN   TestL4ServiceElementsMatch
... skipping 102 lines ...
PASS
ok  	k8s.io/ingress-nginx/internal/ingress/annotations/connection	0.043s
=== RUN   TestIngressCorsConfigValid
I0410 21:58:34.244327   12772 main.go:140] Current config.corsAllowOrigin [https://origin123.test.com:4443]
--- PASS: TestIngressCorsConfigValid (0.00s)
=== RUN   TestIngressCorsConfigInvalid
E0410 21:58:34.244598   12772 main.go:136] Error parsing cors-allow-origin parameters. Supplied incorrect origin: origin123.test.com:4443. Skipping.
--- PASS: TestIngressCorsConfigInvalid (0.00s)
PASS
ok  	k8s.io/ingress-nginx/internal/ingress/annotations/cors	0.023s
=== RUN   TestParseInvalidAnnotations
--- PASS: TestParseInvalidAnnotations (0.00s)
=== RUN   TestParseAnnotations
... skipping 318 lines ...
    --- PASS: TestExtractTLSSecretName/ingress_tls,_hosts,_bad_format_cert,_host_not_in_tls_Hosts (0.00s)
    --- PASS: TestExtractTLSSecretName/nil_ingress (0.00s)
    --- PASS: TestExtractTLSSecretName/empty_ingress (0.00s)
    --- PASS: TestExtractTLSSecretName/ingress_tls,_nil_secret (0.00s)
    --- PASS: TestExtractTLSSecretName/ingress_tls,_no_host,_matching_cert_cn (0.00s)
=== RUN   TestGetBackendServers
W0410 21:58:46.097390   14859 controller.go:938] Error creating upstream "example-http-svc-canary-80": no object matching key "example/http-svc-canary" in local store
W0410 21:58:46.097453   14859 controller.go:944] Error obtaining Service "example/http-svc-canary": no object matching key "example/http-svc-canary" in local store
W0410 21:58:46.422406   14859 controller.go:938] Error creating upstream "example-http-svc-canary-80": no object matching key "example/http-svc-canary" in local store
W0410 21:58:46.422537   14859 controller.go:944] Error obtaining Service "example/http-svc-canary": no object matching key "example/http-svc-canary" in local store
W0410 21:58:46.422574   14859 controller.go:938] Error creating upstream "example-http-svc-80": no object matching key "example/http-svc" in local store
W0410 21:58:46.422615   14859 controller.go:944] Error obtaining Service "example/http-svc": no object matching key "example/http-svc" in local store
W0410 21:58:47.169695   14859 controller.go:1008] Error obtaining Endpoints for Service "example/http-svc-canary": no object matching key "example/http-svc-canary" in local store
W0410 21:58:47.552082   14859 controller.go:1008] Error obtaining Endpoints for Service "example/http-svc": no object matching key "example/http-svc" in local store
W0410 21:58:47.552134   14859 controller.go:1008] Error obtaining Endpoints for Service "example/http-svc-canary": no object matching key "example/http-svc-canary" in local store
W0410 21:58:48.464825   14859 controller.go:1008] Error obtaining Endpoints for Service "example/http-svc-1": no object matching key "example/http-svc-1" in local store
W0410 21:58:48.465023   14859 controller.go:1008] Error obtaining Endpoints for Service "example/http-svc-2": no object matching key "example/http-svc-2" in local store
W0410 21:58:48.465133   14859 controller.go:1547] alternative upstream example-http-svc-1-80 in Ingress example/example-b-canary is primary upstream in Other Ingress for location example.com/a!
W0410 21:58:48.658738   14859 controller.go:1008] Error obtaining Endpoints for Service "proxyssl/path1-svc": no object matching key "proxyssl/path1-svc" in local store
W0410 21:58:48.658866   14859 controller.go:1008] Error obtaining Endpoints for Service "proxyssl/path2-svc": no object matching key "proxyssl/path2-svc" in local store
W0410 21:58:48.948654   14859 controller.go:1008] Error obtaining Endpoints for Service "proxyssl/path1-svc": no object matching key "proxyssl/path1-svc" in local store
W0410 21:58:48.948802   14859 controller.go:1008] Error obtaining Endpoints for Service "proxyssl/path2-svc": no object matching key "proxyssl/path2-svc" in local store
W0410 21:58:49.542592   14859 controller.go:1008] Error obtaining Endpoints for Service "default/path1-svc": no object matching key "default/path1-svc" in local store
--- PASS: TestGetBackendServers (3.82s)
=== RUN   TestGetEndpoints
=== RUN   TestGetEndpoints/no_service_should_return_0_endpoint
=== RUN   TestGetEndpoints/no_service_port_should_return_0_endpoint
=== RUN   TestGetEndpoints/a_service_without_endpoint_should_return_0_endpoint
=== RUN   TestGetEndpoints/a_service_type_ServiceTypeExternalName_service_with_an_invalid_port_should_return_0_endpoint
... skipping 4 lines ...
E0410 21:58:49.543627   14859 endpoints.go:56] Invalid attempt to use localhost name 127.0.0.1 in ""
=== RUN   TestGetEndpoints/a_service_type_ServiceTypeExternalName_with_a_valid_port_should_return_one_endpoint
=== RUN   TestGetEndpoints/a_service_type_ServiceTypeExternalName_with_an_trailing_dot_ExternalName_value_should_return_one_endpoints
=== RUN   TestGetEndpoints/a_service_type_ServiceTypeExternalName_with_an_invalid_ExternalName_value_should_no_return_endpoints
E0410 21:58:49.543782   14859 endpoints.go:66] Invalid DNS name 1#invalid.hostname: [a lowercase RFC 1123 subdomain must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character (e.g. 'example.com', regex used for validation is '[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*')]
=== RUN   TestGetEndpoints/should_return_no_endpoint_when_there_is_an_error_searching_for_endpoints
W0410 21:58:49.543956   14859 endpoints.go:80] Error obtaining Endpoints for Service "": unexpected error
=== RUN   TestGetEndpoints/should_return_no_endpoint_when_the_protocol_does_not_match
=== RUN   TestGetEndpoints/should_return_no_endpoint_when_there_is_no_ready_Addresses
=== RUN   TestGetEndpoints/should_return_no_endpoint_when_the_name_of_the_port_name_do_not_match_any_port_in_the_endpoint_Subsets_and_TargetPort_is_string
=== RUN   TestGetEndpoints/should_return_one_endpoint_when_the_name_of_the_port_name_do_not_match_any_port_in_the_endpoint_Subsets_and_TargetPort_is_int
=== RUN   TestGetEndpoints/should_return_one_endpoint_when_the_name_of_the_port_name_match_a_port_in_the_endpoint_Subsets
=== RUN   TestGetEndpoints/should_return_one_endpoint_when_the_name_of_the_port_name_match_more_than_one_port_in_the_endpoint_Subsets
... skipping 39 lines ...
-------------------------------------------------------------------------------
NGINX master process died (0): exit status 0
-------------------------------------------------------------------------------
--- PASS: TestIsRespawnIfRequired (0.00s)
PASS
ok  	k8s.io/ingress-nginx/internal/ingress/controller/process	0.067s
FAIL	k8s.io/ingress-nginx/internal/ingress/controller/store [build failed]
=== RUN   TestFilterErrors
W0410 21:58:48.562050   15204 configmap.go:413] error code 200 is not valid for custom error pages
W0410 21:58:48.562122   15204 configmap.go:413] error code 999 is not valid for custom error pages
--- PASS: TestFilterErrors (0.00s)
=== RUN   TestProxyTimeoutParsing
W0410 21:58:48.564656   15204 configmap.go:323] proxy-protocol-header-timeout of 3zxs encountered an error while being parsed time: unknown unit "zxs" in duration "3zxs". Switching to use default value instead.
--- PASS: TestProxyTimeoutParsing (0.00s)
=== RUN   TestMergeConfigMapToStruct
W0410 21:58:48.567663   15204 configmap.go:152] demo is not a valid http code: strconv.Atoi: parsing "demo": invalid syntax
W0410 21:58:48.567732   15204 configmap.go:192] 3.3.3 is not a valid textual representation of an IP address
W0410 21:58:48.567758   15204 configmap.go:192] 33:33:33::33::33 is not a valid textual representation of an IP address
W0410 21:58:48.584414   15204 configmap.go:152] demo is not a valid http code: strconv.Atoi: parsing "demo": invalid syntax
... skipping 6 lines ...
W0410 21:58:48.620095   15204 configmap.go:232] Global auth location denied - url host is empty.
--- PASS: TestGlobalExternalAuthURLParsing (0.02s)
=== RUN   TestGlobalExternalAuthMethodParsing
W0410 21:58:48.626251   15204 configmap.go:244] Global auth location denied - invalid HTTP method.
--- PASS: TestGlobalExternalAuthMethodParsing (0.01s)
=== RUN   TestGlobalExternalAuthSigninParsing
W0410 21:58:48.631275   15204 configmap.go:256] Global auth location denied - global-auth-signin setting is undefined and will not be set.
W0410 21:58:48.640611   15204 configmap.go:256] Global auth location denied - global-auth-signin setting is undefined and will not be set.
W0410 21:58:48.642355   15204 configmap.go:256] Global auth location denied - global-auth-signin setting is undefined and will not be set.
--- PASS: TestGlobalExternalAuthSigninParsing (0.02s)
=== RUN   TestGlobalExternalAuthSigninRedirectParamParsing
W0410 21:58:48.657635   15204 configmap.go:256] Global auth location denied - global-auth-signin setting is undefined and will not be set.
W0410 21:58:48.657669   15204 configmap.go:269] Global auth redirect parameter denied - global-auth-signin-redirect-param setting is invalid and will not be set.
--- PASS: TestGlobalExternalAuthSigninRedirectParamParsing (0.01s)
=== RUN   TestGlobalExternalAuthResponseHeadersParsing
W0410 21:58:48.661812   15204 configmap.go:283] Global auth location denied - invalid headers list.
W0410 21:58:48.664859   15204 configmap.go:283] Global auth location denied - invalid headers list.
W0410 21:58:48.679722   15204 configmap.go:283] Global auth location denied - invalid headers list.
... skipping 231 lines ...
--- PASS: TestProcessCollector (0.04s)
    --- PASS: TestProcessCollector/should_return_metrics (0.04s)
=== RUN   TestNewUDPLogListener
--- PASS: TestNewUDPLogListener (0.00s)
=== RUN   TestCollector
=== RUN   TestCollector/invalid_metric_object_should_not_increase_prometheus_metrics
E0410 21:58:51.175380   15130 socket.go:242] "Unexpected error deserializing JSON" err=<
	[]collectors.socketData: decode slice: expect [ or n, but found #, error found in #1 byte of ...|#missing {
	|..., bigger context ...|#missing {
					"host":"testshop.com",
					"status":|...
 > payload=<
	#missing {
					"host":"testshop.com",
... skipping 69 lines ...
--- PASS: TestIngressSliceEqual (0.00s)
PASS
ok  	k8s.io/ingress-nginx/internal/ingress/status	1.175s
=== RUN   TestParseNameNS
--- PASS: TestParseNameNS (0.00s)
=== RUN   TestGetNodeIP
E0410 21:58:49.767997   15411 main.go:49] "Error getting node" err="nodes \"demo\" not found" name="demo"
E0410 21:58:49.768050   15411 main.go:49] "Error getting node" err="nodes \"notexistnode\" not found" name="notexistnode"
--- PASS: TestGetNodeIP (0.00s)
=== RUN   TestGetIngressPod
--- PASS: TestGetIngressPod (0.00s)
PASS
ok  	k8s.io/ingress-nginx/internal/k8s	0.019s
=== RUN   TestNewIPSet
... skipping 24 lines ...
--- PASS: TestCreateSSLCert (0.28s)
=== RUN   TestIsValidHostname
--- PASS: TestIsValidHostname (0.00s)
=== RUN   TestTLSKeyReloader
I0410 21:58:54.669767   15429 ssl.go:531] "loading tls certificate" path="/tmp/crt-3843660266" key="/tmp/key-2155175972"
=== RUN   TestTLSKeyReloader/without_the_trusted_certificate
2022/04/10 21:58:54 http: TLS handshake error from 127.0.0.1:46098: remote error: tls: bad certificate
=== RUN   TestTLSKeyReloader/with_the_certificate_trustes_as_root_certificate
=== RUN   TestTLSKeyReloader/with_a_new_certificate
=== RUN   TestTLSKeyReloader/with_a_new_certificate/when_the_certificate_is_not_reloaded
2022/04/10 21:58:54 http: TLS handshake error from 127.0.0.1:46102: remote error: tls: bad certificate
--- PASS: TestTLSKeyReloader (0.49s)
    --- PASS: TestTLSKeyReloader/without_the_trusted_certificate (0.00s)
    --- PASS: TestTLSKeyReloader/with_the_certificate_trustes_as_root_certificate (0.01s)
    --- PASS: TestTLSKeyReloader/with_a_new_certificate (0.16s)
        --- PASS: TestTLSKeyReloader/with_a_new_certificate/when_the_certificate_is_not_reloaded (0.00s)
PASS
... skipping 14 lines ...
ok  	k8s.io/ingress-nginx/internal/sets	0.014s
=== RUN   TestShutdown
--- PASS: TestShutdown (0.00s)
=== RUN   TestEnqueueSuccess
--- PASS: TestEnqueueSuccess (0.01s)
=== RUN   TestEnqueueFailed
E0410 21:58:49.925033   15420 queue.go:78] "queue has been shutdown, failed to enqueue" key={k:testKey v:testValue}
--- PASS: TestEnqueueFailed (0.02s)
=== RUN   TestEnqueueKeyError
E0410 21:58:49.935635   15420 queue.go:90] "creating object key" err="failed to get key" item={k:testKey v:testValue}
--- PASS: TestEnqueueKeyError (0.01s)
=== RUN   TestSkipEnqueue
--- PASS: TestSkipEnqueue (0.01s)
PASS
ok  	k8s.io/ingress-nginx/internal/task	0.061s
=== RUN   TestFileWatcher
--- PASS: TestFileWatcher (0.51s)
=== RUN   TestFileWatcherWithNestedSymlink
--- PASS: TestFileWatcherWithNestedSymlink (0.02s)
PASS
ok  	k8s.io/ingress-nginx/internal/watch	0.529s
?   	k8s.io/ingress-nginx/version	[no test files]
FAIL
make: *** [Makefile:135: test] Error 2