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

TestSchedulerWithVolumeBinding race condition detected #20295

Closed
ramr opened this issue Jul 11, 2018 · 11 comments
Closed

TestSchedulerWithVolumeBinding race condition detected #20295

ramr opened this issue Jul 11, 2018 · 11 comments
Assignees
Labels
kind/test-flake Categorizes issue or PR as related to test flakes. lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. sig/master

Comments

@ramr
Copy link
Contributor

ramr commented Jul 11, 2018

TestSchedulerWithVolumeBinding fails with race detected during execution of test.

Version

3.11

Current Result

Failure - see additional information.

Expected Result

Success

Additional Information

github.com/openshift/origin/vendor/k8s.io/kubernetes/pkg/scheduler TestSchedulerWithVolumeBinding 18s

go run hack/e2e.go -v -test --test_args='--ginkgo.focus=github.com/openshift/origin/vendor/k8s.io/kubernetes/pkg/scheduler\sTestSchedulerWithVolumeBinding$'

testing.go:699: race detected during execution of test

==================
WARNING: DATA RACE
Write at 0x0000024c8500 by goroutine 20:
github.com/openshift/origin/vendor/k8s.io/kubernetes/pkg/scheduler.TestSchedulerWithVolumeBinding()
/go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/vendor/k8s.io/kubernetes/pkg/scheduler/algorithm/predicates/predicates.go:161 +0xb9
testing.tRunner()
/usr/local/go/src/testing/testing.go:746 +0x16c

Previous read at 0x0000024c8500 by goroutine 26:
github.com/openshift/origin/vendor/k8s.io/kubernetes/pkg/scheduler/core.podFitsOnNode()
/go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/vendor/k8s.io/kubernetes/pkg/scheduler/core/generic_scheduler.go:471 +0x51c
github.com/openshift/origin/vendor/k8s.io/kubernetes/pkg/scheduler/core.findNodesThatFit.func1()
/go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/vendor/k8s.io/kubernetes/pkg/scheduler/core/generic_scheduler.go:324 +0x289
github.com/openshift/origin/vendor/k8s.io/client-go/util/workqueue.Parallelize.func1()
/go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/vendor/k8s.io/client-go/util/workqueue/parallelizer.go:47 +0xad

Goroutine 20 (running) created at:
testing.(*T).Run()
/usr/local/go/src/testing/testing.go:789 +0x568
testing.runTests.func1()
/usr/local/go/src/testing/testing.go:1004 +0xa7
testing.tRunner()
/usr/local/go/src/testing/testing.go:746 +0x16c
testing.runTests()
/usr/local/go/src/testing/testing.go:1002 +0x521
testing.(*M).Run()
/usr/local/go/src/testing/testing.go:921 +0x206
main.main()
github.com/openshift/origin/vendor/k8s.io/kubernetes/pkg/scheduler/_test/_testmain.go:102 +0x2f0

Goroutine 26 (finished) created at:
github.com/openshift/origin/vendor/k8s.io/client-go/util/workqueue.Parallelize()
/go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/vendor/k8s.io/client-go/util/workqueue/parallelizer.go:43 +0x13c
github.com/openshift/origin/vendor/k8s.io/kubernetes/pkg/scheduler/core.findNodesThatFit()
/go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/vendor/k8s.io/kubernetes/pkg/scheduler/core/generic_scheduler.go:348 +0xe94
github.com/openshift/origin/vendor/k8s.io/kubernetes/pkg/scheduler/core.(*genericScheduler).Schedule()
/go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/vendor/k8s.io/kubernetes/pkg/scheduler/core/generic_scheduler.go:136 +0x4c4
github.com/openshift/origin/vendor/k8s.io/kubernetes/pkg/scheduler.(*Scheduler).schedule()
github.com/openshift/origin/vendor/k8s.io/kubernetes/pkg/scheduler/_test/_obj_test/scheduler.go:152 +0xeb
github.com/openshift/origin/vendor/k8s.io/kubernetes/pkg/scheduler.(*Scheduler).scheduleOne()
github.com/openshift/origin/vendor/k8s.io/kubernetes/pkg/scheduler/_test/_obj_test/scheduler.go:419 +0x632
github.com/openshift/origin/vendor/k8s.io/kubernetes/pkg/scheduler.(*Scheduler).(github.com/openshift/origin/vendor/k8s.io/kubernetes/pkg/scheduler.scheduleOne)-fm()
github.com/openshift/origin/vendor/k8s.io/kubernetes/pkg/scheduler/_test/_obj_test/scheduler.go:142 +0x41
github.com/openshift/origin/vendor/k8s.io/apimachinery/pkg/util/wait.JitterUntil.func1()
/go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:133 +0x6f
github.com/openshift/origin/vendor/k8s.io/apimachinery/pkg/util/wait.JitterUntil()
/go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:134 +0xcd
github.com/openshift/origin/vendor/k8s.io/apimachinery/pkg/util/wait.Until()
/go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:88 +0x5a

See build logs : https://openshift-gce-devel.appspot.com/build/origin-ci-test/pr-logs/pull/19891/test_pull_request_origin_unit/13586/ for more details.

@ramr ramr added the kind/test-flake Categorizes issue or PR as related to test flakes. label Jul 11, 2018
@jwforres
Copy link
Member

@openshift/sig-pod

@openshift-bot
Copy link
Contributor

Issues go stale after 90d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle stale

@openshift-ci-robot openshift-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Nov 14, 2018
@openshift-bot
Copy link
Contributor

Stale issues rot after 30d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.
Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle rotten
/remove-lifecycle stale

@openshift-ci-robot openshift-ci-robot added lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels Dec 14, 2018
@openshift-bot
Copy link
Contributor

Rotten issues close after 30d of inactivity.

Reopen the issue by commenting /reopen.
Mark the issue as fresh by commenting /remove-lifecycle rotten.
Exclude this issue from closing again by commenting /lifecycle frozen.

/close

@openshift-ci-robot
Copy link

@openshift-bot: Closing this issue.

In response to this:

Rotten issues close after 30d of inactivity.

Reopen the issue by commenting /reopen.
Mark the issue as fresh by commenting /remove-lifecycle rotten.
Exclude this issue from closing again by commenting /lifecycle frozen.

/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@sjenning
Copy link
Contributor

sjenning commented Jun 17, 2019

@sjenning sjenning reopened this Jun 17, 2019
@sjenning
Copy link
Contributor

/remove-lifecycle rotten

@openshift-ci-robot openshift-ci-robot removed the lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. label Jun 17, 2019
@openshift-bot
Copy link
Contributor

Issues go stale after 90d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle stale

@openshift-ci-robot openshift-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Sep 15, 2019
@openshift-bot
Copy link
Contributor

Stale issues rot after 30d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.
Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle rotten
/remove-lifecycle stale

@openshift-ci-robot openshift-ci-robot added lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels Oct 15, 2019
@openshift-bot
Copy link
Contributor

Rotten issues close after 30d of inactivity.

Reopen the issue by commenting /reopen.
Mark the issue as fresh by commenting /remove-lifecycle rotten.
Exclude this issue from closing again by commenting /lifecycle frozen.

/close

@openshift-ci-robot
Copy link

@openshift-bot: Closing this issue.

In response to this:

Rotten issues close after 30d of inactivity.

Reopen the issue by commenting /reopen.
Mark the issue as fresh by commenting /remove-lifecycle rotten.
Exclude this issue from closing again by commenting /lifecycle frozen.

/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/test-flake Categorizes issue or PR as related to test flakes. lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. sig/master
Projects
None yet
Development

No branches or pull requests

6 participants