Tuesday, 2018-09-25

sfbenderTristan de Cacqueray created software-factory/sf-config master: openshift: switch oc rsync to quiet  https://softwarefactory-project.io/r/1374803:06
sfbenderTristan de Cacqueray created software-factory/sf-config master: zuul: add experimental pipeline  https://softwarefactory-project.io/r/1375003:12
*** chkumar|off is now known as chkumar|ruck05:42
*** jpena|off is now known as jpena07:53
*** chmouel_ has joined #softwarefactory08:23
*** chmouel_ is now known as chmouel08:37
*** sshnaidm has joined #softwarefactory09:07
*** sshnaidm is now known as sshnaidm|afk09:29
*** sshnaidm|afk is now known as sshnaidm|off09:37
*** sshnaidm|off has quit IRC09:42
*** zoli is now known as zoli|lunch10:11
*** zoli|lunch is now known as zoli10:11
*** jpena is now known as jpena|lunch11:38
*** jpena|lunch is now known as jpena12:40
pabelangernhicher: https://softwarefactory-project.io/r/13746/ starts some clean up with glean testing yesterday13:27
nhicherpabelanger: done13:35
sfbenderMerged software-factory/sf-ci master: Re-enable test pages  https://softwarefactory-project.io/r/1358913:53
sfbenderTristan de Cacqueray created software-factory/sfinfo master: Add experimental job to sf-config  https://softwarefactory-project.io/r/1375514:08
*** matburt has joined #softwarefactory14:09
matburttristanC did you want some of those PRs merged? It looks like the one on runner is just a test PR14:10
sfbenderMerged software-factory/sfinfo master: Add experimental job to sf-config  https://softwarefactory-project.io/r/1375514:12
tristanCmatburt: not really, they are just example use case. The actual job remains to be written14:20
matburtgotcha14:20
tristanCmatburt: https://github.com/ansible/zuul-jobs/pull/8 should be safe to land14:20
matburtI'm reworking some of our job/project configuration today after talking to spredzy14:20
matburttristanC reviewed and tagged14:22
spredzytristanC: is the template.yml file loaded automatically or it needs something from your side ?14:24
spredzyin zuul-config/zuul.d/14:24
spredzy?14:24
spredzyWe have it in DCI, but it isn't currently present on ansible/zuul-config14:24
tristanCspredzy: zuul-config is a config project, so change needs to be merged to be effective14:24
tristanCspredzy: what do you mean by "template.yml" ?14:25
tristanCspredzy: "project-template" zuul configuration doesn't needs to be in the config project, you can have them in ansible/zuul-jobs if you prefer, (e.g. https://softwarefactory-project.io/cgit/software-factory/sfinfo/tree/zuul.d/templates.yaml )14:26
spredzytristanC: https://softwarefactory-project.io/r/gitweb?p=dci-config.git;a=tree;f=zuul.d;h=c428b5845dfc1b7782d4c6afe387b1255cb4b69f;hb=HEAD14:26
spredzySee the templates.yaml file14:26
spredzyIs it automatically loaded/parsed ?14:27
tristanCspredzy: however, to use "project" zuul configuration for foreign project (e.g. assign template to awx from zuul-config), then that needs to be defined in a config project14:27
tristanCthat is to preven one project from changing the ci configuration of another project14:27
spredzyBecause it isn't their https://github.com/ansible/zuul-config/tree/master/zuul.d14:27
tristanCspredzy: zuul configuration is automtically loaded/parsed, nothing to do from our side14:28
tristanCspredzy: however, config-project changes needs to be merged first to be effective14:28
spredzyyep, this is fine14:28
tristanCspredzy: only regular (untrusted-project) are loaded/parsed speculatively14:28
spredzyI was just wondering about the templates.yaml file14:28
spredzyif it was loaded/parsed automatically14:29
pabelangerspredzy: filenames in zuul.d don't mean anything, just a way to group data over 1 large file.14:29
pabelangerzuul will merge them when loading config14:29
spredzyack, so any *.yaml file will be loaded14:29
spredzyack14:29
pabelangerany zuul config yaml file, yah14:29
tristanCspredzy: to keep things simple, puts the templates.yaml and projects.yaml (like the one you have in dci-config) in ansible/zuul-config14:29
spredzythanks guys - I wasn't sure about this last point14:29
spredzyyes, this is where it is landing14:29
tristanCspredzy: we could move the template later in ansible/zuul-jobs if needed14:29
tristanCspredzy: note that files needs to have .yaml extension, .yml are silently ignored14:30
spredzynoted14:30
pabelangerYah, that is a good point14:31
*** dmsimard has quit IRC14:31
matburtso anything in templates will be merged with jobs defined on the pipelines in the repo itself?14:33
*** dmsimard has joined #softwarefactory14:33
tristanCmatburt: what do you mean?14:33
tristanCmatburt: zuul-config can define template (which are just meta project definition) on behalf of another project14:34
matburtsay tox is applied to a particular repo in a template and in the pipeline configuration another job is defined in .zuul.yaml they will both be run...14:34
tristanCmatburt: yes, project configuration are merged14:35
tristanCmatburt: i actually tried to document that in https://review.openstack.org/57142014:36
tristanCe.g. if you look at org-config/zuul.d/pti.yaml and org-config/zuul.d/projects.yaml of http://logs.openstack.org/20/571420/3/check/tox-docs/79564ab/html/user/howtos/pti.html#projects-content14:36
tristanCyou can see org-client has the org-pti template that is defining org-codestyle and org-integration-test for that project check pipeline14:37
tristanCthen org-client can still define its own jobs, as shown in http://logs.openstack.org/20/571420/3/check/tox-docs/79564ab/html/user/howtos/pti.html#project-tests14:37
tristanCresulting in org-client check pipeline to run both the org-codestyle, org-integration-test and org-client-ui-validation job to run14:38
tristanCmatburt: does that answer your question?14:38
tristanCnote that job are uniques accross a tenant, there can only be one tox job defined in one place14:39
pabelangeryah, it is usually best to prefix your repo to the start of a name, if you want to create a new / variant job. So for tox, awx-tox.14:40
pabelangerbut ideally, as more projects come into zuul, there is a PTI that is created so projects can share the same jobs14:41
pabelangerbut understand in some cases, there are project specific things that need to be done14:41
tristanCpabelanger: i keep on linking that open review (https://review.openstack.org/571420) about all of that, any chance you give it a review please?14:43
pabelangertristanC: yah, just seen that for first time, bookmarked. Will take a look for sure14:44
pabelangerremote:   https://softwarefactory-project.io/r/13757 Bring online vexxhost-ansible-network-mtl114:51
pabelangertristanC: mhu: fbo: nhicher: ^ do you mind reviewing, starting the process to rotate out the original provider (name too long) for mtl1 rename.  Also starts to lay the ground work to bring online sjc1 too, which will have nested virt support14:52
matburttristanC super helpful, thanks!15:01
spredzytristanC: For Github, how does the Depends-On work ?15:06
spredzyShould we point to the URL of the PR ?15:06
* spredzy not familiar with the Github/Zuul workflow yet15:07
pabelangerDepends-On: https://github.com/ansible-network/ansible-zuul-jobs/pull/54 for example15:08
pabelangerhttps://github.com/ansible-network/yang/pull/2515:08
pabelangerhowever, there is a difference in github vs gerrit15:08
pabelangerit github, you need to edit the first comment of the PR to update depends-on headers15:08
pabelangerwith gerrit, you can do it via commit messages15:08
pabelangernot really a fan of github for that, but does work15:09
spredzyack, so the Depends-On goes to the PR comment15:09
matburtgotcha, that's good to know15:09
spredzyNot really the commit message (if there are N commit in a single PR)15:09
pabelangerright, --ammend doesnt' even work there15:09
spredzyGotcha15:10
pabelangerI haven't looked, but wonder if there would be a way to have zuul iterate over the comments of a PR and look for latest commit message15:10
pabelangerthen use that15:10
*** chkumar|ruck is now known as chkumar|off15:17
*** chmouel has left #softwarefactory15:25
*** sshnaidm|off has joined #softwarefactory16:02
*** sshnaidm|off has quit IRC16:06
*** sshnaidm has joined #softwarefactory16:06
*** zoli is now known as zoli|gone16:10
*** zoli|gone is now known as zoli16:10
pabelangerremote:   https://softwarefactory-project.io/r/13759 Refactory ansible-network pools for nodepool16:35
pabelangernhicher: ^ if you don't mind reviewing16:36
sfbenderFabien Boucher created software-factory/sf-config master: Fix config/sf-jobs location path gen for external gerrit  https://softwarefactory-project.io/r/1376016:37
*** jpena is now known as jpena|off17:29
*** sfbender has quit IRC18:53
pabelangernhicher: seeing timeout on ansible-network.sf.io18:58
nhicherpabelanger: we can't reach sf.io and review.rdo, rhos-ops are checking what is the issue18:59
pabelangernhicher: k, thanks for update19:00
matburtoof19:45
*** sfbender has joined #softwarefactory21:02
sfbenderKen Dreyer created rdopkg master: doc: fix spelling of rdopkg  https://softwarefactory-project.io/r/1376721:02
nhicherpabelanger: sf is back21:20
pabelangernhicher: thanks, any idea the issue?21:21
nhicherpabelanger: probably ovs21:22
pabelangernhicher: yah21:22
pabelangernhicher: is 0000191220 ready / locked by chance in nodepool?22:31
nhicherpabelanger: ready    | 00:00:23:01 | unlocked22:48
pabelangernhicher: I don't know why that is ready, since min-ready is 022:51
pabelangerlet me try to cycle it22:51
pabelangerI am guessing there is a race some place22:53
pabelangerin nodepool22:53
pabelangerand know how to fix22:54
pabelangerwill push up a patch in the morning22:54
nhicherpabelanger: ok, good evening =)22:58
pabelangerremote:   https://softwarefactory-project.io/r/13768 Set max-ready-age for vexxhost-ansible-network22:59
pabelangernhicher: for the morning^22:59
sfbenderKen Dreyer created rdopkg master: tests: use pytest.parametrize in spec tests  https://softwarefactory-project.io/r/1376923:06
sfbenderKen Dreyer created rdopkg master: specfile: document release_parts() return value  https://softwarefactory-project.io/r/1377023:11
sfbenderKen Dreyer created rdopkg master: specfile: add comments to recognized_release()  https://softwarefactory-project.io/r/1377123:11

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