Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delete v1alpha1 API and controller #868

Merged
merged 4 commits into from
Nov 9, 2018

Conversation

richardsliu
Copy link
Contributor

@richardsliu richardsliu commented Nov 8, 2018

#865

This change is Reviewable

@TravisBuddy
Copy link

Travis tests have failed

Hey @richardsliu,
Please read the following log in order to understand the failure reason.
It'll be awesome if you fix what's wrong and commit the changes.

1st Build

View build log

gometalinter --config=linter_config.json --vendor ./...
hack/genjob/genjob.go:116:50:warning: error return value not checked (invalid operation: job (variable of type *invalid type) has no field or method ObjectMeta) (errcheck)
hack/genjob/genjob.go:47:2:warning: unused variable or constant one declared but not used (varcheck)
hack/genjob/genjob.go:48:10:warning: undeclared name: v1alpha1 (unconvert)
hack/genjob/genjob.go:82:3:warning: invalid operation: job (variable of type *invalid type) has no field or method Spec (unconvert)
hack/genjob/genjob.go:78:3:warning: error return value not checked (invalid operation: job (variable of type *invalid type) has no field or method Spec) (errcheck)
hack/genjob/genjob.go:80:44:warning: error return value not checked (undeclared name: v1alpha1) (errcheck)
hack/genjob/genjob.go:81:3:warning: error return value not checked (invalid operation: job (variable of type *invalid type) has no field or method Spec) (errcheck)
hack/genjob/genjob.go:82:3:warning: unused variable or constant invalid operation: job (variable of type *invalid type) has no field or method Spec (varcheck)
hack/genjob/genjob.go:114:13:warning: unused variable or constant invalid operation: tfJobClient (variable of type *github.com/kubeflow/tf-operator/pkg/client/clientset/versioned.Clientset) has no field or method KubeflowV1alpha1 (varcheck)
hack/genjob/genjob.go:26:2:warning: unused variable or constant "github.com/kubeflow/tf-operator/vendor/k8s.io/apimachinery/pkg/apis/meta/v1" imported but not used as metav1 (varcheck, varcheck)
hack/genjob/genjob.go:46:69:warning: undeclared name: v1alpha1 (unconvert)
hack/genjob/genjob.go:114:13:warning: invalid operation: tfJobClient (variable of type *github.com/kubeflow/tf-operator/pkg/client/clientset/versioned.Clientset) has no field or method KubeflowV1alpha1 (unconvert)
hack/genjob/genjob.go:46:69:warning: error return value not checked (undeclared name: v1alpha1) (errcheck)
hack/genjob/genjob.go:23:11:warning: unused variable or constant could not import github.com/kubeflow/tf-operator/pkg/apis/tensorflow/v1alpha1 (cannot find package "github.com/kubeflow/tf-operator/pkg/apis/tensorflow/v1alpha1" in any of: (varcheck)
hack/genjob/genjob.go:80:44:warning: unused variable or constant undeclared name: v1alpha1 (varcheck)
hack/genjob/genjob.go:78:3:warning: invalid operation: job (variable of type *invalid type) has no field or method Spec (unconvert)
hack/genjob/genjob.go:26:2:warning: "github.com/kubeflow/tf-operator/vendor/k8s.io/apimachinery/pkg/apis/meta/v1" imported but not used as metav1 (unconvert)
hack/genjob/genjob.go:82:3:warning: error return value not checked (invalid operation: job (variable of type *invalid type) has no field or method Spec) (errcheck)
hack/genjob/genjob.go:48:10:warning: unused variable or constant undeclared name: v1alpha1 (varcheck)
hack/genjob/genjob.go:25:2:warning: unused variable or constant "github.com/kubeflow/tf-operator/vendor/k8s.io/api/core/v1" imported but not used (varcheck, varcheck)
hack/genjob/genjob.go:77:44:warning: undeclared name: v1alpha1 (unconvert)
hack/genjob/genjob.go:81:3:warning: invalid operation: job (variable of type *invalid type) has no field or method Spec (unconvert)
hack/genjob/genjob.go:25:2:warning: "github.com/kubeflow/tf-operator/vendor/k8s.io/api/core/v1" imported but not used (unconvert)
hack/genjob/genjob.go:114:13:warning: error return value not checked (invalid operation: tfJobClient (variable of type *github.com/kubeflow/tf-operator/pkg/client/clientset/versioned.Clientset) has no field or method KubeflowV1alpha1) (errcheck)
hack/genjob/genjob.go:116:50:warning: unused variable or constant invalid operation: job (variable of type *invalid type) has no field or method ObjectMeta (varcheck)
hack/genjob/genjob.go:82:33:warning: unused variable or constant undeclared name: v1alpha1 (varcheck)
hack/genjob/genjob.go:116:50:warning: invalid operation: job (variable of type *invalid type) has no field or method ObjectMeta (unconvert)
hack/genjob/genjob.go:23:11:warning: error return value not checked (could not import github.com/kubeflow/tf-operator/pkg/apis/tensorflow/v1alpha1 (cannot find package "github.com/kubeflow/tf-operator/pkg/apis/tensorflow/v1alpha1" in any of:) (errcheck)
hack/genjob/genjob.go:48:10:warning: error return value not checked (undeclared name: v1alpha1) (errcheck)
hack/genjob/genjob.go:46:69:warning: unused variable or constant undeclared name: v1alpha1 (varcheck)
hack/genjob/genjob.go:81:3:warning: unused variable or constant invalid operation: job (variable of type *invalid type) has no field or method Spec (varcheck)
hack/genjob/genjob.go:47:2:warning: one declared but not used (unconvert)
hack/genjob/genjob.go:25:2:warning: error return value not checked ("github.com/kubeflow/tf-operator/vendor/k8s.io/api/core/v1" imported but not used) (errcheck)
hack/genjob/genjob.go:80:44:warning: undeclared name: v1alpha1 (unconvert)
hack/genjob/genjob.go:47:2:warning: error return value not checked (one declared but not used) (errcheck)
hack/genjob/genjob.go:26:2:warning: error return value not checked ("github.com/kubeflow/tf-operator/vendor/k8s.io/apimachinery/pkg/apis/meta/v1" imported but not used as metav1) (errcheck)
hack/genjob/genjob.go:77:44:warning: unused variable or constant undeclared name: v1alpha1 (varcheck)
hack/genjob/genjob.go:78:3:warning: unused variable or constant invalid operation: job (variable of type *invalid type) has no field or method Spec (varcheck)
hack/genjob/genjob.go:23:11:warning: could not import github.com/kubeflow/tf-operator/pkg/apis/tensorflow/v1alpha1 (cannot find package "github.com/kubeflow/tf-operator/pkg/apis/tensorflow/v1alpha1" in any of: (gosimple, staticcheck, unconvert)
hack/genjob/genjob.go:82:33:warning: undeclared name: v1alpha1 (unconvert)
hack/genjob/genjob.go:77:44:warning: error return value not checked (undeclared name: v1alpha1) (errcheck)
hack/genjob/genjob.go:82:33:warning: error return value not checked (undeclared name: v1alpha1) (errcheck)
goveralls -service=travis-ci -v -package ./pkg/... -ignore "pkg/client/*/*.go,pkg/client/*/*/*.go,pkg/client/*/*/*/*.go,pkg/client/*/*/*/*/*.go,pkg/client/*/*/*/*/*/*.go,pkg/client/*/*/*/*/*/*/*.go,pkg/util/testutil/*.go,pkg/apis/tensorflow/*/zz_generated.*.go,pkg/apis/tensorflow/*/*_generated.go"
?   	github.com/kubeflow/tf-operator/pkg/apis/common/v1beta1	[no test files]
=== RUN   TestSetTypeNames
--- PASS: TestSetTypeNames (0.00s)
=== RUN   TestSetDefaultTFJob
--- PASS: TestSetDefaultTFJob (0.00s)
=== RUN   TestIsChieforMaster
--- PASS: TestIsChieforMaster (0.00s)
PASS
coverage: 2.3% of statements in github.com/kubeflow/tf-operator/pkg/apis/common/v1beta1, github.com/kubeflow/tf-operator/pkg/apis/tensorflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/apis/tensorflow/v1beta1, github.com/kubeflow/tf-operator/pkg/apis/tensorflow/validation, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/fake, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/scheme, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1alpha2/fake, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1beta1, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1beta1/fake, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/internalinterfaces, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/kubeflow, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/kubeflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/kubeflow/v1beta1, github.com/kubeflow/tf-operator/pkg/client/listers/kubeflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/client/listers/kubeflow/v1beta1, github.com/kubeflow/tf-operator/pkg/common/jobcontroller, github.com/kubeflow/tf-operator/pkg/common/util/testutil, github.com/kubeflow/tf-operator/pkg/common/util/unstructured, github.com/kubeflow/tf-operator/pkg/control, github.com/kubeflow/tf-operator/pkg/controller.v1beta1/tensorflow, github.com/kubeflow/tf-operator/pkg/controller.v2/jobcontroller, github.com/kubeflow/tf-operator/pkg/controller.v2/tensorflow, github.com/kubeflow/tf-operator/pkg/logger, github.com/kubeflow/tf-operator/pkg/util, github.com/kubeflow/tf-operator/pkg/util/k8sutil, github.com/kubeflow/tf-operator/pkg/util/signals, github.com/kubeflow/tf-operator/pkg/util/testutil, github.com/kubeflow/tf-operator/pkg/util/train, github.com/kubeflow/tf-operator/pkg/util/unstructured, github.com/kubeflow/tf-operator/pkg/version
ok  	github.com/kubeflow/tf-operator/pkg/apis/tensorflow/v1alpha2	0.051s
=== RUN   TestSetTypeNames
--- PASS: TestSetTypeNames (0.00s)
=== RUN   TestSetDefaultTFJob
--- PASS: TestSetDefaultTFJob (0.00s)
=== RUN   TestIsChieforMaster
--- PASS: TestIsChieforMaster (0.00s)
PASS
coverage: 2.3% of statements in github.com/kubeflow/tf-operator/pkg/apis/common/v1beta1, github.com/kubeflow/tf-operator/pkg/apis/tensorflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/apis/tensorflow/v1beta1, github.com/kubeflow/tf-operator/pkg/apis/tensorflow/validation, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/fake, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/scheme, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1alpha2/fake, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1beta1, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1beta1/fake, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/internalinterfaces, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/kubeflow, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/kubeflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/kubeflow/v1beta1, github.com/kubeflow/tf-operator/pkg/client/listers/kubeflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/client/listers/kubeflow/v1beta1, github.com/kubeflow/tf-operator/pkg/common/jobcontroller, github.com/kubeflow/tf-operator/pkg/common/util/testutil, github.com/kubeflow/tf-operator/pkg/common/util/unstructured, github.com/kubeflow/tf-operator/pkg/control, github.com/kubeflow/tf-operator/pkg/controller.v1beta1/tensorflow, github.com/kubeflow/tf-operator/pkg/controller.v2/jobcontroller, github.com/kubeflow/tf-operator/pkg/controller.v2/tensorflow, github.com/kubeflow/tf-operator/pkg/logger, github.com/kubeflow/tf-operator/pkg/util, github.com/kubeflow/tf-operator/pkg/util/k8sutil, github.com/kubeflow/tf-operator/pkg/util/signals, github.com/kubeflow/tf-operator/pkg/util/testutil, github.com/kubeflow/tf-operator/pkg/util/train, github.com/kubeflow/tf-operator/pkg/util/unstructured, github.com/kubeflow/tf-operator/pkg/version
ok  	github.com/kubeflow/tf-operator/pkg/apis/tensorflow/v1beta1	0.049s
=== RUN   TestValidateAlphaTwoTFJobSpec
--- PASS: TestValidateAlphaTwoTFJobSpec (0.00s)
=== RUN   TestValidateBetaOneTFJobSpec
--- PASS: TestValidateBetaOneTFJobSpec (0.00s)
PASS
coverage: 2.3% of statements in github.com/kubeflow/tf-operator/pkg/apis/common/v1beta1, github.com/kubeflow/tf-operator/pkg/apis/tensorflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/apis/tensorflow/v1beta1, github.com/kubeflow/tf-operator/pkg/apis/tensorflow/validation, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/fake, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/scheme, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1alpha2/fake, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1beta1, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1beta1/fake, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/internalinterfaces, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/kubeflow, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/kubeflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/kubeflow/v1beta1, github.com/kubeflow/tf-operator/pkg/client/listers/kubeflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/client/listers/kubeflow/v1beta1, github.com/kubeflow/tf-operator/pkg/common/jobcontroller, github.com/kubeflow/tf-operator/pkg/common/util/testutil, github.com/kubeflow/tf-operator/pkg/common/util/unstructured, github.com/kubeflow/tf-operator/pkg/control, github.com/kubeflow/tf-operator/pkg/controller.v1beta1/tensorflow, github.com/kubeflow/tf-operator/pkg/controller.v2/jobcontroller, github.com/kubeflow/tf-operator/pkg/controller.v2/tensorflow, github.com/kubeflow/tf-operator/pkg/logger, github.com/kubeflow/tf-operator/pkg/util, github.com/kubeflow/tf-operator/pkg/util/k8sutil, github.com/kubeflow/tf-operator/pkg/util/signals, github.com/kubeflow/tf-operator/pkg/util/testutil, github.com/kubeflow/tf-operator/pkg/util/train, github.com/kubeflow/tf-operator/pkg/util/unstructured, github.com/kubeflow/tf-operator/pkg/version
ok  	github.com/kubeflow/tf-operator/pkg/apis/tensorflow/validation	0.051s
?   	github.com/kubeflow/tf-operator/pkg/client/clientset/versioned	[no test files]
?   	github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/fake	[no test files]
?   	github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/scheme	[no test files]
?   	github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1alpha2	[no test files]
?   	github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1alpha2/fake	[no test files]
?   	github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1beta1	[no test files]
?   	github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1beta1/fake	[no test files]
?   	github.com/kubeflow/tf-operator/pkg/client/informers/externalversions	[no test files]
?   	github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/internalinterfaces	[no test files]
?   	github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/kubeflow	[no test files]
?   	github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/kubeflow/v1alpha2	[no test files]
?   	github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/kubeflow/v1beta1	[no test files]
?   	github.com/kubeflow/tf-operator/pkg/client/listers/kubeflow/v1alpha2	[no test files]
?   	github.com/kubeflow/tf-operator/pkg/client/listers/kubeflow/v1beta1	[no test files]
=== RUN   TestGenGeneralName
--- PASS: TestGenGeneralName (0.00s)
PASS
coverage: 1.0% of statements in github.com/kubeflow/tf-operator/pkg/apis/common/v1beta1, github.com/kubeflow/tf-operator/pkg/apis/tensorflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/apis/tensorflow/v1beta1, github.com/kubeflow/tf-operator/pkg/apis/tensorflow/validation, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/fake, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/scheme, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1alpha2/fake, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1beta1, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1beta1/fake, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/internalinterfaces, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/kubeflow, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/kubeflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/kubeflow/v1beta1, github.com/kubeflow/tf-operator/pkg/client/listers/kubeflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/client/listers/kubeflow/v1beta1, github.com/kubeflow/tf-operator/pkg/common/jobcontroller, github.com/kubeflow/tf-operator/pkg/common/util/testutil, github.com/kubeflow/tf-operator/pkg/common/util/unstructured, github.com/kubeflow/tf-operator/pkg/control, github.com/kubeflow/tf-operator/pkg/controller.v1beta1/tensorflow, github.com/kubeflow/tf-operator/pkg/controller.v2/jobcontroller, github.com/kubeflow/tf-operator/pkg/controller.v2/tensorflow, github.com/kubeflow/tf-operator/pkg/logger, github.com/kubeflow/tf-operator/pkg/util, github.com/kubeflow/tf-operator/pkg/util/k8sutil, github.com/kubeflow/tf-operator/pkg/util/signals, github.com/kubeflow/tf-operator/pkg/util/testutil, github.com/kubeflow/tf-operator/pkg/util/train, github.com/kubeflow/tf-operator/pkg/util/unstructured, github.com/kubeflow/tf-operator/pkg/version
ok  	github.com/kubeflow/tf-operator/pkg/common/jobcontroller	0.055s
?   	github.com/kubeflow/tf-operator/pkg/common/util/testutil	[no test files]
?   	github.com/kubeflow/tf-operator/pkg/common/util/unstructured	[no test files]
=== RUN   TestCreatePods
--- PASS: TestCreatePods (0.01s)
=== RUN   TestCreateService
--- PASS: TestCreateService (0.01s)
=== RUN   TestCreateServicesWithControllerRef
--- PASS: TestCreateServicesWithControllerRef (0.00s)
=== RUN   TestClaimServices
--- PASS: TestClaimServices (0.00s)
PASS
coverage: 4.4% of statements in github.com/kubeflow/tf-operator/pkg/apis/common/v1beta1, github.com/kubeflow/tf-operator/pkg/apis/tensorflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/apis/tensorflow/v1beta1, github.com/kubeflow/tf-operator/pkg/apis/tensorflow/validation, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/fake, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/scheme, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1alpha2/fake, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1beta1, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1beta1/fake, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/internalinterfaces, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/kubeflow, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/kubeflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/kubeflow/v1beta1, github.com/kubeflow/tf-operator/pkg/client/listers/kubeflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/client/listers/kubeflow/v1beta1, github.com/kubeflow/tf-operator/pkg/common/jobcontroller, github.com/kubeflow/tf-operator/pkg/common/util/testutil, github.com/kubeflow/tf-operator/pkg/common/util/unstructured, github.com/kubeflow/tf-operator/pkg/control, github.com/kubeflow/tf-operator/pkg/controller.v1beta1/tensorflow, github.com/kubeflow/tf-operator/pkg/controller.v2/jobcontroller, github.com/kubeflow/tf-operator/pkg/controller.v2/tensorflow, github.com/kubeflow/tf-operator/pkg/logger, github.com/kubeflow/tf-operator/pkg/util, github.com/kubeflow/tf-operator/pkg/util/k8sutil, github.com/kubeflow/tf-operator/pkg/util/signals, github.com/kubeflow/tf-operator/pkg/util/testutil, github.com/kubeflow/tf-operator/pkg/util/train, github.com/kubeflow/tf-operator/pkg/util/unstructured, github.com/kubeflow/tf-operator/pkg/version
ok  	github.com/kubeflow/tf-operator/pkg/control	0.081s
=== RUN   TestNormalPath
--- PASS: TestNormalPath (0.02s)
=== RUN   TestRun
--- PASS: TestRun (0.50s)
=== RUN   TestSyncPdb
--- PASS: TestSyncPdb (0.00s)
=== RUN   TestAddTFJob
--- PASS: TestAddTFJob (0.30s)
=== RUN   TestCopyLabelsAndAnnotation
--- PASS: TestCopyLabelsAndAnnotation (0.00s)
=== RUN   TestDeletePodsAndServices
--- PASS: TestDeletePodsAndServices (0.01s)
=== RUN   TestCleanupTFJob
--- PASS: TestCleanupTFJob (2.00s)
=== RUN   TestAddPod
--- PASS: TestAddPod (0.30s)
=== RUN   TestClusterSpec
--- PASS: TestClusterSpec (0.00s)
=== RUN   TestRestartPolicy
--- PASS: TestRestartPolicy (0.00s)
=== RUN   TestExitCode
--- PASS: TestExitCode (0.00s)
=== RUN   TestAddService
--- PASS: TestAddService (0.30s)
=== RUN   TestFailed
--- PASS: TestFailed (0.00s)
=== RUN   TestStatus
--- PASS: TestStatus (0.00s)
=== RUN   TestGenOwnerReference
--- PASS: TestGenOwnerReference (0.00s)
=== RUN   TestGenLabels
--- PASS: TestGenLabels (0.00s)
=== RUN   TestConvertTFJobToUnstructured
--- PASS: TestConvertTFJobToUnstructured (0.00s)
PASS
coverage: 30.2% of statements in github.com/kubeflow/tf-operator/pkg/apis/common/v1beta1, github.com/kubeflow/tf-operator/pkg/apis/tensorflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/apis/tensorflow/v1beta1, github.com/kubeflow/tf-operator/pkg/apis/tensorflow/validation, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/fake, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/scheme, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1alpha2/fake, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1beta1, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1beta1/fake, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/internalinterfaces, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/kubeflow, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/kubeflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/kubeflow/v1beta1, github.com/kubeflow/tf-operator/pkg/client/listers/kubeflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/client/listers/kubeflow/v1beta1, github.com/kubeflow/tf-operator/pkg/common/jobcontroller, github.com/kubeflow/tf-operator/pkg/common/util/testutil, github.com/kubeflow/tf-operator/pkg/common/util/unstructured, github.com/kubeflow/tf-operator/pkg/control, github.com/kubeflow/tf-operator/pkg/controller.v1beta1/tensorflow, github.com/kubeflow/tf-operator/pkg/controller.v2/jobcontroller, github.com/kubeflow/tf-operator/pkg/controller.v2/tensorflow, github.com/kubeflow/tf-operator/pkg/logger, github.com/kubeflow/tf-operator/pkg/util, github.com/kubeflow/tf-operator/pkg/util/k8sutil, github.com/kubeflow/tf-operator/pkg/util/signals, github.com/kubeflow/tf-operator/pkg/util/testutil, github.com/kubeflow/tf-operator/pkg/util/train, github.com/kubeflow/tf-operator/pkg/util/unstructured, github.com/kubeflow/tf-operator/pkg/version
ok  	github.com/kubeflow/tf-operator/pkg/controller.v1beta1/tensorflow	3.501s
=== RUN   TestGenGeneralName
--- PASS: TestGenGeneralName (0.00s)
PASS
coverage: 1.0% of statements in github.com/kubeflow/tf-operator/pkg/apis/common/v1beta1, github.com/kubeflow/tf-operator/pkg/apis/tensorflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/apis/tensorflow/v1beta1, github.com/kubeflow/tf-operator/pkg/apis/tensorflow/validation, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/fake, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/scheme, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1alpha2/fake, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1beta1, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1beta1/fake, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/internalinterfaces, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/kubeflow, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/kubeflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/kubeflow/v1beta1, github.com/kubeflow/tf-operator/pkg/client/listers/kubeflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/client/listers/kubeflow/v1beta1, github.com/kubeflow/tf-operator/pkg/common/jobcontroller, github.com/kubeflow/tf-operator/pkg/common/util/testutil, github.com/kubeflow/tf-operator/pkg/common/util/unstructured, github.com/kubeflow/tf-operator/pkg/control, github.com/kubeflow/tf-operator/pkg/controller.v1beta1/tensorflow, github.com/kubeflow/tf-operator/pkg/controller.v2/jobcontroller, github.com/kubeflow/tf-operator/pkg/controller.v2/tensorflow, github.com/kubeflow/tf-operator/pkg/logger, github.com/kubeflow/tf-operator/pkg/util, github.com/kubeflow/tf-operator/pkg/util/k8sutil, github.com/kubeflow/tf-operator/pkg/util/signals, github.com/kubeflow/tf-operator/pkg/util/testutil, github.com/kubeflow/tf-operator/pkg/util/train, github.com/kubeflow/tf-operator/pkg/util/unstructured, github.com/kubeflow/tf-operator/pkg/version
ok  	github.com/kubeflow/tf-operator/pkg/controller.v2/jobcontroller	0.053s
=== RUN   TestNormalPath
--- PASS: TestNormalPath (0.02s)
=== RUN   TestRun
--- PASS: TestRun (0.50s)
=== RUN   TestSyncPdb
--- PASS: TestSyncPdb (0.00s)
=== RUN   TestAddTFJob
--- PASS: TestAddTFJob (0.30s)
=== RUN   TestCopyLabelsAndAnnotation
--- PASS: TestCopyLabelsAndAnnotation (0.01s)
=== RUN   TestDeletePodsAndServices
--- PASS: TestDeletePodsAndServices (0.00s)
=== RUN   TestCleanupTFJob
--- PASS: TestCleanupTFJob (2.00s)
=== RUN   TestAddPod
--- PASS: TestAddPod (0.30s)
=== RUN   TestClusterSpec
--- PASS: TestClusterSpec (0.00s)
=== RUN   TestRestartPolicy
--- PASS: TestRestartPolicy (0.00s)
=== RUN   TestExitCode
--- PASS: TestExitCode (0.00s)
=== RUN   TestAddService
--- PASS: TestAddService (0.30s)
=== RUN   TestFailed
--- PASS: TestFailed (0.00s)
=== RUN   TestStatus
--- PASS: TestStatus (0.00s)
=== RUN   TestGenOwnerReference
--- PASS: TestGenOwnerReference (0.00s)
=== RUN   TestGenLabels
--- PASS: TestGenLabels (0.00s)
=== RUN   TestConvertTFJobToUnstructured
--- PASS: TestConvertTFJobToUnstructured (0.00s)
PASS
coverage: 29.3% of statements in github.com/kubeflow/tf-operator/pkg/apis/common/v1beta1, github.com/kubeflow/tf-operator/pkg/apis/tensorflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/apis/tensorflow/v1beta1, github.com/kubeflow/tf-operator/pkg/apis/tensorflow/validation, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/fake, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/scheme, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1alpha2/fake, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1beta1, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1beta1/fake, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/internalinterfaces, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/kubeflow, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/kubeflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/kubeflow/v1beta1, github.com/kubeflow/tf-operator/pkg/client/listers/kubeflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/client/listers/kubeflow/v1beta1, github.com/kubeflow/tf-operator/pkg/common/jobcontroller, github.com/kubeflow/tf-operator/pkg/common/util/testutil, github.com/kubeflow/tf-operator/pkg/common/util/unstructured, github.com/kubeflow/tf-operator/pkg/control, github.com/kubeflow/tf-operator/pkg/controller.v1beta1/tensorflow, github.com/kubeflow/tf-operator/pkg/controller.v2/jobcontroller, github.com/kubeflow/tf-operator/pkg/controller.v2/tensorflow, github.com/kubeflow/tf-operator/pkg/logger, github.com/kubeflow/tf-operator/pkg/util, github.com/kubeflow/tf-operator/pkg/util/k8sutil, github.com/kubeflow/tf-operator/pkg/util/signals, github.com/kubeflow/tf-operator/pkg/util/testutil, github.com/kubeflow/tf-operator/pkg/util/train, github.com/kubeflow/tf-operator/pkg/util/unstructured, github.com/kubeflow/tf-operator/pkg/version
ok  	github.com/kubeflow/tf-operator/pkg/controller.v2/tensorflow	3.503s
?   	github.com/kubeflow/tf-operator/pkg/logger	[no test files]
?   	github.com/kubeflow/tf-operator/pkg/util	[no test files]
?   	github.com/kubeflow/tf-operator/pkg/util/k8sutil	[no test files]
?   	github.com/kubeflow/tf-operator/pkg/util/signals	[no test files]
?   	github.com/kubeflow/tf-operator/pkg/util/testutil	[no test files]
?   	github.com/kubeflow/tf-operator/pkg/util/train	[no test files]
?   	github.com/kubeflow/tf-operator/pkg/util/unstructured	[no test files]
?   	github.com/kubeflow/tf-operator/pkg/version	[no test files]
ignoring pkg/apis/tensorflow/v1alpha2/openapi_generated.go
ignoring pkg/apis/tensorflow/v1alpha2/zz_generated.deepcopy.go
ignoring pkg/apis/tensorflow/v1alpha2/zz_generated.defaults.go
ignoring pkg/apis/tensorflow/v1beta1/openapi_generated.go
ignoring pkg/apis/tensorflow/v1beta1/zz_generated.deepcopy.go
ignoring pkg/apis/tensorflow/v1beta1/zz_generated.defaults.go
ignoring pkg/client/clientset/versioned/clientset.go
ignoring pkg/client/clientset/versioned/fake/clientset_generated.go
ignoring pkg/client/clientset/versioned/fake/register.go
ignoring pkg/client/clientset/versioned/scheme/register.go
ignoring pkg/client/clientset/versioned/typed/kubeflow/v1alpha2/fake/fake_kubeflow_client.go
ignoring pkg/client/clientset/versioned/typed/kubeflow/v1alpha2/fake/fake_tfjob.go
ignoring pkg/client/clientset/versioned/typed/kubeflow/v1alpha2/kubeflow_client.go
ignoring pkg/client/clientset/versioned/typed/kubeflow/v1alpha2/tfjob.go
ignoring pkg/client/clientset/versioned/typed/kubeflow/v1beta1/fake/fake_kubeflow_client.go
ignoring pkg/client/clientset/versioned/typed/kubeflow/v1beta1/fake/fake_tfjob.go
ignoring pkg/client/clientset/versioned/typed/kubeflow/v1beta1/kubeflow_client.go
ignoring pkg/client/clientset/versioned/typed/kubeflow/v1beta1/tfjob.go
ignoring pkg/client/informers/externalversions/factory.go
ignoring pkg/client/informers/externalversions/generic.go
ignoring pkg/client/informers/externalversions/kubeflow/interface.go
ignoring pkg/client/informers/externalversions/kubeflow/v1alpha2/interface.go
ignoring pkg/client/informers/externalversions/kubeflow/v1alpha2/tfjob.go
ignoring pkg/client/informers/externalversions/kubeflow/v1beta1/interface.go
ignoring pkg/client/informers/externalversions/kubeflow/v1beta1/tfjob.go
ignoring pkg/client/listers/kubeflow/v1alpha2/tfjob.go
ignoring pkg/client/listers/kubeflow/v1beta1/tfjob.go
ignoring pkg/util/testutil/const.go
ignoring pkg/util/testutil/pod.go
ignoring pkg/util/testutil/service.go
ignoring pkg/util/testutil/tfjob.go
ignoring pkg/util/testutil/util.go
Job #2056.1
https://coveralls.io/jobs/42037108

2nd Build

View build log

gometalinter --config=linter_config.json --vendor ./...
hack/genjob/genjob.go:82:3:warning: unused variable or constant invalid operation: job (variable of type *invalid type) has no field or method Spec (varcheck)
hack/genjob/genjob.go:114:13:warning: unused variable or constant invalid operation: tfJobClient (variable of type *github.com/kubeflow/tf-operator/pkg/client/clientset/versioned.Clientset) has no field or method KubeflowV1alpha1 (varcheck)
hack/genjob/genjob.go:81:3:warning: error return value not checked (invalid operation: job (variable of type *invalid type) has no field or method Spec) (errcheck)
hack/genjob/genjob.go:23:11:warning: could not import github.com/kubeflow/tf-operator/pkg/apis/tensorflow/v1alpha1 (cannot find package "github.com/kubeflow/tf-operator/pkg/apis/tensorflow/v1alpha1" in any of: (gosimple, staticcheck, unconvert)
hack/genjob/genjob.go:78:3:warning: invalid operation: job (variable of type *invalid type) has no field or method Spec (unconvert)
hack/genjob/genjob.go:81:3:warning: unused variable or constant invalid operation: job (variable of type *invalid type) has no field or method Spec (varcheck)
hack/genjob/genjob.go:116:50:warning: unused variable or constant invalid operation: job (variable of type *invalid type) has no field or method ObjectMeta (varcheck)
hack/genjob/genjob.go:114:13:warning: error return value not checked (invalid operation: tfJobClient (variable of type *github.com/kubeflow/tf-operator/pkg/client/clientset/versioned.Clientset) has no field or method KubeflowV1alpha1) (errcheck)
hack/genjob/genjob.go:116:50:warning: error return value not checked (invalid operation: job (variable of type *invalid type) has no field or method ObjectMeta) (errcheck)
hack/genjob/genjob.go:82:3:warning: invalid operation: job (variable of type *invalid type) has no field or method Spec (unconvert)
hack/genjob/genjob.go:81:3:warning: invalid operation: job (variable of type *invalid type) has no field or method Spec (unconvert)
hack/genjob/genjob.go:78:3:warning: unused variable or constant invalid operation: job (variable of type *invalid type) has no field or method Spec (varcheck)
hack/genjob/genjob.go:114:13:warning: invalid operation: tfJobClient (variable of type *github.com/kubeflow/tf-operator/pkg/client/clientset/versioned.Clientset) has no field or method KubeflowV1alpha1 (unconvert)
hack/genjob/genjob.go:116:50:warning: invalid operation: job (variable of type *invalid type) has no field or method ObjectMeta (unconvert)
hack/genjob/genjob.go:23:11:warning: unused variable or constant could not import github.com/kubeflow/tf-operator/pkg/apis/tensorflow/v1alpha1 (cannot find package "github.com/kubeflow/tf-operator/pkg/apis/tensorflow/v1alpha1" in any of: (varcheck)
hack/genjob/genjob.go:23:11:warning: error return value not checked (could not import github.com/kubeflow/tf-operator/pkg/apis/tensorflow/v1alpha1 (cannot find package "github.com/kubeflow/tf-operator/pkg/apis/tensorflow/v1alpha1" in any of:) (errcheck)
hack/genjob/genjob.go:78:3:warning: error return value not checked (invalid operation: job (variable of type *invalid type) has no field or method Spec) (errcheck)
hack/genjob/genjob.go:82:3:warning: error return value not checked (invalid operation: job (variable of type *invalid type) has no field or method Spec) (errcheck)
goveralls -service=travis-ci -v -package ./pkg/... -ignore "pkg/client/*/*.go,pkg/client/*/*/*.go,pkg/client/*/*/*/*.go,pkg/client/*/*/*/*/*.go,pkg/client/*/*/*/*/*/*.go,pkg/client/*/*/*/*/*/*/*.go,pkg/util/testutil/*.go,pkg/apis/tensorflow/*/zz_generated.*.go,pkg/apis/tensorflow/*/*_generated.go"
?   	github.com/kubeflow/tf-operator/pkg/apis/common/v1beta1	[no test files]
=== RUN   TestSetTypeNames
--- PASS: TestSetTypeNames (0.00s)
=== RUN   TestSetDefaultTFJob
--- PASS: TestSetDefaultTFJob (0.00s)
=== RUN   TestIsChieforMaster
--- PASS: TestIsChieforMaster (0.00s)
PASS
coverage: 2.3% of statements in github.com/kubeflow/tf-operator/pkg/apis/common/v1beta1, github.com/kubeflow/tf-operator/pkg/apis/tensorflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/apis/tensorflow/v1beta1, github.com/kubeflow/tf-operator/pkg/apis/tensorflow/validation, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/fake, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/scheme, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1alpha2/fake, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1beta1, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1beta1/fake, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/internalinterfaces, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/kubeflow, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/kubeflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/kubeflow/v1beta1, github.com/kubeflow/tf-operator/pkg/client/listers/kubeflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/client/listers/kubeflow/v1beta1, github.com/kubeflow/tf-operator/pkg/common/jobcontroller, github.com/kubeflow/tf-operator/pkg/common/util/testutil, github.com/kubeflow/tf-operator/pkg/common/util/unstructured, github.com/kubeflow/tf-operator/pkg/control, github.com/kubeflow/tf-operator/pkg/controller.v1beta1/tensorflow, github.com/kubeflow/tf-operator/pkg/controller.v2/jobcontroller, github.com/kubeflow/tf-operator/pkg/controller.v2/tensorflow, github.com/kubeflow/tf-operator/pkg/logger, github.com/kubeflow/tf-operator/pkg/util, github.com/kubeflow/tf-operator/pkg/util/k8sutil, github.com/kubeflow/tf-operator/pkg/util/signals, github.com/kubeflow/tf-operator/pkg/util/testutil, github.com/kubeflow/tf-operator/pkg/util/train, github.com/kubeflow/tf-operator/pkg/util/unstructured, github.com/kubeflow/tf-operator/pkg/version
ok  	github.com/kubeflow/tf-operator/pkg/apis/tensorflow/v1alpha2	0.045s
=== RUN   TestSetTypeNames
--- PASS: TestSetTypeNames (0.00s)
=== RUN   TestSetDefaultTFJob
--- PASS: TestSetDefaultTFJob (0.00s)
=== RUN   TestIsChieforMaster
--- PASS: TestIsChieforMaster (0.00s)
PASS
coverage: 2.3% of statements in github.com/kubeflow/tf-operator/pkg/apis/common/v1beta1, github.com/kubeflow/tf-operator/pkg/apis/tensorflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/apis/tensorflow/v1beta1, github.com/kubeflow/tf-operator/pkg/apis/tensorflow/validation, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/fake, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/scheme, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1alpha2/fake, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1beta1, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1beta1/fake, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/internalinterfaces, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/kubeflow, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/kubeflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/kubeflow/v1beta1, github.com/kubeflow/tf-operator/pkg/client/listers/kubeflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/client/listers/kubeflow/v1beta1, github.com/kubeflow/tf-operator/pkg/common/jobcontroller, github.com/kubeflow/tf-operator/pkg/common/util/testutil, github.com/kubeflow/tf-operator/pkg/common/util/unstructured, github.com/kubeflow/tf-operator/pkg/control, github.com/kubeflow/tf-operator/pkg/controller.v1beta1/tensorflow, github.com/kubeflow/tf-operator/pkg/controller.v2/jobcontroller, github.com/kubeflow/tf-operator/pkg/controller.v2/tensorflow, github.com/kubeflow/tf-operator/pkg/logger, github.com/kubeflow/tf-operator/pkg/util, github.com/kubeflow/tf-operator/pkg/util/k8sutil, github.com/kubeflow/tf-operator/pkg/util/signals, github.com/kubeflow/tf-operator/pkg/util/testutil, github.com/kubeflow/tf-operator/pkg/util/train, github.com/kubeflow/tf-operator/pkg/util/unstructured, github.com/kubeflow/tf-operator/pkg/version
ok  	github.com/kubeflow/tf-operator/pkg/apis/tensorflow/v1beta1	0.047s
=== RUN   TestValidateAlphaTwoTFJobSpec
--- PASS: TestValidateAlphaTwoTFJobSpec (0.00s)
=== RUN   TestValidateBetaOneTFJobSpec
--- PASS: TestValidateBetaOneTFJobSpec (0.00s)
PASS
coverage: 2.3% of statements in github.com/kubeflow/tf-operator/pkg/apis/common/v1beta1, github.com/kubeflow/tf-operator/pkg/apis/tensorflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/apis/tensorflow/v1beta1, github.com/kubeflow/tf-operator/pkg/apis/tensorflow/validation, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/fake, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/scheme, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1alpha2/fake, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1beta1, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1beta1/fake, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/internalinterfaces, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/kubeflow, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/kubeflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/kubeflow/v1beta1, github.com/kubeflow/tf-operator/pkg/client/listers/kubeflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/client/listers/kubeflow/v1beta1, github.com/kubeflow/tf-operator/pkg/common/jobcontroller, github.com/kubeflow/tf-operator/pkg/common/util/testutil, github.com/kubeflow/tf-operator/pkg/common/util/unstructured, github.com/kubeflow/tf-operator/pkg/control, github.com/kubeflow/tf-operator/pkg/controller.v1beta1/tensorflow, github.com/kubeflow/tf-operator/pkg/controller.v2/jobcontroller, github.com/kubeflow/tf-operator/pkg/controller.v2/tensorflow, github.com/kubeflow/tf-operator/pkg/logger, github.com/kubeflow/tf-operator/pkg/util, github.com/kubeflow/tf-operator/pkg/util/k8sutil, github.com/kubeflow/tf-operator/pkg/util/signals, github.com/kubeflow/tf-operator/pkg/util/testutil, github.com/kubeflow/tf-operator/pkg/util/train, github.com/kubeflow/tf-operator/pkg/util/unstructured, github.com/kubeflow/tf-operator/pkg/version
ok  	github.com/kubeflow/tf-operator/pkg/apis/tensorflow/validation	0.045s
?   	github.com/kubeflow/tf-operator/pkg/client/clientset/versioned	[no test files]
?   	github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/fake	[no test files]
?   	github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/scheme	[no test files]
?   	github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1alpha2	[no test files]
?   	github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1alpha2/fake	[no test files]
?   	github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1beta1	[no test files]
?   	github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1beta1/fake	[no test files]
?   	github.com/kubeflow/tf-operator/pkg/client/informers/externalversions	[no test files]
?   	github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/internalinterfaces	[no test files]
?   	github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/kubeflow	[no test files]
?   	github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/kubeflow/v1alpha2	[no test files]
?   	github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/kubeflow/v1beta1	[no test files]
?   	github.com/kubeflow/tf-operator/pkg/client/listers/kubeflow/v1alpha2	[no test files]
?   	github.com/kubeflow/tf-operator/pkg/client/listers/kubeflow/v1beta1	[no test files]
=== RUN   TestGenGeneralName
--- PASS: TestGenGeneralName (0.00s)
PASS
coverage: 1.0% of statements in github.com/kubeflow/tf-operator/pkg/apis/common/v1beta1, github.com/kubeflow/tf-operator/pkg/apis/tensorflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/apis/tensorflow/v1beta1, github.com/kubeflow/tf-operator/pkg/apis/tensorflow/validation, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/fake, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/scheme, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1alpha2/fake, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1beta1, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1beta1/fake, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/internalinterfaces, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/kubeflow, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/kubeflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/kubeflow/v1beta1, github.com/kubeflow/tf-operator/pkg/client/listers/kubeflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/client/listers/kubeflow/v1beta1, github.com/kubeflow/tf-operator/pkg/common/jobcontroller, github.com/kubeflow/tf-operator/pkg/common/util/testutil, github.com/kubeflow/tf-operator/pkg/common/util/unstructured, github.com/kubeflow/tf-operator/pkg/control, github.com/kubeflow/tf-operator/pkg/controller.v1beta1/tensorflow, github.com/kubeflow/tf-operator/pkg/controller.v2/jobcontroller, github.com/kubeflow/tf-operator/pkg/controller.v2/tensorflow, github.com/kubeflow/tf-operator/pkg/logger, github.com/kubeflow/tf-operator/pkg/util, github.com/kubeflow/tf-operator/pkg/util/k8sutil, github.com/kubeflow/tf-operator/pkg/util/signals, github.com/kubeflow/tf-operator/pkg/util/testutil, github.com/kubeflow/tf-operator/pkg/util/train, github.com/kubeflow/tf-operator/pkg/util/unstructured, github.com/kubeflow/tf-operator/pkg/version
ok  	github.com/kubeflow/tf-operator/pkg/common/jobcontroller	0.047s
?   	github.com/kubeflow/tf-operator/pkg/common/util/testutil	[no test files]
?   	github.com/kubeflow/tf-operator/pkg/common/util/unstructured	[no test files]
=== RUN   TestCreatePods
--- PASS: TestCreatePods (0.01s)
=== RUN   TestCreateService
--- PASS: TestCreateService (0.01s)
=== RUN   TestCreateServicesWithControllerRef
--- PASS: TestCreateServicesWithControllerRef (0.00s)
=== RUN   TestClaimServices
--- PASS: TestClaimServices (0.00s)
PASS
coverage: 4.4% of statements in github.com/kubeflow/tf-operator/pkg/apis/common/v1beta1, github.com/kubeflow/tf-operator/pkg/apis/tensorflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/apis/tensorflow/v1beta1, github.com/kubeflow/tf-operator/pkg/apis/tensorflow/validation, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/fake, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/scheme, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1alpha2/fake, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1beta1, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1beta1/fake, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/internalinterfaces, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/kubeflow, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/kubeflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/kubeflow/v1beta1, github.com/kubeflow/tf-operator/pkg/client/listers/kubeflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/client/listers/kubeflow/v1beta1, github.com/kubeflow/tf-operator/pkg/common/jobcontroller, github.com/kubeflow/tf-operator/pkg/common/util/testutil, github.com/kubeflow/tf-operator/pkg/common/util/unstructured, github.com/kubeflow/tf-operator/pkg/control, github.com/kubeflow/tf-operator/pkg/controller.v1beta1/tensorflow, github.com/kubeflow/tf-operator/pkg/controller.v2/jobcontroller, github.com/kubeflow/tf-operator/pkg/controller.v2/tensorflow, github.com/kubeflow/tf-operator/pkg/logger, github.com/kubeflow/tf-operator/pkg/util, github.com/kubeflow/tf-operator/pkg/util/k8sutil, github.com/kubeflow/tf-operator/pkg/util/signals, github.com/kubeflow/tf-operator/pkg/util/testutil, github.com/kubeflow/tf-operator/pkg/util/train, github.com/kubeflow/tf-operator/pkg/util/unstructured, github.com/kubeflow/tf-operator/pkg/version
ok  	github.com/kubeflow/tf-operator/pkg/control	0.068s
=== RUN   TestNormalPath
--- PASS: TestNormalPath (0.01s)
=== RUN   TestRun
--- PASS: TestRun (0.50s)
=== RUN   TestSyncPdb
--- PASS: TestSyncPdb (0.00s)
=== RUN   TestAddTFJob
--- PASS: TestAddTFJob (0.30s)
=== RUN   TestCopyLabelsAndAnnotation
--- PASS: TestCopyLabelsAndAnnotation (0.00s)
=== RUN   TestDeletePodsAndServices
--- PASS: TestDeletePodsAndServices (0.00s)
=== RUN   TestCleanupTFJob
--- PASS: TestCleanupTFJob (2.00s)
=== RUN   TestAddPod
--- PASS: TestAddPod (0.30s)
=== RUN   TestClusterSpec
--- PASS: TestClusterSpec (0.00s)
=== RUN   TestRestartPolicy
--- PASS: TestRestartPolicy (0.00s)
=== RUN   TestExitCode
--- PASS: TestExitCode (0.00s)
=== RUN   TestAddService
--- PASS: TestAddService (0.30s)
=== RUN   TestFailed
--- PASS: TestFailed (0.00s)
=== RUN   TestStatus
--- PASS: TestStatus (0.00s)
=== RUN   TestGenOwnerReference
--- PASS: TestGenOwnerReference (0.00s)
=== RUN   TestGenLabels
--- PASS: TestGenLabels (0.00s)
=== RUN   TestConvertTFJobToUnstructured
--- PASS: TestConvertTFJobToUnstructured (0.00s)
PASS
coverage: 30.2% of statements in github.com/kubeflow/tf-operator/pkg/apis/common/v1beta1, github.com/kubeflow/tf-operator/pkg/apis/tensorflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/apis/tensorflow/v1beta1, github.com/kubeflow/tf-operator/pkg/apis/tensorflow/validation, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/fake, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/scheme, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1alpha2/fake, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1beta1, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1beta1/fake, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/internalinterfaces, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/kubeflow, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/kubeflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/kubeflow/v1beta1, github.com/kubeflow/tf-operator/pkg/client/listers/kubeflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/client/listers/kubeflow/v1beta1, github.com/kubeflow/tf-operator/pkg/common/jobcontroller, github.com/kubeflow/tf-operator/pkg/common/util/testutil, github.com/kubeflow/tf-operator/pkg/common/util/unstructured, github.com/kubeflow/tf-operator/pkg/control, github.com/kubeflow/tf-operator/pkg/controller.v1beta1/tensorflow, github.com/kubeflow/tf-operator/pkg/controller.v2/jobcontroller, github.com/kubeflow/tf-operator/pkg/controller.v2/tensorflow, github.com/kubeflow/tf-operator/pkg/logger, github.com/kubeflow/tf-operator/pkg/util, github.com/kubeflow/tf-operator/pkg/util/k8sutil, github.com/kubeflow/tf-operator/pkg/util/signals, github.com/kubeflow/tf-operator/pkg/util/testutil, github.com/kubeflow/tf-operator/pkg/util/train, github.com/kubeflow/tf-operator/pkg/util/unstructured, github.com/kubeflow/tf-operator/pkg/version
ok  	github.com/kubeflow/tf-operator/pkg/controller.v1beta1/tensorflow	3.488s
=== RUN   TestGenGeneralName
--- PASS: TestGenGeneralName (0.00s)
PASS
coverage: 1.0% of statements in github.com/kubeflow/tf-operator/pkg/apis/common/v1beta1, github.com/kubeflow/tf-operator/pkg/apis/tensorflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/apis/tensorflow/v1beta1, github.com/kubeflow/tf-operator/pkg/apis/tensorflow/validation, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/fake, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/scheme, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1alpha2/fake, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1beta1, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1beta1/fake, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/internalinterfaces, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/kubeflow, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/kubeflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/kubeflow/v1beta1, github.com/kubeflow/tf-operator/pkg/client/listers/kubeflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/client/listers/kubeflow/v1beta1, github.com/kubeflow/tf-operator/pkg/common/jobcontroller, github.com/kubeflow/tf-operator/pkg/common/util/testutil, github.com/kubeflow/tf-operator/pkg/common/util/unstructured, github.com/kubeflow/tf-operator/pkg/control, github.com/kubeflow/tf-operator/pkg/controller.v1beta1/tensorflow, github.com/kubeflow/tf-operator/pkg/controller.v2/jobcontroller, github.com/kubeflow/tf-operator/pkg/controller.v2/tensorflow, github.com/kubeflow/tf-operator/pkg/logger, github.com/kubeflow/tf-operator/pkg/util, github.com/kubeflow/tf-operator/pkg/util/k8sutil, github.com/kubeflow/tf-operator/pkg/util/signals, github.com/kubeflow/tf-operator/pkg/util/testutil, github.com/kubeflow/tf-operator/pkg/util/train, github.com/kubeflow/tf-operator/pkg/util/unstructured, github.com/kubeflow/tf-operator/pkg/version
ok  	github.com/kubeflow/tf-operator/pkg/controller.v2/jobcontroller	0.046s
=== RUN   TestNormalPath
--- PASS: TestNormalPath (0.01s)
=== RUN   TestRun
--- PASS: TestRun (0.50s)
=== RUN   TestSyncPdb
--- PASS: TestSyncPdb (0.00s)
=== RUN   TestAddTFJob
--- PASS: TestAddTFJob (0.30s)
=== RUN   TestCopyLabelsAndAnnotation
--- PASS: TestCopyLabelsAndAnnotation (0.00s)
=== RUN   TestDeletePodsAndServices
--- PASS: TestDeletePodsAndServices (0.00s)
=== RUN   TestCleanupTFJob
--- PASS: TestCleanupTFJob (2.00s)
=== RUN   TestAddPod
--- PASS: TestAddPod (0.30s)
=== RUN   TestClusterSpec
--- PASS: TestClusterSpec (0.00s)
=== RUN   TestRestartPolicy
--- PASS: TestRestartPolicy (0.00s)
=== RUN   TestExitCode
--- PASS: TestExitCode (0.00s)
=== RUN   TestAddService
--- PASS: TestAddService (0.30s)
=== RUN   TestFailed
--- PASS: TestFailed (0.00s)
=== RUN   TestStatus
--- PASS: TestStatus (0.00s)
=== RUN   TestGenOwnerReference
--- PASS: TestGenOwnerReference (0.00s)
=== RUN   TestGenLabels
--- PASS: TestGenLabels (0.00s)
=== RUN   TestConvertTFJobToUnstructured
--- PASS: TestConvertTFJobToUnstructured (0.00s)
PASS
coverage: 29.3% of statements in github.com/kubeflow/tf-operator/pkg/apis/common/v1beta1, github.com/kubeflow/tf-operator/pkg/apis/tensorflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/apis/tensorflow/v1beta1, github.com/kubeflow/tf-operator/pkg/apis/tensorflow/validation, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/fake, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/scheme, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1alpha2/fake, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1beta1, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1beta1/fake, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/internalinterfaces, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/kubeflow, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/kubeflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/kubeflow/v1beta1, github.com/kubeflow/tf-operator/pkg/client/listers/kubeflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/client/listers/kubeflow/v1beta1, github.com/kubeflow/tf-operator/pkg/common/jobcontroller, github.com/kubeflow/tf-operator/pkg/common/util/testutil, github.com/kubeflow/tf-operator/pkg/common/util/unstructured, github.com/kubeflow/tf-operator/pkg/control, github.com/kubeflow/tf-operator/pkg/controller.v1beta1/tensorflow, github.com/kubeflow/tf-operator/pkg/controller.v2/jobcontroller, github.com/kubeflow/tf-operator/pkg/controller.v2/tensorflow, github.com/kubeflow/tf-operator/pkg/logger, github.com/kubeflow/tf-operator/pkg/util, github.com/kubeflow/tf-operator/pkg/util/k8sutil, github.com/kubeflow/tf-operator/pkg/util/signals, github.com/kubeflow/tf-operator/pkg/util/testutil, github.com/kubeflow/tf-operator/pkg/util/train, github.com/kubeflow/tf-operator/pkg/util/unstructured, github.com/kubeflow/tf-operator/pkg/version
ok  	github.com/kubeflow/tf-operator/pkg/controller.v2/tensorflow	3.492s
?   	github.com/kubeflow/tf-operator/pkg/logger	[no test files]
?   	github.com/kubeflow/tf-operator/pkg/util	[no test files]
?   	github.com/kubeflow/tf-operator/pkg/util/k8sutil	[no test files]
?   	github.com/kubeflow/tf-operator/pkg/util/signals	[no test files]
?   	github.com/kubeflow/tf-operator/pkg/util/testutil	[no test files]
?   	github.com/kubeflow/tf-operator/pkg/util/train	[no test files]
?   	github.com/kubeflow/tf-operator/pkg/util/unstructured	[no test files]
?   	github.com/kubeflow/tf-operator/pkg/version	[no test files]
ignoring pkg/apis/tensorflow/v1alpha2/openapi_generated.go
ignoring pkg/apis/tensorflow/v1alpha2/zz_generated.deepcopy.go
ignoring pkg/apis/tensorflow/v1alpha2/zz_generated.defaults.go
ignoring pkg/apis/tensorflow/v1beta1/openapi_generated.go
ignoring pkg/apis/tensorflow/v1beta1/zz_generated.deepcopy.go
ignoring pkg/apis/tensorflow/v1beta1/zz_generated.defaults.go
ignoring pkg/client/clientset/versioned/clientset.go
ignoring pkg/client/clientset/versioned/fake/clientset_generated.go
ignoring pkg/client/clientset/versioned/fake/register.go
ignoring pkg/client/clientset/versioned/scheme/register.go
ignoring pkg/client/clientset/versioned/typed/kubeflow/v1alpha2/fake/fake_kubeflow_client.go
ignoring pkg/client/clientset/versioned/typed/kubeflow/v1alpha2/fake/fake_tfjob.go
ignoring pkg/client/clientset/versioned/typed/kubeflow/v1alpha2/kubeflow_client.go
ignoring pkg/client/clientset/versioned/typed/kubeflow/v1alpha2/tfjob.go
ignoring pkg/client/clientset/versioned/typed/kubeflow/v1beta1/fake/fake_kubeflow_client.go
ignoring pkg/client/clientset/versioned/typed/kubeflow/v1beta1/fake/fake_tfjob.go
ignoring pkg/client/clientset/versioned/typed/kubeflow/v1beta1/kubeflow_client.go
ignoring pkg/client/clientset/versioned/typed/kubeflow/v1beta1/tfjob.go
ignoring pkg/client/informers/externalversions/factory.go
ignoring pkg/client/informers/externalversions/generic.go
ignoring pkg/client/informers/externalversions/kubeflow/interface.go
ignoring pkg/client/informers/externalversions/kubeflow/v1alpha2/interface.go
ignoring pkg/client/informers/externalversions/kubeflow/v1alpha2/tfjob.go
ignoring pkg/client/informers/externalversions/kubeflow/v1beta1/interface.go
ignoring pkg/client/informers/externalversions/kubeflow/v1beta1/tfjob.go
ignoring pkg/client/listers/kubeflow/v1alpha2/tfjob.go
ignoring pkg/client/listers/kubeflow/v1beta1/tfjob.go
ignoring pkg/util/testutil/const.go
ignoring pkg/util/testutil/pod.go
ignoring pkg/util/testutil/service.go
ignoring pkg/util/testutil/tfjob.go
ignoring pkg/util/testutil/util.go
Job #2056.2
https://coveralls.io/jobs/42037019

3rd Build

View build log

gometalinter --config=linter_config.json --vendor ./...
hack/genjob/genjob.go:82:3:warning: error return value not checked (invalid operation: job (variable of type *invalid type) has no field or method Spec) (errcheck)
hack/genjob/genjob.go:116:50:warning: error return value not checked (invalid operation: job (variable of type *invalid type) has no field or method ObjectMeta) (errcheck)
hack/genjob/genjob.go:80:3:warning: invalid operation: job (variable of type *invalid type) has no field or method Spec (unconvert)
hack/genjob/genjob.go:114:13:warning: invalid operation: tfJobClient (variable of type *github.com/kubeflow/tf-operator/pkg/client/clientset/versioned.Clientset) has no field or method KubeflowV1alpha1 (unconvert)
hack/genjob/genjob.go:23:11:warning: error return value not checked (could not import github.com/kubeflow/tf-operator/pkg/apis/tensorflow/v1alpha1 (cannot find package "github.com/kubeflow/tf-operator/pkg/apis/tensorflow/v1alpha1" in any of:) (errcheck)
hack/genjob/genjob.go:78:3:warning: error return value not checked (invalid operation: job (variable of type *invalid type) has no field or method Spec) (errcheck)
hack/genjob/genjob.go:81:3:warning: error return value not checked (invalid operation: job (variable of type *invalid type) has no field or method Spec) (errcheck)
hack/genjob/genjob.go:114:13:warning: unused variable or constant invalid operation: tfJobClient (variable of type *github.com/kubeflow/tf-operator/pkg/client/clientset/versioned.Clientset) has no field or method KubeflowV1alpha1 (varcheck)
hack/genjob/genjob.go:23:11:warning: could not import github.com/kubeflow/tf-operator/pkg/apis/tensorflow/v1alpha1 (cannot find package "github.com/kubeflow/tf-operator/pkg/apis/tensorflow/v1alpha1" in any of: (gosimple, staticcheck, unconvert)
hack/genjob/genjob.go:78:3:warning: invalid operation: job (variable of type *invalid type) has no field or method Spec (unconvert)
hack/genjob/genjob.go:77:3:warning: unused variable or constant invalid operation: job (variable of type *invalid type) has no field or method Spec (varcheck)
hack/genjob/genjob.go:78:3:warning: unused variable or constant invalid operation: job (variable of type *invalid type) has no field or method Spec (varcheck)
hack/genjob/genjob.go:82:3:warning: unused variable or constant invalid operation: job (variable of type *invalid type) has no field or method Spec (varcheck)
hack/genjob/genjob.go:116:50:warning: unused variable or constant invalid operation: job (variable of type *invalid type) has no field or method ObjectMeta (varcheck)
hack/genjob/genjob.go:77:3:warning: invalid operation: job (variable of type *invalid type) has no field or method Spec (unconvert)
hack/genjob/genjob.go:81:3:warning: invalid operation: job (variable of type *invalid type) has no field or method Spec (unconvert)
hack/genjob/genjob.go:116:50:warning: invalid operation: job (variable of type *invalid type) has no field or method ObjectMeta (unconvert)
hack/genjob/genjob.go:80:3:warning: unused variable or constant invalid operation: job (variable of type *invalid type) has no field or method Spec (varcheck)
hack/genjob/genjob.go:81:3:warning: unused variable or constant invalid operation: job (variable of type *invalid type) has no field or method Spec (varcheck)
hack/genjob/genjob.go:23:11:warning: unused variable or constant could not import github.com/kubeflow/tf-operator/pkg/apis/tensorflow/v1alpha1 (cannot find package "github.com/kubeflow/tf-operator/pkg/apis/tensorflow/v1alpha1" in any of: (varcheck)
hack/genjob/genjob.go:82:3:warning: invalid operation: job (variable of type *invalid type) has no field or method Spec (unconvert)
hack/genjob/genjob.go:23:2:error: cannot find package "github.com/kubeflow/tf-operator/pkg/apis/tensorflow/v1alpha1" in any of: (vet)
hack/genjob/genjob.go:77:3:warning: error return value not checked (invalid operation: job (variable of type *invalid type) has no field or method Spec) (errcheck)
hack/genjob/genjob.go:80:3:warning: error return value not checked (invalid operation: job (variable of type *invalid type) has no field or method Spec) (errcheck)
hack/genjob/genjob.go:114:13:warning: error return value not checked (invalid operation: tfJobClient (variable of type *github.com/kubeflow/tf-operator/pkg/client/clientset/versioned.Clientset) has no field or method KubeflowV1alpha1) (errcheck)
travis_time:end:08574afb:start=1541707626519638448,finish=1541707706697639075,duration=80178000627
goveralls -service=travis-ci -v -package ./pkg/... -ignore "pkg/client/*/*.go,pkg/client/*/*/*.go,pkg/client/*/*/*/*.go,pkg/client/*/*/*/*/*.go,pkg/client/*/*/*/*/*/*.go,pkg/client/*/*/*/*/*/*/*.go,pkg/util/testutil/*.go,pkg/apis/tensorflow/*/zz_generated.*.go,pkg/apis/tensorflow/*/*_generated.go"
?   	github.com/kubeflow/tf-operator/pkg/apis/common/v1beta1	[no test files]
=== RUN   TestSetTypeNames
--- PASS: TestSetTypeNames (0.00s)
=== RUN   TestSetDefaultTFJob
--- PASS: TestSetDefaultTFJob (0.00s)
=== RUN   TestIsChieforMaster
--- PASS: TestIsChieforMaster (0.00s)
PASS
coverage: 22.2% of statements in github.com/kubeflow/tf-operator/pkg/apis/common/v1beta1, github.com/kubeflow/tf-operator/pkg/apis/tensorflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/apis/tensorflow/v1beta1, github.com/kubeflow/tf-operator/pkg/apis/tensorflow/validation, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/fake, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/scheme, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1alpha2/fake, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1beta1, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1beta1/fake, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/internalinterfaces, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/kubeflow, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/kubeflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/kubeflow/v1beta1, github.com/kubeflow/tf-operator/pkg/client/listers/kubeflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/client/listers/kubeflow/v1beta1, github.com/kubeflow/tf-operator/pkg/common/jobcontroller, github.com/kubeflow/tf-operator/pkg/common/util/testutil, github.com/kubeflow/tf-operator/pkg/common/util/unstructured, github.com/kubeflow/tf-operator/pkg/control, github.com/kubeflow/tf-operator/pkg/controller.v1beta1/tensorflow, github.com/kubeflow/tf-operator/pkg/controller.v2/jobcontroller, github.com/kubeflow/tf-operator/pkg/controller.v2/tensorflow, github.com/kubeflow/tf-operator/pkg/logger, github.com/kubeflow/tf-operator/pkg/util, github.com/kubeflow/tf-operator/pkg/util/k8sutil, github.com/kubeflow/tf-operator/pkg/util/signals, github.com/kubeflow/tf-operator/pkg/util/testutil, github.com/kubeflow/tf-operator/pkg/util/train, github.com/kubeflow/tf-operator/pkg/util/unstructured, github.com/kubeflow/tf-operator/pkg/version
ok  	github.com/kubeflow/tf-operator/pkg/apis/tensorflow/v1alpha2	0.034s	coverage: 22.2% of statements in github.com/kubeflow/tf-operator/pkg/apis/common/v1beta1, github.com/kubeflow/tf-operator/pkg/apis/tensorflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/apis/tensorflow/v1beta1, github.com/kubeflow/tf-operator/pkg/apis/tensorflow/validation, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/fake, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/scheme, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1alpha2/fake, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1beta1, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1beta1/fake, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/internalinterfaces, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/kubeflow, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/kubeflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/kubeflow/v1beta1, github.com/kubeflow/tf-operator/pkg/client/listers/kubeflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/client/listers/kubeflow/v1beta1, github.com/kubeflow/tf-operator/pkg/common/jobcontroller, github.com/kubeflow/tf-operator/pkg/common/util/testutil, github.com/kubeflow/tf-operator/pkg/common/util/unstructured, github.com/kubeflow/tf-operator/pkg/control, github.com/kubeflow/tf-operator/pkg/controller.v1beta1/tensorflow, github.com/kubeflow/tf-operator/pkg/controller.v2/jobcontroller, github.com/kubeflow/tf-operator/pkg/controller.v2/tensorflow, github.com/kubeflow/tf-operator/pkg/logger, github.com/kubeflow/tf-operator/pkg/util, github.com/kubeflow/tf-operator/pkg/util/k8sutil, github.com/kubeflow/tf-operator/pkg/util/signals, github.com/kubeflow/tf-operator/pkg/util/testutil, github.com/kubeflow/tf-operator/pkg/util/train, github.com/kubeflow/tf-operator/pkg/util/unstructured, github.com/kubeflow/tf-operator/pkg/version
=== RUN   TestSetTypeNames
--- PASS: TestSetTypeNames (0.00s)
=== RUN   TestSetDefaultTFJob
--- PASS: TestSetDefaultTFJob (0.00s)
=== RUN   TestIsChieforMaster
--- PASS: TestIsChieforMaster (0.00s)
PASS
coverage: 22.9% of statements in github.com/kubeflow/tf-operator/pkg/apis/common/v1beta1, github.com/kubeflow/tf-operator/pkg/apis/tensorflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/apis/tensorflow/v1beta1, github.com/kubeflow/tf-operator/pkg/apis/tensorflow/validation, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/fake, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/scheme, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1alpha2/fake, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1beta1, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1beta1/fake, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/internalinterfaces, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/kubeflow, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/kubeflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/kubeflow/v1beta1, github.com/kubeflow/tf-operator/pkg/client/listers/kubeflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/client/listers/kubeflow/v1beta1, github.com/kubeflow/tf-operator/pkg/common/jobcontroller, github.com/kubeflow/tf-operator/pkg/common/util/testutil, github.com/kubeflow/tf-operator/pkg/common/util/unstructured, github.com/kubeflow/tf-operator/pkg/control, github.com/kubeflow/tf-operator/pkg/controller.v1beta1/tensorflow, github.com/kubeflow/tf-operator/pkg/controller.v2/jobcontroller, github.com/kubeflow/tf-operator/pkg/controller.v2/tensorflow, github.com/kubeflow/tf-operator/pkg/logger, github.com/kubeflow/tf-operator/pkg/util, github.com/kubeflow/tf-operator/pkg/util/k8sutil, github.com/kubeflow/tf-operator/pkg/util/signals, github.com/kubeflow/tf-operator/pkg/util/testutil, github.com/kubeflow/tf-operator/pkg/util/train, github.com/kubeflow/tf-operator/pkg/util/unstructured, github.com/kubeflow/tf-operator/pkg/version
ok  	github.com/kubeflow/tf-operator/pkg/apis/tensorflow/v1beta1	0.030s	coverage: 22.9% of statements in github.com/kubeflow/tf-operator/pkg/apis/common/v1beta1, github.com/kubeflow/tf-operator/pkg/apis/tensorflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/apis/tensorflow/v1beta1, github.com/kubeflow/tf-operator/pkg/apis/tensorflow/validation, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/fake, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/scheme, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1alpha2/fake, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1beta1, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1beta1/fake, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/internalinterfaces, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/kubeflow, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/kubeflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/kubeflow/v1beta1, github.com/kubeflow/tf-operator/pkg/client/listers/kubeflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/client/listers/kubeflow/v1beta1, github.com/kubeflow/tf-operator/pkg/common/jobcontroller, github.com/kubeflow/tf-operator/pkg/common/util/testutil, github.com/kubeflow/tf-operator/pkg/common/util/unstructured, github.com/kubeflow/tf-operator/pkg/control, github.com/kubeflow/tf-operator/pkg/controller.v1beta1/tensorflow, github.com/kubeflow/tf-operator/pkg/controller.v2/jobcontroller, github.com/kubeflow/tf-operator/pkg/controller.v2/tensorflow, github.com/kubeflow/tf-operator/pkg/logger, github.com/kubeflow/tf-operator/pkg/util, github.com/kubeflow/tf-operator/pkg/util/k8sutil, github.com/kubeflow/tf-operator/pkg/util/signals, github.com/kubeflow/tf-operator/pkg/util/testutil, github.com/kubeflow/tf-operator/pkg/util/train, github.com/kubeflow/tf-operator/pkg/util/unstructured, github.com/kubeflow/tf-operator/pkg/version
=== RUN   TestValidateAlphaTwoTFJobSpec
time="2018-11-08T20:08:41Z" level=warning msg="Image is undefined in the container"
time="2018-11-08T20:08:41Z" level=warning msg="There is no container named tensorflow in Worker"
--- PASS: TestValidateAlphaTwoTFJobSpec (0.00s)
=== RUN   TestValidateBetaOneTFJobSpec
time="2018-11-08T20:08:41Z" level=warning msg="Image is undefined in the container"
time="2018-11-08T20:08:41Z" level=warning msg="There is no container named tensorflow in Worker"
--- PASS: TestValidateBetaOneTFJobSpec (0.00s)
PASS
coverage: 10.5% of statements in github.com/kubeflow/tf-operator/pkg/apis/common/v1beta1, github.com/kubeflow/tf-operator/pkg/apis/tensorflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/apis/tensorflow/v1beta1, github.com/kubeflow/tf-operator/pkg/apis/tensorflow/validation, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/fake, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/scheme, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1alpha2/fake, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1beta1, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1beta1/fake, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/internalinterfaces, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/kubeflow, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/kubeflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/kubeflow/v1beta1, github.com/kubeflow/tf-operator/pkg/client/listers/kubeflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/client/listers/kubeflow/v1beta1, github.com/kubeflow/tf-operator/pkg/common/jobcontroller, github.com/kubeflow/tf-operator/pkg/common/util/testutil, github.com/kubeflow/tf-operator/pkg/common/util/unstructured, github.com/kubeflow/tf-operator/pkg/control, github.com/kubeflow/tf-operator/pkg/controller.v1beta1/tensorflow, github.com/kubeflow/tf-operator/pkg/controller.v2/jobcontroller, github.com/kubeflow/tf-operator/pkg/controller.v2/tensorflow, github.com/kubeflow/tf-operator/pkg/logger, github.com/kubeflow/tf-operator/pkg/util, github.com/kubeflow/tf-operator/pkg/util/k8sutil, github.com/kubeflow/tf-operator/pkg/util/signals, github.com/kubeflow/tf-operator/pkg/util/testutil, github.com/kubeflow/tf-operator/pkg/util/train, github.com/kubeflow/tf-operator/pkg/util/unstructured, github.com/kubeflow/tf-operator/pkg/version
ok  	github.com/kubeflow/tf-operator/pkg/apis/tensorflow/validation	0.030s	coverage: 10.5% of statements in github.com/kubeflow/tf-operator/pkg/apis/common/v1beta1, github.com/kubeflow/tf-operator/pkg/apis/tensorflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/apis/tensorflow/v1beta1, github.com/kubeflow/tf-operator/pkg/apis/tensorflow/validation, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/fake, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/scheme, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1alpha2/fake, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1beta1, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1beta1/fake, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/internalinterfaces, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/kubeflow, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/kubeflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/kubeflow/v1beta1, github.com/kubeflow/tf-operator/pkg/client/listers/kubeflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/client/listers/kubeflow/v1beta1, github.com/kubeflow/tf-operator/pkg/common/jobcontroller, github.com/kubeflow/tf-operator/pkg/common/util/testutil, github.com/kubeflow/tf-operator/pkg/common/util/unstructured, github.com/kubeflow/tf-operator/pkg/control, github.com/kubeflow/tf-operator/pkg/controller.v1beta1/tensorflow, github.com/kubeflow/tf-operator/pkg/controller.v2/jobcontroller, github.com/kubeflow/tf-operator/pkg/controller.v2/tensorflow, github.com/kubeflow/tf-operator/pkg/logger, github.com/kubeflow/tf-operator/pkg/util, github.com/kubeflow/tf-operator/pkg/util/k8sutil, github.com/kubeflow/tf-operator/pkg/util/signals, github.com/kubeflow/tf-operator/pkg/util/testutil, github.com/kubeflow/tf-operator/pkg/util/train, github.com/kubeflow/tf-operator/pkg/util/unstructured, github.com/kubeflow/tf-operator/pkg/version
?   	github.com/kubeflow/tf-operator/pkg/client/clientset/versioned	[no test files]
?   	github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/fake	[no test files]
?   	github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/scheme	[no test files]
?   	github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1alpha2	[no test files]
?   	github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1alpha2/fake	[no test files]
?   	github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1beta1	[no test files]
?   	github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1beta1/fake	[no test files]
?   	github.com/kubeflow/tf-operator/pkg/client/informers/externalversions	[no test files]
?   	github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/internalinterfaces	[no test files]
?   	github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/kubeflow	[no test files]
?   	github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/kubeflow/v1alpha2	[no test files]
?   	github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/kubeflow/v1beta1	[no test files]
?   	github.com/kubeflow/tf-operator/pkg/client/listers/kubeflow/v1alpha2	[no test files]
?   	github.com/kubeflow/tf-operator/pkg/client/listers/kubeflow/v1beta1	[no test files]
=== RUN   TestGenGeneralName
--- PASS: TestGenGeneralName (0.00s)
PASS
coverage: 0.5% of statements in github.com/kubeflow/tf-operator/pkg/apis/common/v1beta1, github.com/kubeflow/tf-operator/pkg/apis/tensorflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/apis/tensorflow/v1beta1, github.com/kubeflow/tf-operator/pkg/apis/tensorflow/validation, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/fake, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/scheme, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1alpha2/fake, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1beta1, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1beta1/fake, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/internalinterfaces, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/kubeflow, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/kubeflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/kubeflow/v1beta1, github.com/kubeflow/tf-operator/pkg/client/listers/kubeflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/client/listers/kubeflow/v1beta1, github.com/kubeflow/tf-operator/pkg/common/jobcontroller, github.com/kubeflow/tf-operator/pkg/common/util/testutil, github.com/kubeflow/tf-operator/pkg/common/util/unstructured, github.com/kubeflow/tf-operator/pkg/control, github.com/kubeflow/tf-operator/pkg/controller.v1beta1/tensorflow, github.com/kubeflow/tf-operator/pkg/controller.v2/jobcontroller, github.com/kubeflow/tf-operator/pkg/controller.v2/tensorflow, github.com/kubeflow/tf-operator/pkg/logger, github.com/kubeflow/tf-operator/pkg/util, github.com/kubeflow/tf-operator/pkg/util/k8sutil, github.com/kubeflow/tf-operator/pkg/util/signals, github.com/kubeflow/tf-operator/pkg/util/testutil, github.com/kubeflow/tf-operator/pkg/util/train, github.com/kubeflow/tf-operator/pkg/util/unstructured, github.com/kubeflow/tf-operator/pkg/version
ok  	github.com/kubeflow/tf-operator/pkg/common/jobcontroller	0.018s	coverage: 0.5% of statements in github.com/kubeflow/tf-operator/pkg/apis/common/v1beta1, github.com/kubeflow/tf-operator/pkg/apis/tensorflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/apis/tensorflow/v1beta1, github.com/kubeflow/tf-operator/pkg/apis/tensorflow/validation, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/fake, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/scheme, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1alpha2/fake, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1beta1, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1beta1/fake, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/internalinterfaces, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/kubeflow, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/kubeflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/kubeflow/v1beta1, github.com/kubeflow/tf-operator/pkg/client/listers/kubeflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/client/listers/kubeflow/v1beta1, github.com/kubeflow/tf-operator/pkg/common/jobcontroller, github.com/kubeflow/tf-operator/pkg/common/util/testutil, github.com/kubeflow/tf-operator/pkg/common/util/unstructured, github.com/kubeflow/tf-operator/pkg/control, github.com/kubeflow/tf-operator/pkg/controller.v1beta1/tensorflow, github.com/kubeflow/tf-operator/pkg/controller.v2/jobcontroller, github.com/kubeflow/tf-operator/pkg/controller.v2/tensorflow, github.com/kubeflow/tf-operator/pkg/logger, github.com/kubeflow/tf-operator/pkg/util, github.com/kubeflow/tf-operator/pkg/util/k8sutil, github.com/kubeflow/tf-operator/pkg/util/signals, github.com/kubeflow/tf-operator/pkg/util/testutil, github.com/kubeflow/tf-operator/pkg/util/train, github.com/kubeflow/tf-operator/pkg/util/unstructured, github.com/kubeflow/tf-operator/pkg/version
?   	github.com/kubeflow/tf-operator/pkg/common/util/testutil	[no test files]
?   	github.com/kubeflow/tf-operator/pkg/common/util/unstructured	[no test files]
=== RUN   TestCreatePods
--- PASS: TestCreatePods (0.01s)
=== RUN   TestCreateService
time="2018-11-08T20:09:05Z" level=info msg="Controller test-tfjob created service empty_service"
--- PASS: TestCreateService (0.00s)
=== RUN   TestCreateServicesWithControllerRef
time="2018-11-08T20:09:05Z" level=info msg="Controller test-tfjob created service empty_service"
--- PASS: TestCreateServicesWithControllerRef (0.00s)
=== RUN   TestClaimServices
--- PASS: TestClaimServices (0.00s)
PASS
coverage: 44.9% of statements in github.com/kubeflow/tf-operator/pkg/apis/common/v1beta1, github.com/kubeflow/tf-operator/pkg/apis/tensorflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/apis/tensorflow/v1beta1, github.com/kubeflow/tf-operator/pkg/apis/tensorflow/validation, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/fake, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/scheme, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1alpha2/fake, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1beta1, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1beta1/fake, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/internalinterfaces, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/kubeflow, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/kubeflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/kubeflow/v1beta1, github.com/kubeflow/tf-operator/pkg/client/listers/kubeflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/client/listers/kubeflow/v1beta1, github.com/kubeflow/tf-operator/pkg/common/jobcontroller, github.com/kubeflow/tf-operator/pkg/common/util/testutil, github.com/kubeflow/tf-operator/pkg/common/util/unstructured, github.com/kubeflow/tf-operator/pkg/control, github.com/kubeflow/tf-operator/pkg/controller.v1beta1/tensorflow, github.com/kubeflow/tf-operator/pkg/controller.v2/jobcontroller, github.com/kubeflow/tf-operator/pkg/controller.v2/tensorflow, github.com/kubeflow/tf-operator/pkg/logger, github.com/kubeflow/tf-operator/pkg/util, github.com/kubeflow/tf-operator/pkg/util/k8sutil, github.com/kubeflow/tf-operator/pkg/util/signals, github.com/kubeflow/tf-operator/pkg/util/testutil, github.com/kubeflow/tf-operator/pkg/util/train, github.com/kubeflow/tf-operator/pkg/util/unstructured, github.com/kubeflow/tf-operator/pkg/version
ok  	github.com/kubeflow/tf-operator/pkg/control	0.063s	coverage: 44.9% of statements in github.com/kubeflow/tf-operator/pkg/apis/common/v1beta1, github.com/kubeflow/tf-operator/pkg/apis/tensorflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/apis/tensorflow/v1beta1, github.com/kubeflow/tf-operator/pkg/apis/tensorflow/validation, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/fake, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/scheme, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1alpha2/fake, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1beta1, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1beta1/fake, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/internalinterfaces, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/kubeflow, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/kubeflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/kubeflow/v1beta1, github.com/kubeflow/tf-operator/pkg/client/listers/kubeflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/client/listers/kubeflow/v1beta1, github.com/kubeflow/tf-operator/pkg/common/jobcontroller, github.com/kubeflow/tf-operator/pkg/common/util/testutil, github.com/kubeflow/tf-operator/pkg/common/util/unstructured, github.com/kubeflow/tf-operator/pkg/control, github.com/kubeflow/tf-operator/pkg/controller.v1beta1/tensorflow, github.com/kubeflow/tf-operator/pkg/controller.v2/jobcontroller, github.com/kubeflow/tf-operator/pkg/controller.v2/tensorflow, github.com/kubeflow/tf-operator/pkg/logger, github.com/kubeflow/tf-operator/pkg/util, github.com/kubeflow/tf-operator/pkg/util/k8sutil, github.com/kubeflow/tf-operator/pkg/util/signals, github.com/kubeflow/tf-operator/pkg/util/testutil, github.com/kubeflow/tf-operator/pkg/util/train, github.com/kubeflow/tf-operator/pkg/util/unstructured, github.com/kubeflow/tf-operator/pkg/version
=== RUN   TestNormalPath
time="2018-11-08T20:09:18Z" level=info msg="Creating TFJob controller"
time="2018-11-08T20:09:18Z" level=info msg="Creating Job controller"
time="2018-11-08T20:09:18Z" level=info msg="Reconcile TFJobs test-tfjob" job=default.test-tfjob uid=
time="2018-11-08T20:09:18Z" level=info msg="TFJob=test-tfjob, ReplicaType=PS expected=2, running=0, failed=0" job=default.test-tfjob uid=
time="2018-11-08T20:09:18Z" level=info msg="TFJob=test-tfjob, ReplicaType=Worker expected=4, running=0, failed=0" job=default.test-tfjob uid=
time="2018-11-08T20:09:18Z" level=info msg="Finished syncing tfjob \"default/test-tfjob\" (2.130638ms)" job=default.test-tfjob
time="2018-11-08T20:09:18Z" level=info msg="Creating TFJob controller"
time="2018-11-08T20:09:18Z" level=info msg="Creating Job controller"
time="2018-11-08T20:09:18Z" level=info msg="Reconcile TFJobs test-tfjob" job=default.test-tfjob uid=
time="2018-11-08T20:09:18Z" level=info msg="Need to create new pod: ps-1" job=default.test-tfjob replica-type=ps uid=
time="2018-11-08T20:09:18Z" level=info msg="TFJob=test-tfjob, ReplicaType=PS expected=2, running=0, failed=0" job=default.test-tfjob uid=
time="2018-11-08T20:09:18Z" level=info msg="need to create new service: ps-1" job=default.test-tfjob replica-type=ps uid=
time="2018-11-08T20:09:18Z" level=info msg="Need to create new pod: worker-2" job=default.test-tfjob replica-type=worker uid=
time="2018-11-08T20:09:18Z" level=info msg="Need to create new pod: worker-3" job=default.test-tfjob replica-type=worker uid=
time="2018-11-08T20:09:18Z" level=info msg="TFJob=test-tfjob, ReplicaType=Worker expected=4, running=0, failed=0" job=default.test-tfjob uid=
time="2018-11-08T20:09:18Z" level=info msg="need to create new service: worker-2" job=default.test-tfjob replica-type=worker uid=
time="2018-11-08T20:09:18Z" level=info msg="need to create new service: worker-3" job=default.test-tfjob replica-type=worker uid=
time="2018-11-08T20:09:18Z" level=info msg="Finished syncing tfjob \"default/test-tfjob\" (875.956µs)" job=default.test-tfjob
time="2018-11-08T20:09:18Z" level=info msg="Creating TFJob controller"
time="2018-11-08T20:09:18Z" level=info msg="Creating Job controller"
time="2018-11-08T20:09:18Z" level=info msg="Reconcile TFJobs test-tfjob" job=default.test-tfjob uid=
time="2018-11-08T20:09:18Z" level=info msg="Need to create new pod: ps-1" job=default.test-tfjob replica-type=ps uid=
time="2018-11-08T20:09:18Z" level=info msg="TFJob=test-tfjob, ReplicaType=PS expected=2, running=0, failed=0" job=default.test-tfjob uid=
time="2018-11-08T20:09:18Z" level=info msg="need to create new service: ps-1" job=default.test-tfjob replica-type=ps uid=
time="2018-11-08T20:09:18Z" level=info msg="Need to create new pod: worker-3" job=default.test-tfjob replica-type=worker uid=
time="2018-11-08T20:09:18Z" level=info msg="TFJob=test-tfjob, ReplicaType=Worker expected=3, running=0, failed=0" job=default.test-tfjob uid=
time="2018-11-08T20:09:18Z" level=info msg="need to create new service: worker-3" job=default.test-tfjob replica-type=worker uid=
time="2018-11-08T20:09:18Z" level=info msg="Finished syncing tfjob \"default/test-tfjob\" (282.432µs)" job=default.test-tfjob
time="2018-11-08T20:09:18Z" level=info msg="Creating TFJob controller"
time="2018-11-08T20:09:18Z" level=info msg="Creating Job controller"
time="2018-11-08T20:09:18Z" level=info msg="Reconcile TFJobs test-tfjob" job=default.test-tfjob uid=
time="2018-11-08T20:09:18Z" level=info msg="TFJob=test-tfjob, ReplicaType=PS expected=2, running=2, failed=0" job=default.test-tfjob uid=
time="2018-11-08T20:09:18Z" level=info msg="TFJob=test-tfjob, ReplicaType=Worker expected=4, running=4, failed=0" job=default.test-tfjob uid=
time="2018-11-08T20:09:18Z" level=info msg="Finished syncing tfjob \"default/test-tfjob\" (208.109µs)" job=default.test-tfjob
time="2018-11-08T20:09:18Z" level=info msg="Creating TFJob controller"
time="2018-11-08T20:09:18Z" level=info msg="Creating Job controller"
time="2018-11-08T20:09:18Z" level=info msg="Reconcile TFJobs test-tfjob" job=default.test-tfjob uid=
time="2018-11-08T20:09:18Z" level=info msg="Need to create new pod: ps-1" job=default.test-tfjob replica-type=ps uid=
time="2018-11-08T20:09:18Z" level=info msg="TFJob=test-tfjob, ReplicaType=PS expected=2, running=0, failed=0" job=default.test-tfjob uid=
time="2018-11-08T20:09:18Z" level=info msg="need to create new service: ps-1" job=default.test-tfjob replica-type=ps uid=
time="2018-11-08T20:09:18Z" level=info msg="Need to create new pod: worker-3" job=default.test-tfjob replica-type=worker uid=
time="2018-11-08T20:09:18Z" level=info msg="TFJob=test-tfjob, ReplicaType=Worker expected=4, running=1, failed=0" job=default.test-tfjob uid=
time="2018-11-08T20:09:18Z" level=info msg="need to create new service: worker-3" job=default.test-tfjob replica-type=worker uid=
time="2018-11-08T20:09:18Z" level=info msg="Finished syncing tfjob \"default/test-tfjob\" (286.191µs)" job=default.test-tfjob
time="2018-11-08T20:09:18Z" level=info msg="Creating TFJob controller"
time="2018-11-08T20:09:18Z" level=info msg="Creating Job controller"
time="2018-11-08T20:09:18Z" level=info msg="Reconcile TFJobs test-tfjob" job=default.test-tfjob uid=
time="2018-11-08T20:09:18Z" level=info msg="TFJob=test-tfjob, ReplicaType=PS expected=0, running=0, failed=0" job=default.test-tfjob uid=
time="2018-11-08T20:09:18Z" level=info msg="TFJob=test-tfjob, ReplicaType=Worker expected=0, running=0, failed=0" job=default.test-tfjob uid=
time="2018-11-08T20:09:18Z" level=info msg="Finished syncing tfjob \"default/test-tfjob\" (224.277µs)" job=default.test-tfjob
time="2018-11-08T20:09:18Z" level=info msg="Creating TFJob controller"
time="2018-11-08T20:09:18Z" level=info msg="Creating Job controller"
time="2018-11-08T20:09:18Z" level=info msg="Reconcile TFJobs test-tfjob" job=default.test-tfjob uid=
time="2018-11-08T20:09:18Z" level=info msg="Need to create new pod: worker-0" job=default.test-tfjob replica-type=worker uid=
time="2018-11-08T20:09:18Z" level=info msg="TFJob=test-tfjob, ReplicaType=Worker expected=1, running=0, failed=0" job=default.test-tfjob uid=
time="2018-11-08T20:09:18Z" level=info msg="need to create new service: worker-0" job=default.test-tfjob replica-type=worker uid=
time="2018-11-08T20:09:18Z" level=info msg="Finished syncing tfjob \"default/test-tfjob\" (141.028µs)" job=default.test-tfjob
time="2018-11-08T20:09:18Z" level=info msg="Creating TFJob controller"
time="2018-11-08T20:09:18Z" level=info msg="Creating Job controller"
time="2018-11-08T20:09:18Z" level=info msg="Reconcile TFJobs test-tfjob" job=default.test-tfjob uid=
time="2018-11-08T20:09:18Z" level=info msg="Need to create new pod: ps-0" job=default.test-tfjob replica-type=ps uid=
time="2018-11-08T20:09:18Z" level=info msg="Need to create new pod: ps-1" job=default.test-tfjob replica-type=ps uid=
time="2018-11-08T20:09:18Z" level=info msg="TFJob=test-tfjob, ReplicaType=PS expected=2, running=0, failed=0" job=default.test-tfjob uid=
time="2018-11-08T20:09:18Z" level=info msg="need to create new service: ps-0" job=default.test-tfjob replica-type=ps uid=
time="2018-11-08T20:09:18Z" level=info msg="need to create new service: ps-1" job=default.test-tfjob replica-type=ps uid=
time="2018-11-08T20:09:18Z" level=info msg="Need to create new pod: worker-0" job=default.test-tfjob replica-type=worker uid=
time="2018-11-08T20:09:18Z" level=info msg="Need to create new pod: worker-1" job=default.test-tfjob replica-type=worker uid=
time="2018-11-08T20:09:18Z" level=info msg="Need to create new pod: worker-2" job=default.test-tfjob replica-type=worker uid=
time="2018-11-08T20:09:18Z" level=info msg="Need to create new pod: worker-3" job=default.test-tfjob replica-type=worker uid=
time="2018-11-08T20:09:18Z" level=info msg="TFJob=test-tfjob, ReplicaType=Worker expected=4, running=0, failed=0" job=default.test-tfjob uid=
time="2018-11-08T20:09:18Z" level=info msg="need to create new service: worker-0" job=default.test-tfjob replica-type=worker uid=
time="2018-11-08T20:09:18Z" level=info msg="need to create new service: worker-1" job=default.test-tfjob replica-type=worker uid=
time="2018-11-08T20:09:18Z" level=info msg="need to create new service: worker-2" job=default.test-tfjob replica-type=worker uid=
time="2018-11-08T20:09:18Z" level=info msg="need to create new service: worker-3" job=default.test-tfjob replica-type=worker uid=
time="2018-11-08T20:09:18Z" level=info msg="Finished syncing tfjob \"default/test-tfjob\" (321.402µs)" job=default.test-tfjob
--- PASS: TestNormalPath (0.01s)
=== RUN   TestRun
time="2018-11-08T20:09:18Z" level=info msg="Creating TFJob controller"
time="2018-11-08T20:09:18Z" level=info msg="Creating Job controller"
time="2018-11-08T20:09:18Z" level=info msg="Starting TFJob controller"
time="2018-11-08T20:09:18Z" level=info msg="Waiting for informer caches to sync"
time="2018-11-08T20:09:18Z" level=info msg="Starting 1 workers"
time="2018-11-08T20:09:18Z" level=info msg="Started workers"
time="2018-11-08T20:09:19Z" level=info msg="Shutting down workers"
--- PASS: TestRun (0.50s)
=== RUN   TestSyncPdb
time="2018-11-08T20:09:19Z" level=info msg="Creating TFJob controller"
time="2018-11-08T20:09:19Z" level=info msg="Creating Job controller"
--- PASS: TestSyncPdb (0.00s)
=== RUN   TestAddTFJob
time="2018-11-08T20:09:19Z" level=info msg="Creating TFJob controller"
time="2018-11-08T20:09:19Z" level=info msg="Creating Job controller"
time="2018-11-08T20:09:19Z" level=info msg="Starting TFJob controller"
time="2018-11-08T20:09:19Z" level=info msg="Waiting for informer caches to sync"
time="2018-11-08T20:09:19Z" level=info msg="TFJob test-tfjob is created." job=default.test-tfjob uid=
time="2018-11-08T20:09:19Z" level=info msg="Starting 1 workers"
time="2018-11-08T20:09:19Z" level=info msg="Started workers"
--- PASS: TestAddTFJob (0.30s)
time="2018-11-08T20:09:19Z" level=info msg="Shutting down workers"
=== RUN   TestCopyLabelsAndAnnotation
time="2018-11-08T20:09:19Z" level=info msg="Creating TFJob controller"
time="2018-11-08T20:09:19Z" level=info msg="Creating Job controller"
time="2018-11-08T20:09:19Z" level=info msg="Reconcile TFJobs test-tfjob" job=default.test-tfjob uid=
time="2018-11-08T20:09:19Z" level=info msg="Starting TFJob controller"
time="2018-11-08T20:09:19Z" level=info msg="Waiting for informer caches to sync"
time="2018-11-08T20:09:19Z" level=info msg="Need to create new pod: worker-0" job=default.test-tfjob replica-type=worker uid=
time="2018-11-08T20:09:19Z" level=info msg="TFJob=test-tfjob, ReplicaType=Worker expected=1, running=0, failed=0" job=default.test-tfjob uid=
time="2018-11-08T20:09:19Z" level=info msg="need to create new service: worker-0" job=default.test-tfjob replica-type=worker uid=
time="2018-11-08T20:09:19Z" level=info msg="Finished syncing tfjob \"default/test-tfjob\" (556.696µs)" job=default.test-tfjob
--- PASS: TestCopyLabelsAndAnnotation (0.01s)
=== RUN   TestDeletePodsAndServices
time="2018-11-08T20:09:19Z" level=info msg="Starting 1 workers"
time="2018-11-08T20:09:19Z" level=info msg="Started workers"
time="2018-11-08T20:09:19Z" level=info msg="Shutting down workers"
time="2018-11-08T20:09:19Z" level=info msg="Creating TFJob controller"
time="2018-11-08T20:09:19Z" level=info msg="Creating Job controller"
time="2018-11-08T20:09:19Z" level=info msg="Reconcile TFJobs test-tfjob" job=default.test-tfjob uid=
time="2018-11-08T20:09:19Z" level=info msg="Finished syncing tfjob \"default/test-tfjob\" (260.218µs)" job=default.test-tfjob
time="2018-11-08T20:09:19Z" level=info msg="Creating TFJob controller"
time="2018-11-08T20:09:19Z" level=info msg="Creating Job controller"
time="2018-11-08T20:09:19Z" level=info msg="Reconcile TFJobs test-tfjob" job=default.test-tfjob uid=
time="2018-11-08T20:09:19Z" level=info msg="Finished syncing tfjob \"default/test-tfjob\" (211.971µs)" job=default.test-tfjob
time="2018-11-08T20:09:19Z" level=info msg="Creating TFJob controller"
time="2018-11-08T20:09:19Z" level=info msg="Creating Job controller"
time="2018-11-08T20:09:19Z" level=info msg="Reconcile TFJobs test-tfjob" job=default.test-tfjob uid=
time="2018-11-08T20:09:19Z" level=info msg="Finished syncing tfjob \"default/test-tfjob\" (202.649µs)" job=default.test-tfjob
time="2018-11-08T20:09:19Z" level=info msg="Creating TFJob controller"
time="2018-11-08T20:09:19Z" level=info msg="Creating Job controller"
time="2018-11-08T20:09:19Z" level=info msg="Reconcile TFJobs test-tfjob" job=default.test-tfjob uid=
time="2018-11-08T20:09:19Z" level=info msg="Finished syncing tfjob \"default/test-tfjob\" (205µs)" job=default.test-tfjob
--- PASS: TestDeletePodsAndServices (0.00s)
=== RUN   TestCleanupTFJob
time="2018-11-08T20:09:19Z" level=info msg="Creating TFJob controller"
time="2018-11-08T20:09:19Z" level=info msg="Creating Job controller"
time="2018-11-08T20:09:19Z" level=info msg="Reconcile TFJobs test-tfjob" job=default.test-tfjob uid=
time="2018-11-08T20:09:19Z" level=info msg="Finished syncing tfjob \"default/test-tfjob\" (252.309µs)" job=default.test-tfjob
time="2018-11-08T20:09:19Z" level=info msg="Creating TFJob controller"
time="2018-11-08T20:09:19Z" level=info msg="Creating Job controller"
time="2018-11-08T20:09:19Z" level=info msg="Reconcile TFJobs test-tfjob" job=default.test-tfjob uid=
time="2018-11-08T20:09:19Z" level=info msg="Finished syncing tfjob \"default/test-tfjob\" (191.089µs)" job=default.test-tfjob
time="2018-11-08T20:09:19Z" level=info msg="Creating TFJob controller"
time="2018-11-08T20:09:19Z" level=info msg="Creating Job controller"
time="2018-11-08T20:09:21Z" level=info msg="Reconcile TFJobs test-tfjob" job=default.test-tfjob uid=
time="2018-11-08T20:09:21Z" level=info msg="Finished syncing tfjob \"default/test-tfjob\" (541.538µs)" job=default.test-tfjob
--- PASS: TestCleanupTFJob (2.00s)
=== RUN   TestAddPod
time="2018-11-08T20:09:21Z" level=info msg="Creating TFJob controller"
time="2018-11-08T20:09:21Z" level=info msg="Creating Job controller"
time="2018-11-08T20:09:21Z" level=info msg="Starting TFJob controller"
time="2018-11-08T20:09:21Z" level=info msg="Waiting for informer caches to sync"
time="2018-11-08T20:09:21Z" level=info msg="Starting 1 workers"
time="2018-11-08T20:09:21Z" level=info msg="Started workers"
--- PASS: TestAddPod (0.30s)
=== RUN   TestClusterSpec
time="2018-11-08T20:09:21Z" level=info msg="Shutting down workers"
--- PASS: TestClusterSpec (0.00s)
=== RUN   TestRestartPolicy
--- PASS: TestRestartPolicy (0.00s)
=== RUN   TestExitCode
time="2018-11-08T20:09:21Z" level=info msg="Creating TFJob controller"
time="2018-11-08T20:09:21Z" level=info msg="Creating Job controller"
time="2018-11-08T20:09:21Z" level=info msg="Reconcile TFJobs test-tfjob" job=default.test-tfjob uid=
time="2018-11-08T20:09:21Z" level=info msg="Pod: default.worker-0 exited with code 130" job=default.test-tfjob replica-type=worker uid=
E1108 20:09:21.748059    9029 event.go:260] Could not construct reference to: '&v1beta1.TFJob{TypeMeta:v1.TypeMeta{Kind:"TFJob", APIVersion:""}, ObjectMeta:v1.ObjectMeta{Name:"test-tfjob", GenerateName:"", Namespace:"default", SelfLink:"", UID:"", ResourceVersion:"", Generation:0, CreationTimestamp:v1.Time{Time:time.Time{wall:0x0, ext:0, loc:(*time.Location)(nil)}}, DeletionTimestamp:(*v1.Time)(nil), DeletionGracePeriodSeconds:(*int64)(nil), Labels:map[string]string(nil), Annotations:map[string]string(nil), OwnerReferences:[]v1.OwnerReference(nil), Initializers:(*v1.Initializers)(nil), Finalizers:[]string(nil), ClusterName:""}, Spec:v1beta1.TFJobSpec{CleanPodPolicy:(*v1beta1.CleanPodPolicy)(0xc42078ca30), TTLSecondsAfterFinished:(*int32)(nil), TFReplicaSpecs:map[v1beta1.TFReplicaType]*v1beta1.ReplicaSpec{"Worker":(*v1beta1.ReplicaSpec)(0xc420876c80)}}, Status:v1beta1.JobStatus{Conditions:[]v1beta1.JobCondition(nil), ReplicaStatuses:map[v1beta1.ReplicaType]*v1beta1.ReplicaStatus{"Worker":(*v1beta1.ReplicaStatus)(0xc42073d8f0)}, StartTime:(*v1.Time)(nil), CompletionTime:(*v1.Time)(nil), LastReconcileTime:(*v1.Time)(nil)}}' due to: 'selfLink was empty, can't make reference'. Will not report event: 'Normal' 'ExitedWithCode' 'Pod: default.worker-0 exited with code 130'
time="2018-11-08T20:09:21Z" level=info msg="Need to restart the pod: default.worker-0" job=default.test-tfjob replica-type=worker uid=
time="2018-11-08T20:09:21Z" level=info msg="TFJob=test-tfjob, ReplicaType=Worker expected=1, running=0, failed=1" job=default.test-tfjob uid=
time="2018-11-08T20:09:21Z" level=info msg="need to create new service: worker-0" job=default.test-tfjob replica-type=worker uid=
time="2018-11-08T20:09:21Z" level=info msg="Finished syncing tfjob \"default/test-tfjob\" (805.662µs)" job=default.test-tfjob
--- PASS: TestExitCode (0.00s)
=== RUN   TestAddService
time="2018-11-08T20:09:21Z" level=info msg="Starting TFJob controller"
time="2018-11-08T20:09:21Z" level=info msg="Waiting for informer caches to sync"
time="2018-11-08T20:09:21Z" level=info msg="Creating TFJob controller"
time="2018-11-08T20:09:21Z" level=info msg="Creating Job controller"
time="2018-11-08T20:09:21Z" level=info msg="Starting TFJob controller"
time="2018-11-08T20:09:21Z" level=info msg="Waiting for informer caches to sync"
time="2018-11-08T20:09:21Z" level=info msg="Starting 1 workers"
time="2018-11-08T20:09:21Z" level=info msg="Started workers"
time="2018-11-08T20:09:21Z" level=info msg="Shutting down workers"
time="2018-11-08T20:09:22Z" level=info msg="Starting 1 workers"
time="2018-11-08T20:09:22Z" level=info msg="Started workers"
--- PASS: TestAddService (0.30s)
=== RUN   TestFailed
time="2018-11-08T20:09:22Z" level=info msg="TFJob=test-tfjob, ReplicaType=Worker expected=3, running=0, failed=1" job=default.test-tfjob uid=
--- PASS: TestFailed (0.00s)
=== RUN   TestStatus
time="2018-11-08T20:09:22Z" level=info msg="TFJob=test-tfjob, ReplicaType=Chief expected=0, running=0, failed=0" job=default.test-tfjob uid=
time="2018-11-08T20:09:22Z" level=info msg="TFJob=test-tfjob, ReplicaType=Worker expected=0, running=0, failed=0" job=default.test-tfjob uid=
time="2018-11-08T20:09:22Z" level=info msg="TFJob=test-tfjob, ReplicaType=Chief expected=1, running=1, failed=0" job=default.test-tfjob uid=
time="2018-11-08T20:09:22Z" level=info msg="TFJob=test-tfjob, ReplicaType=Worker expected=1, running=0, failed=0" job=default.test-tfjob uid=
time="2018-11-08T20:09:22Z" level=info msg="TFJob=test-tfjob, ReplicaType=Chief expected=1, running=0, failed=1" job=default.test-tfjob uid=
time="2018-11-08T20:09:22Z" level=info msg="TFJob=test-tfjob, ReplicaType=Worker expected=1, running=0, failed=0" job=default.test-tfjob uid=
time="2018-11-08T20:09:22Z" level=info msg="TFJob=test-tfjob, ReplicaType=Worker expected=1, running=0, failed=1" job=default.test-tfjob uid=
time="2018-11-08T20:09:22Z" level=info msg="TFJob=test-tfjob, ReplicaType=Worker expected=0, running=0, failed=0" job=default.test-tfjob uid=
time="2018-11-08T20:09:22Z" level=info msg="TFJob=test-tfjob, ReplicaType=Worker expected=1, running=1, failed=0" job=default.test-tfjob uid=
time="2018-11-08T20:09:22Z" level=info msg="TFJob=test-tfjob, ReplicaType=Worker expected=2, running=2, failed=0" job=default.test-tfjob uid=
time="2018-11-08T20:09:22Z" level=info msg="TFJob=test-tfjob, ReplicaType=PS expected=2, running=2, failed=0" job=default.test-tfjob uid=
time="2018-11-08T20:09:22Z" level=info msg="TFJob=test-tfjob, ReplicaType=Worker expected=4, running=2, failed=2" job=default.test-tfjob uid=
time="2018-11-08T20:09:22Z" level=info msg="TFJob=test-tfjob, ReplicaType=PS expected=2, running=2, failed=0" job=default.test-tfjob uid=
time="2018-11-08T20:09:22Z" level=info msg="TFJob=test-tfjob, ReplicaType=Worker expected=2, running=0, failed=2" job=default.test-tfjob uid=
time="2018-11-08T20:09:22Z" level=info msg="TFJob=test-tfjob, ReplicaType=PS expected=2, running=2, failed=0" job=default.test-tfjob uid=
time="2018-11-08T20:09:22Z" level=info msg="TFJob=test-tfjob, ReplicaType=Worker expected=3, running=3, failed=0" job=default.test-tfjob uid=
time="2018-11-08T20:09:22Z" level=info msg="Shutting down workers"
time="2018-11-08T20:09:22Z" level=info msg="TFJob=test-tfjob, ReplicaType=PS expected=2, running=2, failed=0" job=default.test-tfjob uid=
time="2018-11-08T20:09:22Z" level=info msg="TFJob=test-tfjob, ReplicaType=Chief expected=1, running=1, failed=0" job=default.test-tfjob uid=
time="2018-11-08T20:09:22Z" level=info msg="TFJob=test-tfjob, ReplicaType=Worker expected=4, running=0, failed=4" job=default.test-tfjob uid=
time="2018-11-08T20:09:22Z" level=info msg="TFJob=test-tfjob, ReplicaType=PS expected=2, running=2, failed=0" job=default.test-tfjob uid=
time="2018-11-08T20:09:22Z" level=info msg="TFJob=test-tfjob, ReplicaType=Chief expected=1, running=1, failed=0" job=default.test-tfjob uid=
time="2018-11-08T20:09:22Z" level=info msg="TFJob=test-tfjob, ReplicaType=Worker expected=0, running=0, failed=0" job=default.test-tfjob uid=
time="2018-11-08T20:09:22Z" level=info msg="TFJob=test-tfjob, ReplicaType=PS expected=2, running=2, failed=0" job=default.test-tfjob uid=
time="2018-11-08T20:09:22Z" level=info msg="TFJob=test-tfjob, ReplicaType=Chief expected=1, running=1, failed=0" job=default.test-tfjob uid=
time="2018-11-08T20:09:22Z" level=info msg="TFJob=test-tfjob, ReplicaType=Worker expected=0, running=0, failed=0" job=default.test-tfjob uid=
time="2018-11-08T20:09:22Z" level=info msg="TFJob=test-tfjob, ReplicaType=PS expected=2, running=1, failed=1" job=default.test-tfjob uid=
time="2018-11-08T20:09:22Z" level=info msg="TFJob=test-tfjob, ReplicaType=Chief expected=1, running=0, failed=1" job=default.test-tfjob uid=
time="2018-11-08T20:09:22Z" level=info msg="TFJob=test-tfjob, ReplicaType=Worker expected=0, running=0, failed=0" job=default.test-tfjob uid=
time="2018-11-08T20:09:22Z" level=info msg="TFJob=test-tfjob, ReplicaType=PS expected=2, running=2, failed=0" job=default.test-tfjob uid=
time="2018-11-08T20:09:22Z" level=info msg="TFJob=test-tfjob, ReplicaType=Chief expected=0, running=0, failed=0" job=default.test-tfjob uid=
time="2018-11-08T20:09:22Z" level=info msg="TFJob=test-tfjob, ReplicaType=Worker expected=4, running=0, failed=4" job=default.test-tfjob uid=
time="2018-11-08T20:09:22Z" level=info msg="TFJob=test-tfjob, ReplicaType=PS expected=2, running=2, failed=0" job=default.test-tfjob uid=
time="2018-11-08T20:09:22Z" level=info msg="TFJob=test-tfjob, ReplicaType=Chief expected=1, running=0, failed=1" job=default.test-tfjob uid=
time="2018-11-08T20:09:22Z" level=info msg="TFJob=test-tfjob, ReplicaType=Worker expected=4, running=0, failed=4" job=default.test-tfjob uid=
time="2018-11-08T20:09:22Z" level=info msg="TFJob=test-tfjob, ReplicaType=PS expected=2, running=2, failed=0" job=default.test-tfjob uid=
--- PASS: TestStatus (0.00s)
=== RUN   TestGenOwnerReference
--- PASS: TestGenOwnerReference (0.00s)
=== RUN   TestGenLabels
--- PASS: TestGenLabels (0.00s)
=== RUN   TestConvertTFJobToUnstructured
--- PASS: TestConvertTFJobToUnstructured (0.00s)
PASS
coverage: 44.0% of statements in github.com/kubeflow/tf-operator/pkg/apis/common/v1beta1, github.com/kubeflow/tf-operator/pkg/apis/tensorflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/apis/tensorflow/v1beta1, github.com/kubeflow/tf-operator/pkg/apis/tensorflow/validation, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/fake, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/scheme, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1alpha2/fake, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1beta1, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1beta1/fake, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/internalinterfaces, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/kubeflow, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/kubeflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/kubeflow/v1beta1, github.com/kubeflow/tf-operator/pkg/client/listers/kubeflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/client/listers/kubeflow/v1beta1, github.com/kubeflow/tf-operator/pkg/common/jobcontroller, github.com/kubeflow/tf-operator/pkg/common/util/testutil, github.com/kubeflow/tf-operator/pkg/common/util/unstructured, github.com/kubeflow/tf-operator/pkg/control, github.com/kubeflow/tf-operator/pkg/controller.v1beta1/tensorflow, github.com/kubeflow/tf-operator/pkg/controller.v2/jobcontroller, github.com/kubeflow/tf-operator/pkg/controller.v2/tensorflow, github.com/kubeflow/tf-operator/pkg/logger, github.com/kubeflow/tf-operator/pkg/util, github.com/kubeflow/tf-operator/pkg/util/k8sutil, github.com/kubeflow/tf-operator/pkg/util/signals, github.com/kubeflow/tf-operator/pkg/util/testutil, github.com/kubeflow/tf-operator/pkg/util/train, github.com/kubeflow/tf-operator/pkg/util/unstructured, github.com/kubeflow/tf-operator/pkg/version
ok  	github.com/kubeflow/tf-operator/pkg/controller.v1beta1/tensorflow	3.493s	coverage: 44.0% of statements in github.com/kubeflow/tf-operator/pkg/apis/common/v1beta1, github.com/kubeflow/tf-operator/pkg/apis/tensorflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/apis/tensorflow/v1beta1, github.com/kubeflow/tf-operator/pkg/apis/tensorflow/validation, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/fake, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/scheme, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1alpha2/fake, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1beta1, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1beta1/fake, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/internalinterfaces, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/kubeflow, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/kubeflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/kubeflow/v1beta1, github.com/kubeflow/tf-operator/pkg/client/listers/kubeflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/client/listers/kubeflow/v1beta1, github.com/kubeflow/tf-operator/pkg/common/jobcontroller, github.com/kubeflow/tf-operator/pkg/common/util/testutil, github.com/kubeflow/tf-operator/pkg/common/util/unstructured, github.com/kubeflow/tf-operator/pkg/control, github.com/kubeflow/tf-operator/pkg/controller.v1beta1/tensorflow, github.com/kubeflow/tf-operator/pkg/controller.v2/jobcontroller, github.com/kubeflow/tf-operator/pkg/controller.v2/tensorflow, github.com/kubeflow/tf-operator/pkg/logger, github.com/kubeflow/tf-operator/pkg/util, github.com/kubeflow/tf-operator/pkg/util/k8sutil, github.com/kubeflow/tf-operator/pkg/util/signals, github.com/kubeflow/tf-operator/pkg/util/testutil, github.com/kubeflow/tf-operator/pkg/util/train, github.com/kubeflow/tf-operator/pkg/util/unstructured, github.com/kubeflow/tf-operator/pkg/version
=== RUN   TestGenGeneralName
--- PASS: TestGenGeneralName (0.00s)
PASS
coverage: 0.5% of statements in github.com/kubeflow/tf-operator/pkg/apis/common/v1beta1, github.com/kubeflow/tf-operator/pkg/apis/tensorflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/apis/tensorflow/v1beta1, github.com/kubeflow/tf-operator/pkg/apis/tensorflow/validation, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/fake, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/scheme, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1alpha2/fake, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1beta1, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1beta1/fake, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/internalinterfaces, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/kubeflow, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/kubeflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/kubeflow/v1beta1, github.com/kubeflow/tf-operator/pkg/client/listers/kubeflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/client/listers/kubeflow/v1beta1, github.com/kubeflow/tf-operator/pkg/common/jobcontroller, github.com/kubeflow/tf-operator/pkg/common/util/testutil, github.com/kubeflow/tf-operator/pkg/common/util/unstructured, github.com/kubeflow/tf-operator/pkg/control, github.com/kubeflow/tf-operator/pkg/controller.v1beta1/tensorflow, github.com/kubeflow/tf-operator/pkg/controller.v2/jobcontroller, github.com/kubeflow/tf-operator/pkg/controller.v2/tensorflow, github.com/kubeflow/tf-operator/pkg/logger, github.com/kubeflow/tf-operator/pkg/util, github.com/kubeflow/tf-operator/pkg/util/k8sutil, github.com/kubeflow/tf-operator/pkg/util/signals, github.com/kubeflow/tf-operator/pkg/util/testutil, github.com/kubeflow/tf-operator/pkg/util/train, github.com/kubeflow/tf-operator/pkg/util/unstructured, github.com/kubeflow/tf-operator/pkg/version
ok  	github.com/kubeflow/tf-operator/pkg/controller.v2/jobcontroller	0.018s	coverage: 0.5% of statements in github.com/kubeflow/tf-operator/pkg/apis/common/v1beta1, github.com/kubeflow/tf-operator/pkg/apis/tensorflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/apis/tensorflow/v1beta1, github.com/kubeflow/tf-operator/pkg/apis/tensorflow/validation, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/fake, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/scheme, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1alpha2/fake, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1beta1, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1beta1/fake, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/internalinterfaces, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/kubeflow, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/kubeflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/kubeflow/v1beta1, github.com/kubeflow/tf-operator/pkg/client/listers/kubeflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/client/listers/kubeflow/v1beta1, github.com/kubeflow/tf-operator/pkg/common/jobcontroller, github.com/kubeflow/tf-operator/pkg/common/util/testutil, github.com/kubeflow/tf-operator/pkg/common/util/unstructured, github.com/kubeflow/tf-operator/pkg/control, github.com/kubeflow/tf-operator/pkg/controller.v1beta1/tensorflow, github.com/kubeflow/tf-operator/pkg/controller.v2/jobcontroller, github.com/kubeflow/tf-operator/pkg/controller.v2/tensorflow, github.com/kubeflow/tf-operator/pkg/logger, github.com/kubeflow/tf-operator/pkg/util, github.com/kubeflow/tf-operator/pkg/util/k8sutil, github.com/kubeflow/tf-operator/pkg/util/signals, github.com/kubeflow/tf-operator/pkg/util/testutil, github.com/kubeflow/tf-operator/pkg/util/train, github.com/kubeflow/tf-operator/pkg/util/unstructured, github.com/kubeflow/tf-operator/pkg/version
=== RUN   TestNormalPath
time="2018-11-08T20:09:31Z" level=info msg="Creating TFJob controller"
time="2018-11-08T20:09:31Z" level=info msg="Creating Job controller"
time="2018-11-08T20:09:32Z" level=info msg="Reconcile TFJobs test-tfjob" job=default.test-tfjob uid=
time="2018-11-08T20:09:32Z" level=info msg="Need to create new pod: worker-2" job=default.test-tfjob replica-type=worker uid=
time="2018-11-08T20:09:32Z" level=info msg="Need to create new pod: worker-3" job=default.test-tfjob replica-type=worker uid=
time="2018-11-08T20:09:32Z" level=info msg="TFJob=test-tfjob, ReplicaType=Worker expected=4, running=0, failed=0" job=default.test-tfjob uid=
time="2018-11-08T20:09:32Z" level=info msg="need to create new service: worker-2" job=default.test-tfjob replica-type=worker uid=
time="2018-11-08T20:09:32Z" level=info msg="need to create new service: worker-3" job=default.test-tfjob replica-type=worker uid=
time="2018-11-08T20:09:32Z" level=info msg="Need to create new pod: ps-1" job=default.test-tfjob replica-type=ps uid=
time="2018-11-08T20:09:32Z" level=info msg="TFJob=test-tfjob, ReplicaType=PS expected=2, running=0, failed=0" job=default.test-tfjob uid=
time="2018-11-08T20:09:32Z" level=info msg="need to create new service: ps-1" job=default.test-tfjob replica-type=ps uid=
time="2018-11-08T20:09:32Z" level=info msg="Finished syncing tfjob \"default/test-tfjob\" (4.217863ms)" job=default.test-tfjob
time="2018-11-08T20:09:32Z" level=info msg="Creating TFJob controller"
time="2018-11-08T20:09:32Z" level=info msg="Creating Job controller"
time="2018-11-08T20:09:32Z" level=info msg="Reconcile TFJobs test-tfjob" job=default.test-tfjob uid=
time="2018-11-08T20:09:32Z" level=info msg="Need to create new pod: ps-1" job=default.test-tfjob replica-type=ps uid=
time="2018-11-08T20:09:32Z" level=info msg="TFJob=test-tfjob, ReplicaType=PS expected=2, running=0, failed=0" job=default.test-tfjob uid=
time="2018-11-08T20:09:32Z" level=info msg="need to create new service: ps-1" job=default.test-tfjob replica-type=ps uid=
time="2018-11-08T20:09:32Z" level=info msg="Need to create new pod: worker-3" job=default.test-tfjob replica-type=worker uid=
time="2018-11-08T20:09:32Z" level=info msg="TFJob=test-tfjob, ReplicaType=Worker expected=3, running=0, failed=0" job=default.test-tfjob uid=
time="2018-11-08T20:09:32Z" level=info msg="need to create new service: worker-3" job=default.test-tfjob replica-type=worker uid=
time="2018-11-08T20:09:32Z" level=info msg="Finished syncing tfjob \"default/test-tfjob\" (1.052967ms)" job=default.test-tfjob
time="2018-11-08T20:09:32Z" level=info msg="Creating TFJob controller"
time="2018-11-08T20:09:32Z" level=info msg="Creating Job controller"
time="2018-11-08T20:09:32Z" level=info msg="Reconcile TFJobs test-tfjob" job=default.test-tfjob uid=
time="2018-11-08T20:09:32Z" level=info msg="TFJob=test-tfjob, ReplicaType=Worker expected=4, running=4, failed=0" job=default.test-tfjob uid=
time="2018-11-08T20:09:32Z" level=info msg="TFJob=test-tfjob, ReplicaType=PS expected=2, running=2, failed=0" job=default.test-tfjob uid=
time="2018-11-08T20:09:32Z" level=info msg="Finished syncing tfjob \"default/test-tfjob\" (464.423µs)" job=default.test-tfjob
time="2018-11-08T20:09:32Z" level=info msg="Creating TFJob controller"
time="2018-11-08T20:09:32Z" level=info msg="Creating Job controller"
time="2018-11-08T20:09:32Z" level=info msg="Reconcile TFJobs test-tfjob" job=default.test-tfjob uid=
time="2018-11-08T20:09:32Z" level=info msg="Need to create new pod: worker-3" job=default.test-tfjob replica-type=worker uid=
time="2018-11-08T20:09:32Z" level=info msg="TFJob=test-tfjob, ReplicaType=Worker expected=4, running=1, failed=0" job=default.test-tfjob uid=
time="2018-11-08T20:09:32Z" level=info msg="need to create new service: worker-3" job=default.test-tfjob replica-type=worker uid=
time="2018-11-08T20:09:32Z" level=info msg="Need to create new pod: ps-1" job=default.test-tfjob replica-type=ps uid=
time="2018-11-08T20:09:32Z" level=info msg="TFJob=test-tfjob, ReplicaType=PS expected=2, running=0, failed=0" job=default.test-tfjob uid=
time="2018-11-08T20:09:32Z" level=info msg="need to create new service: ps-1" job=default.test-tfjob replica-type=ps uid=
time="2018-11-08T20:09:32Z" level=info msg="Finished syncing tfjob \"default/test-tfjob\" (482.991µs)" job=default.test-tfjob
time="2018-11-08T20:09:32Z" level=info msg="Creating TFJob controller"
time="2018-11-08T20:09:32Z" level=info msg="Creating Job controller"
time="2018-11-08T20:09:32Z" level=info msg="Reconcile TFJobs test-tfjob" job=default.test-tfjob uid=
time="2018-11-08T20:09:32Z" level=info msg="TFJob=test-tfjob, ReplicaType=PS expected=0, running=0, failed=0" job=default.test-tfjob uid=
time="2018-11-08T20:09:32Z" level=info msg="TFJob=test-tfjob, ReplicaType=Worker expected=0, running=0, failed=0" job=default.test-tfjob uid=
time="2018-11-08T20:09:32Z" level=info msg="Finished syncing tfjob \"default/test-tfjob\" (337.754µs)" job=default.test-tfjob
time="2018-11-08T20:09:32Z" level=info msg="Creating TFJob controller"
time="2018-11-08T20:09:32Z" level=info msg="Creating Job controller"
time="2018-11-08T20:09:32Z" level=info msg="Reconcile TFJobs test-tfjob" job=default.test-tfjob uid=
time="2018-11-08T20:09:32Z" level=info msg="Need to create new pod: worker-0" job=default.test-tfjob replica-type=worker uid=
time="2018-11-08T20:09:32Z" level=info msg="TFJob=test-tfjob, ReplicaType=Worker expected=1, running=0, failed=0" job=default.test-tfjob uid=
time="2018-11-08T20:09:32Z" level=info msg="need to create new service: worker-0" job=default.test-tfjob replica-type=worker uid=
time="2018-11-08T20:09:32Z" level=info msg="Finished syncing tfjob \"default/test-tfjob\" (277.524µs)" job=default.test-tfjob
time="2018-11-08T20:09:32Z" level=info msg="Creating TFJob controller"
time="2018-11-08T20:09:32Z" level=info msg="Creating Job controller"
time="2018-11-08T20:09:32Z" level=info msg="Reconcile TFJobs test-tfjob" job=default.test-tfjob uid=
time="2018-11-08T20:09:32Z" level=info msg="Need to create new pod: ps-0" job=default.test-tfjob replica-type=ps uid=
time="2018-11-08T20:09:32Z" level=info msg="Need to create new pod: ps-1" job=default.test-tfjob replica-type=ps uid=
time="2018-11-08T20:09:32Z" level=info msg="TFJob=test-tfjob, ReplicaType=PS expected=2, running=0, failed=0" job=default.test-tfjob uid=
time="2018-11-08T20:09:32Z" level=info msg="need to create new service: ps-0" job=default.test-tfjob replica-type=ps uid=
time="2018-11-08T20:09:32Z" level=info msg="need to create new service: ps-1" job=default.test-tfjob replica-type=ps uid=
time="2018-11-08T20:09:32Z" level=info msg="Need to create new pod: worker-0" job=default.test-tfjob replica-type=worker uid=
time="2018-11-08T20:09:32Z" level=info msg="Need to create new pod: worker-1" job=default.test-tfjob replica-type=worker uid=
time="2018-11-08T20:09:32Z" level=info msg="Need to create new pod: worker-2" job=default.test-tfjob replica-type=worker uid=
time="2018-11-08T20:09:32Z" level=info msg="Need to create new pod: worker-3" job=default.test-tfjob replica-type=worker uid=
time="2018-11-08T20:09:32Z" level=info msg="TFJob=test-tfjob, ReplicaType=Worker expected=4, running=0, failed=0" job=default.test-tfjob uid=
time="2018-11-08T20:09:32Z" level=info msg="need to create new service: worker-0" job=default.test-tfjob replica-type=worker uid=
time="2018-11-08T20:09:32Z" level=info msg="need to create new service: worker-1" job=default.test-tfjob replica-type=worker uid=
time="2018-11-08T20:09:32Z" level=info msg="need to create new service: worker-2" job=default.test-tfjob replica-type=worker uid=
time="2018-11-08T20:09:32Z" level=info msg="need to create new service: worker-3" job=default.test-tfjob replica-type=worker uid=
time="2018-11-08T20:09:32Z" level=info msg="Finished syncing tfjob \"default/test-tfjob\" (623.569µs)" job=default.test-tfjob
time="2018-11-08T20:09:32Z" level=info msg="Creating TFJob controller"
time="2018-11-08T20:09:32Z" level=info msg="Creating Job controller"
time="2018-11-08T20:09:32Z" level=info msg="Reconcile TFJobs test-tfjob" job=default.test-tfjob uid=
time="2018-11-08T20:09:32Z" level=info msg="TFJob=test-tfjob, ReplicaType=Worker expected=4, running=0, failed=0" job=default.test-tfjob uid=
time="2018-11-08T20:09:32Z" level=info msg="TFJob=test-tfjob, ReplicaType=PS expected=2, running=0, failed=0" job=default.test-tfjob uid=
time="2018-11-08T20:09:32Z" level=info msg="Finished syncing tfjob \"default/test-tfjob\" (373.135µs)" job=default.test-tfjob
--- PASS: TestNormalPath (0.02s)
=== RUN   TestRun
time="2018-11-08T20:09:32Z" level=info msg="Creating TFJob controller"
time="2018-11-08T20:09:32Z" level=info msg="Creating Job controller"
time="2018-11-08T20:09:32Z" level=info msg="Starting TFJob controller"
time="2018-11-08T20:09:32Z" level=info msg="Waiting for informer caches to sync"
time="2018-11-08T20:09:32Z" level=info msg="Starting 1 workers"
time="2018-11-08T20:09:32Z" level=info msg="Started workers"
time="2018-11-08T20:09:32Z" level=info msg="Shutting down workers"
--- PASS: TestRun (0.50s)
=== RUN   TestSyncPdb
time="2018-11-08T20:09:32Z" level=info msg="Creating TFJob controller"
time="2018-11-08T20:09:32Z" level=info msg="Creating Job controller"
--- PASS: TestSyncPdb (0.00s)
=== RUN   TestAddTFJob
time="2018-11-08T20:09:32Z" level=info msg="Creating TFJob controller"
time="2018-11-08T20:09:32Z" level=info msg="Creating Job controller"
time="2018-11-08T20:09:32Z" level=info msg="TFJob test-tfjob is created." job=default.test-tfjob uid=
time="2018-11-08T20:09:32Z" level=info msg="Starting TFJob controller"
time="2018-11-08T20:09:32Z" level=info msg="Waiting for informer caches to sync"
time="2018-11-08T20:09:32Z" level=info msg="Starting 1 workers"
time="2018-11-08T20:09:32Z" level=info msg="Started workers"
time="2018-11-08T20:09:32Z" level=info msg="Shutting down workers"
--- PASS: TestAddTFJob (0.30s)
=== RUN   TestCopyLabelsAndAnnotation
time="2018-11-08T20:09:32Z" level=info msg="Creating TFJob controller"
time="2018-11-08T20:09:32Z" level=info msg="Creating Job controller"
time="2018-11-08T20:09:32Z" level=info msg="Starting TFJob controller"
time="2018-11-08T20:09:32Z" level=info msg="Waiting for informer caches to sync"
time="2018-11-08T20:09:32Z" level=info msg="Reconcile TFJobs test-tfjob" job=default.test-tfjob uid=
time="2018-11-08T20:09:32Z" level=info msg="Need to create new pod: worker-0" job=default.test-tfjob replica-type=worker uid=
time="2018-11-08T20:09:32Z" level=info msg="TFJob=test-tfjob, ReplicaType=Worker expected=1, running=0, failed=0" job=default.test-tfjob uid=
time="2018-11-08T20:09:32Z" level=info msg="need to create new service: worker-0" job=default.test-tfjob replica-type=worker uid=
time="2018-11-08T20:09:32Z" level=info msg="Finished syncing tfjob \"default/test-tfjob\" (902.991µs)" job=default.test-tfjob
--- PASS: TestCopyLabelsAndAnnotation (0.00s)
=== RUN   TestDeletePodsAndServices
time="2018-11-08T20:09:32Z" level=info msg="Creating TFJob controller"
time="2018-11-08T20:09:32Z" level=info msg="Creating Job controller"
time="2018-11-08T20:09:32Z" level=info msg="Reconcile TFJobs test-tfjob" job=default.test-tfjob uid=
time="2018-11-08T20:09:32Z" level=info msg="Finished syncing tfjob \"default/test-tfjob\" (505.756µs)" job=default.test-tfjob
time="2018-11-08T20:09:32Z" level=info msg="Creating TFJob controller"
time="2018-11-08T20:09:32Z" level=info msg="Creating Job controller"
time="2018-11-08T20:09:32Z" level=info msg="Starting 1 workers"
time="2018-11-08T20:09:32Z" level=info msg="Started workers"
time="2018-11-08T20:09:32Z" level=info msg="Shutting down workers"
time="2018-11-08T20:09:32Z" level=info msg="Reconcile TFJobs test-tfjob" job=default.test-tfjob uid=
time="2018-11-08T20:09:32Z" level=info msg="Finished syncing tfjob \"default/test-tfjob\" (264.818µs)" job=default.test-tfjob
time="2018-11-08T20:09:32Z" level=info msg="Creating TFJob controller"
time="2018-11-08T20:09:32Z" level=info msg="Creating Job controller"
time="2018-11-08T20:09:32Z" level=info msg="Reconcile TFJobs test-tfjob" job=default.test-tfjob uid=
time="2018-11-08T20:09:32Z" level=info msg="Finished syncing tfjob \"default/test-tfjob\" (278.539µs)" job=default.test-tfjob
time="2018-11-08T20:09:32Z" level=info msg="Creating TFJob controller"
time="2018-11-08T20:09:32Z" level=info msg="Creating Job controller"
time="2018-11-08T20:09:32Z" level=info msg="Reconcile TFJobs test-tfjob" job=default.test-tfjob uid=
time="2018-11-08T20:09:32Z" level=info msg="Finished syncing tfjob \"default/test-tfjob\" (287.312µs)" job=default.test-tfjob
--- PASS: TestDeletePodsAndServices (0.01s)
=== RUN   TestCleanupTFJob
time="2018-11-08T20:09:32Z" level=info msg="Creating TFJob controller"
time="2018-11-08T20:09:32Z" level=info msg="Creating Job controller"
time="2018-11-08T20:09:32Z" level=info msg="Reconcile TFJobs test-tfjob" job=default.test-tfjob uid=
time="2018-11-08T20:09:32Z" level=info msg="Finished syncing tfjob \"default/test-tfjob\" (305.222µs)" job=default.test-tfjob
time="2018-11-08T20:09:32Z" level=info msg="Creating TFJob controller"
time="2018-11-08T20:09:32Z" level=info msg="Creating Job controller"
time="2018-11-08T20:09:32Z" level=info msg="Reconcile TFJobs test-tfjob" job=default.test-tfjob uid=
time="2018-11-08T20:09:32Z" level=info msg="Finished syncing tfjob \"default/test-tfjob\" (223.564µs)" job=default.test-tfjob
time="2018-11-08T20:09:32Z" level=info msg="Creating TFJob controller"
time="2018-11-08T20:09:32Z" level=info msg="Creating Job controller"
time="2018-11-08T20:09:34Z" level=info msg="Reconcile TFJobs test-tfjob" job=default.test-tfjob uid=
time="2018-11-08T20:09:34Z" level=info msg="Finished syncing tfjob \"default/test-tfjob\" (443.479µs)" job=default.test-tfjob
--- PASS: TestCleanupTFJob (2.00s)
=== RUN   TestAddPod
time="2018-11-08T20:09:34Z" level=info msg="Creating TFJob controller"
time="2018-11-08T20:09:34Z" level=info msg="Creating Job controller"
time="2018-11-08T20:09:34Z" level=info msg="Starting TFJob controller"
time="2018-11-08T20:09:34Z" level=info msg="Waiting for informer caches to sync"
time="2018-11-08T20:09:35Z" level=info msg="Starting 1 workers"
time="2018-11-08T20:09:35Z" level=info msg="Started workers"
--- PASS: TestAddPod (0.30s)
=== RUN   TestClusterSpec
--- PASS: TestClusterSpec (0.00s)
=== RUN   TestRestartPolicy
--- PASS: TestRestartPolicy (0.00s)
=== RUN   TestExitCode
time="2018-11-08T20:09:35Z" level=info msg="Creating TFJob controller"
time="2018-11-08T20:09:35Z" level=info msg="Creating Job controller"
time="2018-11-08T20:09:35Z" level=info msg="Reconcile TFJobs test-tfjob" job=default.test-tfjob uid=
time="2018-11-08T20:09:35Z" level=info msg="Pod: default.worker-0 exited with code 130" job=default.test-tfjob replica-type=worker uid=
E1108 20:09:35.137338    9255 event.go:260] Could not construct reference to: '&v1alpha2.TFJob{TypeMeta:v1.TypeMeta{Kind:"TFJob", APIVersion:""}, ObjectMeta:v1.ObjectMeta{Name:"test-tfjob", GenerateName:"", Namespace:"default", SelfLink:"", UID:"", ResourceVersion:"", Generation:0, CreationTimestamp:v1.Time{Time:time.Time{wall:0x0, ext:0, loc:(*time.Location)(nil)}}, DeletionTimestamp:(*v1.Time)(nil), DeletionGracePeriodSeconds:(*int64)(nil), Labels:map[string]string(nil), Annotations:map[string]string(nil), OwnerReferences:[]v1.OwnerReference(nil), Initializers:(*v1.Initializers)(nil), Finalizers:[]string(nil), ClusterName:""}, Spec:v1alpha2.TFJobSpec{CleanPodPolicy:(*v1alpha2.CleanPodPolicy)(0xc4205340f0), TTLSecondsAfterFinished:(*int32)(nil), TFReplicaSpecs:map[v1alpha2.TFReplicaType]*v1alpha2.TFReplicaSpec{"Worker":(*v1alpha2.TFReplicaSpec)(0xc4208be280)}}, Status:v1alpha2.TFJobStatus{Conditions:[]v1alpha2.TFJobCondition(nil), TFReplicaStatuses:map[v1alpha2.TFReplicaType]*v1alpha2.TFReplicaStatus{"Worker":(*v1alpha2.TFReplicaStatus)(0xc42071d920)}, StartTime:(*v1.Time)(nil), CompletionTime:(*v1.Time)(nil), LastReconcileTime:(*v1.Time)(nil)}}' due to: 'selfLink was empty, can't make reference'. Will not report event: 'Normal' 'ExitedWithCode' 'Pod: default.worker-0 exited with code 130'
time="2018-11-08T20:09:35Z" level=info msg="Need to restart the pod: default.worker-0" job=default.test-tfjob replica-type=worker uid=
time="2018-11-08T20:09:35Z" level=info msg="TFJob=test-tfjob, ReplicaType=Worker expected=1, running=0, failed=1" job=default.test-tfjob uid=
time="2018-11-08T20:09:35Z" level=info msg="need to create new service: worker-0" job=default.test-tfjob replica-type=worker uid=
time="2018-11-08T20:09:35Z" level=info msg="Finished syncing tfjob \"default/test-tfjob\" (858.149µs)" job=default.test-tfjob
--- PASS: TestExitCode (0.00s)
=== RUN   TestAddService
time="2018-11-08T20:09:35Z" level=info msg="Creating TFJob controller"
time="2018-11-08T20:09:35Z" level=info msg="Creating Job controller"
time="2018-11-08T20:09:35Z" level=info msg="Starting TFJob controller"
time="2018-11-08T20:09:35Z" level=info msg="Waiting for informer caches to sync"
time="2018-11-08T20:09:35Z" level=info msg="Shutting down workers"
time="2018-11-08T20:09:35Z" level=info msg="Starting TFJob controller"
time="2018-11-08T20:09:35Z" level=info msg="Waiting for informer caches to sync"
time="2018-11-08T20:09:35Z" level=info msg="Starting 1 workers"
time="2018-11-08T20:09:35Z" level=info msg="Started workers"
time="2018-11-08T20:09:35Z" level=info msg="Shutting down workers"
time="2018-11-08T20:09:35Z" level=info msg="Starting 1 workers"
time="2018-11-08T20:09:35Z" level=info msg="Started workers"
--- PASS: TestAddService (0.30s)
=== RUN   TestFailed
time="2018-11-08T20:09:35Z" level=info msg="Shutting down workers"
time="2018-11-08T20:09:35Z" level=info msg="TFJob=test-tfjob, ReplicaType=Worker expected=3, running=0, failed=1" job=default.test-tfjob uid=
--- PASS: TestFailed (0.00s)
=== RUN   TestStatus
time="2018-11-08T20:09:35Z" level=info msg="TFJob=test-tfjob, ReplicaType=Chief expected=0, running=0, failed=0" job=default.test-tfjob uid=
time="2018-11-08T20:09:35Z" level=info msg="TFJob=test-tfjob, ReplicaType=Worker expected=0, running=0, failed=0" job=default.test-tfjob uid=
time="2018-11-08T20:09:35Z" level=info msg="TFJob=test-tfjob, ReplicaType=Chief expected=1, running=1, failed=0" job=default.test-tfjob uid=
time="2018-11-08T20:09:35Z" level=info msg="TFJob=test-tfjob, ReplicaType=Worker expected=1, running=0, failed=0" job=default.test-tfjob uid=
time="2018-11-08T20:09:35Z" level=info msg="TFJob=test-tfjob, ReplicaType=Chief expected=1, running=0, failed=1" job=default.test-tfjob uid=
time="2018-11-08T20:09:35Z" level=info msg="TFJob=test-tfjob, ReplicaType=Worker expected=1, running=0, failed=0" job=default.test-tfjob uid=
time="2018-11-08T20:09:35Z" level=info msg="TFJob=test-tfjob, ReplicaType=Worker expected=1, running=0, failed=1" job=default.test-tfjob uid=
time="2018-11-08T20:09:35Z" level=info msg="TFJob=test-tfjob, ReplicaType=Worker expected=0, running=0, failed=0" job=default.test-tfjob uid=
time="2018-11-08T20:09:35Z" level=info msg="TFJob=test-tfjob, ReplicaType=Worker expected=1, running=1, failed=0" job=default.test-tfjob uid=
time="2018-11-08T20:09:35Z" level=info msg="TFJob=test-tfjob, ReplicaType=Worker expected=2, running=2, failed=0" job=default.test-tfjob uid=
time="2018-11-08T20:09:35Z" level=info msg="TFJob=test-tfjob, ReplicaType=PS expected=2, running=2, failed=0" job=default.test-tfjob uid=
time="2018-11-08T20:09:35Z" level=info msg="TFJob=test-tfjob, ReplicaType=Worker expected=4, running=2, failed=2" job=default.test-tfjob uid=
time="2018-11-08T20:09:35Z" level=info msg="TFJob=test-tfjob, ReplicaType=PS expected=2, running=2, failed=0" job=default.test-tfjob uid=
time="2018-11-08T20:09:35Z" level=info msg="TFJob=test-tfjob, ReplicaType=Worker expected=2, running=0, failed=2" job=default.test-tfjob uid=
time="2018-11-08T20:09:35Z" level=info msg="TFJob=test-tfjob, ReplicaType=PS expected=2, running=2, failed=0" job=default.test-tfjob uid=
time="2018-11-08T20:09:35Z" level=info msg="TFJob=test-tfjob, ReplicaType=Worker expected=3, running=3, failed=0" job=default.test-tfjob uid=
time="2018-11-08T20:09:35Z" level=info msg="TFJob=test-tfjob, ReplicaType=PS expected=2, running=2, failed=0" job=default.test-tfjob uid=
time="2018-11-08T20:09:35Z" level=info msg="TFJob=test-tfjob, ReplicaType=Chief expected=1, running=1, failed=0" job=default.test-tfjob uid=
time="2018-11-08T20:09:35Z" level=info msg="TFJob=test-tfjob, ReplicaType=Worker expected=4, running=0, failed=4" job=default.test-tfjob uid=
time="2018-11-08T20:09:35Z" level=info msg="TFJob=test-tfjob, ReplicaType=PS expected=2, running=2, failed=0" job=default.test-tfjob uid=
time="2018-11-08T20:09:35Z" level=info msg="TFJob=test-tfjob, ReplicaType=Chief expected=1, running=1, failed=0" job=default.test-tfjob uid=
time="2018-11-08T20:09:35Z" level=info msg="TFJob=test-tfjob, ReplicaType=Worker expected=0, running=0, failed=0" job=default.test-tfjob uid=
time="2018-11-08T20:09:35Z" level=info msg="TFJob=test-tfjob, ReplicaType=PS expected=2, running=2, failed=0" job=default.test-tfjob uid=
time="2018-11-08T20:09:35Z" level=info msg="TFJob=test-tfjob, ReplicaType=Chief expected=1, running=1, failed=0" job=default.test-tfjob uid=
time="2018-11-08T20:09:35Z" level=info msg="TFJob=test-tfjob, ReplicaType=Worker expected=0, running=0, failed=0" job=default.test-tfjob uid=
time="2018-11-08T20:09:35Z" level=info msg="TFJob=test-tfjob, ReplicaType=PS expected=2, running=1, failed=1" job=default.test-tfjob uid=
time="2018-11-08T20:09:35Z" level=info msg="TFJob=test-tfjob, ReplicaType=Chief expected=1, running=0, failed=1" job=default.test-tfjob uid=
time="2018-11-08T20:09:35Z" level=info msg="TFJob=test-tfjob, ReplicaType=Worker expected=0, running=0, failed=0" job=default.test-tfjob uid=
time="2018-11-08T20:09:35Z" level=info msg="TFJob=test-tfjob, ReplicaType=PS expected=2, running=2, failed=0" job=default.test-tfjob uid=
time="2018-11-08T20:09:35Z" level=info msg="TFJob=test-tfjob, ReplicaType=Chief expected=0, running=0, failed=0" job=default.test-tfjob uid=
time="2018-11-08T20:09:35Z" level=info msg="TFJob=test-tfjob, ReplicaType=Worker expected=4, running=0, failed=4" job=default.test-tfjob uid=
time="2018-11-08T20:09:35Z" level=info msg="TFJob=test-tfjob, ReplicaType=PS expected=2, running=2, failed=0" job=default.test-tfjob uid=
time="2018-11-08T20:09:35Z" level=info msg="TFJob=test-tfjob, ReplicaType=Chief expected=1, running=0, failed=1" job=default.test-tfjob uid=
time="2018-11-08T20:09:35Z" level=info msg="TFJob=test-tfjob, ReplicaType=Worker expected=4, running=0, failed=4" job=default.test-tfjob uid=
time="2018-11-08T20:09:35Z" level=info msg="TFJob=test-tfjob, ReplicaType=PS expected=2, running=2, failed=0" job=default.test-tfjob uid=
--- PASS: TestStatus (0.00s)
=== RUN   TestGenOwnerReference
--- PASS: TestGenOwnerReference (0.00s)
=== RUN   TestGenLabels
--- PASS: TestGenLabels (0.00s)
=== RUN   TestConvertTFJobToUnstructured
--- PASS: TestConvertTFJobToUnstructured (0.00s)
PASS
coverage: 43.9% of statements in github.com/kubeflow/tf-operator/pkg/apis/common/v1beta1, github.com/kubeflow/tf-operator/pkg/apis/tensorflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/apis/tensorflow/v1beta1, github.com/kubeflow/tf-operator/pkg/apis/tensorflow/validation, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/fake, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/scheme, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1alpha2/fake, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1beta1, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1beta1/fake, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/internalinterfaces, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/kubeflow, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/kubeflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/kubeflow/v1beta1, github.com/kubeflow/tf-operator/pkg/client/listers/kubeflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/client/listers/kubeflow/v1beta1, github.com/kubeflow/tf-operator/pkg/common/jobcontroller, github.com/kubeflow/tf-operator/pkg/common/util/testutil, github.com/kubeflow/tf-operator/pkg/common/util/unstructured, github.com/kubeflow/tf-operator/pkg/control, github.com/kubeflow/tf-operator/pkg/controller.v1beta1/tensorflow, github.com/kubeflow/tf-operator/pkg/controller.v2/jobcontroller, github.com/kubeflow/tf-operator/pkg/controller.v2/tensorflow, github.com/kubeflow/tf-operator/pkg/logger, github.com/kubeflow/tf-operator/pkg/util, github.com/kubeflow/tf-operator/pkg/util/k8sutil, github.com/kubeflow/tf-operator/pkg/util/signals, github.com/kubeflow/tf-operator/pkg/util/testutil, github.com/kubeflow/tf-operator/pkg/util/train, github.com/kubeflow/tf-operator/pkg/util/unstructured, github.com/kubeflow/tf-operator/pkg/version
ok  	github.com/kubeflow/tf-operator/pkg/controller.v2/tensorflow	3.492s	coverage: 43.9% of statements in github.com/kubeflow/tf-operator/pkg/apis/common/v1beta1, github.com/kubeflow/tf-operator/pkg/apis/tensorflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/apis/tensorflow/v1beta1, github.com/kubeflow/tf-operator/pkg/apis/tensorflow/validation, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/fake, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/scheme, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1alpha2/fake, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1beta1, github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/typed/kubeflow/v1beta1/fake, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/internalinterfaces, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/kubeflow, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/kubeflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/client/informers/externalversions/kubeflow/v1beta1, github.com/kubeflow/tf-operator/pkg/client/listers/kubeflow/v1alpha2, github.com/kubeflow/tf-operator/pkg/client/listers/kubeflow/v1beta1, github.com/kubeflow/tf-operator/pkg/common/jobcontroller, github.com/kubeflow/tf-operator/pkg/common/util/testutil, github.com/kubeflow/tf-operator/pkg/common/util/unstructured, github.com/kubeflow/tf-operator/pkg/control, github.com/kubeflow/tf-operator/pkg/controller.v1beta1/tensorflow, github.com/kubeflow/tf-operator/pkg/controller.v2/jobcontroller, github.com/kubeflow/tf-operator/pkg/controller.v2/tensorflow, github.com/kubeflow/tf-operator/pkg/logger, github.com/kubeflow/tf-operator/pkg/util, github.com/kubeflow/tf-operator/pkg/util/k8sutil, github.com/kubeflow/tf-operator/pkg/util/signals, github.com/kubeflow/tf-operator/pkg/util/testutil, github.com/kubeflow/tf-operator/pkg/util/train, github.com/kubeflow/tf-operator/pkg/util/unstructured, github.com/kubeflow/tf-operator/pkg/version
?   	github.com/kubeflow/tf-operator/pkg/logger	[no test files]
?   	github.com/kubeflow/tf-operator/pkg/util	[no test files]
?   	github.com/kubeflow/tf-operator/pkg/util/k8sutil	[no test files]
?   	github.com/kubeflow/tf-operator/pkg/util/signals	[no test files]
?   	github.com/kubeflow/tf-operator/pkg/util/testutil	[no test files]
?   	github.com/kubeflow/tf-operator/pkg/util/train	[no test files]
?   	github.com/kubeflow/tf-operator/pkg/util/unstructured	[no test files]
?   	github.com/kubeflow/tf-operator/pkg/version	[no test files]
ignoring pkg/apis/tensorflow/v1alpha2/openapi_generated.go
ignoring pkg/apis/tensorflow/v1alpha2/zz_generated.deepcopy.go
ignoring pkg/apis/tensorflow/v1alpha2/zz_generated.defaults.go
Job #2056.3
https://coveralls.io/jobs/42036295
travis_time:end:006b8d76:start=1541707706701820162,finish=1541707780278002647,duration=73576182485
TravisBuddy Request Identifier: 664d14c0-e395-11e8-8936-1328ec1a4b2b

@coveralls
Copy link

coveralls commented Nov 8, 2018

Coverage Status

Coverage increased (+3.7%) to 64.496% when pulling c74fbe0 on richardsliu:delete_v1alpha1 into b1ff7b0 on kubeflow:master.

@richardsliu
Copy link
Contributor Author

/retest

@richardsliu
Copy link
Contributor Author

/assign @johnugeorge

Copy link
Member

@gaocegege gaocegege left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm
/approve

@k8s-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: gaocegege

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot removed the lgtm label Nov 9, 2018
@k8s-ci-robot
Copy link

New changes are detected. LGTM label has been removed.

@richardsliu richardsliu merged commit 3a0efc1 into kubeflow:master Nov 9, 2018
@richardsliu richardsliu deleted the delete_v1alpha1 branch November 9, 2018 20:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants