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

Andrei Budnik commented on MESOS-8618:
--------------------------------------

This issue has been introduced with [https://reviews.apache.org/r/64098/] patch.
The master [sends a task status 
update|https://github.com/apache/mesos/blob/fabf2edc83eae6b32048e22edc18fe4d8738dbe1/src/master/master.cpp#L7095-L7120]
 on [agent's 
re-registration|https://github.com/apache/mesos/blob/fabf2edc83eae6b32048e22edc18fe4d8738dbe1/src/tests/reconciliation_tests.cpp#L1113-L1116]
 after starting a new master. Hence, `ReconcileStatusUpdateTaskState` [might 
detect|https://github.com/apache/mesos/blob/fabf2edc83eae6b32048e22edc18fe4d8738dbe1/src/tests/reconciliation_tests.cpp#L1118-L1122]
 the latest task status update, which is `TASK_FINISHED`.
Perhaps, there are more flaky tests caused by the same issue.

cc [~megha.sharma] [~xujyan] [~ipronin]

> ReconciliationTest.ReconcileStatusUpdateTaskState is flaky.
> -----------------------------------------------------------
>
>                 Key: MESOS-8618
>                 URL: https://issues.apache.org/jira/browse/MESOS-8618
>             Project: Mesos
>          Issue Type: Bug
>          Components: test
>         Environment: ec Debian 9 with SSL
>            Reporter: Alexander Rukletsov
>            Priority: Major
>              Labels: flaky-test
>         Attachments: 
> ReconciliationTest.ReconcileStatusUpdateTaskState-badrun.txt
>
>
> {noformat}
> ../../src/tests/reconciliation_tests.cpp:1129
>       Expected: TASK_RUNNING
> To be equal to: update->state()
>       Which is: TASK_FINISHED
> {noformat}
> Full log attached.



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

Reply via email to