Skip to content

Reorder checks in Walk to avoid panics#332

Merged
mrunalp merged 1 commit into
opencontainers:masterfrom
LK4D4:fix_panic_in_getpids
Oct 13, 2015
Merged

Reorder checks in Walk to avoid panics#332
mrunalp merged 1 commit into
opencontainers:masterfrom
LK4D4:fix_panic_in_getpids

Conversation

@LK4D4

@LK4D4 LK4D4 commented Oct 13, 2015

Copy link
Copy Markdown
Contributor

@tiborvass

Copy link
Copy Markdown
Contributor

This PR fixes the issues we were having with docker.

@LK4D4 LK4D4 force-pushed the fix_panic_in_getpids branch from ffe2c98 to 77cf4da Compare October 13, 2015 21:46
@mrunalp

mrunalp commented Oct 13, 2015

Copy link
Copy Markdown
Contributor

I am seeing some errors in other tests running locally

=== RUN TestEnter
--- FAIL: TestEnter (0.32s)
        exec_test.go:251: unexpected number of processes [] 395 401

@crosbymichael

Copy link
Copy Markdown
Member

Same error locally

@LK4D4

LK4D4 commented Oct 13, 2015

Copy link
Copy Markdown
Contributor Author

Yup, I see.

Also added test for host PID namespace

Signed-off-by: Alexander Morozov <lk4d4@docker.com>
@LK4D4 LK4D4 force-pushed the fix_panic_in_getpids branch from 77cf4da to 6c198ae Compare October 13, 2015 22:07
@LK4D4

LK4D4 commented Oct 13, 2015

Copy link
Copy Markdown
Contributor Author

@mrunalp @crosbymichael fixed

@mrunalp

mrunalp commented Oct 13, 2015

Copy link
Copy Markdown
Contributor

okay tests are passing for me now. @tiborvass @ibuildthecloud. Do you guys want to try the updated patch as well?

@ibuildthecloud

Copy link
Copy Markdown

I'll try tonight

@ibuildthecloud

Copy link
Copy Markdown

@imikushin can you test this too?

@tiborvass

Copy link
Copy Markdown
Contributor

@mrunalp this is basically blocking docker 1.9 so if someone could test/review/merge I would greatly appreciate it :)

@crosbymichael

Copy link
Copy Markdown
Member

LGTM

@mrunalp

mrunalp commented Oct 13, 2015

Copy link
Copy Markdown
Contributor

@tiborvass I am good with it from runc perspective ;) LGTM

mrunalp pushed a commit that referenced this pull request Oct 13, 2015
Reorder checks in Walk to avoid panics
@mrunalp mrunalp merged commit 872c4ac into opencontainers:master Oct 13, 2015
@LK4D4 LK4D4 deleted the fix_panic_in_getpids branch October 13, 2015 22:34
@crosbymichael

Copy link
Copy Markdown
Member

@tiborvass what is this docker u speak of?

@mrunalp

mrunalp commented Oct 13, 2015

Copy link
Copy Markdown
Contributor

Heh 😆

@icecrime

Copy link
Copy Markdown

@crosbymichael

@ibuildthecloud

Copy link
Copy Markdown

We applied this to docker 1.8 and it worked. Docker 1.9 blows up for us for different reasons, but this patch seems good.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants