You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Zhitao Li (JIRA)" <ji...@apache.org> on 2016/03/15 06:55:33 UTC

[jira] [Created] (MESOS-4946) ProvisionerDockerRegistryPullerTest.ROOT_INTERNET_CURL_ShellCommand flaky on Debian 8

Zhitao Li created MESOS-4946:
--------------------------------

             Summary: ProvisionerDockerRegistryPullerTest.ROOT_INTERNET_CURL_ShellCommand flaky on Debian 8
                 Key: MESOS-4946
                 URL: https://issues.apache.org/jira/browse/MESOS-4946
             Project: Mesos
          Issue Type: Bug
          Components: containerization, test
         Environment: Debian 8 (VM)
Kernel version: 3.18.27
            Reporter: Zhitao Li


While testing 0.28.1-rc2, this test fails when running as root on my debian 8 EC2 instance.

Verbose log:

https://gist.github.com/zhitaoli/95436f4ea2df13c4b137

It seems like the second call to {{os::su()}} in {{src/launcher/executor.cpp}} failed:
{quote}
        if (user.isSome()) {
          Try<Nothing> su = os::su(user.get());
          if (su.isError()) {
            cerr << "Failed to change user to '" << user.get() << "': "
                 << su.error() << endl;
            abort();
          }
        }
{quote}

Additional debug logging suggests that {{getpwnam_r(3)}} failed with errno {{ENOENT}} in {{os::getgid}}. Not sure what could the cause.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)