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

[jira] [Assigned] (MESOS-8502) The test `DefaultExecutorTest.KillTaskGroupOnTaskFailure` is flaky

     [ https://issues.apache.org/jira/browse/MESOS-8502?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vinod Kone reassigned MESOS-8502:
---------------------------------

        Shepherd: Gastón Kleiman
        Assignee: Qian Zhang
          Sprint: Mesosphere Sprint 74
    Story Points: 3
     Environment: CI
          Labels: flaky-test  (was: )

> The test `DefaultExecutorTest.KillTaskGroupOnTaskFailure` is flaky
> ------------------------------------------------------------------
>
>                 Key: MESOS-8502
>                 URL: https://issues.apache.org/jira/browse/MESOS-8502
>             Project: Mesos
>          Issue Type: Bug
>          Components: test
>         Environment: CI
>            Reporter: Qian Zhang
>            Assignee: Qian Zhang
>            Priority: Major
>              Labels: flaky-test
>         Attachments: KillTaskGroupOnTaskFailure-badrun.txt
>
>
> {code:java}
> ../../src/tests/default_executor_tests.cpp:718: Failure
> Actual function call count doesn't match EXPECT_CALL(*scheduler, update(_, AllOf( TaskStatusUpdateTaskIdEq(taskInfo1), TaskStatusUpdateStateEq(v1::TASK_RUNNING))))...
> Expected: to be called once
> Actual: never called - unsatisfied and active
> ../../src/tests/default_executor_tests.cpp:729: Failure
> Actual function call count doesn't match EXPECT_CALL(*scheduler, update(_, AllOf( TaskStatusUpdateTaskIdEq(taskInfo1), TaskStatusUpdateStateEq(v1::TASK_FAILED))))...
> Expected: to be called once
> Actual: never called - unsatisfied and active
> {code}
> From the detailed log in the attachment, it seems the root cause is that agent did not get a chance to forward TASK_RUNNING to master for the first task because it failed immediately.



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