{"action":"created","issue":{"url":"https://api.github.com/repos/CMPUT401Group/analytic-engine/issues/3","repository_url":"https://api.github.com/repos/CMPUT401Group/analytic-engine","labels_url":"https://api.github.com/repos/CMPUT401Group/analytic-engine/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/CMPUT401Group/analytic-engine/issues/3/comments","events_url":"https://api.github.com/repos/CMPUT401Group/analytic-engine/issues/3/events","html_url":"https://github.com/CMPUT401Group/analytic-engine/issues/3","id":195023097,"number":3,"title":"Can't find /tmp/tmp-result.json","user":{"login":"deanbittner","id":11461993,"avatar_url":"https://avatars.githubusercontent.com/u/11461993?v=3","gravatar_id":"","url":"https://api.github.com/users/deanbittner","html_url":"https://github.com/deanbittner","followers_url":"https://api.github.com/users/deanbittner/followers","following_url":"https://api.github.com/users/deanbittner/following{/other_user}","gists_url":"https://api.github.com/users/deanbittner/gists{/gist_id}","starred_url":"https://api.github.com/users/deanbittner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deanbittner/subscriptions","organizations_url":"https://api.github.com/users/deanbittner/orgs","repos_url":"https://api.github.com/users/deanbittner/repos","events_url":"https://api.github.com/users/deanbittner/events{/privacy}","received_events_url":"https://api.github.com/users/deanbittner/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":26,"created_at":"2016-12-12T16:41:50Z","updated_at":"2016-12-13T22:52:03Z","closed_at":null,"body":"Trying to do an entailment run, not reaching conclusion.\r\n\r\nExpect to find the default output in /tmp, but can't as below.\r\n\r\nConsole output follows.\r\n\r\nGraphiteAdapter.renderAllMetrics: 1 in 11\r\nGraphiteAdapter.renderAllMetrics: 2 in 11\r\nGraphiteAdapter.renderAllMetrics: 3 in 11\r\nGraphiteAdapter.renderAllMetrics: 4 in 11\r\nGraphiteAdapter.renderAllMetrics: 5 in 11\r\nGraphiteAdapter.renderAllMetrics: 6 in 11\r\nGraphiteAdapter.renderAllMetrics: 7 in 11\r\nGraphiteAdapter.renderAllMetrics: 8 in 11\r\nGraphiteAdapter.renderAllMetrics: 9 in 11\r\nGraphiteAdapter.renderAllMetrics: 10 in 11\r\nGraphiteAdapter.renderAllMetrics: 11 in 11\r\nfs.js:549\r\n  return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);\r\n                 ^\r\n\r\nError: ENOENT: no such file or directory, open '/tmp/temp-result.json'\r\n    at Error (native)\r\n    at Object.fs.openSync (fs.js:549:18)\r\n    at Object.fs.readFileSync (fs.js:397:15)\r\n    at RLAdapter.train (/home/dean/analytic-engine/dist/rl-adapater.js:77:38)\r\n    at /home/dean/analytic-engine/dist/cli.js:325:45\r\n    at Object.<anonymous> (/home/dean/analytic-engine/dist/cli.js:353:4)\r\n    at Module._compile (module.js:409:26)\r\n    at Object.Module._extensions..js (module.js:416:10)\r\n    at Module.load (module.js:343:32)\r\n    at Function.Module._load (module.js:300:12)\r\n"},"comment":{"url":"https://api.github.com/repos/CMPUT401Group/analytic-engine/issues/comments/266887820","html_url":"https://github.com/CMPUT401Group/analytic-engine/issues/3#issuecomment-266887820","issue_url":"https://api.github.com/repos/CMPUT401Group/analytic-engine/issues/3","id":266887820,"user":{"login":"deanbittner","id":11461993,"avatar_url":"https://avatars.githubusercontent.com/u/11461993?v=3","gravatar_id":"","url":"https://api.github.com/users/deanbittner","html_url":"https://github.com/deanbittner","followers_url":"https://api.github.com/users/deanbittner/followers","following_url":"https://api.github.com/users/deanbittner/following{/other_user}","gists_url":"https://api.github.com/users/deanbittner/gists{/gist_id}","starred_url":"https://api.github.com/users/deanbittner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deanbittner/subscriptions","organizations_url":"https://api.github.com/users/deanbittner/orgs","repos_url":"https://api.github.com/users/deanbittner/repos","events_url":"https://api.github.com/users/deanbittner/events{/privacy}","received_events_url":"https://api.github.com/users/deanbittner/received_events","type":"User","site_admin":false},"created_at":"2016-12-13T22:52:03Z","updated_at":"2016-12-13T22:52:03Z","body":"hmmm ... your command line results as below.  There is no /tmp/temp-result.json file, just the /tmp/metric.json and the /tmp/analytic-engine-rl-config.json\r\n\r\n dean@STB-SIM2:~/analytic-engine$ node ./dist/cli.js entailment_search --goal-metric invidi.webapp.localhost_localdomain.request.total_response_time.mean --goal-metric-time-begin 05:00_20160917 --goal-metric-time-end 12:00_20160917 --time-begin 00:00_20160917 --time-end 23:00_20160917 --iteration-count 10000 --out /tmp/temp-result.json --dashboard-out /tmp/dashboard.json\r\nGraphiteAdapter.renderAllMetrics: 1 in 11\r\nGraphiteAdapter.renderAllMetrics: 2 in 11\r\nGraphiteAdapter.renderAllMetrics: 3 in 11\r\nGraphiteAdapter.renderAllMetrics: 4 in 11\r\nGraphiteAdapter.renderAllMetrics: 5 in 11\r\nGraphiteAdapter.renderAllMetrics: 6 in 11\r\nGraphiteAdapter.renderAllMetrics: 7 in 11\r\nGraphiteAdapter.renderAllMetrics: 8 in 11\r\nGraphiteAdapter.renderAllMetrics: 9 in 11\r\nGraphiteAdapter.renderAllMetrics: 10 in 11\r\n/home/dean/analytic-engine/node_modules/sync-request/index.js:27\r\n    throw new Error(res.stderr.toString());\r\n    ^\r\n\r\nError: /home/dean/analytic-engine/node_modules/sync-request/node_modules/then-request/node_modules/promise/lib/done.js:10\r\n      throw err;\r\n      ^\r\n\r\nError: toString failed\r\n    at Buffer.toString (buffer.js:456:11)\r\n    at stringify (/home/dean/analytic-engine/node_modules/sync-request/lib/json-buffer/index.js:9:42)\r\n    at stringify (/home/dean/analytic-engine/node_modules/sync-request/lib/json-buffer/index.js:29:37)\r\n    at Object.stringify (/home/dean/analytic-engine/node_modules/sync-request/lib/json-buffer/index.js:29:37)\r\n    at respond (/home/dean/analytic-engine/node_modules/sync-request/lib/worker.js:8:29)\r\n    at request.done.respond.success (/home/dean/analytic-engine/node_modules/sync-request/lib/worker.js:16:5)\r\n    at tryCallOne (/home/dean/analytic-engine/node_modules/sync-request/node_modules/then-request/node_modules/promise/lib/core.js:37:12)\r\n    at /home/dean/analytic-engine/node_modules/sync-request/node_modules/then-request/node_modules/promise/lib/core.js:123:15\r\n    at flush (/home/dean/analytic-engine/node_modules/sync-request/node_modules/then-request/node_modules/promise/node_modules/asap/raw.js:50:29)\r\n    at nextTickCallbackWith0Args (node.js:436:9)\r\n\r\n    at doRequest (/home/dean/analytic-engine/node_modules/sync-request/index.js:27:11)\r\n    at RenderAPIAdapter.render (/home/dean/analytic-engine/dist/render-api-adapter.js:63:49)\r\n    at /home/dean/analytic-engine/dist/graphite-adapter.js:66:46\r\n    at Array.forEach (native)\r\n    at GraphiteAdapter.renderAllMetrics (/home/dean/analytic-engine/dist/graphite-adapter.js:65:21)\r\n    at RLAdapter.acquireMetrics (/home/dean/analytic-engine/dist/rl-adapater.js:51:23)\r\n    at RLAdapter.train (/home/dean/analytic-engine/dist/rl-adapater.js:65:12)\r\n    at /home/dean/analytic-engine/dist/cli.js:325:45\r\n    at Object.<anonymous> (/home/dean/analytic-engine/dist/cli.js:353:4)\r\n    at Module._compile (module.js:409:26)\r\n"}}
{"actor":{"display_login":"deanbittner"}}