Comments (11)
Thanks. I don't think -race is required to reproduce the issue. The race instrumentation might slow the runtime down just enough for this to reproduce more easier.
I had better luck reproducing with stress
and a higher number of parallel processes:
go test -c ./staging/src/k8s.io/client-go/util/workqueue/...
go run golang.org/x/tools/cmd/stress@latest -p 1024 -failure unexpected ./workqueue.test -test.v -test.run ^TestAddTwoFireEarly$
/assign tatsuhiro-t
from kubernetes.
Yeah, I used -race to save the number of runs and time.
from kubernetes.
/sig api-machinery
from kubernetes.
Is that reproducible for you with x/tools/stress?
$ go test -c -race ./staging/src/k8s.io/client-go/util/workqueue/...
$ go run golang.org/x/tools/cmd/stress@latest -p 256 ./workqueue.test -test.v -test.run ^TestAddTwoFireEarly$
Edit: I got it after a couple thousand runs
5s: 512 runs so far, 0 failures
10s: 1152 runs so far, 0 failures
15s: 1789 runs so far, 0 failures
20s: 2424 runs so far, 0 failures
/tmp/go-stress-20240619T095442-4267781378
=== RUN TestAddTwoFireEarly
delaying_queue_test.go:160: unexpected err: timed out waiting for the condition
--- FAIL: TestAddTwoFireEarly (10.00s)
FAIL
ERROR: exit status 1
25s: 3063 runs so far, 1 failures (0.03%)
from kubernetes.
/triage accepted
from kubernetes.
@tatsuhiro-t Your fix makes sense, are you planning on sending a PR? Thanks.
from kubernetes.
/assign
from kubernetes.
Just preassigning, if you want to work on it let me know.
from kubernetes.
/kind flake
from kubernetes.
/remove-kind bug
from kubernetes.
Yes, let me work on this issue.
I have not tried x/tools/stress. Lots of trials are needed to reproduce it.
from kubernetes.
Related Issues (20)
- PodDeletionCost occasionally doesn't work HOT 9
- [Failing Test] CSI Volumes .. should preempt lower priority pods using ReadWriteOncePod volumes fails when Beta Feature gates are enabled HOT 3
- Why doesn't the device plugin pass the containerID parameter HOT 13
- flaky test: VolumeAttributesClass e2e HOT 2
- [Failing Test] Test DefaultProcMount - `will mask proc mounts by default` is failing HOT 3
- CVE-2024-5321: Incorrect permissions on Windows containers logs HOT 1
- Intermittent error on new Nodes: "Unable to locate credentials" HOT 4
- Error during pulling of v.1.30.3 images HOT 20
- ec2-eks jobs are failing to create the cluster successfully HOT 6
- API Server fails validation for CRDs embedding resources with optional fields without omitempty when there is webhook HOT 2
- [failing-test] ProcMount Specific SecurityContext set fails HOT 2
- kubelet may provide a warning event or log when pod mount a wrong subpath from configmap HOT 4
- Taint Tolerance Tied to Pod Disruption Budget Availability HOT 3
- [Flaking Test] [sig-node] [NodeFeature:NodeProblemDetector] should run without error HOT 3
- [FG:InPlacePodVerticalScaling] Minimum CPU request is displayed when only memory request is configured HOT 2
- integration tests are painfully slow HOT 23
- WatchList failed when Accept content-type is Table HOT 5
- Need assistance troubleshooting CoreDNS stuck in "ContainerCreating" state HOT 7
- CVE-2024-5037 and CVE-2023-44487 not listed in the official feed? HOT 6
- Add repobeats to the readme HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kubernetes.