You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Ian Downes (JIRA)" <ji...@apache.org> on 2015/03/24 01:18:52 UTC
[jira] [Commented] (MESOS-2534) PerfTest.ROOT_SampleInit test
fails.
[ https://issues.apache.org/jira/browse/MESOS-2534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14376980#comment-14376980 ]
Ian Downes commented on MESOS-2534:
-----------------------------------
https://reviews.apache.org/r/32420/
> PerfTest.ROOT_SampleInit test fails.
> ------------------------------------
>
> Key: MESOS-2534
> URL: https://issues.apache.org/jira/browse/MESOS-2534
> Project: Mesos
> Issue Type: Bug
> Components: test
> Affects Versions: 0.22.0
> Reporter: Benjamin Mahler
> Assignee: Ian Downes
> Labels: twitter
>
> From MESOS-2300 as well, it looks like this test is not reliable:
> {code}
> [ RUN ] PerfTest.ROOT_SampleInit
> ../../src/tests/perf_tests.cpp:147: Failure
> Expected: (0u) < (statistics.get().cycles()), actual: 0 vs 0
> ../../src/tests/perf_tests.cpp:150: Failure
> Expected: (0.0) < (statistics.get().task_clock()),
> {code}
> It looks like this test samples PID 1, which is either {{init}} or {{systemd}}. Per a chat with [~idownes] this should probably sample something that is guaranteed to be consuming cycles.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)