I was trying to manually reproduce a run in the infra repo on tricium-dev via rpcexplorer and found that I was not authorized to do this. URL: https://tricium-dev.appspot.com/rpcexplorer/services/tricium.Tricium/Analyze?request={%20%20%20%20%22project%22:%20%22infra%22,%20%20%20%20%22files%22:%20[%20%20%20%20%20%20%20%20{%20%20%20%20%20%20%20%20%20%20%20%20%22path%22:%20%22data.proto%22%20%20%20%20%20%20%20%20}%20%20%20%20],%20%20%20%20%22gitCommit%22:%20{%20%20%20%20%20%20%20%20%22url%22:%20%22https://chromium.googlesource.com/infra/infra%22,%20%20%20%20%20%20%20%20%22ref%22:%20%22refs/changes/43/1097543/1%22%20%20%20%20}} Expected result: run started, run ID returned Actual: Code: 7 (PERMISSION_DENIED) Description: failed to execute analyze request The permission to start analyze request here should be determined by the group "tricium-infra-requesters", and I'm logged in as qyearsley@google.com which I've explicitly added to that group. This could be a matter of latency when updating the groups.
Another example to try: https://tricium-dev.appspot.com/rpcexplorer/services/tricium.Tricium/Analyze?request={%20%20%20%20%22project%22:%20%22infra%22,%20%20%20%20%22files%22:%20[%20%20%20%20%20%20%20%20{%20%20%20%20%20%20%20%20%20%20%20%20%22path%22:%20%22go/src/infra/tricium/functions/pylint/pylint_parser%22,%20%20%20%20%20%20%20%20%20%20%20%20%22isBinary%22:%20true%20%20%20%20%20%20%20%20},%20%20%20%20%20%20%20%20{%20%20%20%20%20%20%20%20%20%20%20%20%22path%22:%20%22go/src/infra/tricium/functions/pylint/pylint_parser.go%22%20%20%20%20%20%20%20%20},%20%20%20%20%20%20%20%20{%20%20%20%20%20%20%20%20%20%20%20%20%22path%22:%20%22go/src/infra/tricium/functions/pylint/pylint_parser_test.go%22%20%20%20%20%20%20%20%20}%20%20%20%20],%20%20%20%20%22gitCommit%22:%20{%20%20%20%20%20%20%20%20%22url%22:%20%22https://chromium.googlesource.com/infra/infra%22,%20%20%20%20%20%20%20%20%22ref%22:%20%22refs/changes/95/1089995/6%22%20%20%20%20}}
The above example but with gerritRevision: https://tricium-dev.appspot.com/rpcexplorer/services/tricium.Tricium/Analyze?request={%20%20%20%20%22project%22:%20%22infra%22,%20%20%20%20%22files%22:%20[%20%20%20%20%20%20%20%20{%20%20%20%20%20%20%20%20%20%20%20%20%22path%22:%20%22go/src/infra/tricium/functions/pylint/pylint_parser%22,%20%20%20%20%20%20%20%20%20%20%20%20%22isBinary%22:%20true%20%20%20%20%20%20%20%20},%20%20%20%20%20%20%20%20{%20%20%20%20%20%20%20%20%20%20%20%20%22path%22:%20%22go/src/infra/tricium/functions/pylint/pylint_parser.go%22%20%20%20%20%20%20%20%20},%20%20%20%20%20%20%20%20{%20%20%20%20%20%20%20%20%20%20%20%20%22path%22:%20%22go/src/infra/tricium/functions/pylint/pylint_parser_test.go%22%20%20%20%20%20%20%20%20}%20%20%20%20],%20%20%20%20%22gerritRevision%22:%20{%20%20%20%20%20%20%20%20%22host%22:%20%22chromium-review.googlesource.com%22,%20%20%20%20%20%20%20%20%22project%22:%20%22infra/infra%22,%20%20%20%20%20%20%20%20%22change%22:%20%22infra/infra~master~I4d4a9e836710937528d14429ebef09725e5fc815%22,%20%20%20%20%20%20%20%20%22gitUrl%22:%20%22https://chromium.googlesource.com/infra/infra%22,%20%20%20%20%20%20%20%20%22gitRef%22:%20%22refs/changes/95/1089995/6%22%20%20%20%20}} This issue makes it harder to reproduce/debug other issues, so it would be good to resolve.
Possibly related to bug 908647 .
Mystery solved, same as bug 908647 -- > tricium-dev.appspot.com uses chrome-infra-auth-dev for groups (see https://tricium-dev.appspot.com/admin/portal/auth_service) > > chrome-infra-auth-dev doesn't have project-infra-committers or -tryjob-acccess groups. It is completely separate group namespaces.
Comment 1 by qyears...@chromium.org
, Jun 14 2018