This job view page is being replaced by Spyglass soon. Check out the new job view.
PRbraceinhz: Fix golint errors in cmd/cloud-controller-manager/app/apis/config/v1alpha1
ResultFAILURE
Tests 1 failed / 895 succeeded
Started2019-12-03 08:47
Elapsed8m13s
Revisionea845a73390155864ec1446dabb63be709bb41c0
Refs 85436

Test Failures


//cmd/cloud-controller-manager/app/options:go_default_test 0.00s

bazel test //cmd/cloud-controller-manager/app/options:go_default_test
exec ${PAGER:-/usr/bin/less} "$0" || exit 1
Executing tests from //cmd/cloud-controller-manager/app/options:go_default_test
-----------------------------------------------------------------------------
--- FAIL: TestDefaultFlags (0.00s)
    options_test.go:125: Got different run options than expected.
        Difference detected on:
          &options.CloudControllerManagerOptions{
          	Generic: &options.GenericControllerManagerConfigurationOptions{
          		GenericControllerManagerConfiguration: &config.GenericControllerManagerConfiguration{
          			Port:            0,
        - 			Address:         "0.0.0.0",
        + 			Address:         "",
        - 			MinResyncPeriod: v1.Duration{Duration: s"12h0m0s"},
        + 			MinResyncPeriod: v1.Duration{},
          			ClientConnection: config.ClientConnectionConfiguration{
          				Kubeconfig:         "",
          				AcceptContentTypes: "",
        - 				ContentType:        "application/vnd.kubernetes.protobuf",
        + 				ContentType:        "",
        - 				QPS:                20,
        + 				QPS:                0,
        - 				Burst:              30,
        + 				Burst:              0,
          			},
          			ControllerStartInterval: v1.Duration{},
          			LeaderElection: config.LeaderElectionConfiguration{
        - 				LeaderElect:       true,
        + 				LeaderElect:       false,
        - 				LeaseDuration:     v1.Duration{Duration: s"15s"},
        + 				LeaseDuration:     v1.Duration{},
        - 				RenewDeadline:     v1.Duration{Duration: s"10s"},
        + 				RenewDeadline:     v1.Duration{},
        - 				RetryPeriod:       v1.Duration{Duration: s"2s"},
        + 				RetryPeriod:       v1.Duration{},
        - 				ResourceLock:      "endpointsleases",
        + 				ResourceLock:      "",
          				ResourceName:      "cloud-controller-manager",
          				ResourceNamespace: "kube-system",
          			},
        - 			Controllers: []string{"*"},
        + 			Controllers: nil,
          			Debugging:   config.DebuggingConfiguration{},
          		},
          		Debugging: &options.DebuggingOptions{DebuggingConfiguration: &config.DebuggingConfiguration{}},
          	},
          	KubeCloudShared: &options.KubeCloudSharedOptions{KubeCloudSharedConfiguration: &config.KubeCloudSharedConfiguration{RouteReconciliationPeriod: v1.Duration{Duration: s"10s"}, NodeMonitorPeriod: v1.Duration{Duration: s"5s"}, ClusterName: "kubernetes", ConfigureCloudRoutes: true}, CloudProvider: &options.CloudProviderOptions{CloudProviderConfiguration: &config.CloudProviderConfiguration{}}},
        - 	ServiceController: &options.ServiceControllerOptions{
        - 		ServiceControllerConfiguration: &config.ServiceControllerConfiguration{ConcurrentServiceSyncs: 1},
        - 	},
        + 	ServiceController: &options.ServiceControllerOptions{ServiceControllerConfiguration: &config.ServiceControllerConfiguration{}},
          	SecureServing:     &options.SecureServingOptionsWithLoopback{SecureServingOptions: &options.SecureServingOptions{BindAddress: s"0.0.0.0", BindPort: 10258, ServerCert: options.GeneratableKeyCert{PairName: "cloud-controller-manager"}}},
          	InsecureServing: &options.DeprecatedInsecureServingOptionsWithLoopback{
          		DeprecatedInsecureServingOptions: &options.DeprecatedInsecureServingOptions{
        - 			BindAddress: s"0.0.0.0",
        + 			BindAddress: s"<nil>",
          			BindPort:    0,
          			BindNetwork: "tcp",
          			... // 2 identical fields
          		},
          	},
          	Authentication:            &options.DelegatingAuthenticationOptions{RemoteKubeConfigFileOptional: true, CacheTTL: s"10s", RequestHeader: options.RequestHeaderAuthenticationOptions{UsernameHeaders: []string{"x-remote-user"}, GroupHeaders: []string{"x-remote-group"}, ExtraHeaderPrefixes: []string{"x-remote-extra-"}}},
          	Authorization:             &options.DelegatingAuthorizationOptions{RemoteKubeConfigFileOptional: true, AllowCacheTTL: s"10s", DenyCacheTTL: s"10s", AlwaysAllowPaths: []string{"/healthz"}},
          	Master:                    "",
          	Kubeconfig:                "",
        - 	NodeStatusUpdateFrequency: v1.Duration{Duration: s"5m0s"},
        + 	NodeStatusUpdateFrequency: v1.Duration{},
          }
