You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Qian Zhang (JIRA)" <ji...@apache.org> on 2018/01/22 08:36:00 UTC

[jira] [Comment Edited] (MESOS-8305) DefaultExecutorTest.ROOT_MultiTaskgroupSharePidNamespace is flaky.

    [ https://issues.apache.org/jira/browse/MESOS-8305?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16334022#comment-16334022 ] 

Qian Zhang edited comment on MESOS-8305 at 1/22/18 8:35 AM:
------------------------------------------------------------

I reproduced this issue once in my own env by running this test repeatedly, and when it happened, I checked the sandbox of the two tasks, and found both of the two tasks have already successfully written the pid namespace to a file in the sandbox, i.e., {{pidNamespace2.get()}} is actually not empty, instead it has a value which is same with {{pidNamespace1.get()}}. I think this proves the point in my previous comment: the test tries to read the file in the task's sandbox after that file is created but before it is written.


was (Author: qianzhang):
I reproduced this issue once in my own env by running this test repeatedly, and when it happened, I checked the sandbox of the two tasks, and found both of the two tasks have already successfully write the pid namespace to a file in the sandbox, i.e., {{pidNamespace2.get()}} is actually not empty, instead it has a value which is same with {{pidNamespace1.get()}}. I think this proves the point in my previous comment: the test tries to read the file in the task's sandbox after that file is created but before it is written.

> DefaultExecutorTest.ROOT_MultiTaskgroupSharePidNamespace is flaky.
> ------------------------------------------------------------------
>
>                 Key: MESOS-8305
>                 URL: https://issues.apache.org/jira/browse/MESOS-8305
>             Project: Mesos
>          Issue Type: Bug
>         Environment: Ubuntu 16.04
> Fedora 23
>            Reporter: Alexander Rukletsov
>            Assignee: Qian Zhang
>            Priority: Major
>              Labels: flaky-test
>         Attachments: ROOT_MultiTaskgroupSharePidNamespace-badrun.txt
>
>
> On Ubuntu 16.04:
> {noformat}
> ../../src/tests/default_executor_tests.cpp:1877
>       Expected: strings::trim(pidNamespace1.get())
>       Which is: "4026532250"
> To be equal to: strings::trim(pidNamespace2.get())
>       Which is: ""
> {noformat}
> Full log attached.
> On Fedora 23:
> {noformat}
> ../../src/tests/default_executor_tests.cpp:1878
>       Expected: strings::trim(pidNamespace1.get())
>       Which is: "4026532233"
> To be equal to: strings::trim(pidNamespace2.get())
>       Which is: ""
> {noformat}
> The test became flaky shortly after MESOS-7306 has been committed and likely related to it.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)