ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-21714) Intermittent unit test failure in ExecutionCommandWrapperTest
Date Mon, 14 Aug 2017 18:13:00 GMT

    [ 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)

Mime
View raw message