{"action":"closed","issue":{"url":"https://api.github.com/repos/HaliteChallenge/Halite/issues/236","repository_url":"https://api.github.com/repos/HaliteChallenge/Halite","labels_url":"https://api.github.com/repos/HaliteChallenge/Halite/issues/236/labels{/name}","comments_url":"https://api.github.com/repos/HaliteChallenge/Halite/issues/236/comments","events_url":"https://api.github.com/repos/HaliteChallenge/Halite/issues/236/events","html_url":"https://github.com/HaliteChallenge/Halite/issues/236","id":190227520,"number":236,"title":"Install.sh timeout not caught","user":{"login":"truell20","id":4297743,"avatar_url":"https://avatars.githubusercontent.com/u/4297743?v=3","gravatar_id":"","url":"https://api.github.com/users/truell20","html_url":"https://github.com/truell20","followers_url":"https://api.github.com/users/truell20/followers","following_url":"https://api.github.com/users/truell20/following{/other_user}","gists_url":"https://api.github.com/users/truell20/gists{/gist_id}","starred_url":"https://api.github.com/users/truell20/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/truell20/subscriptions","organizations_url":"https://api.github.com/users/truell20/orgs","repos_url":"https://api.github.com/users/truell20/repos","events_url":"https://api.github.com/users/truell20/events{/privacy}","received_events_url":"https://api.github.com/users/truell20/received_events","type":"User","site_admin":false},"labels":[{"id":480063381,"url":"https://api.github.com/repos/HaliteChallenge/Halite/labels/breaking","name":"breaking","color":"fbca04","default":false},{"id":476375146,"url":"https://api.github.com/repos/HaliteChallenge/Halite/labels/hce","name":"hce","color":"fef2c0","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/HaliteChallenge/Halite/milestones/3","html_url":"https://github.com/HaliteChallenge/Halite/milestones/Sprint%202%20(Before%20Pruning)","labels_url":"https://api.github.com/repos/HaliteChallenge/Halite/milestones/3/labels","id":2140564,"number":3,"title":"Sprint 2 (Before Pruning)","description":"Need to whittle this down","creator":{"login":"truell20","id":4297743,"avatar_url":"https://avatars.githubusercontent.com/u/4297743?v=3","gravatar_id":"","url":"https://api.github.com/users/truell20","html_url":"https://github.com/truell20","followers_url":"https://api.github.com/users/truell20/followers","following_url":"https://api.github.com/users/truell20/following{/other_user}","gists_url":"https://api.github.com/users/truell20/gists{/gist_id}","starred_url":"https://api.github.com/users/truell20/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/truell20/subscriptions","organizations_url":"https://api.github.com/users/truell20/orgs","repos_url":"https://api.github.com/users/truell20/repos","events_url":"https://api.github.com/users/truell20/events{/privacy}","received_events_url":"https://api.github.com/users/truell20/received_events","type":"User","site_admin":false},"open_issues":15,"closed_issues":3,"state":"open","created_at":"2016-11-16T22:15:08Z","updated_at":"2016-11-20T03:30:17Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2016-11-18T03:26:46Z","updated_at":"2016-11-20T03:30:17Z","closed_at":"2016-11-20T03:30:17Z","body":"> Task call:\r\n> Compiling a bot with userID 2833\r\n> https://halite.io/api/manager/botFile?apiKey=3608652&userID=2833&compile=1\r\n> Getting bot hash:\r\n> {\"hash\":\"9aa2c2b9daaa4cf7ad82cf621f6fa764\"}\r\n> docker run -i -v /home/ubuntu/Halite/worker/workingPath:/home/ubuntu/Halite/worker/workingPath mntruell/halite_sandbox:latest sh -c \"cd /home/ubuntu/Halite/worker/workingPath; chmod +x install.sh; ./install.sh\"\r\n> Bot did not compile\r\n> ['Your bot caused unexpected behavior in our servers. If you cannot figure out why this happened, please email us at halite@halite.io. We can help.', 'For our reference, here is the trace of the error: Traceback (most recent call last):\\n  File \"worker.py\", line 84, in executeCompileTask\\n    language, errors = compile_anything(workingPath)\\n  File \"/home/ubuntu/Halite/worker/compiler.py\", line 493, in compile_anything\\n    _, errors = _run_cmd(\"chmod +x install.sh; ./install.sh\", bot_dir, time.time() + installTimeLimit)\\n  File \"/home/ubuntu/Halite/worker/compiler.py\", line 72, in _run_cmd\\n    rawOut, rawErrors = process.communicate(timeout=timelimit)\\n  File \"/usr/lib/python3.4/subprocess.py\", line 960, in communicate\\n    stdout, stderr = self._communicate(input, endtime, timeout)\\n  File \"/usr/lib/python3.4/subprocess.py\", line 1618, in _communicate\\n    self._check_timeout(endtime, orig_timeout)\\n  File \"/usr/lib/python3.4/subprocess.py\", line 986, in _check_timeout\\n    raise TimeoutExpired(self.args, orig_timeout)\\nsubprocess.TimeoutExpired: Command \\'docker run -i -v /home/ubuntu/Halite/worker/workingPath:/home/ubuntu/Halite/worker/workingPath mntruell/halite_sandbox:latest sh -c \"cd /home/ubuntu/Halite/worker/workingPath; chmod +x install.sh; ./install.sh\"\\' timed out after 599.9986298084259 seconds\\n']\r\n> "}}
{"actor":{"display_login":"truell20"}}