Return-Path: X-Original-To: apmail-mesos-issues-archive@minotaur.apache.org Delivered-To: apmail-mesos-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 69986185D6 for ; Fri, 8 Jan 2016 16:20:41 +0000 (UTC) Received: (qmail 80080 invoked by uid 500); 8 Jan 2016 16:20:40 -0000 Delivered-To: apmail-mesos-issues-archive@mesos.apache.org Received: (qmail 79743 invoked by uid 500); 8 Jan 2016 16:20:40 -0000 Mailing-List: contact issues-help@mesos.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@mesos.apache.org Delivered-To: mailing list issues@mesos.apache.org Received: (qmail 79555 invoked by uid 99); 8 Jan 2016 16:20:40 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Jan 2016 16:20:40 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 0770D2C1F68 for ; Fri, 8 Jan 2016 16:20:40 +0000 (UTC) Date: Fri, 8 Jan 2016 16:20:40 +0000 (UTC) From: "Jan Schlicht (JIRA)" To: issues@mesos.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (MESOS-3082) Perf related tests rely on 'cycles' which might not always be present. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/MESOS-3082?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15089443#comment-15089443 ] Jan Schlicht commented on MESOS-3082: ------------------------------------- Tests trying to sample using perf with the 'cycles' value can cause failures of other tests if run on a virtual machine that does not support _CPU performance counters_. E.g. running {{sudo ./bin/mesos-tests.sh --gtest_filter="*ROOT_CGROUPS_Sample"}} will fail and sometimes keep a child process running. This process will block some cgroups from being removed. This affects all test processes that are run afterwards that try to clean up some cgroups before being run (mostly {{ROOT_CGROUPS_*}}). I'd suggest to disable these test if in a virtual machine without _CPU performance counters_. > Perf related tests rely on 'cycles' which might not always be present. > ---------------------------------------------------------------------- > > Key: MESOS-3082 > URL: https://issues.apache.org/jira/browse/MESOS-3082 > Project: Mesos > Issue Type: Bug > Environment: Ubuntu 14.04 (in a virtual machine) > Reporter: Benjamin Hindman > Labels: mesosphere > > When running the tests on Ubuntu 14.04 the 'cycles' value collected by perf is always 0, meaning certain tests always fail. These lines in the test have been commented out for now and a TODO has been attached which links to this JIRA issue, since the solution is unclear. In particular, 'cycles' might not properly be counted because it is a hardware counter and this particular machine was a virtual machine. Either way, we should determine the best events to collect from perf in either VM or physical settings. -- This message was sent by Atlassian JIRA (v6.3.4#6332)