Tuesday, 2020-05-12

*** cdearborn has quit IRC00:39
*** Goneri has quit IRC00:47
*** rlandy has quit IRC01:17
*** sanjayu__ has joined #zuul01:18
*** sanjayu_ has quit IRC01:20
*** swest has quit IRC01:47
*** swest has joined #zuul02:00
*** evrardjp has quit IRC04:36
*** evrardjp has joined #zuul04:36
*** sgw has quit IRC04:59
*** sgw has joined #zuul05:16
openstackgerritAndreas Jaeger proposed zuul/zuul-jobs master: Add new non-npm specific javascript jobs  https://review.opendev.org/72654705:38
openstackgerritAndreas Jaeger proposed zuul/zuul-jobs master: Extract ensure-javascript-build-tool role  https://review.opendev.org/72690005:38
openstackgerritAndreas Jaeger proposed zuul/zuul-jobs master: Add new non-npm specific javascript jobs  https://review.opendev.org/72654705:53
openstackgerritAndreas Jaeger proposed zuul/zuul-jobs master: Extract ensure-javascript-build-tool role  https://review.opendev.org/72690005:53
*** dpawlik has joined #zuul06:05
AJaegermordred, amotoki, could you check https://review.opendev.org/726940, please? Do we need to fix that one failure or can we switch to new jobs? I think the changes 726900  and 726547 are ready to merge.07:01
*** avass has joined #zuul07:07
*** jcapitao has joined #zuul07:12
*** sanjayu__ has quit IRC07:16
*** saneax has joined #zuul07:20
*** tosky has joined #zuul07:35
*** guillaumec has joined #zuul07:37
*** fbo|off is now known as fbo|afk07:37
openstackgerritSimon Westphahl proposed zuul/zuul master: Replace preexec_fn argument in executor popen call  https://review.opendev.org/72708907:40
openstackgerritSimon Westphahl proposed zuul/zuul master: Replace preexec_fn argument in executor popen call  https://review.opendev.org/72708907:41
openstackgerritSimon Westphahl proposed zuul/zuul master: Replace preexec_fn argument in executor popen call  https://review.opendev.org/72708907:42
tobiashzuul-maint: we see occasional deadlocks of subprocess.Popen in production (maybe 1/100.000 jobs). This is supposed to fix that ^07:46
*** jpena|off is now known as jpena07:56
*** rpittau|afk is now known as rpittau07:58
*** nils has joined #zuul08:13
openstackgerritFelix Edel proposed zuul/zuul master: Dequeue changes via github checks API  https://review.opendev.org/70913508:19
*** sshnaidm|afk is now known as sshnaidm08:52
*** guillaumec has quit IRC08:58
*** guillaumec has joined #zuul09:02
tobiashmordred: after py38 upgrade of our executors the upload-logs-swift role doesn't work anymore09:15
tobiashnot sure about the reason yet because of no_log09:16
openstackgerritAlbin Vass proposed zuul/zuul master: Fix unused argument triggering flake8  https://review.opendev.org/72712709:21
avasstobiash: I noticed the replace preexec_fn change was failing linting, can you take a look at that ^ ?09:21
avasstobiash: Not sure why that started erroring now09:22
tobiashoh weird09:23
avassyeah09:23
tobiashbut that change might break the format call as the format specifier hasn't msg09:25
avasstobiash: but that log never used the msg anyway09:27
tobiashavass: nevermind, I read that the wrong way09:28
tobiashneed more coffee ;)09:28
avass:)09:28
tobiashtotally right, we supply msg but that's not in the format string and thus must be removed09:29
tobiashthere was a flake8 release 4 hours ago09:30
tobiashI guess that catches this issue09:30
*** jhesketh has joined #zuul09:31
tobiashactually yesterday as well09:31
tobiashconfirmed, flake8 3.7.9 did not find this issue, starting with 3.8.0 (released yesterday) it reports this issue09:32
avassah yep, that's it09:34
tobiashmordred: this fixes the current zuul gate due to flake8 release: https://review.opendev.org/72712709:34
openstackgerritAlbin Vass proposed zuul/zuul-jobs master: Ensure output dirs are empty  https://review.opendev.org/72713509:54
openstackgerritAlbin Vass proposed zuul/zuul-jobs master: Ensure output dirs are empty  https://review.opendev.org/72713510:03
avasszuul-jobs-maint: We noticed that zuul-output was never emptied, do we want to do that ^ in ensure-output-dirs or in a separate role?10:04
*** bhavikdbavishi has joined #zuul10:08
tobiashmordred: looks like loop is broken with py38 and ansible <2.8 in some cases. It gets a list and complains that it didin't get a list.10:15
tobiashsounds like this https://github.com/ansible/ansible/issues/6545110:15
openstackgerritAlbin Vass proposed zuul/zuul-jobs master: Ensure output dirs are empty  https://review.opendev.org/72713510:15
avasstobiash: wow, that's not good10:18
*** rpittau is now known as rpittau|bbl10:19
tobiashzuul-maint: I guess we'd need to either deprecate/remove ansible 2.6 and 2.7 or revert the executor to <3.8 again10:20
*** dpawlik has quit IRC10:21
*** dpawlik has joined #zuul10:21
*** bhavikdbavishi1 has joined #zuul10:34
*** bhavikdbavishi has quit IRC10:36
*** bhavikdbavishi1 is now known as bhavikdbavishi10:36
tobiashand at least under macos it seems that even ansible 2.8 has problems with python 3.810:38
openstackgerritTobias Henkel proposed zuul/zuul master: DNM: Test ansible loop with python 3.8  https://review.opendev.org/72715510:47
tobiashzuul-maint: this is what fails locally with python 3.8 and ansible<2.8 ^10:48
*** jcapitao is now known as jcapitao_lunch10:51
openstackgerritTobias Henkel proposed zuul/zuul master: Remove support for ansible 2.6  https://review.opendev.org/72715711:09
openstackgerritAlbin Vass proposed zuul/zuul-jobs master: Drop support for ansible 2.6  https://review.opendev.org/72715811:13
*** rfolco has joined #zuul11:16
*** smyers has quit IRC11:17
*** smyers has joined #zuul11:18
openstackgerritTobias Henkel proposed zuul/zuul master: DNM: Test ansible loop with python 3.8  https://review.opendev.org/72715511:25
openstackgerritTobias Henkel proposed zuul/zuul master: DNM: Test ansible loop with python 3.8  https://review.opendev.org/72715511:26
*** ysandeep has joined #zuul11:29
*** jpena is now known as jpena|lunch11:33
*** guillaumec has quit IRC11:38
*** tumble has joined #zuul11:43
*** fbo|afk has quit IRC11:47
*** hashar has joined #zuul11:52
*** bhavikdbavishi has quit IRC12:16
*** rlandy has joined #zuul12:18
*** bhavikdbavishi has joined #zuul12:18
*** rpittau|bbl is now known as rpittau12:21
*** jcapitao_lunch is now known as jcapitao12:23
tristanCtobiash: what is the purpose of not using ansible-2.9 ? Is there known issues or specific cases that prevents using 2.9?12:25
*** rfolco is now known as rfolco|rover12:27
tobiashtristanC: we're still on 2.7 for most projects. What we found out already is that 2.9 changes some checksum stuff12:28
tobiashand a fetch with winrm seems to fail on 2.9 (pending analysis)12:29
*** Goneri has joined #zuul12:29
tristanCtobiash: what is the checksum change? is it only the removal of the default md5 scheme?12:31
tobiashtristanC: get_uri doesn't seem to accept md5 anymore12:31
tristanCtobiash: oh ok, thank you for the details.12:33
*** zbr_ has joined #zuul12:35
tristanCtobiash: what about ansible-2.8, does it has a compatible checksum and no winrm bug?12:35
tristanCzuul-maint: i'd rather keep python-3.8 support and drop incompatible ansible version than the otherway around12:35
tobiashtristanC: looks like ansible 2.8 doesn't break the winrm task but also shows an md5 issue12:35
AJaegertobiash: it's time to get rid of md5 - or do you have external APIs that need it?12:36
tobiashso I guess we'll switch to 2.8 (the checksum issue seems easy to fix) and then further analyze the winrm problem12:36
tobiashAJaeger: it's just a download task in one of our base playbooks12:36
*** zbr_ has quit IRC12:36
*** jpena|lunch is now known as jpena12:40
*** Goneri has quit IRC12:41
openstackgerritTobias Henkel proposed zuul/zuul master: Remove support for ansible 2.6  https://review.opendev.org/72715712:46
*** Goneri has joined #zuul12:47
tobiashtristanC, AJaeger: our checksum issue only hits us with win_get_url12:51
tobiashwe used already sha256, but the module added a new checksum_algorithm argument in 2.8 that defaults to sha1 :/12:52
tobiashhttps://docs.ansible.com/ansible/latest/modules/win_get_url_module.html#parameter-checksum_algorithm12:52
*** mhu has joined #zuul12:56
*** fbo has joined #zuul13:00
openstackgerritMerged zuul/zuul master: Fix unused argument triggering flake8  https://review.opendev.org/72712713:08
*** sanjayu_ has joined #zuul13:10
mordredAJaeger: there's nothing wrong with md5 as a checksum13:10
mordredmd5 as a security-related hash isn't good13:11
*** saneax has quit IRC13:12
mordredAJaeger, amotoki: I thnik let's switch horizon to the new jobs13:16
AJaegermordred: want to review your check and confirm that my changes are fine?13:16
*** guillaumec has joined #zuul13:16
mordredtobiash: that is "thrilling" wrt ansible <2.8 and py38 :(13:16
tobiashmordred: since our official images are now py38 I guess we need to do something13:17
mordredtobiash: yeah. I'm beginning to wonder if our overall policy of supporting ansible versions in zuul for much longer than upstream does is sustainable long-term13:20
mordredeven though I think our reasons for making that choice are good ones13:20
mordredAJaeger: your updates to https://review.opendev.org/#/c/726547 lgtm - I only left a +1 but I think it's ok for you to leave a +2 on that one13:22
AJaegermordred: so, you leave 1.5, I leave 1.5 ;)13:22
AJaegeravass: want to review 726547 again, please?13:23
avasszuul-jobs-maint: we should merge https://review.opendev.org/#/c/726448/ today13:23
avassAJaeger: sure!13:23
AJaegerthanks, avass13:24
AJaegeravass: thanks for rememind us of 726448 - gave my13:24
AJaegeravass: thanks for rememind us of 726448 - gave my +213:24
avassAJaeger, mordred: lgtm13:25
mordredAJaeger: are we comfortable that 726448 isn't going to cause total havoc for openstack?13:26
AJaegermordred: avass pushed changes for all repos.13:27
avassmordred: we should have fixed all occurances of install-* by now13:27
AJaegerthose ar eall merged13:27
mordredcool13:27
avassat least the ones we found :)13:27
AJaegermordred: check depends-on on https://review.opendev.org/#/c/719322/613:27
mordredavass: while we're landing things, what do you think of https://review.opendev.org/#/c/72654713:28
avassmordred: already gave my +3 :)13:28
mordred\o/13:28
mordredyoctozepto: new javascript jobs landing - makes me think (re your js-openstack-lib functional job) - maybe we should make a job like that in openstack-zuul-jobs13:29
AJaegeravass: want to review https://review.opendev.org/726900 as well, please?13:30
avassAJaeger: sure13:31
AJaegerthx13:31
avassAJaeger: it looks good, but tests would have been nice :)13:32
AJaegermordred: what do you think of adding tests for the javascript work? I agree with avass on that one ^13:33
openstackgerritMerged zuul/zuul-jobs master: Add new non-npm specific javascript jobs  https://review.opendev.org/72654713:37
mordredAJaeger: I looked for existing tests for the old stuff that I could copy and update and didn't find any13:38
mordredbut yes - we should almost certainly add some new tests13:38
AJaegermordred: want to +2A this change to use the new jobs? https://review.opendev.org/#/c/726747/3/zuul.d/project-templates.yaml13:39
openstackgerritMerged zuul/zuul-jobs master: Fail and direct user to use ensure-* version of roles  https://review.opendev.org/72644813:42
*** openstackstatus has quit IRC13:53
*** openstackstatus has joined #zuul13:55
*** ChanServ sets mode: +v openstackstatus13:55
mordredAJaeger: done13:57
AJaegerthanks, mordred13:59
*** bhavikdbavishi has quit IRC13:59
mordredAJaeger: I'm glad that we happened to work on some new javascript jobs over the weekend - it was good timing for this horizon work :)14:00
AJaegerindeed..14:03
avassnow we just need to somehow fix our dashboard bump :)14:05
openstackgerritFelix Edel proposed zuul/zuul master: Dequeue changes via github checks API  https://review.opendev.org/70913514:06
avassI still haven't figured out a way to force it to not optimize those files away14:06
AJaegermordred: https://review.opendev.org/727202 uses the new jobs in horizon, could you double check, please?14:10
mordredAJaeger: ++14:13
AJaegerthanks14:13
corvusdo we know why the linter job is raising new errors:14:19
corvus./zuul/ansible/2.9/callback/zuul_stream.py:665:23: F522 '...'.format(...) has unused named argument(s): msg14:19
AJaegercorvus: new flake8 release14:20
AJaegercorvus: version 3.8.0 and 3.8.1 came out the last 12 hours or so14:21
corvusah yep, i have 3.7.9 locally14:21
corvusthat doesn't look like a terrible error14:21
corvusi'll just fix it14:21
AJaegercorvus: 727127 merged, didn't that fix it?14:21
AJaegercorvus: please pull first!14:21
mordredcorvus: yeah - the new format checker actually caught a real bug in openstacksdk14:22
avassAJaeger, corvus: yep, that should already be fixed :)14:23
corvusmordred: https://review.opendev.org/726554 is parented to outdated https://review.opendev.org/72655314:24
openstackgerritMonty Taylor proposed zuul/zuul master: Update to new javascript jobs  https://review.opendev.org/72655414:25
mordredcorvus: fixed!14:25
*** bhavikdbavishi has joined #zuul14:26
*** ysandeep is now known as ysandeep|afk14:26
AJaegercorvus: could you review https://review.opendev.org/#/c/726900 as well for javascript jobs, please?14:27
openstackgerritTobias Henkel proposed zuul/zuul master: Remove support for ansible 2.6  https://review.opendev.org/72715714:28
*** y2kenny has joined #zuul14:31
y2kennyI am getting a lot of "This change depends on a change that failed to merge"  on branches that has no jobs.  Is there a way to silence them?14:34
*** hashar has quit IRC14:40
openstackgerritFelix Edel proposed zuul/zuul master: Report canceled changes via Github checks API  https://review.opendev.org/71102314:43
mordredAJaeger: I guess we should do similar to your horizon patch for the stable banches, yes?14:45
corvusy2kenny: but the project is in the pipeline on other branches?14:48
y2kennycorvus: yes14:48
AJaegermordred: yeah, I want to backport and adjust as needed14:48
mordredAJaeger: ++14:48
openstackgerritFelix Edel proposed zuul/zuul master: Allow check runs to be configured as required status in pipeline config  https://review.opendev.org/71124114:52
corvusy2kenny: is there any chance that project-branch has a project-pipeline entry, possibly in a config project, maybe in a project stanza with a regex that applies to a group of projects or all projects?14:53
*** felixedel has joined #zuul14:55
felixedelHi all, I've updated/rebased a few patches regarding the Github checks API https://review.opendev.org/#/q/status:open+project:zuul/zuul+branch:master+topic:github-checks-api that are open for a few weeks already. Since I was out of office for two months, I did not follow up on them in the meantime. But now it would be great to get some reviews on those :)14:58
openstackgerritFelix Edel proposed zuul/zuul master: Provide some documentation for the checks API implementation  https://review.opendev.org/71149314:59
corvusfelixedel: ++ thanks and welcome back :)14:59
felixedelcorvus: Thanks :)15:00
*** felixedel has quit IRC15:01
y2kennycorvus: the wildcards were removed before.  Looking at the projects tab in the web-ui, there's only one pipeline and the two jobs that were defined for the specific branches and nothing else.15:02
corvusy2kenny: hrm.  well, it's not *supposed* to report that in that case.  it should only report on projects with branches in the pipeline.  it's probably worth digging further to try to find out why it's doing that.15:05
*** jcapitao is now known as jcapitao_afk15:06
y2kennycorvus: ok, I will do a second check and double make sure there's no wildcard in any project.15:07
fungithe scheduler's debug logging will likely shed some light on what decisions led it to leave those reports15:07
y2kennycorvus: another issue may be my merger... I am not sure but I don't think I've got working merger outside of the executors at this point15:07
tobiash y2kenny: executors are fully functional mergers as well so standalone mergers are optional15:08
y2kennytobiash: right... but I ran into bottleneck before that needs extra merger15:09
tobiashy2kenny: k, the mergers are exactly for this use case :)15:09
y2kennybut unfortunately, my merger is getting error like this: http://paste.openstack.org/show/793453/15:10
tobiashy2kenny: hrm, looks like your merger vm/container lacks the ps command15:11
*** ysandeep|afk is now known as ysandeep15:11
clarkbI think the zuul published containers may suffer that. I ran into it when trying to signal things and common tools like that were missing15:12
clarkbI didn't think to check if that was giving zuul itself problems though15:12
openstackgerritMerged zuul/zuul master: Replace preexec_fn argument in executor popen call  https://review.opendev.org/72708915:12
tobiashoh, right, I had to add procps as well when I switched our containers to the python base image15:12
clarkb(I was running docker exec)15:12
y2kennytobiash: I am using docker.io/zuul/zuul-merger:latest15:12
tobiashy2kenny: that explains it15:13
y2kennyis that not ready for production use?15:13
clarkby2kenny: we (opendev) are using them in production15:13
clarkby2kenny: but I think we are still refining and fixing bugs as we find them15:13
y2kennyok15:13
clarkbwe need du, ssh-agent, ssh-add, and kubectl as well based on a quick skim of things15:15
clarkb(I think many/most/all of those may already be there but we can check easily enough)15:16
openstackgerritTobias Henkel proposed zuul/zuul master: Require procps also for dpkg platforms  https://review.opendev.org/72722315:16
tobiashclarkb, y2kenny: this should fix that ^15:16
clarkbtobiash: ^ fyi I tried to pull a quick list of other fork+exec requirements15:16
AJaegeravass: did you see my comments on https://review.opendev.org/#/c/725678/15:16
y2kennytobiash: thanks15:16
clarkbtobiash: du is in coreutils which I expect is already in our images15:18
clarkbbut maybe we should list it explicitly?15:18
tobiashmakes sense, we never know how stripped down a newer python image will be15:19
clarkbtobiash: and https://packages.ubuntu.com/eoan/amd64/openssh-client/filelist is where we get the ssh-* utilities15:19
clarkbI think we should maybe list that too?15:19
tobiashopenssh-client is already in bindep15:20
clarkbah there it is thanks15:20
avassAJaeger: looking15:22
AJaegeravass: consider my comment a soft -0.5 ;) Mainly nits15:22
avassAJaeger: yeah, looked like it's mainly documentation, the undocumented varaibles are so we can flip the delegate_to and set a different working directory since the role is supposed to be used in a trusted context15:24
*** jcapitao_afk is now known as jcapitao15:24
nilsfbo, hey, sorry for bothering. I'm still hitting dead-ends with running Zuul jobs in fedora-infra/ansible. Do you have some time?15:24
avassAJaeger: oh, and I need to remove the changes to fake-ansible15:24
AJaegeravass: oh..15:25
AJaegerzuul-jobs maintainers, please review https://review.opendev.org/726900 to update the javascript jobs15:25
avassAJaeger: me and corvus came if with four different solutions to test it, and this seemed like a good balance between making it easy to use and test15:26
AJaeger4? Wow15:28
openstackgerritAlbin Vass proposed zuul/zuul-jobs master: Add upload-artifactory role  https://review.opendev.org/72567815:31
openstackgerritMonty Taylor proposed zuul/zuul-jobs master: Split browser and non-browser targetting js jobs  https://review.opendev.org/72723115:33
avassAJaeger: done :)15:33
mordredAJaeger: since the js jobs are new - what do you think about doing that real quick ^^15:33
mordredAJaeger: I think it would mean changing the template in ozj and the horizon patch to add -browser - but maybe it's soon enough that we can do that?15:33
AJaegeravass: Now I need to find another problem so that you can reach at least 50 patch sets ;)15:34
mordredAJaeger: (inspired by discussion about https://review.opendev.org/#/c/702132/)15:34
fbonils: no problem, I haven't had the time to investigate more today the ansible plugins issue. But yes let me know what the others problems your are facing/15:34
AJaegermordred: reviewing15:34
avassAJaeger: oh but it's already at 50 patchsets :)15:35
nilsfbo, mostly this one ;). I poked at it with a stick for a while and wanted to share my findings.15:36
yoctozeptomordred: re js functional - that would make sense; I don't think it's that standardized though; most projects keep themselves to unit tests15:36
nilsfbo, just for testing I removed the *_plugins directories, then the Zuul jobs ran as I expected.15:36
AJaegeravass: you're iterating too fast for me ;)15:37
openstackgerritAlbin Vass proposed zuul/zuul master: Differentiate between failed and skipped builds  https://review.opendev.org/72723315:37
nilsof course, that won't fly in real life :)15:37
fbonils: ok I'm preparing a zuul instance and debug this live with a flork of fedora-infra/ansible15:37
fbofork15:37
avassanyone who likes to work with js, wanna help me with that ^ :)15:37
nilsfbo, unfortunately I don't even seem to find logs of the failed run, am I missing something15:38
openstackgerritMonty Taylor proposed zuul/zuul-jobs master: Split browser and non-browser targetting js jobs  https://review.opendev.org/72723115:38
openstackgerritMonty Taylor proposed zuul/zuul-jobs master: Add firefox to javascript browser testing depends  https://review.opendev.org/72723415:38
mordredAJaeger: ^^ found one more place where it needs to have different logic15:38
mordredyoctozepto: ^^15:39
nilsfbo, and before I forget, Zuul seems to use the configuration from the next-to-last push into the PR, not the very latest one, see e.g. my comment here: https://pagure.io/fedora-infra/ansible/pull-request/54#comment-11934815:39
nilsfbo, is there anything I can help you with?15:40
fbonils: this last error, zuul won't give more info.15:40
mordredAJaeger: oh - I'm dumb - wait a sec, this is much easier15:40
AJaegermordred: why firefox? We've never used that before...15:40
nilsfbo, ah so it's something where you have to access to Zuul, its logs, etc.15:40
yoctozeptomordred: thanks, commented15:41
fbonils: yes that's why I need a bit of time to dig into it.15:41
fbobut I'm on it15:41
yoctozeptoAJaeger: jslib used firefox15:41
nilsfbo, I'll try spinning a Zuul instance in a VM (maybe my earlier problem was with podman-compose vs. docker-compose)15:41
yoctozeptoAJaeger: most projects test only v8 in chromium but firefox's javascript engine can behave differently15:42
yoctozeptoalso due to browser sandboxing thingies15:42
yoctozeptoI guess that was why it was tested15:42
openstackgerritMonty Taylor proposed zuul/zuul-jobs master: Split browser and non-browser targetting js test jobs  https://review.opendev.org/72723115:43
openstackgerritMonty Taylor proposed zuul/zuul-jobs master: Add firefox to javascript browser testing depends  https://review.opendev.org/72723415:43
fbonils: for zuul not using what you have in the PR, that's the first time I see it. Is it the only time you see that across all you PR updates ?15:43
mordredAJaeger: the js-openstack-lib installs both chromium and firefox for hysterical raisins - but it made me think that maybe that's a thing people might want? I split it into a second patch because maybe it's a bad idea15:44
nilsfbo, I don't have much experience with Zuul in PRs yet, can't say15:44
nilsand usually it would be from the perspective of someone getting a PR in that's not related to Zuul config in the project :)15:44
openstackgerritMonty Taylor proposed zuul/zuul-jobs master: Split browser and non-browser targetting js test jobs  https://review.opendev.org/72723115:45
nilsfbo, I'm also not quite sure if all of this belongs here or rather in #fedora-ci -- i.e. what is more related to how we have deployed Zuul in Fedora rather than its code15:46
mordredyoctozepto: yes - I believe the new update to the job does the thing you suggest- and makes the whole thing much more simple15:47
openstackgerritTristan Cacqueray proposed zuul/zuul-jobs master: fetch-sphinx-output: introduce zuul_use_fetch_output  https://review.opendev.org/68190515:47
mordredyoctozepto: turns out we already had a playbook that only got called in test for installing that stuff :)15:47
*** guillaumec has left #zuul15:47
AJaegermordred: https://review.opendev.org/727202 fails ;(15:58
AJaegermordred: since it's only js-openstack-lib, let's keep it there15:58
fbonils: we can discuss on fedora-ci and raise here issues if that make sense.15:59
nilsfbo, +115:59
mordredAJaeger: kk16:00
mordredAJaeger: zuul_work_dir undefined - hrm16:01
mordredAJaeger: oh - you know - I think that gets fixed in https://review.opendev.org/#/c/72690016:01
AJaegermordred: I think as well. avass, clarkb, could you review 726900, please?16:01
AJaegermordred: I'll add depends-on the browser change now16:02
mordredAJaeger: ++ - I thnik that's the best path forward16:02
openstackgerritTristan Cacqueray proposed zuul/zuul-jobs master: fetch-sphinx-tarball: introduce zuul_use_fetch_output  https://review.opendev.org/68187016:03
openstackgerritTobias Henkel proposed zuul/zuul master: Support dynamic badges  https://review.opendev.org/70212816:04
tristanCcorvus: i've updated https://review.opendev.org/#/c/681870/ and https://review.opendev.org/#/c/681905 . Please let me know if I missed something16:05
clarkbmordred: does the ansible stat in https://review.opendev.org/#/c/726900/7/roles/ensure-javascript-build-tool/tasks/main.yaml need a failed when false? I never know when ansible will treat a file not existing as an error or not16:05
tristanC(without those, sphinx or reno jobs are failing on kubectl host16:06
openstackgerritAlbin Vass proposed zuul/zuul-jobs master: Add upload-artifactory role  https://review.opendev.org/72567816:09
mordredclarkb: AJaeger has a horizon check patch up with a depends-on - and horizon doesn't have a yarn.lock16:10
AJaegerclarkb: stat will not fail16:10
mordredclarkb: https://review.opendev.org/#/c/727202/16:10
*** rpittau is now known as rpittau|afk16:10
AJaegerclarkb: https://review.opendev.org/726940 was earlier16:11
AJaeger(it tested both old and new jobs)16:12
clarkbyup just ran a test locally16:12
openstackgerritTristan Cacqueray proposed zuul/zuul-jobs master: fetch-sphinx-output: introduce zuul_use_fetch_output  https://review.opendev.org/68190516:15
openstackgerritTristan Cacqueray proposed zuul/zuul-jobs master: fetch-sphinx-tarball: introduce zuul_use_fetch_output  https://review.opendev.org/68187016:15
openstackgerritMerged zuul/zuul master: Require procps also for dpkg platforms  https://review.opendev.org/72722316:21
corvusmordred: can you look at tristanC's change https://review.opendev.org/681870 ?  i'm not sure how fetch-output is supposed to be used in this case.16:22
mordredcorvus: why would there be a flag to incidate a site doesn't use fetch-output?16:24
mordredoh - this is to switch sphinx tarball to using fetch-output because it wasnt' before16:24
corvusmordred: my question is how are we supposed to use the docs/ dir specified by fetch-output16:25
tristanCcorvus: `~/zuul-output/logs/docs` seems identical to `~/zuul-output/docs`16:25
openstackgerritTobias Henkel proposed zuul/zuul master: Remove support for ansible 2.6  https://review.opendev.org/72715716:25
*** sugaar has quit IRC16:26
mordredwell - the interface for docs is supposed to be ~/zuul-output/docs - so that documentation publishing jobs can publish output. but in check jobs we grab docs/ and put them into logs/docs/ for preview purposes16:27
openstackgerritMerged zuul/zuul-jobs master: Extract ensure-javascript-build-tool role  https://review.opendev.org/72690016:28
mordredby having it in a different interface dir, doc publication jobs can say "I found content in docs/, I'm going to publish it to {{ zuul.project }}/docs" and that logic doesn't have to get copied around and can be in a trusted base job16:29
mordredBUT - we should loop in AJaeger here16:30
AJaegermordred: the javascript changes pass on https://zuul.opendev.org/t/openstack/status/change/727202,316:30
mordred\o/16:30
mordredAJaeger: piddle - I have a linter failure on the browser patch. fixing16:31
openstackgerritMonty Taylor proposed zuul/zuul-jobs master: Split browser and non-browser targetting js test jobs  https://review.opendev.org/72723116:31
AJaegermordred, corvus , commented on 681870 - I think we're inconsistent in variable usage16:34
*** evrardjp has quit IRC16:36
*** evrardjp has joined #zuul16:36
mordredAJaeger, corvus: is it possible that the stuff I said above about a docs/ was an initial plan/design that we never did anything with?16:37
openstackgerritAlbin Vass proposed zuul/zuul master: Differentiate between failed and skipped builds  https://review.opendev.org/72723316:38
tristanCcorvus: mordred: actually using `~/zuul-output/docs` is not identical to what fetch-sphinx-output does, docs/ result in `work/docs` while fetch-sphinx-output reulsts in `work/logs`16:38
corvusmordred: well, i don't think we've used fetch-output for docs yet, so i think this is the time to decide :)16:38
openstackgerritTristan Cacqueray proposed zuul/zuul-jobs master: fetch-sphinx-output: introduce zuul_use_fetch_output  https://review.opendev.org/68190516:38
AJaegermordred: I don't remember, sorry.16:38
mordredtristanC: yeah- that's right - but the log publishing jobs are supposed to put the content of work/docs into work/logs/docks16:38
mordredso that doc-producing jobs can always just put the content into docs/ - and when it's appropriate for it to get published to logs, it does, and when it's appropriate to get finally published it does16:39
tristanCmordred: right now, https://opendev.org/zuul/zuul-jobs/src/branch/master/roles/fetch-sphinx-output/tasks/main.yaml#L3  which is `zuul_executor_dest: "{{ zuul.executor.log_root }}"`16:40
*** dpawlik has quit IRC16:40
mordredmerge-output-to-logs is the role that does the syncing16:41
mordredwhich you'll see is in the base job post playbook16:43
openstackgerritTobias Henkel proposed zuul/zuul master: Provide some documentation for the checks API implementation  https://review.opendev.org/71149316:43
mordredtristanC: you're right - but that's because it hadn't been migrated to the fetch-output interface yet16:44
*** smyers has quit IRC16:44
mordredif you have to go to work/docs - merge-output-to-logs should put it into work/logs/docs on the executor16:44
AJaegermordred: if we merge your browser change, we should merge https://review.opendev.org/727271 as well16:45
avassany thoughts on this? https://review.opendev.org/#/c/727233/ we have a lot of skipped builds so it would be nice if we could easily differentiate between those and any failed builds16:45
tristanCmordred: ok, so is it required to use `merge-output-to-logs` when using `fetch-output` ?16:45
mordredwell - it's the idea - it's expected for artifact processing too16:45
tristanCin our case, we only integrated `fetch-output`, not `merge-output-to-logs`16:45
mordredgotcha16:45
tristanCwhy `fetch-output` doesn't `merge-output-to-logs` automatically?16:46
mordredyeah- I was just about to say the same thig16:46
tobiashavass: I'll have a look when the dashboard build is done16:46
mordredI think maybe that was before we were ok with include_role16:46
*** smyers has joined #zuul16:46
mordredtristanC: perhaps we should just include_role merge-output-to-logs at the end of fetch-output ?16:46
mordredcorvus: can you think of any reason we woudn't do that?16:47
tristanCmordred: sure, but should we also remove it from base post playbook to avoid double execution?16:47
avasstobiash: sure, the colors aren't that important, I just used the classes from patternfly atm16:47
mordredtristanC: yeah (although it should be idempotent, so it should be safe to add to fetch-output then remove from post everywhere16:48
mordredtristanC: I certainly agree that having 2 roles you're always supposed to use together is a little silly16:49
tristanCwell as you prefer, i don't mind either way16:49
mordredespecially as you need both for the interface to make sense16:49
tristanCbut that seems like something we could do after the zuul_use_fetch_output addition to fetch-sphinx16:50
mordredyeah. and in fact, it could be a patch that adds the include_role and changes the dest dir - so that it's clear to read what's happening16:50
corvusmordred: i can't think of a reason not to do that right now :)16:50
mordredor we could just do the addition in this patch :)16:50
mordredthen we reduce the number of patches16:51
openstackgerritTristan Cacqueray proposed zuul/zuul-jobs master: fetch-sphinx-tarball: introduce zuul_use_fetch_output  https://review.opendev.org/68187016:54
openstackgerritTristan Cacqueray proposed zuul/zuul-jobs master: fetch-sphinx-tarball: add missing zuul_success default  https://review.opendev.org/72727216:54
tristanCcorvus: shouldn't the merge of `merge-output-to-logs` and `fetch-output` be announced though?16:55
AJaegermordred, zuul-maint, could we merge https://review.opendev.org/#/c/727231 and https://review.opendev.org/727271 ? That's one javascript job change that we can do before the jobs are used.16:56
openstackgerritTobias Henkel proposed zuul/zuul master: Remove support for ansible 2.6  https://review.opendev.org/72715716:56
corvustristanC: yes i think so16:58
*** nils has quit IRC17:01
openstackgerritAlbin Vass proposed zuul/zuul master: Enables whitelisting and configuring callbacks  https://review.opendev.org/71726017:02
openstackgerritMerged zuul/zuul-jobs master: Split browser and non-browser targetting js test jobs  https://review.opendev.org/72723117:10
openstackgerritMonty Taylor proposed zuul/zuul-website master: Switch website to Gatsby  https://review.opendev.org/71737117:10
openstackgerritMonty Taylor proposed zuul/zuul-website master: Switch website to Gatsby  https://review.opendev.org/71737117:12
mordredAJaeger, corvus: related to the above convo ^^ is that the right thing to do in the promote pipeline there?17:13
mordredalso - it makes me think build-javascript-deployment and build-javascript-deployment-tarball should be merged and they should just return both the preview and the tarball artifacts - sort of wasteful to do a second build just to build a tarball17:14
*** jpena is now known as jpena|off17:14
*** ysandeep is now known as ysandeep|away17:19
*** jcapitao has quit IRC17:20
*** fbo is now known as fbo|off17:24
*** iurygregory has quit IRC17:27
openstackgerritAlbin Vass proposed zuul/zuul-jobs master: WIP: Remove requiring tox_envlist  https://review.opendev.org/72682917:33
*** yolanda has quit IRC17:35
openstackgerritMonty Taylor proposed zuul/zuul-website master: Switch website to Gatsby  https://review.opendev.org/71737117:36
mordredcorvus, AJaeger: ok I think _that_ ^^ is maybe more like it17:38
mordredbut I think we should merge build-javascript-deployment and build-javascript-deployment-tarball - and should just have build-javascript-deployment always build a tarball and return both artifacts17:40
mordredmnaser: ^^ also, I kinda took that patch over17:42
AJaegermordred: I agree, we should have a single job instead of two17:43
AJaegermordred: similar how we handle docs17:43
openstackgerritTristan Cacqueray proposed zuul/zuul-jobs master: fetch-sphinx-tarball: introduce zuul_use_fetch_output  https://review.opendev.org/68187017:43
mordredAJaeger: ++17:45
openstackgerritMonty Taylor proposed zuul/zuul-website master: Switch website to Gatsby  https://review.opendev.org/71737117:48
mordredAJaeger: cood call in readme17:48
mordredI updated a few more things too17:48
openstackgerritTobias Henkel proposed zuul/zuul master: Refactor github auth handling into its own class  https://review.opendev.org/71003417:50
openstackgerritTobias Henkel proposed zuul/zuul master: Remove support for ansible 2.6  https://review.opendev.org/72715717:54
AJaegeravass has a new role to upload to artifactory, anybody else to +2A, please? https://review.opendev.org/#/c/725678/5117:55
openstackgerritTobias Henkel proposed zuul/zuul master: Deprecate ansible 2.7  https://review.opendev.org/72734417:57
avassAJaeger: oops, found an error with that note in the readme18:00
openstackgerritAlbin Vass proposed zuul/zuul-jobs master: Add upload-artifactory role  https://review.opendev.org/72567818:00
openstackgerritAlbin Vass proposed zuul/zuul-jobs master: Add upload-artifactory role  https://review.opendev.org/72567818:02
avassAJaeger: oh, and I just noticed the artifact section got duplicated :)18:02
*** dustinc has joined #zuul18:05
openstackgerritTobias Henkel proposed zuul/zuul master: Default to Ansible 2.9  https://review.opendev.org/72734518:07
*** hashar has joined #zuul18:08
tobiashavass: is there a reason to upload from the executor? When working with large artifacts it can be much more efficient to directly upload from the build node.18:09
mordredtobiash: maybe we should just go ahead and deprecate 2.8 too - since I think maybe it has the python3.8 issue too? and once we have 2.9 as a min we can start thinking about how collections fit into things18:10
fungiuploading from the build node can make it challenging to protect your upload credentials if arbitrary code is run on the node18:10
mordredfungi: yah - but might not be as much of a concern in a more trusted scenario18:10
clarkbwhat is the python3.8 issue?18:11
tobiashmordred: 2.8 seems to be ok with python 3.8 so far but I can prep that as well18:11
clarkbas a side note ianw discovered ansibles service module is broken with focal and newer fedora18:11
tobiashclarkb: ansible 2.7 and below doesn't work with python 3.818:11
avasstobiash: hmm, I think the idea was to be able to easier support windows and linux environments that way.18:12
tobiashmore specifically it fails to do loops18:12
fungiand yeah, sounds like the fixes for the service module are merged but not yet released18:12
avasstobiash: otherwise, yes you're right18:12
y2kennycorvus, fungi: so I have the summaried scheduler log here (specifically for change# 358904): http://paste.openstack.org/show/793467/  The three "Dequeuing change" with "because it can no longer merge" shows up in Gerrit as "This change depends on a change that failed to merge."  I am not sure if that is valid and I am not sure why there are three18:12
y2kennyof them.   Looks like each of them is a unique event though...18:12
tobiashavass: hrm, maybe we can enhance that later18:13
fungiy2kenny: note that the dequeue messages are followed with "adding change ... to queue"18:15
avasstobiash: there's also no src parameter in win_uri18:15
fungiy2kenny: so something seems to have triggered readding them, could it be that the osg pipeline is configured to react to comments and so the report comment is causing reenqueuing?18:15
y2kennyfungi: oh right... um...18:15
fungiy2kenny: also in the debug logs for the scheduler there should be entries for the triggering events themselves, indicating what matched the pipeline's conditions18:16
avasstobiash: maybe, instead of toggling the delegate_to: during testing, we could actually allow that?18:16
y2kennyfungi: yes, many of my pipelines are configured to react to comment for things like !recheck18:17
tobiashavass: I think that might make sense18:17
y2kennyfungi: so the multiple copies of the failed to merge is a form of "gate loop" I have encountered previously18:19
fungiy2kenny: you're filtering comment-added events for that pipeline with a comment pattern i guess, something like https://opendev.org/opendev/project-config/src/branch/master/zuul.d/pipelines.yaml#L1918:19
y2kennyfungi: and it essentially retrying until the merge become successful18:19
y2kennyfungi: yes that's it18:20
fungiy2kenny: is it possible the pattern is too greedy and winds up matching the report comment from zuul's account somehow?18:20
tobiashclarkb: with python 3.8 ansible 2.7 fails when doing this: https://review.opendev.org/#/c/727155/3/tests/fixtures/config/ansible/git/common-config/playbooks/hello-post.yaml18:21
tobiashso basically it's completely broken18:21
tobiashthere is also an upstream issue that got rejected because 2.7 is in security fix only maintenance mode18:22
y2kennyfungi: I basically use the same regex but switched out the "recheck" with !<pipeline name> (so !reviewed) but may be ! mean something special I am not aware of in regex.18:23
y2kennyfungi: looking at the full log, I don't think I ran the scheduler in debug mode so I don't see the trigger18:25
y2kennyfungi: I do see log from GerritConnection on updating change18:25
fungiy2kenny: it's using the re module in python, so you can test the patterns yourself like this:18:26
fungipython318:26
fungiimport re18:26
fungire.match(r"""(?i)^(Patch Set [0-9]+:)?( [\w\\+-]*)*(\n\n)?\s*recheck""", "Patch Set 123: recheck")18:26
fungiy2kenny: https://docs.python.org/3/library/re.html indicates ! can be special in certain negative lookahead expressions, so you may need to use \! in the pattern to escape it18:30
*** iurygregory has joined #zuul18:31
fungi(also used in negative lookbehinds)18:32
y2kennyfungi: I ran the pattern in python3 just now and it seems fine (did not match the failed to merge comment)18:33
fungiinteresting. well, if you can manage to reproduce under debug logging on the scheduler that may provide some additional clues18:34
y2kennyfungi: ok... I will keep observing18:35
mordredfungi, clarkb: re service module - they _just_ made some point releases this morning - so maybe that's been fixed since ianw was awake18:37
mordredtobiash: nod. so maybe it's still too early to retire 2.8 - but I definitely agree about 2.7 at this point18:37
tobiashmordred: so what do we do about py38 since the official images are basically broken with ansible 2.7?18:38
mordredtobiash: it's a good questino. we could switch the images back to py37 (I don't think we know of any issues with 3.7) until we drop 2.718:39
tobiashpy37 should work I guess18:40
mordredand then we could re-raise to 3.8 in the patch to drop ansible 2.718:40
clarkband keep testing py38 in the gate to ensure we are ready for smooth transition there18:41
clarkbits somewhat surprising they found a way to make invalid 3.8 but va.id 3.718:42
clarkbusually its the other way around18:42
openstackgerritTobias Henkel proposed zuul/zuul master: Switch back to python 3.7  https://review.opendev.org/72736718:43
y2kennyfungi: so I am looking at the full log again and I noticed this.  If I have a patch series A->B->C.  If A "did not merge because it did not have any jobs configured", would it cause B to fail and lead to a "failed to merge" message?18:43
fungiy2kenny: yes, if you have changes dependent on changes which zuul thinks cannot merge, then the depending changes also cannot merge from zuul's perspective18:45
fungiand it will report that on them, as an explanation for why it did not attempt to run any jobs for them18:45
y2kennyfungi: even because the no merge was due to no job?18:46
fungiy2kenny: for that case, zuul is likely determining that before it gets to the point of realizing there would have been no jobs to run anyway. that's likely something we can improve in the scheduler18:47
fungibut i'm not sure how involved that switch in logic could be18:48
corvusy2kenny: aha -- i think that makes sense -- let me sammarise to make sure i understand: your zuul is not reporting anything on change A, but it's reporting the failed to merge message on B and C?18:48
y2kennyfungi: I think this is probably what's happening in my case.  Surveying these failed to merge gerrit changes, the first patchset always seems to be fine18:48
*** avass has quit IRC18:48
y2kennyit's the subsequent patchset that has the failed to merge message pops up. (and in some what random repetitions)18:49
y2kennycorvus: yes... and report multiple failed to merge messages on B and C18:49
y2kennycorvus: so far I have not detected a pattern on the number of repeats for the subsequence change18:50
fungiit's possible the multiplicity of those messages could be disconnected from the reason for them (but they also might be related)18:50
openstackgerritMonty Taylor proposed zuul/zuul-jobs master: Combine javascript deployment and deployment-tarball jobs  https://review.opendev.org/72737018:51
mordredAJaeger: ^^ combined18:51
corvusy2kenny, fungi: i agree reporting on B and C is a bug in zuul; i think we can fix it.18:51
*** bhavikdbavishi has quit IRC18:51
y2kennycorvus, fungi: I can paste a fuller log for analysis if you like (I truncated it to a specific change before because there's just a lot of log)18:51
corvusy2kenny: i think i have enough to go on for now, thanks :)18:52
y2kennycorvus: ok.18:52
openstackgerritTobias Henkel proposed zuul/zuul master: Deprecate ansible 2.7  https://review.opendev.org/72734418:54
openstackgerritTobias Henkel proposed zuul/zuul master: Drop support for ansible 2.6  https://review.opendev.org/72715718:54
openstackgerritTobias Henkel proposed zuul/zuul master: Drop support for ansible 2.7  https://review.opendev.org/72737318:54
openstackgerritTobias Henkel proposed zuul/zuul master: Update images to use python 3.8  https://review.opendev.org/72737418:54
mordredtobiash: ++18:55
tobiashnow we need to agree on a timeline/release plan :)18:55
tobiashI think we could immediately deprecate 2.7 and drop 2.618:56
tobiashdropping 2.7 and upping python should wait one release18:56
y2kennycorvus: and just a bit of additional data point... I just sampled another 5 series that has similar issue and none of the first patch of those series has the message.  Only the subsequent patches.)18:57
*** guillaumec has joined #zuul18:57
*** sgw has quit IRC19:05
*** sgw has joined #zuul19:07
mnasermordred: please feel free to take it over :)19:10
mordredmnaser: done!19:11
mnasermordred: i see you've already broken it so that's perfect :)19:12
mnasererror gatsby@2.21.22: The engine "node" is incompatible with this module. Expected version ">=10.13.0". Got "6.14.1"19:12
mordredmnaser: I also split blog into its own thing19:12
mordredmnaser: yay! that's now what should have happend19:12
mnaserwell i'm glad its broken the way it's supposed to :P19:12
AJaegermordred: do we need a promote job as well? See https://opendev.org/opendev/base-jobs/src/branch/master/zuul.d/jobs.yaml#L47219:13
mordredmnaser: s/now/not/19:15
mordredbut also - why is it getting 6 instead of 14 :(19:15
mnasermordred: TASK [ensure-nodejs : Output node version] ? ubuntu-bionic | v6.14.119:16
mnasermordred: did we bump the upstream version? i dont see it here https://review.opendev.org/#/c/717371/19/.zuul.yaml19:16
openstackgerritMonty Taylor proposed zuul/zuul-jobs master: Combine javascript deployment and deployment-tarball jobs  https://review.opendev.org/72737019:16
mordredmnaser: it should be defaulting to 14 in the shiny new jobs19:17
openstackgerritMonty Taylor proposed zuul/zuul-website master: Switch website to Gatsby  https://review.opendev.org/71737119:18
mordredmnaser: maybe I'm misunderstanding how role defaults and include_role work - so let's just set a job variable :)19:18
mordredAJaeger: I think that promote job should work yes?19:18
mordredAJaeger: oh - that's just publishing the tarball19:19
AJaegermordred: it won't work in https://review.opendev.org/#/c/726554/ since the artifact name is different19:19
AJaegerdownload_artifact_job: build-javascript-content-tarball19:20
mordredAJaeger: nod. also - we want to publish the contents here, not the tarball anyway19:25
mordredAJaeger: so yeah, I might need a promote job for this19:25
*** avass has joined #zuul19:47
openstackgerritTristan Cacqueray proposed zuul/zuul-jobs master: fetch-sphinx-tarball: introduce zuul_use_fetch_output  https://review.opendev.org/68187019:50
openstackgerritAlbin Vass proposed zuul/zuul-jobs master: Drop support for ansible 2.6  https://review.opendev.org/72715819:51
clarkbmordred: the OSF is asking if we have any content for the newsletter. The biggest thing that stands out to me is the multi arch docker images builds. Are we ready to advertise that functionality?19:51
openstackgerritAlbin Vass proposed zuul/zuul-jobs master: Drop support for ansible 2.7  https://review.opendev.org/72741019:51
tobiashclarkb, mordred: did we have the initial checks api support for github already in the last one?19:52
clarkbtobiash: I want to say that got mentioned but maybe it only made it onto the community update stuff19:53
clarkbtobiash: we can add that too if it wasn't previously mentioned. Thanks for the reminder19:53
mordredclarkb: sadly no - we've found a few new unknown unknowns19:54
mordredclarkb: I mean - we could advertise it - it's likely by the time someone notices for real we'll have it sorted19:54
clarkbmordred: or maybe even a "Initial support is there pelase help us test it" thing?19:54
mordredyeah19:55
openstackgerritGonĂ©ri Le Bouder proposed zuul/zuul-jobs master: bindep: ensure virtualenv is present  https://review.opendev.org/72741319:55
clarkbmordred: ok I'll go with that then19:55
openstackgerritTristan Cacqueray proposed zuul/zuul-jobs master: fetch-sphinx-tarball: introduce zuul_use_fetch_output  https://review.opendev.org/68187019:55
tristanCmordred: corvus: AJaeger: please let me know if I missed anything with https://review.opendev.org/#/c/681870 and https://review.opendev.org/#/c/681905/6  (re: building docs on kubectl node)19:56
clarkbianw: I didn't approve https://review.opendev.org/#/c/726032/1 because i was hoping corvus might be able to double check my assertion in the comments there first19:59
clarkbbut I think it is ready otherwise19:59
*** y2kenny has quit IRC20:01
mnaserbtw -- i assume the 3pci hasn't been too noisy and not providing a bunch of bad output?20:01
corvusclarkb: +320:04
mordredmnaser: it's been great!20:05
mnasersounds good20:07
AJaegermnaser: thanks, it's appreciated!20:09
openstackgerritAlbin Vass proposed zuul/zuul-jobs master: Don't require tox_envlist  https://review.opendev.org/72682920:13
openstackgerritAlbin Vass proposed zuul/zuul-jobs master: Don't require tox_envlist  https://review.opendev.org/72682920:14
*** dpawlik has joined #zuul20:17
*** sshnaidm is now known as sshnaidm|afk20:18
avasscan we try to deprecate having 'venv' as default tox_envlist? I'm guessing that might be a bit of work but I'm willig to do it if there's no problem with that :)20:21
corvusavass: wasn't there a change about that?20:21
avasscorvus: not sure, I pushed a change to see what breaks in the tox role if we remove it20:22
avasscorvus: but I at least think that we should work towards tox having the same behaviour as tox :)20:23
corvusavass: wow, i thought i remembered a change like https://review.opendev.org/726830 but older than yesterday :)20:26
corvusavass: i guess yesterday just seem like a long time ago :)20:27
avasscorvus: I think I updated it to handle an empty string, maybe that's what you're thinking about? :)20:28
corvusavass: ah that may be it20:28
avasscorvus: noticed, that and empty string probably breaks tox_sibling so I'm trying to fix that atm20:28
avasswow that sentence20:29
corvusi got it :)20:29
avass:)20:29
avasscorvus: anyway, I guess that it's enough to create a tox-venv job and make any job that inherits from the tox job that doesn't tox_envlist inherit from that instead20:32
tobiashmordred, clarkb: it would be great if I could get a second review on https://review.opendev.org/720458 which makes repo reset more robust20:33
corvusavass: yeah, left a comment; it seems worthwhile to me.  i don't know if we need a tox-venv job, or just need to update some openstack jobs to set tox_envlist:venv20:33
mordredyeah - I mean - honestly just running "tox -e venv" in a zuul job isn't likeluy to be super useful20:33
avasscorvus: yeah, one of those20:34
mordredcorvus: yah20:34
mordredI think we shoudl do that20:34
corvusavass: openstack is releasing this week, so probably shouldn't merge it before then, but maybe we can research this week and give it a try next week20:35
avasscorvus: sure, there's no hurry anyway.20:35
mordredcorvus: http://codesearch.openstack.org/?q=tox_extra_args&i=nope&files=&repos=20:36
*** cdearborn has joined #zuul20:36
avasscorvus: on the other hand. what do I need to do to get this through? https://review.opendev.org/#/c/724855/ :)20:36
mordredcorvus: I have found very few - if _any_ - openstack jobs actually using the venv default value20:36
avasscorvus: We're keeping a mirror of zuul-jobs at the moment to be able to do quickfixes but I'm working towards using zuul-jobs directly20:38
mordredhttps://opendev.org/openstack/horizon/src/branch/master/playbooks/horizon-tox-django/pre.yaml#L9 <-- I think that's the only occurance20:38
avasscorvus: Third party ci would have been nice but I don't think we have resources to do that at the moment20:38
mordredalthough I agree, we should wait until after openstack release20:38
corvusavass: i think we can probably make that change next week too?20:38
avasscorvus: sure, I'll try to get it ready20:39
corvusavass: it should be a noop, so we shouldn't need to announce it or anything.  you can test several of those with Depends-On from the zuul repo (at least the js, sphinx, subunit ones)20:39
corvusavass: let's get an ack (maybe just some +1s) from some people on the policy change.  tristanC, tobiash, clarkb would be good reviewers -- can you confirm the policy goal in https://review.opendev.org/724855 is good?20:41
avasscorvus: I think I just need to work out some quirks to make sure the linter only catches any file transfers between executor and remote20:42
corvusavass: let's get an ack (maybe just some +1s) from some people on the policy change.  tristanC, tobiash, clarkb would be good reviewers -- can you confirm the policy goal in https://review.opendev.org/724855 is good?20:43
corvussorry for repeat msg :(20:43
clarkbtobiash: corvus re https://review.opendev.org/720458 I think I'm ok with the goal there, but it seems weird to intentionally set HEAD to an arbitrary value20:43
*** sanjayu_ has quit IRC20:43
tristanCcorvus: those ansible-lint rules are looking great to me, thanks!20:43
tristanCavass: ^20:44
clarkbbut I guess if the remote HEAD isn't valid then we can't realy rely on that so any valid head is what we are doing20:44
avassI'm logging off for today, I'll check in tomorrow :)20:44
clarkbcorvus: avass the policy goal there makes sense to me20:44
openstackgerritMerged zuul/nodepool master: Use fqdn for builder hostname info  https://review.opendev.org/72603220:45
tobiashclarkb: any valid HEAD works because since we delete and re-create all refs we just need to detach HEAD from any local branch20:45
corvustobiash, mordred: i +3d the ansible stack except for the last one; i think we may want to wip https://review.opendev.org/727373 for a bit?20:45
clarkbtobiash: but we don't recreate HEAD20:46
tobiashcorvus: yes, that's the intention, I'll -2 it until the next release20:46
clarkbtobiash: I think we set HEAD later when we set it up to the zuul ref ?20:46
clarkbbasically this is an intermediate state and we should update HEAD later for the actual zuul refs when the jobs run right?20:47
tobiashclarkb: repo reset is not intended to set HEAD to anything special. Zuul will take care of this later when e.g. fetching or merging20:47
mordredcorvus, avass: I checked - that one horizon entry I found specifies an envlist of venv explicitly in a job def - so I think we're good to go20:47
tobiashclarkb: so yes I guess we could call it an intermediate state effectively20:48
clarkbtobiash: thanks for confirming that was what I thought20:48
clarkbI'ev approved it20:49
*** avass has quit IRC20:49
tobiashclarkb: thanks!20:50
tobiashmaybe a tiny additional one (removes dead code): https://review.opendev.org/71867020:51
openstackgerritMerged zuul/nodepool master: Allow disabling build-log-retention  https://review.opendev.org/72378220:59
*** sgw has quit IRC20:59
*** hashar has quit IRC21:01
*** rfolco|rover is now known as rfolco|rover|off21:06
openstackgerritMerged zuul/nodepool master: Functional container tests: update to CentOS 8  https://review.opendev.org/72150921:09
openstackgerritTristan Cacqueray proposed zuul/zuul-jobs master: fetch-sphinx-tarball: introduce zuul_use_fetch_output  https://review.opendev.org/68187021:12
openstackgerritMerged zuul/zuul master: Allow check runs to be configured as required status in pipeline config  https://review.opendev.org/71124121:15
*** sgw has joined #zuul21:18
openstackgerritmelanie witt proposed zuul/zuul-jobs master: DNM Try out running sphinx-build in parallel for releasenotes  https://review.opendev.org/72747321:49
*** panda has quit IRC21:51
*** panda has joined #zuul21:53
openstackgerritGuillaume Chauvel proposed zuul/zuul-jobs master: tox siblings installed packages: Add PEP 440 direct reference format  https://review.opendev.org/72747521:54
*** zxiiro has quit IRC22:19
openstackgerritTristan Cacqueray proposed zuul/zuul-jobs master: fetch-sphinx-tarball: introduce zuul_use_fetch_output  https://review.opendev.org/68187022:32
mordredcorvus: so - I've got a weird ansible thing I don't understand22:36
mordredcorvus: https://review.opendev.org/#/c/727370/1 (patchset 1 is important) - https://review.opendev.org/#/c/717371/19/ (patchset 19 is important)22:37
mordredif you look at the build log from 717371,19 : https://zuul.opendev.org/t/zuul/build/75f0b66f8a1041b48e159802e822824822:38
mordredcorvus: you'll see it's installing node version 6 - even though the roles in question have '14' in their defaults22:38
mordredwhen I put node_version: 14 in the zuul job variables it works22:38
mordredI'm wondering if there's just something dumb I'm missing - or if maybe a role with a default value that include_role: another role for some reason doesn't pass that value along?22:39
mordredclarkb: ^^ you like weird things22:39
openstackgerritMerged zuul/zuul master: Detach head before reset  https://review.opendev.org/72045822:40
*** guillaumec has quit IRC22:44
openstackgerritMonty Taylor proposed zuul/zuul-jobs master: Combine javascript deployment and deployment-tarball jobs  https://review.opendev.org/72737022:45
clarkbmordred: include_role is weird ime22:46
clarkbit wouldn't surprise me if it was related22:46
openstackgerritMonty Taylor proposed zuul/zuul-jobs master: Combine javascript deployment and deployment-tarball jobs  https://review.opendev.org/72737022:46
mordredclarkb: I'm trying passing it explicitly22:47
mordredclarkb: and will see if that works22:47
openstackgerritMerged zuul/zuul master: Remove unused function prune in merger  https://review.opendev.org/71867022:50
*** sanjayu_ has joined #zuul23:02
openstackgerritmelanie witt proposed zuul/zuul-jobs master: DNM Try out running sphinx-build in parallel for releasenotes  https://review.opendev.org/72747323:14
*** tosky has quit IRC23:14
*** sanjayu_ has quit IRC23:19

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