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

running exec setns process for init caused \"exit status 26\" #1281

Closed
teddyking opened this issue Jan 18, 2017 · 1 comment
Closed

running exec setns process for init caused \"exit status 26\" #1281

teddyking opened this issue Jan 18, 2017 · 1 comment

Comments

@teddyking
Copy link
Contributor

We're seeing the following error on a semi-regular basis when running runc creates in our (CF Garden) test suite:

container_linux.go:247: starting container process caused "process_linux.go:272: running exec setns process for init caused \"exit status 26\""

The issue can be reproduced by repeatedly running the tty bats tests.
For example, we've been using the following bash script run from the root of the runc repo:

#!/bin/bash

set -e -x

for (( ; ; ))
do
    make integration TESTFLAGS="/tty.bats"
done

After ~10 or so runs the failure has usually occurred (note that we also saw the failure when repeatedly running the create bats tests, but it seems to occur much more frequently on the tty bats).

We saw from this comment that this means we are reaching the 26th bail in nsexec.c?
We ran the gcc -E nsexec.c -o nsexec.i mentioned in this comment and think this means we are actually hitting the unexpected sync value bail found here.

Has anyone else noticed this? And would you be able to provide some help for debugging the root issue here?

Thanks,
Ed & Petar

@hqhq
Copy link
Contributor

hqhq commented Jan 20, 2017

Yes, #1237 is gonna fix it.

georgethebeatle pushed a commit to cloudfoundry-attic/runc that referenced this issue Jan 23, 2017
georgethebeatle pushed a commit to cloudfoundry-attic/runc that referenced this issue Jan 23, 2017
stevenh pushed a commit to stevenh/runc that referenced this issue Feb 1, 2017
stevenh pushed a commit to stevenh/runc that referenced this issue Feb 1, 2017
stevenh pushed a commit to stevenh/runc that referenced this issue Feb 3, 2017
karampok pushed a commit to cloudfoundry-attic/runc that referenced this issue Feb 3, 2017
stevenh pushed a commit to stevenh/runc that referenced this issue Feb 6, 2017
georgethebeatle pushed a commit to cloudfoundry-attic/runc that referenced this issue Feb 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants