ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Hurley <jhur...@hortonworks.com>
Subject Builds Failures On Trunk
Date Sun, 01 Mar 2015 01:03:47 GMT
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]   2) Ambari Web Unit tests test/controllers/main/alerts/manage_alert_notifications_controller_test
App.ManageAlertNotificationsController #deleteAlertNotification() "after each" hook:
     [exec]      TypeError: 'undefined' is not a function (evaluating 'App.showConfirmationPopup.restore()')
     [exec]       at file:///home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-web/public/test/javascripts/test.js:10059
     [exec]       at file:///home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-web/node_modules/mocha/mocha.js:4039
     [exec]       at next (file:///home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-web/node_modules/mocha/mocha.js:4303)
     [exec]       at file:///home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-web/node_modules/mocha/mocha.js:4307
     [exec]       at timeslice (file:///home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-web/node_modules/mocha/mocha.js:5279)
     [exec] 
     [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/python/mock/mock.py",
line 1199, in patched
    return func(*args, **keywargs)
  File "/Users/jhurley/src/hwx/ambari/ambari-server/src/test/python/custom_actions/TestCheckHost.py",
line 95, in testDBConnectionCheck
    checkHost = CheckHost()
  File "/Users/jhurley/src/hwx/ambari/ambari-server/src/main/resources/custom_actions/scripts/check_host.py",
line 89, in __init__
    self.reportFileHandler = HostCheckReportFileHandler()
  File "/Users/jhurley/src/hwx/ambari/ambari-server/../ambari-agent/src/main/python/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/python/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/python/mock/mock.py",
line 1199, in patched
    return func(*args, **keywargs)
  File "/Users/jhurley/src/hwx/ambari/ambari-server/src/test/python/custom_actions/TestCheckHost.py",
line 197, in testHostResolution
    checkHost = CheckHost()
  File "/Users/jhurley/src/hwx/ambari/ambari-server/src/main/resources/custom_actions/scripts/check_host.py",
line 89, in __init__
    self.reportFileHandler = HostCheckReportFileHandler()
  File "/Users/jhurley/src/hwx/ambari/ambari-server/../ambari-agent/src/main/python/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/python/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/python/mock/mock.py",
line 1199, in patched
    return func(*args, **keywargs)
  File "/Users/jhurley/src/hwx/ambari/ambari-server/src/test/python/custom_actions/TestCheckHost.py",
line 235, in testInvalidCheck
    checkHost = CheckHost()
  File "/Users/jhurley/src/hwx/ambari/ambari-server/src/main/resources/custom_actions/scripts/check_host.py",
line 89, in __init__
    self.reportFileHandler = HostCheckReportFileHandler()
  File "/Users/jhurley/src/hwx/ambari/ambari-server/../ambari-agent/src/main/python/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/python/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/python/mock/mock.py",
line 1199, in patched
    return func(*args, **keywargs)
  File "/Users/jhurley/src/hwx/ambari/ambari-server/src/test/python/custom_actions/TestCheckHost.py",
line 55, in testJavaHomeAvailableCheck
    checkHost = CheckHost()
  File "/Users/jhurley/src/hwx/ambari/ambari-server/src/main/resources/custom_actions/scripts/check_host.py",
line 89, in __init__
    self.reportFileHandler = HostCheckReportFileHandler()
  File "/Users/jhurley/src/hwx/ambari/ambari-server/../ambari-agent/src/main/python/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/python/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/TestResourceFilesKeeper.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/TestResourceFilesKeeper.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
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message