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:51
Elapsed1m30s
Revision68314fbf707479e4d3e67950d15568adcce67ab3
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:52:06.378980   10669 flags.go:365] "downloading maxmind GeoIP2 databases"
I0410 21:52:06.386510   10669 maxmind.go:123] "download failed on attempt 1"
I0410 21:52:07.467046   10669 maxmind.go:123] "download failed on attempt 2"
I0410 21:52:08.990674   10669 maxmind.go:123] "download failed on attempt 3"
E0410 21:52:08.990760   10669 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.61s)
=== RUN   TestCreateApiserverClient
W0410 21:52:08.990829   10669 client_config.go:617] Neither --kubeconfig nor --master was specified.  Using the inClusterConfig.  This might not work.
W0410 21:52:08.991104   10669 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:52:08.994594   10669 store.go:807] Unexpected error reading configuration configmap: configmaps "" not found
    main_test.go:116: Sending SIGTERM to PID 10669
--- PASS: TestHandleSigterm (1.02s)
PASS
ok  	k8s.io/ingress-nginx/cmd/nginx	3.789s
?   	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:52:09.787396   12108 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:52:09.792123   12108 main.go:89] "invalid ingress configuration" err="this is a test error" ingress="/"
I0410 21:52:09.792260   12108 main.go:100] "successfully validated configuration, accepting" ingress="/"
--- PASS: TestHandleAdmission (0.01s)
PASS
ok  	k8s.io/ingress-nginx/internal/admission/controller	0.027s
=== RUN   TestSHA1
E0410 21:52:09.032736   11970 file.go:32] "Error reading file" err="open : no such file or directory" path=""
--- PASS: TestSHA1 (0.04s)
PASS
ok  	k8s.io/ingress-nginx/internal/file	0.054s
=== RUN   TestEqualConfiguration
--- PASS: TestEqualConfiguration (0.00s)
=== RUN   TestL4ServiceElementsMatch
... skipping 102 lines ...
PASS
ok  	k8s.io/ingress-nginx/internal/ingress/annotations/connection	0.019s
=== RUN   TestIngressCorsConfigValid
I0410 21:52:13.645584   12781 main.go:140] Current config.corsAllowOrigin [https://origin123.test.com:4443]
--- PASS: TestIngressCorsConfigValid (0.00s)
=== RUN   TestIngressCorsConfigInvalid
E0410 21:52:13.645751   12781 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.009s
=== RUN   TestParseInvalidAnnotations
--- PASS: TestParseInvalidAnnotations (0.00s)
=== RUN   TestParseAnnotations
... skipping 209 lines ...
PASS
ok  	k8s.io/ingress-nginx/internal/ingress/annotations/upstreamvhost	0.039s
=== RUN   TestParse
--- PASS: TestParse (0.00s)
PASS
ok  	k8s.io/ingress-nginx/internal/ingress/annotations/xforwardedprefix	0.038s
FAIL	k8s.io/ingress-nginx/internal/ingress/controller [build failed]
?   	k8s.io/ingress-nginx/internal/ingress/controller/config	[no test files]
?   	k8s.io/ingress-nginx/internal/ingress/controller/ingressclass	[no test files]
=== RUN   TestIsRespawnIfRequired
W0410 21:52:18.907907   13774 nginx.go:34] 
-------------------------------------------------------------------------------
NGINX master process died (0): exit status 0
... skipping 30 lines ...
	have (string, labels.Selector, string, string, string, string, time.Duration, *kubernetes.Clientset, *channels.RingChannel, bool, *ingressclass.IngressClassConfiguration)
	want (string, labels.Selector, string, string, string, string, time.Duration, kubernetes.Interface, *channels.RingChannel, bool, bool, *ingressclass.IngressClassConfiguration)
internal/ingress/controller/store/store_test.go:1038:16: not enough arguments in call to New
	have (string, labels.Selector, string, string, string, string, time.Duration, *kubernetes.Clientset, *channels.RingChannel, bool, *ingressclass.IngressClassConfiguration)
	want (string, labels.Selector, string, string, string, string, time.Duration, kubernetes.Interface, *channels.RingChannel, bool, bool, *ingressclass.IngressClassConfiguration)
