[Avocado-devel] New EC2 plugin

2016-01-27 Thread Lucas Meneghel Rodrigues
Hi guys: As part of my effort to try to flush all my internal patches that have been accumulating over the months, I've created a new, separate repo with my EC2 plugin, and ask whomever has time to review my code to check: https://github.com/avocado-framework/avocado-ec2/pull/1 I tried to follow

Re: [Avocado-devel] New EC2 plugin

2016-01-28 Thread Lucas Meneghel Rodrigues
OK, today I talked to Cleber and we figured out what was wrong. Patches will follow. I did test the plugin and it's working well. This first PR was merged, and I'll work on packaging. On Thu, Jan 28, 2016 at 1:17 AM Lucas Meneghel Rodrigues wrote: > Hi guys: > > As part of

Re: [Avocado-devel] New EC2 plugin

2016-01-28 Thread Lucas Meneghel Rodrigues
BTW, in order for the plugin to be successfully tested, it depends on having one patch of my PR #989: https://github.com/lmr/avocado/commit/64694787d2825720358556379b603546361d3528 applied. On Thu, Jan 28, 2016 at 7:28 PM Lucas Meneghel Rodrigues wrote: > OK, today I talked to Cleber and

Re: [Avocado-devel] Avocado on its way to being self testable

2016-02-02 Thread Lucas Meneghel Rodrigues
+1, great stuff! On Tue, Feb 2, 2016 at 5:51 AM Cleber Rosa wrote: > Hi folks, > > I'd like to bring the following pull request to your attention: > > https://github.com/avocado-framework/avocado/pull/996 > > It's titled "Safe Loader: a second, more abstract and reusable > implementation [v0]",

Re: [Avocado-devel] Pre-release test plan results

2016-02-16 Thread Lucas Meneghel Rodrigues
Yanbing, Avocado is tested on 2.6, the CI job runs on that platform. You are likely lacking logutils installed (logutils==0.3.3 is what the CI job uses). On Wed, Feb 17, 2016 at 1:33 AM Yanbing Du wrote: > Hi Lukáš, > Does each release will be tested on various supported python versions? > As

Re: [Avocado-devel] Pre-release test plan results

2016-02-16 Thread Lucas Meneghel Rodrigues
OK, the thing is that Travis uses a fixed version of stevedore, and that is why we didn't see the problem. # stevedore for loading "new style" plugins stevedore==1.8.0 On Wed, Feb 17, 2016 at 4:00 AM Yanbing Du wrote: > > > On 02/17/2016 01:37 PM, Lucas Meneghel Rodr

Re: [Avocado-devel] issues on running libvirt test

2016-03-09 Thread Lucas Meneghel Rodrigues
You have to look into why the import test was skipped (look at the job log to see why). On Wed, Mar 9, 2016 at 6:17 AM Zhangbo (Oscar) wrote: > Hi all: >I have successfully installed avocado-vt, and it works fine to run qemu > tests, eg: > avocado run io-github-autotest-qemu.boot --vt-t

Re: [Avocado-devel] Maintainers of autotest/avocado projects

2016-04-19 Thread Lucas Meneghel Rodrigues
> > > > > > Pull request maintenance - Libguestfs > > ----- > > > > M: Yu Mingfei > > > > > > Pull request maintenance - v2v subtests > > --- > > > > M: Alex Jia > &g

Re: [Avocado-devel] option --output-check-record behavior

2016-09-08 Thread Lucas Meneghel Rodrigues
I think you guys are missing the point here. I just tried Marcos's test here and that's what I get with Avocado LTS 36.2: $ avocado run xentest.py --output-check-record all JOB ID : c44d95698bc6a20329691a9c10370c3b63c8944f JOB LOG: /home/lmr/avocado/job-results/job-2016-09-08T15.54-c44d956

Re: [Avocado-devel] option --output-check-record behavior

2016-09-08 Thread Lucas Meneghel Rodrigues
By the way, you *must* set shell=True to use pipes (which I did forget). Otherwise the pipes won't work. On Thu, Sep 8, 2016 at 4:00 PM Lucas Meneghel Rodrigues wrote: > I think you guys are missing the point here. I just tried Marcos's test > here and that's what I get

