ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-7145) 3 unit test cases failure in the ambari-web project on trunk
Date Tue, 30 Sep 2014 08:35:33 GMT

    [ https://issues.apache.org/jira/browse/AMBARI-7145?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14152956#comment-14152956
] 

Hudson commented on AMBARI-7145:
--------------------------------

FAILURE: Integrated in Ambari-trunk-Commit #417 (See [https://builds.apache.org/job/Ambari-trunk-Commit/417/])
AMBARI-7145. 3 unit test cases failure in the ambari-web project on trunk. (Ivan Wang via
Jaimin) (jaimin: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=bbed85247291e282a6edbedc1312e0d628799fdb)
* ambari-web/test/views/main/dashboard/config_history_view_test.js
* ambari-web/test/utils/date_test.js


> 3 unit test cases failure in the ambari-web project on trunk
> ------------------------------------------------------------
>
>                 Key: AMBARI-7145
>                 URL: https://issues.apache.org/jira/browse/AMBARI-7145
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-web
>    Affects Versions: 1.7.0
>            Reporter: Mingjiang Shi
>            Assignee: Ivan Wang
>         Attachments: AMBARI-7145.patch
>
>
> Run the ambari-web unit tests, and 3 unit tests are failed. See the following output:
>   ✖ 3 of 4508 tests failed:
>   1) Ambari Web Unit tests test/utils/date_test date #startTime() should convert 1349752195000
to Tue Oct 09 2012 06:09:
>       {color:red}actual{color} {color:green}expected{color}
>       "Tue Oct 09 2012 {color:green}06{color}{color:red}11{color}:09"
>       at file:///mnt/hgfs/mjshi/workspace/ambari_trunk/ambari-web/node_modules/chai/chai.js:925
>       at assertEql (file:///mnt/hgfs/mjshi/workspace/ambari_trunk/ambari-web/node_modules/chai/chai.js:1434)
>       at file:///mnt/hgfs/mjshi/workspace/ambari_trunk/ambari-web/node_modules/chai/chai.js:3627
>       at file:///mnt/hgfs/mjshi/workspace/ambari_trunk/ambari-web/public/test/javascripts/test.js:32376
>       at file:///mnt/hgfs/mjshi/workspace/ambari_trunk/ambari-web/node_modules/mocha/mocha.js:4039
>       at file:///mnt/hgfs/mjshi/workspace/ambari_trunk/ambari-web/node_modules/mocha/mocha.js:4404
>       at file:///mnt/hgfs/mjshi/workspace/ambari_trunk/ambari-web/node_modules/mocha/mocha.js:4463
>       at next (file:///mnt/hgfs/mjshi/workspace/ambari_trunk/ambari-web/node_modules/mocha/mocha.js:4330)
>       at file:///mnt/hgfs/mjshi/workspace/ambari_trunk/ambari-web/node_modules/mocha/mocha.js:4339
>       at next (file:///mnt/hgfs/mjshi/workspace/ambari_trunk/ambari-web/node_modules/mocha/mocha.js:4287)
>       at file:///mnt/hgfs/mjshi/workspace/ambari_trunk/ambari-web/node_modules/mocha/mocha.js:4307
>       at timeslice (file:///mnt/hgfs/mjshi/workspace/ambari_trunk/ambari-web/node_modules/mocha/mocha.js:5279)
>   2) Ambari Web Unit tests test/models/alert_test App.Alert #date is Mon May 05 2014:
>       {color:red}actual{color} {color:green}expected{color}
>       "{color:green}Mon{color}{color:red}Tue{color} May 0{color:green}5{color}{color:red}6{color}
2014"
>       at file:///mnt/hgfs/mjshi/workspace/ambari_trunk/ambari-web/node_modules/chai/chai.js:925
>       at assertEqual (file:///mnt/hgfs/mjshi/workspace/ambari_trunk/ambari-web/node_modules/chai/chai.js:1402)
>       at file:///mnt/hgfs/mjshi/workspace/ambari_trunk/ambari-web/node_modules/chai/chai.js:3627
>       at file:///mnt/hgfs/mjshi/workspace/ambari_trunk/ambari-web/public/test/javascripts/test.js:24222
>       at file:///mnt/hgfs/mjshi/workspace/ambari_trunk/ambari-web/node_modules/mocha/mocha.js:4039
>       at file:///mnt/hgfs/mjshi/workspace/ambari_trunk/ambari-web/node_modules/mocha/mocha.js:4404
>       at file:///mnt/hgfs/mjshi/workspace/ambari_trunk/ambari-web/node_modules/mocha/mocha.js:4463
>       at next (file:///mnt/hgfs/mjshi/workspace/ambari_trunk/ambari-web/node_modules/mocha/mocha.js:4330)
>       at file:///mnt/hgfs/mjshi/workspace/ambari_trunk/ambari-web/node_modules/mocha/mocha.js:4339
>       at next (file:///mnt/hgfs/mjshi/workspace/ambari_trunk/ambari-web/node_modules/mocha/mocha.js:4287)
>       at file:///mnt/hgfs/mjshi/workspace/ambari_trunk/ambari-web/node_modules/mocha/mocha.js:4307
>       at timeslice (file:///mnt/hgfs/mjshi/workspace/ambari_trunk/ambari-web/node_modules/mocha/mocha.js:5279)
>   3) Ambari Web Unit tests test/models/alert_test App.Alert #timeSinceAlertDetails should
return the appropriate string:
>       {color:red}actual{color} {color:green}expected{color}
>       "Occurred on May {color:green}05{color}{color:red}06{color} 2014, 02:00:00 AM"
>       at file:///mnt/hgfs/mjshi/workspace/ambari_trunk/ambari-web/node_modules/chai/chai.js:925
>       at assertEqual (file:///mnt/hgfs/mjshi/workspace/ambari_trunk/ambari-web/node_modules/chai/chai.js:1402)
>       at file:///mnt/hgfs/mjshi/workspace/ambari_trunk/ambari-web/node_modules/chai/chai.js:3627
>       at file:///mnt/hgfs/mjshi/workspace/ambari_trunk/ambari-web/public/test/javascripts/test.js:24307
>       at file:///mnt/hgfs/mjshi/workspace/ambari_trunk/ambari-web/node_modules/mocha/mocha.js:4039
>       at file:///mnt/hgfs/mjshi/workspace/ambari_trunk/ambari-web/node_modules/mocha/mocha.js:4404
>       at file:///mnt/hgfs/mjshi/workspace/ambari_trunk/ambari-web/node_modules/mocha/mocha.js:4463
>       at next (file:///mnt/hgfs/mjshi/workspace/ambari_trunk/ambari-web/node_modules/mocha/mocha.js:4330)
>       at file:///mnt/hgfs/mjshi/workspace/ambari_trunk/ambari-web/node_modules/mocha/mocha.js:4339
>       at next (file:///mnt/hgfs/mjshi/workspace/ambari_trunk/ambari-web/node_modules/mocha/mocha.js:4287)
>       at file:///mnt/hgfs/mjshi/workspace/ambari_trunk/ambari-web/node_modules/mocha/mocha.js:4307
>       at timeslice (file:///mnt/hgfs/mjshi/workspace/ambari_trunk/ambari-web/node_modules/mocha/mocha.js:5279)
> Error loading resource http://localhost:3333/api/v1/clusters//requests/?fields=tasks/Tasks/command,tasks/Tasks/exit_code,tasks/Tasks/start_time,tasks/Tasks/end_time,tasks/Tasks/host_name,tasks/Tasks/id,tasks/Tasks/role,tasks/Tasks/status&minimal_response=true
(203). Details: Error downloading http://localhost:3333/api/v1/clusters//requests/?fields=tasks/Tasks/command,tasks/Tasks/exit_code,tasks/Tasks/start_time,tasks/Tasks/end_time,tasks/Tasks/host_name,tasks/Tasks/id,tasks/Tasks/role,tasks/Tasks/status&minimal_response=true
- server replied: Not Found
> Error code 404: URI not found.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message