Skip to content

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

@teddyking

Description

@teddyking

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions