Monday, 2017-07-17

*** jkilpatr has joined #zuul00:31
*** dkranz has quit IRC01:49
*** isaacb has joined #zuul05:26
*** dpawar has joined #zuul05:57
openstackgerritTristan Cacqueray proposed openstack-infra/zuul feature/zuulv3: Add tenant column to the buildset reporter table  https://review.openstack.org/48425606:15
*** dpawar has left #zuul06:25
openstackgerritTristan Cacqueray proposed openstack-infra/zuul feature/zuulv3: Add tenant column to the buildset reporter table  https://review.openstack.org/48425606:28
*** amoralej|off is now known as amoralej07:03
*** dpawar has joined #zuul08:01
openstackgerritTristan Cacqueray proposed openstack-infra/zuul feature/zuulv3: Fix zuul command default function  https://review.openstack.org/48427908:06
*** isaacb has quit IRC08:15
*** dpawar has quit IRC08:26
*** hashar has joined #zuul08:26
*** dpawar has joined #zuul08:36
*** isaacb has joined #zuul09:10
*** dpawar has quit IRC09:42
*** dpawar has joined #zuul09:58
*** isaacb_ has joined #zuul10:01
*** isaacb_ has quit IRC10:01
*** dpawar has quit IRC10:01
*** isaacb has quit IRC10:04
*** isaacb has joined #zuul10:05
*** jkilpatr has quit IRC10:36
openstackgerritTristan Cacqueray proposed openstack-infra/zuul feature/zuulv3: WIP: Add jobs dashboard  https://review.openstack.org/46656110:42
*** hashar has quit IRC10:59
*** hashar has joined #zuul11:01
*** jkilpatr has joined #zuul11:11
*** dkranz has joined #zuul12:19
openstackgerritMonty Taylor proposed openstack-infra/zuul feature/zuulv3: Write secrets into their own file, not into inventory  https://review.openstack.org/47939012:42
openstackgerritMonty Taylor proposed openstack-infra/zuul feature/zuulv3: Fail early if people attempt to add zuul vars or secrets  https://review.openstack.org/48400012:42
*** jkilpatr has quit IRC12:43
*** jkilpatr has joined #zuul12:43
Shrewsmorning zuul-folk12:50
*** amoralej is now known as amoralej|lunch12:52
*** dpawar has joined #zuul13:02
openstackgerritPaul Belanger proposed openstack-infra/zuul-jobs master: Remove export commands from tox based roles  https://review.openstack.org/48393613:10
openstackgerritPaul Belanger proposed openstack-infra/zuul-jobs master: Create tox_environment to allow users access to shell variables  https://review.openstack.org/48393513:10
pabelangermorning!13:13
pabelangermordred: the stack at https://review.openstack.org/#/c/484046/ could use a review. Fixes ansible-lint on our roles for openstack-zuul-jobs because of path issues, also adds --syntax-check for quickly testing failures locally13:16
pabelangerremote:   https://review.openstack.org/483987 Create openstack-py35 job with upper-constraints13:20
pabelangermordred: ^ is also ready for review for openstack-py35 job on shade13:20
*** dpawar has left #zuul13:29
*** dpawar has joined #zuul13:33
*** amoralej|lunch is now known as amoralej13:39
rbergeronmornings are terribull14:36
*** isaacb has quit IRC14:45
dmsimardI know I discussed this some while ago but my memory is failing me. Was there going to be anything in Zuul v3 to improve how child jobs might be able to re-use artifacts or data from a parent job ?14:53
dmsimardRight now we sort of hack around this where parent jobs upload the logs at a known location. To do this, we had to override the default LOG_PATH: https://github.com/rdo-infra/review.rdoproject.org-config/blob/master/zuul/zuul_functions.py#L17-L3314:54
dmsimardThis way, we can retrieve artifacts from the parent job because the child job can reconstruct the URL to the logs14:55
pabelangerdmsimard: yes, DAG jobs should help with this. Which has landed in zuulv3.  We still need to work on the artifact handling15:00
dmsimardpabelanger: What's DAG stand for ?15:01
pabelangerso top level job will build artifact once, then children could all fetch the same artifact15:01
pabelangerDirected Acyclic Graphs15:02
dmsimardOkay, good to know. Thanks.15:03
pabelangerthe, parent would build / store artifacts some place (clarkb had an interesting idea the parent job would create a cinder volume), then all children could get artifacts from it15:03
pabelangerhowever, that is an issue for us with multi clouds15:04
pabelangerand would pin jobs to a single region15:04
dmsimardRight -- so the way we do it sort of makes sense and is not that much of a hack, then, I guess15:04
dmsimardWe rely on uploading logs to a known and expected location and then using that expected location in child jobs15:04
pabelangerparent could then setup some ansible variables to pass to children15:04
pabelangerdmsimard: right, passing of data between jobs _should_ be eaiser in zuulv315:05
jeblairyeah, we're making progress there.  one thing that would really help is the ide of a cleanup job -- one which runs at the end even if its parents fail.  that can delete the cinder volume / swift container / whatever.15:05
dmsimardThe problem we had to work around was that the default LOG_PATH uses ZUUL_UUID in the log URL which is unknown to the child job. That's why we changed it to ZUUL_REF which is unique to the entire job set.15:05
jeblairthat shouldn't be hard to add once we finish the higher priority stuff15:05
jeblairdmsimard: yeah, we'll call it something different, but we'll still have the buildset uuid (the unique part of zuul ref) available for jobs)15:06
dmsimardalright15:06
*** isaacb has joined #zuul15:56
*** isaacb has quit IRC16:02
jeblairjlk: 483597 +3.  enjoy vacation!16:02
*** hashar is now known as hasharAway16:04
openstackgerritDavid Shrewsbury proposed openstack-infra/nodepool feature/zuulv3: Simplify _deleteLocalBuild parameters  https://review.openstack.org/48441316:10
openstackgerritDavid Shrewsbury proposed openstack-infra/nodepool feature/zuulv3: Support UUID as builder identifier  https://review.openstack.org/48441416:10
Shrewsjeblair: SpamapS: 484414 was based on an idea you two had several weeks back. Hope that review generates some discussion.16:10
SpamapSShrews: sounds like trouble. ;)16:10
Shrewsi hope not  :)16:11
tobiashShrews: sounds cool, does it make sense to also be able to directly specify the uuid in the config file?16:14
*** dpawar has quit IRC16:14
tobiashShrews: (thinking of config being an ansible template this might be a use case)16:15
jeblairtobiash, Shrews: the ansible could write out the file contents...?16:15
Shrewstobiash: i hadn't considered that, but might be another good feature to add if others like it16:16
tobiashjeblair: I'm currently deploying zuul/nodepool config via an ansible template16:16
tobiash(which can also include host specific variables)16:16
tobiashShrews, jeblair: but as we'll (hopefully soon) transitioning to use openshift for deployment I don't know currently how I would add the uuid in this setup then16:18
tobiashmaybe just writing the pod id to some file16:18
Shrewspabelanger: also, you might be interested ^^^ since we discussed this in our current infra situation last week16:18
pabelangerShrews: thanks, will look shortly16:19
Shrewstobiash: we could likely support that as yet another config option that is mutually exclusive to the new one16:19
Shrewstobiash: so either 'builder-id' or 'builder-id-file', but not both16:19
jeblairi think either is fine -- i think the file location is nice because it lets nodepool write the value.  there shouldn't be a need to move the value from one host to another, in fact, that's kind of the point.  :)16:19
tobiashShrews, jeblair: that takes me to a similar question, can builders be scaled down without leaking images?16:20
openstackgerritMerged openstack-infra/zuul feature/zuulv3: Support dynamic dependent pipeline additions  https://review.openstack.org/48359716:20
Shrewstobiash: probably not. that is probably a topic that should be covered in nodepool operation docs16:21
Shrews(which still need writing)16:21
jeblairtobiash: maybe by pausing the image on the builder to be removed, waiting for it to age out, then removing the config for it.16:21
jeblairShrews: ^?16:21
tobiashok, will have to test this once I have an openshift setup16:22
Shrewsjeblair: yeah, combined with manual deletion instead of waiting, i think16:22
Shrewseither or16:22
Shrewsin either case, it involves more than just "stopping the builder"16:22
Shrews:)16:22
openstackgerritMerged openstack-infra/zuul-jobs master: Update to tox_envlist variable  https://review.openstack.org/48393416:24
tobiashShrews: so is it possible to delete an image of a dead/crashed/... builder (which is not going to be survived)?16:25
Shrewstobiash: well, yeah, but will take manual steps since the builder obviously cannot clean up after itself in that case16:26
jeblairyeah, we may want to add a helper command for that16:26
pabelangerShrews: left question about cache file16:27
Shrews*nod*16:28
Shrewspabelanger: responded!16:31
jeblairmordred, pabelanger: i'm blocked on https://review.openstack.org/484073  for the base job move16:43
jeblairmordred, pabelanger: also, moderately less so on https://review.openstack.org/48407516:43
pabelangerShrews: jeblair also, added another comment on 48441416:44
pabelangerlooking16:44
pabelangerjeblair: -1 will comment16:46
pabelanger48407516:46
jeblairpabelanger: then why didn't you update this job?16:49
pabelangerjeblair: oversight. I thought I checked openstack-zuul-jobs16:52
jeblairpabelanger: i uploaded a new version16:52
pabelangermany places to now look for job changes16:52
pabelangerjeblair: if you are also interested: 483987 for openstack-py35 job16:53
mordredjeblair: +A16:53
mordredjeblair, pabelanger: we should also get this: https://review.openstack.org/#/c/479390/ landed and a restart so that we can start using secrets16:53
pabelanger484027 is working shade16:53
mordredpabelanger: yes! that stack is next on my list - exciting!16:53
pabelangerso, don't want to block 479390 but maybe some testing in a follow patch?16:58
pabelangerwould be helpful to ensure we don't leak things into inventory and secrets.yaml is what we expect16:58
jeblairpabelanger: oh i think i see -- we do test secrets, but you're suggesting an additional test that ensures that they don't show up anywhere except the secrets file, and that it is outside the work directory.16:59
pabelangerjeblair: ya17:01
pabelangermordred: So, I am starting to think our zuul-jobs: eg http://git.openstack.org/cgit/openstack-infra/zuul-jobs/tree/playbooks/tox/pre.yaml should not be installing dependencies. The use case would be folks over in redhat that might want to install tox from an RPM.  I know we could add logic into the job to decide to install from pip or rpm, but I feel that might be too much business logic in the zuul-jobs17:05
pabelangerplaybook.  If we made the assumption tox would already be installed, then we can let the user decide how to install it.17:05
pabelangertox/pre.yaml also assumes that pip is installed17:05
pabelangerI don't think we want it to go though the sets needed to set that up too17:06
SpamapSShrews: I left some more feedback for you.17:06
Shrewsdanke17:06
mordredpabelanger: I definitely don't think we should add a ton of logic to do package vs. pip in those base jobs ...17:07
mordredpabelanger: however, I think we could do something similar to the bindep role where we check to see if it's installed on the node and if not install it into a venv in a tempdir perhaps?17:08
mordredpabelanger: OR ... if we keep it like it is there, then folks who want tox from package can include that install in their base job or in their image17:10
mordredpabelanger: this is a good question I like thinking about it :)17:10
jeblairShrews: i have a suggestion buried in the conversation on line 24; don't want you to miss it.17:10
Shrewsjeblair: line 24 of ... ?17:12
mordredpabelanger: so - motivation for installing from my side is that I want people to be able to install zuul, configure it to point to the zuul-jobs repo for a set of base jobs, configure nodepool to return stock distro images from their cloud and have tox-py27 work17:12
jeblairShrews: configuration.rst in 48441417:12
mordredpabelanger: obviously balancing that with the ability for deployers to make more specific decisions and for openstack optimizations to work and to be the priority are essential17:12
pabelangermordred: Right, I think the job should work out of box, like you said.  Let me think about how we could do that17:13
mordredpabelanger: but I personally dont' want zuul users to get caught in the crossfire of ubuntu v. redhat v. pip if  the thing they want is just to run tox17:13
mordredpabelanger: ++17:13
Shrewsjeblair: oh right. yeah, we both had the same feeling about /etc (i commented there as well, if you missed it)17:13
jeblairShrews: yep.  i didn't want you to miss the idea of just using image-build-dir to contain the uuid file17:14
pabelangermordred: but one thing I have been defaulting to for roles I build, is if roll uses git for example, I expect git to be installed before you use the role.  Same would apply to tox in this case. Let me see how we could do that and keep them working out of box17:14
pabelangermordred: in fact, let me start with bindep first. Since I already have a role to setup bindep outside of zuul-jobs17:16
Shrewsjeblair: yup, thx17:16
*** harlowja has joined #zuul17:17
jeblairmordred: what's the lowdown on dropping the returned json from build log?17:32
*** dpawar has joined #zuul17:32
mordredjeblair: I need to finish up a patch that I'm almost done with17:32
jeblairkk17:33
*** dpawar_ has joined #zuul17:46
*** dpawar has quit IRC17:47
jeblairpabelanger, mordred: oops, my local test was too simple.  can you look at https://review.openstack.org/484441 please?18:08
pabelanger+218:09
*** dpawar_ has left #zuul18:09
mordred+A18:10
*** amoralej is now known as amoralej|off19:13
jeblairpabelanger, mordred: w00t!  https://review.openstack.org/483593  has the base-test job working.  after lunch, i'll move it over to be the new base.19:20
pabelangerjeblair: yay19:21
*** jkilpatr_ has joined #zuul19:25
*** jkilpatr has quit IRC19:27
mordredjeblair: woot!19:30
*** harlowja has quit IRC19:32
dmsimardmordred: oi o/19:37
dmsimardmordred: probably worth looking into adding https://github.com/ansible/ansible/blob/devel/lib/ansible/plugins/callback/__init__.py#L76 to the Zuul callback somewhere19:38
dmsimardi.e, https://github.com/openstack/ara/commit/491dd7a142136bdc63c0e7e65ef1d21c3a2f3f86 && https://access.redhat.com/security/cve/CVE-2017-747319:39
pabelangerpretty sure we are using _dump_results19:41
dmsimardpabelanger: not afaict https://github.com/openstack-infra/zuul/blob/d8a7dcc2e9e515862f1c29db1390504acb2a400e/zuul/ansible/callback/zuul_stream.py19:42
dmsimardyou have a dump_result_dict method which also drops the internal ansible keys but doesn't drop the content if no_log is set19:42
pabelangerdmsimard: propose a patch :)19:44
mordreddmsimard: there should be a patch related to that ...19:44
dmsimardmordred: I remember seeing one in the mqtt callback plugin19:44
mordredyah - it's now directly in the log_message method for us - although I'm finishing up yet-another set of patches there19:45
mordreddmsimard: thanks for the heads up! turns out that's really important :)19:47
dmsimardI can send the patch if you'd like -- just not sure in which shape you'd like19:48
mordreddmsimard: we don't need it at the moment- we take care of it in _log_message19:48
dmsimardmordred: oh, let me double check19:48
dmsimardmordred: you're right :D19:49
mordreddmsimard: I have a todo-list item to refactor that file - it has gotten a bit messy :)19:49
dmsimardmordred: no worries, I was following up on the CVE with infosec and was looking for places it could still be hiding in.19:50
pabelangerdmsimard: we should fix mqtt in openstack-infra, do you mind submitting a patch there?20:02
pabelangerfungi: ^20:03
dmsimardpabelanger: there's already a patch unless it hasn't merged yet20:03
* dmsimard looks20:03
dmsimardpabelanger: https://review.openstack.org/#/c/461214/20:03
pabelangerk, we should land that20:03
pabelanger+220:04
*** jkilpatr_ has quit IRC20:05
fungiglad to see i've been forward-thinking for once!20:08
fungithat patch is like 2.5 months old. i'd already forgotten i'd written it20:08
*** SotK is now known as SotK_20:16
pabelangermordred: jeblair: now that 473764 has landed (zuul.d) did we want to bikeshed about creating zuul-jobs/zuul.d/jobs/tox.yaml vs toplevel zuul.yaml20:18
pabelangerand unittests.yaml for zuul.d20:18
*** SotK_ has left #zuul20:19
*** SotK has joined #zuul20:19
openstackgerritDirk Mueller proposed openstack-infra/nodepool master: Add support for nodepool testing of openSUSE 42.3  https://review.openstack.org/48447620:19
pabelangerhttps://review.openstack.org/#/c/483935 and https://review.openstack.org/#/c/483936/ could use a review. Reworking for openstack-py35 jobs20:26
openstackgerritDirk Mueller proposed openstack-infra/nodepool master: Add support for nodepool testing of openSUSE 42.3  https://review.openstack.org/48447620:27
pabelangeralso starts to remove openstack specific settings from zuul-jobs20:27
openstackgerritDirk Mueller proposed openstack-infra/nodepool master: Add support for nodepool testing of openSUSE 42.3  https://review.openstack.org/48447620:34
jeblairpabelanger: let's wait until the repo is a bit bigger before we split the zuul file.  also, we need to add support for the split to zuul-sphinx.20:35
jeblairpabelanger: (also, i don't think file-per-job is necessarily a pattern we would want to adopt.  something more like "python-jobs.yaml" and "java-jobs.yaml" sounds more useful to me.  but again, later)20:36
*** jkilpatr has joined #zuul20:37
pabelangerack20:39
jeblairremote:   https://review.openstack.org/484484 Update base job to content in base-test20:40
jeblairpabelanger, mordred: ^20:40
openstackgerritJames E. Blair proposed openstack-infra/zuul-jobs master: Add sample base job  https://review.openstack.org/48448520:45
jeblairpabelanger, mordred: remote:   https://review.openstack.org/484487 Remove last remaining roles20:48
mordredjeblair: that fails zuul - do we want to do the dance? or just power it through?20:50
openstackgerritPaul Belanger proposed openstack-infra/zuul-jobs master: Ensure we load roles for linting  https://review.openstack.org/48448820:50
jeblairmordred: oh, i think it's only failing because it actually needs its dependency to land20:50
jeblairit should work once we actually update the base job20:51
jeblairmordred: actually... let me dig into that real quick and make sure it's running what it should be.20:52
jeblairmeantime, i pushed a new PS of 484484 with a minor doc correction20:52
openstackgerritPaul Belanger proposed openstack-infra/zuul-jobs master: Include ansible-playbook syntax-check for tox pep8  https://review.openstack.org/48449020:54
openstackgerritPaul Belanger proposed openstack-infra/zuul-jobs master: Rename pep8 to linters for tox  https://review.openstack.org/48449120:54
pabelangermordred: ^ more linting goodness20:54
jeblairmordred, pabelanger: if you could +2 but not +3 484484 while i double check things, that would be great.  i'll +3 it when ready.20:55
pabelangerjeblair: Yup, +2 from me already20:55
pabelangerjeblair: q: does zuul_return need to be the last task? Or could the be move say to first playbook?20:56
*** harlowja has joined #zuul20:56
pabelangernot that I am asking for us to move it :)20:56
jeblairpabelanger: it can be anywhere and can be called multiple times20:56
pabelangercool20:56
Shrewsb 1120:56
Shrewsdoh20:56
jeblairShrews: you sank my battleship!20:56
pabelangerShrews: bb820:56
Shrewswait... this isn't irc bingo?20:57
jeblairmordred always wins because he has the most boards/windows20:57
mordred:)20:59
jeblairmordred: oh!  zuul is failing that change because openstack-zuul-roles is no longer a roles repo!20:59
pabelangerjeblair: is it limited to trusted playbooks too?20:59
jeblairpabelanger: nope21:00
pabelangercool21:00
jeblairhowever, i think it still should have checked out the current master branch of openstack-zuul-roles which still does have roles...21:02
jeblairoh!  nope, that was for the unittest pre playbook, which is speculative21:03
jeblairmordred: so, erm, we should listen to what zuul is telling us here and remove that role repo from that job before we merge the openstack-zuul-roles cleanup.21:04
jeblairmordred: and i'm going to correct myself again:21:04
jeblairmordred: that's still coming from the base job.  so we do just need to merge the base job change.21:05
mordred\o/21:05
mordredjeblair: do you think it's worth adding this to the list of places where debugging the error from zuul could use more verbosity/help? or that it's enough of an edge-case to not be worth it?21:06
jeblairbasically -- the base job playbooks are correctly running with the branch tip.  the unittest playbooks are running with the speculative change which has no roles.  but they *all* run with "roles: openstack-zuul-jobs" because that's in the base job.21:06
jeblairmordred: i used 2 pieces of info to debug this:  1)  the actual error: Unable to find role in /tmp/c569ae74cbac4cebbd06e3472f73d65f/ansible/pre_playbook_1/role_0/openstack-zuul-roles.  and 2) the debug log telling me which playbooks/roles repo checkouts were prepared in which places.21:08
mordredyah - it's possible that just practice can make that more evident from the actual error21:08
jeblairmordred: certainly surfacing #1 would be helpful (and is on the list -- 2001105)21:08
mordredjeblair: we are also in the position currently of second-guessing zuul issues so that we can validate that it is behaving correctly21:09
jeblairmordred: yes, and that was certainly part of why i looked at #221:09
mordredjeblair: ++21:09
jeblairmordred: i think we'll be exposing some of #2 in due course in build log debugging output.  however, that won't help situations like this where we refuse to run a job entirely.21:11
mordredjeblair: yah21:11
jeblairmordred: i think we may just want to make the error we return to the user in #1 as helpful as possible (the exception already has the roles repo it's looking at) and hope that in cases where it crops up it's obvious what the problem is once it's pointed out.  cases like *this* should be more rare.21:12
*** dkranz has quit IRC21:17
jeblairpabelanger: hypothesis: when we merged the --die-with-parent change, we "fixed" the ssh control delay by causing the control socket program to die with bubblewrap.21:22
jeblairpabelanger: i filed the story about the ssh control process issue on june 16, and we merged --die-with-parent on june 26, so i think the timing works.21:23
pabelangerack21:25
jeblairpabelanger: i'd still like to fix it the way we discussed (and wrote in the story) so that we actually take advantage of the control socket across playbook invocations21:26
jeblairhttps://storyboard.openstack.org/#!/story/200107221:26
jeblairmordred: 484487 is green now21:42
jeblairmordred, pabelanger: we can merge that and 48448521:42
pabelangerlooking21:42
pabelanger+221:44
jeblairit's zuul meeting time in #openstack-meeting-alt22:00
*** hasharAway has quit IRC22:09
openstackgerritMerged openstack-infra/zuul-jobs master: Create tox_environment to allow users access to shell variables  https://review.openstack.org/48393522:24
openstackgerritMonty Taylor proposed openstack-infra/zuul feature/zuulv3: Add callback plugin to emit json  https://review.openstack.org/48451522:47
openstackgerritMonty Taylor proposed openstack-infra/zuul feature/zuulv3: Only output result details on error  https://review.openstack.org/48451622:47
mordredjeblair: ^^ first stab at json output plugin - and then removing results printing from successful tasks22:47
openstackgerritPaul Belanger proposed openstack-infra/zuul-jobs master: Remove subunit file size check for tox role  https://review.openstack.org/48451922:55
Shrewswith this extra minute, i now have so much more time for activities!23:00
pabelangermordred: jeblair: Hmm, did something happen to zuul_workspace_root variable?23:11
jeblairpabelanger: yes, i removed it at mordred's suggestion23:11
mordredyah. it's not needed23:11
pabelangerOh23:11
pabelangerya, we still have jobs using it23:11
pabelangerlet me checkup them23:11
pabelangercleanup*23:12
jeblairpabelanger: we're just using relative paths and CWD now23:12
pabelangerk23:12
pabelangeractually23:13
pabelangernevermind23:13
jeblairmordred: both change ^ lgtm23:15
mordredjeblair: I hope you enjoyed my complete cop-out on the hard problem :)23:17
jeblairmordred: which one? :)23:18
mordredjeblair: yes!23:19
openstackgerritJames E. Blair proposed openstack-infra/zuul feature/zuulv3: Add more information on variables in jobs  https://review.openstack.org/48453023:28
openstackgerritPaul Belanger proposed openstack-infra/zuul-jobs master: Remove subunit file size check for tox role  https://review.openstack.org/48451923:31
mordredpabelanger: so - I'm not convinced that's openstack specific code23:32
mordredpabelanger: I think any zuul installation could be reasonably concerned about the size of test output being too giant23:33
pabelangermordred: right, I can see that. I was thinking maybe it should be a check in unittests23:35
pabelangerI'm actually thinking maybe we should have a role to check filesize, fail if too large, then gzip23:35
pabelangerwhich gets called before we synchonize logs23:36
mordred++23:37
mordredpabelanger: we also need $something in the streamer itself23:37
pabelangerbut, the ansible code did work: http://logs.openstack.org/20/484520/1/check/openstack-py35/aaebb1a/job-output.txt23:37
mordredpabelanger: because the logs can completely get away from us when there's an error which causes all tests to fail and collect ALL of their logs into the subunit stream :)23:37
pabelangermind you, it wasn't 50MB23:37
mordredpabelanger: :)23:38
pabelangermordred: looks like some wonkyness on our logger23:38
pabelangeroh, maybe that is the missing pretty json stuff23:39
mordredpabelanger: where? gotta timestamp?23:40
pabelangermordred: 2017-07-17 23:35:34.99610023:41
pabelangerhttp://logs.openstack.org/20/484520/1/check/openstack-py35/468d6d1/job-output.txt is a better example23:41
pabelanger2017-07-17 23:24:48.30954923:42
pabelangerfailed task was successful23:42
pabelangerbut we still outputted error msg23:42
mordredpabelanger: nod. that's likely a bug in the streamer - I should be able to reproduce that easily23:45
mordredpabelanger: AH - I see why23:46
mordredpabelanger: it's because that msg is part of teh input argument to the task which we are emitting int he task banner23:46
pabelangerAh23:46
mordredpabelanger: so it's telling you that you ran "Fail if subunit is larger then 50MB." with the msg of "testrepository.subunit was > 50 MB of uncomp" ...23:46
mordredthat's definitely a thing I'm working on cleaning up righ tnow - so that's a good test case, thanks23:47
pabelangerhonestly, I am not much of a fan of output vars in the banner. I kinda like how default ansible does it today :)23:47
mordredpabelanger: yah - that's where I'm wanting to get back to - and why the new json output thing with an eye towards smart display of that23:48
pabelangerokay cool! I'll hold off on complaining then :D23:49
mordredno - please complain! it's easy to miss things :)23:49
pabelangerokay, I think I'm going to convert https://review.openstack.org/#/c/484518/ into a role to check filesize, compress things23:51
pabelangerit is passing23:51
pabelangerthen expose some parameters to the job to allow the user to configure them23:52
jeblairpabelanger, mordred: do we care whether subunit files are of a certain size?  i think we only care that job logs are of a certain size.  so maybe this should be a base job role?23:52
pabelangerjeblair: do we care in openstack land about it?23:53
pabelangerI mean, could we remove the file check today?23:53
pabelangerfrom jenkins scripts23:53
jeblairpabelanger: oh we certainly care.  i'm saying i don't think we care that *unittest* jobs don't get too big, what we actually care about is that any job doesn't get too big23:55
mordredjeblair, pabelanger: I definitely think it should be a base job role if we have it23:56
jeblairwith zuulv3, we're in a good position to say "okay, just copy the build log, not all this other stuff" if the other stuff is too big23:56
mordredbut I think there's "does this job produce too much content overall" and "does this job produce a console output that is too large"23:56
mordredyah23:57
jeblairi guess there's an argument to be made that it's still useful to restrict unit test jobs to 50mb even if we want to restrict all jobs to, say, 100mb.  because the pathological case for unit tests is smaller than the one for other jobs.23:57
jeblairin which case, maybe we have both?23:58
pabelangerRight, I that was my logic for starting with openstack-zuul-jobs first, we likely only care in openstack-infra about that specific file atm. but, maybe the role to check filesize is in zuul-jobs23:58
jeblairpabelanger: i am 100% certain we, in openstack infra, care about restricting every single job on the system to not upload more than X MB.23:58
pabelangerright23:59
jeblairpabelanger: i do not know what that value is, but i know that we want to set it so that we do not get into the case we are in now where we have projects uploading gigantic log files and not even knowing.23:59

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