internal/ingress/controller/store/store_test.go:1038:16: too many errors
FAIL	k8s.io/ingress-nginx/internal/ingress/controller/store [build failed]
=== RUN   TestFilterErrors
W0410 21:52:26.686501   15237 configmap.go:413] error code 200 is not valid for custom error pages
W0410 21:52:26.686626   15237 configmap.go:413] error code 999 is not valid for custom error pages
--- PASS: TestFilterErrors (0.00s)
=== RUN   TestProxyTimeoutParsing
W0410 21:52:26.693585   15237 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.01s)
=== RUN   TestMergeConfigMapToStruct
W0410 21:52:26.701658   15237 configmap.go:152] demo is not a valid http code: strconv.Atoi: parsing "demo": invalid syntax
W0410 21:52:26.701772   15237 configmap.go:192] 3.3.3 is not a valid textual representation of an IP address
W0410 21:52:26.701814   15237 configmap.go:192] 33:33:33::33::33 is not a valid textual representation of an IP address
W0410 21:52:26.705140   15237 configmap.go:152] demo is not a valid http code: strconv.Atoi: parsing "demo": invalid syntax
... skipping 6 lines ...
W0410 21:52:26.737794   15237 configmap.go:232] Global auth location denied - invalid url host.
--- PASS: TestGlobalExternalAuthURLParsing (0.01s)
=== RUN   TestGlobalExternalAuthMethodParsing
W0410 21:52:26.744623   15237 configmap.go:244] Global auth location denied - invalid HTTP method.
--- PASS: TestGlobalExternalAuthMethodParsing (0.01s)
=== RUN   TestGlobalExternalAuthSigninParsing
W0410 21:52:26.750075   15237 configmap.go:256] Global auth location denied - global-auth-signin setting is undefined and will not be set.
W0410 21:52:26.752809   15237 configmap.go:256] Global auth location denied - global-auth-signin setting is undefined and will not be set.
W0410 21:52:26.759141   15237 configmap.go:256] Global auth location denied - global-auth-signin setting is undefined and will not be set.
--- PASS: TestGlobalExternalAuthSigninParsing (0.03s)
=== RUN   TestGlobalExternalAuthSigninRedirectParamParsing
W0410 21:52:26.791675   15237 configmap.go:256] Global auth location denied - global-auth-signin setting is undefined and will not be set.
W0410 21:52:26.791708   15237 configmap.go:269] Global auth redirect parameter denied - global-auth-signin-redirect-param setting is invalid and will not be set.
--- PASS: TestGlobalExternalAuthSigninRedirectParamParsing (0.02s)
=== RUN   TestGlobalExternalAuthResponseHeadersParsing
W0410 21:52:26.799914   15237 configmap.go:283] Global auth location denied - invalid headers list.
W0410 21:52:26.805997   15237 configmap.go:283] Global auth location denied - invalid headers list.
W0410 21:52:26.812297   15237 configmap.go:283] Global auth location denied - invalid headers list.
... skipping 231 lines ...
--- PASS: TestProcessCollector (0.03s)
    --- PASS: TestProcessCollector/should_return_metrics (0.03s)
=== RUN   TestNewUDPLogListener
--- PASS: TestNewUDPLogListener (0.00s)
=== RUN   TestCollector
=== RUN   TestCollector/invalid_metric_object_should_not_increase_prometheus_metrics
E0410 21:52:29.603714   15197 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.131s
=== RUN   TestParseNameNS
--- PASS: TestParseNameNS (0.00s)
=== RUN   TestGetNodeIP
E0410 21:52:27.885497   15380 main.go:49] "Error getting node" err="nodes \"demo\" not found" name="demo"
E0410 21:52:27.885547   15380 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.021s
=== RUN   TestNewIPSet
... skipping 8 lines ...
ok  	k8s.io/ingress-nginx/internal/net	0.015s
=== RUN   TestGetDNSServers
--- PASS: TestGetDNSServers (0.01s)
PASS
ok  	k8s.io/ingress-nginx/internal/net/dns	0.033s
=== RUN   TestStoreSSLCertOnDisk
    ssl_test.go:90: unexpected error storing SSL certificate: could not create PEM certificate file /etc/ingress-controller/ssl/test-1649627548450137261.pem: open /etc/ingress-controller/ssl/test-1649627548450137261.pem: no such file or directory
