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)