Monday, 2018-01-22

tristanCShrews: btw, i think last PS of https://review.openstack.org/535537 is much better because it mitigates the SessionExpired issue which seems to be happening when the zk connection dropped after the "while self._zk.suspended or self._zk.lost:" waiting loop01:00
mrhillsmannot sure what i am missing, i have jobs queued, instances available, executor connected to gearman, gearman stats says it is there, gearman workers says it is there, worker sends GRAB_JOB_UNIQ but goes right into GRAB_WAIT state, followed by NO_JOB packet then going into SLEEP state01:06
mrhillsmando i need to increase a timer/timeout on the GRAB_JOB_UNIQ request01:07
tristanCmrhillsman: what does display "nodepool request-list" ?01:09
mrhillsmanchecking01:10
mrhillsmanso this is the second env with executor behind vpn01:10
mrhillsmanthat returns empty table01:10
mrhillsmanrather, executor in environment that does not allow ingress but egress is ok01:11
mrhillsmannodepool is within the environment as well using shared zookeeper with chroot01:13
*** yolanda has quit IRC01:44
openstackgerritTristan Cacqueray proposed openstack-infra/nodepool master: builder: do not cleanup image for driver not managing image  https://review.openstack.org/53555202:06
openstackgerritTristan Cacqueray proposed openstack-infra/nodepool master: Implement a static driver for Nodepool  https://review.openstack.org/53555302:09
*** weshay has quit IRC02:14
*** weshay has joined #zuul02:15
openstackgerritTristan Cacqueray proposed openstack-infra/nodepool master: Refactor run_handler to be generic  https://review.openstack.org/53555402:15
openstackgerritTristan Cacqueray proposed openstack-infra/nodepool master: Refactor NodeLauncher to be generic  https://review.openstack.org/53555502:20
openstackgerritTristan Cacqueray proposed openstack-infra/nodepool master: Implement an OpenContainer driver  https://review.openstack.org/53555602:39
openstackgerritTristan Cacqueray proposed openstack-infra/nodepool master: Implement a Kubernetes driver  https://review.openstack.org/53555702:39
openstackgerritTristan Cacqueray proposed openstack-infra/nodepool master: Implement an Amazon EC2 driver  https://review.openstack.org/53555802:39
*** bhavik1 has joined #zuul04:37
*** bhavik1 has quit IRC05:07
openstackgerritTristan Cacqueray proposed openstack-infra/zuul master: zk: use kazoo retry facilities  https://review.openstack.org/53620905:38
*** threestrands has quit IRC05:40
openstackgerritMerged openstack-infra/nodepool master: Drop python2 virtualenv for devstack  https://review.openstack.org/53616806:22
openstackgerritTristan Cacqueray proposed openstack-infra/zuul master: Do not call merger:cat when all config items are excluded  https://review.openstack.org/53613406:31
Wei_LiutristanC, How to config the workflow +/-1 in gerrit to trigger the gate?06:53
tristanCWei_Liu: you mean in zuul pipeline like this: https://git.openstack.org/cgit/openstack-infra/project-config/tree/zuul.d/pipelines.yaml#n82 ?06:58
Wei_LiutristanC: no, I mean the config of All-Projects in gerrit, like adding label "verified". How to add the label "workflow"?07:03
tristanCWei_Liu: iirc, this happen in the project meta/config project, labels are defined there07:07
tristanCe.g. https://git.openstack.org/cgit/openstack-infra/project-config/tree/gerrit/acls/openstack/nova.config#n507:08
Wei_LiutristanC: ok, thanks07:11
tristanCWei_Liu: you're welcome!07:14
*** dkranz has quit IRC08:40
*** jpena|off is now known as jpena08:46
*** sshnaidm|off has quit IRC09:33
*** hashar has joined #zuul09:53
tobiashcorvus: ups, forgot about that and will be more careful next time at that topic10:07
tobiashcorvus: this probably also affects merger and executor10:07
tobiashcorvus: I will test and fix them as well10:07
*** yolanda has joined #zuul10:17
*** electrofelix has joined #zuul10:23
*** maxamillion has quit IRC10:25
*** maxamillion has joined #zuul10:28
openstackgerritMatthieu Huin proposed openstack-infra/nodepool master: Clean held nodes automatically after configurable timeout  https://review.openstack.org/53629510:28
openstackgerritMatthieu Huin proposed openstack-infra/nodepool master: Refactor status functions, add web endpoints, allow params This patch refactors status functions so that instead of having one function per output format, the output format is simply a parameter.  https://review.openstack.org/53630110:44
openstackgerritMatthieu Huin proposed openstack-infra/nodepool master: Add a separate module for node management commands  https://review.openstack.org/53630310:47
openstackgerritMatthieu Huin proposed openstack-infra/nodepool master: webapp: add optional admin endpoint  https://review.openstack.org/53631910:59
*** yolanda has quit IRC11:17
*** hashar has quit IRC11:27
*** openstackgerrit has quit IRC11:33
*** jkilpatr has joined #zuul11:47
*** jkilpatr has quit IRC11:55
*** sshnaidm has joined #zuul11:58
*** jkilpatr has joined #zuul12:09
*** jpena is now known as jpena|lunch12:33
tristanCfwiw I wrote a blog post about a CI/CD workflow with Zuul, it's proposed here: https://github.com/redhat-openstack/website/pull/115712:53
*** dkranz has joined #zuul13:07
*** openstackgerrit has joined #zuul13:21
openstackgerritMatthieu Huin proposed openstack-infra/nodepool master: Clean held nodes automatically after configurable timeout  https://review.openstack.org/53629513:21
openstackgerritFabien Boucher proposed openstack-infra/zuul master: Tenant config dynamic loading of project from external script  https://review.openstack.org/53587813:21
*** jpena|lunch is now known as jpena13:26
ShrewstristanC: re: 535537, where did you and corvus land on that? I think I recall him asking for some more investigation on your side as to why that was necessary, or similar. I could be wrong though13:28
ShrewstristanC: anyway we can test that in our unit tests?13:30
tristanCi think the issues was because the while zk.suspended loop doesn't prevent connection issue happening after this protection13:31
*** rlandy has joined #zuul13:31
openstackgerritMatthieu Huin proposed openstack-infra/nodepool master: Refactor status functions, add web endpoints, allow params  https://review.openstack.org/53630113:32
tristanCShrews: we could probably mock kazoo transport or even the socket, though i'm not sure how reliable such test would be13:33
tristanCi made the zookeeper client wait infinitely for the service to be available, which sounds like the best strategy13:37
openstackgerritMatthieu Huin proposed openstack-infra/nodepool master: Clean held nodes automatically after configurable timeout  https://review.openstack.org/53629513:39
openstackgerritMatthieu Huin proposed openstack-infra/nodepool master: Refactor status functions, add web endpoints, allow params  https://review.openstack.org/53630113:53
ShrewstristanC: i left a comment there for your consideration13:59
*** weshay is now known as weshay|rover14:00
*** maxamillion has quit IRC14:02
*** maxamillion has joined #zuul14:02
ShrewstristanC: i took a very "openstack-ci-breaks-everything centric" stance there in the comment :)14:03
Shrewsopenstack tends to find all of the edge cases before anyone else14:03
openstackgerritMatthieu Huin proposed openstack-infra/nodepool master: Clean held nodes automatically after configurable timeout  https://review.openstack.org/53629514:08
openstackgerritTobias Henkel proposed openstack-infra/zuul master: Revert "Register term_handler for all zuul apps"  https://review.openstack.org/53637614:20
tobiashcorvus: this change also broke signal handling in our dockerized deployments in ways I don't understand yet ^^14:21
tobiashthus it should be reverted for now14:21
*** dkranz has quit IRC14:22
Shrewstobiash: oh. hrm, didn't that also break running with the nodaemon arg?14:22
Shrewsthinking ctrl-C might no longer work with that change and nodaemon14:23
tobiashShrews: the intent of that was to make nodaemon work generic14:24
tobiashhowever the signal handling seems to be broken up with that and I have no clue yet why14:24
tobiashI run it with nodaemon inside docker14:25
tobiashthe revert fixes this for me again14:25
Shrewstobiash: but if you did, say, 'zuul-fingergw -d' from the command line, did ctrl-C still work?14:25
tobiashjust tried to do that with the scheduler and it worked14:26
tobiashthe same in docker didn't work14:26
Shrewsinteresting14:26
tobiashI spent two hours debugging this now and then decided to do a revert instead of a fix :/14:28
tobiashmaybe this has something to do when registering the handlers in the base class and calling methods in the child class14:29
Shrewstobiash: ctrl-c does not seem to work with zuul-fingergw, so there are more problems  :)14:33
Shrewsi think revert is the right thing14:34
tobiashShrews: yah, something is completely broken14:34
openstackgerritMatthieu Huin proposed openstack-infra/nodepool master: Add a separate module for node management commands  https://review.openstack.org/53630314:34
SpamapSI feel like there's some missing precedence information in the job config sections. Like, if I specify a 'files' matcher and an 'irrelevant-files' matcher, which one is evaluated first?14:37
openstackgerritMatthieu Huin proposed openstack-infra/nodepool master: webapp: add optional admin endpoint  https://review.openstack.org/53631914:43
corvusSpamapS: the order doesn't matter -- if they're both supplied, they both need to match14:49
openstackgerritClint 'SpamapS' Byrum proposed openstack-infra/zuul master: Use re2 for change_matcher  https://review.openstack.org/53638914:53
SpamapScorvus: ACK. Branches are a bit different, which is what made me think that.14:54
SpamapScorvus: also.. LCA'ing?14:54
SpamapSso early :p14:54
SpamapScorvus: anyway, ^^ is a first attempt at use of re2 with negative branch matching. I'm not sure I got it right.14:55
SpamapScorvus: I also think we may want to add a specific section on regex flavors and links to the re2 docs if that's what we're going to use.14:55
SpamapSPositive feedback from the fb-re2 maintainers though.14:55
SpamapSworking through a few review comments, I think we might actually get a py3 re2 soon.14:56
corvusneat!14:56
SpamapSonce we got the right email address14:57
SpamapShoping to convince them to open up the issue tracker too.. no idea why it is turned off14:57
openstackgerritClint 'SpamapS' Byrum proposed openstack-infra/zuul master: Slack driver  https://review.openstack.org/53639115:00
SpamapScorvus: ^ re-instated the -2 so we don't whoops15:03
corvusSpamapS: thx15:03
*** sshnaidm is now known as sshnaidm|bbl15:30
*** dkranz has joined #zuul15:38
gundalowRegarding the Zuul integration for Ansible, need to be careful that openstack-zuul (bot) doesn't end up adding the same comments as Ansibullbot15:39
gundalowFor example, Ansibullbot knows to ignore WIP PRs15:39
*** sshnaidm|bbl has quit IRC15:39
*** sshnaidm|bbl has joined #zuul15:40
*** zaro has quit IRC15:40
*** mrhillsman has quit IRC15:40
*** zhuli has quit IRC15:40
*** zhuli has joined #zuul15:41
*** zaro has joined #zuul15:41
*** mrhillsman has joined #zuul15:41
*** sshnaidm|bbl has quit IRC15:42
*** abadger1999 has joined #zuul15:43
pabelangerhow does github flag a PR WIP? Is there an event or just regex match for commit message?16:00
gundalowpabelanger: Ansibullbot will add the WIP label based on some regex16:06
gundalowcurrent Ansibullbot will notify people for reviews, if rebases are needed, etc, etc16:06
gundalowmattclay: FYI, discussing Zuul & notifications16:06
*** gregdek has joined #zuul16:07
rbergeronlook, a wild gregdek appears16:07
pabelangerokay, that doesn't exist in zuul today. So something that would need to be discussed. Once zuul sees a new patchset in gerrit or github, it will get added to pipelines for tests to run.16:08
gundalowpabelanger: All look good an exiting. Just all the devil-in-the-detail fun and games now :)16:08
gundalowSooooooooooooooo looking forward to Zuul for Ansible Network stuff, that's going to make our lives so much easier :)16:08
pabelangerYay16:09
*** dkranz has quit IRC16:13
*** myoung is now known as myoung|biab16:15
*** sshnaidm|bbl has joined #zuul16:23
*** sshnaidm|bbl is now known as sshnaidm16:23
* mordred waves to gregdek16:30
* gregdek waves back to mordred16:30
openstackgerritClint 'SpamapS' Byrum proposed openstack-infra/zuul master: Use re2 for change_matcher  https://review.openstack.org/53638916:31
mordredgundalow: sweet - and yah - I thik the very next step past "get the job running" is to dig in to figuring out the interaction between ansibullbot, tags and zuul - which I think will be fun and exciting16:31
corvusmordred, SpamapS, tobiash: can you look at https://review.openstack.org/535501 and children?  i'd like to get those in asap so we don't run into any problems when openstack starts branching16:31
mordredcorvus: will look in just a sec16:34
mnasercan nodepool spin up instances on demand rather than maintaining $min-ready instances?16:35
mordredcorvus: in the mean time- re: your mailing list message, for now does that mean if I jst make a job: name: devstack branch: devel override-branch: master in the shade repo - since that would create a devstack variant that the shade job would match on ansible PRs?16:35
corvusmnaser: absolutely.  you can just set min-ready to 016:35
mordred(while we poke more systemically)16:35
mnaserok, i see16:35
corvusmnaser: it always expands in response to demand, min-ready just makes things faster16:36
*** bhavik1 has joined #zuul16:37
corvusmordred: nope, you can't make a devstack job outside of the devstack repo.  i don't think there's a quick fix for this (though, the proposed solution isn't very difficult; we could probably land it in a day or so)16:37
pabelangercorvus: Shrews: did you by chance see my question about min-ready and multiple launchers?16:38
pabelangerhttp://eavesdrop.openstack.org/irclogs/%23zuul/%23zuul.2018-01-20.log.html#t2018-01-20T20:26:0216:38
mordredcorvus: ok. cool16:39
* SpamapS tries to have two-jobs worth of min-ready defined. Works nicely for that first-thing-in-the-morning recheck storm.16:39
pabelangerI maybe wrong, but because each launcher sends min-ready requests, it is possible for 4 launchers (min-ready: 1) to bring 4 nodes online in ready state16:39
SpamapSOf course, I have a private cloud with no charge-back billing so... #luxury16:39
corvuspabelanger: ah, missed that.  i suspect it's a race.  they don't blindly request min-ready, but if they all think there's a min-ready deficit at the same time, they may all emit the request.16:41
pabelangercorvus: okay, yes. That sounds like what might be happening16:41
mordredmnaser, SpamapS: I wonder if it would be worthwhile to some users if we added a "pause ready servers" config flag that would tell nodepool to pause (or shelve or whatever) servers it has booted and that are ready but waiting to be used, and if it's set as soon as it decides to return a server to zuul it runs an unpause/unshelve on the server in question. I don't think it's a thing we'd use in openstack, but16:41
mordredperhaps for folks who are in billing/charge-back scenarios it might make an impact?16:41
SpamapSYeah I could see that being useful on AWS.16:42
corvusis that any faster than booting?16:42
Shrewspabelanger: right, min-ready is just that... a minimum. we could totally get more16:42
SpamapSMore reliable.16:42
mordredsimilarly, we've got a very-long-lived 'feature request' (originally requested by the HP Public Cloud ops team) for nodepool to use rebuild instead of delete/create when possible16:42
SpamapSAnd if you're using volume-backed instance types, def faster than booting.16:42
*** bhavik1 has quit IRC16:42
SpamapSrebuild is super problematic.16:43
SpamapSWe have about a 5% fail rate on rebuild here.16:43
SpamapSThough that may just be ELIBERTY16:43
mordredwe've been deferring rebuild for a while because from our end our concept of needing to do a rebuild hasn't been great16:43
mordredSpamapS: good to know16:43
SpamapSIMO rebuild is too taxing on hypervisors.16:43
mordredI think in any case it's probably also a config setting16:43
SpamapSLet the scheduler find a place for that new node.16:43
pabelangerShrews: yah, that is a little different from v2 nodepool. In the cases of images we don't use often, eg: debian-jessie, we can min-ready+ nodes, that idle for days. When we could be using that quota on more active labels16:43
mordredfor hp public - the reason they wanted use to use rebuild had to do with delete/create being more taxing on the network provisioning16:44
SpamapSDef meh here. :)16:44
Shrewspabelanger: max-ready-age can help alleviate some of that16:44
mordredand doing a rebuild on an existing vm would have resulted in re-use of the provisioned network details16:44
SpamapSsince we just have provider networks.16:44
mordredso I imagine the cost/benefit is different per cloud16:44
mordredSpamapS: ++ provider networks :)16:44
Shrewspabelanger: that's per-label, too16:45
SpamapSyeah.. though our L3 solution is.......16:45
* SpamapS is actually getting ready to deploy a new cloud with routed networks which will make that not so .... and more :-D16:45
*** jpena is now known as jpena|brb16:46
pabelangerSpamapS: okay, I do think we might want to revisit the min-ready logic to see if possible to remove > min-ready nodes. But I can also propose a patch to try max-ready-age in openstack-infra16:46
mordredSpamapS, mnaser: in any case, I think there are a few additional knobs it might be useful to add to further allow folks to match their usage pattern to the quatlities of their cloud16:46
corvuspabelanger: well, let's not remove > min-ready, let's address the race so we don't create > min-ready in the first place16:46
corvuspabelanger: that way we don't run the risk of creating then deleting unused servers16:47
SpamapS++ addressing race16:47
SpamapSThat would likely also help with the "one cloud is smaller than the other"16:47
mordred(mostly trying to think about folks who don't just have free accounts on public clouds like we do and might have different tradeoffs they care about WRT resource use)16:47
mordred++ addressing race16:47
Shrewscorvus: pabelanger: the min-ready logic is rather... complex, using the normal noderequest mechanism. not sure how to properly address that16:47
SpamapSReally starting to wonder if a scheduling process is the answer there.16:47
SpamapSInstead of "first provider that gets the req" , we have schedulers that pick a provider based on its current state.16:49
corvusSpamapS: that's an option, but we'd need cooperative HA schedulers.  i figure we may as well put them in the providers themselves.16:49
SpamapSbecause it's kind of a bummer to only use my super-empty cloud when I could get a few more nodes out of the "kinda busy but still ok to use" cloud.16:49
corvusSpamapS: at any rate, that's something we put in the spec as a future enhancement after we got some experience with the current simple algorithm.  i think cooperative scheduling is something we can visit post 3.016:50
Shrewsdid i hear SpamapS just volunteer for that spec???  ;)16:51
mordredShrews: that's what I heard16:52
SpamapSSo wish I could focus on Zuul'ing. ;)16:52
mnaser^ these are some good ideas16:54
mnaserbut yeah, keeping in mind some people have chargeback/public cloud usage is important16:54
SpamapSYeah for metered clouds, min-ready should be 0 or near-0.16:56
tobiashWe're setting min-ready depending on office hours16:57
corvustobiash: you should set max-servers based on office hours too :)16:58
tobiashIn combination with max ready age that scales down 0 pretty good at night :)16:59
tobiashWe're trying to have the full quota available at any time16:59
tobiashIf someone likes to work at night, that's fine. He just has a bit more latency.17:00
tobiashBut my biggest deployment (still v2) has max 1300 vcpus17:02
tobiashThat's not even near the openstack deployment ;)17:03
*** jpena|brb is now known as jpena17:11
*** rlandy is now known as rlandy|brb17:20
*** rlandy|brb is now known as rlandy17:33
*** hashar has joined #zuul17:35
*** elyezer has joined #zuul17:42
*** hashar is now known as hasharAway17:42
openstackgerritMatthieu Huin proposed openstack-infra/nodepool master: webapp: add optional admin endpoint  https://review.openstack.org/53631918:03
*** jpena is now known as jpena|off18:18
*** Cibo has joined #zuul18:28
mordredcorvus: how hard would it be to add a log entry in the scheduler log that indicates which executor ran a given change/job? my process for that right now is to grep the scheduler log for change,revision.*job-name - then to find the build id then use ansible to grep the executor logs on all the executors to see which one had it18:34
mordredcorvus: or, is there a better way to do that?18:35
corvusmordred: after the job completes (one way or another), it should be easy.  doing it before or at start may be slightly more complex but possible18:37
corvus1 sec18:37
mordredcorvus: I think after complete is fine18:37
mordredcorvus: https://etherpad.openstack.org/p/zuulv3-retry-limit-merger-failures here's a collection of retry-limit failures I've gotten in the last day or two18:38
corvusmordred: i think manager/__init__.py onBuildCompleted would be the place18:39
mordredcorvus: cool. I'll look in to that18:42
mordredcorvus: I'm currently curious to see if all of the failures happend on the same executor18:42
openstackgerritDavid Shrewsbury proposed openstack-infra/nodepool master: WIP: Convert from legacy to native devstack job  https://review.openstack.org/53589918:46
openstackgerritDavid Shrewsbury proposed openstack-infra/nodepool master: WIP: Convert from legacy to native devstack job  https://review.openstack.org/53589918:49
openstackgerritDavid Shrewsbury proposed openstack-infra/nodepool master: WIP: Convert from legacy to native devstack job  https://review.openstack.org/53589918:55
*** myoung|biab is now known as myoung18:57
*** jkilpatr has quit IRC19:02
*** rlandy is now known as rlandy|biab19:03
*** hasharAway has quit IRC19:04
*** electrofelix has quit IRC19:10
Shrewsclarkb: i just noticed a spurious failure for test_failed_provider in http://logs.openstack.org/60/535560/1/check/tox-cover/53f1ec0/testr_results.html.gz19:14
Shrewsclarkb: might be something we should look into19:15
*** hashar has joined #zuul19:15
*** jkilpatr has joined #zuul19:16
*** hashar has quit IRC19:25
openstackgerritDavid Shrewsbury proposed openstack-infra/nodepool master: Fix race in test_provider_removal  https://review.openstack.org/53654019:26
ShrewstristanC: i found an issue with the test_provider_removal test that you saw fail in https://review.openstack.org/535531. 536540 ^^^ fixes that19:26
*** hashar has joined #zuul19:28
*** hashar has quit IRC19:32
*** rlandy|biab is now known as rlandy19:37
openstackgerritMatthieu Huin proposed openstack-infra/nodepool master: Clean held nodes automatically after configurable timeout  https://review.openstack.org/53629519:40
mordredcorvus: ok. I believe I have disproven the theory that the issues are due to a locally corrupt repo on one of the executors19:45
mordredcorvus: I grabbed uuids for some of the builds and then looked for executor hits on the executors and it seems to be fairly well spread across them19:46
*** sshnaidm is now known as sshnaidm|off19:48
mordredcorvus: oh! wait- I may have done that very wrong19:50
mordredcorvus: ze09 and ze10 are the only ones with the ValueError in question in the logs19:51
mordredcorvus: http://paste.openstack.org/show/650392/20:02
*** harlowja has joined #zuul20:04
mordredcorvus: that's the ValueError instances from the past 2 days of logs - it seems to MOSTLY be issues with 303dad9aa842b3d745d0f8b1afae86bc32acf6c20:05
mordredcorvus: which is a ref on a branch that no longer exists in gerrit20:06
mordredcorvus: and does not exist on master20:06
mordredit's this change: https://review.openstack.org/#/c/519949/20:06
corvusmordred: interesting... do you have a full tb handy?20:07
mordredcorvus: SO - I think we're back to your original theory - that there is something weird in some repo states20:08
mordredcorvus: yup - one sec20:08
corvusmordred: i got a tb20:08
mordredcorvus: cool. http://paste.openstack.org/show/650406/ for anyone else interested20:09
corvusmordred: the line above indicates that it's trying to recreate the ref refs/tags/0.7.220:11
mordredcorvus: I've verified, the 303dad9aa842b3d745d0f8b1afae86bc32acf6c sha does eixst on all of the git servers20:12
mordredcorvus: that's weird - cause that sha is not in the 0.7.2 tag20:12
mordredit should not be in *any* tag or *any* currently existing branch - I would expect a git gc to make it go away20:15
corvusmordred: i have to grab food; i'll rejoin when i get back20:18
*** sshnaidm|off has joined #zuul20:19
*** jkilpatr has quit IRC20:25
*** jkilpatr has joined #zuul20:53
pabelangerI'm guessing we'll also want to delete https://docs.openstack.org/infra/zuul/feature/zuulv3/20:57
*** elyezer has quit IRC20:57
pabelangerand nodepool too20:57
*** elyezer has joined #zuul20:59
*** elyezer has quit IRC21:10
*** elyezer has joined #zuul21:12
openstackgerritDavid Shrewsbury proposed openstack-infra/nodepool master: WIP: Convert from legacy to native devstack job  https://review.openstack.org/53589921:20
SpamapSpabelanger: can that link redirect to master?21:20
SpamapSthat would be ideal.21:21
SpamapSshows up in a *lot* of google searches.21:21
pabelangerI think so, I need to check21:21
pabelangerI want to say we support per directory htaccess files21:22
Shrewscorvus: the directories referenced in https://docs.openstack.org/infra/zuul/user/jobs.html#working-directory ... where are those rooted?21:22
Shrewsor if anyone else knows21:25
openstackgerritMerged openstack-infra/nodepool master: license: remove dos line break  https://review.openstack.org/53553121:28
mordredShrews: all the ansible tasks start with $PWD in $HOME21:33
Shrewspabelanger: those links are generated automatically by walking docs.o.o and rebuilding sitemap.xml. that's about all I learned about it when I looked last week. not sure what we want to do with that21:33
mordredShrews: so generally speaking, paths are relative to /home/zuul (or {{ ansible_user_dir }}21:33
Shrewsmordred: ok. was wondering if i place new files under work/logs if they'll automatically be archived for us, or if I need to do that manually21:35
* Shrews gives the try-it-and-see method a go21:36
mordredShrews: gimme one sec, sorry - on the phone - logs are all sorts of fun21:37
mordredShrews: there is a mechanism in the devstack base job for collecting logs21:38
Shrewsmordred: yeah, saw the fetch-devstack-log-dir role. i suppose i could usurp that by writing to their log dir21:40
Shrewsthat just seemed like not the proper thing to do though21:40
corvusShrews: andreaf is working on a more generic log mechanism, may be worth asking him21:58
corvusmordred: i'm back and digging into that ref issue now21:59
corvusmordred: i think i was wrong about which object was involved, it's not 0.7.222:00
corvusmordred: we have the log line at exactly the wrong place.  it's before it actually sets the ref, but it's *after* it looks up the object corresponding to the hexsha.22:00
corvusmordred: which means it fits very well your theory that it's related to the deleted branch -- if the executor was told to create a ref for that branch, and it doesn't exist upstream, then this is the behavior i'd expect22:01
corvusmordred: so it seems like the first thing to fix (after moving the log line :) is to make sure mergers prune branches22:02
corvusmordred: i'll work on fixes to this.  i want to try to add a test for it, and i don't think we have any tests that delete branches22:04
Shrewszuul meeting now???22:04
*** elyezer has quit IRC22:09
*** elyezer has joined #zuul22:10
*** myoung is now known as myoung|bbl22:12
*** myoung|bbl is now known as myoung22:12
*** openstackgerrit has quit IRC22:18
mordredShrews: actually, I think for now just putting the files in {{ devstack_base_dir }}/logs is fine ...22:21
mordredShrews: BUT ...22:21
mordredwith this: https://review.openstack.org/536611 Move zuul_copy_output to be a job variable22:21
mordredShrews: you should just be able to add a zuul_copy_output var to your job definition containing just the paths to the log files you want to copy22:22
mordredShrews: so like zuul_copy_output:\n  '/var/log/nodepool/builder.log': 'logs'22:23
corvusoh yes that's what i was thinking of, sorry22:27
*** openstackgerrit has joined #zuul22:38
openstackgerritDavid Moreau Simard proposed openstack-infra/zuul-jobs master: Revert "Revert "Add zuul.{pipeline,nodepool.provider,executor.hostname} to job header""  https://review.openstack.org/51448922:38
*** Cibo has quit IRC22:40
*** Cibo has joined #zuul22:41
openstackgerritDavid Moreau Simard proposed openstack-infra/zuul-jobs master: Add Ansible version to job header  https://review.openstack.org/53230422:42
openstackgerritDavid Moreau Simard proposed openstack-infra/zuul-jobs master: Revert "Revert "Add zuul.{pipeline,nodepool.provider,executor.hostname} to job header""  https://review.openstack.org/51448922:43
openstackgerritDavid Moreau Simard proposed openstack-infra/zuul-jobs master: Add Ansible version to job header  https://review.openstack.org/53230422:43
openstackgerritMonty Taylor proposed openstack-infra/zuul master: Fix a copy-pasta in a comment  https://review.openstack.org/53662023:05
mordredSpamapS: ^^ that fixes a review you left on https://review.openstack.org/#/c/53550223:06
mordredcorvus: the secrets/semaphores/nodesets stack ending in https://review.openstack.org/#/c/535503/ has enough +2s, but I did not +A in case you wanted to solicit more feedback23:08
corvusmordred: we also had a +2 from fungi on the feature/zuulv3 version of the secrets patch, so we're probably gtg23:09
corvusmordred: w00t, i believe i have reproduced the issue in a test case.23:12
mordredcorvus: woot!23:14
*** mrhillsman has quit IRC23:26
*** kmalloc has quit IRC23:26
*** mrhillsman has joined #zuul23:26
*** mattclay has quit IRC23:26
*** kmalloc has joined #zuul23:27
*** mattclay has joined #zuul23:27
*** lennyb has quit IRC23:27
openstackgerritDavid Moreau Simard proposed openstack-infra/zuul master: Add support for dumping queues from a status.json file  https://review.openstack.org/53662223:28
*** lennyb has joined #zuul23:28
*** Shrews has quit IRC23:28
dmsimardhttps://review.openstack.org/#/q/topic:zuul-changes adds a feature to dump queues from a status.json file (from our periodic backups)23:29
*** Shrews has joined #zuul23:35
SpamapSmordred: sweet23:48
openstackgerritMonty Taylor proposed openstack-infra/zuul master: Add change information to Build Completed log message  https://review.openstack.org/53662923:49
mordredSpamapS, corvus: ^^ ok - I *think* that wins the prize for longest commit message compared to size and impact of commit ... although corvus has some really good candidates for that prize too23:50
SpamapS:)23:51
*** openstack has quit IRC23:55
*** openstack has joined #zuul23:59
*** ChanServ sets mode: +o openstack23:59

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