Friday, 2017-05-12

*** jkilpatr has quit IRC00:19
jlkincoming......00:45
openstackgerritJesse Keating proposed openstack-infra/zuul feature/zuulv3: Add cachecontrol to requests to github  https://review.openstack.org/46158700:45
openstackgerritJesse Keating proposed openstack-infra/zuul feature/zuulv3: Set filter according to PR/Change in URL  https://review.openstack.org/44678200:45
openstackgerritJesse Keating proposed openstack-infra/zuul feature/zuulv3: Add support for requiring github pr head status  https://review.openstack.org/44939000:45
openstackgerritJesse Keating proposed openstack-infra/zuul feature/zuulv3: Implement trigger require/reject-approvals  https://review.openstack.org/46338700:45
openstackgerritJesse Keating proposed openstack-infra/zuul feature/zuulv3: Adds github triggering from status updates  https://review.openstack.org/45384400:45
openstackgerritJesse Keating proposed openstack-infra/zuul feature/zuulv3: Implement github trigger requirement status  https://review.openstack.org/46338600:45
openstackgerritJesse Keating proposed openstack-infra/zuul feature/zuulv3: Implement pipeline requirement on github reviews  https://review.openstack.org/45384500:45
openstackgerritJesse Keating proposed openstack-infra/zuul feature/zuulv3: Actually filter status triggers  https://review.openstack.org/46338500:45
openstackgerritJesse Keating proposed openstack-infra/zuul feature/zuulv3: Create github client each time it's called.  https://review.openstack.org/46342100:45
openstackgerritJesse Keating proposed openstack-infra/zuul feature/zuulv3: Use integration_id with github  https://review.openstack.org/46342000:45
openstackgerritJesse Keating proposed openstack-infra/zuul feature/zuulv3: Refactor integration key loading to always load  https://review.openstack.org/46342300:45
openstackgerritJesse Keating proposed openstack-infra/zuul feature/zuulv3: Represent github change ID in status page by PR number  https://review.openstack.org/46071600:45
openstackgerritJesse Keating proposed openstack-infra/zuul feature/zuulv3: Decode JSON body once for requests  https://review.openstack.org/46342200:45
openstackgerritJesse Keating proposed openstack-infra/zuul feature/zuulv3: Include tenant name in github context  https://review.openstack.org/46387100:46
openstackgerritJesse Keating proposed openstack-infra/zuul feature/zuulv3: Test gerrit and github drivers in same tenant  https://review.openstack.org/44825700:46
openstackgerritJesse Keating proposed openstack-infra/zuul feature/zuulv3: Save installation ids to a cache and fetch them per project  https://review.openstack.org/46342400:46
openstackgerritJesse Keating proposed openstack-infra/zuul feature/zuulv3: Catch integration key file not found in zuul  https://review.openstack.org/46342500:46
openstackgerritJesse Keating proposed openstack-infra/zuul feature/zuulv3: Include exc_info in reporter failure  https://review.openstack.org/46076500:46
openstackgerritJesse Keating proposed openstack-infra/zuul feature/zuulv3: Add support for github enterprise  https://review.openstack.org/44925800:46
openstackgerritJesse Keating proposed openstack-infra/zuul feature/zuulv3: Add trigger capability on github pr review  https://review.openstack.org/44936500:46
openstackgerritJesse Keating proposed openstack-infra/zuul feature/zuulv3: Ensure PRs arent rejected for stale negative reviews  https://review.openstack.org/46070000:46
openstackgerritJesse Keating proposed openstack-infra/zuul feature/zuulv3: Comment on PRs if a remote call to merge a change failed  https://review.openstack.org/46076200:46
*** jkilpatr has joined #zuul00:57
jamielennoxjeblair: for when you're here, what do you think about like a NO_JOBS or something state here: https://git.openstack.org/cgit/openstack-infra/zuul/tree/zuul/manager/__init__.py?h=feature/zuulv3#n74601:09
jamielennoxwhen our github trigger fires the start action sets the job status to pending on github01:10
jamielennoxhowever in the situation of no jobs (like what will happen after signup but before you've set anything up) no actual event is triggered to the reporter and so nothing will ever move the status out of pending state01:11
jamielennoxi can see why it shouldn't be success, it definitely shouldn't be a failure01:12
jamielennoxso maybe we can add a 'nothing happened' state that gerrit can ignore and github can use to either clear the status altogether or set success (not sure what we'd do yet)01:12
jamielennoxthe other option is to not call start when there are no jobs, but i don't think we can know that information in addChange01:17
*** jkilpatr has quit IRC01:17
*** smyers has quit IRC01:43
tobiashjamielennox: that sounds similar like a bug I encountered where zuulv3 reports start on every project on the gerrit04:45
tobiashjamielennox: I have a fix (still needs a bit of polishing) for that: https://review.openstack.org/#/c/455711/04:45
jamielennoxtobiash: yea, that will be exactly the same - but at least in the gerrit reporter you can opt out of a start message04:46
tobiashjamielennox: maybe that also solves your issue04:46
jamielennoxoh, that's a bit more involved - i didn't realize it would report for everything04:47
tobiashyeah, I also was surprised when I saw "Starting check jobs" messages on completely unrelated projects ;)04:47
jamielennoxtobiash: oh, interesting - so at the moment i don't have a gerrithub start job on04:48
jamielennoxbut i'm connected to, and receiving messages for everything that happens on gerrithub04:48
jamielennoxso that's probably really lucky04:48
jamielennoxin the github case things are a little more obvious bevcause you're probably only receiving webhooks for repos that you actually care about04:49
tobiashok, that hides the broader scope it has for gerrit04:50
jamielennoxhmm, so yea, that's a big problem - similar, but not exactly the same. In my case i have the project registered and in a queue, but there are no jobs run and so there is an escape instead of setting success/failure04:53
jamielennoxbut i will have to play with that patch a bit as well04:53
jamielennoxand we should consider both cases when thinking if we want to emit a start message from addChange or later04:53
*** Cibo_ has joined #zuul06:38
*** hashar has joined #zuul06:46
*** jamielennox is now known as jamielennox|away06:53
*** DangerousDaren has joined #zuul08:15
*** Cibo_ has quit IRC08:57
*** Cibo_ has joined #zuul08:57
*** Cibo_ has quit IRC09:07
*** Cibo_ has joined #zuul09:17
*** Cibo_ has quit IRC11:00
*** jkilpatr has joined #zuul11:12
*** Cibo_ has joined #zuul12:06
tobiashjamielennox: my patch seems to be broken now and needs to be rethought of...12:09
*** jamielennox|away is now known as jamielennox12:30
*** Cibo_ has quit IRC13:06
*** pabelanger has quit IRC13:36
*** pabelanger has joined #zuul13:36
*** DangerousDaren has quit IRC13:36
*** DangerousDaren has joined #zuul13:37
*** smyers has joined #zuul14:19
openstackgerritMerged openstack-infra/nodepool feature/zuulv3: Fix CleanupWorker exception messages  https://review.openstack.org/46101914:33
*** dkranz_ has joined #zuul15:05
*** dkranz_ has quit IRC16:01
*** dkranz_ has joined #zuul16:01
*** DangerousDaren has quit IRC16:16
*** Cibo_ has joined #zuul16:47
*** Cibo_ has quit IRC16:55
jlkjeblair: should some of the earlier github patches get merged in, or do you want to wait until the entire (or most of) the stack is approved so they all go in at once?17:05
*** Cibo_ has joined #zuul17:07
SpamapSit's such a big stack, would be nice to land anything that is done.17:15
jlkmordred: are you back? Do you have some bandwidth to pass some judgement on the github-v3 patch series?17:19
mordredjlk: yes! let me clear just a few other things off of my brainstack then I will do that17:20
jlkmmmm tasty brainstack.17:21
*** jkilpatr has quit IRC17:26
*** jkilpatr has joined #zuul17:28
*** Cibo_ has quit IRC17:53
*** Cibo_ has joined #zuul17:55
openstackgerritPaul Belanger proposed openstack-infra/nodepool feature/zuulv3: Rename nodepool.py to launcher.py  https://review.openstack.org/46380718:10
openstackgerritPaul Belanger proposed openstack-infra/nodepool feature/zuulv3: Ensure zookeeper_servers is a list  https://review.openstack.org/46388018:10
openstackgerritPaul Belanger proposed openstack-infra/nodepool feature/zuulv3: Use six.moves.urllib for python3 compat  https://review.openstack.org/46359518:10
openstackgerritPaul Belanger proposed openstack-infra/nodepool feature/zuulv3: Update exception message handling for python3  https://review.openstack.org/46403418:10
openstackgerritPaul Belanger proposed openstack-infra/nodepool feature/zuulv3: Sort flavors with operator.itemgetter('ram')  https://review.openstack.org/46399818:10
openstackgerritPaul Belanger proposed openstack-infra/nodepool feature/zuulv3: Use raise Exception for python3  https://review.openstack.org/46359418:10
openstackgerritPaul Belanger proposed openstack-infra/nodepool feature/zuulv3: Add waitForImage to test_lost_request  https://review.openstack.org/46407518:10
openstackgerritPaul Belanger proposed openstack-infra/nodepool feature/zuulv3: Replace dict.iteritems() with dict.items() for python3  https://review.openstack.org/46402618:10
openstackgerritPaul Belanger proposed openstack-infra/nodepool feature/zuulv3: Switch to next(generator) for python3  https://review.openstack.org/46404018:10
openstackgerritPaul Belanger proposed openstack-infra/nodepool feature/zuulv3: Fix imports for python3  https://review.openstack.org/46380818:10
openstackgerritPaul Belanger proposed openstack-infra/nodepool feature/zuulv3: Remove FakeFile from fakeprovider.py  https://review.openstack.org/46358718:10
openstackgerritPaul Belanger proposed openstack-infra/nodepool feature/zuulv3: Python 3.x incompatible use of print operator  https://review.openstack.org/46358618:10
SpamapSpabelanger: aint python3 fun?18:16
pabelangerSpamapS: indeed. But learning stuff18:17
SpamapSI actually like that it forces explicit thinking about when to use unicode.18:19
SpamapSbut zomg that breaks so much18:19
openstackgerritMerged openstack-infra/zuul feature/zuulv3: Move playbook out of zuul  https://review.openstack.org/46221018:39
openstackgerritJesse Keating proposed openstack-infra/zuul feature/zuulv3: Remove pipeline argument from various report fncts  https://review.openstack.org/46425218:48
* jlk picks off a TODO I saw.18:48
*** jkilpatr has quit IRC18:50
pabelangerShrews: So, I see a bunch of locked nodes in nl01.o.o, I believe this is a result of running out of HDD space the other day18:50
pabelangerShrews: how would you like to proceed?18:50
Shrewspabelanger: zuul holds the locks. Stopping it will release the locks. Don't know what will happen with the jobs18:55
pabelangerwe'd lose jobs, unless we dumped queues18:56
pabelangerI think that is okay, since they would just fail because tests we broken18:56
pabelangerlet me do that18:56
*** jkilpatr has joined #zuul18:57
*** harlowja has quit IRC19:02
openstackgerritMerged openstack-infra/zuul feature/zuulv3: Add jobs back to .zuul.yaml  https://review.openstack.org/46221219:20
pabelanger\o/19:20
pabelangerjobs will be working again19:20
mordredSpamapS: I think my experience with Drizzle, and now with python2->python3 has taught me that moving from non-unicode to unicode in a project is a "yes, it's the correct thing, but is so fraught with peril that it's probably not the right thing"19:23
mordredall the assumptions related to this stuff go DEEEEEP19:23
*** hashar has quit IRC19:38
SpamapSmordred: it's worth having a chimera string in between I think20:16
SpamapSlike, something a little better than py2's magic20:17
SpamapSbut I wouldn't mind if py3 had a mode where low level stuff returned a str that tried really hard to work like utf-8 bytes unless it just can't.20:17
SpamapSmordred: also it's not just the implementation you're working with's fault. Protocols.. file formats.. the whole world screwed this up20:18
*** morgan_ has joined #zuul20:19
*** morgan_ has quit IRC20:20
*** yolanda has quit IRC20:35
*** yolanda has joined #zuul20:43
mordredSpamapS: they really did20:43
mordredSpamapS: but I think for things like python or mysql that also have their own users with content - _changing_ the default has the potential to break so many things ... I haven't seen such a change go well yet20:44
mordred(changes of default from vague to strict pretty much always wind up punching someone in the face)20:44
*** jkilpatr has quit IRC21:04
*** harlowja has joined #zuul22:40
openstackgerritJesse Keating proposed openstack-infra/zuul feature/zuulv3: Remove uncalled test code  https://review.openstack.org/46427622:42

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