Thursday, 2019-02-28

*** jamesmcarthur has joined #zuul00:02
*** sdake has joined #zuul00:03
*** jamesmcarthur has quit IRC00:17
*** jamesmcarthur has joined #zuul00:18
*** jamesmcarthur has quit IRC00:22
openstackgerritClark Boylan proposed openstack-infra/zuul-website master: Add a promotional message banner and events list  https://review.openstack.org/63987100:35
clarkbfungi: ^ based that on your original change.00:35
clarkbcorvus: ^ we've been asked if we can add that type of banner back for the denver summit00:35
fungiSpamapS: i agree with you on premise ;)00:36
SpamapSfungi: excellent00:58
*** sdake has quit IRC01:08
openstackgerritTristan Cacqueray proposed openstack-infra/zuul master: Add API endpoint to get frozen jobs  https://review.openstack.org/60707701:59
openstackgerritTristan Cacqueray proposed openstack-infra/zuul master: Get executor job params  https://review.openstack.org/60707801:59
*** sdake has joined #zuul02:10
*** bhavikdbavishi has joined #zuul02:29
*** bhavikdbavishi has quit IRC02:31
*** rlandy|bbl is now known as rlandy02:45
*** sdake has quit IRC02:46
*** sdake has joined #zuul03:22
*** sdake has quit IRC03:23
*** bhavikdbavishi has joined #zuul03:24
*** takamatsu has quit IRC03:25
*** sdake has joined #zuul03:28
*** sdake has quit IRC03:40
*** nilashishc has joined #zuul03:44
*** nilashishc has quit IRC03:48
openstackgerritTristan Cacqueray proposed openstack-infra/zuul master: WIP: add job filter to trigger event  https://review.openstack.org/63990503:49
*** nilashishc has joined #zuul03:52
*** spsurya has joined #zuul04:14
openstackgerritJoshua Hesketh proposed openstack-infra/zuul master: Get executor job params  https://review.openstack.org/60707804:16
*** nilashishc has quit IRC04:46
*** rlandy has quit IRC04:50
*** saneax has joined #zuul04:55
openstackgerritTristan Cacqueray proposed openstack-infra/zuul master: webtrigger: add initial driver and event  https://review.openstack.org/55515305:00
*** raukadah has quit IRC05:03
*** chandankumar has joined #zuul05:04
*** takamatsu has joined #zuul05:05
*** bjackman has joined #zuul05:09
bjackmanAJaeger, tobiash, ping for https://review.openstack.org/#/c/636870/ (let me know if I've picked the wrong people to pester!)05:10
*** takamatsu has quit IRC05:10
openstackgerritTristan Cacqueray proposed openstack-infra/zuul master: webtrigger: add web route and rpclistener  https://review.openstack.org/55483905:15
tristanCcorvus: could you please revisit your -2 on https://review.openstack.org/55515305:17
*** saneax has quit IRC05:27
*** saneax has joined #zuul05:28
*** sdake has joined #zuul05:30
*** nilashishc has joined #zuul05:45
*** nilashishc has quit IRC05:51
*** sdake has quit IRC06:02
*** bhavikdbavishi has quit IRC06:19
*** bhavikdbavishi has joined #zuul06:20
*** sdake has joined #zuul06:22
*** sdake has quit IRC06:26
*** nilashishc has joined #zuul06:30
*** nilashishc has left #zuul06:36
*** sdake has joined #zuul06:43
openstackgerritTristan Cacqueray proposed openstack-infra/zuul master: web: add build button to trigger job  https://review.openstack.org/63571607:04
openstackgerritMerged openstack-infra/zuul-jobs master: Explanatory comment for Editable Git install  https://review.openstack.org/63964907:09
*** sdake has quit IRC07:15
*** sshnaidm|afk is now known as sshnaidm07:32
openstackgerritTristan Cacqueray proposed openstack-infra/zuul master: web: switch jobs list to a tree view  https://review.openstack.org/63343707:41
*** quiquell is now known as quiquell|brb07:48
openstackgerritTristan Cacqueray proposed openstack-infra/zuul master: web: add jobs list filter  https://review.openstack.org/63365207:48
openstackgerritTristan Cacqueray proposed openstack-infra/zuul master: scheduler: add job's tags to the rpc job_list method  https://review.openstack.org/63365307:48
openstackgerritTristan Cacqueray proposed openstack-infra/zuul master: web: add tags to jobs list  https://review.openstack.org/63365407:48
*** quiquell|brb is now known as quiquell08:14
*** pcaruana has joined #zuul08:32
*** bhavikdbavishi has quit IRC08:38
*** bhavikdbavishi has joined #zuul08:38
*** jpena|off is now known as jpena08:54
*** electrofelix has joined #zuul09:07
*** electrofelix has left #zuul09:08
*** electrofelix has joined #zuul09:11
*** sdake has joined #zuul09:14
*** gtema has joined #zuul09:16
jktcorvus: that's a nice one :), thanks!09:34
*** sdake has quit IRC09:46
*** gtema has quit IRC09:48
*** gtema has joined #zuul09:49
*** panda|ruck|off is now known as panda|ruck09:51
*** sdake has joined #zuul10:36
*** hashar has joined #zuul10:53
*** saneax has quit IRC10:56
openstackgerritMerged openstack-infra/nodepool master: Support requests for specific providers  https://review.openstack.org/63941811:02
*** bhavikdbavishi has quit IRC11:03
*** mhu has joined #zuul11:09
openstackgerritMerged openstack-infra/zuul master: Request child nodes of paused jobs at higher priority  https://review.openstack.org/63879611:10
openstackgerritMatthieu Huin proposed openstack-infra/zuul master: [WIP] Add AuthorizationRule Configuration Object, claim validation  https://review.openstack.org/63985511:11
*** sdake has quit IRC11:18
*** sdake has joined #zuul11:20
*** hashar has quit IRC11:33
*** sdake has quit IRC11:55
*** bjackman has quit IRC12:07
*** bhavikdbavishi has joined #zuul12:12
*** bhavikdbavishi has quit IRC12:14
*** bhavikdbavishi has joined #zuul12:14
*** bhavikdbavishi1 has joined #zuul12:19
*** bhavikdbavishi has quit IRC12:19
*** bhavikdbavishi1 is now known as bhavikdbavishi12:19
*** jpena is now known as jpena|lunch12:41
*** saneax has joined #zuul12:43
*** panda|ruck is now known as panda|ruck|lunch12:44
*** hashar has joined #zuul13:01
openstackgerritMatthieu Huin proposed openstack-infra/zuul master: [WIP] Add AuthorizationRule Configuration Object, claim validation  https://review.openstack.org/63985513:14
*** jamesmcarthur has joined #zuul13:16
*** gtema has quit IRC13:21
*** jamesmcarthur has quit IRC13:23
*** jamesmcarthur has joined #zuul13:26
*** panda|ruck|lunch is now known as panda|ruck13:30
*** jamesmcarthur has quit IRC13:31
*** rlandy has joined #zuul13:35
*** quiquell is now known as quiquell|lunch13:38
*** Shrews_ is now known as Shrews13:43
*** jpena|lunch is now known as jpena13:43
*** jamesmcarthur has joined #zuul13:46
*** quiquell|lunch is now known as quiquell13:52
*** rfolco|rover is now known as rfolco|afk13:54
*** jamesmcarthur has quit IRC14:04
*** jamesmcarthur has joined #zuul14:05
*** gtema has joined #zuul14:09
*** jamesmcarthur has quit IRC14:10
*** ianychoi has joined #zuul14:20
*** gtema has quit IRC14:25
*** jamesmcarthur has joined #zuul14:38
*** bhavikdbavishi has quit IRC14:43
*** bhavikdbavishi has joined #zuul14:44
*** jamesmcarthur has quit IRC14:44
pabelangermordred: corvus: tobiash: fungi: could we determine what the next step for https://review.openstack.org/638801/ is, and I'm happy to work on it today.  Just seen another user hit this bug, would love to get a zuul release to fix14:55
pabelangerspecifically, the backwards compat work14:55
*** jamesmcarthur has joined #zuul15:18
*** jamesmcarthur has quit IRC15:22
tobiashpabelanger: the next step is a release note but I was too busy this week so far to do it15:27
*** gtema has joined #zuul15:28
*** saneax has quit IRC15:30
*** jamesmcarthur has joined #zuul15:42
*** hashar has quit IRC15:45
*** jamesmcarthur has quit IRC15:46
*** jamesmcarthur has joined #zuul15:47
tobiashpabelanger, corvus: I'll provide a release note later this evening, sorry for the delay on this16:00
*** rfolco|afk is now known as rfolco|rover16:10
corvustobiash: np16:15
corvusit'll be good to get 637472 in too16:16
*** SpamapS has quit IRC16:18
*** bhavikdbavishi has quit IRC16:18
*** bhavikdbavishi has joined #zuul16:19
*** SpamapS has joined #zuul16:19
*** quiquell is now known as quiquell|off16:20
*** quiquell|off is now known as quique16:23
*** quique is now known as quiquell|off16:23
mordredcorvus: 637472 is a monasca-events-api change?16:28
corvusmordred: absolutely critical for us.  almost as important as 639472.16:29
mordredcorvus: good, because it got landed already :)16:29
*** gtema has quit IRC16:29
*** chandankumar is now known as raukadah16:34
*** dkehn has joined #zuul16:38
*** bhavikdbavishi1 has joined #zuul16:45
*** bhavikdbavishi has quit IRC16:46
*** bhavikdbavishi1 is now known as bhavikdbavishi16:46
openstackgerritMerged openstack-infra/zuul master: Request dependent job nodes from paused parent provider  https://review.openstack.org/63946716:56
openstackgerritJean-Philippe Evrard proposed openstack-infra/zuul-jobs master: Add tag in upload image name  https://review.openstack.org/64009616:56
*** electrofelix has quit IRC16:59
openstackgerritMerged openstack-infra/zuul master: Fix multiple jobs with provides/requires  https://review.openstack.org/63947217:09
openstackgerritTobias Henkel proposed openstack-infra/zuul master: Encode zuul.message with base64  https://review.openstack.org/63880117:09
tobiashcorvus, pabelanger: now with release note ^17:09
corvustobiash: thanks!17:10
tobiashpabelanger: speaking of release I think these are important too and need a second review: 639118, 63902317:10
tobiash(semaphore fixes)17:14
*** jamesmcarthur has quit IRC17:27
mordredtobiash: crap. I reviewed those the other day but didn't actually, you know, vote17:33
tobiashmordred: thanks :)17:35
*** jamesmcarthur has joined #zuul17:37
pabelangertobiash: thanks! had to step away for a bit17:40
*** panda|ruck is now known as panda|ruck|off17:42
*** jamesmcarthur has quit IRC17:45
*** jamesmcarthur has joined #zuul17:48
*** bhavikdbavishi has quit IRC17:50
*** bhavikdbavishi has joined #zuul17:52
*** jamesmcarthur has quit IRC17:52
*** jamesmcarthur has joined #zuul17:53
openstackgerritMerged openstack-infra/zuul master: Fix missing semaphore release around dequeue  https://review.openstack.org/63902317:54
openstackgerritMerged openstack-infra/zuul master: Fix rare semaphore leak during reconfiguration  https://review.openstack.org/63911817:59
jkthey, why am I getting this from Zuul? This change or one of its cross-repo dependencies was unable to be automatically merged with the current state of its repository. Please rebase the change and upload a new patchset.18:00
jktI have default settings for merging, this change's parent is just one commit behind master, it is changing README.md in repo's root18:00
jktand the change which is in master changed one file called ci/build.sh and a submodule called submodules/dependencies18:01
jktI looked into merger's and executor's logs, but I didn't find any reason listed in there18:02
openstackgerritMerged openstack-infra/zuul master: Encode zuul.message with base64  https://review.openstack.org/63880118:06
*** bhavikdbavishi has quit IRC18:09
*** jpena is now known as jpena|off18:12
*** bhavikdbavishi has joined #zuul18:22
*** bhavikdbavishi has quit IRC18:32
*** jamesmcarthur has quit IRC18:37
josefwellsI have my zuul install cleaned up and working with enterprise github instead of gerrit18:42
josefwellsI'm going to get some time this weekend to submit some changes back to you guys, as there was quite a bit of unraveling to do18:43
josefwellsSo now I am at the interesting point of the project, pipeline and job development18:43
josefwellswhat is the best resource for learning about tying together repositories with dependent pipelines, etc18:44
josefwellsFigured just looking at openstack's configs would be a good start18:44
josefwellsbut maybe too much?18:44
*** sdake has joined #zuul18:44
*** pcaruana has quit IRC19:14
josefwellsIs there a way to override zuul-jobs defaults (zuul_workspace_root) for instance19:47
clarkbjosefwells: yes, where you use the prepare-workspace role you can set a different value for that var19:48
clarkb(I think you can actually set it asa a var on any job but in the case of that role you'll likely set it on your base-job and forget it19:48
josefwellsand it seems like maybe there is a better thing to do, like override a root var, and have zuul_workspace_root get created from that <root>/<pr>/<sha>/workspace19:49
josefwellsor something like that19:49
josefwellsright19:49
josefwellsor os zuul_workspace_root  already that variable19:50
josefwellsos = is19:50
clarkbthat is the variable to set19:50
clarkbit has a default value whihc you can override19:50
*** hashar has joined #zuul19:51
*** jamesmcarthur has joined #zuul19:56
*** sdake has quit IRC20:07
josefwellsso I see that workspace honored by prepare-workspace, but that is not where my job starts, how do I get into my playbooks to actually run there, do I have a step that does a chdir: to {some_variable_constructed_from_root}?20:18
clarkbbecause zuul uses ansible, the default behavior is to end up in the homedir of the user you ssh into as iirc20:24
josefwellsyeah, that seems to be the case20:25
josefwellsso is ansible umm.. stateless, like a makefile20:25
clarkbthere might be an ansible configuration setting to change the dir you end up in but I'm not sure about that20:25
josefwellseach order is independent of the others, no, 'cd foo' in one command, then 'do thing that needs to be done in foo' in another command?20:25
josefwellsseems like I would want this in my pre. setup, like chdir: {zuul.project.src_dir}, but I don't know how sticky that is20:26
josefwellsyeah, seems like you can run a command in a directory, but ansible don't have that kind of state, which makes sense20:28
josefwellsto me anyway20:28
pabelangermost task in ansible have the ability to setup args: chdir: foo20:29
pabelangerotherwise, you could use full path to think you want to run20:29
pabelanger{{ ansible_user_dir }}/{{ zuul.project.src_dir }}/foo20:30
josefwellsah, that is the sticker, beauty, thanks pabelanger and clarkb!20:36
josefwellsthis is going to get interesting when we have interdependencies and want to try proposed changes with other proposed changes20:37
SpamapSjosefwells: Ansible is just SSH in a for loop in python... with some really nice python bits included as modules. :)20:52
*** sdake has joined #zuul21:04
jktjosefwells: my impression was that a lot of existing roles and playbooks depend on a particular directory layout, though21:14
jktso stuff like changing jobs to run from somewhere else than $HOME would be a bit impractical21:14
jktbut anyway, ymmv.21:14
*** sdake has quit IRC21:23
*** sdake has joined #zuul21:23
pabelangeryah, I'd definitely say the pattern so far is based of $HOME21:38
*** sdake has quit IRC22:13
*** hashar has quit IRC22:44
mrhillsmanany idea why zuul would complain about a job not being defined that clearly is?23:05
clarkbdefined on another branch maybe?23:05
mrhillsmani have a job defined in my config-project on branch master23:06
mrhillsmani forked an untrusted project and submitted a pr to merge to master of that untrusted project23:07
clarkbare they in the same tenant?23:07
mrhillsmanyes sir23:07
mrhillsmanthe job is not defined in the untrusted project but rather in the config-project23:08
mrhillsmanin the untrusted i am just adding pipeline stanza23:08
mrhillsmanhttps://www.irccloud.com/pastebin/NzYV95Sr/23:09
mrhillsmanthe only change i am making to branches is in a periodic pipeline23:09
clarkbI would triple check the job names are the same (maybe even make sure there is no unicode - or similar causing confusion)23:10
mrhillsmanso do i have to modify the branch?23:10
mrhillsmani quadrupled * 2 checked the job name and it is just not making sense to me23:13
*** threestrands has joined #zuul23:13
mrhillsmanprobably just my ignorance of how it works23:13
clarkbon the branch side of things if you haven't set branches in the trusted project or in your pipeline on the untrusted project that makes it easier to debug23:14
clarkb(once you set branches then you have to think about when it will and won't apply)23:14
mrhillsmanexclude-unprotected-branches: true for this particular untrusted-project23:15
mrhillsmanjobs in the config-project - https://github.com/theopenlab/openlab-zuul-jobs/blob/master/zuul.d/jobs.yaml23:15
mrhillsmanin particular - https://github.com/theopenlab/openlab-zuul-jobs/blob/master/zuul.d/jobs.yaml#L343-L34923:15
mrhillsmanuntrusted project PR - https://github.com/kubernetes/cloud-provider-openstack/pull/51223:16
clarkbmrhillsman: the reason is your use of secrets23:16
mrhillsmanoh?23:16
clarkbactually maybe not23:16
clarkbsince the secrets carrying job is in a trusted repo right?23:17
mrhillsmanyes sir23:17
clarkbok then probably not that23:17
mrhillsmanthat untrusted is only supposed to reference the trusted23:17
mrhillsmandoes not have anything but .zuul.yaml living there23:17
mrhillsmandefining pipelines and jobs23:17
mrhillsmanso i forked the untrusted, make changes, submitted the pr, and it says the job is not defined23:18
mrhillsmanis it possible the pr is using an older version of the config-project that does not have the jobs defined?23:19
mrhillsmanon each fresh push does zuul not check if the config-project is outdated and update it?23:19
clarkbthat depends on your connection type. If using the raw git connection it checks on a timer, but the github and gerrit connections should trigger a refresh on merge23:20
mrhillsmanif the pr went in before the config-project was updated...that is the only thing i can think that makes sense23:20
mrhillsmansince a job never ran do you know which log file i would check to see the hash/commit it is trying to use of the config-project for that pr?23:21
mrhillsmanthat is the only thing that makes sense to me really23:22
clarkbthe scheduler23:22
mrhillsmanok, thx23:22
clarkbyou should have logs around the cat gearman jobs23:22
clarkbthose literally cat the contents of repos to find the zuul config files and their contents23:23
mrhillsman++23:23
corvusmrhillsman: do you have a pipeline for every job?23:23
mrhillsmanfor that project yes sir23:23
clarkbanother thing to check is if you have any config errors23:23
corvusmrhillsman: why is that?23:23
clarkbthere is a little bell in the top right of your status web ui that will show them to you23:23
clarkb(it could be you haven't loaded up to date config because there is an error in that config)23:24
mrhillsmanthat is what was requested but honestly i have no idea why it could not be cleaner23:24
mrhillsmanno config errors clarkb23:24
corvusmrhillsman: i'd love to understand the reasoning for that, because that's certainly not how we expect it to be used, and it's... a little hard to follow.23:25
corvusmrhillsman: aside from that -- on http://status.openlabtesting.org/jobs i don't see the 1.13 job23:26
mrhillsmanhrmm...maybe i need to restart zuul23:26
mrhillsmanthe scheduler that is23:27
mrhillsmani'll get an explanation re so many pipelines23:28
mrhillsmani too had questions but other things pulling my attention and was not primary contact on setting up this particular repo23:28
corvusmrhillsman: is openlab-zuul-jobs gated by zuul?23:29
corvusit looks like individual humans are merging pull requests to that, not zuul23:29
mrhillsmanzuul is not merging automatically no23:30
mrhillsmani believe there are syntax checks however23:30
corvusi recommend having zuul gate that repo.  there shouldn't be any reason not too, since it's dedicated to zuul.  doing so will help protect from system-wide problems.23:31
mrhillsman++23:31
corvusmrhillsman: it's possible that zuul was offline or missed the pull request merge event for the change which added the 1.13 job23:31
mrhillsmanok, i see them now23:32
mrhillsmanthat may have been it :(23:32
mrhillsmangating will help with that?23:32
corvusmrhillsman: you should be able to correct by running "zuul-scheduler full-reconfigure"; you don't necessarily need to restart the scheduler23:32
mrhillsmanyeah, sorry, i ran that23:32
mrhillsmanit is showing up now23:32
mrhillsmani did not know the pipeline would show up before actual job run23:32
mrhillsmanso now i know, i just could not for the life of me figure it out without having run into this before23:33
mrhillsmanespecially when i knew the config-project repo had already merged the commit but i see what you mean now23:33
mrhillsmanwe may have pushed it causing zuul to miss it somehow23:33
mrhillsmanbut let zuul do the merging and it should not happen23:34
mrhillsmanif that is the lesson to learn you mean23:34
corvusmrhillsman: yeah, there are still cases where this could happen even when gating, but i think they are less likely.  but more importantly, it prevents other classes of errors, like merging incompatible changes.23:35
mrhillsmanawesome, thx clarkb and corvus23:35
*** jamesmcarthur has quit IRC23:46

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