Friday, 2020-11-27

*** holser_ has quit IRC00:17
*** holser has joined #zuul00:18
*** tosky has quit IRC00:23
*** holser has quit IRC00:43
ianwtristanC: your plugin is installed @ https://104.130.172.52/c/openstack/diskimage-builder/+/751610 ... it logs to the console, but i don't see a results box01:12
fungidoes it want to match on comment user details maybe?01:50
*** Goneri has quit IRC01:54
ianwfungi: i don't think so, but ...maybe02:07
*** rfolco has quit IRC02:20
*** armstrongs has joined #zuul02:36
*** armstrongs has quit IRC02:46
*** bhavikdbavishi has joined #zuul02:47
*** bhavikdbavishi1 has joined #zuul02:53
*** bhavikdbavishi has quit IRC02:55
*** bhavikdbavishi1 is now known as bhavikdbavishi02:55
*** zenkuro has quit IRC03:20
*** saneax has joined #zuul04:04
*** bhavikdbavishi has quit IRC04:23
*** bhavikdbavishi has joined #zuul04:24
*** saneax has quit IRC04:25
*** saneax has joined #zuul04:29
*** saneax has quit IRC04:51
*** evrardjp has quit IRC05:33
*** evrardjp has joined #zuul05:33
*** vishalmanchanda has joined #zuul05:41
*** wuchunyang has joined #zuul05:47
*** wuchunyang has quit IRC05:47
*** bhavikdbavishi1 has joined #zuul06:23
*** bhavikdbavishi has quit IRC06:25
*** bhavikdbavishi1 is now known as bhavikdbavishi06:25
*** jfoufas1 has joined #zuul06:56
*** bhavikdbavishi has quit IRC07:06
*** bhavikdbavishi has joined #zuul07:43
*** hashar has joined #zuul07:46
*** jcapitao has joined #zuul07:57
*** saneax has joined #zuul08:12
*** bhavikdbavishi1 has joined #zuul08:16
*** rpittau|afk is now known as rpittau08:17
*** bhavikdbavishi has quit IRC08:18
*** bhavikdbavishi1 is now known as bhavikdbavishi08:18
*** jpena|off is now known as jpena08:57
*** ChrisShort has quit IRC09:04
*** ChrisShort has joined #zuul09:06
*** holser has joined #zuul09:20
*** bhavikdbavishi has quit IRC09:49
*** rfolco has joined #zuul10:13
*** jfoufas1 has quit IRC10:43
*** bhavikdbavishi has joined #zuul11:37
*** bhavikdbavishi has quit IRC11:44
*** jcapitao is now known as jcapitao_lunch11:48
*** tosky has joined #zuul11:57
*** fbo is now known as fbo|lunch12:01
*** bhavikdbavishi has joined #zuul12:01
*** bhavikdbavishi1 has joined #zuul12:10
*** bhavikdbavishi has quit IRC12:12
*** bhavikdbavishi1 is now known as bhavikdbavishi12:12
*** zenkuro has joined #zuul12:13
tristanCianw: the author needs to be named zuul12:38
*** jpena is now known as jpena|lunch12:39
tristanCas sean-k-mooney suggested, the match should do '.* CI' (instead of 'Zuul.*'12:39
sean-k-mooneytristanC: well it should match on both12:40
sean-k-mooneythe sepecial Zuul author + .* CI12:40
*** jcapitao_lunch is now known as jcapitao12:41
zbrsean-k-mooney: I guess we will not see Zuulander proposing CR very soon.12:48
*** bhavikdbavishi has quit IRC12:49
*** bhavikdbavishi has joined #zuul12:51
danpawlikclarkb: hey, could you check https://review.opendev.org/c/zuul/zuul/+/644927 ? I have made a patch set related yours comment: https://review.opendev.org/c/zuul/zuul/+/76144112:54
danpawlikalso tobiash please check the 76144112:54
danpawlikthanks!12:54
*** fbo|lunch is now known as fbo12:55
*** jfoufas1 has joined #zuul12:59
*** rfolco is now known as rfolco|ruck13:00
avasszbr: do you know where the ansible modules ar stored nowadays? trying to find the synchronize module and it seems to be part of the posix collection but I don't know where that is13:06
avassoh nevermind I found the link to the repo from the galaxy page13:08
avassalso, is synchronized supposed to work with kubectl connection? or should the kubernetes driver use the openshift prepare-workspace?13:10
avassI'm starting to think a unified prepare-workspace that does it best to figure what to do (like the combined windows/linux WIP one) would be nice to have13:12
avassbut also for kubectl connections13:12
zbravass: check https://github.com/ansible-community/protogen/tree/master/plugins13:18
tristanCianw: fungi: here is how it looks when the author is named zuul: https://104.130.172.52/c/openstack/diskimage-builder/+/55400213:22
sean-k-mooneyzbr: there is no point in merging this until it support the third party cis13:24
sean-k-mooneyit would activly discurage people form looking at the third party ci results13:24
sean-k-mooneytristanC: the render i pretty close to the old one so ya looks good. although i would porably put it to the right of the commit message that said that is where related changes and conflitcs will who up so its current location is fine too13:31
avassdidn't someone implement a .zuulignore to be able to store playbooks and roles in zuul.d?13:32
avassah yep: https://review.opendev.org/c/zuul/zuul/+/74481113:34
*** jpena|lunch is now known as jpena13:37
*** bhavikdbavishi has quit IRC13:38
openstackgerritAlbin Vass proposed zuul/nodepool master: Document ImagePullPolicy for kubernetes driver.  https://review.opendev.org/c/zuul/nodepool/+/76446313:38
avassthat was missing in the documentation by the way ^ :)13:39
openstackgerritAlbin Vass proposed zuul/zuul-jobs master: ensure-nimble: ensure curl is present  https://review.opendev.org/c/zuul/zuul-jobs/+/76446513:51
*** tobberydberg_ has quit IRC13:53
*** tobberydberg has joined #zuul13:56
openstackgerritMerged zuul/nodepool master: Changed informations provided in openshiftpods driver  https://review.opendev.org/c/zuul/nodepool/+/75667113:59
*** rfolco has joined #zuul14:00
*** rfolco|ruck has quit IRC14:01
openstackgerritSorin Sbârnea proposed zuul/zuul master: Makes console lines wrapping user configurable  https://review.opendev.org/c/zuul/zuul/+/72360314:07
openstackgerritSorin Sbârnea proposed zuul/zuul master: Make console lines wrapping user configurable  https://review.opendev.org/c/zuul/zuul/+/72360314:08
openstackgerritAlbin Vass proposed zuul/zuul-jobs master: ensure-nimble: ensure depdencies are present  https://review.opendev.org/c/zuul/zuul-jobs/+/76446514:21
*** rpittau is now known as rpittau|afk14:51
tristanCsean-k-mooney: it seems like we have more room under the commit message. I can have a look at adding third-party-ci results too, though i'll wait for feedback on the current design first.14:59
*** ashbullock has joined #zuul15:01
openstackgerritSorin Sbârnea proposed zuul/zuul master: Make console lines wrapping user configurable  https://review.opendev.org/c/zuul/zuul/+/72360315:07
ashbullockHey all, I've been working on a bitbucketcloud driver and have it at a point that's ready for feedback, any reviews would be greatly appreciated https://review.opendev.org/c/zuul/zuul/+/75900315:08
avassI can't reach https://zuul-ci.org15:10
avassor I guess I can but it's very slow15:10
avassfungi, clarkb: I guess someone wants to take a look at that ^ :)15:12
avasslooks like it's back!15:15
avassor maybe not :(15:18
zbravass: not really, offline for me too.15:21
*** jfoufas1 has quit IRC15:21
zbror maybe not, well with this speed it counts as offline to me.15:21
*** vishalmanchanda has quit IRC15:22
zbri do see some timeouts loading fontawesome and a banner.jpg15:22
zbr29s load time.15:23
fungiavass: zbr: yes, i've been trying to work out what's dragging apache down on the static content server15:23
fungiits connection to the backend seems fine, i can retrieve the files with a shell on that server, but apache is taking ages to serve anything15:24
zbrmaybe there are some problems with the host running the vm? or networking.15:26
* zbr thinking about introducing S3 joke here....15:27
*** ikhan has joined #zuul15:29
fungiyeah, i've checked the usual suspects there, cacti and typical investigative tools suggest everything's fine, including apache's mod_status detail, but even doing a wget from localhost on the server for a static file located on the server itself takes ages15:30
avasshave you tried turning it off and on again? ;)15:31
*** rfolco is now known as rfolco|ruck15:32
* zbr gives wisdom badge award to avass, no sarcasm included, it may really work.15:33
fungiindeed, that's sort of what fixed it, unfortunately it doesn't provide a lot of additional insight into why it was being so slow15:35
avasson the other hand my zuul is working \o/ https://zuul.vassast.org/t/vassast/build/1a1124406c164a1e8d8c6677c17755ef15:35
zbrconsidering the amount of work load we had recently, i would not question such measures. First time it happens is reasonable to flip the switch.15:36
zbronce we see a recurrence we can go deeper15:37
*** ikhan has quit IRC15:45
zbravass: do you know how to remove the blue contour that pf is adding on the summary page when you click to expand/collapse rows?15:46
*** bhavikdbavishi has joined #zuul15:47
avassthe blue contour?15:50
zbravass: is link/button indication15:50
zbroverflow-y: overlay;15:50
zbrhttps://sbarnea.com/ss/Screen-Shot-2020-11-27-15-50-50.png15:51
avassI don't have that15:51
zbrit appears when you click on the rows, at least with chrome. i suspect is part of the feature for marking current selection or so, but is distracting.15:51
avasscould be something specific to chrome then since I don't get it in firefox :)15:52
avassand no I have no clue15:52
zbrit happens with both chrome and safari, but with firefox is more discrete as Firefox displays a hashed grey rectangle instead, less annoying.15:53
avassoh yeah15:53
zbrbut i really doubt we want it, we should find a way to avoid it15:54
zbrbtw, body {overflow-y: overlay;} seams to fix the issue where scrollbar forces browser to rewrap the page content. I wonder if it has some undersired side-effects.15:55
openstackgerritSorin Sbârnea proposed zuul/zuul master: Avoid page reflow when scrollbar appears or disapears  https://review.opendev.org/c/zuul/zuul/+/76447116:00
sean-k-mooneyzbr: tristanC  it snot very readable if you enable the dark theme16:09
sean-k-mooneyhttps://104.130.172.52/c/openstack/diskimage-builder/+/55400216:09
sean-k-mooneyjust enabled it for the zuul user there16:09
sean-k-mooneythe grey box and white text is hard to read16:09
sean-k-mooneythe table content is fine its just the header16:10
sean-k-mooneyzbr: i assume we dont want any scrollbars in the results16:12
sean-k-mooneywe want the rest fo the page to be shifted down16:12
zbrsean-k-mooney: not sure which kind of link you posted because browser seams to instantly close the window when it click it.16:12
zbri doubt use of SSL with IP addresses is safe16:13
sean-k-mooneyzbr: thats the temp vm form the ci run with the gerrit plugin16:13
sean-k-mooneye.g. the one we held to see what gerrit looks like16:14
sean-k-mooneywith the plugin tristanC has16:14
sean-k-mooneyit using self signed certs16:14
sean-k-mooneyits not ment to be secure16:14
sean-k-mooneythat is what it looks like with darkmode https://pasteboard.co/JCjZvCW.png16:17
zbri am trying to explain that Chrome does not open the link at all, no prompts. With Safari I was able to load it after adding my admin pws. we better find an easier way to test.16:17
sean-k-mooneyvs the default https://pasteboard.co/JCjZIZM.png16:17
sean-k-mooneyzbr: that just because chrome is configured to not allow self signed certs16:18
sean-k-mooneyfirfox and safariy give you the option16:18
zbrI just had an idea about how we could redesign the results table to make it integrate better with gerrit, mainly no longer a table.16:18
fungizbr: as a workaround you could temporarily set review.opendev.org to that ipv4 address in your local /etc/hosts to test16:18
fungiassuming chrome doesn't bypass file lookup for host resolution anyway16:19
zbrfungi: good luck editing /etc/hosts on an ipad16:19
*** bhavikdbavishi has quit IRC16:19
*** bhavikdbavishi1 has joined #zuul16:19
sean-k-mooneyi thihk the non dark mode version looks pretty good the only isue is the success/failure text is not a link but they are just to the left16:20
zbrhere is my idea: make each job a colored label that indicate it result, add tooltip with detail: "SUCCESS in 10 mins". They will wrap very well on any screen width.16:20
zbralso they will look fine with dark mode too.16:20
sean-k-mooneyzbr: i think if you care to test configuring yoru broser to allow self signed cert is resonable16:20
sean-k-mooneyzbr: not really16:20
sean-k-mooneythe dark mode the contrast is not greate16:20
sean-k-mooneythe gray and white are too close16:21
sean-k-mooneyat least on firefox16:21
sean-k-mooneythe text of the tabel looks good16:21
sean-k-mooneybut the title of the box is not readable16:21
sean-k-mooneyif you compare https://pasteboard.co/JCjZvCW.png to https://pasteboard.co/JCjZIZM.png16:22
*** bhavikdbavishi1 is now known as bhavikdbavishi16:22
zbrholly.... gerrit is not usable on dark mode and that has nothing to do with tristan chage.16:23
*** bhavikdbavishi has quit IRC16:23
sean-k-mooneywell its alpha16:23
sean-k-mooneyi dont mind it really16:23
sean-k-mooneybut you dont have the option to chosse your own theme anymore16:24
sean-k-mooneyfor the review content16:24
sean-k-mooneyover all its less clear but its usabel16:24
sean-k-mooneyi kind of wish there was a solarized dark mode16:25
*** bhavikdbavishi has joined #zuul16:25
zbronce i enabled dark mode in user preference it became usable.16:25
zbrbut i am unable to test tristan change with that as i cannot login to change preferences.16:25
zbri find it weird that gerrit developers decided to ignore browser theme mode16:26
sean-k-mooneyoh you just type zuul then click become account16:26
sean-k-mooneydont try to use your own accont gerrit is configure in developer mode16:26
sean-k-mooneyfor auth at least16:26
zbrit it reports account not found16:26
sean-k-mooneythe link wont work16:26
sean-k-mooneybut if you type zuul in account name and click the become account button it shoudl work16:27
zbrthanks16:27
sean-k-mooneythat what i did at any rate but im using firefox on a laptop16:28
sean-k-mooneynot sure if that will work on an ipad16:28
zbrmy hint: best border is no border16:28
sean-k-mooneyyep16:28
zbrask anyone in ireland ..16:28
sean-k-mooneyhehe :) just dont ask the uk16:29
zbrsean-k-mooney: what do you think about my idea of having labels one after another instead of a table?16:29
zbrthis example is one of the good cases, where the table fits, but I seen lots of changes where you have multiple changes using same topic or lots of conflicts16:30
zbrin these the "UI" becomes bloated and table makes it super-bloated.16:30
sean-k-mooneyi actully like having all that info present16:31
zbrlook at "merge conflict" badge like label on left top corner and imagine that we would display jobs similar to these.16:31
sean-k-mooneyi would still want al jobs to be listed16:31
sean-k-mooneyso if we had a lable/badge per job sure16:31
sean-k-mooneybut it would still take up the same amount of space i think16:32
sean-k-mooneyi feel like im one of the few peopel that actully looks for non voting job failures however16:32
zbrwe can expose ( [v] tox-linters ), ( [x] tox-py39 ) kind of.16:32
zbrit would work even for color blind if we add a small emoji for success/failure.16:32
sean-k-mooneythere is a unicode tick and X we can use16:33
zbrnot sure yet about the time, for me displaying it in tooltip would be fine, but i am sure someone will want it on the screen16:33
sean-k-mooneyi would be fine with that but still think the table makes sense16:33
sean-k-mooneythe run time i like that there but i guess i can get it form the comment16:34
funginot only is red/green color blindness the most common variety, but also there are very large parts of the world where red and green have the exact opposite meaning16:34
sean-k-mooneyi ocationally looke at it to tell at a glance if devstack ran16:34
fungi(red=good)16:34
zbrthe table does not wrap well with narrow screens or builds that have big number of jobs (over 8-10 it becomes a real nuisance)16:34
sean-k-mooneye.g. if a tempest job failed in 38mins its proably becaue devstack failed not the jobs16:35
*** zenkuro has quit IRC16:35
*** zenkuro has joined #zuul16:35
sean-k-mooneyzbr: if i reviewing on a pone i use a gerrit app instad of the gui16:35
sean-k-mooneyi am not sure we shoudl be optimising for that at the expense of normal dispalys16:36
zbrprobably I can play with the tamper monkey script to build a POC around how i see it, and it would be much easier to check on something testable.16:36
zbri do run into lots of issues with zuul because most zuul developers never try lanscape displays16:36
sean-k-mooneyyep  you can share the script and we can run it or you can share screan shot in an email16:37
sean-k-mooneyzbr: you mean portrait16:37
zbrand while I have 4K+5K displays, I do use both of them in split mode, so my browser windows are most of the time portrait.16:37
sean-k-mooneylandscape is the default for monitors16:37
fungii actually have my workstation monitors rotated 90 degrees into portrait orientation16:37
sean-k-mooneyi have one that way for irc16:38
fungiand then i put them together side-by-side16:38
sean-k-mooneyand then an ultrawidn 21:9 for my main use16:38
sean-k-mooneythen have that split in half16:38
zbranyway the new gerrit is 100x better with narrow screens that 2.x16:38
fungimy main browser window on the workstation is 1440px wide by 2560px high16:39
zbrwith zuul is fixable16:39
sean-k-mooneyi need to redeploy or change how my zuul runs actully16:39
sean-k-mooneyits really really reaaly slow16:39
sean-k-mooneyif you dont serve the static content with a webserver16:40
sean-k-mooneyother then the build in one in the container16:40
sean-k-mooneyits not setting the cache headers properly16:40
zbr½ 4K screenshot: https://sbarnea.com/ss/Screen-Shot-2020-11-27-16-40-05.png -- look how much of the build results fits the screen.16:40
sean-k-mooneyso even thouhg i put cloudflare cdn in front its still slow to load the static content16:40
sean-k-mooneyzbr: yep that looks fine to me16:41
sean-k-mooneyyou have to scolle to see the files but you have all of the context visabel16:42
zbri see a lot of wasted space, the entire page is ~2.8x screens in lengh. Ideally it should be ~2x screens.16:42
sean-k-mooneythere is space on the left16:42
sean-k-mooneybut i dont see much wasted space elsewhere16:42
zbryes, that is what i was trying to highlight the left-sidebar area has space but not for tables.16:42
fungisean-k-mooney: we deploy ours with an apache rewrite to zuul-web listening on the loopback, and then use mod_cache to improve performance for ^/api/tenant/.*/status and /static16:43
sean-k-mooneyzbr: that space wotn exist normally16:43
sean-k-mooneythe merge conflits and restate secto reflowed from the right16:43
sean-k-mooneyfungi: ya i saw some docs for that jsut didnt do it yet16:44
sean-k-mooneyi was hoping cloudflare woudl do it for me but no since it does not have the right caching headers16:44
fungisean-k-mooney: that sounds like something we could solve in zuul-web if you want to to add cache-relevant headers16:46
sean-k-mooneyfungi: im using traefik currenlty to do ssl termination and reversproxying ill likely see if i can do it with that if not ill use apache or nginx16:46
sean-k-mooneyfungi: ya we coudl i just dont really know what they should be16:46
sean-k-mooneythere is no cache expiry time so it does not get cached16:47
*** hashar has quit IRC16:47
sean-k-mooneyi was going to see if traefik middelware coudl just inject them, doing it in zuul web would be a better long term soltion proably16:48
sean-k-mooneyim currently useing traefik to add cors headears to get the logs working16:49
sean-k-mooneythat took a while to figure out16:49
fungiwe rewrite ^/api/tenant/(.*)/console-stream to ws://127.0.0.1:9000/api/tenant/$1/console-stream16:53
fungiwhich i think works around that problem?16:53
sean-k-mooneyno this is for the serving of the logs that are uploaded after the job16:53
openstackgerritAlbin Vass proposed zuul/zuul-jobs master: DNM: trigger upload_logs_s3  https://review.opendev.org/c/zuul/zuul-jobs/+/76447616:53
fungioh! that16:53
sean-k-mooneyi have zuul at zuul.seanmooney.info but the logs are at logs.seanmooney.info16:53
fungiyeah we use the cors settings in our swift containers16:53
sean-k-mooneyand by defualt firefox block that16:54
sean-k-mooneyyep i actully set the header in the caddy webserver i have serving the directory tree16:54
sean-k-mooneyi should have don it in trafik it was a pain to get working since caddy recently was rewitten16:54
sean-k-mooneyso all the guide where for the old version16:55
avassoh no16:55
openstackgerritAlbin Vass proposed zuul/zuul-jobs master: DNM: trigger upload_logs_s3  https://review.opendev.org/c/zuul/zuul-jobs/+/76447616:56
sean-k-mooneyoh i never start zuul after i showdown my cloud to do some electical work yesteraday16:56
sean-k-mooneyi should fix that16:57
openstackgerritAlbin Vass proposed zuul/zuul-jobs master: upload-logs-s3: fix test-jobs files: attribute  https://review.opendev.org/c/zuul/zuul-jobs/+/76447616:57
sean-k-mooneyfungi: by the way not all of the s3 log servers are configured correctly16:58
sean-k-mooneyfungi: im pretty sure the rackspace one is serving deflate encoded logs without the right header16:59
openstackgerritAlbin Vass proposed zuul/zuul-jobs master: DNM: trigger upload_logs_s3  https://review.opendev.org/c/zuul/zuul-jobs/+/76447816:59
*** ashbullock has quit IRC17:00
sean-k-mooneyfungi: half the time i can open the raw logs with baseiclly curl | editor or in my case lnav <url> but the rest fo the time mainly on rackspace i think it get compress files without the header and the editor does not understand that17:00
sean-k-mooneyand need to use zcat to fix it17:00
sean-k-mooneysince you mentioned settign headers in zuul17:00
sean-k-mooney*swift17:01
*** tosky has quit IRC17:04
*** wuchunyang has joined #zuul17:09
avassupload_logs_s3 role is broken for some reason17:09
avassI'm confused about the error but it looks like it's something with boto17:10
*** wuchunyang has quit IRC17:13
openstackgerritAlbin Vass proposed zuul/zuul-jobs master: GZIPCompressedStream default read length to -1  https://review.opendev.org/c/zuul/zuul-jobs/+/76447817:19
openstackgerritAlbin Vass proposed zuul/zuul-jobs master: GZIPCompressedStream default read length to -1  https://review.opendev.org/c/zuul/zuul-jobs/+/76447817:20
avasscan I get a review on that ^ it fixes it when running it locally17:23
avassoh and the test job should probably be green17:24
fungisean-k-mooney: yeah, rackspace puts some secret sauce cdn in front of their object store which seems to do some sort of content inspection and then unconditionally compress some things independent of whatever's set in swift17:34
fungii think you can influence it by setting accept-encoding17:36
openstackgerritAlbin Vass proposed zuul/zuul-jobs master: Add configuration to make logs public  https://review.opendev.org/c/zuul/zuul-jobs/+/76448317:45
zbrfungi: corvus: https://review.opendev.org/c/zuul/zuul/+/723603 "the wrapping" one17:46
avassI think corvus is on vacation this week17:47
avasssean-k-mooney: are you using s3 for log storage in zuul?17:50
tristanCsean-k-mooney: thanks, i'll have a look to invert the color when dark-mode is enabled17:54
*** jpena is now known as jpena|off17:55
zbryeah, i do not want to merge the wrapping without getting feeback from him, but this does not mean others are not welcomed to look at it.17:58
zbrtristanC: just remove the borders and it should be fine.17:59
zbrtristanC: here is how native gerrit CI integration looks: https://gerrit-review.googlesource.com/c/gerrit/+/28902518:03
zbrit may worth going towards that direction.18:04
zbrnot ugly at all, and i like that is one line unless you click it.18:04
tristanCzbr: yeah, it seems like we could mount a react component and do a better rendering in a follow-up version18:12
*** jcapitao has quit IRC18:12
tristanCzbr: ideally i would re-use existing an components from the zuul/web directory18:13
tristanCthough i'm mostly looking forward getting the same zuul-results table feature from gerrit 2.x18:13
avass764478 and 764476 fixes upload_logs_s3 if anyone has time to spare18:15
sean-k-mooneyfungi: with curl proably i doint think i can wit lnav/vim but the main issue is it does not say its compressed proerly18:19
sean-k-mooneyif it did it woudl be fine they support compressed logs18:19
sean-k-mooneyit just needs to know its compressed18:19
openstackgerritAlbin Vass proposed zuul/zuul-jobs master: Add configuration to make logs public  https://review.opendev.org/c/zuul/zuul-jobs/+/76448318:20
sean-k-mooneythe browser figures it out but not everything does18:20
sean-k-mooneyzbr: we talked about usign that breilfy in the main thread18:20
sean-k-mooneythe checks plugin could work but we woudl need to chagne zuul to support it18:21
sean-k-mooneyand thrid party CIs would have to be updated18:21
sean-k-mooneyzbr: https://zuul-ci.org/docs/zuul/reference/drivers/gerrit.html#checks-plugin-support-experimental18:22
sean-k-mooneythere is some experimal suport for it already in zuul so for zuul based third party cis that might be ok18:22
sean-k-mooneybut the comment format is basically an api contract we have had for years so it might take some time to migrate everyone18:23
*** Goneri has joined #zuul18:53
*** saneax has quit IRC18:57
*** tosky has joined #zuul19:03
*** bhavikdbavishi has quit IRC19:04
*** ikhan has joined #zuul19:04
*** parallax has joined #zuul19:08
*** ikhan has quit IRC19:09
tristanCzbr: sean-k-mooney: i've deployed https://softwarefactory-project.io/r/20194 on https://104.130.172.52/c/openstack/diskimage-builder/+/554002 , third-party CI and dark mode should now be working19:10
fungisean-k-mooney: well, zuul itself doesn't need more changes to support the gerrit checks plugin, there's support already implemented, opendev's zuul and other ci systems would need to switch to using it though. and for some (probably very long) period of time you're going to have a situation where some ci systems are reporting there via checks plugin and others via review comment (some marked as "robot" comments19:23
fungiand some not depending on implementation and vintage)19:23
*** ikhan has joined #zuul19:43
avassuuuh, I don't think the example github pipeline should trigger on 'event: check_run' since that caused the check pipeline to loop for me19:43
sean-k-mooneyavass: https://github.com/SeanMooney/ci-sean-mooney/blob/main/zuul.d/pipelines.yaml#L156-L16419:51
sean-k-mooneythis seam to work for me19:51
sean-k-mooneyat least i have not seen it loop but it might in some cases i dont no19:53
avasshmm I had to remove that otherwise the check restarter over and over again19:55
sean-k-mooneyif something fails in the pre playbook zuul will try 3 times to execute the job19:56
avassyeah but this succeeded19:56
sean-k-mooneyoh ok19:56
*** ikhan has quit IRC19:57
sean-k-mooneyavass: oh i am not subsribed to check run in the app19:58
sean-k-mooneyi dont think its one fo the events that is listed in the doc19:58
*** mugsie has quit IRC19:59
sean-k-mooneyoh it is https://zuul-ci.org/docs/zuul/reference/drivers/github.html19:59
avassIt should be because I only gave it access to what is documented :)19:59
sean-k-mooneybut ya i dont have check run ticked20:00
avasseverything seem to be working now, though zuul links to the directory containing the logs instead of the index.html20:00
avasshttps://zuul.vassast.org/t/vassast/build/2071890236394cb4baffcde3a954c13c/logs20:00
avasssean-k-mooney: that's probably why you don't get the looping behaviour then :)20:00
*** mugsie has joined #zuul20:01
avassso the CORS logs work but the link to the logs don't work, heh20:02
*** y2kenny has joined #zuul20:02
avasstobiash: did you use s3 for storing logs?20:03
avassdigitalocean is supposed to be s3 compatible so I wonder if this is an s3 quirk or it's just something digitalocean does20:03
y2kennyHi, is there any reason why ansible_user_dir is not part of the safe_args here: https://opendev.org/zuul/zuul/src/branch/master/zuul/ansible/base/action/add_host.py#L20 ?20:03
avassy2kenny: I would guess someone missed adding it and no one needed it before :)20:04
y2kennyavass: ok I will make a patch20:04
y2kennyensure_output_dir uses it by default20:04
openstackgerritKenny Ho proposed zuul/zuul master: Add ansible_user_dir as safe_arg for add-host  https://review.opendev.org/c/zuul/zuul/+/76449820:13
tobiashavass: we're using swift20:15
*** ikhan has joined #zuul20:16
avasstobiash: alright, I remember you speaking about moving to s3 so I was wondering if you started doing that or not20:17
avasswe'll probably do that soon now that I know that it works with digitalocean at least :)20:17
openstackgerritKenny Ho proposed zuul/zuul master: Add ansible_user_dir as safe_arg for add-host  https://review.opendev.org/c/zuul/zuul/+/76449820:18
y2kennyavass: do you know who I should add to review for the safe_arg patch?20:19
avassy2kenny: the zuul maintainers usually pick them up whenever they have time20:19
y2kennyok.  I will leave it like that then20:20
avassy2kenny: but shouldn't ansible pick up ansible_user_dir automatically?20:20
y2kennyavass: I guess when using add-host, I have to add everything?20:20
avassoh maybe you need to run setup for that host20:21
y2kennylike... I am manually manipulating the inventory20:21
y2kennyyea20:21
avassyou could probably do that for the host you just added20:21
*** ikhan has quit IRC20:21
avassy2kenny: https://docs.ansible.com/ansible/latest/collections/ansible/builtin/setup_module.html20:21
avassI'd expect that to work a bit better20:22
y2kennyoh you mean add the host, gather facts and then have ansible populate the user_idr20:22
y2kennydir20:22
avassyeah and a lot of other facts20:23
*** ikhan has joined #zuul20:27
openstackgerritKenny Ho proposed zuul/zuul master: Clearify terms around pause-job documentation  https://review.opendev.org/c/zuul/zuul/+/76449920:31
openstackgerritKenny Ho proposed zuul/zuul master: Clarify terms around pause-job documentation  https://review.opendev.org/c/zuul/zuul/+/76449920:32
openstackgerritKenny Ho proposed zuul/zuul master: Clarify terms around pause-job documentation  https://review.opendev.org/c/zuul/zuul/+/76449920:47
*** rfolco|ruck has quit IRC21:04
y2kennyfungi: please let me know if the pause-job documentation modification is ok.21:11
*** ikhan has quit IRC21:13
*** ikhan has joined #zuul21:16
*** ikhan has quit IRC21:21
*** lyr has quit IRC21:23
*** pleia2 has quit IRC21:24
*** smyers has quit IRC21:24
*** pleia2 has joined #zuul21:25
*** avass has quit IRC21:25
*** y2kenny has quit IRC21:25
*** avass has joined #zuul21:27
*** smyers has joined #zuul21:28
*** corvus has quit IRC21:29
*** corvus has joined #zuul21:30
fungizuul-maint: ^ some food for thought there... digging deeper it looks like we've ended up using parent/child to mean two entirely separate concepts with respect to defining and instantiating jobs, and if we want to avoid confusing our users we should probably deprecate and rename one or the other21:46
fungiprobably a good topic to re-raise next week when more folks are around to talk about options21:46
fungiin short we have zuul.child_jobs which is not the inverse of job.parent, but then we document their inverses by talking about "parent jobs" and "child jobs" while referring to both of those concepts in different places21:47
*** ikhan has joined #zuul21:51
openstackgerritKenny Ho proposed zuul/zuul master: Clarify terms around pause-job documentation  https://review.opendev.org/c/zuul/zuul/+/76449922:11
avassfungi: yeah that has always been confusing to talk about22:37
avassI think it's especially confusing since zuul_return returns data to child jobs, which are dependent jobs, but if you want to expose data to inheriting jobs (inverse of parent what you'd expect is a child) you should either cache a fact or save a file22:40
*** armstrongs has joined #zuul22:59
*** armstrongs has quit IRC23:09
*** wuchunyang has joined #zuul23:12
*** wuchunyang has quit IRC23:16
*** tosky has quit IRC23:42

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!