Re: [Avocado-devel] option --output-check-record behavior

2016-09-08 Thread Lucas Meneghel Rodrigues
2016 at 4:01 PM Lucas Meneghel Rodrigues wrote: > By the way, you *must* set shell=True to use pipes (which I did forget). > Otherwise the pipes won't work. > > On Thu, Sep 8, 2016 at 4:00 PM Lucas Meneghel Rodrigues > wrote: > >> I think you guys are missing the

Re: [Avocado-devel] option --output-check-record behavior

2016-09-09 Thread Lucas Meneghel Rodrigues
dn't find anything that talks about it. > > Thanks again. > > BTW, is the whole development team Brazilian? > No, we also have Lukas, from Czech republic, and also contributors in China and India. > On 09/08/2016 08:05 PM, Lucas Meneghel Rodrigues wrote: > > Yep, that was

Re: [Avocado-devel] option --output-check-record behavior

2016-09-09 Thread Lucas Meneghel Rodrigues
On Fri, Sep 9, 2016 at 8:14 AM Marcos E. Matsunaga < marcos.matsun...@oracle.com> wrote: > Hi guys, > > First of all, thanks again for your help. I really appreciate it. > > I found an interesting behavior. If I set loglevel=info in > /etc/avocado/avocado.conf, it will not produce any content in >

Re: [Avocado-devel] Sprint release and planning meeting

2016-09-12 Thread Lucas Meneghel Rodrigues
Too bad I was traveling and couldn't make it. I'm going to watch the video as soon as I can. Cheers! On Mon, Sep 12, 2016 at 10:43 AM Amador Pahim wrote: > Hello, > > Here are the links for the meeting: > > Hangouts: https://hangouts.google.com/call/cwyagrimv5gyrbt5muf7wdoceue > Youtube: https:

Re: [Avocado-devel] Test assumptions question.

2016-09-13 Thread Lucas Meneghel Rodrigues
On Tue, Sep 13, 2016 at 10:15 AM Dmitry Monakhov wrote: > Hi, > I try to automate my kernel testing via avocado. > I've faced some general design questions. And want to ask an advice. > > Testing procedure is quite general, and suites for any project. > 1) Download source > 2) configure kernel >

Re: [Avocado-devel] New questions

2016-09-14 Thread Lucas Meneghel Rodrigues
On Wed, Sep 14, 2016 at 8:32 AM Marcos E. Matsunaga < marcos.matsun...@oracle.com> wrote: > Hi Folks, > > I have some questions about how avocado works. > > 1. If I run avocado and give it a directory that has all tests. Is there > a way to specify the order of execution? I mean, if I name the fil

Re: [Avocado-devel] RFC: ABRT integration

2016-11-11 Thread Lucas Meneghel Rodrigues
On Fri, Nov 11, 2016 at 8:21 AM Jakub Filak wrote: > Avocado developers, > > > I came across an Avocado trello card requesting integration with > systemd-coredumpctl. As a developer working on Automatic Bug Reporting Tool > (ABRT) I got interested in it. I contacted Lukas Doktor with a question o

Re: [Avocado-devel] Running tests in parallel

2016-11-23 Thread Lucas Meneghel Rodrigues
On Wed, Nov 23, 2016 at 12:46 PM Zubair Lutfullah Kakakhel < zubair.kakak...@imgtec.com> wrote: > Hi, > > On 11/23/2016 02:28 PM, Cleber Rosa wrote: > > > > On 11/23/2016 07:07 AM, Zubair Lutfullah Kakakhel wrote: > >> Hi, > >> > >> Thank you for your comprehensive reply! > >> > >> Comments inline

Re: [Avocado-devel] Fwd: [Qemu-devel] a suggestion to place *.c hunks last in patches

2016-11-30 Thread Lucas Meneghel Rodrigues
+1. Looks interesting! On Wed, Nov 30, 2016, 12:10 PM Ademar Reis wrote: > Saw this message on qemu-devel and I think it's a nice suggestion > for Avocado developers. > > The ordering for a python project should be different, but you > get the idea (replies to this thread with the suggested list

