{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/31691","repository_url":"https://api.github.com/repos/kubernetes/kubernetes","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/31691/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/31691/comments","events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/31691/events","html_url":"https://github.com/kubernetes/kubernetes/issues/31691","id":173970920,"number":31691,"title":"\"KUBE_COVER=y make check\" fails","user":{"login":"asalkeld","id":420707,"avatar_url":"https://avatars.githubusercontent.com/u/420707?v=3","gravatar_id":"","url":"https://api.github.com/users/asalkeld","html_url":"https://github.com/asalkeld","followers_url":"https://api.github.com/users/asalkeld/followers","following_url":"https://api.github.com/users/asalkeld/following{/other_user}","gists_url":"https://api.github.com/users/asalkeld/gists{/gist_id}","starred_url":"https://api.github.com/users/asalkeld/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asalkeld/subscriptions","organizations_url":"https://api.github.com/users/asalkeld/orgs","repos_url":"https://api.github.com/users/asalkeld/repos","events_url":"https://api.github.com/users/asalkeld/events{/privacy}","received_events_url":"https://api.github.com/users/asalkeld/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/component/apiserver","name":"component/apiserver","color":"0052cc"},{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/team/CSI-API%20Machinery%20SIG","name":"team/CSI-API Machinery SIG","color":"d2b48c"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-30T09:26:20Z","updated_at":"2016-09-04T22:23:39Z","closed_at":null,"body":"**Is this a request for help?**\r\nNo\r\n\r\n**What keywords did you search in Kubernetes issues before filing this one?** \r\nKUBE_COVER\r\n\r\n**Is this a BUG REPORT or FEATURE REQUEST?**:\r\nBug report\r\n\r\n**Kubernetes version** (use `kubectl version`):\r\nClient Version: version.Info{Major:\"1\", Minor:\"4+\", GitVersion:\"v1.4.0-alpha.2.1926+956501b1f09237-dirty\", GitCommit:\"956501b1f0923786c404c062d8ba001a10b3a784\", GitTreeState:\"dirty\", BuildDate:\"2016-08-30T02:14:22Z\", GoVersion:\"go1.6.2\", Compiler:\"gc\", Platform:\"linux/amd64\"}\r\n\r\nmaster at 30 August 2016\r\n\r\n**Environment**:\r\n- Ubuntu 16.04\r\n\r\n**What happened**:\r\nNote: just showing failures, not passes.\r\n```\r\n$ KUBE_COVER=y make check\r\n...\r\n+++ [0830 17:15:05] Building go targets for linux/amd64:\r\n\tcmd/libs/go2idl/conversion-gen\r\nE0830 17:15:08.878493   17154 conversion.go:589] Warning: could not generate autoConvert functions for k8s.io/kubernetes/pkg/apis/apps/v1alpha1.PetSetSpec <-> k8s.io/kubernetes/pkg/apis/apps.PetSetSpec\r\nE0830 17:15:08.904578   17154 conversion.go:589] Warning: could not generate autoConvert functions for k8s.io/kubernetes/pkg/apis/extensions/v1beta1.HorizontalPodAutoscalerSpec <-> k8s.io/kubernetes/pkg/apis/autoscaling.HorizontalPodAutoscalerSpec\r\nE0830 17:15:08.911983   17154 conversion.go:589] Warning: could not generate autoConvert functions for k8s.io/kubernetes/pkg/apis/extensions/v1beta1.JobSpec <-> k8s.io/kubernetes/pkg/apis/batch.JobSpec\r\nE0830 17:15:08.924136   17154 conversion.go:589] Warning: could not generate autoConvert functions for k8s.io/kubernetes/pkg/apis/extensions/v1beta1.RollingUpdateDeployment <-> k8s.io/kubernetes/pkg/apis/extensions.RollingUpdateDeployment\r\nE0830 17:15:08.926271   17154 conversion.go:589] Warning: could not generate autoConvert functions for k8s.io/kubernetes/pkg/apis/extensions/v1beta1.ScaleStatus <-> k8s.io/kubernetes/pkg/apis/extensions.ScaleStatus\r\n...\r\nok  \tk8s.io/kubernetes/pkg/client/transport\t0.035s\tcoverage: 51.7% of statements\r\n# cover k8s.io/kubernetes/pkg/client/restclient\r\ncover: internal error: block 268 overlaps block 270\r\n\t/home/angus/work/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/pkg/client/restclient/request.go:#27803,#27927 /home/angus/work/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/pkg/client/restclient/request.go:#27848,#27867\r\nok  \tk8s.io/kubernetes/pkg/client/restclient\t0.051s\tcoverage: 69.5% of statements\r\n...\r\nok  \tk8s.io/kubernetes/pkg/registry/secret\t0.122s\tcoverage: 30.8% of statements\r\n--- FAIL: TestServiceRegistryExternalTrafficAnnotationHealthCheckNodePortUserAllocation (0.00s)\r\n\trest_test.go:1012: Unexpected failure creating service Internal error occurred: Failed to allocate requested HealthCheck nodePort 30200: provided port is already allocated\r\npanic: interface conversion: runtime.Object is nil, not *api.Service [recovered]\r\n\tpanic: interface conversion: runtime.Object is nil, not *api.Service\r\n\r\ngoroutine 105 [running]:\r\npanic(0x19c3ac0, 0xc820014ec0)\r\n\t/usr/lib/go-1.6/src/runtime/panic.go:481 +0x3e6\r\ntesting.tRunner.func1(0xc82008ae10)\r\n\t/usr/lib/go-1.6/src/testing/testing.go:467 +0x192\r\npanic(0x19c3ac0, 0xc820014ec0)\r\n\t/usr/lib/go-1.6/src/runtime/panic.go:443 +0x4e9\r\nk8s.io/kubernetes/pkg/registry/service.TestServiceRegistryExternalTrafficAnnotationHealthCheckNodePortUserAllocation(0xc82008ae10)\r\n\t/home/angus/work/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/pkg/registry/service/rest_test.go:1014 +0x87d\r\ntesting.tRunner(0xc82008ae10, 0x272d928)\r\n\t/usr/lib/go-1.6/src/testing/testing.go:473 +0x98\r\ncreated by testing.RunTests\r\n\t/usr/lib/go-1.6/src/testing/testing.go:582 +0x892\r\nFAIL\tk8s.io/kubernetes/pkg/registry/service\t0.071s\r\nok  \tk8s.io/kubernetes/pkg/registry/service/allocator\t0.002s\tcoverage: 93.3% of statements\r\n...\r\nok  \tk8s.io/kubernetes/vendor/k8s.io/client-go/1.4/discovery\t0.021s\tcoverage: 52.0% of statements\r\n# cover k8s.io/kubernetes/vendor/k8s.io/client-go/1.4/rest\r\ncover: internal error: block 264 overlaps block 266\r\n\t/home/angus/work/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/client-go/1.4/rest/request.go:#27655,#27779 /home/angus/work/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/client-go/1.4/rest/request.go:#27700,#27719\r\nok  \tk8s.io/kubernetes/vendor/k8s.io/client-go/1.4/dynamic\t0.041s\tcoverage: 53.2% of statements\r\n..\r\nok  \tk8s.io/kubernetes/vendor/k8s.io/client-go/1.4/tools/record\t0.048s\tcoverage: 88.5% of statements\r\n+++ [0830 18:35:03] Combined coverage report: /tmp/k8s_coverage/v1,apps/v1alpha1,authentication.k8s.io/v1beta1,authorization.k8s.io/v1beta1,autoscaling/v1,batch/v1,batch/v2alpha1,certificates/v1alpha1,extensions/v1beta1,federation/v1beta1,policy/v1alpha1,rbac.authorization.k8s.io/v1alpha1,imagepolicy.k8s.io/v1alpha1/20160830-171509/combined-coverage.html\r\nMakefile:118: recipe for target 'check' failed\r\nmake: *** [check] Error 1\r\n```\r\n\r\n**What you expected to happen**:\r\nNo errors (note `make check` passed).\r\n\r\n**How to reproduce it** (as minimally and precisely as possible):\r\n$ KUBE_COVER=y make check\r\n\r\n**Anything else do we need to know**:\r\nI am on Ubuntu 10.04\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/comments/244632135","html_url":"https://github.com/kubernetes/kubernetes/issues/31691#issuecomment-244632135","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/31691","id":244632135,"user":{"login":"asalkeld","id":420707,"avatar_url":"https://avatars.githubusercontent.com/u/420707?v=3","gravatar_id":"","url":"https://api.github.com/users/asalkeld","html_url":"https://github.com/asalkeld","followers_url":"https://api.github.com/users/asalkeld/followers","following_url":"https://api.github.com/users/asalkeld/following{/other_user}","gists_url":"https://api.github.com/users/asalkeld/gists{/gist_id}","starred_url":"https://api.github.com/users/asalkeld/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asalkeld/subscriptions","organizations_url":"https://api.github.com/users/asalkeld/orgs","repos_url":"https://api.github.com/users/asalkeld/repos","events_url":"https://api.github.com/users/asalkeld/events{/privacy}","received_events_url":"https://api.github.com/users/asalkeld/received_events","type":"User","site_admin":false},"created_at":"2016-09-04T22:23:39Z","updated_at":"2016-09-04T22:23:39Z","body":"@lavalamp the failure in TestServiceRegistryExternalTrafficAnnotationHealthCheckNodePortUserAllocation seemed to have been a once off. (maybe I ctrl-c and re-ran too fast)\r\n\r\nThe errors I was trying to avoid in the PR are to do with errors like this:\r\ncover: internal error: block 264 overlaps block 266\r\n\r\nsee openshift bug: openshift/origin#16540\r\ngo bug: golang/go#16540\r\n"}}
{"actor":{"display_login":"asalkeld"}}