[
https://issues.apache.org/jira/browse/AMBARI-22575?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16277282#comment-16277282
]
Hudson commented on AMBARI-22575:
---------------------------------
FAILURE: Integrated in Jenkins build Ambari-branch-2.6 #526 (See
[https://builds.apache.org/job/Ambari-branch-2.6/526/])
Revert "AMBARI-22575. Broken Python Unit Tests in branch-2.6 (aonishuk)"
(swagle:
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=83cbde7d75fbb9994b2c281ccae7f8b45f073225])
* (edit) ambari-server/src/test/python/stacks/2.0.6/OOZIE/test_oozie_server.py
* (edit) ambari-server/src/test/python/stacks/2.2/configs/oozie-upgrade.json
> Broken Python Unit Tests in branch-2.6
> --------------------------------------
>
> Key: AMBARI-22575
> URL: https://issues.apache.org/jira/browse/AMBARI-22575
> Project: Ambari
> Issue Type: Bug
> Affects Versions: 2.6.1
> Reporter: Jonathan Hurley
> Assignee: Andrew Onischuk
> Priority: Critical
> Fix For: 2.6.1
>
> Attachments: AMBARI-22575.patch
>
>
> AMBARI-22561 seems to have broken 4 unit tests...
> {code}
> ERROR: test_upgrade_23_with_type (test_oozie_server.TestOozieServer)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File
> "/Users/jhurley/src/apache/ambari/ambari-common/src/test/python/mock/mock.py",
> line 1199, in patched
> return func(*args, **keywargs)
> File
> "/Users/jhurley/src/apache/ambari/ambari-server/src/test/python/stacks/2.0.6/OOZIE/test_oozie_server.py",
> line 1343, in test_upgrade_23_with_type
> mocks_dict = mocks_dict)
> File
> "/Users/jhurley/src/apache/ambari/ambari-server/src/test/python/stacks/utils/RMFTestCase.py",
> line 159, in executeScript
> method(RMFTestCase.env, *command_args)
> File
> "/Users/jhurley/src/apache/ambari/ambari-server/src/test/python/stacks/utils/../../../../main/resources/common-services/OOZIE/4.0.0.2.0/package/scripts/oozie_server.py",
> line 123, in pre_upgrade_restart
> OozieUpgrade.prepare_libext_directory(upgrade_type=upgrade_type)
> File
> "/Users/jhurley/src/apache/ambari/ambari-server/src/main/resources/common-services/OOZIE/4.0.0.2.0/package/scripts/oozie_server_upgrade.py",
> line 72, in prepare_libext_directory
> lzo_utils.install_lzo_if_needed()
> File
> "/Users/jhurley/src/apache/ambari/ambari-common/src/main/python/resource_management/libraries/functions/lzo_utils.py",
> line 85, in install_lzo_if_needed
> Script.repository_util.create_repo_files()
> File
> "/Users/jhurley/src/apache/ambari/ambari-common/src/main/python/resource_management/libraries/functions/repository_util.py",
> line 53, in create_repo_files
> if self.command_repository.version_id is None:
> AttributeError: RepositoryUtil instance has no attribute 'command_repository'
> ----------------------------------------------------------------------
> Total run:1200
> Total errors:4
> Total failures:0
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)