{"action":"created","issue":{"url":"https://api.github.com/repos/RackHD/on-core/issues/280","repository_url":"https://api.github.com/repos/RackHD/on-core","labels_url":"https://api.github.com/repos/RackHD/on-core/issues/280/labels{/name}","comments_url":"https://api.github.com/repos/RackHD/on-core/issues/280/comments","events_url":"https://api.github.com/repos/RackHD/on-core/issues/280/events","html_url":"https://github.com/RackHD/on-core/pull/280","id":231599912,"number":280,"title":"add some DAL method support relation add data consistency","user":{"login":"changev","id":5920192,"avatar_url":"https://avatars2.githubusercontent.com/u/5920192?v=3","gravatar_id":"","url":"https://api.github.com/users/changev","html_url":"https://github.com/changev","followers_url":"https://api.github.com/users/changev/followers","following_url":"https://api.github.com/users/changev/following{/other_user}","gists_url":"https://api.github.com/users/changev/gists{/gist_id}","starred_url":"https://api.github.com/users/changev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/changev/subscriptions","organizations_url":"https://api.github.com/users/changev/orgs","repos_url":"https://api.github.com/users/changev/repos","events_url":"https://api.github.com/users/changev/events{/privacy}","received_events_url":"https://api.github.com/users/changev/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-05-26T11:22:37Z","updated_at":"2017-06-15T07:45:16Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/RackHD/on-core/pulls/280","html_url":"https://github.com/RackHD/on-core/pull/280","diff_url":"https://github.com/RackHD/on-core/pull/280.diff","patch_url":"https://github.com/RackHD/on-core/pull/280.patch"},"body":"1. Modfied ```findMongo, findAndModifyMongo, findOneMongo``` to return docs in normal format.\r\n2. Add ```updateAndFindMongo``` to return modified doc(s) after update.\r\n3. Add\r\n ```\r\naddFieldIfNotExistById,\r\naddFieldIfNotExistByIdentifier, \r\naddListItemsIfNotExistById,\r\naddListItemsIfNotExistByIdentifier, \r\n```\r\n\r\nFor support some data consistency needs."},"comment":{"url":"https://api.github.com/repos/RackHD/on-core/issues/comments/308655343","html_url":"https://github.com/RackHD/on-core/pull/280#issuecomment-308655343","issue_url":"https://api.github.com/repos/RackHD/on-core/issues/280","id":308655343,"user":{"login":"changev","id":5920192,"avatar_url":"https://avatars2.githubusercontent.com/u/5920192?v=3","gravatar_id":"","url":"https://api.github.com/users/changev","html_url":"https://github.com/changev","followers_url":"https://api.github.com/users/changev/followers","following_url":"https://api.github.com/users/changev/following{/other_user}","gists_url":"https://api.github.com/users/changev/gists{/gist_id}","starred_url":"https://api.github.com/users/changev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/changev/subscriptions","organizations_url":"https://api.github.com/users/changev/orgs","repos_url":"https://api.github.com/users/changev/repos","events_url":"https://api.github.com/users/changev/events{/privacy}","received_events_url":"https://api.github.com/users/changev/received_events","type":"User","site_admin":false},"created_at":"2017-06-15T07:45:15Z","updated_at":"2017-06-15T07:45:15Z","body":"BUILD [on-core #129](http://147.178.202.18//blue/organizations/jenkins/on-core/detail/on-core/129/pipeline) : FAILURE\n\n<details>\n<summary>BUILD on-core #129  Error Logs  &#9660;</summary>Test Name: install-ubuntu-spec.js task-data \"before all\" hook\nError Details: timeout of 3000ms exceeded. Ensure the done() callback is being called in this test.\nStack Trace: Error: timeout of 3000ms exceeded. Ensure the done() callback is being called in this test.\n\nTest Name: Http.Api.Workflows.2.0 \"before all\" hook: start HTTP server\nError Details: timeout of 5000ms exceeded. Ensure the done() callback is being called in this test.\nStack Trace: Error: timeout of 5000ms exceeded. Ensure the done() callback is being called in this test.\n\nTest Name: Http.Api.Internal.Files \"before all\" hook: start HTTP server and add file\nError Details: timeout of 10000ms exceeded. Ensure the done() callback is being called in this test.\nStack Trace: Error: timeout of 10000ms exceeded. Ensure the done() callback is being called in this test.\n\nTest Name: Http.Api.Internal.Files \"after all\" hook: stop HTTP server\nError Details: Cannot read property 'send' of undefined\nStack Trace: TypeError: Cannot read property 'send' of undefined\n    at StatsDService.Client.send (node_modules/on-core/node_modules/node-statsd/lib/statsd.js:221:16)\n    at StatsDService.Client.sendAll (node_modules/on-core/node_modules/node-statsd/lib/statsd.js:181:10)\n    at StatsDService.Client.increment (node_modules/on-core/node_modules/node-statsd/lib/statsd.js:76:8)\n    at StatsDService.stop (node_modules/on-core/lib/services/statsd.js:52:14)\n    at node_modules/on-core/lib/services/core.js:47:28\n    at arrayMap (node_modules/lodash/index.js:1406:25)\n    at Function.map (node_modules/lodash/index.js:6710:14)\n    at CoreService.stop (node_modules/on-core/lib/services/core.js:46:26)\n    at app.js:9:2859\n    at tryCatcher (node_modules/on-core/node_modules/bluebird/js/main/util.js:26:23)\n    at Promise._settlePromiseFromHandler (node_modules/on-core/node_modules/bluebird/js/main/promise.js:510:31)\n    at Promise._settlePromiseAt (node_modules/on-core/node_modules/bluebird/js/main/promise.js:584:18)\n    at Promise._settlePromises (node_modules/on-core/node_modules/bluebird/js/main/promise.js:700:14)\n    at Async._drainQueue (node_modules/on-core/node_modules/bluebird/js/main/async.js:123:16)\n    at Async._drainQueues (node_modules/on-core/node_modules/bluebird/js/main/async.js:133:10)\n    at Immediate.Async.drainQueues [as _onImmediate] (node_modules/on-core/node_modules/bluebird/js/main/async.js:15:14)\n\nTest Name: Http.Api.Profiles \"before all\" hook: start HTTP server\nError Details: Connection is already registered\nStack Trace: AdapterError: Connection is already registered\n    at Object.module.exports.adapter.registerConnection (node_modules/on-core/node_modules/sails-mongo/lib/adapter.js:86:60)\n    at node_modules/on-core/node_modules/waterline/lib/waterline.js:203:29\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:162:20\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:230:13\n    at _arrayEach (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:81:9)\n    at _each (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:72:13)\n    at Object.async.forEachOf.async.eachOf (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:229:9)\n    at Object.async.forEach.async.each (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:206:22)\n    at Array.async.auto.registerConnections (node_modules/on-core/node_modules/waterline/lib/waterline.js:176:13)\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:590:38\n    at _arrayEach (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:81:9)\n    at Object.async.auto (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:552:9)\n    at Waterline.initialize (node_modules/on-core/node_modules/waterline/lib/waterline.js:121:9)\n    at node_modules/on-core/lib/services/waterline.js:96:26\n    at tryCatcher (node_modules/on-core/node_modules/bluebird/js/main/util.js:26:23)\n    at Promise._resolveFromResolver (node_modules/on-core/node_modules/bluebird/js/main/promise.js:483:31)\n    at new Promise (node_modules/on-core/node_modules/bluebird/js/main/promise.js:71:37)\n    at WaterlineServiceFactory.WaterlineService.initService (node_modules/on-core/lib/services/waterline.js:42:16)\n    at node_modules/on-core/lib/services/waterline.js:120:29\n    at tryCatcher (node_modules/on-core/node_modules/bluebird/js/main/util.js:26:23)\n    at Promise._settlePromiseFromHandler (node_modules/on-core/node_modules/bluebird/js/main/promise.js:510:31)\n    at Promise._settlePromiseAt (node_modules/on-core/node_modules/bluebird/js/main/promise.js:584:18)\n    at Promise._settlePromiseAtPostResolution (node_modules/on-core/node_modules/bluebird/js/main/promise.js:248:10)\n    at Async._drainQueue (node_modules/on-core/node_modules/bluebird/js/main/async.js:128:12)\n    at Async._drainQueues (node_modules/on-core/node_modules/bluebird/js/main/async.js:133:10)\n    at Immediate.Async.drainQueues [as _onImmediate] (node_modules/on-core/node_modules/bluebird/js/main/async.js:15:14)\n\nTest Name: Http.Api.Profiles \"after all\" hook: stop HTTP server\nError Details: Cannot read property 'send' of undefined\nStack Trace: TypeError: Cannot read property 'send' of undefined\n    at StatsDService.Client.send (node_modules/on-core/node_modules/node-statsd/lib/statsd.js:221:16)\n    at StatsDService.Client.sendAll (node_modules/on-core/node_modules/node-statsd/lib/statsd.js:181:10)\n    at StatsDService.Client.increment (node_modules/on-core/node_modules/node-statsd/lib/statsd.js:76:8)\n    at StatsDService.stop (node_modules/on-core/lib/services/statsd.js:52:14)\n    at node_modules/on-core/lib/services/core.js:47:28\n    at arrayMap (node_modules/lodash/index.js:1406:25)\n    at Function.map (node_modules/lodash/index.js:6710:14)\n    at CoreService.stop (node_modules/on-core/lib/services/core.js:46:26)\n    at app.js:9:2859\n    at tryCatcher (node_modules/on-core/node_modules/bluebird/js/main/util.js:26:23)\n    at Promise._settlePromiseFromHandler (node_modules/on-core/node_modules/bluebird/js/main/promise.js:510:31)\n    at Promise._settlePromiseAt (node_modules/on-core/node_modules/bluebird/js/main/promise.js:584:18)\n    at Promise._settlePromises (node_modules/on-core/node_modules/bluebird/js/main/promise.js:700:14)\n    at Async._drainQueue (node_modules/on-core/node_modules/bluebird/js/main/async.js:123:16)\n    at Async._drainQueues (node_modules/on-core/node_modules/bluebird/js/main/async.js:133:10)\n    at Immediate.Async.drainQueues [as _onImmediate] (node_modules/on-core/node_modules/bluebird/js/main/async.js:15:14)\n\nTest Name: Http.Api.Roles \"before all\" hook: start HTTP server\nError Details: Connection is already registered\nStack Trace: AdapterError: Connection is already registered\n    at Object.module.exports.adapter.registerConnection (node_modules/on-core/node_modules/sails-mongo/lib/adapter.js:86:60)\n    at node_modules/on-core/node_modules/waterline/lib/waterline.js:203:29\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:162:20\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:230:13\n    at _arrayEach (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:81:9)\n    at _each (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:72:13)\n    at Object.async.forEachOf.async.eachOf (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:229:9)\n    at Object.async.forEach.async.each (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:206:22)\n    at Array.async.auto.registerConnections (node_modules/on-core/node_modules/waterline/lib/waterline.js:176:13)\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:590:38\n    at _arrayEach (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:81:9)\n    at Object.async.auto (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:552:9)\n    at Waterline.initialize (node_modules/on-core/node_modules/waterline/lib/waterline.js:121:9)\n    at node_modules/on-core/lib/services/waterline.js:96:26\n    at tryCatcher (node_modules/on-core/node_modules/bluebird/js/main/util.js:26:23)\n    at Promise._resolveFromResolver (node_modules/on-core/node_modules/bluebird/js/main/promise.js:483:31)\n    at new Promise (node_modules/on-core/node_modules/bluebird/js/main/promise.js:71:37)\n    at WaterlineServiceFactory.WaterlineService.initService (node_modules/on-core/lib/services/waterline.js:42:16)\n    at node_modules/on-core/lib/services/waterline.js:120:29\n    at tryCatcher (node_modules/on-core/node_modules/bluebird/js/main/util.js:26:23)\n    at Promise._settlePromiseFromHandler (node_modules/on-core/node_modules/bluebird/js/main/promise.js:510:31)\n    at Promise._settlePromiseAt (node_modules/on-core/node_modules/bluebird/js/main/promise.js:584:18)\n    at Promise._settlePromiseAtPostResolution (node_modules/on-core/node_modules/bluebird/js/main/promise.js:248:10)\n    at Async._drainQueue (node_modules/on-core/node_modules/bluebird/js/main/async.js:128:12)\n    at Async._drainQueues (node_modules/on-core/node_modules/bluebird/js/main/async.js:133:10)\n    at Immediate.Async.drainQueues [as _onImmediate] (node_modules/on-core/node_modules/bluebird/js/main/async.js:15:14)\n\nTest Name: Http.Api.Roles \"after all\" hook: stop HTTP server\nError Details: Cannot read property 'send' of undefined\nStack Trace: TypeError: Cannot read property 'send' of undefined\n    at StatsDService.Client.send (node_modules/on-core/node_modules/node-statsd/lib/statsd.js:221:16)\n    at StatsDService.Client.sendAll (node_modules/on-core/node_modules/node-statsd/lib/statsd.js:181:10)\n    at StatsDService.Client.increment (node_modules/on-core/node_modules/node-statsd/lib/statsd.js:76:8)\n    at StatsDService.stop (node_modules/on-core/lib/services/statsd.js:52:14)\n    at node_modules/on-core/lib/services/core.js:47:28\n    at arrayMap (node_modules/lodash/index.js:1406:25)\n    at Function.map (node_modules/lodash/index.js:6710:14)\n    at CoreService.stop (node_modules/on-core/lib/services/core.js:46:26)\n    at app.js:9:2859\n    at tryCatcher (node_modules/on-core/node_modules/bluebird/js/main/util.js:26:23)\n    at Promise._settlePromiseFromHandler (node_modules/on-core/node_modules/bluebird/js/main/promise.js:510:31)\n    at Promise._settlePromiseAt (node_modules/on-core/node_modules/bluebird/js/main/promise.js:584:18)\n    at Promise._settlePromises (node_modules/on-core/node_modules/bluebird/js/main/promise.js:700:14)\n    at Async._drainQueue (node_modules/on-core/node_modules/bluebird/js/main/async.js:123:16)\n    at Async._drainQueues (node_modules/on-core/node_modules/bluebird/js/main/async.js:133:10)\n    at Immediate.Async.drainQueues [as _onImmediate] (node_modules/on-core/node_modules/bluebird/js/main/async.js:15:14)\n\nTest Name: Http.Api.Views \"before all\" hook: start HTTP server\nError Details: Connection is already registered\nStack Trace: AdapterError: Connection is already registered\n    at Object.module.exports.adapter.registerConnection (node_modules/on-core/node_modules/sails-mongo/lib/adapter.js:86:60)\n    at node_modules/on-core/node_modules/waterline/lib/waterline.js:203:29\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:162:20\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:230:13\n    at _arrayEach (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:81:9)\n    at _each (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:72:13)\n    at Object.async.forEachOf.async.eachOf (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:229:9)\n    at Object.async.forEach.async.each (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:206:22)\n    at Array.async.auto.registerConnections (node_modules/on-core/node_modules/waterline/lib/waterline.js:176:13)\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:590:38\n    at _arrayEach (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:81:9)\n    at Object.async.auto (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:552:9)\n    at Waterline.initialize (node_modules/on-core/node_modules/waterline/lib/waterline.js:121:9)\n    at node_modules/on-core/lib/services/waterline.js:96:26\n    at tryCatcher (node_modules/on-core/node_modules/bluebird/js/main/util.js:26:23)\n    at Promise._resolveFromResolver (node_modules/on-core/node_modules/bluebird/js/main/promise.js:483:31)\n    at new Promise (node_modules/on-core/node_modules/bluebird/js/main/promise.js:71:37)\n    at WaterlineServiceFactory.WaterlineService.initService (node_modules/on-core/lib/services/waterline.js:42:16)\n    at node_modules/on-core/lib/services/waterline.js:120:29\n    at tryCatcher (node_modules/on-core/node_modules/bluebird/js/main/util.js:26:23)\n    at Promise._settlePromiseFromHandler (node_modules/on-core/node_modules/bluebird/js/main/promise.js:510:31)\n    at Promise._settlePromiseAt (node_modules/on-core/node_modules/bluebird/js/main/promise.js:584:18)\n    at Promise._settlePromiseAtPostResolution (node_modules/on-core/node_modules/bluebird/js/main/promise.js:248:10)\n    at Async._drainQueue (node_modules/on-core/node_modules/bluebird/js/main/async.js:128:12)\n    at Async._drainQueues (node_modules/on-core/node_modules/bluebird/js/main/async.js:133:10)\n    at Immediate.Async.drainQueues [as _onImmediate] (node_modules/on-core/node_modules/bluebird/js/main/async.js:15:14)\n\nTest Name: Http.Api.Views \"after all\" hook: stop HTTP server\nError Details: _ is not a function\nStack Trace: TypeError: _ is not a function\n    at Context.&lt;anonymous&gt; (spec/lib/api/2.0/views-spec.js:37:9)\n\nTest Name: Http.Api.Workflows.2.0 \"before all\" hook: start HTTP server\nError Details: Connection is already registered\nStack Trace: AdapterError: Connection is already registered\n    at Object.module.exports.adapter.registerConnection (node_modules/on-core/node_modules/sails-mongo/lib/adapter.js:86:60)\n    at node_modules/on-core/node_modules/waterline/lib/waterline.js:203:29\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:162:20\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:230:13\n    at _arrayEach (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:81:9)\n    at _each (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:72:13)\n    at Object.async.forEachOf.async.eachOf (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:229:9)\n    at Object.async.forEach.async.each (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:206:22)\n    at Array.async.auto.registerConnections (node_modules/on-core/node_modules/waterline/lib/waterline.js:176:13)\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:590:38\n    at _arrayEach (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:81:9)\n    at Object.async.auto (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:552:9)\n    at Waterline.initialize (node_modules/on-core/node_modules/waterline/lib/waterline.js:121:9)\n    at node_modules/on-core/lib/services/waterline.js:96:26\n    at tryCatcher (node_modules/on-core/node_modules/bluebird/js/main/util.js:26:23)\n    at Promise._resolveFromResolver (node_modules/on-core/node_modules/bluebird/js/main/promise.js:483:31)\n    at new Promise (node_modules/on-core/node_modules/bluebird/js/main/promise.js:71:37)\n    at WaterlineServiceFactory.WaterlineService.initService (node_modules/on-core/lib/services/waterline.js:42:16)\n    at node_modules/on-core/lib/services/waterline.js:120:29\n    at tryCatcher (node_modules/on-core/node_modules/bluebird/js/main/util.js:26:23)\n    at Promise._settlePromiseFromHandler (node_modules/on-core/node_modules/bluebird/js/main/promise.js:510:31)\n    at Promise._settlePromiseAt (node_modules/on-core/node_modules/bluebird/js/main/promise.js:584:18)\n    at Promise._settlePromiseAtPostResolution (node_modules/on-core/node_modules/bluebird/js/main/promise.js:248:10)\n    at Async._drainQueue (node_modules/on-core/node_modules/bluebird/js/main/async.js:128:12)\n    at Async._drainQueues (node_modules/on-core/node_modules/bluebird/js/main/async.js:133:10)\n    at Immediate.Async.drainQueues [as _onImmediate] (node_modules/on-core/node_modules/bluebird/js/main/async.js:15:14)\n\nTest Name: Http.Api.Workflows.2.0 \"after all\" hook: stop HTTP server\nError Details: Cannot read property 'send' of undefined\nStack Trace: TypeError: Cannot read property 'send' of undefined\n    at StatsDService.Client.send (node_modules/on-core/node_modules/node-statsd/lib/statsd.js:221:16)\n    at StatsDService.Client.sendAll (node_modules/on-core/node_modules/node-statsd/lib/statsd.js:181:10)\n    at StatsDService.Client.increment (node_modules/on-core/node_modules/node-statsd/lib/statsd.js:76:8)\n    at StatsDService.stop (node_modules/on-core/lib/services/statsd.js:52:14)\n    at node_modules/on-core/lib/services/core.js:47:28\n    at arrayMap (node_modules/lodash/index.js:1406:25)\n    at Function.map (node_modules/lodash/index.js:6710:14)\n    at CoreService.stop (node_modules/on-core/lib/services/core.js:46:26)\n    at app.js:9:2859\n    at tryCatcher (node_modules/on-core/node_modules/bluebird/js/main/util.js:26:23)\n    at Promise._settlePromiseFromHandler (node_modules/on-core/node_modules/bluebird/js/main/promise.js:510:31)\n    at Promise._settlePromiseAt (node_modules/on-core/node_modules/bluebird/js/main/promise.js:584:18)\n    at Promise._settlePromises (node_modules/on-core/node_modules/bluebird/js/main/promise.js:700:14)\n    at Async._drainQueue (node_modules/on-core/node_modules/bluebird/js/main/async.js:123:16)\n    at Async._drainQueues (node_modules/on-core/node_modules/bluebird/js/main/async.js:133:10)\n    at Immediate.Async.drainQueues [as _onImmediate] (node_modules/on-core/node_modules/bluebird/js/main/async.js:15:14)\n\nTest Name: Http.Api.workflowTasks.2.0 \"before all\" hook: start HTTP server\nError Details: listen EADDRINUSE 0.0.0.0:8091\nStack Trace: Error: listen EADDRINUSE 0.0.0.0:8091\n    at Object.exports._errnoException (util.js:907:11)\n    at exports._exceptionWithHostPort (util.js:930:20)\n    at Server._listen2 (net.js:1253:14)\n    at listen (net.js:1289:10)\n    at net.js:1398:9\n\nTest Name: Http.Api.workflowTasks.2.0 \"after all\" hook: stop HTTP server\nError Details: timeout of 10000ms exceeded. Ensure the done() callback is being called in this test.\nStack Trace: Error: timeout of 10000ms exceeded. Ensure the done() callback is being called in this test.\n\nTest Name: Http.Api.Templates \"before all\" hook: start HTTP server\nError Details: Connection is already registered\nStack Trace: AdapterError: Connection is already registered\n    at Object.module.exports.adapter.registerConnection (node_modules/on-core/node_modules/sails-mongo/lib/adapter.js:86:60)\n    at node_modules/on-core/node_modules/waterline/lib/waterline.js:203:29\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:162:20\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:230:13\n    at _arrayEach (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:81:9)\n    at _each (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:72:13)\n    at Object.async.forEachOf.async.eachOf (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:229:9)\n    at Object.async.forEach.async.each (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:206:22)\n    at Array.async.auto.registerConnections (node_modules/on-core/node_modules/waterline/lib/waterline.js:176:13)\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:590:38\n    at _arrayEach (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:81:9)\n    at Object.async.auto (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:552:9)\n    at Waterline.initialize (node_modules/on-core/node_modules/waterline/lib/waterline.js:121:9)\n    at node_modules/on-core/lib/services/waterline.js:96:26\n    at tryCatcher (node_modules/on-core/node_modules/bluebird/js/main/util.js:26:23)\n    at Promise._resolveFromResolver (node_modules/on-core/node_modules/bluebird/js/main/promise.js:483:31)\n    at new Promise (node_modules/on-core/node_modules/bluebird/js/main/promise.js:71:37)\n    at WaterlineServiceFactory.WaterlineService.initService (node_modules/on-core/lib/services/waterline.js:42:16)\n    at node_modules/on-core/lib/services/waterline.js:120:29\n    at tryCatcher (node_modules/on-core/node_modules/bluebird/js/main/util.js:26:23)\n    at Promise._settlePromiseFromHandler (node_modules/on-core/node_modules/bluebird/js/main/promise.js:510:31)\n    at Promise._settlePromiseAt (node_modules/on-core/node_modules/bluebird/js/main/promise.js:584:18)\n    at Promise._settlePromiseAtPostResolution (node_modules/on-core/node_modules/bluebird/js/main/promise.js:248:10)\n    at Async._drainQueue (node_modules/on-core/node_modules/bluebird/js/main/async.js:128:12)\n    at Async._drainQueues (node_modules/on-core/node_modules/bluebird/js/main/async.js:133:10)\n    at Immediate.Async.drainQueues [as _onImmediate] (node_modules/on-core/node_modules/bluebird/js/main/async.js:15:14)\n\nTest Name: Http.Api.Templates \"after all\" hook: stop HTTP server\nError Details: Cannot read property 'send' of undefined\nStack Trace: TypeError: Cannot read property 'send' of undefined\n    at StatsDService.Client.send (node_modules/on-core/node_modules/node-statsd/lib/statsd.js:221:16)\n    at StatsDService.Client.sendAll (node_modules/on-core/node_modules/node-statsd/lib/statsd.js:181:10)\n    at StatsDService.Client.increment (node_modules/on-core/node_modules/node-statsd/lib/statsd.js:76:8)\n    at StatsDService.stop (node_modules/on-core/lib/services/statsd.js:52:14)\n    at node_modules/on-core/lib/services/core.js:47:28\n    at arrayMap (node_modules/lodash/index.js:1406:25)\n    at Function.map (node_modules/lodash/index.js:6710:14)\n    at CoreService.stop (node_modules/on-core/lib/services/core.js:46:26)\n    at app.js:9:2859\n    at tryCatcher (node_modules/on-core/node_modules/bluebird/js/main/util.js:26:23)\n    at Promise._settlePromiseFromHandler (node_modules/on-core/node_modules/bluebird/js/main/promise.js:510:31)\n    at Promise._settlePromiseAt (node_modules/on-core/node_modules/bluebird/js/main/promise.js:584:18)\n    at Promise._settlePromises (node_modules/on-core/node_modules/bluebird/js/main/promise.js:700:14)\n    at Async._drainQueue (node_modules/on-core/node_modules/bluebird/js/main/async.js:123:16)\n    at Async._drainQueues (node_modules/on-core/node_modules/bluebird/js/main/async.js:133:10)\n    at Immediate.Async.drainQueues [as _onImmediate] (node_modules/on-core/node_modules/bluebird/js/main/async.js:15:14)\n\nTest Name: Http.Api.Skus.2.0 \"before all\" hook: start HTTP server\nError Details: Connection is already registered\nStack Trace: AdapterError: Connection is already registered\n    at Object.module.exports.adapter.registerConnection (node_modules/on-core/node_modules/sails-mongo/lib/adapter.js:86:60)\n    at node_modules/on-core/node_modules/waterline/lib/waterline.js:203:29\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:162:20\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:230:13\n    at _arrayEach (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:81:9)\n    at _each (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:72:13)\n    at Object.async.forEachOf.async.eachOf (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:229:9)\n    at Object.async.forEach.async.each (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:206:22)\n    at Array.async.auto.registerConnections (node_modules/on-core/node_modules/waterline/lib/waterline.js:176:13)\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:590:38\n    at _arrayEach (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:81:9)\n    at Object.async.auto (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:552:9)\n    at Waterline.initialize (node_modules/on-core/node_modules/waterline/lib/waterline.js:121:9)\n    at node_modules/on-core/lib/services/waterline.js:96:26\n    at tryCatcher (node_modules/on-core/node_modules/bluebird/js/main/util.js:26:23)\n    at Promise._resolveFromResolver (node_modules/on-core/node_modules/bluebird/js/main/promise.js:483:31)\n    at new Promise (node_modules/on-core/node_modules/bluebird/js/main/promise.js:71:37)\n    at WaterlineServiceFactory.WaterlineService.initService (node_modules/on-core/lib/services/waterline.js:42:16)\n    at node_modules/on-core/lib/services/waterline.js:120:29\n    at tryCatcher (node_modules/on-core/node_modules/bluebird/js/main/util.js:26:23)\n    at Promise._settlePromiseFromHandler (node_modules/on-core/node_modules/bluebird/js/main/promise.js:510:31)\n    at Promise._settlePromiseAt (node_modules/on-core/node_modules/bluebird/js/main/promise.js:584:18)\n    at Promise._settlePromiseAtPostResolution (node_modules/on-core/node_modules/bluebird/js/main/promise.js:248:10)\n    at Async._drainQueue (node_modules/on-core/node_modules/bluebird/js/main/async.js:128:12)\n    at Async._drainQueues (node_modules/on-core/node_modules/bluebird/js/main/async.js:133:10)\n    at Immediate.Async.drainQueues [as _onImmediate] (node_modules/on-core/node_modules/bluebird/js/main/async.js:15:14)\n\nTest Name: Http.Api.Skus.2.0 \"after all\" hook: stop HTTP server\nError Details: Cannot read property 'getSkus' of undefined\nStack Trace: TypeError: Cannot read property 'getSkus' of undefined\n    at Context.&lt;anonymous&gt; (spec/lib/api/2.0/skus-spec.js:53:22)\n\nTest Name: Http.Api.Users \"before all\" hook: start HTTP server\nError Details: Connection is already registered\nStack Trace: AdapterError: Connection is already registered\n    at Object.module.exports.adapter.registerConnection (node_modules/on-core/node_modules/sails-mongo/lib/adapter.js:86:60)\n    at node_modules/on-core/node_modules/waterline/lib/waterline.js:203:29\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:162:20\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:230:13\n    at _arrayEach (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:81:9)\n    at _each (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:72:13)\n    at Object.async.forEachOf.async.eachOf (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:229:9)\n    at Object.async.forEach.async.each (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:206:22)\n    at Array.async.auto.registerConnections (node_modules/on-core/node_modules/waterline/lib/waterline.js:176:13)\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:590:38\n    at _arrayEach (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:81:9)\n    at Object.async.auto (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:552:9)\n    at Waterline.initialize (node_modules/on-core/node_modules/waterline/lib/waterline.js:121:9)\n    at node_modules/on-core/lib/services/waterline.js:96:26\n    at tryCatcher (node_modules/on-core/node_modules/bluebird/js/main/util.js:26:23)\n    at Promise._resolveFromResolver (node_modules/on-core/node_modules/bluebird/js/main/promise.js:483:31)\n    at new Promise (node_modules/on-core/node_modules/bluebird/js/main/promise.js:71:37)\n    at WaterlineServiceFactory.WaterlineService.initService (node_modules/on-core/lib/services/waterline.js:42:16)\n    at node_modules/on-core/lib/services/waterline.js:120:29\n    at tryCatcher (node_modules/on-core/node_modules/bluebird/js/main/util.js:26:23)\n    at Promise._settlePromiseFromHandler (node_modules/on-core/node_modules/bluebird/js/main/promise.js:510:31)\n    at Promise._settlePromiseAt (node_modules/on-core/node_modules/bluebird/js/main/promise.js:584:18)\n    at Promise._settlePromiseAtPostResolution (node_modules/on-core/node_modules/bluebird/js/main/promise.js:248:10)\n    at Async._drainQueue (node_modules/on-core/node_modules/bluebird/js/main/async.js:128:12)\n    at Async._drainQueues (node_modules/on-core/node_modules/bluebird/js/main/async.js:133:10)\n    at Immediate.Async.drainQueues [as _onImmediate] (node_modules/on-core/node_modules/bluebird/js/main/async.js:15:14)\n\nTest Name: Http.Api.Users \"after all\" hook: stop HTTP server\nError Details: Cannot read property 'send' of undefined\nStack Trace: TypeError: Cannot read property 'send' of undefined\n    at StatsDService.Client.send (node_modules/on-core/node_modules/node-statsd/lib/statsd.js:221:16)\n    at StatsDService.Client.sendAll (node_modules/on-core/node_modules/node-statsd/lib/statsd.js:181:10)\n    at StatsDService.Client.increment (node_modules/on-core/node_modules/node-statsd/lib/statsd.js:76:8)\n    at StatsDService.stop (node_modules/on-core/lib/services/statsd.js:52:14)\n    at node_modules/on-core/lib/services/core.js:47:28\n    at arrayMap (node_modules/lodash/index.js:1406:25)\n    at Function.map (node_modules/lodash/index.js:6710:14)\n    at CoreService.stop (node_modules/on-core/lib/services/core.js:46:26)\n    at app.js:9:2859\n    at tryCatcher (node_modules/on-core/node_modules/bluebird/js/main/util.js:26:23)\n    at Promise._settlePromiseFromHandler (node_modules/on-core/node_modules/bluebird/js/main/promise.js:510:31)\n    at Promise._settlePromiseAt (node_modules/on-core/node_modules/bluebird/js/main/promise.js:584:18)\n    at Promise._settlePromises (node_modules/on-core/node_modules/bluebird/js/main/promise.js:700:14)\n    at Async._drainQueue (node_modules/on-core/node_modules/bluebird/js/main/async.js:123:16)\n    at Async._drainQueues (node_modules/on-core/node_modules/bluebird/js/main/async.js:133:10)\n    at Immediate.Async.drainQueues [as _onImmediate] (node_modules/on-core/node_modules/bluebird/js/main/async.js:15:14)\n\nTest Name: Http.Api.Schemas \"before all\" hook: start HTTP server\nError Details: Connection is already registered\nStack Trace: AdapterError: Connection is already registered\n    at Object.module.exports.adapter.registerConnection (node_modules/on-core/node_modules/sails-mongo/lib/adapter.js:86:60)\n    at node_modules/on-core/node_modules/waterline/lib/waterline.js:203:29\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:162:20\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:230:13\n    at _arrayEach (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:81:9)\n    at _each (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:72:13)\n    at Object.async.forEachOf.async.eachOf (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:229:9)\n    at Object.async.forEach.async.each (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:206:22)\n    at Array.async.auto.registerConnections (node_modules/on-core/node_modules/waterline/lib/waterline.js:176:13)\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:590:38\n    at _arrayEach (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:81:9)\n    at Object.async.auto (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:552:9)\n    at Waterline.initialize (node_modules/on-core/node_modules/waterline/lib/waterline.js:121:9)\n    at node_modules/on-core/lib/services/waterline.js:96:26\n    at tryCatcher (node_modules/on-core/node_modules/bluebird/js/main/util.js:26:23)\n    at Promise._resolveFromResolver (node_modules/on-core/node_modules/bluebird/js/main/promise.js:483:31)\n    at new Promise (node_modules/on-core/node_modules/bluebird/js/main/promise.js:71:37)\n    at WaterlineServiceFactory.WaterlineService.initService (node_modules/on-core/lib/services/waterline.js:42:16)\n    at node_modules/on-core/lib/services/waterline.js:120:29\n    at tryCatcher (node_modules/on-core/node_modules/bluebird/js/main/util.js:26:23)\n    at Promise._settlePromiseFromHandler (node_modules/on-core/node_modules/bluebird/js/main/promise.js:510:31)\n    at Promise._settlePromiseAt (node_modules/on-core/node_modules/bluebird/js/main/promise.js:584:18)\n    at Promise._settlePromiseAtPostResolution (node_modules/on-core/node_modules/bluebird/js/main/promise.js:248:10)\n    at Async._drainQueue (node_modules/on-core/node_modules/bluebird/js/main/async.js:128:12)\n    at Async._drainQueues (node_modules/on-core/node_modules/bluebird/js/main/async.js:133:10)\n    at Immediate.Async.drainQueues [as _onImmediate] (node_modules/on-core/node_modules/bluebird/js/main/async.js:15:14)\n\nTest Name: Http.Api.Schemas \"after all\" hook: stop HTTP server\nError Details: Cannot read property 'send' of undefined\nStack Trace: TypeError: Cannot read property 'send' of undefined\n    at StatsDService.Client.send (node_modules/on-core/node_modules/node-statsd/lib/statsd.js:221:16)\n    at StatsDService.Client.sendAll (node_modules/on-core/node_modules/node-statsd/lib/statsd.js:181:10)\n    at StatsDService.Client.increment (node_modules/on-core/node_modules/node-statsd/lib/statsd.js:76:8)\n    at StatsDService.stop (node_modules/on-core/lib/services/statsd.js:52:14)\n    at node_modules/on-core/lib/services/core.js:47:28\n    at arrayMap (node_modules/lodash/index.js:1406:25)\n    at Function.map (node_modules/lodash/index.js:6710:14)\n    at CoreService.stop (node_modules/on-core/lib/services/core.js:46:26)\n    at app.js:9:2859\n    at tryCatcher (node_modules/on-core/node_modules/bluebird/js/main/util.js:26:23)\n    at Promise._settlePromiseFromHandler (node_modules/on-core/node_modules/bluebird/js/main/promise.js:510:31)\n    at Promise._settlePromiseAt (node_modules/on-core/node_modules/bluebird/js/main/promise.js:584:18)\n    at Promise._settlePromises (node_modules/on-core/node_modules/bluebird/js/main/promise.js:700:14)\n    at Async._drainQueue (node_modules/on-core/node_modules/bluebird/js/main/async.js:123:16)\n    at Async._drainQueues (node_modules/on-core/node_modules/bluebird/js/main/async.js:133:10)\n    at Immediate.Async.drainQueues [as _onImmediate] (node_modules/on-core/node_modules/bluebird/js/main/async.js:15:14)\n\nTest Name: Http.Api.Pollers \"before all\" hook: start HTTP server\nError Details: Connection is already registered\nStack Trace: AdapterError: Connection is already registered\n    at Object.module.exports.adapter.registerConnection (node_modules/on-core/node_modules/sails-mongo/lib/adapter.js:86:60)\n    at node_modules/on-core/node_modules/waterline/lib/waterline.js:203:29\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:162:20\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:230:13\n    at _arrayEach (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:81:9)\n    at _each (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:72:13)\n    at Object.async.forEachOf.async.eachOf (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:229:9)\n    at Object.async.forEach.async.each (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:206:22)\n    at Array.async.auto.registerConnections (node_modules/on-core/node_modules/waterline/lib/waterline.js:176:13)\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:590:38\n    at _arrayEach (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:81:9)\n    at Object.async.auto (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:552:9)\n    at Waterline.initialize (node_modules/on-core/node_modules/waterline/lib/waterline.js:121:9)\n    at node_modules/on-core/lib/services/waterline.js:96:26\n    at tryCatcher (node_modules/on-core/node_modules/bluebird/js/main/util.js:26:23)\n    at Promise._resolveFromResolver (node_modules/on-core/node_modules/bluebird/js/main/promise.js:483:31)\n    at new Promise (node_modules/on-core/node_modules/bluebird/js/main/promise.js:71:37)\n    at WaterlineServiceFactory.WaterlineService.initService (node_modules/on-core/lib/services/waterline.js:42:16)\n    at node_modules/on-core/lib/services/waterline.js:120:29\n    at tryCatcher (node_modules/on-core/node_modules/bluebird/js/main/util.js:26:23)\n    at Promise._settlePromiseFromHandler (node_modules/on-core/node_modules/bluebird/js/main/promise.js:510:31)\n    at Promise._settlePromiseAt (node_modules/on-core/node_modules/bluebird/js/main/promise.js:584:18)\n    at Promise._settlePromiseAtPostResolution (node_modules/on-core/node_modules/bluebird/js/main/promise.js:248:10)\n    at Async._drainQueue (node_modules/on-core/node_modules/bluebird/js/main/async.js:128:12)\n    at Async._drainQueues (node_modules/on-core/node_modules/bluebird/js/main/async.js:133:10)\n    at Immediate.Async.drainQueues [as _onImmediate] (node_modules/on-core/node_modules/bluebird/js/main/async.js:15:14)\n\nTest Name: Http.Api.Pollers \"after all\" hook: stop HTTP server\nError Details: Cannot read property 'send' of undefined\nStack Trace: TypeError: Cannot read property 'send' of undefined\n    at StatsDService.Client.send (node_modules/on-core/node_modules/node-statsd/lib/statsd.js:221:16)\n    at StatsDService.Client.sendAll (node_modules/on-core/node_modules/node-statsd/lib/statsd.js:181:10)\n    at StatsDService.Client.increment (node_modules/on-core/node_modules/node-statsd/lib/statsd.js:76:8)\n    at StatsDService.stop (node_modules/on-core/lib/services/statsd.js:52:14)\n    at node_modules/on-core/lib/services/core.js:47:28\n    at arrayMap (node_modules/lodash/index.js:1406:25)\n    at Function.map (node_modules/lodash/index.js:6710:14)\n    at CoreService.stop (node_modules/on-core/lib/services/core.js:46:26)\n    at app.js:9:2859\n    at tryCatcher (node_modules/on-core/node_modules/bluebird/js/main/util.js:26:23)\n    at Promise._settlePromiseFromHandler (node_modules/on-core/node_modules/bluebird/js/main/promise.js:510:31)\n    at Promise._settlePromiseAt (node_modules/on-core/node_modules/bluebird/js/main/promise.js:584:18)\n    at Promise._settlePromises (node_modules/on-core/node_modules/bluebird/js/main/promise.js:700:14)\n    at Async._drainQueue (node_modules/on-core/node_modules/bluebird/js/main/async.js:123:16)\n    at Async._drainQueues (node_modules/on-core/node_modules/bluebird/js/main/async.js:133:10)\n    at Immediate.Async.drainQueues [as _onImmediate] (node_modules/on-core/node_modules/bluebird/js/main/async.js:15:14)\n\nTest Name: Http.Api.Tags \"before all\" hook: start HTTP server\nError Details: Connection is already registered\nStack Trace: AdapterError: Connection is already registered\n    at Object.module.exports.adapter.registerConnection (node_modules/on-core/node_modules/sails-mongo/lib/adapter.js:86:60)\n    at node_modules/on-core/node_modules/waterline/lib/waterline.js:203:29\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:162:20\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:230:13\n    at _arrayEach (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:81:9)\n    at _each (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:72:13)\n    at Object.async.forEachOf.async.eachOf (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:229:9)\n    at Object.async.forEach.async.each (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:206:22)\n    at Array.async.auto.registerConnections (node_modules/on-core/node_modules/waterline/lib/waterline.js:176:13)\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:590:38\n    at _arrayEach (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:81:9)\n    at Object.async.auto (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:552:9)\n    at Waterline.initialize (node_modules/on-core/node_modules/waterline/lib/waterline.js:121:9)\n    at node_modules/on-core/lib/services/waterline.js:96:26\n    at tryCatcher (node_modules/on-core/node_modules/bluebird/js/main/util.js:26:23)\n    at Promise._resolveFromResolver (node_modules/on-core/node_modules/bluebird/js/main/promise.js:483:31)\n    at new Promise (node_modules/on-core/node_modules/bluebird/js/main/promise.js:71:37)\n    at WaterlineServiceFactory.WaterlineService.initService (node_modules/on-core/lib/services/waterline.js:42:16)\n    at node_modules/on-core/lib/services/waterline.js:120:29\n    at tryCatcher (node_modules/on-core/node_modules/bluebird/js/main/util.js:26:23)\n    at Promise._settlePromiseFromHandler (node_modules/on-core/node_modules/bluebird/js/main/promise.js:510:31)\n    at Promise._settlePromiseAt (node_modules/on-core/node_modules/bluebird/js/main/promise.js:584:18)\n    at Promise._settlePromiseAtPostResolution (node_modules/on-core/node_modules/bluebird/js/main/promise.js:248:10)\n    at Async._drainQueue (node_modules/on-core/node_modules/bluebird/js/main/async.js:128:12)\n    at Async._drainQueues (node_modules/on-core/node_modules/bluebird/js/main/async.js:133:10)\n    at Immediate.Async.drainQueues [as _onImmediate] (node_modules/on-core/node_modules/bluebird/js/main/async.js:15:14)\n\nTest Name: Http.Api.Tags \"after all\" hook: stop HTTP server\nError Details: Cannot read property 'send' of undefined\nStack Trace: TypeError: Cannot read property 'send' of undefined\n    at StatsDService.Client.send (node_modules/on-core/node_modules/node-statsd/lib/statsd.js:221:16)\n    at StatsDService.Client.sendAll (node_modules/on-core/node_modules/node-statsd/lib/statsd.js:181:10)\n    at StatsDService.Client.increment (node_modules/on-core/node_modules/node-statsd/lib/statsd.js:76:8)\n    at StatsDService.stop (node_modules/on-core/lib/services/statsd.js:52:14)\n    at node_modules/on-core/lib/services/core.js:47:28\n    at arrayMap (node_modules/lodash/index.js:1406:25)\n    at Function.map (node_modules/lodash/index.js:6710:14)\n    at CoreService.stop (node_modules/on-core/lib/services/core.js:46:26)\n    at app.js:9:2859\n    at tryCatcher (node_modules/on-core/node_modules/bluebird/js/main/util.js:26:23)\n    at Promise._settlePromiseFromHandler (node_modules/on-core/node_modules/bluebird/js/main/promise.js:510:31)\n    at Promise._settlePromiseAt (node_modules/on-core/node_modules/bluebird/js/main/promise.js:584:18)\n    at Promise._settlePromises (node_modules/on-core/node_modules/bluebird/js/main/promise.js:700:14)\n    at Async._drainQueue (node_modules/on-core/node_modules/bluebird/js/main/async.js:123:16)\n    at Async._drainQueues (node_modules/on-core/node_modules/bluebird/js/main/async.js:133:10)\n    at Immediate.Async.drainQueues [as _onImmediate] (node_modules/on-core/node_modules/bluebird/js/main/async.js:15:14)\n\nTest Name: Http.Api.Config v2.0 \"before all\" hook: start HTTP server\nError Details: Connection is already registered\nStack Trace: AdapterError: Connection is already registered\n    at Object.module.exports.adapter.registerConnection (node_modules/on-core/node_modules/sails-mongo/lib/adapter.js:86:60)\n    at node_modules/on-core/node_modules/waterline/lib/waterline.js:203:29\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:162:20\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:230:13\n    at _arrayEach (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:81:9)\n    at _each (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:72:13)\n    at Object.async.forEachOf.async.eachOf (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:229:9)\n    at Object.async.forEach.async.each (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:206:22)\n    at Array.async.auto.registerConnections (node_modules/on-core/node_modules/waterline/lib/waterline.js:176:13)\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:590:38\n    at _arrayEach (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:81:9)\n    at Object.async.auto (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:552:9)\n    at Waterline.initialize (node_modules/on-core/node_modules/waterline/lib/waterline.js:121:9)\n    at node_modules/on-core/lib/services/waterline.js:96:26\n    at tryCatcher (node_modules/on-core/node_modules/bluebird/js/main/util.js:26:23)\n    at Promise._resolveFromResolver (node_modules/on-core/node_modules/bluebird/js/main/promise.js:483:31)\n    at new Promise (node_modules/on-core/node_modules/bluebird/js/main/promise.js:71:37)\n    at WaterlineServiceFactory.WaterlineService.initService (node_modules/on-core/lib/services/waterline.js:42:16)\n    at node_modules/on-core/lib/services/waterline.js:120:29\n    at tryCatcher (node_modules/on-core/node_modules/bluebird/js/main/util.js:26:23)\n    at Promise._settlePromiseFromHandler (node_modules/on-core/node_modules/bluebird/js/main/promise.js:510:31)\n    at Promise._settlePromiseAt (node_modules/on-core/node_modules/bluebird/js/main/promise.js:584:18)\n    at Promise._settlePromiseAtPostResolution (node_modules/on-core/node_modules/bluebird/js/main/promise.js:248:10)\n    at Async._drainQueue (node_modules/on-core/node_modules/bluebird/js/main/async.js:128:12)\n    at Async._drainQueues (node_modules/on-core/node_modules/bluebird/js/main/async.js:133:10)\n    at Immediate.Async.drainQueues [as _onImmediate] (node_modules/on-core/node_modules/bluebird/js/main/async.js:15:14)\n\nTest Name: Http.Api.Config v2.0 \"after all\" hook: stop HTTP server\nError Details: Cannot read property 'set' of undefined\nStack Trace: TypeError: Cannot read property 'set' of undefined\n    at Context.&lt;anonymous&gt; (spec/lib/api/2.0/config-spec.js:23:22)\n\nTest Name: Http.Api.Ibms \"before all\" hook: start HTTP server\nError Details: Connection is already registered\nStack Trace: AdapterError: Connection is already registered\n    at Object.module.exports.adapter.registerConnection (node_modules/on-core/node_modules/sails-mongo/lib/adapter.js:86:60)\n    at node_modules/on-core/node_modules/waterline/lib/waterline.js:203:29\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:162:20\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:230:13\n    at _arrayEach (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:81:9)\n    at _each (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:72:13)\n    at Object.async.forEachOf.async.eachOf (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:229:9)\n    at Object.async.forEach.async.each (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:206:22)\n    at Array.async.auto.registerConnections (node_modules/on-core/node_modules/waterline/lib/waterline.js:176:13)\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:590:38\n    at _arrayEach (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:81:9)\n    at Object.async.auto (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:552:9)\n    at Waterline.initialize (node_modules/on-core/node_modules/waterline/lib/waterline.js:121:9)\n    at node_modules/on-core/lib/services/waterline.js:96:26\n    at tryCatcher (node_modules/on-core/node_modules/bluebird/js/main/util.js:26:23)\n    at Promise._resolveFromResolver (node_modules/on-core/node_modules/bluebird/js/main/promise.js:483:31)\n    at new Promise (node_modules/on-core/node_modules/bluebird/js/main/promise.js:71:37)\n    at WaterlineServiceFactory.WaterlineService.initService (node_modules/on-core/lib/services/waterline.js:42:16)\n    at node_modules/on-core/lib/services/waterline.js:120:29\n    at tryCatcher (node_modules/on-core/node_modules/bluebird/js/main/util.js:26:23)\n    at Promise._settlePromiseFromHandler (node_modules/on-core/node_modules/bluebird/js/main/promise.js:510:31)\n    at Promise._settlePromiseAt (node_modules/on-core/node_modules/bluebird/js/main/promise.js:584:18)\n    at Promise._settlePromiseAtPostResolution (node_modules/on-core/node_modules/bluebird/js/main/promise.js:248:10)\n    at Async._drainQueue (node_modules/on-core/node_modules/bluebird/js/main/async.js:128:12)\n    at Async._drainQueues (node_modules/on-core/node_modules/bluebird/js/main/async.js:133:10)\n    at Immediate.Async.drainQueues [as _onImmediate] (node_modules/on-core/node_modules/bluebird/js/main/async.js:15:14)\n\nTest Name: Http.Api.Ibms \"after all\" hook: stop HTTP server\nError Details: Cannot read property 'send' of undefined\nStack Trace: TypeError: Cannot read property 'send' of undefined\n    at StatsDService.Client.send (node_modules/on-core/node_modules/node-statsd/lib/statsd.js:221:16)\n    at StatsDService.Client.sendAll (node_modules/on-core/node_modules/node-statsd/lib/statsd.js:181:10)\n    at StatsDService.Client.increment (node_modules/on-core/node_modules/node-statsd/lib/statsd.js:76:8)\n    at StatsDService.stop (node_modules/on-core/lib/services/statsd.js:52:14)\n    at node_modules/on-core/lib/services/core.js:47:28\n    at arrayMap (node_modules/lodash/index.js:1406:25)\n    at Function.map (node_modules/lodash/index.js:6710:14)\n    at CoreService.stop (node_modules/on-core/lib/services/core.js:46:26)\n    at app.js:9:2859\n    at tryCatcher (node_modules/on-core/node_modules/bluebird/js/main/util.js:26:23)\n    at Promise._settlePromiseFromHandler (node_modules/on-core/node_modules/bluebird/js/main/promise.js:510:31)\n    at Promise._settlePromiseAt (node_modules/on-core/node_modules/bluebird/js/main/promise.js:584:18)\n    at Promise._settlePromises (node_modules/on-core/node_modules/bluebird/js/main/promise.js:700:14)\n    at Async._drainQueue (node_modules/on-core/node_modules/bluebird/js/main/async.js:123:16)\n    at Async._drainQueues (node_modules/on-core/node_modules/bluebird/js/main/async.js:133:10)\n    at Immediate.Async.drainQueues [as _onImmediate] (node_modules/on-core/node_modules/bluebird/js/main/async.js:15:14)\n\nTest Name: Http.Api.Hooks v2.0 \"before all\" hook: start HTTP server\nError Details: Connection is already registered\nStack Trace: AdapterError: Connection is already registered\n    at Object.module.exports.adapter.registerConnection (node_modules/on-core/node_modules/sails-mongo/lib/adapter.js:86:60)\n    at node_modules/on-core/node_modules/waterline/lib/waterline.js:203:29\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:162:20\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:230:13\n    at _arrayEach (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:81:9)\n    at _each (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:72:13)\n    at Object.async.forEachOf.async.eachOf (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:229:9)\n    at Object.async.forEach.async.each (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:206:22)\n    at Array.async.auto.registerConnections (node_modules/on-core/node_modules/waterline/lib/waterline.js:176:13)\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:590:38\n    at _arrayEach (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:81:9)\n    at Object.async.auto (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:552:9)\n    at Waterline.initialize (node_modules/on-core/node_modules/waterline/lib/waterline.js:121:9)\n    at node_modules/on-core/lib/services/waterline.js:96:26\n    at tryCatcher (node_modules/on-core/node_modules/bluebird/js/main/util.js:26:23)\n    at Promise._resolveFromResolver (node_modules/on-core/node_modules/bluebird/js/main/promise.js:483:31)\n    at new Promise (node_modules/on-core/node_modules/bluebird/js/main/promise.js:71:37)\n    at WaterlineServiceFactory.WaterlineService.initService (node_modules/on-core/lib/services/waterline.js:42:16)\n    at node_modules/on-core/lib/services/waterline.js:120:29\n    at tryCatcher (node_modules/on-core/node_modules/bluebird/js/main/util.js:26:23)\n    at Promise._settlePromiseFromHandler (node_modules/on-core/node_modules/bluebird/js/main/promise.js:510:31)\n    at Promise._settlePromiseAt (node_modules/on-core/node_modules/bluebird/js/main/promise.js:584:18)\n    at Promise._settlePromiseAtPostResolution (node_modules/on-core/node_modules/bluebird/js/main/promise.js:248:10)\n    at Async._drainQueue (node_modules/on-core/node_modules/bluebird/js/main/async.js:128:12)\n    at Async._drainQueues (node_modules/on-core/node_modules/bluebird/js/main/async.js:133:10)\n    at Immediate.Async.drainQueues [as _onImmediate] (node_modules/on-core/node_modules/bluebird/js/main/async.js:15:14)\n\nTest Name: Http.Api.Hooks v2.0 \"after all\" hook: stop HTTP server\nError Details: Cannot read property 'send' of undefined\nStack Trace: TypeError: Cannot read property 'send' of undefined\n    at StatsDService.Client.send (node_modules/on-core/node_modules/node-statsd/lib/statsd.js:221:16)\n    at StatsDService.Client.sendAll (node_modules/on-core/node_modules/node-statsd/lib/statsd.js:181:10)\n    at StatsDService.Client.increment (node_modules/on-core/node_modules/node-statsd/lib/statsd.js:76:8)\n    at StatsDService.stop (node_modules/on-core/lib/services/statsd.js:52:14)\n    at node_modules/on-core/lib/services/core.js:47:28\n    at arrayMap (node_modules/lodash/index.js:1406:25)\n    at Function.map (node_modules/lodash/index.js:6710:14)\n    at CoreService.stop (node_modules/on-core/lib/services/core.js:46:26)\n    at app.js:9:2859\n    at tryCatcher (node_modules/on-core/node_modules/bluebird/js/main/util.js:26:23)\n    at Promise._settlePromiseFromHandler (node_modules/on-core/node_modules/bluebird/js/main/promise.js:510:31)\n    at Promise._settlePromiseAt (node_modules/on-core/node_modules/bluebird/js/main/promise.js:584:18)\n    at Promise._settlePromises (node_modules/on-core/node_modules/bluebird/js/main/promise.js:700:14)\n    at Async._drainQueue (node_modules/on-core/node_modules/bluebird/js/main/async.js:123:16)\n    at Async._drainQueues (node_modules/on-core/node_modules/bluebird/js/main/async.js:133:10)\n    at Immediate.Async.drainQueues [as _onImmediate] (node_modules/on-core/node_modules/bluebird/js/main/async.js:15:14)\n\nTest Name: Http.Api.Notification \"before all\" hook: start HTTP server\nError Details: Connection is already registered\nStack Trace: AdapterError: Connection is already registered\n    at Object.module.exports.adapter.registerConnection (node_modules/on-core/node_modules/sails-mongo/lib/adapter.js:86:60)\n    at node_modules/on-core/node_modules/waterline/lib/waterline.js:203:29\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:162:20\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:230:13\n    at _arrayEach (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:81:9)\n    at _each (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:72:13)\n    at Object.async.forEachOf.async.eachOf (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:229:9)\n    at Object.async.forEach.async.each (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:206:22)\n    at Array.async.auto.registerConnections (node_modules/on-core/node_modules/waterline/lib/waterline.js:176:13)\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:590:38\n    at _arrayEach (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:81:9)\n    at Object.async.auto (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:552:9)\n    at Waterline.initialize (node_modules/on-core/node_modules/waterline/lib/waterline.js:121:9)\n    at node_modules/on-core/lib/services/waterline.js:96:26\n    at tryCatcher (node_modules/on-core/node_modules/bluebird/js/main/util.js:26:23)\n    at Promise._resolveFromResolver (node_modules/on-core/node_modules/bluebird/js/main/promise.js:483:31)\n    at new Promise (node_modules/on-core/node_modules/bluebird/js/main/promise.js:71:37)\n    at WaterlineServiceFactory.WaterlineService.initService (node_modules/on-core/lib/services/waterline.js:42:16)\n    at node_modules/on-core/lib/services/waterline.js:120:29\n    at tryCatcher (node_modules/on-core/node_modules/bluebird/js/main/util.js:26:23)\n    at Promise._settlePromiseFromHandler (node_modules/on-core/node_modules/bluebird/js/main/promise.js:510:31)\n    at Promise._settlePromiseAt (node_modules/on-core/node_modules/bluebird/js/main/promise.js:584:18)\n    at Promise._settlePromiseAtPostResolution (node_modules/on-core/node_modules/bluebird/js/main/promise.js:248:10)\n    at Async._drainQueue (node_modules/on-core/node_modules/bluebird/js/main/async.js:128:12)\n    at Async._drainQueues (node_modules/on-core/node_modules/bluebird/js/main/async.js:133:10)\n    at Immediate.Async.drainQueues [as _onImmediate] (node_modules/on-core/node_modules/bluebird/js/main/async.js:15:14)\n\nTest Name: Http.Api.Notification \"after all\" hook: stop HTTP server\nError Details: Cannot read property 'send' of undefined\nStack Trace: TypeError: Cannot read property 'send' of undefined\n    at StatsDService.Client.send (node_modules/on-core/node_modules/node-statsd/lib/statsd.js:221:16)\n    at StatsDService.Client.sendAll (node_modules/on-core/node_modules/node-statsd/lib/statsd.js:181:10)\n    at StatsDService.Client.increment (node_modules/on-core/node_modules/node-statsd/lib/statsd.js:76:8)\n    at StatsDService.stop (node_modules/on-core/lib/services/statsd.js:52:14)\n    at node_modules/on-core/lib/services/core.js:47:28\n    at arrayMap (node_modules/lodash/index.js:1406:25)\n    at Function.map (node_modules/lodash/index.js:6710:14)\n    at CoreService.stop (node_modules/on-core/lib/services/core.js:46:26)\n    at app.js:9:2859\n    at tryCatcher (node_modules/on-core/node_modules/bluebird/js/main/util.js:26:23)\n    at Promise._settlePromiseFromHandler (node_modules/on-core/node_modules/bluebird/js/main/promise.js:510:31)\n    at Promise._settlePromiseAt (node_modules/on-core/node_modules/bluebird/js/main/promise.js:584:18)\n    at Promise._settlePromises (node_modules/on-core/node_modules/bluebird/js/main/promise.js:700:14)\n    at Async._drainQueue (node_modules/on-core/node_modules/bluebird/js/main/async.js:123:16)\n    at Async._drainQueues (node_modules/on-core/node_modules/bluebird/js/main/async.js:133:10)\n    at Immediate.Async.drainQueues [as _onImmediate] (node_modules/on-core/node_modules/bluebird/js/main/async.js:15:14)\n\nTest Name: Http.Api.Obms \"before all\" hook: start HTTP server\nError Details: Connection is already registered\nStack Trace: AdapterError: Connection is already registered\n    at Object.module.exports.adapter.registerConnection (node_modules/on-core/node_modules/sails-mongo/lib/adapter.js:86:60)\n    at node_modules/on-core/node_modules/waterline/lib/waterline.js:203:29\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:162:20\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:230:13\n    at _arrayEach (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:81:9)\n    at _each (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:72:13)\n    at Object.async.forEachOf.async.eachOf (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:229:9)\n    at Object.async.forEach.async.each (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:206:22)\n    at Array.async.auto.registerConnections (node_modules/on-core/node_modules/waterline/lib/waterline.js:176:13)\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:590:38\n    at _arrayEach (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:81:9)\n    at Object.async.auto (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:552:9)\n    at Waterline.initialize (node_modules/on-core/node_modules/waterline/lib/waterline.js:121:9)\n    at node_modules/on-core/lib/services/waterline.js:96:26\n    at tryCatcher (node_modules/on-core/node_modules/bluebird/js/main/util.js:26:23)\n    at Promise._resolveFromResolver (node_modules/on-core/node_modules/bluebird/js/main/promise.js:483:31)\n    at new Promise (node_modules/on-core/node_modules/bluebird/js/main/promise.js:71:37)\n    at WaterlineServiceFactory.WaterlineService.initService (node_modules/on-core/lib/services/waterline.js:42:16)\n    at node_modules/on-core/lib/services/waterline.js:120:29\n    at tryCatcher (node_modules/on-core/node_modules/bluebird/js/main/util.js:26:23)\n    at Promise._settlePromiseFromHandler (node_modules/on-core/node_modules/bluebird/js/main/promise.js:510:31)\n    at Promise._settlePromiseAt (node_modules/on-core/node_modules/bluebird/js/main/promise.js:584:18)\n    at Promise._settlePromiseAtPostResolution (node_modules/on-core/node_modules/bluebird/js/main/promise.js:248:10)\n    at Async._drainQueue (node_modules/on-core/node_modules/bluebird/js/main/async.js:128:12)\n    at Async._drainQueues (node_modules/on-core/node_modules/bluebird/js/main/async.js:133:10)\n    at Immediate.Async.drainQueues [as _onImmediate] (node_modules/on-core/node_modules/bluebird/js/main/async.js:15:14)\n\nTest Name: Http.Api.Obms \"after all\" hook: stop HTTP server\nError Details: Cannot read property 'send' of undefined\nStack Trace: TypeError: Cannot read property 'send' of undefined\n    at StatsDService.Client.send (node_modules/on-core/node_modules/node-statsd/lib/statsd.js:221:16)\n    at StatsDService.Client.sendAll (node_modules/on-core/node_modules/node-statsd/lib/statsd.js:181:10)\n    at StatsDService.Client.increment (node_modules/on-core/node_modules/node-statsd/lib/statsd.js:76:8)\n    at StatsDService.stop (node_modules/on-core/lib/services/statsd.js:52:14)\n    at node_modules/on-core/lib/services/core.js:47:28\n    at arrayMap (node_modules/lodash/index.js:1406:25)\n    at Function.map (node_modules/lodash/index.js:6710:14)\n    at CoreService.stop (node_modules/on-core/lib/services/core.js:46:26)\n    at app.js:9:2859\n    at tryCatcher (node_modules/on-core/node_modules/bluebird/js/main/util.js:26:23)\n    at Promise._settlePromiseFromHandler (node_modules/on-core/node_modules/bluebird/js/main/promise.js:510:31)\n    at Promise._settlePromiseAt (node_modules/on-core/node_modules/bluebird/js/main/promise.js:584:18)\n    at Promise._settlePromises (node_modules/on-core/node_modules/bluebird/js/main/promise.js:700:14)\n    at Async._drainQueue (node_modules/on-core/node_modules/bluebird/js/main/async.js:123:16)\n    at Async._drainQueues (node_modules/on-core/node_modules/bluebird/js/main/async.js:133:10)\n    at Immediate.Async.drainQueues [as _onImmediate] (node_modules/on-core/node_modules/bluebird/js/main/async.js:15:14)\n\nTest Name: Http.Api.Lookup 2.0 \"before all\" hook: start HTTP server\nError Details: Connection is already registered\nStack Trace: AdapterError: Connection is already registered\n    at Object.module.exports.adapter.registerConnection (node_modules/on-core/node_modules/sails-mongo/lib/adapter.js:86:60)\n    at node_modules/on-core/node_modules/waterline/lib/waterline.js:203:29\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:162:20\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:230:13\n    at _arrayEach (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:81:9)\n    at _each (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:72:13)\n    at Object.async.forEachOf.async.eachOf (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:229:9)\n    at Object.async.forEach.async.each (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:206:22)\n    at Array.async.auto.registerConnections (node_modules/on-core/node_modules/waterline/lib/waterline.js:176:13)\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:590:38\n    at _arrayEach (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:81:9)\n    at Object.async.auto (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:552:9)\n    at Waterline.initialize (node_modules/on-core/node_modules/waterline/lib/waterline.js:121:9)\n    at node_modules/on-core/lib/services/waterline.js:96:26\n    at tryCatcher (node_modules/on-core/node_modules/bluebird/js/main/util.js:26:23)\n    at Promise._resolveFromResolver (node_modules/on-core/node_modules/bluebird/js/main/promise.js:483:31)\n    at new Promise (node_modules/on-core/node_modules/bluebird/js/main/promise.js:71:37)\n    at WaterlineServiceFactory.WaterlineService.initService (node_modules/on-core/lib/services/waterline.js:42:16)\n    at node_modules/on-core/lib/services/waterline.js:120:29\n    at tryCatcher (node_modules/on-core/node_modules/bluebird/js/main/util.js:26:23)\n    at Promise._settlePromiseFromHandler (node_modules/on-core/node_modules/bluebird/js/main/promise.js:510:31)\n    at Promise._settlePromiseAt (node_modules/on-core/node_modules/bluebird/js/main/promise.js:584:18)\n    at Promise._settlePromiseAtPostResolution (node_modules/on-core/node_modules/bluebird/js/main/promise.js:248:10)\n    at Async._drainQueue (node_modules/on-core/node_modules/bluebird/js/main/async.js:128:12)\n    at Async._drainQueues (node_modules/on-core/node_modules/bluebird/js/main/async.js:133:10)\n    at Immediate.Async.drainQueues [as _onImmediate] (node_modules/on-core/node_modules/bluebird/js/main/async.js:15:14)\n\nTest Name: Http.Api.Lookup 2.0 \"after all\" hook: stop HTTP server\nError Details: Cannot read property 'restore' of undefined\nStack Trace: TypeError: Cannot read property 'restore' of undefined\n    at Context.&lt;anonymous&gt; (spec/lib/api/2.0/lookups-spec.js:80:19)\n\nTest Name: 2.0 Http.Api.Catalogs \"before all\" hook: start HTTP server\nError Details: Connection is already registered\nStack Trace: AdapterError: Connection is already registered\n    at Object.module.exports.adapter.registerConnection (node_modules/on-core/node_modules/sails-mongo/lib/adapter.js:86:60)\n    at node_modules/on-core/node_modules/waterline/lib/waterline.js:203:29\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:162:20\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:230:13\n    at _arrayEach (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:81:9)\n    at _each (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:72:13)\n    at Object.async.forEachOf.async.eachOf (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:229:9)\n    at Object.async.forEach.async.each (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:206:22)\n    at Array.async.auto.registerConnections (node_modules/on-core/node_modules/waterline/lib/waterline.js:176:13)\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:590:38\n    at _arrayEach (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:81:9)\n    at Object.async.auto (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:552:9)\n    at Waterline.initialize (node_modules/on-core/node_modules/waterline/lib/waterline.js:121:9)\n    at node_modules/on-core/lib/services/waterline.js:96:26\n    at tryCatcher (node_modules/on-core/node_modules/bluebird/js/main/util.js:26:23)\n    at Promise._resolveFromResolver (node_modules/on-core/node_modules/bluebird/js/main/promise.js:483:31)\n    at new Promise (node_modules/on-core/node_modules/bluebird/js/main/promise.js:71:37)\n    at WaterlineServiceFactory.WaterlineService.initService (node_modules/on-core/lib/services/waterline.js:42:16)\n    at node_modules/on-core/lib/services/waterline.js:120:29\n    at tryCatcher (node_modules/on-core/node_modules/bluebird/js/main/util.js:26:23)\n    at Promise._settlePromiseFromHandler (node_modules/on-core/node_modules/bluebird/js/main/promise.js:510:31)\n    at Promise._settlePromiseAt (node_modules/on-core/node_modules/bluebird/js/main/promise.js:584:18)\n    at Promise._settlePromiseAtPostResolution (node_modules/on-core/node_modules/bluebird/js/main/promise.js:248:10)\n    at Async._drainQueue (node_modules/on-core/node_modules/bluebird/js/main/async.js:128:12)\n    at Async._drainQueues (node_modules/on-core/node_modules/bluebird/js/main/async.js:133:10)\n    at Immediate.Async.drainQueues [as _onImmediate] (node_modules/on-core/node_modules/bluebird/js/main/async.js:15:14)\n\nTest Name: 2.0 Http.Api.Catalogs \"after all\" hook: stop HTTP server\nError Details: Cannot read property 'restore' of undefined\nStack Trace: TypeError: Cannot read property 'restore' of undefined\n    at Context.&lt;anonymous&gt; (spec/lib/api/2.0/catalogs-spec.js:34:17)\n\nTest Name: 2.0 Http.Api.Nodes \"before all\" hook: start HTTP server\nError Details: Connection is already registered\nStack Trace: AdapterError: Connection is already registered\n    at Object.module.exports.adapter.registerConnection (node_modules/on-core/node_modules/sails-mongo/lib/adapter.js:86:60)\n    at node_modules/on-core/node_modules/waterline/lib/waterline.js:203:29\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:162:20\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:230:13\n    at _arrayEach (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:81:9)\n    at _each (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:72:13)\n    at Object.async.forEachOf.async.eachOf (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:229:9)\n    at Object.async.forEach.async.each (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:206:22)\n    at Array.async.auto.registerConnections (node_modules/on-core/node_modules/waterline/lib/waterline.js:176:13)\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:590:38\n    at _arrayEach (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:81:9)\n    at Object.async.auto (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:552:9)\n    at Waterline.initialize (node_modules/on-core/node_modules/waterline/lib/waterline.js:121:9)\n    at node_modules/on-core/lib/services/waterline.js:96:26\n    at tryCatcher (node_modules/on-core/node_modules/bluebird/js/main/util.js:26:23)\n    at Promise._resolveFromResolver (node_modules/on-core/node_modules/bluebird/js/main/promise.js:483:31)\n    at new Promise (node_modules/on-core/node_modules/bluebird/js/main/promise.js:71:37)\n    at WaterlineServiceFactory.WaterlineService.initService (node_modules/on-core/lib/services/waterline.js:42:16)\n    at node_modules/on-core/lib/services/waterline.js:120:29\n    at tryCatcher (node_modules/on-core/node_modules/bluebird/js/main/util.js:26:23)\n    at Promise._settlePromiseFromHandler (node_modules/on-core/node_modules/bluebird/js/main/promise.js:510:31)\n    at Promise._settlePromiseAt (node_modules/on-core/node_modules/bluebird/js/main/promise.js:584:18)\n    at Promise._settlePromiseAtPostResolution (node_modules/on-core/node_modules/bluebird/js/main/promise.js:248:10)\n    at Async._drainQueue (node_modules/on-core/node_modules/bluebird/js/main/async.js:128:12)\n    at Async._drainQueues (node_modules/on-core/node_modules/bluebird/js/main/async.js:133:10)\n    at Immediate.Async.drainQueues [as _onImmediate] (node_modules/on-core/node_modules/bluebird/js/main/async.js:15:14)\n\nTest Name: 2.0 Http.Api.Nodes \"after all\" hook: stop HTTP server\nError Details: Cannot read property 'send' of undefined\nStack Trace: TypeError: Cannot read property 'send' of undefined\n    at StatsDService.Client.send (node_modules/on-core/node_modules/node-statsd/lib/statsd.js:221:16)\n    at StatsDService.Client.sendAll (node_modules/on-core/node_modules/node-statsd/lib/statsd.js:181:10)\n    at StatsDService.Client.increment (node_modules/on-core/node_modules/node-statsd/lib/statsd.js:76:8)\n    at StatsDService.stop (node_modules/on-core/lib/services/statsd.js:52:14)\n    at node_modules/on-core/lib/services/core.js:47:28\n    at arrayMap (node_modules/lodash/index.js:1406:25)\n    at Function.map (node_modules/lodash/index.js:6710:14)\n    at CoreService.stop (node_modules/on-core/lib/services/core.js:46:26)\n    at app.js:9:2859\n    at tryCatcher (node_modules/on-core/node_modules/bluebird/js/main/util.js:26:23)\n    at Promise._settlePromiseFromHandler (node_modules/on-core/node_modules/bluebird/js/main/promise.js:510:31)\n    at Promise._settlePromiseAt (node_modules/on-core/node_modules/bluebird/js/main/promise.js:584:18)\n    at Promise._settlePromises (node_modules/on-core/node_modules/bluebird/js/main/promise.js:700:14)\n    at Async._drainQueue (node_modules/on-core/node_modules/bluebird/js/main/async.js:123:16)\n    at Async._drainQueues (node_modules/on-core/node_modules/bluebird/js/main/async.js:133:10)\n    at Immediate.Async.drainQueues [as _onImmediate] (node_modules/on-core/node_modules/bluebird/js/main/async.js:15:14)\n\nTest Name: Http.Api.Tasks \"before all\" hook: start HTTP server\nError Details: Connection is already registered\nStack Trace: AdapterError: Connection is already registered\n    at Object.module.exports.adapter.registerConnection (node_modules/on-core/node_modules/sails-mongo/lib/adapter.js:86:60)\n    at node_modules/on-core/node_modules/waterline/lib/waterline.js:203:29\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:162:20\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:230:13\n    at _arrayEach (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:81:9)\n    at _each (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:72:13)\n    at Object.async.forEachOf.async.eachOf (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:229:9)\n    at Object.async.forEach.async.each (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:206:22)\n    at Array.async.auto.registerConnections (node_modules/on-core/node_modules/waterline/lib/waterline.js:176:13)\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:590:38\n    at _arrayEach (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:81:9)\n    at Object.async.auto (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:552:9)\n    at Waterline.initialize (node_modules/on-core/node_modules/waterline/lib/waterline.js:121:9)\n    at node_modules/on-core/lib/services/waterline.js:96:26\n    at tryCatcher (node_modules/on-core/node_modules/bluebird/js/main/util.js:26:23)\n    at Promise._resolveFromResolver (node_modules/on-core/node_modules/bluebird/js/main/promise.js:483:31)\n    at new Promise (node_modules/on-core/node_modules/bluebird/js/main/promise.js:71:37)\n    at WaterlineServiceFactory.WaterlineService.initService (node_modules/on-core/lib/services/waterline.js:42:16)\n    at node_modules/on-core/lib/services/waterline.js:120:29\n    at tryCatcher (node_modules/on-core/node_modules/bluebird/js/main/util.js:26:23)\n    at Promise._settlePromiseFromHandler (node_modules/on-core/node_modules/bluebird/js/main/promise.js:510:31)\n    at Promise._settlePromiseAt (node_modules/on-core/node_modules/bluebird/js/main/promise.js:584:18)\n    at Promise._settlePromiseAtPostResolution (node_modules/on-core/node_modules/bluebird/js/main/promise.js:248:10)\n    at Async._drainQueue (node_modules/on-core/node_modules/bluebird/js/main/async.js:128:12)\n    at Async._drainQueues (node_modules/on-core/node_modules/bluebird/js/main/async.js:133:10)\n    at Immediate.Async.drainQueues [as _onImmediate] (node_modules/on-core/node_modules/bluebird/js/main/async.js:15:14)\n\nTest Name: Http.Api.Tasks \"after all\" hook: stop HTTP server\nError Details: Cannot read property 'send' of undefined\nStack Trace: TypeError: Cannot read property 'send' of undefined\n    at StatsDService.Client.send (node_modules/on-core/node_modules/node-statsd/lib/statsd.js:221:16)\n    at StatsDService.Client.sendAll (node_modules/on-core/node_modules/node-statsd/lib/statsd.js:181:10)\n    at StatsDService.Client.increment (node_modules/on-core/node_modules/node-statsd/lib/statsd.js:76:8)\n    at StatsDService.stop (node_modules/on-core/lib/services/statsd.js:52:14)\n    at node_modules/on-core/lib/services/core.js:47:28\n    at arrayMap (node_modules/lodash/index.js:1406:25)\n    at Function.map (node_modules/lodash/index.js:6710:14)\n    at CoreService.stop (node_modules/on-core/lib/services/core.js:46:26)\n    at app.js:9:2859\n    at tryCatcher (node_modules/on-core/node_modules/bluebird/js/main/util.js:26:23)\n    at Promise._settlePromiseFromHandler (node_modules/on-core/node_modules/bluebird/js/main/promise.js:510:31)\n    at Promise._settlePromiseAt (node_modules/on-core/node_modules/bluebird/js/main/promise.js:584:18)\n    at Promise._settlePromises (node_modules/on-core/node_modules/bluebird/js/main/promise.js:700:14)\n    at Async._drainQueue (node_modules/on-core/node_modules/bluebird/js/main/async.js:123:16)\n    at Async._drainQueues (node_modules/on-core/node_modules/bluebird/js/main/async.js:133:10)\n    at Immediate.Async.drainQueues [as _onImmediate] (node_modules/on-core/node_modules/bluebird/js/main/async.js:15:14)\n\nTest Name: Redfish Update Service \"before all\" hook: start HTTP server\nError Details: Connection is already registered\nStack Trace: AdapterError: Connection is already registered\n    at Object.module.exports.adapter.registerConnection (node_modules/on-core/node_modules/sails-mongo/lib/adapter.js:86:60)\n    at node_modules/on-core/node_modules/waterline/lib/waterline.js:203:29\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:162:20\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:230:13\n    at _arrayEach (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:81:9)\n    at _each (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:72:13)\n    at Object.async.forEachOf.async.eachOf (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:229:9)\n    at Object.async.forEach.async.each (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:206:22)\n    at Array.async.auto.registerConnections (node_modules/on-core/node_modules/waterline/lib/waterline.js:176:13)\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:590:38\n    at _arrayEach (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:81:9)\n    at Object.async.auto (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:552:9)\n    at Waterline.initialize (node_modules/on-core/node_modules/waterline/lib/waterline.js:121:9)\n    at node_modules/on-core/lib/services/waterline.js:96:26\n    at tryCatcher (node_modules/on-core/node_modules/bluebird/js/main/util.js:26:23)\n    at Promise._resolveFromResolver (node_modules/on-core/node_modules/bluebird/js/main/promise.js:483:31)\n    at new Promise (node_modules/on-core/node_modules/bluebird/js/main/promise.js:71:37)\n    at WaterlineServiceFactory.WaterlineService.initService (node_modules/on-core/lib/services/waterline.js:42:16)\n    at node_modules/on-core/lib/services/waterline.js:120:29\n    at tryCatcher (node_modules/on-core/node_modules/bluebird/js/main/util.js:26:23)\n    at Promise._settlePromiseFromHandler (node_modules/on-core/node_modules/bluebird/js/main/promise.js:510:31)\n    at Promise._settlePromiseAt (node_modules/on-core/node_modules/bluebird/js/main/promise.js:584:18)\n    at Promise._settlePromiseAtPostResolution (node_modules/on-core/node_modules/bluebird/js/main/promise.js:248:10)\n    at Async._drainQueue (node_modules/on-core/node_modules/bluebird/js/main/async.js:128:12)\n    at Async._drainQueues (node_modules/on-core/node_modules/bluebird/js/main/async.js:133:10)\n    at Immediate.Async.drainQueues [as _onImmediate] (node_modules/on-core/node_modules/bluebird/js/main/async.js:15:14)\n\nTest Name: Redfish Update Service \"after all\" hook: stop HTTP server\nError Details: Cannot read property 'send' of undefined\nStack Trace: TypeError: Cannot read property 'send' of undefined\n    at StatsDService.Client.send (node_modules/on-core/node_modules/node-statsd/lib/statsd.js:221:16)\n    at StatsDService.Client.sendAll (node_modules/on-core/node_modules/node-statsd/lib/statsd.js:181:10)\n    at StatsDService.Client.increment (node_modules/on-core/node_modules/node-statsd/lib/statsd.js:76:8)\n    at StatsDService.stop (node_modules/on-core/lib/services/statsd.js:52:14)\n    at node_modules/on-core/lib/services/core.js:47:28\n    at arrayMap (node_modules/lodash/index.js:1406:25)\n    at Function.map (node_modules/lodash/index.js:6710:14)\n    at CoreService.stop (node_modules/on-core/lib/services/core.js:46:26)\n    at app.js:9:2859\n    at tryCatcher (node_modules/on-core/node_modules/bluebird/js/main/util.js:26:23)\n    at Promise._settlePromiseFromHandler (node_modules/on-core/node_modules/bluebird/js/main/promise.js:510:31)\n    at Promise._settlePromiseAt (node_modules/on-core/node_modules/bluebird/js/main/promise.js:584:18)\n    at Promise._settlePromises (node_modules/on-core/node_modules/bluebird/js/main/promise.js:700:14)\n    at Async._drainQueue (node_modules/on-core/node_modules/bluebird/js/main/async.js:123:16)\n    at Async._drainQueues (node_modules/on-core/node_modules/bluebird/js/main/async.js:133:10)\n    at Immediate.Async.drainQueues [as _onImmediate] (node_modules/on-core/node_modules/bluebird/js/main/async.js:15:14)\n\nTest Name: Redfish Roles \"before all\" hook: start HTTP server\nError Details: Connection is already registered\nStack Trace: AdapterError: Connection is already registered\n    at Object.module.exports.adapter.registerConnection (node_modules/on-core/node_modules/sails-mongo/lib/adapter.js:86:60)\n    at node_modules/on-core/node_modules/waterline/lib/waterline.js:203:29\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:162:20\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:230:13\n    at _arrayEach (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:81:9)\n    at _each (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:72:13)\n    at Object.async.forEachOf.async.eachOf (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:229:9)\n    at Object.async.forEach.async.each (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:206:22)\n    at Array.async.auto.registerConnections (node_modules/on-core/node_modules/waterline/lib/waterline.js:176:13)\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:590:38\n    at _arrayEach (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:81:9)\n    at Object.async.auto (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:552:9)\n    at Waterline.initialize (node_modules/on-core/node_modules/waterline/lib/waterline.js:121:9)\n    at node_modules/on-core/lib/services/waterline.js:96:26\n    at tryCatcher (node_modules/on-core/node_modules/bluebird/js/main/util.js:26:23)\n    at Promise._resolveFromResolver (node_modules/on-core/node_modules/bluebird/js/main/promise.js:483:31)\n    at new Promise (node_modules/on-core/node_modules/bluebird/js/main/promise.js:71:37)\n    at WaterlineServiceFactory.WaterlineService.initService (node_modules/on-core/lib/services/waterline.js:42:16)\n    at node_modules/on-core/lib/services/waterline.js:120:29\n    at tryCatcher (node_modules/on-core/node_modules/bluebird/js/main/util.js:26:23)\n    at Promise._settlePromiseFromHandler (node_modules/on-core/node_modules/bluebird/js/main/promise.js:510:31)\n    at Promise._settlePromiseAt (node_modules/on-core/node_modules/bluebird/js/main/promise.js:584:18)\n    at Promise._settlePromiseAtPostResolution (node_modules/on-core/node_modules/bluebird/js/main/promise.js:248:10)\n    at Async._drainQueue (node_modules/on-core/node_modules/bluebird/js/main/async.js:128:12)\n    at Async._drainQueues (node_modules/on-core/node_modules/bluebird/js/main/async.js:133:10)\n    at Immediate.Async.drainQueues [as _onImmediate] (node_modules/on-core/node_modules/bluebird/js/main/async.js:15:14)\n\nTest Name: Redfish Roles \"after all\" hook: stop HTTP server\nError Details: Cannot read property 'render' of undefined\nStack Trace: TypeError: Cannot read property 'render' of undefined\n    at Context.&lt;anonymous&gt; (spec/lib/api/redfish-1.0/roles-spec.js:22:16)\n\nTest Name: Redfish Registries \"before all\" hook: start HTTP server\nError Details: Connection is already registered\nStack Trace: AdapterError: Connection is already registered\n    at Object.module.exports.adapter.registerConnection (node_modules/on-core/node_modules/sails-mongo/lib/adapter.js:86:60)\n    at node_modules/on-core/node_modules/waterline/lib/waterline.js:203:29\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:162:20\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:230:13\n    at _arrayEach (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:81:9)\n    at _each (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:72:13)\n    at Object.async.forEachOf.async.eachOf (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:229:9)\n    at Object.async.forEach.async.each (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:206:22)\n    at Array.async.auto.registerConnections (node_modules/on-core/node_modules/waterline/lib/waterline.js:176:13)\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:590:38\n    at _arrayEach (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:81:9)\n    at Object.async.auto (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:552:9)\n    at Waterline.initialize (node_modules/on-core/node_modules/waterline/lib/waterline.js:121:9)\n    at node_modules/on-core/lib/services/waterline.js:96:26\n    at tryCatcher (node_modules/on-core/node_modules/bluebird/js/main/util.js:26:23)\n    at Promise._resolveFromResolver (node_modules/on-core/node_modules/bluebird/js/main/promise.js:483:31)\n    at new Promise (node_modules/on-core/node_modules/bluebird/js/main/promise.js:71:37)\n    at WaterlineServiceFactory.WaterlineService.initService (node_modules/on-core/lib/services/waterline.js:42:16)\n    at node_modules/on-core/lib/services/waterline.js:120:29\n    at tryCatcher (node_modules/on-core/node_modules/bluebird/js/main/util.js:26:23)\n    at Promise._settlePromiseFromHandler (node_modules/on-core/node_modules/bluebird/js/main/promise.js:510:31)\n    at Promise._settlePromiseAt (node_modules/on-core/node_modules/bluebird/js/main/promise.js:584:18)\n    at Promise._settlePromiseAtPostResolution (node_modules/on-core/node_modules/bluebird/js/main/promise.js:248:10)\n    at Async._drainQueue (node_modules/on-core/node_modules/bluebird/js/main/async.js:128:12)\n    at Async._drainQueues (node_modules/on-core/node_modules/bluebird/js/main/async.js:133:10)\n    at Immediate.Async.drainQueues [as _onImmediate] (node_modules/on-core/node_modules/bluebird/js/main/async.js:15:14)\n\nTest Name: Redfish Registries \"after all\" hook: stop HTTP server\nError Details: Cannot read property 'validate' of undefined\nStack Trace: TypeError: Cannot read property 'validate' of undefined\n    at Context.&lt;anonymous&gt; (spec/lib/api/redfish-1.0/registry-spec.js:51:18)\n\nTest Name: Redfish Session Service \"before all\" hook: start HTTP server\nError Details: Connection is already registered\nStack Trace: AdapterError: Connection is already registered\n    at Object.module.exports.adapter.registerConnection (node_modules/on-core/node_modules/sails-mongo/lib/adapter.js:86:60)\n    at node_modules/on-core/node_modules/waterline/lib/waterline.js:203:29\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:162:20\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:230:13\n    at _arrayEach (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:81:9)\n    at _each (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:72:13)\n    at Object.async.forEachOf.async.eachOf (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:229:9)\n    at Object.async.forEach.async.each (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:206:22)\n    at Array.async.auto.registerConnections (node_modules/on-core/node_modules/waterline/lib/waterline.js:176:13)\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:590:38\n    at _arrayEach (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:81:9)\n    at Object.async.auto (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:552:9)\n    at Waterline.initialize (node_modules/on-core/node_modules/waterline/lib/waterline.js:121:9)\n    at node_modules/on-core/lib/services/waterline.js:96:26\n    at tryCatcher (node_modules/on-core/node_modules/bluebird/js/main/util.js:26:23)\n    at Promise._resolveFromResolver (node_modules/on-core/node_modules/bluebird/js/main/promise.js:483:31)\n    at new Promise (node_modules/on-core/node_modules/bluebird/js/main/promise.js:71:37)\n    at WaterlineServiceFactory.WaterlineService.initService (node_modules/on-core/lib/services/waterline.js:42:16)\n    at node_modules/on-core/lib/services/waterline.js:120:29\n    at tryCatcher (node_modules/on-core/node_modules/bluebird/js/main/util.js:26:23)\n    at Promise._settlePromiseFromHandler (node_modules/on-core/node_modules/bluebird/js/main/promise.js:510:31)\n    at Promise._settlePromiseAt (node_modules/on-core/node_modules/bluebird/js/main/promise.js:584:18)\n    at Promise._settlePromiseAtPostResolution (node_modules/on-core/node_modules/bluebird/js/main/promise.js:248:10)\n    at Async._drainQueue (node_modules/on-core/node_modules/bluebird/js/main/async.js:128:12)\n    at Async._drainQueues (node_modules/on-core/node_modules/bluebird/js/main/async.js:133:10)\n    at Immediate.Async.drainQueues [as _onImmediate] (node_modules/on-core/node_modules/bluebird/js/main/async.js:15:14)\n\nTest Name: Redfish Session Service \"after all\" hook: stop HTTP server\nError Details: Cannot read property 'validate' of undefined\nStack Trace: TypeError: Cannot read property 'validate' of undefined\n    at Context.&lt;anonymous&gt; (spec/lib/api/redfish-1.0/session-service-spec.js:97:18)\n\nTest Name: Redfish TaskService \"before all\" hook: start HTTP server\nError Details: Connection is already registered\nStack Trace: AdapterError: Connection is already registered\n    at Object.module.exports.adapter.registerConnection (node_modules/on-core/node_modules/sails-mongo/lib/adapter.js:86:60)\n    at node_modules/on-core/node_modules/waterline/lib/waterline.js:203:29\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:162:20\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:230:13\n    at _arrayEach (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:81:9)\n    at _each (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:72:13)\n    at Object.async.forEachOf.async.eachOf (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:229:9)\n    at Object.async.forEach.async.each (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:206:22)\n    at Array.async.auto.registerConnections (node_modules/on-core/node_modules/waterline/lib/waterline.js:176:13)\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:590:38\n    at _arrayEach (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:81:9)\n    at Object.async.auto (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:552:9)\n    at Waterline.initialize (node_modules/on-core/node_modules/waterline/lib/waterline.js:121:9)\n    at node_modules/on-core/lib/services/waterline.js:96:26\n    at tryCatcher (node_modules/on-core/node_modules/bluebird/js/main/util.js:26:23)\n    at Promise._resolveFromResolver (node_modules/on-core/node_modules/bluebird/js/main/promise.js:483:31)\n    at new Promise (node_modules/on-core/node_modules/bluebird/js/main/promise.js:71:37)\n    at WaterlineServiceFactory.WaterlineService.initService (node_modules/on-core/lib/services/waterline.js:42:16)\n    at node_modules/on-core/lib/services/waterline.js:120:29\n    at tryCatcher (node_modules/on-core/node_modules/bluebird/js/main/util.js:26:23)\n    at Promise._settlePromiseFromHandler (node_modules/on-core/node_modules/bluebird/js/main/promise.js:510:31)\n    at Promise._settlePromiseAt (node_modules/on-core/node_modules/bluebird/js/main/promise.js:584:18)\n    at Promise._settlePromiseAtPostResolution (node_modules/on-core/node_modules/bluebird/js/main/promise.js:248:10)\n    at Async._drainQueue (node_modules/on-core/node_modules/bluebird/js/main/async.js:128:12)\n    at Async._drainQueues (node_modules/on-core/node_modules/bluebird/js/main/async.js:133:10)\n    at Immediate.Async.drainQueues [as _onImmediate] (node_modules/on-core/node_modules/bluebird/js/main/async.js:15:14)\n\nTest Name: Redfish TaskService \"after all\" hook: stop HTTP server\nError Details: Cannot read property 'validate' of undefined\nStack Trace: TypeError: Cannot read property 'validate' of undefined\n    at Context.&lt;anonymous&gt; (spec/lib/api/redfish-1.0/task-service-spec.js:86:18)\n\nTest Name: Redfish Schemas \"before all\" hook: start HTTP server\nError Details: Connection is already registered\nStack Trace: AdapterError: Connection is already registered\n    at Object.module.exports.adapter.registerConnection (node_modules/on-core/node_modules/sails-mongo/lib/adapter.js:86:60)\n    at node_modules/on-core/node_modules/waterline/lib/waterline.js:203:29\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:162:20\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:230:13\n    at _arrayEach (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:81:9)\n    at _each (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:72:13)\n    at Object.async.forEachOf.async.eachOf (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:229:9)\n    at Object.async.forEach.async.each (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:206:22)\n    at Array.async.auto.registerConnections (node_modules/on-core/node_modules/waterline/lib/waterline.js:176:13)\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:590:38\n    at _arrayEach (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:81:9)\n    at Object.async.auto (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:552:9)\n    at Waterline.initialize (node_modules/on-core/node_modules/waterline/lib/waterline.js:121:9)\n    at node_modules/on-core/lib/services/waterline.js:96:26\n    at tryCatcher (node_modules/on-core/node_modules/bluebird/js/main/util.js:26:23)\n    at Promise._resolveFromResolver (node_modules/on-core/node_modules/bluebird/js/main/promise.js:483:31)\n    at new Promise (node_modules/on-core/node_modules/bluebird/js/main/promise.js:71:37)\n    at WaterlineServiceFactory.WaterlineService.initService (node_modules/on-core/lib/services/waterline.js:42:16)\n    at node_modules/on-core/lib/services/waterline.js:120:29\n    at tryCatcher (node_modules/on-core/node_modules/bluebird/js/main/util.js:26:23)\n    at Promise._settlePromiseFromHandler (node_modules/on-core/node_modules/bluebird/js/main/promise.js:510:31)\n    at Promise._settlePromiseAt (node_modules/on-core/node_modules/bluebird/js/main/promise.js:584:18)\n    at Promise._settlePromiseAtPostResolution (node_modules/on-core/node_modules/bluebird/js/main/promise.js:248:10)\n    at Async._drainQueue (node_modules/on-core/node_modules/bluebird/js/main/async.js:128:12)\n    at Async._drainQueues (node_modules/on-core/node_modules/bluebird/js/main/async.js:133:10)\n    at Immediate.Async.drainQueues [as _onImmediate] (node_modules/on-core/node_modules/bluebird/js/main/async.js:15:14)\n\nTest Name: Redfish Schemas \"after all\" hook: stop HTTP server\nError Details: Cannot read property 'validate' of undefined\nStack Trace: TypeError: Cannot read property 'validate' of undefined\n    at Context.&lt;anonymous&gt; (spec/lib/api/redfish-1.0/schemas-spec.js:36:18)\n\nTest Name: Redfish Systems Root \"before all\" hook: start HTTP server\nError Details: Connection is already registered\nStack Trace: AdapterError: Connection is already registered\n    at Object.module.exports.adapter.registerConnection (node_modules/on-core/node_modules/sails-mongo/lib/adapter.js:86:60)\n    at node_modules/on-core/node_modules/waterline/lib/waterline.js:203:29\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:162:20\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:230:13\n    at _arrayEach (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:81:9)\n    at _each (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:72:13)\n    at Object.async.forEachOf.async.eachOf (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:229:9)\n    at Object.async.forEach.async.each (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:206:22)\n    at Array.async.auto.registerConnections (node_modules/on-core/node_modules/waterline/lib/waterline.js:176:13)\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:590:38\n    at _arrayEach (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:81:9)\n    at Object.async.auto (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:552:9)\n    at Waterline.initialize (node_modules/on-core/node_modules/waterline/lib/waterline.js:121:9)\n    at node_modules/on-core/lib/services/waterline.js:96:26\n    at tryCatcher (node_modules/on-core/node_modules/bluebird/js/main/util.js:26:23)\n    at Promise._resolveFromResolver (node_modules/on-core/node_modules/bluebird/js/main/promise.js:483:31)\n    at new Promise (node_modules/on-core/node_modules/bluebird/js/main/promise.js:71:37)\n    at WaterlineServiceFactory.WaterlineService.initService (node_modules/on-core/lib/services/waterline.js:42:16)\n    at node_modules/on-core/lib/services/waterline.js:120:29\n    at tryCatcher (node_modules/on-core/node_modules/bluebird/js/main/util.js:26:23)\n    at Promise._settlePromiseFromHandler (node_modules/on-core/node_modules/bluebird/js/main/promise.js:510:31)\n    at Promise._settlePromiseAt (node_modules/on-core/node_modules/bluebird/js/main/promise.js:584:18)\n    at Promise._settlePromiseAtPostResolution (node_modules/on-core/node_modules/bluebird/js/main/promise.js:248:10)\n    at Async._drainQueue (node_modules/on-core/node_modules/bluebird/js/main/async.js:128:12)\n    at Async._drainQueues (node_modules/on-core/node_modules/bluebird/js/main/async.js:133:10)\n    at Immediate.Async.drainQueues [as _onImmediate] (node_modules/on-core/node_modules/bluebird/js/main/async.js:15:14)\n\nTest Name: Redfish Systems Root \"after all\" hook: stop HTTP server\nError Details: Cannot read property 'validate' of undefined\nStack Trace: TypeError: Cannot read property 'validate' of undefined\n    at Context.&lt;anonymous&gt; (spec/lib/api/redfish-1.0/system-spec.js:144:18)\n\nTest Name: Redfish Chassis Root \"before all\" hook: start HTTP server\nError Details: Connection is already registered\nStack Trace: AdapterError: Connection is already registered\n    at Object.module.exports.adapter.registerConnection (node_modules/on-core/node_modules/sails-mongo/lib/adapter.js:86:60)\n    at node_modules/on-core/node_modules/waterline/lib/waterline.js:203:29\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:162:20\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:230:13\n    at _arrayEach (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:81:9)\n    at _each (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:72:13)\n    at Object.async.forEachOf.async.eachOf (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:229:9)\n    at Object.async.forEach.async.each (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:206:22)\n    at Array.async.auto.registerConnections (node_modules/on-core/node_modules/waterline/lib/waterline.js:176:13)\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:590:38\n    at _arrayEach (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:81:9)\n    at Object.async.auto (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:552:9)\n    at Waterline.initialize (node_modules/on-core/node_modules/waterline/lib/waterline.js:121:9)\n    at node_modules/on-core/lib/services/waterline.js:96:26\n    at tryCatcher (node_modules/on-core/node_modules/bluebird/js/main/util.js:26:23)\n    at Promise._resolveFromResolver (node_modules/on-core/node_modules/bluebird/js/main/promise.js:483:31)\n    at new Promise (node_modules/on-core/node_modules/bluebird/js/main/promise.js:71:37)\n    at WaterlineServiceFactory.WaterlineService.initService (node_modules/on-core/lib/services/waterline.js:42:16)\n    at node_modules/on-core/lib/services/waterline.js:120:29\n    at tryCatcher (node_modules/on-core/node_modules/bluebird/js/main/util.js:26:23)\n    at Promise._settlePromiseFromHandler (node_modules/on-core/node_modules/bluebird/js/main/promise.js:510:31)\n    at Promise._settlePromiseAt (node_modules/on-core/node_modules/bluebird/js/main/promise.js:584:18)\n    at Promise._settlePromiseAtPostResolution (node_modules/on-core/node_modules/bluebird/js/main/promise.js:248:10)\n    at Async._drainQueue (node_modules/on-core/node_modules/bluebird/js/main/async.js:128:12)\n    at Async._drainQueues (node_modules/on-core/node_modules/bluebird/js/main/async.js:133:10)\n    at Immediate.Async.drainQueues [as _onImmediate] (node_modules/on-core/node_modules/bluebird/js/main/async.js:15:14)\n\nTest Name: Redfish Chassis Root \"after all\" hook: stop HTTP server\nError Details: Cannot read property 'send' of undefined\nStack Trace: TypeError: Cannot read property 'send' of undefined\n    at StatsDService.Client.send (node_modules/on-core/node_modules/node-statsd/lib/statsd.js:221:16)\n    at StatsDService.Client.sendAll (node_modules/on-core/node_modules/node-statsd/lib/statsd.js:181:10)\n    at StatsDService.Client.increment (node_modules/on-core/node_modules/node-statsd/lib/statsd.js:76:8)\n    at StatsDService.stop (node_modules/on-core/lib/services/statsd.js:52:14)\n    at node_modules/on-core/lib/services/core.js:47:28\n    at arrayMap (node_modules/lodash/index.js:1406:25)\n    at Function.map (node_modules/lodash/index.js:6710:14)\n    at CoreService.stop (node_modules/on-core/lib/services/core.js:46:26)\n    at app.js:9:2859\n    at tryCatcher (node_modules/on-core/node_modules/bluebird/js/main/util.js:26:23)\n    at Promise._settlePromiseFromHandler (node_modules/on-core/node_modules/bluebird/js/main/promise.js:510:31)\n    at Promise._settlePromiseAt (node_modules/on-core/node_modules/bluebird/js/main/promise.js:584:18)\n    at Promise._settlePromises (node_modules/on-core/node_modules/bluebird/js/main/promise.js:700:14)\n    at Async._drainQueue (node_modules/on-core/node_modules/bluebird/js/main/async.js:123:16)\n    at Async._drainQueues (node_modules/on-core/node_modules/bluebird/js/main/async.js:133:10)\n    at Immediate.Async.drainQueues [as _onImmediate] (node_modules/on-core/node_modules/bluebird/js/main/async.js:15:14)\n\nTest Name: Redfish Account Service \"before all\" hook: start HTTP server\nError Details: Connection is already registered\nStack Trace: AdapterError: Connection is already registered\n    at Object.module.exports.adapter.registerConnection (node_modules/on-core/node_modules/sails-mongo/lib/adapter.js:86:60)\n    at node_modules/on-core/node_modules/waterline/lib/waterline.js:203:29\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:162:20\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:230:13\n    at _arrayEach (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:81:9)\n    at _each (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:72:13)\n    at Object.async.forEachOf.async.eachOf (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:229:9)\n    at Object.async.forEach.async.each (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:206:22)\n    at Array.async.auto.registerConnections (node_modules/on-core/node_modules/waterline/lib/waterline.js:176:13)\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:590:38\n    at _arrayEach (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:81:9)\n    at Object.async.auto (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:552:9)\n    at Waterline.initialize (node_modules/on-core/node_modules/waterline/lib/waterline.js:121:9)\n    at node_modules/on-core/lib/services/waterline.js:96:26\n    at tryCatcher (node_modules/on-core/node_modules/bluebird/js/main/util.js:26:23)\n    at Promise._resolveFromResolver (node_modules/on-core/node_modules/bluebird/js/main/promise.js:483:31)\n    at new Promise (node_modules/on-core/node_modules/bluebird/js/main/promise.js:71:37)\n    at WaterlineServiceFactory.WaterlineService.initService (node_modules/on-core/lib/services/waterline.js:42:16)\n    at node_modules/on-core/lib/services/waterline.js:120:29\n    at tryCatcher (node_modules/on-core/node_modules/bluebird/js/main/util.js:26:23)\n    at Promise._settlePromiseFromHandler (node_modules/on-core/node_modules/bluebird/js/main/promise.js:510:31)\n    at Promise._settlePromiseAt (node_modules/on-core/node_modules/bluebird/js/main/promise.js:584:18)\n    at Promise._settlePromiseAtPostResolution (node_modules/on-core/node_modules/bluebird/js/main/promise.js:248:10)\n    at Async._drainQueue (node_modules/on-core/node_modules/bluebird/js/main/async.js:128:12)\n    at Async._drainQueues (node_modules/on-core/node_modules/bluebird/js/main/async.js:133:10)\n    at Immediate.Async.drainQueues [as _onImmediate] (node_modules/on-core/node_modules/bluebird/js/main/async.js:15:14)\n\nTest Name: Redfish Account Service \"after all\" hook: stop HTTP server\nError Details: Cannot read property 'send' of undefined\nStack Trace: TypeError: Cannot read property 'send' of undefined\n    at StatsDService.Client.send (node_modules/on-core/node_modules/node-statsd/lib/statsd.js:221:16)\n    at StatsDService.Client.sendAll (node_modules/on-core/node_modules/node-statsd/lib/statsd.js:181:10)\n    at StatsDService.Client.increment (node_modules/on-core/node_modules/node-statsd/lib/statsd.js:76:8)\n    at StatsDService.stop (node_modules/on-core/lib/services/statsd.js:52:14)\n    at node_modules/on-core/lib/services/core.js:47:28\n    at arrayMap (node_modules/lodash/index.js:1406:25)\n    at Function.map (node_modules/lodash/index.js:6710:14)\n    at CoreService.stop (node_modules/on-core/lib/services/core.js:46:26)\n    at app.js:9:2859\n    at tryCatcher (node_modules/on-core/node_modules/bluebird/js/main/util.js:26:23)\n    at Promise._settlePromiseFromHandler (node_modules/on-core/node_modules/bluebird/js/main/promise.js:510:31)\n    at Promise._settlePromiseAt (node_modules/on-core/node_modules/bluebird/js/main/promise.js:584:18)\n    at Promise._settlePromises (node_modules/on-core/node_modules/bluebird/js/main/promise.js:700:14)\n    at Async._drainQueue (node_modules/on-core/node_modules/bluebird/js/main/async.js:123:16)\n    at Async._drainQueues (node_modules/on-core/node_modules/bluebird/js/main/async.js:133:10)\n    at Immediate.Async.drainQueues [as _onImmediate] (node_modules/on-core/node_modules/bluebird/js/main/async.js:15:14)\n\nTest Name: Redfish Event Service \"before all\" hook: start HTTP server\nError Details: Connection is already registered\nStack Trace: AdapterError: Connection is already registered\n    at Object.module.exports.adapter.registerConnection (node_modules/on-core/node_modules/sails-mongo/lib/adapter.js:86:60)\n    at node_modules/on-core/node_modules/waterline/lib/waterline.js:203:29\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:162:20\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:230:13\n    at _arrayEach (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:81:9)\n    at _each (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:72:13)\n    at Object.async.forEachOf.async.eachOf (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:229:9)\n    at Object.async.forEach.async.each (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:206:22)\n    at Array.async.auto.registerConnections (node_modules/on-core/node_modules/waterline/lib/waterline.js:176:13)\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:590:38\n    at _arrayEach (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:81:9)\n    at Object.async.auto (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:552:9)\n    at Waterline.initialize (node_modules/on-core/node_modules/waterline/lib/waterline.js:121:9)\n    at node_modules/on-core/lib/services/waterline.js:96:26\n    at tryCatcher (node_modules/on-core/node_modules/bluebird/js/main/util.js:26:23)\n    at Promise._resolveFromResolver (node_modules/on-core/node_modules/bluebird/js/main/promise.js:483:31)\n    at new Promise (node_modules/on-core/node_modules/bluebird/js/main/promise.js:71:37)\n    at WaterlineServiceFactory.WaterlineService.initService (node_modules/on-core/lib/services/waterline.js:42:16)\n    at node_modules/on-core/lib/services/waterline.js:120:29\n    at tryCatcher (node_modules/on-core/node_modules/bluebird/js/main/util.js:26:23)\n    at Promise._settlePromiseFromHandler (node_modules/on-core/node_modules/bluebird/js/main/promise.js:510:31)\n    at Promise._settlePromiseAt (node_modules/on-core/node_modules/bluebird/js/main/promise.js:584:18)\n    at Promise._settlePromiseAtPostResolution (node_modules/on-core/node_modules/bluebird/js/main/promise.js:248:10)\n    at Async._drainQueue (node_modules/on-core/node_modules/bluebird/js/main/async.js:128:12)\n    at Async._drainQueues (node_modules/on-core/node_modules/bluebird/js/main/async.js:133:10)\n    at Immediate.Async.drainQueues [as _onImmediate] (node_modules/on-core/node_modules/bluebird/js/main/async.js:15:14)\n\nTest Name: Redfish Event Service \"after all\" hook: stop HTTP server\nError Details: Cannot read property 'validate' of undefined\nStack Trace: TypeError: Cannot read property 'validate' of undefined\n    at Context.&lt;anonymous&gt; (spec/lib/api/redfish-1.0/event-service-spec.js:86:18)\n\nTest Name: Redfish Managers \"before all\" hook: start HTTP server\nError Details: Connection is already registered\nStack Trace: AdapterError: Connection is already registered\n    at Object.module.exports.adapter.registerConnection (node_modules/on-core/node_modules/sails-mongo/lib/adapter.js:86:60)\n    at node_modules/on-core/node_modules/waterline/lib/waterline.js:203:29\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:162:20\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:230:13\n    at _arrayEach (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:81:9)\n    at _each (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:72:13)\n    at Object.async.forEachOf.async.eachOf (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:229:9)\n    at Object.async.forEach.async.each (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:206:22)\n    at Array.async.auto.registerConnections (node_modules/on-core/node_modules/waterline/lib/waterline.js:176:13)\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:590:38\n    at _arrayEach (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:81:9)\n    at Object.async.auto (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:552:9)\n    at Waterline.initialize (node_modules/on-core/node_modules/waterline/lib/waterline.js:121:9)\n    at node_modules/on-core/lib/services/waterline.js:96:26\n    at tryCatcher (node_modules/on-core/node_modules/bluebird/js/main/util.js:26:23)\n    at Promise._resolveFromResolver (node_modules/on-core/node_modules/bluebird/js/main/promise.js:483:31)\n    at new Promise (node_modules/on-core/node_modules/bluebird/js/main/promise.js:71:37)\n    at WaterlineServiceFactory.WaterlineService.initService (node_modules/on-core/lib/services/waterline.js:42:16)\n    at node_modules/on-core/lib/services/waterline.js:120:29\n    at tryCatcher (node_modules/on-core/node_modules/bluebird/js/main/util.js:26:23)\n    at Promise._settlePromiseFromHandler (node_modules/on-core/node_modules/bluebird/js/main/promise.js:510:31)\n    at Promise._settlePromiseAt (node_modules/on-core/node_modules/bluebird/js/main/promise.js:584:18)\n    at Promise._settlePromiseAtPostResolution (node_modules/on-core/node_modules/bluebird/js/main/promise.js:248:10)\n    at Async._drainQueue (node_modules/on-core/node_modules/bluebird/js/main/async.js:128:12)\n    at Async._drainQueues (node_modules/on-core/node_modules/bluebird/js/main/async.js:133:10)\n    at Immediate.Async.drainQueues [as _onImmediate] (node_modules/on-core/node_modules/bluebird/js/main/async.js:15:14)\n\nTest Name: Redfish Managers \"after all\" hook: stop HTTP server\nError Details: Cannot read property 'validate' of undefined\nStack Trace: TypeError: Cannot read property 'validate' of undefined\n    at Context.&lt;anonymous&gt; (spec/lib/api/redfish-1.0/managers-spec.js:87:18)\n\nTest Name: Redfish Endpoint \"before all\" hook: start HTTP server\nError Details: Connection is already registered\nStack Trace: AdapterError: Connection is already registered\n    at Object.module.exports.adapter.registerConnection (node_modules/on-core/node_modules/sails-mongo/lib/adapter.js:86:60)\n    at node_modules/on-core/node_modules/waterline/lib/waterline.js:203:29\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:162:20\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:230:13\n    at _arrayEach (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:81:9)\n    at _each (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:72:13)\n    at Object.async.forEachOf.async.eachOf (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:229:9)\n    at Object.async.forEach.async.each (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:206:22)\n    at Array.async.auto.registerConnections (node_modules/on-core/node_modules/waterline/lib/waterline.js:176:13)\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:590:38\n    at _arrayEach (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:81:9)\n    at Object.async.auto (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:552:9)\n    at Waterline.initialize (node_modules/on-core/node_modules/waterline/lib/waterline.js:121:9)\n    at node_modules/on-core/lib/services/waterline.js:96:26\n    at tryCatcher (node_modules/on-core/node_modules/bluebird/js/main/util.js:26:23)\n    at Promise._resolveFromResolver (node_modules/on-core/node_modules/bluebird/js/main/promise.js:483:31)\n    at new Promise (node_modules/on-core/node_modules/bluebird/js/main/promise.js:71:37)\n    at WaterlineServiceFactory.WaterlineService.initService (node_modules/on-core/lib/services/waterline.js:42:16)\n    at node_modules/on-core/lib/services/waterline.js:120:29\n    at tryCatcher (node_modules/on-core/node_modules/bluebird/js/main/util.js:26:23)\n    at Promise._settlePromiseFromHandler (node_modules/on-core/node_modules/bluebird/js/main/promise.js:510:31)\n    at Promise._settlePromiseAt (node_modules/on-core/node_modules/bluebird/js/main/promise.js:584:18)\n    at Promise._settlePromiseAtPostResolution (node_modules/on-core/node_modules/bluebird/js/main/promise.js:248:10)\n    at Async._drainQueue (node_modules/on-core/node_modules/bluebird/js/main/async.js:128:12)\n    at Async._drainQueues (node_modules/on-core/node_modules/bluebird/js/main/async.js:133:10)\n    at Immediate.Async.drainQueues [as _onImmediate] (node_modules/on-core/node_modules/bluebird/js/main/async.js:15:14)\n\nTest Name: Redfish Endpoint \"after all\" hook: stop HTTP server\nError Details: Cannot read property 'validate' of undefined\nStack Trace: TypeError: Cannot read property 'validate' of undefined\n    at Context.&lt;anonymous&gt; (spec/lib/api/redfish-1.0/service-root-spec.js:55:18)\n\nTest Name: Http.Api.Login \"before all\" hook: helper.before\nError Details: Connection is already registered\nStack Trace: AdapterError: Connection is already registered\n    at Object.module.exports.adapter.registerConnection (node_modules/on-core/node_modules/sails-mongo/lib/adapter.js:86:60)\n    at node_modules/on-core/node_modules/waterline/lib/waterline.js:203:29\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:162:20\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:230:13\n    at _arrayEach (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:81:9)\n    at _each (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:72:13)\n    at Object.async.forEachOf.async.eachOf (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:229:9)\n    at Object.async.forEach.async.each (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:206:22)\n    at Array.async.auto.registerConnections (node_modules/on-core/node_modules/waterline/lib/waterline.js:176:13)\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:590:38\n    at _arrayEach (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:81:9)\n    at Object.async.auto (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:552:9)\n    at Waterline.initialize (node_modules/on-core/node_modules/waterline/lib/waterline.js:121:9)\n    at node_modules/on-core/lib/services/waterline.js:96:26\n    at tryCatcher (node_modules/on-core/node_modules/bluebird/js/main/util.js:26:23)\n    at Promise._resolveFromResolver (node_modules/on-core/node_modules/bluebird/js/main/promise.js:483:31)\n    at new Promise (node_modules/on-core/node_modules/bluebird/js/main/promise.js:71:37)\n    at WaterlineServiceFactory.WaterlineService.initService (node_modules/on-core/lib/services/waterline.js:42:16)\n    at node_modules/on-core/lib/services/waterline.js:120:29\n    at tryCatcher (node_modules/on-core/node_modules/bluebird/js/main/util.js:26:23)\n    at Promise._settlePromiseFromHandler (node_modules/on-core/node_modules/bluebird/js/main/promise.js:510:31)\n    at Promise._settlePromiseAt (node_modules/on-core/node_modules/bluebird/js/main/promise.js:584:18)\n    at Promise._settlePromiseAtPostResolution (node_modules/on-core/node_modules/bluebird/js/main/promise.js:248:10)\n    at Async._drainQueue (node_modules/on-core/node_modules/bluebird/js/main/async.js:128:12)\n    at Async._drainQueues (node_modules/on-core/node_modules/bluebird/js/main/async.js:133:10)\n    at Immediate.Async.drainQueues [as _onImmediate] (node_modules/on-core/node_modules/bluebird/js/main/async.js:15:14)\n\nTest Name: Http.Api.Login \"after all\" hook: remove waterline definition\nError Details: Cannot convert undefined or null to object\nStack Trace: TypeError: Cannot convert undefined or null to object\n    at Context.&lt;anonymous&gt; (spec/lib/api/login/login-spec.js:94:16)\n    at tryCatcher (node_modules/on-core/node_modules/bluebird/js/main/util.js:26:23)\n    at Promise._settlePromiseFromHandler (node_modules/on-core/node_modules/bluebird/js/main/promise.js:510:31)\n    at Promise._settlePromiseAt (node_modules/on-core/node_modules/bluebird/js/main/promise.js:584:18)\n    at Promise._settlePromises (node_modules/on-core/node_modules/bluebird/js/main/promise.js:700:14)\n    at Async._drainQueue (node_modules/on-core/node_modules/bluebird/js/main/async.js:123:16)\n    at Async._drainQueues (node_modules/on-core/node_modules/bluebird/js/main/async.js:133:10)\n    at Immediate.Async.drainQueues [as _onImmediate] (node_modules/on-core/node_modules/bluebird/js/main/async.js:15:14)\n\nTest Name: Http.Server \"before all\" hook: helper.before\nError Details: Connection is already registered\nStack Trace: AdapterError: Connection is already registered\n    at Object.module.exports.adapter.registerConnection (node_modules/on-core/node_modules/sails-mongo/lib/adapter.js:86:60)\n    at node_modules/on-core/node_modules/waterline/lib/waterline.js:203:29\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:162:20\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:230:13\n    at _arrayEach (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:81:9)\n    at _each (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:72:13)\n    at Object.async.forEachOf.async.eachOf (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:229:9)\n    at Object.async.forEach.async.each (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:206:22)\n    at Array.async.auto.registerConnections (node_modules/on-core/node_modules/waterline/lib/waterline.js:176:13)\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:590:38\n    at _arrayEach (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:81:9)\n    at Object.async.auto (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:552:9)\n    at Waterline.initialize (node_modules/on-core/node_modules/waterline/lib/waterline.js:121:9)\n    at node_modules/on-core/lib/services/waterline.js:96:26\n    at tryCatcher (node_modules/on-core/node_modules/bluebird/js/main/util.js:26:23)\n    at Promise._resolveFromResolver (node_modules/on-core/node_modules/bluebird/js/main/promise.js:483:31)\n    at new Promise (node_modules/on-core/node_modules/bluebird/js/main/promise.js:71:37)\n    at WaterlineServiceFactory.WaterlineService.initService (node_modules/on-core/lib/services/waterline.js:42:16)\n    at node_modules/on-core/lib/services/waterline.js:120:29\n    at tryCatcher (node_modules/on-core/node_modules/bluebird/js/main/util.js:26:23)\n    at Promise._settlePromiseFromHandler (node_modules/on-core/node_modules/bluebird/js/main/promise.js:510:31)\n    at Promise._settlePromiseAt (node_modules/on-core/node_modules/bluebird/js/main/promise.js:584:18)\n    at Promise._settlePromiseAtPostResolution (node_modules/on-core/node_modules/bluebird/js/main/promise.js:248:10)\n    at Async._drainQueue (node_modules/on-core/node_modules/bluebird/js/main/async.js:128:12)\n    at Async._drainQueues (node_modules/on-core/node_modules/bluebird/js/main/async.js:133:10)\n    at Immediate.Async.drainQueues [as _onImmediate] (node_modules/on-core/node_modules/bluebird/js/main/async.js:15:14)\n\nTest Name: Http.Server rest() should 200 with a returned object literal\nError Details: listen EADDRINUSE :::8089\nStack Trace: Error: listen EADDRINUSE :::8089\n    at Object.exports._errnoException (util.js:907:11)\n    at exports._exceptionWithHostPort (util.js:930:20)\n    at Server._listen2 (net.js:1253:14)\n    at listen (net.js:1289:10)\n    at Server.listen (net.js:1385:5)\n    at EventEmitter.listen (node_modules/express/lib/application.js:618:24)\n    at Context.&lt;anonymous&gt; (spec/lib/services/rest-api-service-spec.js:18:22)\n\nTest Name: Http.Server rest() should 200 with a returned array literal\nError Details: listen EADDRINUSE :::8089\nStack Trace: Error: listen EADDRINUSE :::8089\n    at Object.exports._errnoException (util.js:907:11)\n    at exports._exceptionWithHostPort (util.js:930:20)\n    at Server._listen2 (net.js:1253:14)\n    at listen (net.js:1289:10)\n    at Server.listen (net.js:1385:5)\n    at EventEmitter.listen (node_modules/express/lib/application.js:618:24)\n    at Context.&lt;anonymous&gt; (spec/lib/services/rest-api-service-spec.js:18:22)\n\nTest Name: Http.Server rest() should have an undefined body when POSTing no content\nError Details: expected &quot;Content-Type&quot; matching /^application\\/json/, got &quot;text/html; charset=utf-8&quot; Response body: {} Error: expected &quot;Content-Type&quot; matching /^application\\/json/, got &quot;text/html; charset=utf-8&quot;     at Test._assertHeader (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:213:45)     at Test._assertFunction (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:247:11)     at Test.assert (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:148:18)     at assert (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:127:12)     at /home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:124:5     at Test.Request.callback (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/node_modules/superagent/lib/node/index.js:703:3)     at IncomingMessage.&lt;anonymous&gt; (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/node_modules/superagent/lib/node/index.js:922:12)     at emitNone (events.js:72:20)     at IncomingMessage.emit (events.js:166:7)     at endReadableNT (_stream_readable.js:923:12)     at nextTickCallbackWith2Args (node.js:511:9)     at process._tickDomainCallback (node.js:466:17)\nStack Trace: Error: expected &quot;Content-Type&quot; matching /^application\\/json/, got &quot;text/html; charset=utf-8&quot;\n    at Test._assertHeader (node_modules/supertest/lib/test.js:213:45)\n    at Test._assertFunction (node_modules/supertest/lib/test.js:247:11)\n    at Test.assert (node_modules/supertest/lib/test.js:148:18)\n    at assert (node_modules/supertest/lib/test.js:127:12)\n    at node_modules/supertest/lib/test.js:124:5\n    at Test.Request.callback (node_modules/supertest/node_modules/superagent/lib/node/index.js:703:3)\n    at IncomingMessage.&lt;anonymous&gt; (node_modules/supertest/node_modules/superagent/lib/node/index.js:922:12)\n    at endReadableNT (_stream_readable.js:923:12)\n\nTest Name: Http.Server rest() should 400 when POSTing bad JSON\nError Details: expected &quot;Content-Type&quot; matching /^application\\/json/, got &quot;text/html; charset=utf-8&quot; Response body: {} Error: expected &quot;Content-Type&quot; matching /^application\\/json/, got &quot;text/html; charset=utf-8&quot;     at Test._assertHeader (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:213:45)     at Test._assertFunction (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:247:11)     at Test.assert (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:148:18)     at assert (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:127:12)     at /home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:124:5     at Test.Request.callback (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/node_modules/superagent/lib/node/index.js:703:3)     at IncomingMessage.&lt;anonymous&gt; (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/node_modules/superagent/lib/node/index.js:922:12)     at emitNone (events.js:72:20)     at IncomingMessage.emit (events.js:166:7)     at endReadableNT (_stream_readable.js:923:12)     at nextTickCallbackWith2Args (node.js:511:9)     at process._tickDomainCallback (node.js:466:17)\nStack Trace: Error: expected &quot;Content-Type&quot; matching /^application\\/json/, got &quot;text/html; charset=utf-8&quot;\n    at Test._assertHeader (node_modules/supertest/lib/test.js:213:45)\n    at Test._assertFunction (node_modules/supertest/lib/test.js:247:11)\n    at Test.assert (node_modules/supertest/lib/test.js:148:18)\n    at assert (node_modules/supertest/lib/test.js:127:12)\n    at node_modules/supertest/lib/test.js:124:5\n    at Test.Request.callback (node_modules/supertest/node_modules/superagent/lib/node/index.js:703:3)\n    at IncomingMessage.&lt;anonymous&gt; (node_modules/supertest/node_modules/superagent/lib/node/index.js:922:12)\n    at endReadableNT (_stream_readable.js:923:12)\n\nTest Name: Http.Server rest() should 400 when POSTing a non-JSON content-type\nError Details: expected &quot;Content-Type&quot; matching /^application\\/json/, got &quot;text/html; charset=utf-8&quot; Response body: {} Error: expected &quot;Content-Type&quot; matching /^application\\/json/, got &quot;text/html; charset=utf-8&quot;     at Test._assertHeader (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:213:45)     at Test._assertFunction (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:247:11)     at Test.assert (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:148:18)     at assert (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:127:12)     at /home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:124:5     at Test.Request.callback (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/node_modules/superagent/lib/node/index.js:703:3)     at IncomingMessage.&lt;anonymous&gt; (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/node_modules/superagent/lib/node/index.js:922:12)     at emitNone (events.js:72:20)     at IncomingMessage.emit (events.js:166:7)     at endReadableNT (_stream_readable.js:923:12)     at nextTickCallbackWith2Args (node.js:511:9)     at process._tickDomainCallback (node.js:466:17)\nStack Trace: Error: expected &quot;Content-Type&quot; matching /^application\\/json/, got &quot;text/html; charset=utf-8&quot;\n    at Test._assertHeader (node_modules/supertest/lib/test.js:213:45)\n    at Test._assertFunction (node_modules/supertest/lib/test.js:247:11)\n    at Test.assert (node_modules/supertest/lib/test.js:148:18)\n    at assert (node_modules/supertest/lib/test.js:127:12)\n    at node_modules/supertest/lib/test.js:124:5\n    at Test.Request.callback (node_modules/supertest/node_modules/superagent/lib/node/index.js:703:3)\n    at IncomingMessage.&lt;anonymous&gt; (node_modules/supertest/node_modules/superagent/lib/node/index.js:922:12)\n    at endReadableNT (_stream_readable.js:923:12)\n\nTest Name: Http.Server rest() should 400 when POSTing a non-JSON content-type\nError Details: expected &quot;Content-Type&quot; matching /^application\\/json/, got &quot;text/html; charset=utf-8&quot; Response body: {} Error: expected &quot;Content-Type&quot; matching /^application\\/json/, got &quot;text/html; charset=utf-8&quot;     at Test._assertHeader (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:213:45)     at Test._assertFunction (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:247:11)     at Test.assert (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:148:18)     at assert (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:127:12)     at /home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:124:5     at Test.Request.callback (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/node_modules/superagent/lib/node/index.js:703:3)     at IncomingMessage.&lt;anonymous&gt; (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/node_modules/superagent/lib/node/index.js:922:12)     at emitNone (events.js:72:20)     at IncomingMessage.emit (events.js:166:7)     at endReadableNT (_stream_readable.js:923:12)     at nextTickCallbackWith2Args (node.js:511:9)     at process._tickDomainCallback (node.js:466:17)\nStack Trace: Error: expected &quot;Content-Type&quot; matching /^application\\/json/, got &quot;text/html; charset=utf-8&quot;\n    at Test._assertHeader (node_modules/supertest/lib/test.js:213:45)\n    at Test._assertFunction (node_modules/supertest/lib/test.js:247:11)\n    at Test.assert (node_modules/supertest/lib/test.js:148:18)\n    at assert (node_modules/supertest/lib/test.js:127:12)\n    at node_modules/supertest/lib/test.js:124:5\n    at Test.Request.callback (node_modules/supertest/node_modules/superagent/lib/node/index.js:703:3)\n    at IncomingMessage.&lt;anonymous&gt; (node_modules/supertest/node_modules/superagent/lib/node/index.js:922:12)\n    at endReadableNT (_stream_readable.js:923:12)\n\nTest Name: Http.Server rest() should allow writing a response from the callback\nError Details: expected &quot;Content-Type&quot; matching /^application\\/json/, got &quot;text/html; charset=utf-8&quot; Response body: {} Error: expected &quot;Content-Type&quot; matching /^application\\/json/, got &quot;text/html; charset=utf-8&quot;     at Test._assertHeader (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:213:45)     at Test._assertFunction (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:247:11)     at Test.assert (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:148:18)     at assert (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:127:12)     at /home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:124:5     at Test.Request.callback (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/node_modules/superagent/lib/node/index.js:703:3)     at IncomingMessage.&lt;anonymous&gt; (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/node_modules/superagent/lib/node/index.js:922:12)     at emitNone (events.js:72:20)     at IncomingMessage.emit (events.js:166:7)     at endReadableNT (_stream_readable.js:923:12)     at nextTickCallbackWith2Args (node.js:511:9)     at process._tickDomainCallback (node.js:466:17)\nStack Trace: Error: expected &quot;Content-Type&quot; matching /^application\\/json/, got &quot;text/html; charset=utf-8&quot;\n    at Test._assertHeader (node_modules/supertest/lib/test.js:213:45)\n    at Test._assertFunction (node_modules/supertest/lib/test.js:247:11)\n    at Test.assert (node_modules/supertest/lib/test.js:148:18)\n    at assert (node_modules/supertest/lib/test.js:127:12)\n    at node_modules/supertest/lib/test.js:124:5\n    at Test.Request.callback (node_modules/supertest/node_modules/superagent/lib/node/index.js:703:3)\n    at IncomingMessage.&lt;anonymous&gt; (node_modules/supertest/node_modules/superagent/lib/node/index.js:922:12)\n    at endReadableNT (_stream_readable.js:923:12)\n\nTest Name: Http.Server rest() should 500 error on thrown error\nError Details: expected &quot;Content-Type&quot; matching /^application\\/json/, got &quot;text/html; charset=utf-8&quot; Response body: {} Error: expected &quot;Content-Type&quot; matching /^application\\/json/, got &quot;text/html; charset=utf-8&quot;     at Test._assertHeader (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:213:45)     at Test._assertFunction (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:247:11)     at Test.assert (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:148:18)     at assert (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:127:12)     at /home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:124:5     at Test.Request.callback (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/node_modules/superagent/lib/node/index.js:703:3)     at IncomingMessage.&lt;anonymous&gt; (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/node_modules/superagent/lib/node/index.js:922:12)     at emitNone (events.js:72:20)     at IncomingMessage.emit (events.js:166:7)     at endReadableNT (_stream_readable.js:923:12)     at nextTickCallbackWith2Args (node.js:511:9)     at process._tickDomainCallback (node.js:466:17)\nStack Trace: Error: expected &quot;Content-Type&quot; matching /^application\\/json/, got &quot;text/html; charset=utf-8&quot;\n    at Test._assertHeader (node_modules/supertest/lib/test.js:213:45)\n    at Test._assertFunction (node_modules/supertest/lib/test.js:247:11)\n    at Test.assert (node_modules/supertest/lib/test.js:148:18)\n    at assert (node_modules/supertest/lib/test.js:127:12)\n    at node_modules/supertest/lib/test.js:124:5\n    at Test.Request.callback (node_modules/supertest/node_modules/superagent/lib/node/index.js:703:3)\n    at IncomingMessage.&lt;anonymous&gt; (node_modules/supertest/node_modules/superagent/lib/node/index.js:922:12)\n    at endReadableNT (_stream_readable.js:923:12)\n\nTest Name: Http.Server rest() should 500 error on thrown error\nError Details: expected &quot;Content-Type&quot; matching /^application\\/json/, got &quot;text/html; charset=utf-8&quot; Response body: {} Error: expected &quot;Content-Type&quot; matching /^application\\/json/, got &quot;text/html; charset=utf-8&quot;     at Test._assertHeader (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:213:45)     at Test._assertFunction (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:247:11)     at Test.assert (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:148:18)     at assert (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:127:12)     at /home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:124:5     at Test.Request.callback (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/node_modules/superagent/lib/node/index.js:703:3)     at IncomingMessage.&lt;anonymous&gt; (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/node_modules/superagent/lib/node/index.js:922:12)     at emitNone (events.js:72:20)     at IncomingMessage.emit (events.js:166:7)     at endReadableNT (_stream_readable.js:923:12)     at nextTickCallbackWith2Args (node.js:511:9)     at process._tickDomainCallback (node.js:466:17)\nStack Trace: Error: expected &quot;Content-Type&quot; matching /^application\\/json/, got &quot;text/html; charset=utf-8&quot;\n    at Test._assertHeader (node_modules/supertest/lib/test.js:213:45)\n    at Test._assertFunction (node_modules/supertest/lib/test.js:247:11)\n    at Test.assert (node_modules/supertest/lib/test.js:148:18)\n    at assert (node_modules/supertest/lib/test.js:127:12)\n    at node_modules/supertest/lib/test.js:124:5\n    at Test.Request.callback (node_modules/supertest/node_modules/superagent/lib/node/index.js:703:3)\n    at IncomingMessage.&lt;anonymous&gt; (node_modules/supertest/node_modules/superagent/lib/node/index.js:922:12)\n    at endReadableNT (_stream_readable.js:923:12)\n\nTest Name: Http.Server rest() should 200 with a resolved promise\nError Details: expected &quot;Content-Type&quot; matching /^application\\/json/, got &quot;text/html; charset=utf-8&quot; Response body: {} Error: expected &quot;Content-Type&quot; matching /^application\\/json/, got &quot;text/html; charset=utf-8&quot;     at Test._assertHeader (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:213:45)     at Test._assertFunction (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:247:11)     at Test.assert (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:148:18)     at assert (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:127:12)     at /home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:124:5     at Test.Request.callback (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/node_modules/superagent/lib/node/index.js:703:3)     at IncomingMessage.&lt;anonymous&gt; (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/node_modules/superagent/lib/node/index.js:922:12)     at emitNone (events.js:72:20)     at IncomingMessage.emit (events.js:166:7)     at endReadableNT (_stream_readable.js:923:12)     at nextTickCallbackWith2Args (node.js:511:9)     at process._tickDomainCallback (node.js:466:17)\nStack Trace: Error: expected &quot;Content-Type&quot; matching /^application\\/json/, got &quot;text/html; charset=utf-8&quot;\n    at Test._assertHeader (node_modules/supertest/lib/test.js:213:45)\n    at Test._assertFunction (node_modules/supertest/lib/test.js:247:11)\n    at Test.assert (node_modules/supertest/lib/test.js:148:18)\n    at assert (node_modules/supertest/lib/test.js:127:12)\n    at node_modules/supertest/lib/test.js:124:5\n    at Test.Request.callback (node_modules/supertest/node_modules/superagent/lib/node/index.js:703:3)\n    at IncomingMessage.&lt;anonymous&gt; (node_modules/supertest/node_modules/superagent/lib/node/index.js:922:12)\n    at endReadableNT (_stream_readable.js:923:12)\n\nTest Name: Http.Server rest() should 500 error on rejected promise with an Error\nError Details: expected &quot;Content-Type&quot; matching /^application\\/json/, got &quot;text/html; charset=utf-8&quot; Response body: {} Error: expected &quot;Content-Type&quot; matching /^application\\/json/, got &quot;text/html; charset=utf-8&quot;     at Test._assertHeader (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:213:45)     at Test._assertFunction (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:247:11)     at Test.assert (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:148:18)     at assert (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:127:12)     at /home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:124:5     at Test.Request.callback (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/node_modules/superagent/lib/node/index.js:703:3)     at IncomingMessage.&lt;anonymous&gt; (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/node_modules/superagent/lib/node/index.js:922:12)     at emitNone (events.js:72:20)     at IncomingMessage.emit (events.js:166:7)     at endReadableNT (_stream_readable.js:923:12)     at nextTickCallbackWith2Args (node.js:511:9)     at process._tickDomainCallback (node.js:466:17)\nStack Trace: Error: expected &quot;Content-Type&quot; matching /^application\\/json/, got &quot;text/html; charset=utf-8&quot;\n    at Test._assertHeader (node_modules/supertest/lib/test.js:213:45)\n    at Test._assertFunction (node_modules/supertest/lib/test.js:247:11)\n    at Test.assert (node_modules/supertest/lib/test.js:148:18)\n    at assert (node_modules/supertest/lib/test.js:127:12)\n    at node_modules/supertest/lib/test.js:124:5\n    at Test.Request.callback (node_modules/supertest/node_modules/superagent/lib/node/index.js:703:3)\n    at IncomingMessage.&lt;anonymous&gt; (node_modules/supertest/node_modules/superagent/lib/node/index.js:922:12)\n    at endReadableNT (_stream_readable.js:923:12)\n\nTest Name: Http.Server rest() should 500 error on rejected promise with an Error\nError Details: expected &quot;Content-Type&quot; matching /^application\\/json/, got &quot;text/html; charset=utf-8&quot; Response body: {} Error: expected &quot;Content-Type&quot; matching /^application\\/json/, got &quot;text/html; charset=utf-8&quot;     at Test._assertHeader (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:213:45)     at Test._assertFunction (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:247:11)     at Test.assert (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:148:18)     at assert (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:127:12)     at /home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:124:5     at Test.Request.callback (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/node_modules/superagent/lib/node/index.js:703:3)     at IncomingMessage.&lt;anonymous&gt; (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/node_modules/superagent/lib/node/index.js:922:12)     at emitNone (events.js:72:20)     at IncomingMessage.emit (events.js:166:7)     at endReadableNT (_stream_readable.js:923:12)     at nextTickCallbackWith2Args (node.js:511:9)     at process._tickDomainCallback (node.js:466:17)\nStack Trace: Error: expected &quot;Content-Type&quot; matching /^application\\/json/, got &quot;text/html; charset=utf-8&quot;\n    at Test._assertHeader (node_modules/supertest/lib/test.js:213:45)\n    at Test._assertFunction (node_modules/supertest/lib/test.js:247:11)\n    at Test.assert (node_modules/supertest/lib/test.js:148:18)\n    at assert (node_modules/supertest/lib/test.js:127:12)\n    at node_modules/supertest/lib/test.js:124:5\n    at Test.Request.callback (node_modules/supertest/node_modules/superagent/lib/node/index.js:703:3)\n    at IncomingMessage.&lt;anonymous&gt; (node_modules/supertest/node_modules/superagent/lib/node/index.js:922:12)\n    at endReadableNT (_stream_readable.js:923:12)\n\nTest Name: Http.Server rest() should 500 error on rejected promise with an object\nError Details: expected &quot;Content-Type&quot; matching /^application\\/json/, got &quot;text/html; charset=utf-8&quot; Response body: {} Error: expected &quot;Content-Type&quot; matching /^application\\/json/, got &quot;text/html; charset=utf-8&quot;     at Test._assertHeader (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:213:45)     at Test._assertFunction (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:247:11)     at Test.assert (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:148:18)     at assert (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:127:12)     at /home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:124:5     at Test.Request.callback (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/node_modules/superagent/lib/node/index.js:703:3)     at IncomingMessage.&lt;anonymous&gt; (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/node_modules/superagent/lib/node/index.js:922:12)     at emitNone (events.js:72:20)     at IncomingMessage.emit (events.js:166:7)     at endReadableNT (_stream_readable.js:923:12)     at nextTickCallbackWith2Args (node.js:511:9)     at process._tickDomainCallback (node.js:466:17)\nStack Trace: Error: expected &quot;Content-Type&quot; matching /^application\\/json/, got &quot;text/html; charset=utf-8&quot;\n    at Test._assertHeader (node_modules/supertest/lib/test.js:213:45)\n    at Test._assertFunction (node_modules/supertest/lib/test.js:247:11)\n    at Test.assert (node_modules/supertest/lib/test.js:148:18)\n    at assert (node_modules/supertest/lib/test.js:127:12)\n    at node_modules/supertest/lib/test.js:124:5\n    at Test.Request.callback (node_modules/supertest/node_modules/superagent/lib/node/index.js:703:3)\n    at IncomingMessage.&lt;anonymous&gt; (node_modules/supertest/node_modules/superagent/lib/node/index.js:922:12)\n    at endReadableNT (_stream_readable.js:923:12)\n\nTest Name: Http.Server rest() should 500 error on rejected promise with undefined\nError Details: expected &quot;Content-Type&quot; matching /^application\\/json/, got &quot;text/html; charset=utf-8&quot; Response body: {} Error: expected &quot;Content-Type&quot; matching /^application\\/json/, got &quot;text/html; charset=utf-8&quot;     at Test._assertHeader (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:213:45)     at Test._assertFunction (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:247:11)     at Test.assert (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:148:18)     at assert (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:127:12)     at /home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:124:5     at Test.Request.callback (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/node_modules/superagent/lib/node/index.js:703:3)     at IncomingMessage.&lt;anonymous&gt; (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/node_modules/superagent/lib/node/index.js:922:12)     at emitNone (events.js:72:20)     at IncomingMessage.emit (events.js:166:7)     at endReadableNT (_stream_readable.js:923:12)     at nextTickCallbackWith2Args (node.js:511:9)     at process._tickDomainCallback (node.js:466:17)\nStack Trace: Error: expected &quot;Content-Type&quot; matching /^application\\/json/, got &quot;text/html; charset=utf-8&quot;\n    at Test._assertHeader (node_modules/supertest/lib/test.js:213:45)\n    at Test._assertFunction (node_modules/supertest/lib/test.js:247:11)\n    at Test.assert (node_modules/supertest/lib/test.js:148:18)\n    at assert (node_modules/supertest/lib/test.js:127:12)\n    at node_modules/supertest/lib/test.js:124:5\n    at Test.Request.callback (node_modules/supertest/node_modules/superagent/lib/node/index.js:703:3)\n    at IncomingMessage.&lt;anonymous&gt; (node_modules/supertest/node_modules/superagent/lib/node/index.js:922:12)\n    at endReadableNT (_stream_readable.js:923:12)\n\nTest Name: Http.Server rest() should 500 error on rejected promise with undefined\nError Details: expected &quot;Content-Type&quot; matching /^application\\/json/, got &quot;text/html; charset=utf-8&quot; Response body: {} Error: expected &quot;Content-Type&quot; matching /^application\\/json/, got &quot;text/html; charset=utf-8&quot;     at Test._assertHeader (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:213:45)     at Test._assertFunction (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:247:11)     at Test.assert (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:148:18)     at assert (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:127:12)     at /home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:124:5     at Test.Request.callback (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/node_modules/superagent/lib/node/index.js:703:3)     at IncomingMessage.&lt;anonymous&gt; (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/node_modules/superagent/lib/node/index.js:922:12)     at emitNone (events.js:72:20)     at IncomingMessage.emit (events.js:166:7)     at endReadableNT (_stream_readable.js:923:12)     at nextTickCallbackWith2Args (node.js:511:9)     at process._tickDomainCallback (node.js:466:17)\nStack Trace: Error: expected &quot;Content-Type&quot; matching /^application\\/json/, got &quot;text/html; charset=utf-8&quot;\n    at Test._assertHeader (node_modules/supertest/lib/test.js:213:45)\n    at Test._assertFunction (node_modules/supertest/lib/test.js:247:11)\n    at Test.assert (node_modules/supertest/lib/test.js:148:18)\n    at assert (node_modules/supertest/lib/test.js:127:12)\n    at node_modules/supertest/lib/test.js:124:5\n    at Test.Request.callback (node_modules/supertest/node_modules/superagent/lib/node/index.js:703:3)\n    at IncomingMessage.&lt;anonymous&gt; (node_modules/supertest/node_modules/superagent/lib/node/index.js:922:12)\n    at endReadableNT (_stream_readable.js:923:12)\n\nTest Name: Http.Server rest() should serialize an object\nError Details: expected &quot;Content-Type&quot; matching /^application\\/json/, got &quot;text/html; charset=utf-8&quot; Response body: {} Error: expected &quot;Content-Type&quot; matching /^application\\/json/, got &quot;text/html; charset=utf-8&quot;     at Test._assertHeader (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:213:45)     at Test._assertFunction (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:247:11)     at Test.assert (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:148:18)     at assert (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:127:12)     at /home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:124:5     at Test.Request.callback (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/node_modules/superagent/lib/node/index.js:703:3)     at IncomingMessage.&lt;anonymous&gt; (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/node_modules/superagent/lib/node/index.js:922:12)     at emitNone (events.js:72:20)     at IncomingMessage.emit (events.js:166:7)     at endReadableNT (_stream_readable.js:923:12)     at nextTickCallbackWith2Args (node.js:511:9)     at process._tickDomainCallback (node.js:466:17)\nStack Trace: Error: expected &quot;Content-Type&quot; matching /^application\\/json/, got &quot;text/html; charset=utf-8&quot;\n    at Test._assertHeader (node_modules/supertest/lib/test.js:213:45)\n    at Test._assertFunction (node_modules/supertest/lib/test.js:247:11)\n    at Test.assert (node_modules/supertest/lib/test.js:148:18)\n    at assert (node_modules/supertest/lib/test.js:127:12)\n    at node_modules/supertest/lib/test.js:124:5\n    at Test.Request.callback (node_modules/supertest/node_modules/superagent/lib/node/index.js:703:3)\n    at IncomingMessage.&lt;anonymous&gt; (node_modules/supertest/node_modules/superagent/lib/node/index.js:922:12)\n    at endReadableNT (_stream_readable.js:923:12)\n\nTest Name: Http.Server rest() should serialize an array of objects\nError Details: expected &quot;Content-Type&quot; matching /^application\\/json/, got &quot;text/html; charset=utf-8&quot; Response body: {} Error: expected &quot;Content-Type&quot; matching /^application\\/json/, got &quot;text/html; charset=utf-8&quot;     at Test._assertHeader (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:213:45)     at Test._assertFunction (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:247:11)     at Test.assert (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:148:18)     at assert (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:127:12)     at /home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:124:5     at Test.Request.callback (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/node_modules/superagent/lib/node/index.js:703:3)     at IncomingMessage.&lt;anonymous&gt; (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/node_modules/superagent/lib/node/index.js:922:12)     at emitNone (events.js:72:20)     at IncomingMessage.emit (events.js:166:7)     at endReadableNT (_stream_readable.js:923:12)     at nextTickCallbackWith2Args (node.js:511:9)     at process._tickDomainCallback (node.js:466:17)\nStack Trace: Error: expected &quot;Content-Type&quot; matching /^application\\/json/, got &quot;text/html; charset=utf-8&quot;\n    at Test._assertHeader (node_modules/supertest/lib/test.js:213:45)\n    at Test._assertFunction (node_modules/supertest/lib/test.js:247:11)\n    at Test.assert (node_modules/supertest/lib/test.js:148:18)\n    at assert (node_modules/supertest/lib/test.js:127:12)\n    at node_modules/supertest/lib/test.js:124:5\n    at Test.Request.callback (node_modules/supertest/node_modules/superagent/lib/node/index.js:703:3)\n    at IncomingMessage.&lt;anonymous&gt; (node_modules/supertest/node_modules/superagent/lib/node/index.js:922:12)\n    at endReadableNT (_stream_readable.js:923:12)\n\nTest Name: Http.Server rest() should serialize an array of objects\nError Details: expected &quot;Content-Type&quot; matching /^application\\/json/, got &quot;text/html; charset=utf-8&quot; Response body: {} Error: expected &quot;Content-Type&quot; matching /^application\\/json/, got &quot;text/html; charset=utf-8&quot;     at Test._assertHeader (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:213:45)     at Test._assertFunction (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:247:11)     at Test.assert (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:148:18)     at assert (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:127:12)     at /home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:124:5     at Test.Request.callback (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/node_modules/superagent/lib/node/index.js:703:3)     at IncomingMessage.&lt;anonymous&gt; (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/node_modules/superagent/lib/node/index.js:922:12)     at emitNone (events.js:72:20)     at IncomingMessage.emit (events.js:166:7)     at endReadableNT (_stream_readable.js:923:12)     at nextTickCallbackWith2Args (node.js:511:9)     at process._tickDomainCallback (node.js:466:17)\nStack Trace: Error: expected &quot;Content-Type&quot; matching /^application\\/json/, got &quot;text/html; charset=utf-8&quot;\n    at Test._assertHeader (node_modules/supertest/lib/test.js:213:45)\n    at Test._assertFunction (node_modules/supertest/lib/test.js:247:11)\n    at Test.assert (node_modules/supertest/lib/test.js:148:18)\n    at assert (node_modules/supertest/lib/test.js:127:12)\n    at node_modules/supertest/lib/test.js:124:5\n    at Test.Request.callback (node_modules/supertest/node_modules/superagent/lib/node/index.js:703:3)\n    at IncomingMessage.&lt;anonymous&gt; (node_modules/supertest/node_modules/superagent/lib/node/index.js:922:12)\n    at endReadableNT (_stream_readable.js:923:12)\n\nTest Name: Http.Server rest() should 500 if a serializer throws an error\nError Details: expected &quot;Content-Type&quot; matching /^application\\/json/, got &quot;text/html; charset=utf-8&quot; Response body: {} Error: expected &quot;Content-Type&quot; matching /^application\\/json/, got &quot;text/html; charset=utf-8&quot;     at Test._assertHeader (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:213:45)     at Test._assertFunction (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:247:11)     at Test.assert (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:148:18)     at assert (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:127:12)     at /home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:124:5     at Test.Request.callback (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/node_modules/superagent/lib/node/index.js:703:3)     at IncomingMessage.&lt;anonymous&gt; (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/node_modules/superagent/lib/node/index.js:922:12)     at emitNone (events.js:72:20)     at IncomingMessage.emit (events.js:166:7)     at endReadableNT (_stream_readable.js:923:12)     at nextTickCallbackWith2Args (node.js:511:9)     at process._tickDomainCallback (node.js:466:17)\nStack Trace: Error: expected &quot;Content-Type&quot; matching /^application\\/json/, got &quot;text/html; charset=utf-8&quot;\n    at Test._assertHeader (node_modules/supertest/lib/test.js:213:45)\n    at Test._assertFunction (node_modules/supertest/lib/test.js:247:11)\n    at Test.assert (node_modules/supertest/lib/test.js:148:18)\n    at assert (node_modules/supertest/lib/test.js:127:12)\n    at node_modules/supertest/lib/test.js:124:5\n    at Test.Request.callback (node_modules/supertest/node_modules/superagent/lib/node/index.js:703:3)\n    at IncomingMessage.&lt;anonymous&gt; (node_modules/supertest/node_modules/superagent/lib/node/index.js:922:12)\n    at endReadableNT (_stream_readable.js:923:12)\n\nTest Name: Http.Server rest() should 500 if a serializer returns a rejected promise\nError Details: expected &quot;Content-Type&quot; matching /^application\\/json/, got &quot;text/html; charset=utf-8&quot; Response body: {} Error: expected &quot;Content-Type&quot; matching /^application\\/json/, got &quot;text/html; charset=utf-8&quot;     at Test._assertHeader (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:213:45)     at Test._assertFunction (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:247:11)     at Test.assert (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:148:18)     at assert (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:127:12)     at /home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:124:5     at Test.Request.callback (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/node_modules/superagent/lib/node/index.js:703:3)     at IncomingMessage.&lt;anonymous&gt; (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/node_modules/superagent/lib/node/index.js:922:12)     at emitNone (events.js:72:20)     at IncomingMessage.emit (events.js:166:7)     at endReadableNT (_stream_readable.js:923:12)     at nextTickCallbackWith2Args (node.js:511:9)     at process._tickDomainCallback (node.js:466:17)\nStack Trace: Error: expected &quot;Content-Type&quot; matching /^application\\/json/, got &quot;text/html; charset=utf-8&quot;\n    at Test._assertHeader (node_modules/supertest/lib/test.js:213:45)\n    at Test._assertFunction (node_modules/supertest/lib/test.js:247:11)\n    at Test.assert (node_modules/supertest/lib/test.js:148:18)\n    at assert (node_modules/supertest/lib/test.js:127:12)\n    at node_modules/supertest/lib/test.js:124:5\n    at Test.Request.callback (node_modules/supertest/node_modules/superagent/lib/node/index.js:703:3)\n    at IncomingMessage.&lt;anonymous&gt; (node_modules/supertest/node_modules/superagent/lib/node/index.js:922:12)\n    at endReadableNT (_stream_readable.js:923:12)\n\nTest Name: Http.Server rest() should deserialize the response\nError Details: expected &quot;Content-Type&quot; matching /^application\\/json/, got &quot;text/html; charset=utf-8&quot; Response body: {} Error: expected &quot;Content-Type&quot; matching /^application\\/json/, got &quot;text/html; charset=utf-8&quot;     at Test._assertHeader (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:213:45)     at Test._assertFunction (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:247:11)     at Test.assert (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:148:18)     at assert (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:127:12)     at /home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:124:5     at Test.Request.callback (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/node_modules/superagent/lib/node/index.js:703:3)     at IncomingMessage.&lt;anonymous&gt; (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/node_modules/superagent/lib/node/index.js:922:12)     at emitNone (events.js:72:20)     at IncomingMessage.emit (events.js:166:7)     at endReadableNT (_stream_readable.js:923:12)     at nextTickCallbackWith2Args (node.js:511:9)     at process._tickDomainCallback (node.js:466:17)\nStack Trace: Error: expected &quot;Content-Type&quot; matching /^application\\/json/, got &quot;text/html; charset=utf-8&quot;\n    at Test._assertHeader (node_modules/supertest/lib/test.js:213:45)\n    at Test._assertFunction (node_modules/supertest/lib/test.js:247:11)\n    at Test.assert (node_modules/supertest/lib/test.js:148:18)\n    at assert (node_modules/supertest/lib/test.js:127:12)\n    at node_modules/supertest/lib/test.js:124:5\n    at Test.Request.callback (node_modules/supertest/node_modules/superagent/lib/node/index.js:703:3)\n    at IncomingMessage.&lt;anonymous&gt; (node_modules/supertest/node_modules/superagent/lib/node/index.js:922:12)\n    at endReadableNT (_stream_readable.js:923:12)\n\nTest Name: Http.Server rest() should deserialize the response with a promise\nError Details: expected &quot;Content-Type&quot; matching /^application\\/json/, got &quot;text/html; charset=utf-8&quot; Response body: {} Error: expected &quot;Content-Type&quot; matching /^application\\/json/, got &quot;text/html; charset=utf-8&quot;     at Test._assertHeader (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:213:45)     at Test._assertFunction (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:247:11)     at Test.assert (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:148:18)     at assert (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:127:12)     at /home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:124:5     at Test.Request.callback (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/node_modules/superagent/lib/node/index.js:703:3)     at IncomingMessage.&lt;anonymous&gt; (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/node_modules/superagent/lib/node/index.js:922:12)     at emitNone (events.js:72:20)     at IncomingMessage.emit (events.js:166:7)     at endReadableNT (_stream_readable.js:923:12)     at nextTickCallbackWith2Args (node.js:511:9)     at process._tickDomainCallback (node.js:466:17)\nStack Trace: Error: expected &quot;Content-Type&quot; matching /^application\\/json/, got &quot;text/html; charset=utf-8&quot;\n    at Test._assertHeader (node_modules/supertest/lib/test.js:213:45)\n    at Test._assertFunction (node_modules/supertest/lib/test.js:247:11)\n    at Test.assert (node_modules/supertest/lib/test.js:148:18)\n    at assert (node_modules/supertest/lib/test.js:127:12)\n    at node_modules/supertest/lib/test.js:124:5\n    at Test.Request.callback (node_modules/supertest/node_modules/superagent/lib/node/index.js:703:3)\n    at IncomingMessage.&lt;anonymous&gt; (node_modules/supertest/node_modules/superagent/lib/node/index.js:922:12)\n    at endReadableNT (_stream_readable.js:923:12)\n\nTest Name: Http.Server rest() should 500 if a deserializer throws an error\nError Details: expected &quot;Content-Type&quot; matching /^application\\/json/, got &quot;text/html; charset=utf-8&quot; Response body: {} Error: expected &quot;Content-Type&quot; matching /^application\\/json/, got &quot;text/html; charset=utf-8&quot;     at Test._assertHeader (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:213:45)     at Test._assertFunction (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:247:11)     at Test.assert (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:148:18)     at assert (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:127:12)     at /home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:124:5     at Test.Request.callback (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/node_modules/superagent/lib/node/index.js:703:3)     at IncomingMessage.&lt;anonymous&gt; (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/node_modules/superagent/lib/node/index.js:922:12)     at emitNone (events.js:72:20)     at IncomingMessage.emit (events.js:166:7)     at endReadableNT (_stream_readable.js:923:12)     at nextTickCallbackWith2Args (node.js:511:9)     at process._tickDomainCallback (node.js:466:17)\nStack Trace: Error: expected &quot;Content-Type&quot; matching /^application\\/json/, got &quot;text/html; charset=utf-8&quot;\n    at Test._assertHeader (node_modules/supertest/lib/test.js:213:45)\n    at Test._assertFunction (node_modules/supertest/lib/test.js:247:11)\n    at Test.assert (node_modules/supertest/lib/test.js:148:18)\n    at assert (node_modules/supertest/lib/test.js:127:12)\n    at node_modules/supertest/lib/test.js:124:5\n    at Test.Request.callback (node_modules/supertest/node_modules/superagent/lib/node/index.js:703:3)\n    at IncomingMessage.&lt;anonymous&gt; (node_modules/supertest/node_modules/superagent/lib/node/index.js:922:12)\n    at endReadableNT (_stream_readable.js:923:12)\n\nTest Name: Http.Server rest() should 500 if a deserializer returns a rejected promise\nError Details: expected &quot;Content-Type&quot; matching /^application\\/json/, got &quot;text/html; charset=utf-8&quot; Response body: {} Error: expected &quot;Content-Type&quot; matching /^application\\/json/, got &quot;text/html; charset=utf-8&quot;     at Test._assertHeader (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:213:45)     at Test._assertFunction (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:247:11)     at Test.assert (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:148:18)     at assert (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:127:12)     at /home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:124:5     at Test.Request.callback (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/node_modules/superagent/lib/node/index.js:703:3)     at IncomingMessage.&lt;anonymous&gt; (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/node_modules/superagent/lib/node/index.js:922:12)     at emitNone (events.js:72:20)     at IncomingMessage.emit (events.js:166:7)     at endReadableNT (_stream_readable.js:923:12)     at nextTickCallbackWith2Args (node.js:511:9)     at process._tickDomainCallback (node.js:466:17)\nStack Trace: Error: expected &quot;Content-Type&quot; matching /^application\\/json/, got &quot;text/html; charset=utf-8&quot;\n    at Test._assertHeader (node_modules/supertest/lib/test.js:213:45)\n    at Test._assertFunction (node_modules/supertest/lib/test.js:247:11)\n    at Test.assert (node_modules/supertest/lib/test.js:148:18)\n    at assert (node_modules/supertest/lib/test.js:127:12)\n    at node_modules/supertest/lib/test.js:124:5\n    at Test.Request.callback (node_modules/supertest/node_modules/superagent/lib/node/index.js:703:3)\n    at IncomingMessage.&lt;anonymous&gt; (node_modules/supertest/node_modules/superagent/lib/node/index.js:922:12)\n    at endReadableNT (_stream_readable.js:923:12)\n\nTest Name: Http.Server rest() should 400 if a deserializer returns a promise rejected with a ValidationError\nError Details: expected &quot;Content-Type&quot; matching /^application\\/json/, got &quot;text/html; charset=utf-8&quot; Response body: {} Error: expected &quot;Content-Type&quot; matching /^application\\/json/, got &quot;text/html; charset=utf-8&quot;     at Test._assertHeader (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:213:45)     at Test._assertFunction (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:247:11)     at Test.assert (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:148:18)     at assert (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:127:12)     at /home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:124:5     at Test.Request.callback (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/node_modules/superagent/lib/node/index.js:703:3)     at IncomingMessage.&lt;anonymous&gt; (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/node_modules/superagent/lib/node/index.js:922:12)     at emitNone (events.js:72:20)     at IncomingMessage.emit (events.js:166:7)     at endReadableNT (_stream_readable.js:923:12)     at nextTickCallbackWith2Args (node.js:511:9)     at process._tickDomainCallback (node.js:466:17)\nStack Trace: Error: expected &quot;Content-Type&quot; matching /^application\\/json/, got &quot;text/html; charset=utf-8&quot;\n    at Test._assertHeader (node_modules/supertest/lib/test.js:213:45)\n    at Test._assertFunction (node_modules/supertest/lib/test.js:247:11)\n    at Test.assert (node_modules/supertest/lib/test.js:148:18)\n    at assert (node_modules/supertest/lib/test.js:127:12)\n    at node_modules/supertest/lib/test.js:124:5\n    at Test.Request.callback (node_modules/supertest/node_modules/superagent/lib/node/index.js:703:3)\n    at IncomingMessage.&lt;anonymous&gt; (node_modules/supertest/node_modules/superagent/lib/node/index.js:922:12)\n    at endReadableNT (_stream_readable.js:923:12)\n\nTest Name: Http.Server rest() should 400 if a deserializer returns a promise rejected with a ValidationError\nError Details: expected &quot;Content-Type&quot; matching /^application\\/json/, got &quot;text/html; charset=utf-8&quot; Response body: {} Error: expected &quot;Content-Type&quot; matching /^application\\/json/, got &quot;text/html; charset=utf-8&quot;     at Test._assertHeader (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:213:45)     at Test._assertFunction (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:247:11)     at Test.assert (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:148:18)     at assert (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:127:12)     at /home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:124:5     at Test.Request.callback (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/node_modules/superagent/lib/node/index.js:703:3)     at IncomingMessage.&lt;anonymous&gt; (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/node_modules/superagent/lib/node/index.js:922:12)     at emitNone (events.js:72:20)     at IncomingMessage.emit (events.js:166:7)     at endReadableNT (_stream_readable.js:923:12)     at nextTickCallbackWith2Args (node.js:511:9)     at process._tickDomainCallback (node.js:466:17)\nStack Trace: Error: expected &quot;Content-Type&quot; matching /^application\\/json/, got &quot;text/html; charset=utf-8&quot;\n    at Test._assertHeader (node_modules/supertest/lib/test.js:213:45)\n    at Test._assertFunction (node_modules/supertest/lib/test.js:247:11)\n    at Test.assert (node_modules/supertest/lib/test.js:148:18)\n    at assert (node_modules/supertest/lib/test.js:127:12)\n    at node_modules/supertest/lib/test.js:124:5\n    at Test.Request.callback (node_modules/supertest/node_modules/superagent/lib/node/index.js:703:3)\n    at IncomingMessage.&lt;anonymous&gt; (node_modules/supertest/node_modules/superagent/lib/node/index.js:922:12)\n    at endReadableNT (_stream_readable.js:923:12)\n\nTest Name: Http.Server rest() should get a deserializer from the injector\nError Details: expected &quot;Content-Type&quot; matching /^application\\/json/, got &quot;text/html; charset=utf-8&quot; Response body: {} Error: expected &quot;Content-Type&quot; matching /^application\\/json/, got &quot;text/html; charset=utf-8&quot;     at Test._assertHeader (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:213:45)     at Test._assertFunction (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:247:11)     at Test.assert (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:148:18)     at assert (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:127:12)     at /home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:124:5     at Test.Request.callback (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/node_modules/superagent/lib/node/index.js:703:3)     at IncomingMessage.&lt;anonymous&gt; (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/node_modules/superagent/lib/node/index.js:922:12)     at emitNone (events.js:72:20)     at IncomingMessage.emit (events.js:166:7)     at endReadableNT (_stream_readable.js:923:12)     at nextTickCallbackWith2Args (node.js:511:9)     at process._tickDomainCallback (node.js:466:17)\nStack Trace: Error: expected &quot;Content-Type&quot; matching /^application\\/json/, got &quot;text/html; charset=utf-8&quot;\n    at Test._assertHeader (node_modules/supertest/lib/test.js:213:45)\n    at Test._assertFunction (node_modules/supertest/lib/test.js:247:11)\n    at Test.assert (node_modules/supertest/lib/test.js:148:18)\n    at assert (node_modules/supertest/lib/test.js:127:12)\n    at node_modules/supertest/lib/test.js:124:5\n    at Test.Request.callback (node_modules/supertest/node_modules/superagent/lib/node/index.js:703:3)\n    at IncomingMessage.&lt;anonymous&gt; (node_modules/supertest/node_modules/superagent/lib/node/index.js:922:12)\n    at endReadableNT (_stream_readable.js:923:12)\n\nTest Name: Http.Server rest() should 500 if a deserializer from the injector throws an Error\nError Details: expected &quot;Content-Type&quot; matching /^application\\/json/, got &quot;text/html; charset=utf-8&quot; Response body: {} Error: expected &quot;Content-Type&quot; matching /^application\\/json/, got &quot;text/html; charset=utf-8&quot;     at Test._assertHeader (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:213:45)     at Test._assertFunction (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:247:11)     at Test.assert (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:148:18)     at assert (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:127:12)     at /home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:124:5     at Test.Request.callback (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/node_modules/superagent/lib/node/index.js:703:3)     at IncomingMessage.&lt;anonymous&gt; (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/node_modules/superagent/lib/node/index.js:922:12)     at emitNone (events.js:72:20)     at IncomingMessage.emit (events.js:166:7)     at endReadableNT (_stream_readable.js:923:12)     at nextTickCallbackWith2Args (node.js:511:9)     at process._tickDomainCallback (node.js:466:17)\nStack Trace: Error: expected &quot;Content-Type&quot; matching /^application\\/json/, got &quot;text/html; charset=utf-8&quot;\n    at Test._assertHeader (node_modules/supertest/lib/test.js:213:45)\n    at Test._assertFunction (node_modules/supertest/lib/test.js:247:11)\n    at Test.assert (node_modules/supertest/lib/test.js:148:18)\n    at assert (node_modules/supertest/lib/test.js:127:12)\n    at node_modules/supertest/lib/test.js:124:5\n    at Test.Request.callback (node_modules/supertest/node_modules/superagent/lib/node/index.js:703:3)\n    at IncomingMessage.&lt;anonymous&gt; (node_modules/supertest/node_modules/superagent/lib/node/index.js:922:12)\n    at endReadableNT (_stream_readable.js:923:12)\n\nTest Name: Http.Server rest() should 500 if a deserializer from the injector throws an Error\nError Details: expected &quot;Content-Type&quot; matching /^application\\/json/, got &quot;text/html; charset=utf-8&quot; Response body: {} Error: expected &quot;Content-Type&quot; matching /^application\\/json/, got &quot;text/html; charset=utf-8&quot;     at Test._assertHeader (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:213:45)     at Test._assertFunction (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:247:11)     at Test.assert (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:148:18)     at assert (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:127:12)     at /home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:124:5     at Test.Request.callback (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/node_modules/superagent/lib/node/index.js:703:3)     at IncomingMessage.&lt;anonymous&gt; (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/node_modules/superagent/lib/node/index.js:922:12)     at emitNone (events.js:72:20)     at IncomingMessage.emit (events.js:166:7)     at endReadableNT (_stream_readable.js:923:12)     at nextTickCallbackWith2Args (node.js:511:9)     at process._tickDomainCallback (node.js:466:17)\nStack Trace: Error: expected &quot;Content-Type&quot; matching /^application\\/json/, got &quot;text/html; charset=utf-8&quot;\n    at Test._assertHeader (node_modules/supertest/lib/test.js:213:45)\n    at Test._assertFunction (node_modules/supertest/lib/test.js:247:11)\n    at Test.assert (node_modules/supertest/lib/test.js:148:18)\n    at assert (node_modules/supertest/lib/test.js:127:12)\n    at node_modules/supertest/lib/test.js:124:5\n    at Test.Request.callback (node_modules/supertest/node_modules/superagent/lib/node/index.js:703:3)\n    at IncomingMessage.&lt;anonymous&gt; (node_modules/supertest/node_modules/superagent/lib/node/index.js:922:12)\n    at endReadableNT (_stream_readable.js:923:12)\n\nTest Name: Http.Server rest() should 500 if a serializer from the injector throws an Error\nError Details: expected &quot;Content-Type&quot; matching /^application\\/json/, got &quot;text/html; charset=utf-8&quot; Response body: {} Error: expected &quot;Content-Type&quot; matching /^application\\/json/, got &quot;text/html; charset=utf-8&quot;     at Test._assertHeader (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:213:45)     at Test._assertFunction (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:247:11)     at Test.assert (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:148:18)     at assert (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:127:12)     at /home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/lib/test.js:124:5     at Test.Request.callback (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/node_modules/superagent/lib/node/index.js:703:3)     at IncomingMessage.&lt;anonymous&gt; (/home/jenkins/workspace/on-core/build-deps/on-http/node_modules/supertest/node_modules/superagent/lib/node/index.js:922:12)     at emitNone (events.js:72:20)     at IncomingMessage.emit (events.js:166:7)     at endReadableNT (_stream_readable.js:923:12)     at nextTickCallbackWith2Args (node.js:511:9)     at process._tickDomainCallback (node.js:466:17)\nStack Trace: Error: expected &quot;Content-Type&quot; matching /^application\\/json/, got &quot;text/html; charset=utf-8&quot;\n    at Test._assertHeader (node_modules/supertest/lib/test.js:213:45)\n    at Test._assertFunction (node_modules/supertest/lib/test.js:247:11)\n    at Test.assert (node_modules/supertest/lib/test.js:148:18)\n    at assert (node_modules/supertest/lib/test.js:127:12)\n    at node_modules/supertest/lib/test.js:124:5\n    at Test.Request.callback (node_modules/supertest/node_modules/superagent/lib/node/index.js:703:3)\n    at IncomingMessage.&lt;anonymous&gt; (node_modules/supertest/node_modules/superagent/lib/node/index.js:922:12)\n    at endReadableNT (_stream_readable.js:923:12)\n\nTest Name: Ssh Serializable V1 \"before all\" hook: helper.before\nError Details: Connection is already registered\nStack Trace: AdapterError: Connection is already registered\n    at Object.module.exports.adapter.registerConnection (node_modules/on-core/node_modules/sails-mongo/lib/adapter.js:86:60)\n    at node_modules/on-core/node_modules/waterline/lib/waterline.js:203:29\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:162:20\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:230:13\n    at _arrayEach (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:81:9)\n    at _each (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:72:13)\n    at Object.async.forEachOf.async.eachOf (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:229:9)\n    at Object.async.forEach.async.each (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:206:22)\n    at Array.async.auto.registerConnections (node_modules/on-core/node_modules/waterline/lib/waterline.js:176:13)\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:590:38\n    at _arrayEach (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:81:9)\n    at Object.async.auto (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:552:9)\n    at Waterline.initialize (node_modules/on-core/node_modules/waterline/lib/waterline.js:121:9)\n    at node_modules/on-core/lib/services/waterline.js:96:26\n    at tryCatcher (node_modules/on-core/node_modules/bluebird/js/main/util.js:26:23)\n    at Promise._resolveFromResolver (node_modules/on-core/node_modules/bluebird/js/main/promise.js:483:31)\n    at new Promise (node_modules/on-core/node_modules/bluebird/js/main/promise.js:71:37)\n    at WaterlineServiceFactory.WaterlineService.initService (node_modules/on-core/lib/services/waterline.js:42:16)\n    at node_modules/on-core/lib/services/waterline.js:120:29\n    at tryCatcher (node_modules/on-core/node_modules/bluebird/js/main/util.js:26:23)\n    at Promise._settlePromiseFromHandler (node_modules/on-core/node_modules/bluebird/js/main/promise.js:510:31)\n    at Promise._settlePromiseAt (node_modules/on-core/node_modules/bluebird/js/main/promise.js:584:18)\n    at Promise._settlePromiseAtPostResolution (node_modules/on-core/node_modules/bluebird/js/main/promise.js:248:10)\n    at Async._drainQueue (node_modules/on-core/node_modules/bluebird/js/main/async.js:128:12)\n    at Async._drainQueues (node_modules/on-core/node_modules/bluebird/js/main/async.js:133:10)\n    at Immediate.Async.drainQueues [as _onImmediate] (node_modules/on-core/node_modules/bluebird/js/main/async.js:15:14)\n\nTest Name: Node Serializable V1 \"before all\" hook: helper.before\nError Details: Connection is already registered\nStack Trace: AdapterError: Connection is already registered\n    at Object.module.exports.adapter.registerConnection (node_modules/on-core/node_modules/sails-mongo/lib/adapter.js:86:60)\n    at node_modules/on-core/node_modules/waterline/lib/waterline.js:203:29\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:162:20\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:230:13\n    at _arrayEach (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:81:9)\n    at _each (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:72:13)\n    at Object.async.forEachOf.async.eachOf (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:229:9)\n    at Object.async.forEach.async.each (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:206:22)\n    at Array.async.auto.registerConnections (node_modules/on-core/node_modules/waterline/lib/waterline.js:176:13)\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:590:38\n    at _arrayEach (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:81:9)\n    at Object.async.auto (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:552:9)\n    at Waterline.initialize (node_modules/on-core/node_modules/waterline/lib/waterline.js:121:9)\n    at node_modules/on-core/lib/services/waterline.js:96:26\n    at tryCatcher (node_modules/on-core/node_modules/bluebird/js/main/util.js:26:23)\n    at Promise._resolveFromResolver (node_modules/on-core/node_modules/bluebird/js/main/promise.js:483:31)\n    at new Promise (node_modules/on-core/node_modules/bluebird/js/main/promise.js:71:37)\n    at WaterlineServiceFactory.WaterlineService.initService (node_modules/on-core/lib/services/waterline.js:42:16)\n    at node_modules/on-core/lib/services/waterline.js:120:29\n    at tryCatcher (node_modules/on-core/node_modules/bluebird/js/main/util.js:26:23)\n    at Promise._settlePromiseFromHandler (node_modules/on-core/node_modules/bluebird/js/main/promise.js:510:31)\n    at Promise._settlePromiseAt (node_modules/on-core/node_modules/bluebird/js/main/promise.js:584:18)\n    at Promise._settlePromiseAtPostResolution (node_modules/on-core/node_modules/bluebird/js/main/promise.js:248:10)\n    at Async._drainQueue (node_modules/on-core/node_modules/bluebird/js/main/async.js:128:12)\n    at Async._drainQueues (node_modules/on-core/node_modules/bluebird/js/main/async.js:133:10)\n    at Immediate.Async.drainQueues [as _onImmediate] (node_modules/on-core/node_modules/bluebird/js/main/async.js:15:14)\n\nTest Name: Snmp Serializable V1 \"before all\" hook: helper.before\nError Details: Connection is already registered\nStack Trace: AdapterError: Connection is already registered\n    at Object.module.exports.adapter.registerConnection (node_modules/on-core/node_modules/sails-mongo/lib/adapter.js:86:60)\n    at node_modules/on-core/node_modules/waterline/lib/waterline.js:203:29\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:162:20\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:230:13\n    at _arrayEach (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:81:9)\n    at _each (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:72:13)\n    at Object.async.forEachOf.async.eachOf (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:229:9)\n    at Object.async.forEach.async.each (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:206:22)\n    at Array.async.auto.registerConnections (node_modules/on-core/node_modules/waterline/lib/waterline.js:176:13)\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:590:38\n    at _arrayEach (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:81:9)\n    at Object.async.auto (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:552:9)\n    at Waterline.initialize (node_modules/on-core/node_modules/waterline/lib/waterline.js:121:9)\n    at node_modules/on-core/lib/services/waterline.js:96:26\n    at tryCatcher (node_modules/on-core/node_modules/bluebird/js/main/util.js:26:23)\n    at Promise._resolveFromResolver (node_modules/on-core/node_modules/bluebird/js/main/promise.js:483:31)\n    at new Promise (node_modules/on-core/node_modules/bluebird/js/main/promise.js:71:37)\n    at WaterlineServiceFactory.WaterlineService.initService (node_modules/on-core/lib/services/waterline.js:42:16)\n    at node_modules/on-core/lib/services/waterline.js:120:29\n    at tryCatcher (node_modules/on-core/node_modules/bluebird/js/main/util.js:26:23)\n    at Promise._settlePromiseFromHandler (node_modules/on-core/node_modules/bluebird/js/main/promise.js:510:31)\n    at Promise._settlePromiseAt (node_modules/on-core/node_modules/bluebird/js/main/promise.js:584:18)\n    at Promise._settlePromiseAtPostResolution (node_modules/on-core/node_modules/bluebird/js/main/promise.js:248:10)\n    at Async._drainQueue (node_modules/on-core/node_modules/bluebird/js/main/async.js:128:12)\n    at Async._drainQueues (node_modules/on-core/node_modules/bluebird/js/main/async.js:133:10)\n    at Immediate.Async.drainQueues [as _onImmediate] (node_modules/on-core/node_modules/bluebird/js/main/async.js:15:14)\n\nTest Name: Obm Serializable V1 \"before all\" hook: helper.before\nError Details: Connection is already registered\nStack Trace: AdapterError: Connection is already registered\n    at Object.module.exports.adapter.registerConnection (node_modules/on-core/node_modules/sails-mongo/lib/adapter.js:86:60)\n    at node_modules/on-core/node_modules/waterline/lib/waterline.js:203:29\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:162:20\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:230:13\n    at _arrayEach (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:81:9)\n    at _each (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:72:13)\n    at Object.async.forEachOf.async.eachOf (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:229:9)\n    at Object.async.forEach.async.each (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:206:22)\n    at Array.async.auto.registerConnections (node_modules/on-core/node_modules/waterline/lib/waterline.js:176:13)\n    at node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:590:38\n    at _arrayEach (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:81:9)\n    at Object.async.auto (node_modules/on-core/node_modules/waterline/node_modules/async/lib/async.js:552:9)\n    at Waterline.initialize (node_modules/on-core/node_modules/waterline/lib/waterline.js:121:9)\n    at node_modules/on-core/lib/services/waterline.js:96:26\n    at tryCatcher (node_modules/on-core/node_modules/bluebird/js/main/util.js:26:23)\n    at Promise._resolveFromResolver (node_modules/on-core/node_modules/bluebird/js/main/promise.js:483:31)\n    at new Promise (node_modules/on-core/node_modules/bluebird/js/main/promise.js:71:37)\n    at WaterlineServiceFactory.WaterlineService.initService (node_modules/on-core/lib/services/waterline.js:42:16)\n    at node_modules/on-core/lib/services/waterline.js:120:29\n    at tryCatcher (node_modules/on-core/node_modules/bluebird/js/main/util.js:26:23)\n    at Promise._settlePromiseFromHandler (node_modules/on-core/node_modules/bluebird/js/main/promise.js:510:31)\n    at Promise._settlePromiseAt (node_modules/on-core/node_modules/bluebird/js/main/promise.js:584:18)\n    at Promise._settlePromiseAtPostResolution (node_modules/on-core/node_modules/bluebird/js/main/promise.js:248:10)\n    at Async._drainQueue (node_modules/on-core/node_modules/bluebird/js/main/async.js:128:12)\n    at Async._drainQueues (node_modules/on-core/node_modules/bluebird/js/main/async.js:133:10)\n    at Immediate.Async.drainQueues [as _onImmediate] (node_modules/on-core/node_modules/bluebird/js/main/async.js:15:14)\n\n</details>\n"}}
{"actor":{"display_login":"changev"}}