Flag --address has been deprecated, see --bind-address instead.
Flag --port has been deprecated, see --secure-port instead.
--- FAIL: TestAddFlags (0.00s)
    options_test.go:256: Got different run options than expected.
        Difference detected on:
          &options.CloudControllerManagerOptions{
          	Generic: &options.GenericControllerManagerConfigurationOptions{
          		GenericControllerManagerConfiguration: &config.GenericControllerManagerConfiguration{
          			Port:             0,
        - 			Address:          "0.0.0.0",
        + 			Address:          "",
          			MinResyncPeriod:  v1.Duration{Duration: s"1h40m0s"},
          			ClientConnection: config.ClientConnectionConfiguration{ContentType: "application/vnd.kubernetes.protobuf", QPS: 50, Burst: 100},
          			... // 4 identical fields
          		},
          		Debugging: &options.DebuggingOptions{DebuggingConfiguration: &config.DebuggingConfiguration{EnableContentionProfiling: true}},
          	},
          	KubeCloudShared: &options.KubeCloudSharedOptions{KubeCloudSharedConfiguration: &config.KubeCloudSharedConfiguration{RouteReconciliationPeriod: v1.Duration{Duration: s"30s"}, NodeMonitorPeriod: v1.Duration{Duration: s"5s"}, ClusterName: "k8s", ClusterCIDR: "1.2.3.4/24", AllocateNodeCIDRs: true, CIDRAllocatorType: "RangeAllocator"}, CloudProvider: &options.CloudProviderOptions{CloudProviderConfiguration: &config.CloudProviderConfiguration{Name: "gce", CloudConfigFile: "/cloud-config"}}},
        - 	ServiceController: &options.ServiceControllerOptions{
        - 		ServiceControllerConfiguration: &config.ServiceControllerConfiguration{ConcurrentServiceSyncs: 1},
        - 	},
        + 	ServiceController: &options.ServiceControllerOptions{ServiceControllerConfiguration: &config.ServiceControllerConfiguration{}},
          	SecureServing:     &options.SecureServingOptionsWithLoopback{SecureServingOptions: &options.SecureServingOptions{BindAddress: s"192.168.4.21", BindPort: 10001, ServerCert: options.GeneratableKeyCert{CertDirectory: "/a/b/c", PairName: "cloud-controller-manager"}, HTTP2MaxStreamsPerConnection: 47}},
          	InsecureServing:   &options.DeprecatedInsecureServingOptionsWithLoopback{DeprecatedInsecureServingOptions: &options.DeprecatedInsecureServingOptions{BindAddress: s"192.168.4.10", BindPort: 10000, BindNetwork: "tcp"}},
          	... // 5 identical fields
          }
FAIL

				from junit_bazel.xml

Filter through log files | View test history on testgrid


Show 895 Passed Tests

Error lines from build-log.txt

