{"comment":{"url":"https://api.github.com/repos/mozilla-releng/OpenCloudConfig/comments/18653353","html_url":"https://github.com/mozilla-releng/OpenCloudConfig/commit/c8427a179aaa7d916138f37a11d1ddcae03820bc#commitcomment-18653353","id":18653353,"user":{"login":"TaskClusterRobot","id":14795478,"avatar_url":"https://avatars.githubusercontent.com/u/14795478?v=3","gravatar_id":"","url":"https://api.github.com/users/TaskClusterRobot","html_url":"https://github.com/TaskClusterRobot","followers_url":"https://api.github.com/users/TaskClusterRobot/followers","following_url":"https://api.github.com/users/TaskClusterRobot/following{/other_user}","gists_url":"https://api.github.com/users/TaskClusterRobot/gists{/gist_id}","starred_url":"https://api.github.com/users/TaskClusterRobot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TaskClusterRobot/subscriptions","organizations_url":"https://api.github.com/users/TaskClusterRobot/orgs","repos_url":"https://api.github.com/users/TaskClusterRobot/repos","events_url":"https://api.github.com/users/TaskClusterRobot/events{/privacy}","received_events_url":"https://api.github.com/users/TaskClusterRobot/received_events","type":"User","site_admin":false},"position":null,"line":null,"path":null,"commit_id":"c8427a179aaa7d916138f37a11d1ddcae03820bc","created_at":"2016-08-16T09:50:29Z","updated_at":"2016-08-16T09:50:29Z","body":"Submitting the task to TaskCluster failed. You didn't give the task-graph scopes allowing it define tasks on the queue.Details:\n\n```js\n[\n    {\n        \"message\": \"You do not have sufficient scopes. This request requires you\\nto have one of the following sets of scopes:\\n[\\n  [\\n    \\\"queue:route:index.project.releng.opencloudconfig.v1.revision.c8427a179aaa7d916138f37a11d1ddcae03820bc.validation\\\"\\n  ]\\n]\\n\\nYou only have the scopes:\\n[\\n  \\\"assume:repo:github.com/mozilla-releng/OpenCloudConfig:pull-request\\\",\\n  \\\"queue:create-task:aws-provisioner-v1/github-worker\\\",\\n  \\\"queue:route:index.garbage.*\\\",\\n  \\\"secrets:get:garbage/*\\\",\\n  \\\"secrets:set:garbage/*\\\"\\n]\\n\\nIn other words you are missing scopes from one of the options:\\n * Option 0:\\n    - \\\"queue:route:index.project.releng.opencloudconfig.v1.revision.c8427a179aaa7d916138f37a11d1ddcae03820bc.validation\\\"\\n----\\nerrorCode:  InsufficientScopes\\nstatusCode: 403\\nrequestInfo:\\n  method:   defineTask\\n  params:   {\\\"taskId\\\":\\\"A11sCIuLSsGpXiQVm-Y_WA\\\"}\\n  payload:  {\\n  \\\"provisionerId\\\": \\\"aws-provisioner-v1\\\",\\n  \\\"routes\\\": [\\n    \\\"index.project.releng.opencloudconfig.v1.revision.c8427a179aaa7d916138f37a11d1ddcae03820bc.validation\\\"\\n  ],\\n  \\\"workerType\\\": \\\"github-worker\\\",\\n  \\\"extra\\\": {\\n    \\\"github\\\": {\\n      \\\"env\\\": true,\\n      \\\"events\\\": [\\n        \\\"pull_request.*\\\",\\n        \\\"push\\\"\\n      ]\\n    },\\n    \\\"data\\\": {\\n      \\\"base\\\": {\\n        \\\"sha\\\": \\\"0b2edb5ea1a65e6bb9fb81e167dcb34e77b3909a\\\",\\n        \\\"user\\\": {\\n          \\\"login\\\": \\\"mozilla-releng\\\"\\n        }\\n      },\\n      \\\"head\\\": {\\n        \\\"sha\\\": \\\"c8427a179aaa7d916138f37a11d1ddcae03820bc\\\",\\n        \\\"user\\\": {\\n          \\\"email\\\": \\\"pmoore@mozilla.com\\\"\\n        }\\n      }\\n    }\\n  },\\n  \\\"payload\\\": {\\n    \\\"maxRunTime\\\": 600,\\n    \\\"image\\\": \\\"grenade/opencloudconfig\\\",\\n    \\\"command\\\": [\\n      \\\"/bin/bash\\\",\\n      \\\"--login\\\",\\n      \\\"-c\\\",\\n      \\\"git clone --quiet https://github.com/petemoore/OpenCloudConfig.git && cd OpenCloudConfig && git checkout upgrade-gw-5.1.0 && echo \\\\\\\"do lint stuff here\\\\\\\"\\\"\\n    ],\\n    \\\"env\\\": {\\n      \\\"GITHUB_EVENT\\\": \\\"pull_request.closed\\\",\\n      \\\"GITHUB_BRANCH\\\": \\\"master\\\",\\n      \\\"GITHUB_PULL_REQUEST\\\": 9,\\n      \\\"GITHUB_BASE_REPO_URL\\\": \\\"https://github.com/mozilla-releng/OpenCloudConfig.git\\\",\\n      \\\"GITHUB_BASE_USER\\\": \\\"mozilla-releng\\\",\\n      \\\"GITHUB_BASE_SHA\\\": \\\"0b2edb5ea1a65e6bb9fb81e167dcb34e77b3909a\\\",\\n      \\\"GITHUB_BASE_BRANCH\\\": \\\"master\\\",\\n      \\\"GITHUB_BASE_REF\\\": \\\"master\\\",\\n      \\\"GITHUB_HEAD_REPO_URL\\\": \\\"https://github.com/petemoore/OpenCloudConfig.git\\\",\\n      \\\"GITHUB_HEAD_USER\\\": \\\"petemoore\\\",\\n      \\\"GITHUB_HEAD_SHA\\\": \\\"c8427a179aaa7d916138f37a11d1ddcae03820bc\\\",\\n      \\\"GITHUB_HEAD_BRANCH\\\": \\\"upgrade-gw-5.1.0\\\",\\n      \\\"GITHUB_HEAD_USER_EMAIL\\\": \\\"pmoore@mozilla.com\\\"\\n    }\\n  },\\n  \\\"metadata\\\": {\\n    \\\"name\\\": \\\"Validate submission\\\",\\n    \\\"description\\\": \\\"run a linter against json and powershell files\\\",\\n    \\\"owner\\\": \\\"pmoore@mozilla.com\\\",\\n    \\\"source\\\": \\\"https://github.com/petemoore/OpenCloudConfig.git\\\"\\n  },\\n  \\\"created\\\": \\\"2016-08-16T09:50:29.283Z\\\",\\n  \\\"deadline\\\": \\\"2016-08-17T09:50:29.284Z\\\",\\n  \\\"schedulerId\\\": \\\"task-graph-scheduler\\\",\\n  \\\"taskGroupId\\\": \\\"bM2j1TDqRA2Tq4DLv6AawA\\\",\\n  \\\"dependencies\\\": [],\\n  \\\"requires\\\": \\\"all-completed\\\",\\n  \\\"priority\\\": \\\"normal\\\",\\n  \\\"retries\\\": 5,\\n  \\\"scopes\\\": [],\\n  \\\"tags\\\": {},\\n  \\\"expires\\\": \\\"2017-08-17T09:50:29.284Z\\\"\\n}\\n  time:     2016-08-16T09:50:29.428Z\\ndetails:\\n{\\n  \\\"scopesets\\\": [\\n    [\\n      \\\"queue:route:index.project.releng.opencloudconfig.v1.revision.c8427a179aaa7d916138f37a11d1ddcae03820bc.validation\\\"\\n    ]\\n  ],\\n  \\\"scopes\\\": [\\n    \\\"assume:repo:github.com/mozilla-releng/OpenCloudConfig:pull-request\\\",\\n    \\\"queue:create-task:aws-provisioner-v1/github-worker\\\",\\n    \\\"queue:route:index.garbage.*\\\",\\n    \\\"secrets:get:garbage/*\\\",\\n    \\\"secrets:set:garbage/*\\\"\\n  ]\\n}\",\n        \"error\": {\n            \"code\": \"InsufficientScopes\",\n            \"message\": \"You do not have sufficient scopes. This request requires you\\nto have one of the following sets of scopes:\\n[\\n  [\\n    \\\"queue:route:index.project.releng.opencloudconfig.v1.revision.c8427a179aaa7d916138f37a11d1ddcae03820bc.validation\\\"\\n  ]\\n]\\n\\nYou only have the scopes:\\n[\\n  \\\"assume:repo:github.com/mozilla-releng/OpenCloudConfig:pull-request\\\",\\n  \\\"queue:create-task:aws-provisioner-v1/github-worker\\\",\\n  \\\"queue:route:index.garbage.*\\\",\\n  \\\"secrets:get:garbage/*\\\",\\n  \\\"secrets:set:garbage/*\\\"\\n]\\n\\nIn other words you are missing scopes from one of the options:\\n * Option 0:\\n    - \\\"queue:route:index.project.releng.opencloudconfig.v1.revision.c8427a179aaa7d916138f37a11d1ddcae03820bc.validation\\\"\\n----\\nerrorCode:  InsufficientScopes\\nstatusCode: 403\\nrequestInfo:\\n  method:   defineTask\\n  params:   {\\\"taskId\\\":\\\"A11sCIuLSsGpXiQVm-Y_WA\\\"}\\n  payload:  {\\n  \\\"provisionerId\\\": \\\"aws-provisioner-v1\\\",\\n  \\\"routes\\\": [\\n    \\\"index.project.releng.opencloudconfig.v1.revision.c8427a179aaa7d916138f37a11d1ddcae03820bc.validation\\\"\\n  ],\\n  \\\"workerType\\\": \\\"github-worker\\\",\\n  \\\"extra\\\": {\\n    \\\"github\\\": {\\n      \\\"env\\\": true,\\n      \\\"events\\\": [\\n        \\\"pull_request.*\\\",\\n        \\\"push\\\"\\n      ]\\n    },\\n    \\\"data\\\": {\\n      \\\"base\\\": {\\n        \\\"sha\\\": \\\"0b2edb5ea1a65e6bb9fb81e167dcb34e77b3909a\\\",\\n        \\\"user\\\": {\\n          \\\"login\\\": \\\"mozilla-releng\\\"\\n        }\\n      },\\n      \\\"head\\\": {\\n        \\\"sha\\\": \\\"c8427a179aaa7d916138f37a11d1ddcae03820bc\\\",\\n        \\\"user\\\": {\\n          \\\"email\\\": \\\"pmoore@mozilla.com\\\"\\n        }\\n      }\\n    }\\n  },\\n  \\\"payload\\\": {\\n    \\\"maxRunTime\\\": 600,\\n    \\\"image\\\": \\\"grenade/opencloudconfig\\\",\\n    \\\"command\\\": [\\n      \\\"/bin/bash\\\",\\n      \\\"--login\\\",\\n      \\\"-c\\\",\\n      \\\"git clone --quiet https://github.com/petemoore/OpenCloudConfig.git && cd OpenCloudConfig && git checkout upgrade-gw-5.1.0 && echo \\\\\\\"do lint stuff here\\\\\\\"\\\"\\n    ],\\n    \\\"env\\\": {\\n      \\\"GITHUB_EVENT\\\": \\\"pull_request.closed\\\",\\n      \\\"GITHUB_BRANCH\\\": \\\"master\\\",\\n      \\\"GITHUB_PULL_REQUEST\\\": 9,\\n      \\\"GITHUB_BASE_REPO_URL\\\": \\\"https://github.com/mozilla-releng/OpenCloudConfig.git\\\",\\n      \\\"GITHUB_BASE_USER\\\": \\\"mozilla-releng\\\",\\n      \\\"GITHUB_BASE_SHA\\\": \\\"0b2edb5ea1a65e6bb9fb81e167dcb34e77b3909a\\\",\\n      \\\"GITHUB_BASE_BRANCH\\\": \\\"master\\\",\\n      \\\"GITHUB_BASE_REF\\\": \\\"master\\\",\\n      \\\"GITHUB_HEAD_REPO_URL\\\": \\\"https://github.com/petemoore/OpenCloudConfig.git\\\",\\n      \\\"GITHUB_HEAD_USER\\\": \\\"petemoore\\\",\\n      \\\"GITHUB_HEAD_SHA\\\": \\\"c8427a179aaa7d916138f37a11d1ddcae03820bc\\\",\\n      \\\"GITHUB_HEAD_BRANCH\\\": \\\"upgrade-gw-5.1.0\\\",\\n      \\\"GITHUB_HEAD_USER_EMAIL\\\": \\\"pmoore@mozilla.com\\\"\\n    }\\n  },\\n  \\\"metadata\\\": {\\n    \\\"name\\\": \\\"Validate submission\\\",\\n    \\\"description\\\": \\\"run a linter against json and powershell files\\\",\\n    \\\"owner\\\": \\\"pmoore@mozilla.com\\\",\\n    \\\"source\\\": \\\"https://github.com/petemoore/OpenCloudConfig.git\\\"\\n  },\\n  \\\"created\\\": \\\"2016-08-16T09:50:29.283Z\\\",\\n  \\\"deadline\\\": \\\"2016-08-17T09:50:29.284Z\\\",\\n  \\\"schedulerId\\\": \\\"task-graph-scheduler\\\",\\n  \\\"taskGroupId\\\": \\\"bM2j1TDqRA2Tq4DLv6AawA\\\",\\n  \\\"dependencies\\\": [],\\n  \\\"requires\\\": \\\"all-completed\\\",\\n  \\\"priority\\\": \\\"normal\\\",\\n  \\\"retries\\\": 5,\\n  \\\"scopes\\\": [],\\n  \\\"tags\\\": {},\\n  \\\"expires\\\": \\\"2017-08-17T09:50:29.284Z\\\"\\n}\\n  time:     2016-08-16T09:50:29.428Z\\ndetails:\\n{\\n  \\\"scopesets\\\": [\\n    [\\n      \\\"queue:route:index.project.releng.opencloudconfig.v1.revision.c8427a179aaa7d916138f37a11d1ddcae03820bc.validation\\\"\\n    ]\\n  ],\\n  \\\"scopes\\\": [\\n    \\\"assume:repo:github.com/mozilla-releng/OpenCloudConfig:pull-request\\\",\\n    \\\"queue:create-task:aws-provisioner-v1/github-worker\\\",\\n    \\\"queue:route:index.garbage.*\\\",\\n    \\\"secrets:get:garbage/*\\\",\\n    \\\"secrets:set:garbage/*\\\"\\n  ]\\n}\",\n            \"requestInfo\": {\n                \"method\": \"defineTask\",\n                \"params\": {\n                    \"taskId\": \"A11sCIuLSsGpXiQVm-Y_WA\"\n                },\n                \"payload\": {\n                    \"provisionerId\": \"aws-provisioner-v1\",\n                    \"routes\": [\n                        \"index.project.releng.opencloudconfig.v1.revision.c8427a179aaa7d916138f37a11d1ddcae03820bc.validation\"\n                    ],\n                    \"workerType\": \"github-worker\",\n                    \"extra\": {\n                        \"github\": {\n                            \"env\": true,\n                            \"events\": [\n                                \"pull_request.*\",\n                                \"push\"\n                            ]\n                        },\n                        \"data\": {\n                            \"base\": {\n                                \"sha\": \"0b2edb5ea1a65e6bb9fb81e167dcb34e77b3909a\",\n                                \"user\": {\n                                    \"login\": \"mozilla-releng\"\n                                }\n                            },\n                            \"head\": {\n                                \"sha\": \"c8427a179aaa7d916138f37a11d1ddcae03820bc\",\n                                \"user\": {\n                                    \"email\": \"pmoore@mozilla.com\"\n                                }\n                            }\n                        }\n                    },\n                    \"payload\": {\n                        \"maxRunTime\": 600,\n                        \"image\": \"grenade/opencloudconfig\",\n                        \"command\": [\n                            \"/bin/bash\",\n                            \"--login\",\n                            \"-c\",\n                            \"git clone --quiet https://github.com/petemoore/OpenCloudConfig.git && cd OpenCloudConfig && git checkout upgrade-gw-5.1.0 && echo \\\"do lint stuff here\\\"\"\n                        ],\n                        \"env\": {\n                            \"GITHUB_EVENT\": \"pull_request.closed\",\n                            \"GITHUB_BRANCH\": \"master\",\n                            \"GITHUB_PULL_REQUEST\": 9,\n                            \"GITHUB_BASE_REPO_URL\": \"https://github.com/mozilla-releng/OpenCloudConfig.git\",\n                            \"GITHUB_BASE_USER\": \"mozilla-releng\",\n                            \"GITHUB_BASE_SHA\": \"0b2edb5ea1a65e6bb9fb81e167dcb34e77b3909a\",\n                            \"GITHUB_BASE_BRANCH\": \"master\",\n                            \"GITHUB_BASE_REF\": \"master\",\n                            \"GITHUB_HEAD_REPO_URL\": \"https://github.com/petemoore/OpenCloudConfig.git\",\n                            \"GITHUB_HEAD_USER\": \"petemoore\",\n                            \"GITHUB_HEAD_SHA\": \"c8427a179aaa7d916138f37a11d1ddcae03820bc\",\n                            \"GITHUB_HEAD_BRANCH\": \"upgrade-gw-5.1.0\",\n                            \"GITHUB_HEAD_USER_EMAIL\": \"pmoore@mozilla.com\"\n                        }\n                    },\n                    \"metadata\": {\n                        \"name\": \"Validate submission\",\n                        \"description\": \"run a linter against json and powershell files\",\n                        \"owner\": \"pmoore@mozilla.com\",\n                        \"source\": \"https://github.com/petemoore/OpenCloudConfig.git\"\n                    },\n                    \"created\": \"2016-08-16T09:50:29.283Z\",\n                    \"deadline\": \"2016-08-17T09:50:29.284Z\",\n                    \"schedulerId\": \"task-graph-scheduler\",\n                    \"taskGroupId\": \"bM2j1TDqRA2Tq4DLv6AawA\",\n                    \"dependencies\": [],\n                    \"requires\": \"all-completed\",\n                    \"priority\": \"normal\",\n                    \"retries\": 5,\n                    \"scopes\": [],\n                    \"tags\": {},\n                    \"expires\": \"2017-08-17T09:50:29.284Z\"\n                },\n                \"time\": \"2016-08-16T09:50:29.428Z\"\n            },\n            \"details\": {\n                \"scopesets\": [\n                    [\n                        \"queue:route:index.project.releng.opencloudconfig.v1.revision.c8427a179aaa7d916138f37a11d1ddcae03820bc.validation\"\n                    ]\n                ],\n                \"scopes\": [\n                    \"assume:repo:github.com/mozilla-releng/OpenCloudConfig:pull-request\",\n                    \"queue:create-task:aws-provisioner-v1/github-worker\",\n                    \"queue:route:index.garbage.*\",\n                    \"secrets:get:garbage/*\",\n                    \"secrets:set:garbage/*\"\n                ]\n            }\n        }\n    }\n]\n```"}}
{"actor":{"display_login":"TaskClusterRobot"}}