You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Siddharth Wagle (JIRA)" <ji...@apache.org> on 2014/10/13 21:48:35 UTC

[jira] [Created] (AMBARI-7764) TestActionScheduler unit test fails intermittently

Siddharth Wagle created AMBARI-7764:
---------------------------------------

             Summary: TestActionScheduler unit test fails intermittently
                 Key: AMBARI-7764
                 URL: https://issues.apache.org/jira/browse/AMBARI-7764
             Project: Ambari
          Issue Type: Bug
          Components: ambari-server
    Affects Versions: 1.7.0
            Reporter: Siddharth Wagle
            Assignee: Ivan Kozlov
             Fix For: 1.7.0


For example https://builds.apache.org/job/Ambari-trunk-test-patch/77//artifact/patch-work/testrun_ambari-server.txt

This does not happen always.

{code}
Running org.apache.ambari.server.controller.AmbariManagementControllerImplTest
Tests run: 19, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.127 sec
Running org.apache.ambari.server.actionmanager.TestActionManager
Tests run: 4, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 13.445 sec
Running org.apache.ambari.server.actionmanager.TestActionScheduler
Tests run: 19, Failures: 1, Errors: 0, Skipped: 1, Time elapsed: 3.492 sec <<< FAILURE!
Running org.apache.ambari.server.actionmanager.TestActionDBAccessorImpl

...

Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 19.484 sec

Results :

Failed tests:   testOpFailedEventRaisedForAbortedHostRole(org.apache.ambari.server.actionmanager.TestActionScheduler): expected:<ABORTED> but was:<PENDING>

Tests run: 2076, Failures: 1, Errors: 0, Skipped: 16

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 24:05 min
[INFO] Finished at: 2014-10-02T23:54:20+00:00
[INFO] Final Memory: 20M/294M
[INFO] ------------------------------------------------------------------------
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)