... skipping 39 lines ...
[6,532 / 10,303] 283 / 896 tests; GoCompilePkg vendor/google.golang.org/api/compute/v0.alpha/linux_amd64_race_stripped/go_default_library%/k8s.io/kubernetes/vendor/google.golang.org/api/compute/v0.alpha.a; 33s remote ... (201 actions, 200 running)
[6,914 / 10,382] 358 / 896 tests; GoCompilePkg vendor/google.golang.org/api/compute/v0.alpha/linux_amd64_race_stripped/go_default_library%/k8s.io/kubernetes/vendor/google.golang.org/api/compute/v0.alpha.a; 52s remote ... (105 actions running)
[7,882 / 10,495] 475 / 896 tests; Listing all stable metrics. //test/instrumentation:list_stable_metrics; 63s remote ... (65 actions, 64 running)
[8,542 / 10,545] 525 / 896 tests; Listing all stable metrics. //test/instrumentation:list_stable_metrics; 89s remote ... (108 actions, 107 running)
[9,134 / 10,620] 581 / 896 tests; GoLink cmd/cloud-controller-manager/app/options/linux_amd64_race_stripped/go_default_test; 38s remote ... (263 actions, 262 running)
[9,827 / 10,694] 660 / 896 tests; GoLink pkg/kubeapiserver/options/linux_amd64_race_stripped/go_default_test; 48s remote ... (188 actions, 187 running)
FAIL: //cmd/cloud-controller-manager/app/options:go_default_test (see /bazel-scratch/.cache/bazel/_bazel_root/7989b31489f31aee54f32688da2f0120/execroot/io_k8s_kubernetes/bazel-out/k8-fastbuild/testlogs/cmd/cloud-controller-manager/app/options/go_default_test/test_attempts/attempt_1.log)
FAIL: //cmd/cloud-controller-manager/app/options:go_default_test (see /bazel-scratch/.cache/bazel/_bazel_root/7989b31489f31aee54f32688da2f0120/execroot/io_k8s_kubernetes/bazel-out/k8-fastbuild/testlogs/cmd/cloud-controller-manager/app/options/go_default_test/test_attempts/attempt_2.log)

FAILED: //cmd/cloud-controller-manager/app/options:go_default_test (Summary)
      /bazel-scratch/.cache/bazel/_bazel_root/7989b31489f31aee54f32688da2f0120/execroot/io_k8s_kubernetes/bazel-out/k8-fastbuild/testlogs/cmd/cloud-controller-manager/app/options/go_default_test/test.log
      /bazel-scratch/.cache/bazel/_bazel_root/7989b31489f31aee54f32688da2f0120/execroot/io_k8s_kubernetes/bazel-out/k8-fastbuild/testlogs/cmd/cloud-controller-manager/app/options/go_default_test/test.log
      /bazel-scratch/.cache/bazel/_bazel_root/7989b31489f31aee54f32688da2f0120/execroot/io_k8s_kubernetes/bazel-out/k8-fastbuild/testlogs/cmd/cloud-controller-manager/app/options/go_default_test/test_attempts/attempt_1.log
      /bazel-scratch/.cache/bazel/_bazel_root/7989b31489f31aee54f32688da2f0120/execroot/io_k8s_kubernetes/bazel-out/k8-fastbuild/testlogs/cmd/cloud-controller-manager/app/options/go_default_test/test.log
      /bazel-scratch/.cache/bazel/_bazel_root/7989b31489f31aee54f32688da2f0120/execroot/io_k8s_kubernetes/bazel-out/k8-fastbuild/testlogs/cmd/cloud-controller-manager/app/options/go_default_test/test_attempts/attempt_2.log
