Friday, 2017-03-31

openstackgerritMerged openstack-infra/nodepool feature/zuulv3: Remove support for nodepool_id  https://review.openstack.org/45188900:17
*** jamielennox is now known as jamielennox|away00:25
*** jamielennox|away is now known as jamielennox00:31
jamielennoxjhesketh: quick question, i'm looking in 2.5 code at https://github.com/openstack-infra/zuul/blob/master/zuul/scheduler.py#L103602:58
jamielennoxi'm wondering why that's inside the loop02:59
jamielennoxif project is None how is a pipeline.source supposed to find it, regardless of how many pipelines you try?02:59
jamielennoxin v3 it's changed in an interesting way because you don't have the project name there at all https://github.com/openstack-infra/zuul/blob/master/zuul/scheduler.py#L103603:01
jheskethjamielennox: we need to always get the change so we can't skip the loop entirely... see the comment just above https://github.com/openstack-infra/zuul/blob/master/zuul/scheduler.py#L102503:01
jamielennoxjhesketh: so the location i'm hitting is i'm getting events for things we don't handle and so the .get() returns None03:03
jamielennoxso i'm not entirely sure on the use of project.foreign there03:03
jamielennoxoh, right - that would be the point of foreign03:04
jheskethnot sure I followed what you were saying completely, but you seem to have gotten it ;p03:05
jamielennoxjhesketh: well - maybe, does this mean that zuul is caching a local copy of everything regardless of whether it's in layout ?03:06
jamielennoxfor github we control incoming webhooks, but i attached it to gerrithub for a while there and so i would have been querying for the change of everything that happened?03:07
jheskethjamielennox: I suspect so, but I'm not confident03:14
jheskethI think it's necessary for cross-project deps as it's possible to need a change from a project that is otherwise not in layout.yaml03:15
jamielennoxjhesketh: it looks like gerrit will fetch it, embed the None into a few places in the Change(), but the change gets dropped when it hits the not project check03:16
jheskethjamielennox: by dropped you mean not entered into a queue?03:17
jheskeththe getChange I believe has the side-effect of updating the gerrit connection cache03:18
jheskethit might be possible to only call getchange if the cache needs updating (ie only do it when the project doesn't exist if the change has otherwise been cached)03:18
jamielennoxyea, the change that gets returned won't work - but it doesn't matter because it doesn't get enqueue03:19
jamielennoxd03:19
jamielennoxso by calling it after you make sure connection cache is valid for cross-project deps that are not in the actual layout file - got it03:20
jamielennoxs/valid/up to date03:20
*** yolanda has joined #zuul05:54
*** hashar has joined #zuul07:08
*** hashar is now known as hasharLunch10:37
*** bhavik1 has joined #zuul10:58
*** hasharLunch is now known as hashar11:19
pabelangermorning12:12
tobiashhi12:36
tobiashI'm just asking myself if it makes sense to move the statsd reporting also into the driver architecture12:36
tobiashthat would make it possible to export the stats also to something different like prometheus, influxdb or elasticsearch12:37
pabelangertobiash: I'm hoping that once we land fedmsg support into zuul, writing apps to consume the data from fedmsg would be straightforward12:39
pabelangerrather then writing reporters directly into zuul12:40
tobiashpabelanger: so stats will also be pushed to fedmsg?12:40
pabelangertobiash: I am not sure honestly, that is a jeblair questions12:41
*** dmsimard|afk is now known as dmsimard12:41
pabelangerhowever, if jobs results are published to fedmsg, you can also collect stats from that12:41
openstackgerritPaul Belanger proposed openstack-infra/zuul feature/zuulv3: Add reporter for Federated Message Bus (fedmsg)  https://review.openstack.org/42686112:44
*** bhavik1 has quit IRC13:42
*** dkranz has joined #zuul13:48
*** jamielennox is now known as jamielennox|away14:16
*** hashar has quit IRC14:26
*** jroll has quit IRC14:32
*** jroll has joined #zuul14:34
*** yolanda has quit IRC14:43
*** yolanda has joined #zuul14:47
jlkIs OperationalError: (pymysql.err.OperationalError) (2003, "Can't connect to MySQL server on 'host' ([Errno -2] Name or service not known)")  a normal message from a test trying to connect to a bad server?15:15
jlknot sure why it's trying to connect to 'host'.15:15
jeblairjesusaur: on second thought, i think we do want the reconfigure path to be able to schedule a merge if needed16:24
jeblairjesusaur: at least, that's the current behavior.16:30
jeblairjesusaur: maybe we can try without it.  let's leave that for now and see where it gets us.16:32
SpamapSpabelanger: sounds like middleware to me. No thanks. I'll take drivers.16:42
pabelangerSpamapS: sure, but that means more things in zuul to write functional tests for16:43
jeblairtobiash, pabelanger, SpamapS: statsd has pluggable backends16:43
jeblairit's also a *really simple* protocol.  i'd rather treat it as a standard protocol for stats emission and attach custom consumers to it, either via something that speaks the protocol or pluggable backends to the etsy statsd implementation.16:44
clarkbjeblair: I think thats afirly common, at least for influxdb and es. Not sure about prometheus. eg the tools already exist for that16:44
pabelangerya, I used to do statsd + influxdb16:45
pabelangerworked well16:45
SpamapSpabelanger: yes, it does. I still prefer it.16:46
pabelangernot sure these days since they redid there licensing16:46
SpamapSunless other things accept fedmsg's directly .. a fedmsg -> lots of other things gateway in a system turns into the choke point for everything and makes my app start to be really rigid and frustratingly complex quickly.16:47
SpamapSSame reason I don't like RabbitMQ btw. ;)16:47
SpamapSpretty tough line to stay on the right side of honestly16:50
SpamapSAMQP 1.0 for instance basically straddles the line between enabling middleware and enabling direct comms.. and as such, only 2 things really fully speak it (qpidd, and qrouterd)16:51
SpamapSanyway, all this to say... I like drivers.16:51
openstackgerritClint 'SpamapS' Byrum proposed openstack-infra/zuul feature/zuulv3: Use libyaml if possible  https://review.openstack.org/45111317:16
*** rcarrillocruz has quit IRC17:33
jesusaurjeblair: so you're ok with not scheduling the merge on reconfigure? or you think it should be re-added?17:33
jesusaurjeblair: I could try scheduling a merge in reEnqueueItem instead of in getLayout17:33
jeblairjesusaur: let's go without it for now, but keep it in mind if we see problems.17:35
jesusaurok17:39
SpamapSpabelanger: I have to apologize. Is fedmsg just a python frontend for 0mq?17:42
SpamapStrying to understand it at http://www.fedmsg.com/en/latest/overview/#17:42
clarkbSpamapS: its more than that. Semu backend agnostic (though converging more on 0mq :( ) it also prescribes serialization and subscription mechanisms iirc17:44
clarkbso its a bit more complete of a tool than just emitting 0mq events on pubsub17:44
pabelangerSpamapS: ya, but I'm working on a mqtt backend18:07
pabelangerthe big reason I liked it, was some of the tools fedora already build a top18:09
pabelangerlike web apps18:09
SpamapSbut it's just python yes?18:28
SpamapSOr there are other lang bindings now?18:28
SpamapSAlso how come the Zuul user reported POST_FAILURE on https://review.openstack.org/451113 ?18:29
SpamapSactually that's Jenkins reporting it.. I think18:30
SpamapSwhich is weird isn't it?18:30
SpamapSoooo maybe we could write a TweetMQ backend for fedmsg18:31
SpamapShttps://review.openstack.org/#/c/452219/1/specs/pike/tweetmq.rst18:31
* SpamapS finally sees logs.o.o msg from 7 minutes ago18:36
pabelangerSpamapS: ya, python18:38
openstackgerritK Jonathan Harker proposed openstack-infra/zuul feature/zuulv3: Perform pre-launch merge checks  https://review.openstack.org/44627519:20
*** rcarrillocruz has joined #zuul20:49
rbergeronspamaps: threebean (not in here, sadly) knows all the hidden magic of fedmsg, though i think pabelanger probably knows it darned well by now21:49
rbergeronSpamapS: also, debian also uses fedmsg21:49
rbergeronand clarkb: it was designed to be modular on the $whateverMQ side of things -- threebean told us it was just "i haven't documented that part but you could totally plug in a different mq" which yay pabelanger for that magic21:52
clarkbrbergeron: ya it was rabbit though iirc and is now mostly 0mq, which saddened me because our use of 0mq has taught us its not so great (in particular you don't get any notification of errors or disconnects nor can you even check for such states so when things break everything pretends it still happy while doing nothing)21:54
rbergeronlol. yeah, i guess it can be whatever21:55
jeblairis this error message clear enough? http://paste.openstack.org/show/605109/22:08
pabelangercould the json be outputted in yaml format?22:09
clarkband possibly preserve the order?22:09
SpamapSclarkb: you're supposed to assume that it's always broken. It's the cloud.22:09
clarkbSpamapS: I think that means we can all sit around and do nothing while pretending the world isn't on fire22:10
clarkbsounds good22:10
SpamapSclarkb: right. We just have to hope that at least one path through the system is not on fire sometimes.22:10
SpamapSpabelanger: agreed on wanting yaml there instead of json. Or at least indented whitespaced json.22:11
SpamapSdo we not have a Mark object we could pull the original text from?22:12
jeblairSpamapS: we do, that's at the bottom22:12
jeblairit just prints the one line22:13
jeblair(also, what i really want to do is expand the reporter structure to do in-line comments, but i'm being a team player and not jumping down that rabbit hole until we have more basic stuff working.  :)22:13
jeblairso i'm getting "pprint data structure dump is not great".  we can probably do something about that.22:14
SpamapSjeblair: I've not looked at this closely, but I think we could find the mark from the deep structure with the highest line #, and show the whole project structure.22:14
SpamapSand yeah, more basic stuff, right22:14
jeblairSpamapS: i think that's what the pprint is22:14
clarkbjeblair: its better than not printed at all but it would help map onto what is in the file that the problem is if it was yaml22:14
SpamapSjeblair: indeed it's good enough for now.22:14
jeblairSpamapS: it's a pprint of the structure at the mark22:15
SpamapSthrow that on the pile of neat ideas for when we're polishing things.22:15
* SpamapS goes back to looking at tests to re-enable22:15
jeblairwe can probably do better than the pprint22:15
jeblairthe fact that people don't like it is good feedback.  :)22:15
jeblairbut i was actually asking about the error message text -- is that clear enough?22:16
SpamapSjeblair: crystal clear.22:17
SpamapSwhich is why we went into optimization mode22:17
SpamapSbecause EENGINEER_MUST_FIND_ERROR22:18
jeblairSpamapS: cool, thanks :)22:18
openstackgerritClint 'SpamapS' Byrum proposed openstack-infra/zuul feature/zuulv3: Use libyaml if possible  https://review.openstack.org/45111322:20
* SpamapS forgot his license headers22:20
SpamapSyou know how they say be careful about code you write, it is a burden...22:20
pabelangerjeblair: I find the message clear, json to yaml is feature request :)22:21
mordredjeblair: fwiw - there are at least 3 +2'd on several of the secrets stack, including fungi22:27
mordredjeblair: but I think none of us wanted to be the one to actually pull the trigger22:28
fungiyeah, i didn't know who else might still be reviewing22:31
mordredme either22:31
mordredjeblair: actually, some of them have 4x+2 :)22:31
pabelangerJust added +2 to a few22:32
pabelangerafter reviewing of course22:33
jeblairsounds like they're about ready to go in then22:33
pabelangerbtw: we still need to land https://review.openstack.org/#/c/450894/22:34
pabelangerpuppet change for nodepool-launcher22:34
openstackgerritClint 'SpamapS' Byrum proposed openstack-infra/zuul feature/zuulv3: Re-enable test_timer_sshkey  https://review.openstack.org/45089722:50
fungimy dyslexia parsed that as "time for whiskey"22:51
fungieven my subconscious knows it's the weekend22:52
jesusauralso, today would be the day to propose test_for_whiskey() (well, in an hour utc)22:53
SpamapSdamnit22:57
SpamapSnow it is time for whiskey22:57
openstackgerritK Jonathan Harker proposed openstack-infra/zuul feature/zuulv3: Perform pre-launch merge checks  https://review.openstack.org/44627523:09
jesusaurjeblair: it's sooo close23:10
jesusaurthe only error is the first jobs in check report success instead of merge failure, but the dependent jobs correctly report merge failure23:11
jesusaurbut since it's a race with the repo updating, I'm tempted to change the test to expect success for the first job and call it done23:13
jeblairjesusaur: hrm, that sounds fishy.  we might want to look more closely into that next week.23:19
jesusaurok23:21
openstackgerritJames E. Blair proposed openstack-infra/zuul feature/zuulv3: Fully qualify project configuration names  https://review.openstack.org/45197023:26
openstackgerritJames E. Blair proposed openstack-infra/zuul feature/zuulv3: Add hostname to TriggerEvent  https://review.openstack.org/45234823:26

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