Repository navigation
Conversation
748311c to
3caae2b
Compare
|
@danmcp In case you're still chasing it. |
|
@danmcp another infrastructure one I've not seen before: |
72a327f to
a2ce66a
Compare
|
This https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin/8235/artifact/origin/artifacts/e2e/logs/container-origin.log indicates that sometimes we recover (pop the value of the channel for the request) in 10 seconds and sometimes we don't. However, when we recover, it happens all at once. |
|
@danmcp Not all logs are showing up in the jenkin's artifact view. When e2e runs, it creates a container called "origin". The log collection should be gathering it like this: https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin/8292/artifact/origin/artifacts/e2e/logs/ . Instead, I have a lot of runs where it is missing like this: https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin/8305/artifact/origin/artifacts/e2e/logs/ . Where can I find the settings that do the artifact collection? I'll add debugging to the container log dumping script too, but I know we've had trouble with collection in general. |
|
When things go badly, we slow down in this branch of this method. I've added tracing to try to tighten the ranges. Its not |
|
We're stuck somewhere in these lines: https://github.com/openshift/origin/blob/master/Godeps/_workspace/src/github.com/coreos/etcd/etcdserver/raft.go#L158-L171 because server.go isn't writing to the channel and gets blocks writing to done |
|
It's this method call here: https://github.com/openshift/origin/blob/master/Godeps/_workspace/src/github.com/coreos/etcd/wal/wal.go#L385-L395 called from here https://github.com/openshift/origin/blob/master/Godeps/_workspace/src/github.com/coreos/etcd/wal/wal.go#L505 as pulled from this log here: https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin/8346/artifact/origin/artifacts/e2e/logs/container-origin.log |
|
@danmcp this comment is a lie: the job it lists actually failed (because i was updating the vagrant plugin) |
7a7dbab to
b5a075f
Compare
|
@deads2k ah, ok. |
|
Alright, we've gotten it narrowed down to this line: https://github.com/openshift/origin/blob/master/Godeps/_workspace/src/github.com/coreos/etcd/wal/wal.go#L392. Sometimes (in this run, once per 600 calls) it takes about 4000 times longer than normal. Instead of 9 milliseconds, it takes 35 seconds. There are other less severe "pauses" in the log on this line too. Based on other logging in the file, we're never writing more than 1 meg at a time, so that sort of pause is crazy. At this point, I'm stuck. I don't understand why the write characteristics would change so dramatically. @liggitt @danmcp @smarterclayton @vbatts I don't know what to do next. |
|
Kind of sounds like underlying filesystem iops starvation. @twiest can you Is a snapshot running? On Fri, Jan 8, 2016 at 1:47 PM, David Eads [email protected] wrote:
|
I don't think so. |
No, happens well separated from snapshots (I've seen it around etcd index 7500, for example) |
What we do is we use You can also double check that with |
@stevekuznetsov plan on this as a follow-up to the SAR stats. |
ec48317 to
60216cf
Compare
6ed929d to
8ac03ee
Compare
|
Testing an insane theory; this is the last one I've got. What if we're not assigned our entire local disk upon the ec2 image provision? What if sometimes the backing storage isn't ready and they silently increase our allocation? It would probably be invisible in most circumstances, but a sync would mean "wait for guarantee of persistence" that they respect and causes etcd to wait. This would explain why after cleaning up, we can't reproduce the problem. It would explain why it happens at about the same spot every time. It would explain why we hit this condition with very few iops. The only problem is that its a pretty crazy theory. I've added a |
|
@liggitt Tremendous improvement. No more problems in test-integration or test-cmd. Some problems in test-e2e, but all of it below the 5 second timeout threshold. Looks like I have my tomorrow work. @pweil- @danmcp If this works in the actual queue, I'm pretty sure this it's worth "immunity to all flakes for the next release" :) |
|
Evaluated for origin test up to bbd677b |
|
continuous-integration/openshift-jenkins/test ABORTED (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/135/) |
|
Origin Action Required: Pull request cannot be automatically merged, please rebase your branch from latest HEAD and push again |
|
BEST FLAKE EVER! |
|
I think this just happened again for me |
[test]