ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-14815) Unit tests for Oozie are not executed (test run is successful)
Date Wed, 27 Jan 2016 19:34:40 GMT

    [ https://issues.apache.org/jira/browse/AMBARI-14815?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15120036#comment-15120036
] 

Hudson commented on AMBARI-14815:
---------------------------------

SUCCESS: Integrated in Ambari-trunk-Commit #4236 (See [https://builds.apache.org/job/Ambari-trunk-Commit/4236/])
AMBARI-14815 Unit tests for Oozie are not executed (test run is (dsen: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=ce7252909acddde2d8872e4944e1bd52148dab03])
* ambari-server/src/test/python/unitTests.py
* ambari-server/src/main/resources/common-services/OOZIE/4.0.0.2.0/package/scripts/oozie.py
* ambari-server/src/test/python/stacks/2.0.6/OOZIE/test_oozie_client.py
* ambari-server/src/test/python/stacks/2.0.6/OOZIE/test_service_check.py
* ambari-server/src/test/python/stacks/2.0.6/OOZIE/test_oozie_server.py


> Unit tests for Oozie are not executed (test run is successful)
> --------------------------------------------------------------
>
>                 Key: AMBARI-14815
>                 URL: https://issues.apache.org/jira/browse/AMBARI-14815
>             Project: Ambari
>          Issue Type: Bug
>          Components: stacks
>    Affects Versions: 2.4.0
>            Reporter: Dmytro Sen
>            Assignee: Dmytro Sen
>            Priority: Critical
>             Fix For: 2.4.0
>
>         Attachments: AMBARI-14815.patch
>
>
> Test run reports that all tests passed.
> But Oozie tests are silently stopped with an exception
> {noformat}
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
>     self.run()
>   File "/usr/lib/python2.7/multiprocessing/process.py", line 114, in run
>     self._target(*self._args, **self._kwargs)
>   File "/home/andrii/my/repos/ambari/ambari-server/src/test/python/unitTests.py", line
118, in stack_test_executor
>     modules]
>   File "/usr/lib/python2.7/unittest/loader.py", line 91, in loadTestsFromName
>     module = __import__('.'.join(parts_copy))
>   File "/home/andrii/my/repos/ambari/ambari-server/src/test/python/stacks/2.0.6/OOZIE/test_service_check.py",
line 94
>     dfs_type = '',
> SyntaxError: keyword argument repeated
> {noformat}
> unitTests.py should notify about the failure (in case of syntax error), not silently
reject tests.



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

Mime
View raw message