{"action":"created","issue":{"url":"https://api.github.com/repos/arangodb/arangodb/issues/1377","labels_url":"https://api.github.com/repos/arangodb/arangodb/issues/1377/labels{/name}","comments_url":"https://api.github.com/repos/arangodb/arangodb/issues/1377/comments","events_url":"https://api.github.com/repos/arangodb/arangodb/issues/1377/events","html_url":"https://github.com/arangodb/arangodb/issues/1377","id":88423521,"number":1377,"title":"Unit Test is broken in 2.6a3","user":{"login":"omarsmak","id":1190920,"avatar_url":"https://avatars.githubusercontent.com/u/1190920?v=3","gravatar_id":"","url":"https://api.github.com/users/omarsmak","html_url":"https://github.com/omarsmak","followers_url":"https://api.github.com/users/omarsmak/followers","following_url":"https://api.github.com/users/omarsmak/following{/other_user}","gists_url":"https://api.github.com/users/omarsmak/gists{/gist_id}","starred_url":"https://api.github.com/users/omarsmak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omarsmak/subscriptions","organizations_url":"https://api.github.com/users/omarsmak/orgs","repos_url":"https://api.github.com/users/omarsmak/repos","events_url":"https://api.github.com/users/omarsmak/events{/privacy}","received_events_url":"https://api.github.com/users/omarsmak/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/arangodb/arangodb/labels/front-end","name":"front-end","color":"02d7e1"}],"state":"open","locked":false,"assignee":{"login":"pluma","id":1280922,"avatar_url":"https://avatars.githubusercontent.com/u/1280922?v=3","gravatar_id":"","url":"https://api.github.com/users/pluma","html_url":"https://github.com/pluma","followers_url":"https://api.github.com/users/pluma/followers","following_url":"https://api.github.com/users/pluma/following{/other_user}","gists_url":"https://api.github.com/users/pluma/gists{/gist_id}","starred_url":"https://api.github.com/users/pluma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pluma/subscriptions","organizations_url":"https://api.github.com/users/pluma/orgs","repos_url":"https://api.github.com/users/pluma/repos","events_url":"https://api.github.com/users/pluma/events{/privacy}","received_events_url":"https://api.github.com/users/pluma/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/arangodb/arangodb/milestones/21","html_url":"https://github.com/arangodb/arangodb/milestones/2.6","labels_url":"https://api.github.com/repos/arangodb/arangodb/milestones/21/labels","id":1098340,"number":21,"title":"2.6","description":null,"creator":{"login":"pluma","id":1280922,"avatar_url":"https://avatars.githubusercontent.com/u/1280922?v=3","gravatar_id":"","url":"https://api.github.com/users/pluma","html_url":"https://github.com/pluma","followers_url":"https://api.github.com/users/pluma/followers","following_url":"https://api.github.com/users/pluma/following{/other_user}","gists_url":"https://api.github.com/users/pluma/gists{/gist_id}","starred_url":"https://api.github.com/users/pluma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pluma/subscriptions","organizations_url":"https://api.github.com/users/pluma/orgs","repos_url":"https://api.github.com/users/pluma/repos","events_url":"https://api.github.com/users/pluma/events{/privacy}","received_events_url":"https://api.github.com/users/pluma/received_events","type":"User","site_admin":false},"open_issues":17,"closed_issues":47,"state":"open","created_at":"2015-05-06T10:17:19Z","updated_at":"2015-06-25T07:53:50Z","due_on":null,"closed_at":null},"comments":11,"created_at":"2015-06-15T13:12:17Z","updated_at":"2015-07-01T23:19:06Z","closed_at":null,"body":"Whenever I try to run mocha unit test runner from either the frontend or the cmd line, this errors shown in the logs:\r\n\r\n```javascript\r\n2015-06-15T13:02:56Z [602] ERROR Error in foxx route '{ \"match\" : \"/foxxes/tests\", \"methods\" : [ \"post\" ] }': '[ArangoError 3103: failed to invoke module\r\n2015-06-15T13:02:56Z [602] ERROR File: /foxx_apps/_db/_system/vn/api/APP/test/example.js]', Stacktrace: [ArangoError 3103: failed to invoke module\r\n2015-06-15T13:02:56Z [602] ERROR File: /foxx_apps/_db/_system/vn/api/APP/test/example.js]\r\n2015-06-15T13:02:56Z [602] ERROR   at [object Object].Module.run (/usr/local/Cellar/arangodb/HEAD/share/arangodb/js/common/bootstrap/modules.js:1417:20)\r\n2015-06-15T13:02:56Z [602] ERROR   at ArangoApp.loadAppScript (/usr/local/Cellar/arangodb/HEAD/share/arangodb/js/server/modules/org/arangodb/foxx/arangoApp.js:417:26)\r\n2015-06-15T13:02:56Z [602] ERROR   at /usr/local/Cellar/arangodb/HEAD/share/arangodb/js/server/modules/org/arangodb/foxx/mocha.js:91:33\r\n2015-06-15T13:02:56Z [602] ERROR   at Array.forEach (native)\r\n2015-06-15T13:02:56Z [602] ERROR   at Object.runMochaTests [as run] (/usr/local/Cellar/arangodb/HEAD/share/arangodb/js/server/modules/org/arangodb/foxx/mocha.js:88:11)\r\n2015-06-15T13:02:56Z [602] ERROR   at Object.runTests (/usr/local/Cellar/arangodb/HEAD/share/arangodb/js/server/modules/org/arangodb/foxx/manager.js:777:45)\r\n2015-06-15T13:02:56Z [602] ERROR   at /usr/local/Cellar/arangodb/HEAD/share/arangodb/js/apps/system/_admin/aardvark/APP/foxxes.js:279:26\r\n2015-06-15T13:02:56Z [602] ERROR   at Object.res.action.callback (/usr/local/Cellar/arangodb/HEAD/share/arangodb/js/server/modules/org/arangodb/foxx/internals.js:101:5)\r\n2015-06-15T13:02:56Z [602] ERROR   at /usr/local/Cellar/arangodb/HEAD/share/arangodb/js/server/modules/org/arangodb/foxx/routing.js:324:19\r\n2015-06-15T13:02:56Z [602] ERROR   at execute (/usr/local/Cellar/arangodb/HEAD/share/arangodb/js/server/modules/org/arangodb/actions.js:1318:7)\r\n2015-06-15T13:02:56Z [602] ERROR   at next (/usr/local/Cellar/arangodb/HEAD/share/arangodb/js/server/modules/org/arangodb/actions.js:1335:7)\r\n2015-06-15T13:02:56Z [602] ERROR   at routingInfo.middleware.push.action.callback (/usr/local/Cellar/arangodb/HEAD/share/arangodb/js/server/modules/org/arangodb/foxx/controller.js:639:53)\r\n2015-06-15T13:02:56Z [602] ERROR   at execute (/usr/local/Cellar/arangodb/HEAD/share/arangodb/js/server/modules/org/arangodb/actions.js:1318:7)\r\n2015-06-15T13:02:56Z [602] ERROR   at next (/usr/local/Cellar/arangodb/HEAD/share/arangodb/js/server/modules/org/arangodb/actions.js:1335:7)\r\n2015-06-15T13:02:56Z [602] ERROR   at routingInfo.middleware.push.action.callback (/usr/local/Cellar/arangodb/HEAD/share/arangodb/js/server/modules/org/arangodb/foxx/controller.js:603:13)\r\n2015-06-15T13:02:56Z [602] ERROR   at execute (/usr/local/Cellar/arangodb/HEAD/share/arangodb/js/server/modules/org/arangodb/actions.js:1318:7)\r\n2015-06-15T13:02:56Z [602] ERROR   at next (/usr/local/Cellar/arangodb/HEAD/share/arangodb/js/server/modules/org/arangodb/actions.js:1335:7)\r\n2015-06-15T13:02:56Z [602] ERROR   at [object Object]:386:5\r\n2015-06-15T13:02:56Z [602] ERROR   at execute (/usr/local/Cellar/arangodb/HEAD/share/arangodb/js/server/modules/org/arangodb/actions.js:1318:7)\r\n2015-06-15T13:02:56Z [602] ERROR   at next (/usr/local/Cellar/arangodb/HEAD/share/arangodb/js/server/modules/org/arangodb/actions.js:1335:7)\r\n2015-06-15T13:02:56Z [602] ERROR   at routingInfo.middleware.push.action.callback (/usr/local/Cellar/arangodb/HEAD/share/arangodb/js/server/modules/org/arangodb/foxx/controller.js:639:53)\r\n2015-06-15T13:02:56Z [602] ERROR   at execute (/usr/local/Cellar/arangodb/HEAD/share/arangodb/js/server/modules/org/arangodb/actions.js:1318:7)\r\n2015-06-15T13:02:56Z [602] ERROR   at next (/usr/local/Cellar/arangodb/HEAD/share/arangodb/js/server/modules/org/arangodb/actions.js:1335:7)\r\n2015-06-15T13:02:56Z [602] ERROR   at routingInfo.middleware.push.action.callback (/usr/local/Cellar/arangodb/HEAD/share/arangodb/js/server/modules/org/arangodb/foxx/controller.js:639:53)\r\n2015-06-15T13:02:56Z [602] ERROR   at execute (/usr/local/Cellar/arangodb/HEAD/share/arangodb/js/server/modules/org/arangodb/actions.js:1318:7)\r\n2015-06-15T13:02:56Z [602] ERROR   at next (/usr/local/Cellar/arangodb/HEAD/share/arangodb/js/server/modules/org/arangodb/actions.js:1335:7)\r\n2015-06-15T13:02:56Z [602] ERROR   at routingInfo.middleware.push.action.callback (/usr/local/Cellar/arangodb/HEAD/share/arangodb/js/server/modules/org/arangodb/foxx/controller.js:603:13)\r\n2015-06-15T13:02:56Z [602] ERROR   at execute (/usr/local/Cellar/arangodb/HEAD/share/arangodb/js/server/modules/org/arangodb/actions.js:1318:7)\r\n2015-06-15T13:02:56Z [602] ERROR   at next (/usr/local/Cellar/arangodb/HEAD/share/arangodb/js/server/modules/org/arangodb/actions.js:1335:7)\r\n2015-06-15T13:02\r\n```\r\n\r\nUsing the following platform:\r\nMacOX 10.9\r\nArangoDB 2.6a3 (DEV mode)\r\n\r\n\r\nI found this issue has been reported here (https://github.com/arangodb/arangodb/issues/1366), but I am not sure if both tickets are indeed, the same error.\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/arangodb/arangodb/issues/comments/117848133","html_url":"https://github.com/arangodb/arangodb/issues/1377#issuecomment-117848133","issue_url":"https://api.github.com/repos/arangodb/arangodb/issues/1377","id":117848133,"user":{"login":"pluma","id":1280922,"avatar_url":"https://avatars.githubusercontent.com/u/1280922?v=3","gravatar_id":"","url":"https://api.github.com/users/pluma","html_url":"https://github.com/pluma","followers_url":"https://api.github.com/users/pluma/followers","following_url":"https://api.github.com/users/pluma/following{/other_user}","gists_url":"https://api.github.com/users/pluma/gists{/gist_id}","starred_url":"https://api.github.com/users/pluma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pluma/subscriptions","organizations_url":"https://api.github.com/users/pluma/orgs","repos_url":"https://api.github.com/users/pluma/repos","events_url":"https://api.github.com/users/pluma/events{/privacy}","received_events_url":"https://api.github.com/users/pluma/received_events","type":"User","site_admin":false},"created_at":"2015-07-01T23:19:06Z","updated_at":"2015-07-01T23:19:06Z","body":"@omarsmak yes, though I've only tried local builds, not the official releases. Maybe something went wrong during packaging (as with swagger). Can you post what the dirtree of your ArangoDB's `js/node/node_modules/chai` folder looks like?"}}