mesos-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Qian Zhang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MESOS-8305) DefaultExecutorTest.ROOT_MultiTaskgroupSharePidNamespace is flaky.
Date Mon, 22 Jan 2018 08:35:02 GMT

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

Qian Zhang commented on MESOS-8305:
-----------------------------------

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)

Mime
View raw message