You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Hadoop QA (JIRA)" <ji...@apache.org> on 2017/12/02 10:48:00 UTC
[jira] [Commented] (AMBARI-22575) Broken Python Unit Tests in
branch-2.6
[ https://issues.apache.org/jira/browse/AMBARI-22575?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16275505#comment-16275505 ]
Hadoop QA commented on AMBARI-22575:
------------------------------------
{color:red}-1 overall{color}. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12900338/AMBARI-22575.patch
against trunk revision .
{color:red}-1 patch{color}. Top-level [trunk compilation|https://builds.apache.org/job/Ambari-trunk-test-patch/12788//artifact/patch-work/trunkJavacWarnings.txt] may be broken.
Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/12788//console
This message is automatically generated.
> 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)