Re: [Avocado-devel] Fwd: [Qemu-devel] a suggestion to place *.c hunks last in patches

2016-11-30 Thread Lucas Meneghel Rodrigues
Although I'm not sure if github pull requests would follow this ordering rule. If they do, the order proposed seems sane. On Wed, Nov 30, 2016 at 5:51 PM Cleber Rosa wrote: > > > On 11/30/2016 12:14 PM, Lucas Meneghel Rodrigues wrote: > > +1. Looks interesting! > >

[Avocado-devel] [RFC] Create the namespace avocado.utils.linux

2017-01-05 Thread Lucas Meneghel Rodrigues
I was wondering whether we could create the namespace avocado.utils.linux, so this module would become avocado.utils.linux.modules, or maybe even avocado.utils.linux.drivers, to borrow a more widely known naming convention from the Windows world. We could even move software_manager and other linux

Re: [Avocado-devel] Docs also available now on pythonhosted.org/avocado-framework

2017-01-12 Thread Lucas Meneghel Rodrigues
That's a great idea. Is the upload of the docs made through ssh? On Thu, Jan 12, 2017 at 3:26 PM, Cleber Rosa wrote: > Hi folks, > > While working on "Check/Work around PIP upload failures"[1], I noticed > that the "http://pythonhosted.org/avocado-framework"; URL is ours, and > PyPI let us host d

[Avocado-devel] aexpect 1.3.0 uploaded to pypi and builds on COPR out

2017-01-12 Thread Lucas Meneghel Rodrigues
I've uploaded aexpect 1.3.0 to pypi and built packages on COPR. https://pypi.python.org/pypi/aexpect/1.3.0 https://copr.fedorainfracloud.org/coprs/lmr/Autotest/build/499015/ Let me know if you have any doubts, Lucas

Re: [Avocado-devel] Avocado-vt support for Ubuntu 14.04

2017-01-25 Thread Lucas Meneghel Rodrigues
On Wed, Jan 25, 2017 at 6:44 AM Adil Kamal wrote: > Hello, > > Please confirm if avocado (and more particularly avocado-vt) is supported > for Ubuntu in general, and Ubuntu 14.04 in specific. I am able to install > avocado with some plugin errors though, however can not get avocado-vt to > instal

Re: [Avocado-devel] [avocado-devel] Negative testcases

2017-01-25 Thread Lucas Meneghel Rodrigues
Isn't catching the exception and checking if its fields look like what you expect an option? That is the sort of thing that in my mind wouldn't need additional support. On Tue, Jan 24, 2017 at 4:33 PM Radek Duda wrote: > Hi, > > I wonder if there is any possiblity to perform negative testcases i

Re: [Avocado-devel] What is a right way to install avocado?

