You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Alexander Rukletsov (JIRA)" <ji...@apache.org> on 2017/11/09 22:25:00 UTC
[jira] [Commented] (MESOS-7996)
ContentType/SchedulerTest.NoOffersWithAllRolesSuppressed is flaky.
[ https://issues.apache.org/jira/browse/MESOS-7996?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16246671#comment-16246671 ]
Alexander Rukletsov commented on MESOS-7996:
--------------------------------------------
The root cause is MESOS-8200. The test in its current form does not test anything: when it fails it actually surfaces the actual bug in the code; when it succeeds, it is due to the race. I've verified that fixing MESOS-8200 also fixes the improved test (attached to the ticket).
> ContentType/SchedulerTest.NoOffersWithAllRolesSuppressed is flaky.
> ------------------------------------------------------------------
>
> Key: MESOS-7996
> URL: https://issues.apache.org/jira/browse/MESOS-7996
> Project: Mesos
> Issue Type: Bug
> Components: test
> Affects Versions: 1.5.0
> Environment: Observed on Ubuntu 17.04 with SSL enabled
> Reporter: Alexander Rukletsov
> Assignee: James Peach
> Labels: flaky-test, mesosphere
> Attachments: NoOffersWithAllRolesSuppressed-modified.txt, SchedulerTest.NoOffersWithAllRolesSuppressed_badrun.txt, SchedulerTest.NoOffersWithAllRolesSuppressed_goodrun.txt
>
>
> Observed the failure on internal CI:
> {noformat}
> ../../src/tests/scheduler_tests.cpp:1474
> Mock function called more times than expected - returning directly.
> Function call: offers(0x7ffffb085d90, @0x7f1a88003590 48-byte object <48-82 52-9F 1A-7F 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 01-00 00-00 04-00 00-00 20-4D 00-88 1A-7F 00-00>)
> Expected: to be never called
> Actual: called once - over-saturated and active
> {noformat}
> Full log attached.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)