Hi Jonathan, Looks like some of these failures have already been addressed.
I still do see TestCheckHost.TestCheckHost failures on MacOS and is a test issue which repros only on MacOS. The issue was introduced by changes for AMBARI-9795. I will addressed this test issue as part of AMBARI-9840, the updated patch is attached to https://reviews.apache.org/r/31563/ Regards Jayush On 2/28/15, 5:03 PM, "Jonathan Hurley" <[email protected]> wrote: >All, > >There are 2 components failing (at least 10 builds) on trunk right now. >If nobody can claim responsibility for these tests and fix them, we¹ll >need to start reverting commits. I¹ve created 2 blocker Jiras to track >these. If your commit broke the build, please take ownership of the Jira >and let the dev group know you¹re working on it. > >ambari-web: https://issues.apache.org/jira/browse/AMBARI-9853 >ambari-server: https://issues.apache.org/jira/browse/AMBARI-9854 > >ambari-web > > [exec] ?[0m 2) Ambari Web Unit tests >test/controllers/main/alerts/manage_alert_notifications_controller_test >App.ManageAlertNotificationsController #deleteAlertNotification() "after >each" hook: > [exec] ?[0m?[31m TypeError: 'undefined' is not a function >(evaluating 'App.showConfirmationPopup.restore()')?[0m?[90m > [exec] at >file:///home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-we >b/public/test/javascripts/test.js:10059 > [exec] at >file:///home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-we >b/node_modules/mocha/mocha.js:4039 > [exec] at next >(file:///home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-w >eb/node_modules/mocha/mocha.js:4303) > [exec] at >file:///home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-we >b/node_modules/mocha/mocha.js:4307 > [exec] at timeslice >(file:///home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-w >eb/node_modules/mocha/mocha.js:5279) > [exec] ?[0m > [exec] > [exec] Upgrade in INIT state > [exec] TRACE: Entering db:getid > [exec] npm ERR! Test failed. See above for more details. > [exec] npm ERR! not ok code 0 > > >ambari-server >---------------------------------------------------------------------- >Failed tests: >ERROR: testDBConnectionCheck (TestCheckHost.TestCheckHost) >---------------------------------------------------------------------- >Traceback (most recent call last): > File >"/Users/jhurley/src/hwx/ambari/ambari-server/../ambari-common/src/test/pyt >hon/mock/mock.py", line 1199, in patched > return func(*args, **keywargs) > File >"/Users/jhurley/src/hwx/ambari/ambari-server/src/test/python/custom_action >s/TestCheckHost.py", line 95, in testDBConnectionCheck > checkHost = CheckHost() > File >"/Users/jhurley/src/hwx/ambari/ambari-server/src/main/resources/custom_act >ions/scripts/check_host.py", line 89, in __init__ > self.reportFileHandler = HostCheckReportFileHandler() > File >"/Users/jhurley/src/hwx/ambari/ambari-server/../ambari-agent/src/main/pyth >on/ambari_agent/HostCheckReportFileHandler.py", line 39, in __init__ > config = self.resolve_ambari_config() > File >"/Users/jhurley/src/hwx/ambari/ambari-server/../ambari-agent/src/main/pyth >on/ambari_agent/HostCheckReportFileHandler.py", line 55, in >resolve_ambari_config > return config >UnboundLocalError: local variable 'config' referenced before assignment > >ERROR: testHostResolution (TestCheckHost.TestCheckHost) >---------------------------------------------------------------------- >Traceback (most recent call last): > File >"/Users/jhurley/src/hwx/ambari/ambari-server/../ambari-common/src/test/pyt >hon/mock/mock.py", line 1199, in patched > return func(*args, **keywargs) > File >"/Users/jhurley/src/hwx/ambari/ambari-server/src/test/python/custom_action >s/TestCheckHost.py", line 197, in testHostResolution > checkHost = CheckHost() > File >"/Users/jhurley/src/hwx/ambari/ambari-server/src/main/resources/custom_act >ions/scripts/check_host.py", line 89, in __init__ > self.reportFileHandler = HostCheckReportFileHandler() > File >"/Users/jhurley/src/hwx/ambari/ambari-server/../ambari-agent/src/main/pyth >on/ambari_agent/HostCheckReportFileHandler.py", line 39, in __init__ > config = self.resolve_ambari_config() > File >"/Users/jhurley/src/hwx/ambari/ambari-server/../ambari-agent/src/main/pyth >on/ambari_agent/HostCheckReportFileHandler.py", line 55, in >resolve_ambari_config > return config >UnboundLocalError: local variable 'config' referenced before assignment > >ERROR: testInvalidCheck (TestCheckHost.TestCheckHost) >---------------------------------------------------------------------- >Traceback (most recent call last): > File >"/Users/jhurley/src/hwx/ambari/ambari-server/../ambari-common/src/test/pyt >hon/mock/mock.py", line 1199, in patched > return func(*args, **keywargs) > File >"/Users/jhurley/src/hwx/ambari/ambari-server/src/test/python/custom_action >s/TestCheckHost.py", line 235, in testInvalidCheck > checkHost = CheckHost() > File >"/Users/jhurley/src/hwx/ambari/ambari-server/src/main/resources/custom_act >ions/scripts/check_host.py", line 89, in __init__ > self.reportFileHandler = HostCheckReportFileHandler() > File >"/Users/jhurley/src/hwx/ambari/ambari-server/../ambari-agent/src/main/pyth >on/ambari_agent/HostCheckReportFileHandler.py", line 39, in __init__ > config = self.resolve_ambari_config() > File >"/Users/jhurley/src/hwx/ambari/ambari-server/../ambari-agent/src/main/pyth >on/ambari_agent/HostCheckReportFileHandler.py", line 55, in >resolve_ambari_config > return config >UnboundLocalError: local variable 'config' referenced before assignment > >ERROR: testJavaHomeAvailableCheck (TestCheckHost.TestCheckHost) >---------------------------------------------------------------------- >Traceback (most recent call last): > File >"/Users/jhurley/src/hwx/ambari/ambari-server/../ambari-common/src/test/pyt >hon/mock/mock.py", line 1199, in patched > return func(*args, **keywargs) > File >"/Users/jhurley/src/hwx/ambari/ambari-server/src/test/python/custom_action >s/TestCheckHost.py", line 55, in testJavaHomeAvailableCheck > checkHost = CheckHost() > File >"/Users/jhurley/src/hwx/ambari/ambari-server/src/main/resources/custom_act >ions/scripts/check_host.py", line 89, in __init__ > self.reportFileHandler = HostCheckReportFileHandler() > File >"/Users/jhurley/src/hwx/ambari/ambari-server/../ambari-agent/src/main/pyth >on/ambari_agent/HostCheckReportFileHandler.py", line 39, in __init__ > config = self.resolve_ambari_config() > File >"/Users/jhurley/src/hwx/ambari/ambari-server/../ambari-agent/src/main/pyth >on/ambari_agent/HostCheckReportFileHandler.py", line 55, in >resolve_ambari_config > return config >UnboundLocalError: local variable 'config' referenced before assignment > >FAIL: test_count_hash_sum >(TestResourceFilesKeeper.TestResourceFilesKeeper) >---------------------------------------------------------------------- >Traceback (most recent call last): > File >"/Users/jhurley/src/hwx/ambari/ambari-server/src/test/python/TestResourceF >ilesKeeper.py", line 234, in test_count_hash_sum > self.assertEquals(hash_sum, self.DUMMY_UNCHANGEABLE_PACKAGE_HASH) >AssertionError: '131a35e9bbe4254beebe33714d2293481c96e693' != >'3a3109ba7b01639f08e5f6e7efd0e2fe4612812c' > >FAIL: test_zip_directory (TestResourceFilesKeeper.TestResourceFilesKeeper) >---------------------------------------------------------------------- >Traceback (most recent call last): > File >"/Users/jhurley/src/hwx/ambari/ambari-server/src/test/python/TestResourceF >ilesKeeper.py", line 314, in test_zip_directory > self.assertEquals(hash_val, self.DUMMY_UNCHANGEABLE_PACKAGE_HASH) >AssertionError: '131a35e9bbe4254beebe33714d2293481c96e693' != >'3a3109ba7b01639f08e5f6e7efd0e2fe4612812c' > >---------------------------------------------------------------------- >Total run:607 >Total errors:4 >Total failures:2 >ERROR
