Issue 3565: IllegalArgumentException: applying label "Verified": 1 is restricted
Status:  New
Owner: ----
Project Member Reported by david.pu...@sonymobile.com, Sep 15, 2015
*****************************************************************
*****                                                       *****
***** !!!! THIS BUG TRACKER IS FOR GERRIT CODE REVIEW !!!!  *****
*****                                                       *****
***** DO NOT SUBMIT BUGS FOR CHROME, ANDROID, CYANOGENMOD,  *****
***** INTERNAL ISSUES WITH YOUR COMPANY'S GERRIT SETUP, ETC.*****
*****                                                       *****
*****   THOSE ISSUES BELONG IN DIFFERENT ISSUE TRACKERS     *****
*****                                                       *****
*****************************************************************

Affected Version: 2.11.3-1300-g1912561

What steps will reproduce the problem?
1. Push a stack of changes with %l=Verified+1
2.
3.

What is the expected output? What do you see instead?

Only one of the changes was accepted and had the label applied.  It was a change in the middle of the stack; other changes below and above it were not updated.

See PS 11 of https://gerrit-review.googlesource.com/#/c/62519/

Pushing again fails with "no new changes".

Please provide any additional information below.

$ git push origin HEAD:refs/for/master%l=Verified+1
Counting objects: 74, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (57/57), done.
Writing objects: 100% (74/74), 7.84 KiB | 0 bytes/s, done.
Total 74 (delta 32), reused 0 (delta 0)
remote: Resolving deltas: 100% (32/32)
remote: Processing changes: updated: 1, refs: 1, done    
To https://gerrit-review.googlesource.com/gerrit
 ! [remote rejected] HEAD -> refs/for/master%l=Verified+1 (internal server error: java.lang.IllegalArgumentException: applying label "Verified": 1 is restricted)
error: failed to push some refs to 'https://gerrit-review.googlesource.com/gerrit'


Sep 15, 2015
Project Member #1 david.pu...@sonymobile.com
After rebasing to edit the commit message on the bottom change, I was able to push (without the %l option).  I can see that the other changes in the stack have missing patch sets.

https://gerrit-review.googlesource.com/#/c/68270/ missing PS 8
https://gerrit-review.googlesource.com/#/c/62518/ missing PS 18
https://gerrit-review.googlesource.com/#/c/62520/ missing PS 12