FAIL: //cmd/cloud-controller-manager/app/options:go_default_test (see /bazel-scratch/.cache/bazel/_bazel_root/7989b31489f31aee54f32688da2f0120/execroot/io_k8s_kubernetes/bazel-out/k8-fastbuild/testlogs/cmd/cloud-controller-manager/app/options/go_default_test/test.log)
INFO: From Testing //cmd/cloud-controller-manager/app/options:go_default_test:
==================== Test output for //cmd/cloud-controller-manager/app/options:go_default_test:
--- FAIL: TestDefaultFlags (0.00s)
    options_test.go:125: Got different run options than expected.
        Difference detected on:
          &options.CloudControllerManagerOptions{
          	Generic: &options.GenericControllerManagerConfigurationOptions{
          		GenericControllerManagerConfiguration: &config.GenericControllerManagerConfiguration{
          			Port:            0,
... skipping 53 lines ...
          	Kubeconfig:                "",
        - 	NodeStatusUpdateFrequency: v1.Duration{Duration: s"5m0s"},
        + 	NodeStatusUpdateFrequency: v1.Duration{},
          }
Flag --address has been deprecated, see --bind-address instead.
Flag --port has been deprecated, see --secure-port instead.
--- FAIL: TestAddFlags (0.00s)
    options_test.go:256: Got different run options than expected.
        Difference detected on:
          &options.CloudControllerManagerOptions{
          	Generic: &options.GenericControllerManagerConfigurationOptions{
          		GenericControllerManagerConfiguration: &config.GenericControllerManagerConfiguration{
          			Port:             0,
... skipping 11 lines ...
        - 	},
        + 	ServiceController: &options.ServiceControllerOptions{ServiceControllerConfiguration: &config.ServiceControllerConfiguration{}},
          	SecureServing:     &options.SecureServingOptionsWithLoopback{SecureServingOptions: &options.SecureServingOptions{BindAddress: s"192.168.4.21", BindPort: 10001, ServerCert: options.GeneratableKeyCert{CertDirectory: "/a/b/c", PairName: "cloud-controller-manager"}, HTTP2MaxStreamsPerConnection: 47}},
          	InsecureServing:   &options.DeprecatedInsecureServingOptionsWithLoopback{DeprecatedInsecureServingOptions: &options.DeprecatedInsecureServingOptions{BindAddress: s"192.168.4.10", BindPort: 10000, BindNetwork: "tcp"}},
          	... // 5 identical fields
          }
FAIL
================================================================================
==================== Test output for //cmd/cloud-controller-manager/app/options:go_default_test:
--- FAIL: TestDefaultFlags (0.00s)
    options_test.go:125: Got different run options than expected.
        Difference detected on:
          &options.CloudControllerManagerOptions{
          	Generic: &options.GenericControllerManagerConfigurationOptions{
          		GenericControllerManagerConfiguration: &config.GenericControllerManagerConfiguration{
          			Port:            0,
... skipping 53 lines ...
          	Kubeconfig:                "",
        - 	NodeStatusUpdateFrequency: v1.Duration{Duration: s"5m0s"},
        + 	NodeStatusUpdateFrequency: v1.Duration{},
          }
Flag --address has been deprecated, see --bind-address instead.
Flag --port has been deprecated, see --secure-port instead.
--- FAIL: TestAddFlags (0.00s)
    options_test.go:256: Got different run options than expected.
        Difference detected on:
          &options.CloudControllerManagerOptions{
          	Generic: &options.GenericControllerManagerConfigurationOptions{
          		GenericControllerManagerConfiguration: &config.GenericControllerManagerConfiguration{
          			Port:             0,
... skipping 11 lines ...
        - 	},
        + 	ServiceController: &options.ServiceControllerOptions{ServiceControllerConfiguration: &config.ServiceControllerConfiguration{}},
          	SecureServing:     &options.SecureServingOptionsWithLoopback{SecureServingOptions: &options.SecureServingOptions{BindAddress: s"192.168.4.21", BindPort: 10001, ServerCert: options.GeneratableKeyCert{CertDirectory: "/a/b/c", PairName: "cloud-controller-manager"}, HTTP2MaxStreamsPerConnection: 47}},
          	InsecureServing:   &options.DeprecatedInsecureServingOptionsWithLoopback{DeprecatedInsecureServingOptions: &options.DeprecatedInsecureServingOptions{BindAddress: s"192.168.4.10", BindPort: 10000, BindNetwork: "tcp"}},
          	... // 5 identical fields
          }
FAIL
================================================================================
==================== Test output for //cmd/cloud-controller-manager/app/options:go_default_test:
--- FAIL: TestDefaultFlags (0.00s)
    options_test.go:125: Got different run options than expected.
        Difference detected on:
          &options.CloudControllerManagerOptions{
          	Generic: &options.GenericControllerManagerConfigurationOptions{
          		GenericControllerManagerConfiguration: &config.GenericControllerManagerConfiguration{
          			Port:            0,
... skipping 53 lines ...
          	Kubeconfig:                "",
        - 	NodeStatusUpdateFrequency: v1.Duration{Duration: s"5m0s"},
        + 	NodeStatusUpdateFrequency: v1.Duration{},
          }
Flag --address has been deprecated, see --bind-address instead.
Flag --port has been deprecated, see --secure-port instead.
--- FAIL: TestAddFlags (0.00s)
    options_test.go:256: Got different run options than expected.
        Difference detected on:
          &options.CloudControllerManagerOptions{
          	Generic: &options.GenericControllerManagerConfigurationOptions{
          		GenericControllerManagerConfiguration: &config.GenericControllerManagerConfiguration{
          			Port:             0,
... skipping 11 lines ...
        - 	},
        + 	ServiceController: &options.ServiceControllerOptions{ServiceControllerConfiguration: &config.ServiceControllerConfiguration{}},
          	SecureServing:     &options.SecureServingOptionsWithLoopback{SecureServingOptions: &options.SecureServingOptions{BindAddress: s"192.168.4.21", BindPort: 10001, ServerCert: options.GeneratableKeyCert{CertDirectory: "/a/b/c", PairName: "cloud-controller-manager"}, HTTP2MaxStreamsPerConnection: 47}},
          	InsecureServing:   &options.DeprecatedInsecureServingOptionsWithLoopback{DeprecatedInsecureServingOptions: &options.DeprecatedInsecureServingOptions{BindAddress: s"192.168.4.10", BindPort: 10000, BindNetwork: "tcp"}},
          	... // 5 identical fields
          }
FAIL
================================================================================
[10,246 / 10,820] 799 / 896 tests, 1 failed; GoCompilePkg pkg/printers/internalversion/linux_amd64_race_stripped/go_default_library%/k8s.io/kubernetes/pkg/printers/internalversion.a; 60s remote ... (62 actions, 61 running)
[10,906 / 10,911] 891 / 896 tests, 1 failed; GoLink staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/linux_amd64_race_stripped/go_default_test; 26s remote ... (5 actions running)
[10,913 / 10,915] 894 / 896 tests, 1 failed; GoLink cmd/genkubedocs/linux_amd64_race_stripped/go_default_test; 69s remote ... (2 actions running)
[10,913 / 10,915] 894 / 896 tests, 1 failed; GoLink cmd/genkubedocs/linux_amd64_race_stripped/go_default_test; 129s remote ... (2 actions running)
INFO: Elapsed time: 489.828s, Critical Path: 417.18s
INFO: 10000 processes: 9984 remote cache hit, 16 remote.
INFO: Build completed, 1 test FAILED, 10916 total actions
//cluster:clientbin_test                                        (cached) PASSED in 0.9s
//cluster:common_test                                           (cached) PASSED in 0.4s
//cluster:kube-util_test                                        (cached) PASSED in 1.0s
//cluster/gce/cos:go_default_test                               (cached) PASSED in 4.3s
//cluster/gce/custom:go_default_test                            (cached) PASSED in 3.3s
//cluster/gce/gci:go_default_test                               (cached) PASSED in 3.3s
... skipping 883 lines ...
//third_party/forked/golang/expansion:go_default_test           (cached) PASSED in 0.0s
//third_party/forked/golang/reflect:go_default_test             (cached) PASSED in 0.1s
//third_party/forked/gonum/graph/simple:go_default_test         (cached) PASSED in 1.2s
//pkg/master:go_default_test                                             PASSED in 112.9s
//staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver:go_default_test PASSED in 5.6s
//staging/src/k8s.io/apiextensions-apiserver/pkg/controller/openapi/builder:go_default_test PASSED in 6.0s
//cmd/cloud-controller-manager/app/options:go_default_test               FAILED in 5 out of 5 in 15.4s
  Stats over 3 runs: max = 15.4s, min = 4.6s, avg = 10.0s, dev = 4.4s
  /bazel-scratch/.cache/bazel/_bazel_root/7989b31489f31aee54f32688da2f0120/execroot/io_k8s_kubernetes/bazel-out/k8-fastbuild/testlogs/cmd/cloud-controller-manager/app/options/go_default_test/test.log
  /bazel-scratch/.cache/bazel/_bazel_root/7989b31489f31aee54f32688da2f0120/execroot/io_k8s_kubernetes/bazel-out/k8-fastbuild/testlogs/cmd/cloud-controller-manager/app/options/go_default_test/test.log
  /bazel-scratch/.cache/bazel/_bazel_root/7989b31489f31aee54f32688da2f0120/execroot/io_k8s_kubernetes/bazel-out/k8-fastbuild/testlogs/cmd/cloud-controller-manager/app/options/go_default_test/test_attempts/attempt_1.log
  /bazel-scratch/.cache/bazel/_bazel_root/7989b31489f31aee54f32688da2f0120/execroot/io_k8s_kubernetes/bazel-out/k8-fastbuild/testlogs/cmd/cloud-controller-manager/app/options/go_default_test/test.log
  /bazel-scratch/.cache/bazel/_bazel_root/7989b31489f31aee54f32688da2f0120/execroot/io_k8s_kubernetes/bazel-out/k8-fastbuild/testlogs/cmd/cloud-controller-manager/app/options/go_default_test/test_attempts/attempt_2.log

Executed 4 out of 896 tests: 895 tests pass and 1 fails remotely.
There were tests whose specified size is too big. Use the --test_verbose_timeout_warnings command line option to see which ones these are.
INFO: Build completed, 1 test FAILED, 10916 total actions
+ ../test-infra/hack/coalesce.py
+ exit 3