--- FAIL: TestStoreSSLCertOnDisk (0.50s)
=== RUN   TestCACert
    ssl_test.go:125: unexpected error storing SSL certificate: could not create PEM certificate file /etc/ingress-controller/ssl/test-1649627548845526571.pem: open /etc/ingress-controller/ssl/test-1649627548845526571.pem: no such file or directory
--- FAIL: TestCACert (0.40s)
=== RUN   TestGetFakeSSLCert
F0410 21:52:29.053878   15386 ssl.go:388] unexpected error storing fake SSL Cert: could not create PEM certificate file /etc/ingress-controller/ssl/default-fake-certificate.pem: open /etc/ingress-controller/ssl/default-fake-certificate.pem: no such file or directory
goroutine 5 [running]:
k8s.io/klog/v2.stacks(0x1)
	/home/prow/go/pkg/mod/k8s.io/klog/v2@v2.60.1/klog.go:860 +0x8a
k8s.io/klog/v2.(*loggingT).output(0x1e96b80, 0x3, 0x0, 0xc0003a0150, 0x1, {0x1773ac5, 0x1}, 0x1e97240, 0x0)
	/home/prow/go/pkg/mod/k8s.io/klog/v2@v2.60.1/klog.go:825 +0x686
k8s.io/klog/v2.(*loggingT).printfDepth(0x1e96b80, 0x68f, 0x0, {0x0, 0x0}, 0x1a8f730, {0x1355ea3, 0x2a}, {0xc0003803b0, 0x1, ...})
... skipping 21 lines ...
testing.runTests(0xc00037e880, {0x1e82e80, 0x8, 0x8}, {0x48a34d, 0x1336971, 0x1e96840})
	/usr/local/go/src/testing/testing.go:1596 +0x43f
testing.(*M).Run(0xc00037e880)
	/usr/local/go/src/testing/testing.go:1504 +0x51d
main.main()
	_testmain.go:57 +0x14b
FAIL	k8s.io/ingress-nginx/internal/net/ssl	1.120s
=== RUN   TestGeoLite2DBExists
=== RUN   TestGeoLite2DBExists/empty
E0410 21:52:26.515444   15198 maxmind.go:74] .mmdb not found
=== RUN   TestGeoLite2DBExists/existing_files
--- PASS: TestGeoLite2DBExists (0.00s)
    --- PASS: TestGeoLite2DBExists/empty (0.00s)
... skipping 7 lines ...
ok  	k8s.io/ingress-nginx/internal/sets	0.009s
=== RUN   TestShutdown
--- PASS: TestShutdown (0.00s)
=== RUN   TestEnqueueSuccess
--- PASS: TestEnqueueSuccess (0.01s)
=== RUN   TestEnqueueFailed
E0410 21:52:27.751424   15363 queue.go:78] "queue has been shutdown, failed to enqueue" key={k:testKey v:testValue}
--- PASS: TestEnqueueFailed (0.02s)
=== RUN   TestEnqueueKeyError
E0410 21:52:27.762086   15363 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.078s
=== RUN   TestFileWatcher
--- PASS: TestFileWatcher (0.52s)
=== RUN   TestFileWatcherWithNestedSymlink
--- PASS: TestFileWatcherWithNestedSymlink (0.01s)
PASS
ok  	k8s.io/ingress-nginx/internal/watch	0.555s
?   	k8s.io/ingress-nginx/version	[no test files]
FAIL
make: *** [Makefile:135: test] Error 2