Return-Path: X-Original-To: apmail-ambari-dev-archive@www.apache.org Delivered-To: apmail-ambari-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 67A48C503 for ; Wed, 7 Jan 2015 18:49:29 +0000 (UTC) Received: (qmail 41043 invoked by uid 500); 7 Jan 2015 18:49:30 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 41013 invoked by uid 500); 7 Jan 2015 18:49:30 -0000 Mailing-List: contact dev-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 dev@ambari.apache.org Received: (qmail 40998 invoked by uid 99); 7 Jan 2015 18:49:29 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Jan 2015 18:49:29 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jspeidel@hortonworks.com designates 209.85.212.180 as permitted sender) Received: from [209.85.212.180] (HELO mail-wi0-f180.google.com) (209.85.212.180) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Jan 2015 18:49:04 +0000 Received: by mail-wi0-f180.google.com with SMTP id n3so2286290wiv.7 for ; Wed, 07 Jan 2015 10:48:18 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=PbG6WAEFzS6XaMZrJjYVg+LOGchL0Je5jqPpEi51Edo=; b=gyKe9AifAv6O6PjGlPwfkM0hhH67IUfd7xE/A/0bGlx00ltoMtiyOnN3o+Ip8ewbbT k/vegR0USxJCSmYZAafZL7ExzPu6p/b6CHK/mx0PIMP/cjmdbXq86rVgk822f/5uLk0B hbajPZPY8ecdqmqMrYLT45fBZP7TG6Mlf9fxyGcY0xyxeqCL6C6sV9HzhHAlyA+TGj11 v9vqIMiS+uyP24vIbW+tolqKhRIqkRKoh7srnlThvgRb+2ZBmerOUtlRMzqKKXVU1W8n VCrh9aJ933FNZS532Qx3IEwDn8rcU6XgpaRRdSkfmo/kIIz1DW++mJtMFbonJ/bvCN5X 4HVA== X-Gm-Message-State: ALoCoQnuYJRViSXApeJ3WOZuLyePT2OqTAHd9WgXl9Zu38Qm6mLiAlZLBOSgSLy6Vrn/UKjeJoSzMP3u1j48GBZ3k+9HWrSymsncdAp7cdq0ANjpkJWMrMU= MIME-Version: 1.0 X-Received: by 10.180.98.42 with SMTP id ef10mr50245229wib.46.1420656498506; Wed, 07 Jan 2015 10:48:18 -0800 (PST) Received: by 10.27.7.2 with HTTP; Wed, 7 Jan 2015 10:48:18 -0800 (PST) Date: Wed, 7 Jan 2015 13:48:18 -0500 Message-ID: Subject: Unit Test Failures in trunk From: John Speidel To: Ambari Content-Type: multipart/alternative; boundary=f46d04182826f117bf050c145db8 X-Virus-Checked: Checked by ClamAV on apache.org --f46d04182826f117bf050c145db8 Content-Type: text/plain; charset=UTF-8 I just ran the unit test suite on trunk and am seeing a bunch of python test failures. Is anybody else seeing these failures or is this a known issue? I can't imagine that my patch has anything to do with this so I am not looking forward spending a lot of time debugging this if these are known failures. There have been a bunch of commits today so either others aren't seeing these failures or they are being ignored. Below are a couple of the failures: *FAIL: testLastAgentEnv (TestCheckHost.TestCheckHost)* ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/john/workspace/ambari/ambari-common/src/test/python/mock/mock.py", line 1199, in patched return func(*args, **keywargs) File "/Users/john/workspace/ambari/ambari-server/src/test/python/custom_actions/TestCheckHost.py", line 259, in testLastAgentEnv self.assertTrue(time_mock.called) AssertionError: False is not True *FAIL: test_exclude_existing_repo (TestInstallPackages.TestInstallPackages)* ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/john/workspace/ambari/ambari-common/src/test/python/mock/mock.py", line 1199, in patched return func(*args, **keywargs) File "/Users/john/workspace/ambari/ambari-server/src/test/python/custom_actions/TestInstallPackages.py", line 108, in test_exclude_existing_repo append_to_file=False, File "/Users/john/workspace/ambari/ambari-server/src/test/python/stacks/utils/RMFTestCase.py", line 215, in assertResourceCalled self.assertEquals(kwargs, resource.arguments) AssertionError: {'append_to_file': False, 'base_url': ' http://s3.amazonaws.com/dev.hortonworks.c [truncated]... != {'append_to_file': False, 'base_url': u' http://s3.amazonaws.com/dev.hortonworks. [truncated]... {'action': ['create'], 'append_to_file': False, - 'base_url': ' http://s3.amazonaws.com/dev.hortonworks.com/HDP/centos5/2.x/updates/2.2.0.0 ', + 'base_url': u' http://s3.amazonaws.com/dev.hortonworks.com/HDP/centos5/2.x/updates/2.2.0.0 ', ? + - 'components': [u'HDP-UTILS-1.1.0.20', 'main'], ? --------- + 'components': [u'HDP-UTILS', 'main'], 'mirror_list': None, - 'repo_file_name': 'HDP-2.2.0.1-885', + 'repo_file_name': u'HDP-2.2.0.1-885', ? + 'repo_template': 'repo_suse_rhel.j2'} *FAIL: test_fail (TestInstallPackages.TestInstallPackages)* ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/john/workspace/ambari/ambari-common/src/test/python/mock/mock.py", line 1199, in patched return func(*args, **keywargs) File "/Users/john/workspace/ambari/ambari-server/src/test/python/custom_actions/TestInstallPackages.py", line 171, in test_fail append_to_file=False, File "/Users/john/workspace/ambari/ambari-server/src/test/python/stacks/utils/RMFTestCase.py", line 215, in assertResourceCalled self.assertEquals(kwargs, resource.arguments) AssertionError: {'append_to_file': False, 'base_url': ' http://s3.amazonaws.com/dev.hortonworks.c [truncated]... != {'append_to_file': False, 'base_url': u' http://s3.amazonaws.com/dev.hortonworks. [truncated]... {'action': ['create'], 'append_to_file': False, - 'base_url': ' http://s3.amazonaws.com/dev.hortonworks.com/HDP/centos5/2.x/updates/2.2.0.0 ', + 'base_url': u' http://s3.amazonaws.com/dev.hortonworks.com/HDP/centos5/2.x/updates/2.2.0.0 ', ? + - 'components': [u'HDP-UTILS-1.1.0.20', 'main'], ? --------- + 'components': [u'HDP-UTILS', 'main'], 'mirror_list': None, - 'repo_file_name': 'HDP-2.2.0.1-885', + 'repo_file_name': u'HDP-2.2.0.1-885', ? + 'repo_template': 'repo_suse_rhel.j2'} *I also see this:* Last Agent Env check started. There was an unknown error while checking last host environment details: Cannot detect os type. Exiting... Can not install packages. Traceback (most recent call last): File "/Users/john/workspace/ambari/ambari-server/src/test/python/stacks/utils/../../../../main/resources/custom_actions/scripts/install_packages.py", line 88, in actionexecute Package(package['name'], use_repos=list(current_repo_files) if OSCheck.is_ubuntu_family() else current_repositories) File "/Users/john/workspace/ambari/ambari-server/src/test/python/custom_actions/TestInstallPackages.py", line 144, in _new_with_exception raise Exception() Exception -- CONFIDENTIALITY NOTICE NOTICE: This message is intended for the use of the individual or entity to which it is addressed and may contain information that is confidential, privileged and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, you are hereby notified that any printing, copying, dissemination, distribution, disclosure or forwarding of this communication is strictly prohibited. If you have received this communication in error, please contact the sender immediately and delete it from your system. Thank You. --f46d04182826f117bf050c145db8--