A partial archive of https://discourse-mediawiki.wmflabs.org as of Saturday May 21, 2022.

Jenkins bot isn’t being triggered when patch is pushed for review

JHunterHobbs

I have an issue that I have been working on for a while ( https://phabricator.wikimedia.org/T161612 ) and every time that I submit a patch, jenkins bot does not automatically run. Is this normal? It has taken a while for me to get a review each patch and I have been waiting for almost a week just for the bot to run. I think that the bot has needed to be initiated by a maintainer with certain privileges but I am not sure exactly how the jenkins bot works. Could someone help explain this to me and maybe help me with getting a patch reviewed? Thanks in advance.

Phabricator issue link: https://phabricator.wikimedia.org/T161612
Gerrit link: https://gerrit.wikimedia.org/r/#/c/408577/

Tgr

Sort of normal; see Outgoing reviews Verified +1 git-reviews

FlorianSW

Hi! First of all: Thanks for taking the time to contribute to a project :slight_smile:

Jenkins-bot automatically starts verify jobs for newer contributors, who are not whitelisted already. Only whitelisted comitters trigger jenkins-bot’s test job (which will vote +2). Some projects, however, does not have any verify jobs, which means, that, if you’re not whitelisted already, no job will be triggered when you commit any change. This can be annoying, of course, but some jobs will interfer with the CI infrastrucre a lot, that’s why (iirc) we need to restrict to run the jobs for a known set of people.

However: Whitelisting a contributor is generally not that hard, especially, if you’re already working on a patch and/or project. Normally, the maintainer of a project will ask for you that you get whitelisted by proposing a patch to our CI configuration repo. Probably you can ask in the task there or in your gerrit patch to get whitelisted. For your current case, I went ahead and created a change to whitelist your account in gerrit, so that jenkins-bot starts running for you, too. Let’s wait until it is merged :slight_smile:

I hope this answers your question!