Monday, 2016-07-25

*** rfolco has joined #openstack-third-party-ci01:24
*** rfolco has quit IRC01:25
*** sandanar has joined #openstack-third-party-ci04:01
*** sandanar_ has joined #openstack-third-party-ci04:09
*** sandanar has quit IRC04:12
*** sandanar_ has quit IRC04:20
*** sandanar has joined #openstack-third-party-ci06:03
openstackgerritIsaac Beckman proposed openstack/third-party-ci-tools: Bind\unbind to pci vfio driver  https://review.openstack.org/34663908:12
openstackgerritIsaac Beckman proposed openstack/third-party-ci-tools: Bind\unbind pci device to vfio driver  https://review.openstack.org/34663908:14
openstackgerritIsaac Beckman proposed openstack/third-party-ci-tools: Bind\unbind pci device to vfio-pci driver  https://review.openstack.org/34663908:20
openstackgerritIsaac Beckman proposed openstack/third-party-ci-tools: Bind\unbind pci device to vfio-pci driver  https://review.openstack.org/34663909:39
*** krtaylor has joined #openstack-third-party-ci12:04
*** rfolco has joined #openstack-third-party-ci12:33
*** azvyagintsev has joined #openstack-third-party-ci14:02
*** pglass has joined #openstack-third-party-ci14:22
*** pglass has left #openstack-third-party-ci14:23
*** AJaeger has joined #openstack-third-party-ci14:31
azvyagintsevAJaeger: thanks14:31
AJaegerazvyagintsev: not sure why you want to discuss here, but here am I ;)14:32
azvyagintsevi have no idea) we just do same on friday, with mmedvede :)14:32
AJaegerazvyagintsev: I can only tell you what we do in OpenStack CI ;)14:32
AJaegerhttp://git.openstack.org/cgit/openstack-infra/project-config/tree/jenkins/jobs/projects.yaml#n2140 shows how the tox template can be used.14:33
azvyagintsevso, i dint get an idea , do you have any example of using ?14:33
AJaegerIF you use that - here's the name is linters - then OpenStack CI will basically run "tox -e linters".14:33
AJaegerBasically, since it does some logging etc as well.14:33
AJaegerand your project would have an tox.ini environment like fuel-ccp-debian-base has14:34
azvyagintsevfound, looks pretty same with tox builder14:35
AJaegerazvyagintsev: and you also need to schedule the tox invocation in zuul/layout.yaml - just search for fuel-ccp-debian-base and how it invokes linters. Or any other repo. That repo might use a template.14:36
azvyagintsevbut, its skip some logs.. such "test-results"14:36
AJaegerit includes the most relevant logs needed for these - and most logging is done to the console anyway14:37
AJaegerazvyagintsev: add the tox environment, best as non-voting, and then get it working.14:38
azvyagintsevokay, i can't see 'huge' difference for it:) if you ask me to use "linters" - i just migrate to it. give me a moment14:38
azvyagintsevbtw, is it possible to move it into 'vote' mote later ?14:39
AJaegerpep8 is used by python projects - linters by some others.14:39
AJaegerYou can also use another name. But each tox run needs a new virtual machine, therefore we prefer to group them - and linters is one name to use...14:40
azvyagintsevah, there the point..sure its better to group the14:41
AJaegeryour call - if you have very distinct jobs, use distinct environments. But if grouping is possible...14:43
azvyagintsevThey definitely can be grouped.I found in builder macro-  envlist: linters - i din't gate how-to run it againt my tox...should i create such env?14:45
azvyagintsevAJaeger: found, another one env https://github.com/openstack/fuel-ccp-ci-config/blob/master/tox.ini#L6-L914:46
azvyagintsevis it possible to push custom env list or whatever ?14:47
*** AJaeger has quit IRC14:50
*** AJaeger has joined #openstack-third-party-ci15:03
AJaegerazvyagintsev: sorry, had to reboot...15:03
azvyagintsevnp, wait for you anyway :)15:03
AJaegerazvyagintsev: what do you mean with "push custom env list"?15:03
azvyagintsevin example https://github.com/openstack/fuel-ccp-ci-config/blob/master/tox.ini#L6-L9 - they use testenv linters which run bash. how-to deal if i have multiple envs to test in one time ?15:04
azvyagintsevis it possible to pass liest of env's to test, or somehow combine them in tox. or i should do same linters check in bash file?15:05
AJaegerazvyagintsev: you would use one env that does several calls, let me show example...15:05
azvyagintsevAJaeger: it will be great, thanks !)15:06
AJaegerhttp://git.openstack.org/cgit/openstack/neutron/tree/tox.ini#n8715:06
AJaegerSeveral commands, one after the other15:06
azvyagintsevsure, i saw this option - but if first one fail with exit 1 ; second one will not run ;(15:07
AJaegerazvyagintsev: there're way to do this with tox.15:08
AJaegerthere's an option15:08
azvyagintsevAJaeger yeah, i found15:09
azvyagintsev'-' before command15:09
AJaegerazvyagintsev: I suggest you start with linters, see how it works and go from there...15:10
AJaegeryou don't need to have it perfect the first iteration ;)15:10
azvyagintsevAJaeger: but i want :) since it's really to hard sometimes to merge changes...specially in project's which don't have ant tests15:11
azvyagintsevAJaeger: tox suppress exit code from itself also ;( so its no sense to use - since tox -ve linters ;echo $? always = 0. thats mean, job always will be green15:24
AJaegerazvyagintsev: tox fails definitely for me in tests...15:25
azvyagintsevAJaeger: i mean, with "commands = -test1 \n -test2". (i add 'minus' before command, https://testrun.org/tox/latest/example/basic.html#ignoring-a-command-exit-code but i still want to get exit 1 from tox15:26
azvyagintsevotherwise , tox will exit from test, on first test1 fail15:26
AJaegerazvyagintsev: read https://tox.readthedocs.io/en/latest/config.html?highlight=ignore_errors#confval-ignore_errors=True|False(default) as well15:27
AJaegerI find it good to abort directly on first fail...15:27
AJaegerotherwise you might need a shell script that records failures and exits with -1 in case one of the tests fails.15:27
azvyagintsevAJaeger: awesome. ignore_errors=True fix issue!15:28
AJaeger;)15:29
azvyagintsevAJaeger: would you kindly to take a look https://review.openstack.org/#/c/344838/ and https://review.openstack.org/#/c/344922/ ? i hope, i'm on finish line :)15:43
* AJaeger checks15:44
AJaegerazvyagintsev: check how it's done in infra in similar cases, just search for linters. I commented on the issues. The murano-apps chagne LGTM15:47
azvyagintsevAJaeger: thx, only one- didn't get what it 'And move the voting defition to the top like others are.'  you want to move 'vote' row to '['jobs']' part> to this section https://github.com/openstack-infra/project-config/blob/master/zuul/layout.yaml#L1061 ?15:57
AJaegerazvyagintsev: yes, to that part.16:14
* AJaeger has to sign off now.16:14
*** AJaeger has left #openstack-third-party-ci16:14
azvyagintsevAJaeger: thanks for hepl! i guess patch done16:20
*** Apoorva has joined #openstack-third-party-ci16:24
*** Apoorva has quit IRC16:27
*** Apoorva has joined #openstack-third-party-ci16:28
openstackgerritMerged openstack/third-party-ci-tools: Bind\unbind pci device to vfio-pci driver  https://review.openstack.org/34663917:30
*** sandanar has quit IRC17:52
*** Apoorva_ has joined #openstack-third-party-ci18:01
*** Apoorva has quit IRC18:04
*** Apoorva_ has quit IRC18:51
*** Apoorva has joined #openstack-third-party-ci18:52
*** Apoorva has quit IRC19:53
*** Apoorva has joined #openstack-third-party-ci19:56

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