2017-02-03 Thread Lucas Meneghel Rodrigues
There is a tension between RPM being the one true way to install software in Fedora, RHEL and derivatives and installing from pip, which should be convenient and portable to any distro that has virtualenv. The following use cases should be covered IMHO: 1) Full distro packages (avocado + avocado-v

Re: [Avocado-devel] What is a right way to install avocado?

2017-02-03 Thread Lucas Meneghel Rodrigues
I'll try the whole setup from a virtualenv and report the results. On Fri, Feb 3, 2017 at 5:12 PM Cleber Rosa wrote: > > On 02/03/2017 09:39 AM, Lucas Meneghel Rodrigues wrote: > > There is a tension between RPM being the one true way to install > > software in Fedora, R

Re: [Avocado-devel] Heads-up: dropping Python 2.6 support

2017-02-07 Thread Lucas Meneghel Rodrigues
I'm not sure putting a file with references to a relatively independent plugin in the main avocado repo the correct thing to do. It's probably better to put a file with that summary in the avocado-vt repository instead. On Tue, Feb 7, 2017 at 12:19 PM Andrei Stepanov wrote: > Hi, > > How do you

Re: [Avocado-devel] Heads-up: dropping Python 2.6 support

2017-02-07 Thread Lucas Meneghel Rodrigues
Or maybe adapt the text and split the files, one that goes into avocado.git and another one that goes into avocado-vt.git. On Tue, Feb 7, 2017 at 12:46 PM Lucas Meneghel Rodrigues wrote: > I'm not sure putting a file with references to a relatively independent > plugin in the main a

Re: [Avocado-devel] pre_command / post_command clarification

2017-02-10 Thread Lucas Meneghel Rodrigues
On Fri, Feb 10, 2017 at 11:16 AM Cleber Rosa wrote: > > > On 02/10/2017 05:01 AM, Andrei Stepanov wrote: > > Hi. > > > > We need a reliable mechanism to notify Beaker server about start+result > > of a avocado-vt test. As you know, avocado-vt test is one of the many > > tests produced from cartes

Re: [Avocado-devel] Subprocess termination

2017-02-17 Thread Lucas Meneghel Rodrigues
I would avoid keeping track of special resources by the test runner itself. It's the sort of thing that the test writer would be expected to implement on cleanup procedures. Implementing said track of subprocesses would be justifiable if we look at the following perspectives: 1) We want to reduce

Re: [Avocado-devel] Subprocess termination

2017-02-20 Thread Lucas Meneghel Rodrigues
is much simple: kill all children. > > > > I think it is correct behavior. This is as it should be. > > > > There is nothing to track. > > > > On opposite side, if test want to keep running process that it can > > detach it and make it daemon. > >

Re: [Avocado-devel] Subprocess termination

2017-02-20 Thread Lucas Meneghel Rodrigues
As an example, I wrote scylla-cluster-tests https://github.com/scylladb/scylla-cluster-tests/ This test suite creates instances and storages on cloud providers, such as AWS. Those resources cost money, so making sure stray instances are properly terminated is paramount. There are cleanup procedur

Re: [Avocado-devel] Subprocess termination

2017-02-20 Thread Lucas Meneghel Rodrigues
On Mon, Feb 20, 2017 at 3:10 PM Cleber Rosa wrote: > > On 02/20/2017 08:46 AM, Andrei Stepanov wrote: > > It depends. > > > > There could be a scenario where necessary to run ~ 200 tests at once. > > If first bad-by-design test forgets/failed to cleanup, then some > > sequential tests also will f

Re: [Avocado-devel] Subprocess termination

2017-02-20 Thread Lucas Meneghel Rodrigues
Now that of course doesn't solve the problem I had with scylla-cluster-tests, since the resources being used are external to the machine executing tests. For cases like that, I'm afraid only good test development practices can help. On Mon, Feb 20, 2017 at 3:21 PM Lucas Meneghel Rodrig

Re: [Avocado-devel] Promote Andrei to vt-maintainers group?

2017-02-23 Thread Lucas Meneghel Rodrigues
+1 On Thu, Feb 23, 2017, 11:50 AM Lukáš Doktor wrote: > Hello guys, > > I see an increasing tension between tp-spice guys and the rest of > avocado-vt guys because some of their patches do not get enough > priority. Currently there is no maintainer from tp-spice group so to > improve the situati

Re: [Avocado-devel] Is anyone still using Autotest + Avocado-vt/virttest?

2017-02-27 Thread Lucas Meneghel Rodrigues
Porting the calls to the autotest API to avocado APIs is long overdue. With that, we can entirely drop dependency on autotest, simplifying bootstrap and deployment. On Mon, Feb 27, 2017 at 3:58 PM Lukáš Doktor wrote: > Hello guys, > > I was wondering whether anyone is still using Autotest to run

Re: [Avocado-devel] Propose Satheesh Rajendran to vt-maintainer group?

2017-02-28 Thread Lucas Meneghel Rodrigues
+1 On Tue, Feb 28, 2017 at 1:10 PM Yanbing Du wrote: > Hello guys, > > Recently we got some feedback that the patches from IBM do not get enough > priority, and the number of pending pull requests need to review or merge > is keep growing. Some reason is that some of our maintainers are now focu

[Avocado-devel] Make some avocado.utils.process APIs compatible with macOS

2017-03-04 Thread Lucas Meneghel Rodrigues
Let's discuss this particular topic a little bit. So I dedicated some time to make avocado self tests to run on macOS (see https://github.com/avocado-framework/avocado/pull/1834). This would be a first step to make macOS (new name of what was known as Mac OS X) a 2nd tier supported platform. This

[Avocado-devel] aexpect and inspektor modules transitioned from the autotest to the avocado-framework org

2017-03-09 Thread Lucas Meneghel Rodrigues
Hi guys, After some discussion on the subject, we decided to move aexpect and inspektor from their original homes in github.io/autotest to github.io/avocado. Github is kind enough to provide redirection from one domain to another, so users shouldn't be impacted. However, I would recommend that fro

Re: [Avocado-devel] miniRFC: Call `tearDown` after `setUp` failure

2017-03-23 Thread Lucas Meneghel Rodrigues
On Wed, Mar 22, 2017 at 7:05 PM Lukáš Doktor wrote: > Hello guys, > > I remember early in development we decided to abort the execution when > `setUp` fails without executing `tearDown`, but over the time I keep > thinking about it and I don't think it's optimal. My main reason is to > simplify `

[Avocado-devel] Aexpect 1.4.0 released

2017-04-03 Thread Lucas Meneghel Rodrigues
Hi guys, Just passing by to let you know aexpect 1.4.0 was released. This release contains one bugfix by Lukas and a new spec file package name, courtesy of Cleber. Pypi and spec files were properly updated. Cheers! Lucas

Re: [Avocado-devel] Tips for making a standalone test script Avocado-friendly?

2017-04-05 Thread Lucas Meneghel Rodrigues
Some quick thoughts about what you could do (points 1 and 2, other paragraphs are more thoughts on making avocado better for such cases): 1) For the cases using unittest, you could try to import avocado, if it fails, fall back to unittest.TestCase, such as try: from avocado import Test as Tes

[Avocado-devel] Inspektor 0.3.0 released

2017-05-05 Thread Lucas Meneghel Rodrigues
Hello folks, Considering that Cleber recently contributed support for py3 to inspektor (thank you very much, sir), I thought it was a good time to release a new upstream version. So there you go, we have inspektor 0.3.0 uploaded to pypi and tags were created appropriately on that repo. Cheers!

Re: [Avocado-devel] [RFC] Recursive Test Discovery

2017-06-01 Thread Lucas Meneghel Rodrigues
My 2 cents, I agree with Cleber here 100%. The current docstring tags are more of a workaround, and ideally none of that would be necessary, and it's worth to spend more time trying to get rid of it. About using only AST static analysis, this is the one reason why the docstring tags are being used

Re: [Avocado-devel] Maintainer nomination for tp-libvirt and avocado-vt

2017-08-04 Thread Lucas Meneghel Rodrigues
+1 On Fri, Aug 4, 2017 at 1:28 PM Guannan Sun wrote: > Hi, > > As people change in team, new maintainers required for step up on > maintaining avocado-vt/tp-libvirt projects. As tp-libvirt is still growing, > you could find data from past 8 months: > > > https://github.com/autotest/tp-libvirt/gr

Re: [Avocado-devel] Avocado Sprint #53 Release Meeting

2017-08-14 Thread Lucas Meneghel Rodrigues
Today I'm running some time sensitive errands, so I can't attend. Have a great sprint review meeting! On Mon, Aug 14, 2017 at 3:53 PM, Lukáš Doktor wrote: > Dne 11.8.2017 v 14:25 Amador Pahim napsal(a): >> Dear Avocado users and developers, >> >> I'd like to invite you all to a sprint release an

Re: [Avocado-devel] Request to backport PR 1376 to 36lts

2017-09-08 Thread Lucas Meneghel Rodrigues
Hi Guannan, Since 52.0 is the new LTS release, and since we usually only backport bugfixes, not features, I'd ask you if porting your stuff to 52.0 is an option. Because the request, as is, is something that I [1] would like to avoid. Please let me know of your current needs and let's see how we

Re: [Avocado-devel] Request to backport PR 1376 to 36lts

2017-09-08 Thread Lucas Meneghel Rodrigues
On Fri, Sep 8, 2017 at 1:04 PM Amador Pahim wrote: > On Fri, Sep 8, 2017 at 12:14 PM, Lucas Meneghel Rodrigues > wrote: > > Hi Guannan, > > > > Since 52.0 is the new LTS release, and since we usually only backport > > bugfixes, not features, I'd ask you

Re: [Avocado-devel] Request to backport PR 1376 to 36lts

2017-09-11 Thread Lucas Meneghel Rodrigues
On Mon, Sep 11, 2017 at 10:23 AM Lukáš Doktor wrote: > Hello Guannan, > > theoretically we should not accept such backport, because it's a new > feature, not a bugfix. Anyway it touches `avocado.utils` and it's not > changing existing callbacks. What do you think, guys? In my view the > `avocado/

Re: [Avocado-devel] RFC: avocado.utils.process (or, how to handle the split stdout/stderr recording)

2017-11-08 Thread Lucas Meneghel Rodrigues
On Wed, Nov 8, 2017 at 4:01 PM, Cleber Rosa wrote: > Hi everyone, > > This is kind of brainstorm about the really annoying issue we've trying > to deal with in Avocado. The root problem we're trying to fix is that > Avocado's "output check" feature can not be used when the test's > generated cont

Re: [Avocado-devel] May I apply for Maintainer role for avocado-vt?

2018-03-13 Thread Lucas Meneghel Rodrigues
+1 On Fri, Mar 2, 2018 at 10:53 AM, Chunfu Wen wrote: > Hi All, > > Thank Kyla for thumbing up! > By the way,some contribution details follow as: > 1)PR reviewed by me (dated from Aug 30, 2017):50,reference link: [1] > 2)PR submitted by me:7,reference link:[2] > > Best Regards, > > Chunfu Wen > >

