{"action":"created","issue":{"url":"https://api.github.com/repos/Mierdin/todd/issues/76","repository_url":"https://api.github.com/repos/Mierdin/todd","labels_url":"https://api.github.com/repos/Mierdin/todd/issues/76/labels{/name}","comments_url":"https://api.github.com/repos/Mierdin/todd/issues/76/comments","events_url":"https://api.github.com/repos/Mierdin/todd/issues/76/events","html_url":"https://github.com/Mierdin/todd/issues/76","id":171343861,"number":76,"title":"Bug upon writing data to influx","user":{"login":"Mierdin","id":4230395,"avatar_url":"https://avatars.githubusercontent.com/u/4230395?v=3","gravatar_id":"","url":"https://api.github.com/users/Mierdin","html_url":"https://github.com/Mierdin","followers_url":"https://api.github.com/users/Mierdin/followers","following_url":"https://api.github.com/users/Mierdin/following{/other_user}","gists_url":"https://api.github.com/users/Mierdin/gists{/gist_id}","starred_url":"https://api.github.com/users/Mierdin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mierdin/subscriptions","organizations_url":"https://api.github.com/users/Mierdin/orgs","repos_url":"https://api.github.com/users/Mierdin/repos","events_url":"https://api.github.com/users/Mierdin/events{/privacy}","received_events_url":"https://api.github.com/users/Mierdin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-08-16T07:36:42Z","updated_at":"2016-08-23T01:18:53Z","closed_at":null,"body":"```\r\nDEBU[0041] Retrieving clean test data for 86ae4529483b5367eab8f5a5d933120e6d8eb764d7e2605a9e8087018fcf367b\r\nDEBU[0041] Retrieving detailed test data for 86ae4529483b5367eab8f5a5d933120e6d8eb764d7e2605a9e8087018fcf367b\r\nDEBU[0041] Etcd 'get' is done. Metadata is &{\"get\" \"{Key: /todd/testruns/86ae4529483b5367eab8f5a5d933120e6d8eb764d7e2605a9e8087018fcf367b/agents, CreatedIndex: 550, ModifiedIndex: 550, TTL: 0}\" <nil> 'ȯ'}\r\n\r\nDEBU[0041] /todd/testruns/86ae4529483b5367eab8f5a5d933120e6d8eb764d7e2605a9e8087018fcf367b/cleandata/\r\nINFO[0041] Wrote clean test data to test uuid: 86ae4529483b5367eab8f5a5d933120e6d8eb764d7e2605a9e8087018fcf367b\r\npanic: runtime error: invalid memory address or nil pointer dereference\r\n[signal 0xb code=0x1 addr=0x0 pc=0x91e78d]\r\n\r\ngoroutine 84 [running]:\r\npanic(0xc02e40, 0xc82000a0f0)\r\n        /usr/local/go/src/runtime/panic.go:481 +0x3e6\r\ngithub.com/Mierdin/todd/vendor/github.com/influxdata/influxdb/client/v2.(*client).Write(0xc8201d3c80, 0x7f0df3ff5000, 0xc820357860, 0x0, 0x0)\r\n        /home/vagrant/go/src/github.com/Mierdin/todd/vendor/github.com/influxdata/influxdb/client/v2/client.go:437 +0xc1d\r\ngithub.com/Mierdin/todd/server/tsdb.influxDB.WriteData(0xc82000ba70, 0x7, 0xc82000bc18, 0x4, 0xc820130820, 0x7, 0xc8201309c8, 0x4, 0xc820130610, 0x8, ...)\r\n        /home/vagrant/go/src/github.com/Mierdin/todd/server/tsdb/influxdb.go:82 +0xd37\r\ngithub.com/Mierdin/todd/server/tsdb.(*influxDB).WriteData(0xc820353760, 0xc82012ddc0, 0x40, 0xc8201f7340, 0x10, 0xc8201f73c0, 0xa, 0xc820360210, 0x0, 0x0)\r\n        <autogenerated>:1 +0x130\r\ngithub.com/Mierdin/todd/server/testrun.executeTestRun(0xc820218750, 0xc82012ddc0, 0x40, 0xc8201f7340, 0x10, 0xc8201f7328, 0x7, 0xc8201f7350, 0xc, 0xc82011de00, ...)\r\n        /home/vagrant/go/src/github.com/Mierdin/todd/server/testrun/testrun.go:336 +0x1aea\r\ncreated by github.com/Mierdin/todd/server/testrun.Start\r\n        /home/vagrant/go/src/github.com/Mierdin/todd/server/testrun/testrun.go:174 +0x1ac5\r\n```"},"comment":{"url":"https://api.github.com/repos/Mierdin/todd/issues/comments/241599552","html_url":"https://github.com/Mierdin/todd/issues/76#issuecomment-241599552","issue_url":"https://api.github.com/repos/Mierdin/todd/issues/76","id":241599552,"user":{"login":"Mierdin","id":4230395,"avatar_url":"https://avatars.githubusercontent.com/u/4230395?v=3","gravatar_id":"","url":"https://api.github.com/users/Mierdin","html_url":"https://github.com/Mierdin","followers_url":"https://api.github.com/users/Mierdin/followers","following_url":"https://api.github.com/users/Mierdin/following{/other_user}","gists_url":"https://api.github.com/users/Mierdin/gists{/gist_id}","starred_url":"https://api.github.com/users/Mierdin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mierdin/subscriptions","organizations_url":"https://api.github.com/users/Mierdin/orgs","repos_url":"https://api.github.com/users/Mierdin/repos","events_url":"https://api.github.com/users/Mierdin/events{/privacy}","received_events_url":"https://api.github.com/users/Mierdin/received_events","type":"User","site_admin":false},"created_at":"2016-08-23T01:18:53Z","updated_at":"2016-08-23T01:18:53Z","body":"In my opinion, the todd server should create the database if it does not exist, by default. We can add a configuration setting to the TSDB section to override this default behavior."}}
{"actor":{"display_login":"Mierdin"}}