Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id E55C7200CF3 for ; Mon, 14 Aug 2017 20:13:05 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id E3FB8165A45; Mon, 14 Aug 2017 18:13:05 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 3EED9165A43 for ; Mon, 14 Aug 2017 20:13:05 +0200 (CEST) Received: (qmail 63331 invoked by uid 500); 14 Aug 2017 18:13:03 -0000 Mailing-List: contact issues-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list issues@ambari.apache.org Received: (qmail 63322 invoked by uid 99); 14 Aug 2017 18:13:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Aug 2017 18:13:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 19FCFC0195 for ; Mon, 14 Aug 2017 18:13:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id UElnaY1koMIl for ; Mon, 14 Aug 2017 18:13:02 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 104465FD06 for ; Mon, 14 Aug 2017 18:13:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 94908E0E0B for ; Mon, 14 Aug 2017 18:13:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 234D82140E for ; Mon, 14 Aug 2017 18:13:00 +0000 (UTC) Date: Mon, 14 Aug 2017 18:13:00 +0000 (UTC) From: "Hudson (JIRA)" To: issues@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-21714) Intermittent unit test failure in ExecutionCommandWrapperTest MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 14 Aug 2017 18:13:06 -0000 [ https://issues.apache.org/jira/browse/AMBARI-21714?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16126133#comment-16126133 ] Hudson commented on AMBARI-21714: --------------------------------- SUCCESS: Integrated in Jenkins build Ambari-trunk-Commit #7885 (See [https://builds.apache.org/job/Ambari-trunk-Commit/7885/]) AMBARI-21714. Intermittent unit test failure in (adoroszlai: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=f134cee07e9685a5a86fe73162b9a00bf60a9fef]) * (edit) ambari-server/src/test/java/org/apache/ambari/server/actionmanager/ExecutionCommandWrapperTest.java > Intermittent unit test failure in ExecutionCommandWrapperTest > -------------------------------------------------------------- > > Key: AMBARI-21714 > URL: https://issues.apache.org/jira/browse/AMBARI-21714 > Project: Ambari > Issue Type: Bug > Components: ambari-server > Affects Versions: 2.6.0 > Reporter: Doroszlai, Attila > Assignee: Doroszlai, Attila > Fix For: 3.0.0, 2.6.0 > > Attachments: AMBARI-21714.patch > > > Intermittent failure in {{ExecutionCommandWrapperTest}}: > {noformat} > Running org.apache.ambari.server.actionmanager.ExecutionCommandWrapperTest > Tests run: 3, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 14.452 sec <<< FAILURE! - in org.apache.ambari.server.actionmanager.ExecutionCommandWrapperTest > testExecutionCommandHasVersionInfoWithoutCurrentClusterVersion(org.apache.ambari.server.actionmanager.ExecutionCommandWrapperTest) Time elapsed: 0.024 sec <<< ERROR! > org.apache.ambari.server.ServiceNotFoundException: Service not found, clusterName=c1, serviceName=HDFS > at org.apache.ambari.server.actionmanager.ExecutionCommandWrapperTest.testExecutionCommandHasVersionInfoWithoutCurrentClusterVersion(ExecutionCommandWrapperTest.java:293) > {noformat} > is caused by dependence on order of execution of test methods. > Steps to reproduce: > # Disable {{testGetExecutionCommand()}} to simulate "wrong" order of execution > # Run {{ExecutionCommandWrapperTest}} > Result: > {noformat} > Running org.apache.ambari.server.actionmanager.ExecutionCommandWrapperTest > Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 7.4 sec <<< FAILURE! - in org.apache.ambari.server.actionmanager.ExecutionCommandWrapperTest > testExecutionCommandHasVersionInfoWithoutCurrentClusterVersion(org.apache.ambari.server.actionmanager.ExecutionCommandWrapperTest) Time elapsed: 0.011 sec <<< ERROR! > org.apache.ambari.server.ServiceNotFoundException: Service not found, clusterName=c1, serviceName=HDFS > at org.apache.ambari.server.actionmanager.ExecutionCommandWrapperTest.testExecutionCommandHasVersionInfoWithoutCurrentClusterVersion(ExecutionCommandWrapperTest.java:298) > {noformat} -- This message was sent by Atlassian JIRA (v6.4.14#64029)