Skip to content

Flake cover: internal error: block 264 overlaps block 266 #10326

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

Closed
soltysh opened this issue Aug 10, 2016 · 7 comments
Closed

Flake cover: internal error: block 264 overlaps block 266 #10326

soltysh opened this issue Aug 10, 2016 · 7 comments
Assignees
Labels
component/kubernetes kind/test-flake Categorizes issue or PR as related to test flakes. priority/P2

Comments

@soltysh
Copy link
Contributor

soltysh commented Aug 10, 2016

This was noticed in #10293, full log is here: https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin_check/4739/consoleFull

In suite "github.com/openshift/origin/vendor/k8s.io/kubernetes/pkg/util/dbus", test case "TestRealDBus" was skipped:
=== RUN   TestRealDBus
--- SKIP: TestRealDBus (0.00s)
    dbus_test.go:73: D-Bus session bus is not available: exec: "dbus-launch": executable file not found in $PATH
@soltysh soltysh added the kind/test-flake Categorizes issue or PR as related to test flakes. label Aug 10, 2016
@liggitt
Copy link
Contributor

liggitt commented Aug 10, 2016

I don't think the skip error is the one that failed:

[WARNING] While the jUnit report found no failed tests, the `go test` process failed.
[WARNING] This usually means that the unit test suite failed to compile.
[WARNING] `go test` had the following output to stderr:
# cover github.com/openshift/origin/vendor/k8s.io/kubernetes/pkg/client/restclient
cover: internal error: block 264 overlaps block 266
    /data/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/vendor/k8s.io/kubernetes/pkg/client/restclient/request.go:#27640,#27764 /data/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/vendor/k8s.io/kubernetes/pkg/client/restclient/request.go:#27685,#27704
[INFO] Full output from `go test` logged at /tmp/openshift/test-go/logs/test-go.log

@soltysh
Copy link
Contributor Author

soltysh commented Aug 10, 2016

OMG, I'm getting old 😊

@soltysh soltysh changed the title Flake dbus-launch found in $PATH Flake cover: internal error: block 264 overlaps block 266 Aug 10, 2016
@ncdc ncdc assigned sjenning and unassigned ncdc Aug 10, 2016
@sjenning
Copy link
Contributor

I hit this flake as well in #10305 here

Golang upstream bug golang/go#16540

@sjenning
Copy link
Contributor

sjenning commented Aug 10, 2016

This is the problematic line
https://github.com/openshift/origin/blob/master/vendor/k8s.io/kubernetes/pkg/client/restclient/request.go#L898

Involves a go tool cover bug regarding function literals in switch case statements.

@ncdc
Copy link
Contributor

ncdc commented Aug 10, 2016

This actually isn't a problem as it doesn't cause the test to return nonzero. Reopen if you find otherwise.

@ncdc ncdc closed this as completed Aug 10, 2016
@ncdc
Copy link
Contributor

ncdc commented Aug 10, 2016

Jenkins job 4739 actually failed because of this (from test-go.log):

--- PASS: TestDelete (0.56s)
PASS
coverage: 72.7% of statements
ok      github.com/openshift/origin/vendor/k8s.io/kubernetes/pkg/registry/event/etcd    2.844s  coverage: 72.7% of statements
chdir /data/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/vendor/k8s.io/kubernetes/pkg/registry/experimental/controller/etcd: no such file or directory
FAIL    github.com/openshift/origin/vendor/k8s.io/kubernetes/pkg/registry/experimental/controller/etcd  0.000s

cc @stevekuznetsov

@stevekuznetsov
Copy link
Contributor

stevekuznetsov commented Aug 10, 2016

@ncdc the error you linked is in fact a manifestation of #9457, unless the files were really missing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/kubernetes kind/test-flake Categorizes issue or PR as related to test flakes. priority/P2
Projects
None yet
Development

No branches or pull requests

6 participants