{"action":"created","issue":{"url":"https://api.github.com/repos/armenzg/mozilla_ci_tools/issues/19","labels_url":"https://api.github.com/repos/armenzg/mozilla_ci_tools/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/armenzg/mozilla_ci_tools/issues/19/comments","events_url":"https://api.github.com/repos/armenzg/mozilla_ci_tools/issues/19/events","html_url":"https://github.com/armenzg/mozilla_ci_tools/issues/19","id":58133506,"number":19,"title":"when we don't build a platform, mozilla_ci doesn't trigger the build","user":{"login":"jmaher","id":62588,"avatar_url":"https://avatars.githubusercontent.com/u/62588?v=3","gravatar_id":"","url":"https://api.github.com/users/jmaher","html_url":"https://github.com/jmaher","followers_url":"https://api.github.com/users/jmaher/followers","following_url":"https://api.github.com/users/jmaher/following{/other_user}","gists_url":"https://api.github.com/users/jmaher/gists{/gist_id}","starred_url":"https://api.github.com/users/jmaher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmaher/subscriptions","organizations_url":"https://api.github.com/users/jmaher/orgs","repos_url":"https://api.github.com/users/jmaher/repos","events_url":"https://api.github.com/users/jmaher/events{/privacy}","received_events_url":"https://api.github.com/users/jmaher/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"armenzg","id":44410,"avatar_url":"https://avatars.githubusercontent.com/u/44410?v=3","gravatar_id":"","url":"https://api.github.com/users/armenzg","html_url":"https://github.com/armenzg","followers_url":"https://api.github.com/users/armenzg/followers","following_url":"https://api.github.com/users/armenzg/following{/other_user}","gists_url":"https://api.github.com/users/armenzg/gists{/gist_id}","starred_url":"https://api.github.com/users/armenzg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/armenzg/subscriptions","organizations_url":"https://api.github.com/users/armenzg/orgs","repos_url":"https://api.github.com/users/armenzg/repos","events_url":"https://api.github.com/users/armenzg/events{/privacy}","received_events_url":"https://api.github.com/users/armenzg/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-02-18T21:48:18Z","updated_at":"2015-02-19T15:15:37Z","closed_at":null,"body":"taking a push when we add DONTBUILD in the commit message:\r\nhttps://treeherder.mozilla.org/#/jobs?repo=mozilla-inbound&revision=991c40f00898\r\n\r\nwe end up with no builds/tests for the push, but when trying to backfill, we get:\r\n\r\npython trigger.py  --dry-run --debug --repo-name mozilla-inbound --rev 991c40f00898 -b \"Ubuntu HW 12.04 mozilla-inbound talos chromez\"\r\n02/18/2015 04:46:00 INFO:\t Setting DEBUG level\r\n02/18/2015 04:46:00 DEBUG:\t We want to trigger 'Ubuntu HW 12.04 mozilla-inbound talos chromez' on revision '991c40f00898' a total of 1 times.\r\n02/18/2015 04:46:00 DEBUG:\t Buildername Ubuntu HW 12.04 mozilla-inbound talos chromez is valid.\r\n02/18/2015 04:46:00 DEBUG:\t The build job that triggers Ubuntu HW 12.04 mozilla-inbound talos chromez is Linux mozilla-inbound build\r\n02/18/2015 04:46:00 DEBUG:\t Buildername Linux mozilla-inbound build is valid.\r\n02/18/2015 04:46:00 DEBUG:\t About to fetch https://secure.pub.build.mozilla.org/buildapi/self-serve/mozilla-inbound/rev/991c40f00898?format=json\r\n02/18/2015 04:46:00 INFO:\t Starting new HTTPS connection (1): secure.pub.build.mozilla.org\r\n02/18/2015 04:46:01 DEBUG:\t \"GET /buildapi/self-serve/mozilla-inbound/rev/991c40f00898?format=json HTTP/1.1\" 404 103\r\n02/18/2015 04:46:01 DEBUG:\t Find jobs matching 'Linux mozilla-inbound build'\r\nTraceback (most recent call last):\r\n  File \"trigger.py\", line 61, in <module>\r\n    main()\r\n  File \"trigger.py\", line 47, in main\r\n    dry_run=args.dry_run\r\n  File \"/home/jmaher/mozilla/mozilla_ci_tools/mozci/mozci.py\", line 259, in trigger_job\r\n    buildername,\r\n  File \"/home/jmaher/mozilla/mozilla_ci_tools/mozci/mozci.py\", line 54, in _determine_trigger_objective\r\n    matching_jobs = _matching_jobs(build_buildername, all_jobs)\r\n  File \"/home/jmaher/mozilla/mozilla_ci_tools/mozci/mozci.py\", line 29, in _matching_jobs\r\n    if j[\"buildername\"] == buildername:\r\nTypeError: string indices must be integers\r\njmaher@jmaher-ThinkPad-X230:~/mozilla/mozilla_ci_tools/scripts$ \r\n\r\n\r\nI think we should not build by default on these cases, but not error out.  this will fail if we have a range of commits where one of the commits hits this failure condition.  Ideally we could have a flag that mozci accepts to force builds."},"comment":{"url":"https://api.github.com/repos/armenzg/mozilla_ci_tools/issues/comments/75068545","html_url":"https://github.com/armenzg/mozilla_ci_tools/issues/19#issuecomment-75068545","issue_url":"https://api.github.com/repos/armenzg/mozilla_ci_tools/issues/19","id":75068545,"user":{"login":"armenzg","id":44410,"avatar_url":"https://avatars.githubusercontent.com/u/44410?v=3","gravatar_id":"","url":"https://api.github.com/users/armenzg","html_url":"https://github.com/armenzg","followers_url":"https://api.github.com/users/armenzg/followers","following_url":"https://api.github.com/users/armenzg/following{/other_user}","gists_url":"https://api.github.com/users/armenzg/gists{/gist_id}","starred_url":"https://api.github.com/users/armenzg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/armenzg/subscriptions","organizations_url":"https://api.github.com/users/armenzg/orgs","repos_url":"https://api.github.com/users/armenzg/repos","events_url":"https://api.github.com/users/armenzg/events{/privacy}","received_events_url":"https://api.github.com/users/armenzg/received_events","type":"User","site_admin":false},"created_at":"2015-02-19T15:15:37Z","updated_at":"2015-02-19T15:15:37Z","body":"I will work on this."}}