Is anyone else seeing this? I get the error below, and after reverting
AMBARI-9127, I get a second error.
mvn clean test
ambari-web unit tests:
[exec]
[exec] > [email protected] test
/Users/afernandez/Documents/git/ambari-vagrant/centos6.4/ambari/ambari-web
[exec] > mocha-phantomjs -R min public/test/test.html
[exec]
[exec] CLDR.pluralForm not found. Em.I18n will not support count-based
inflection.
[exec] Trace: Entering db:getAuthenticated function
[exec] STATEMANAGER: Entering root
[exec] TRACE: Entering db:getUser function
[exec] TRACE: Entering db:getupgradeId
[exec] TRACE: Entering db:getupgradeVersion
[exec] TRACE: Entering db:getcurrentVersion
[exec] STATEMANAGER: Sending event 'navigateAway' to state root.
[exec] STATEMANAGER: Sending event 'unroutePath' to state root.
[exec] STATEMANAGER: Sending event 'routePath' to state root.
[exec] STATEMANAGER: Entering root.index
[exec] STATEMANAGER: Entering root.login
[exec] Trace: Entering db:getAuthenticated function
[exec] /login:connectOutlet
[exec] Trace: Entering db:getLoginName function
[exec] Trace: Entering db:getWizardCurrentStep function for installer
[exec] getWizardCurrentStep: loginName=, currentStep=undefined
[exec] returning currentStep=0
[exec] currentStep is: 0
[exec] Trace: Entering db:getAuthenticated function
[exec] authenticated is: [object Object]
[exec] failed on loading cluster name
[exec] STATEMANAGER: Entering root
[exec] TRACE: Entering db:getUser function
[exec] TRACE: In success function for the loadClusterConfigSuccess;
url is /cluster/configurations
[exec] TypeError: 'undefined' is not an object (evaluating
'this.get('controller.content.clientComponents').rejectProperty')
[exec]
[exec]
file:///Users/afernandez/Documents/git/ambari-vagrant/centos6.4/ambari/ambari-web/public/javascripts/app.js:164285
[exec]
file:///Users/afernandez/Documents/git/ambari-vagrant/centos6.4/ambari/ambari-web/public/test/javascripts/test.js:55609
[exec]
file:///Users/afernandez/Documents/git/ambari-vagrant/centos6.4/ambari/ambari-web/node_modules/mocha/mocha.js:881
[exec]
file:///Users/afernandez/Documents/git/ambari-vagrant/centos6.4/ambari/ambari-web/public/test/javascripts/test.js:55629
[exec]
file:///Users/afernandez/Documents/git/ambari-vagrant/centos6.4/ambari/ambari-web/node_modules/mocha/mocha.js:881
[exec]
file:///Users/afernandez/Documents/git/ambari-vagrant/centos6.4/ambari/ambari-web/public/test/javascripts/test.js:56006
[exec]
file:///Users/afernandez/Documents/git/ambari-vagrant/centos6.4/ambari/ambari-web/public/javascripts/vendor.js:47
[exec]
file:///Users/afernandez/Documents/git/ambari-vagrant/centos6.4/ambari/ambari-web/public/javascripts/vendor.js:56
[exec]
file:///Users/afernandez/Documents/git/ambari-vagrant/centos6.4/ambari/ambari-web/public/test/tests.js:263
[exec]
file:///Users/afernandez/Documents/git/ambari-vagrant/centos6.4/ambari/ambari-web/node_modules/mocha/mocha.js:881
[exec]
file:///Users/afernandez/Documents/git/ambari-vagrant/centos6.4/ambari/ambari-web/public/test/tests.js:264
[exec]
file:///Users/afernandez/Documents/git/ambari-vagrant/centos6.4/ambari/ambari-web/node_modules/mocha/mocha.js:881
[exec]
file:///Users/afernandez/Documents/git/ambari-vagrant/centos6.4/ambari/ambari-web/public/test/tests.js:268
[exec] npm ERR! Test failed. See above for more details.
[exec] npm ERR! not ok code 0
[exec] Error loading resource
http://localhost:3333/api/v1/clusters/testName?fields=Clusters/desired_configs
(5).
Details: Operation canceled
mvn clean test
ambari-web unit tests:
[exec]
[exec] > [email protected] test
/Users/afernandez/Documents/git/ambari-vagrant/centos6.4/ambari/ambari-web
[exec] > mocha-phantomjs -R min public/test/test.html
[exec]
[exec] CLDR.pluralForm not found. Em.I18n will not support count-based
inflection.
[exec] doing a cleanup
[exec] TRACE: Entering db:cleanup function
[exec] In cleanup./..
[exec] Trace: Entering db:getAuthenticated function
[exec] STATEMANAGER: Entering root
[exec] TRACE: Entering db:getUser function
[exec] TRACE: Entering db:getupgradeId
[exec] TRACE: Entering db:getupgradeVersion
[exec] TRACE: Entering db:getcurrentVersion
[exec] STATEMANAGER: Sending event 'navigateAway' to state root.
[exec] STATEMANAGER: Sending event 'unroutePath' to state root.
[exec] STATEMANAGER: Sending event 'routePath' to state root.
[exec] STATEMANAGER: Entering root.index
[exec] STATEMANAGER: Entering root.login
[exec] Trace: Entering db:getAuthenticated function
[exec] /login:connectOutlet
[exec] Trace: Entering db:getLoginName function
[exec] Trace: Entering db:getWizardCurrentStep function for installer
[exec] getWizardCurrentStep: loginName=, currentStep=undefined
[exec] returning currentStep=0
[exec] currentStep is: 0
[exec] Trace: Entering db:getAuthenticated function
[exec] authenticated is: [object Object]
[exec] failed on loading cluster name
[exec] STATEMANAGER: Entering root
[exec] TRACE: Entering db:getUser function
[exec] TRACE: In success function for the loadClusterConfigSuccess;
url is /cluster/configurations
[exec] TypeError: 'undefined' is not a function (evaluating
'mocha.useColors(config.useColors)')
[exec]
[exec] phantomjs://webpage.evaluate():2
[exec] phantomjs://webpage.evaluate():10
[exec] phantomjs://webpage.evaluate():10
[exec] Error loading resource
http://localhost:3333/api/v1/clusters/testName?fields=Clusters/desired_configs
(5). Details: Operation canceled
[exec] npm ERR! Test failed. See above for more details.
[exec] npm ERR! not ok code 0
Thanks,
Alejandro
--
[image: Hortonworks, Inc.] <http://hortonworks.com/> *Alejandro Fernandez
<[email protected]>**Engineering - Ambari*
786.303.7149
--
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.