{"action":"created","issue":{"url":"https://api.github.com/repos/GoogleCloudPlatform/agones/issues/209","repository_url":"https://api.github.com/repos/GoogleCloudPlatform/agones","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/agones/issues/209/labels{/name}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/agones/issues/209/comments","events_url":"https://api.github.com/repos/GoogleCloudPlatform/agones/issues/209/events","html_url":"https://github.com/GoogleCloudPlatform/agones/pull/209","id":324257591,"number":209,"title":"Fix cyclomatic complexity in cmd/controller/main.go","user":{"login":"enocom","id":1175430,"avatar_url":"https://avatars1.githubusercontent.com/u/1175430?v=4","gravatar_id":"","url":"https://api.github.com/users/enocom","html_url":"https://github.com/enocom","followers_url":"https://api.github.com/users/enocom/followers","following_url":"https://api.github.com/users/enocom/following{/other_user}","gists_url":"https://api.github.com/users/enocom/gists{/gist_id}","starred_url":"https://api.github.com/users/enocom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enocom/subscriptions","organizations_url":"https://api.github.com/users/enocom/orgs","repos_url":"https://api.github.com/users/enocom/repos","events_url":"https://api.github.com/users/enocom/events{/privacy}","received_events_url":"https://api.github.com/users/enocom/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-18T03:23:59Z","updated_at":"2018-05-18T03:28:47Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/GoogleCloudPlatform/agones/pulls/209","html_url":"https://github.com/GoogleCloudPlatform/agones/pull/209","diff_url":"https://github.com/GoogleCloudPlatform/agones/pull/209.diff","patch_url":"https://github.com/GoogleCloudPlatform/agones/pull/209.patch"},"body":"Fixes #177."},"comment":{"url":"https://api.github.com/repos/GoogleCloudPlatform/agones/issues/comments/390083628","html_url":"https://github.com/GoogleCloudPlatform/agones/pull/209#issuecomment-390083628","issue_url":"https://api.github.com/repos/GoogleCloudPlatform/agones/issues/209","id":390083628,"user":{"login":"agones-bot","id":36940055,"avatar_url":"https://avatars2.githubusercontent.com/u/36940055?v=4","gravatar_id":"","url":"https://api.github.com/users/agones-bot","html_url":"https://github.com/agones-bot","followers_url":"https://api.github.com/users/agones-bot/followers","following_url":"https://api.github.com/users/agones-bot/following{/other_user}","gists_url":"https://api.github.com/users/agones-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/agones-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agones-bot/subscriptions","organizations_url":"https://api.github.com/users/agones-bot/orgs","repos_url":"https://api.github.com/users/agones-bot/repos","events_url":"https://api.github.com/users/agones-bot/events{/privacy}","received_events_url":"https://api.github.com/users/agones-bot/received_events","type":"User","site_admin":false},"created_at":"2018-05-18T03:28:47Z","updated_at":"2018-05-18T03:28:47Z","author_association":"COLLABORATOR","body":"**Build Failed :scream:**\n\n_Build Id: 224e6f89-1e11-45c5-9982-68ca5921b6d7_\n\n<details><summary>Build Logs</summary>\n\n```\nstarting build \"224e6f89-1e11-45c5-9982-68ca5921b6d7\"\n\nFETCHSOURCE\nInitialized empty Git repository in /workspace/.git/\nFrom https://source.developers.google.com/p/agones-images/r/agones\n * branch            588ccad779b43ce62342190092da5ed4be4e275f -> FETCH_HEAD\nChecking out files:  85% (5978/6963)   \rChecking out files:  86% (5989/6963)   \rChecking out files:  87% (6058/6963)   \rChecking out files:  88% (6128/6963)   \rChecking out files:  89% (6198/6963)   \rChecking out files:  90% (6267/6963)   \rChecking out files:  91% (6337/6963)   \rChecking out files:  92% (6406/6963)   \rChecking out files:  93% (6476/6963)   \rChecking out files:  94% (6546/6963)   \rChecking out files:  95% (6615/6963)   \rChecking out files:  96% (6685/6963)   \rChecking out files:  97% (6755/6963)   \rChecking out files:  98% (6824/6963)   \rChecking out files:  99% (6894/6963)   \rChecking out files: 100% (6963/6963)   \rChecking out files: 100% (6963/6963), done.\nHEAD is now at 588ccad Resolve linter errors\nBUILD\nStarting Step #0\nStep #0: Already have image (with digest): ubuntu\nFinished Step #0\nStarting Step #1\nStep #1: Already have image (with digest): gcr.io/cloud-builders/docker\nStep #1: Sending build context to Docker daemon  131.1MB\r\r\nStep #1: Step 1/3 : FROM gcr.io/cloud-builders/docker\nStep #1:  ---> d4ae1eae5966\nStep #1: Step 2/3 : RUN apt-get install make\nStep #1:  ---> Running in 328fa3559f12\nStep #1: Reading package lists...\nStep #1: Building dependency tree...\nStep #1: Reading state information...\nStep #1: Suggested packages:\nStep #1:   make-doc\nStep #1: The following NEW packages will be installed:\nStep #1:   make\nStep #1: 0 upgraded, 1 newly installed, 0 to remove and 31 not upgraded.\nStep #1: Need to get 151 kB of archives.\nStep #1: After this operation, 365 kB of additional disk space will be used.\nStep #1: Get:1 http://archive.ubuntu.com/ubuntu xenial/main amd64 make amd64 4.1-6 [151 kB]\nStep #1: Fetched 151 kB in 0s (253 kB/s)\nStep #1: Selecting previously unselected package make.\r\nStep #1: (Reading database ... \r(Reading database ... 5%\r(Reading database ... 10%\r(Reading database ... 15%\r(Reading database ... 20%\r(Reading database ... 25%\r(Reading database ... 30%\r(Reading database ... 35%\r(Reading database ... 40%\r(Reading database ... 45%\r(Reading database ... 50%\r(Reading database ... 55%\r(Reading database ... 60%\r(Reading database ... 65%\r(Reading database ... 70%\r(Reading database ... 75%\r(Reading database ... 80%\r(Reading database ... 85%\r(Reading database ... 90%\r(Reading database ... 95%\r(Reading database ... 100%\r(Reading database ... 11239 files and directories currently installed.)\r\nStep #1: Preparing to unpack .../archives/make_4.1-6_amd64.deb ...\r\nStep #1: Unpacking make (4.1-6) ...\r\nStep #1: Setting up make (4.1-6) ...\r\nStep #1: Removing intermediate container 328fa3559f12\nStep #1:  ---> e4f4ffc164c4\nStep #1: Step 3/3 : ENTRYPOINT [\"/usr/bin/make\"]\nStep #1:  ---> Running in 0a8d1f13c63a\nStep #1: Removing intermediate container 0a8d1f13c63a\nStep #1:  ---> ca5ed4f74622\nStep #1: Successfully built ca5ed4f74622\nStep #1: Successfully tagged make-docker:latest\nFinished Step #1\nStarting Step #2\nStep #2: Already have image: make-docker\nStep #2: docker pull gcr.io/agones-images/agones-build:e52ce865fb && docker tag gcr.io/agones-images/agones-build:e52ce865fb agones-build:e52ce865fb\nStep #2: e52ce865fb: Pulling from agones-images/agones-build\nStep #2: c73ab1c6897b: Pulling fs layer\nStep #2: 3091fac74ac3: Pulling fs layer\nStep #2: 32ec8f15f1df: Pulling fs layer\nStep #2: 8a19269d40b4: Pulling fs layer\nStep #2: e6425ad9525a: Pulling fs layer\nStep #2: 16df2efc4858: Pulling fs layer\nStep #2: 2b2d73ab4219: Pulling fs layer\nStep #2: 5f2d382df949: Pulling fs layer\nStep #2: 5b739d0afd39: Pulling fs layer\nStep #2: eb921739ae12: Pulling fs layer\nStep #2: 2022ec0c796a: Pulling fs layer\nStep #2: 3ee570d976e5: Pulling fs layer\nStep #2: 59f7198d9c1c: Pulling fs layer\nStep #2: 08501ff593d9: Pulling fs layer\nStep #2: a5d32e6825a2: Pulling fs layer\nStep #2: 42602390dd8d: Pulling fs layer\nStep #2: 8a19269d40b4: Waiting\nStep #2: e6425ad9525a: Waiting\nStep #2: 16df2efc4858: Waiting\nStep #2: 2b2d73ab4219: Waiting\nStep #2: 5f2d382df949: Waiting\nStep #2: 5b739d0afd39: Waiting\nStep #2: eb921739ae12: Waiting\nStep #2: 2022ec0c796a: Waiting\nStep #2: 3ee570d976e5: Waiting\nStep #2: 59f7198d9c1c: Waiting\nStep #2: 08501ff593d9: Waiting\nStep #2: a5d32e6825a2: Waiting\nStep #2: 42602390dd8d: Waiting\nStep #2: c73ab1c6897b: Verifying Checksum\nStep #2: c73ab1c6897b: Download complete\nStep #2: 8a19269d40b4: Verifying Checksum\nStep #2: 8a19269d40b4: Download complete\nStep #2: e6425ad9525a: Verifying Checksum\nStep #2: e6425ad9525a: Download complete\nStep #2: 3091fac74ac3: Verifying Checksum\nStep #2: 3091fac74ac3: Download complete\nStep #2: c73ab1c6897b: Pull complete\nStep #2: 16df2efc4858: Verifying Checksum\nStep #2: 16df2efc4858: Download complete\nStep #2: 2b2d73ab4219: Verifying Checksum\nStep #2: 2b2d73ab4219: Download complete\nStep #2: 5f2d382df949: Verifying Checksum\nStep #2: 5f2d382df949: Download complete\nStep #2: eb921739ae12: Verifying Checksum\nStep #2: eb921739ae12: Download complete\nStep #2: 5b739d0afd39: Verifying Checksum\nStep #2: 5b739d0afd39: Download complete\nStep #2: 3ee570d976e5: Verifying Checksum\nStep #2: 3ee570d976e5: Download complete\nStep #2: 59f7198d9c1c: Verifying Checksum\nStep #2: 59f7198d9c1c: Download complete\nStep #2: 08501ff593d9: Verifying Checksum\nStep #2: 08501ff593d9: Download complete\nStep #2: 32ec8f15f1df: Verifying Checksum\nStep #2: 32ec8f15f1df: Download complete\nStep #2: a5d32e6825a2: Verifying Checksum\nStep #2: a5d32e6825a2: Download complete\nStep #2: 42602390dd8d: Verifying Checksum\nStep #2: 42602390dd8d: Download complete\nStep #2: 2022ec0c796a: Verifying Checksum\nStep #2: 2022ec0c796a: Download complete\nStep #2: 3091fac74ac3: Pull complete\nStep #2: 32ec8f15f1df: Pull complete\nStep #2: 8a19269d40b4: Pull complete\nStep #2: e6425ad9525a: Pull complete\nStep #2: 16df2efc4858: Pull complete\nStep #2: 2b2d73ab4219: Pull complete\nStep #2: 5f2d382df949: Pull complete\nStep #2: 5b739d0afd39: Pull complete\nStep #2: eb921739ae12: Pull complete\nStep #2: 2022ec0c796a: Pull complete\nStep #2: 3ee570d976e5: Pull complete\nStep #2: 59f7198d9c1c: Pull complete\nStep #2: 08501ff593d9: Pull complete\nStep #2: a5d32e6825a2: Pull complete\nStep #2: 42602390dd8d: Pull complete\nStep #2: Digest: sha256:0344289d4121c2024d5b7d8790a8f3a5043b2149c0632928a2d4d9d0b8473f24\nStep #2: Status: Downloaded newer image for gcr.io/agones-images/agones-build:e52ce865fb\nFinished Step #2\nStarting Step #3\nStep #3: Already have image: make-docker\nStep #3: mkdir -p ~/.kube\nStep #3: mkdir -p /workspace/build//.config/gcloud\nStep #3: docker run --rm -v /workspace/build//.config/gcloud:/root/.config/gcloud -v ~/.kube:/root/.kube -v /workspace:/go/src/agones.dev/agones -w /go/src/agones.dev/agones  agones-build:e52ce865fb bash -c \\\nStep #3: \t\"/root/gen-lint-exclude.sh && gometalinter --config .exclude.gometalinter.json --deadline 100s -t --skip vendor ./...\"\nStep #3: cmd/controller/main.go:112::error: range variable r captured by func literal (vet)\nStep #3: cmd/controller/main.go:113::error: range variable r captured by func literal (vet)\nStep #3: Makefile:136: recipe for target 'lint' failed\nStep #3: make: *** [lint] Error 1\nFinished Step #3\nERROR\nERROR: build step 3 \"make-docker\" failed: exit status 2\n\n```\n\n</details>"}}
{"actor":{"display_login":"agones-bot"}}