Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id E127C200D52 for ; Sat, 2 Dec 2017 11:45:05 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id DFA3D160C19; Sat, 2 Dec 2017 10:45:05 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 342B3160BF7 for ; Sat, 2 Dec 2017 11:45:05 +0100 (CET) Received: (qmail 92876 invoked by uid 500); 2 Dec 2017 10:45:04 -0000 Mailing-List: contact issues-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list issues@ambari.apache.org Received: (qmail 92867 invoked by uid 99); 2 Dec 2017 10:45:04 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 Dec 2017 10:45:04 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 78055C3020 for ; Sat, 2 Dec 2017 10:45:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -98.711 X-Spam-Level: X-Spam-Status: No, score=-98.711 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_NUMSUBJECT=0.5, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id yDr2nalMI0-F for ; Sat, 2 Dec 2017 10:45:02 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 556F55F666 for ; Sat, 2 Dec 2017 10:45:02 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id C675DE0DE3 for ; Sat, 2 Dec 2017 10:45:01 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 5FF53255C5 for ; Sat, 2 Dec 2017 10:45:00 +0000 (UTC) Date: Sat, 2 Dec 2017 10:45:00 +0000 (UTC) From: "Andrew Onischuk (JIRA)" To: issues@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (AMBARI-22575) Broken Python Unit Tests in branch-2.6 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sat, 02 Dec 2017 10:45:06 -0000 [ https://issues.apache.org/jira/browse/AMBARI-22575?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Onischuk updated AMBARI-22575: ------------------------------------- Status: Patch Available (was: Open) > 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)