This job view page is being replaced by Spyglass soon. Check out the new job view.
PRcharleszheng44: ✨ Generate the manifests by calling the kubeadm
ResultFAILURE
Tests 0 failed / 0 succeeded
Started2021-09-14 16:33
Elapsed1m17s
Revision2949cf0590e84ee721af0c536dff32303bd17d4d
Refs 216

No Test Failures!


Error lines from build-log.txt

... skipping 185 lines ...
	KubeadmExecPath          = "/kubeadm"
	^
controlplane/nested/kubeadm/consts.go:18:2: exported: exported var KASSubcommand should have comment or be unexported (revive)
	KASSubcommand  = []string{"init", "phase", "control-plane", "apiserver", "--config", DefaultKubeadmConfigPath}
	^
controlplane/nested/kubeadm/kubeadm.go:71:6: var-naming: don't use underscores in Go names; func exec_command should be execCommand (revive)
func exec_command(command string, subcommand ...string) error {
     ^
controlplane/nested/kubeadm/kubeadm.go:13:7: exported: exported const DefaultKubeadmConfig should have comment or be unexported (revive)
const DefaultKubeadmConfig = `
apiVersion: kubeadm.k8s.io/v1beta3
certificatesDir: /etc/kubernetes/pki
clusterName: kubernetes
... skipping 51 lines ...
      name:                        $(HOSTNAME)
      data-dir:                    /var/lib/etcd/data`
controlplane/nested/controllers/consts.go:30:2: exported: exported const KASManifestConfigmapName should have comment (or a comment on this block) or be unexported (revive)
	KASManifestConfigmapName  = "nkas-manifest"
	^
controlplane/nested/kubeadm/kubeadm.go:126:48: `completeDefaultKubeadmConfig` - `defaultConfig` is unused (unparam)
func completeDefaultKubeadmConfig(clusterName, defaultConfig string) (string, error) {
                                               ^
controlplane/nested/kubeadm/consts.go:1:1: ST1000: at least one file in a package should have a package comment (stylecheck)
package kubeadm
^
controlplane/nested/kubeadm/kubeadm.go:1:1: ST1000: at least one file in a package should have a package comment (stylecheck)
package kubeadm
^
level=info msg="File cache stats: 41 entries of total size 191.7KiB"
level=info msg="Memory: 469 samples, avg is 400.7MB, max is 1015.6MB"
level=info msg="Execution took 47.264240229s"
make: *** [Makefile:143: lint] Error 1
+ EXIT_VALUE=2
+ set +o xtrace