Thursday, 2016-10-13

*** Apoorva has quit IRC01:07
*** Apoorva has joined #openstack-third-party-ci01:47
*** Apoorva has quit IRC01:50
*** rfolco has quit IRC01:56
*** rfolco has joined #openstack-third-party-ci02:14
*** rfolco has quit IRC03:41
*** watanabe_isao has joined #openstack-third-party-ci07:39
*** watanabe_isao has quit IRC08:09
*** ChanServ has quit IRC09:14
*** hexlibris has quit IRC09:17
*** openstackgerrit has quit IRC09:17
*** strigazi has quit IRC09:17
*** azvyagintsev has quit IRC09:17
*** wznoinsk has quit IRC09:17
*** patrickeast has quit IRC09:17
*** wznoinsk has joined #openstack-third-party-ci10:07
*** azvyagintsev has joined #openstack-third-party-ci10:07
*** patrickeast has joined #openstack-third-party-ci10:07
*** azvyagintsev has quit IRC10:10
*** wznoinsk has quit IRC10:10
*** patrickeast has quit IRC10:10
*** wznoinsk has joined #openstack-third-party-ci10:26
*** azvyagintsev has joined #openstack-third-party-ci10:26
*** patrickeast has joined #openstack-third-party-ci10:26
*** hexlibris has joined #openstack-third-party-ci10:28
*** openstackgerrit has joined #openstack-third-party-ci10:28
*** strigazi has joined #openstack-third-party-ci10:28
*** azvyagintsev has quit IRC10:28
*** ChanServ has joined #openstack-third-party-ci10:30
*** tepper.freenode.net sets mode: +o ChanServ10:30
*** mmedvede has joined #openstack-third-party-ci10:59
*** rfolco has joined #openstack-third-party-ci12:01
*** TheJulia has joined #openstack-third-party-ci13:14
TheJuliao/13:14
krtaylormmedvede, TheJulia is trying to turn on voting for their CI - can you help with the layout.yaml changes ?13:15
*** fdegir has joined #openstack-third-party-ci13:15
TheJuliaWell, not my CI, OPNFV is attempting to post +1/-1 results to bifrost revisions13:16
TheJuliabut, we seem to be missing something along the way13:16
krtaylorsorry, I summarized too much  :)13:16
TheJuliano worries ;)13:16
mmedvedesure13:16
mmedvedeI can take a look13:17
krtaylorTheJulia, is their layout.yaml similar to https://github.com/openstack-infra/zuul/blob/master/etc/layout.yaml-sample?13:17
TheJuliaso, My parsing of the doc, I feel like it should just work as-is, but it doesn't seem to be.  fdegir indicated that they are sending it from their jenkins deployment upon job completion13:17
TheJuliakrtaylor: I would guess not, since jenkins and fdegir has indicated they are using the gerrit jenkins trigger13:19
fdegirhi13:19
fdegiras TheJulia says, we use jenkins gerrit trigger13:19
fdegirand we don't have zuul13:19
fdegirso it is basic jenkins job that gets triggered via patchset-created and that's all13:19
mmedvedeI am unfamiliar with that :(13:19
mmedvedebut I guess it should be the same principle13:19
fdegirit is http://docs.openstack.org/infra/system-config/third_party.html#the-jenkins-gerrit-trigger-plugin-way13:20
fdegirit can post -1/+1 to sandbox-ci project patches13:20
fdegirhttps://review.openstack.org/#/c/385969/13:20
fdegirbut not to bifrost patches13:21
fdegirhttps://review.openstack.org/#/c/367608/13:21
fdegirand this is the jjb job template13:22
fdegirhttps://gerrit.opnfv.org/gerrit/gitweb?p=releng.git;a=blob;f=jjb/infra/bifrost-verify-jobs.yml13:22
fdegirthe openstack gerrit trigger is defined towards the end of the file13:23
mmedvedeI wonder if the CI needs to be added to the voting group of the project?13:24
fdegirmmedvede: the doc says the ci should be in project-ci group on gerrit13:25
fdegirmmedvede: but there is no group called birost-ci13:25
fdegirmmedvede: and the interesting thing is, Cisco CI can vote for ironic patches13:25
TheJuliaexcept ironic for example, doesn't an ironic-ci group, and they have this sort of voting on their jobs13:25
fdegirmmedvede: ironic doesn't have a group called ironic-ci either13:25
fdegir:)13:25
* TheJulia wonders if this becomes a conundrum and we get a phone call in a few minutes from a time traveler :)13:31
*** yolanda has joined #openstack-third-party-ci13:31
mmedvede:)13:32
mmedvedeIf you are using the same settings for trying to vote on bifrost as you do on sandbox, and it does not come through, one possibility is that your CI does not have right access13:34
mmedvedeI did not look into this in a long time13:34
mmedvedelooking through various groups on gerrit right now13:35
fdegirmmedvede: I'm looking in to project-config/gerrit/acls/openstack13:35
fdegirfor example for fuel plugins13:35
fdegirhttps://review.openstack.org/gitweb?p=openstack-infra/project-config.git;a=blob;f=gerrit/acls/openstack/fuel-plugin-debug.config13:35
fdegirthey have that group set to use label verified13:36
fdegirso we might need similar thing for bifrost too13:36
fdegiras it's not defined in bifrost.config13:36
fdegirand have bifrost-ci group created as well13:36
mmedvedealso, there is always a possibility that jeepyb manage_projects script did not run correctly on review.o.o to set permissions13:37
yolandamm, so one thing may be that job results are published on the change, and another thing is that these job results are voting?13:38
yolandai mean, for ironic it just can be informative jobs, but not affecting jenkins results13:38
TheJuliaso, registered users is granted explicit permission to review on ironci13:38
TheJuliabut not fuel13:38
mmedvedeyolanda: they are able to post non-voting comments on bifrost patches, but they want to vote and unable. So it seems there is some acl config that is not right/not applied13:41
openstackgerritMark Hamzy proposed openstack/third-party-ci-tools: Add Continuous Integration (CI) example  https://review.openstack.org/38424313:41
yolandawell yes, bifrost does not have this bifrost-ci acl, so first thing shall be to update the acl13:41
TheJuliabut ironic doesn't either13:42
yolandathen add the opnfv ci user to that group13:42
TheJuliathat is what has me a little confused13:42
yolandabut they can post verified results to jenkins?13:42
TheJuliayup13:42
TheJuliawell, various third party CIs can13:42
*** hamzy has quit IRC13:42
TheJuliais the opnfv user in registered users?13:43
fdegiryes13:43
TheJuliaI wonder if it is via the explicit grant to registered users13:47
* TheJulia thinks to herself that she has seen gerrit inheritance misbehave before.13:50
mmedvedeTheJulia: could be13:50
yolandabut registered users can only give +1/-1 as code review, not verified flags13:52
mmedvedeTheJulia: I do not think you want verified flag, do you? just +1/-1 is what you want?13:53
fdegirI think I confused you13:56
fdegirthose CIs don't vote to ironic13:56
TheJuliano, they only post +1/-1, and that would be my preference here, visibility13:56
fdegirbut they are listed in tabl13:56
fdegirso the acl config seems right13:57
yolandaah, then it makes sense13:57
TheJuliacould jenkins be trying to post +2?13:57
fdegirTheJulia: I think bifrost needs bifrost-ci group13:57
yolandano need of ironic-ci just to post reviews, they act as normal users13:57
fdegirand then project config needs updating13:57
fdegiryolanda: but how those CIs are listed in table?13:57
fdegirhttps://review.openstack.org/#/c/384899/13:57
fdegirwith links to logs or whatever13:58
yolandai think that it's because the format of their answer13:58
yolandathey have to follow some specific syntax13:58
fdegiror maybe they all use zuul13:59
fdegirwhich handles all those things13:59
fdegirTheJulia: it doesn't post +2/-214:00
fdegirTheJulia: do you think we can get bifrost-ci created?14:00
TheJuliakrtaylor indicated his is using zuul...14:00
krtaylor"Once you have done this you will have everything you need to comment on Gerrit changes from our CI system but you will not be able to vote +/-1 Verified on changes. To get voting rights you will need to get the release group of the project you are testing to add you to their project specific <project>-ci group."14:00
krtaylorfrom: http://docs.openstack.org/infra/system-config/third_party.html14:01
fdegirkrtaylor: yes, the CIs posting comments to ironic confused me/us14:01
krtaylorjust wondering if this has been set up14:01
* TheJulia wonders if the zuul based deployments just have a little more logic in this regard14:01
krtaylorpass/fail comments should be fine14:01
krtaylorand open to everyone14:02
krtaylorlooks like acls on the gerrit side14:02
krtayloris this comment/verified being done with a service account?14:03
krtaylorsomething_something_CI?14:03
TheJuliafdegir: I'll go-ahead and post a change to create it14:03
fdegirTheJulia: https://review.openstack.org/#/c/386002/14:05
krtayloralso, try using openstack-dev/ci-sandbox14:05
fdegirTheJulia: seen your comment after I git reviewed14:06
TheJuliaOnce landed, we will need to get someone to grand bifrost-release or bifrost-core ownership of bifrost-ci14:06
fdegirI can abandon14:06
krtaylorif you can post a verified there, then you know it is ACLs on the project14:06
fdegirkrtaylor: yes, I tried sandbox-ci and it works fine14:06
TheJuliafdegir: that is fine, you beat me to it14:06
fdegirkrtaylor: I think things make more sense now14:06
fdegirkrtaylor: the acls cntrol verified stuff14:06
krtaylorfdegir, there you go, it is prob acls then14:06
fdegirkrtaylor: and using zuul puts you to that table14:06
fdegirkrtaylor: perhaps zuul is posting stuff in certain way/format as yolanda14:07
fdegirsays14:07
fdegirTheJulia: but I don't know how to create that group or who does that14:07
krtaylornot sure if that would be a factor as much as service account name, etc14:07
fdegirTheJulia: and who make opnfv ci user member14:07
fdegirkrtaylor: the username is opnfvci14:07
fdegirkrtaylor: and it's been added to all the places listed on that third party ci wiki14:08
* krtaylor looks up account14:09
TheJuliafdegir: once defined in a config and merged, the group is auto-created.  We just need one of the gerrit-admins to grant ownership of the group to bifrost-release or bifrost-core14:09
yolandayep, i can do it14:09
TheJulia\o/14:10
mmedvedefdegir: TheJulia: If you just want your CI to be shown in review.o.o table, it is just formatting of your comment that needs changing14:10
mmedvedeI am looking at https://review.openstack.org/#/c/367608/14:11
krtaylorname format looks OK in gerrit Third Party CI group14:11
mmedvedecompare your comment with jenkins comment format14:11
TheJuliafdegir: ^^^14:11
fdegirmmedvede: will do that in sandbox-ci14:12
fdegiryolanda: while you are at it: https://review.openstack.org/#/c/386006/14:12
fdegir:)14:12
*** openstackgerrit has quit IRC14:18
mmedvedefyi, this is the script that parses gerrit comments and creates the table up top https://github.com/openstack-infra/system-config/blob/master/modules/openstack_project/files/gerrit/hideci.js14:18
*** openstackgerrit has joined #openstack-third-party-ci14:19
fdegirmmedvede: thx, the name matches so the content is what I need to adjust as you say14:23
*** hamzy has joined #openstack-third-party-ci14:30
*** rajinir has joined #openstack-third-party-ci15:00
openstackgerritMark Hamzy proposed openstack/third-party-ci-tools: Add Continuous Integration (CI) example  https://review.openstack.org/38424315:28
*** krtaylor has quit IRC15:56
*** krtaylor has joined #openstack-third-party-ci16:52
*** Apoorva has joined #openstack-third-party-ci16:55
*** Apoorva has quit IRC16:57
*** Apoorva has joined #openstack-third-party-ci16:58
*** Apoorva has quit IRC17:03
*** Apoorva has joined #openstack-third-party-ci17:08
*** rfolco has quit IRC17:13
*** rfolco has joined #openstack-third-party-ci17:14
*** Apoorva has quit IRC17:14
*** Apoorva has joined #openstack-third-party-ci17:22
*** rfolco has quit IRC18:50
*** rfolco has joined #openstack-third-party-ci18:58
*** hamzy has quit IRC20:00
*** openstackgerrit has quit IRC20:19
*** openstackgerrit has joined #openstack-third-party-ci20:19
*** Apoorva has quit IRC20:23
*** Apoorva has joined #openstack-third-party-ci20:41
*** Apoorva has quit IRC20:48
*** Apoorva has joined #openstack-third-party-ci20:49
*** krtaylor has quit IRC21:23
*** Apoorva_ has joined #openstack-third-party-ci21:23
*** Apoorva has quit IRC21:27
*** rfolco has quit IRC21:28
*** Apoorva_ has quit IRC21:28
*** rajinir has quit IRC22:16

Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!