Re: [Avocado-devel] Avocado on Wine

2018-04-17 Thread Lucas Meneghel Rodrigues
Nice :) I'm always impressed with what the wine guys can accomplish. And of course, avocado is keeping a tight implementation for this to be possible as well. Congrats guys! On Tue, Apr 17, 2018, 3:56 AM Cleber Rosa wrote: > I was so surprised the following worked, that I had to share it: > > --

Re: [Avocado-devel] Stalled PR's on GitHub

2018-08-15 Thread Lucas Meneghel Rodrigues
Ok, approved the 1st, requested changes on the 2nd. On Wed, Aug 15, 2018 at 1:42 PM Sergey Bronnikov wrote: > > Hello, > > could someone review these pull requests and commit if there is no objections? > https://github.com/avocado-framework/avocado-vt/pull/1717 > https://github.com/avocado-framewo

Re: [Avocado-devel] Suggest a new maintainer

2021-09-15 Thread Lucas Meneghel Rodrigues
You guys made a good case for YingShun. I'm onboard. I am on a couple of days of vacation, so if Cleber or Lukas can grant maintainership before I have access to a computer that'll be great. Otherwise I'll do it ASAP. Thanks! On Wed, Sep 15, 2021, 5:01 AM Luyao Huang wrote: > +1 > > In my opin

Re: [Avocado-devel] Suggest a new maintainer

2021-09-24 Thread Lucas Meneghel Rodrigues
25 AM Yi Sun wrote: >> >> +1 >> >> On Thu, Sep 16, 2021 at 8:27 AM Lucas Meneghel Rodrigues >> wrote: >>> >>> You guys made a good case for YingShun. I'm onboard. >>> >>> I am on a couple of days of vacation, so if Cl

Re: [Avocado-devel] Suggest a new maintainer

2021-09-24 Thread Lucas Meneghel Rodrigues
t to rely on avocado developers... Thank you > for looking into this and I'm sorry for not replying publicly. > > Regards, > Lukáš > > Dne 24. 09. 21 v 10:17 Lucas Meneghel Rodrigues napsal(a): > > Well I checked and YingShun is a member of the maintainers group: > >

Re: [Avocado-devel] Looking for a new name for the avocado.utils namespace

2022-03-11 Thread Lucas Meneghel Rodrigues
The name persea was considered a while ago wayy back when I was the project maintainer, so that would be my vote. On Fri, Mar 11, 2022 at 4:43 PM Ana Guerrero Lopez wrote: > > Hi! > > I'm working on a project to split avocado.utils and distribute it in a > separate git repository, also with a di