Issue 3067: Adding label "Verifed" to project.conf in meta/conf has no effect. Even after restart.
Status:  New
Owner: ----
Reported by rene.lin...@gmail.com, Dec 17, 2014
************************************************************
***** NOTE: THIS BUG TRACKER IS FOR GERRIT CODE REVIEW *****
***** DO NOT SUBMIT BUGS FOR CHROME, ANDROID, INTERNAL *****
***** ISSUES WITH YOUR COMPANY'S GERRIT SETUP, ETC.    *****
***** THOSE ISSUE BELONG IN DIFFERENT ISSUE TRACKERS!  *****
************************************************************

Affected Version: 2.9.2

What steps will reproduce the problem?
1. git fetch origin refs/meta/config:refs/remotes/origin/meta/config
2. git checkout meta/config
3. vim project.config
4. Added
[label "Verified"]
        function = MaxWithBlock
        value = -1 Fails
        value =  0 No score
        value = +1 Verified
5. git commit -am 'Added label verified'
6. git push origin meta/config:refs/for/meta/config
7. Open the review in gerrit UI
8. Reviewd +2
9. submit
10. Gerrit says: Change has been successfully merged into the git repository.
11. ssh -p 29418 rene.link@xfleet-dev01.dfs.local gerrit flush-caches --all (even tried a restart)
12. Projects/All-Projects/Access -> Edit
13. Tried to add Permmision under refs/heads/*
14. Expected permission "Label Verified" does not appear.


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


Please provide any additional information below.

Dec 17, 2014
#1 rene.lin...@gmail.com
The label should be available in the add permissions drop down, shouldn't it?

I try to integrate jenkins gerrit trigger with gerrit 2.9.2

Dec 17, 2014
#3 rene.lin...@gmail.com
I upgraded gerrit from a previous version.

Now I made a clean install of 2.9.2 and it works. But it does not work in the upgraded version.

I wish I could tell you which version I upgraded from, but I only have the old gerrit.war file and I am unable to determine the old version.
Dec 17, 2014
#4 rene.lin...@gmail.com
Ok, found the old version

# java -jar gerrit.war version
gerrit version 2.8.3

Jan 20, 2015
Project Member #5 david.pu...@sonymobile.com
When you upgraded from 2.8.3 to 2.9.2 did you run the init program?

And does the Verified label exist on any project in the parent hierarchy?