----- Original Message -----
From: "Kamil Paral" <kparal(a)redhat.com>
To: "AutoQA development" <autoqa-devel(a)lists.fedorahosted.org>
Sent: Wednesday, January 25, 2012 11:05:19 PM
Subject: Re: rats_install test updated for review
> 1. ARCH is not filled in. Please fill it in.
>
https://fedoraproject.org/wiki/Writing_AutoQA_Tests#Architecture
>
> 2. SUMMARY is not filled in. Please fill it in.
>
https://fedoraproject.org/wiki/Writing_AutoQA_Tests#Summary
> For example you can state which installation stage failed, or
> that
> all stages passed
>
> 3. There is only 20 minutes time limit for package installation.
> That
> is insanely low limit. On the beaker machine I borrowed I managed
> to
> do just one installation properly (packages installed in 19
> minutes), all other attempts took longer and the installation was
> aborted. I propose to raise the limit to 40 minutes.
>
> 4. I don't really understand why there is about 2-4 minutes delay
> between ./install.py is run and between first anaconda test
> (.treeinfo check) is executed. It can be easily seen from the logs.
> Can you investigate?
>
> 5. There seems to be some garbage characters in stage1.log and
> particularly in stage2.log. That breaks our tests, because we grep
> for certain phrases and sometimes the phrases are mixed with
> unreadable characters. What's the cause?
>
> 6. After the test run ends, all anaconda logs are transferred onto
> the server into
> ~autotest/results/test_id/machine/rats_install/results/anaconda/.
> Unfortunately the last 'anaconda' directory has permissions
> rwx------ and therefore it is not visible from the web front-end
> (httpd user can't access it). We have to fix this somehow (setting
> permissions when creating it is the easiest solution, but I wonder
> whether there is something more elegant than that).
>
> 7. When debugging this test, I wanted to connect to the VM that was
> being installed to have better grasp of what's going on.
> Unfortunately the serial port didn't work, I couldn't log in over
> that (we use it probably for our purposes already). So I had to add
> 'sshd' boot option to anaconda to be able to ssh into the machine.
> This could be enabled by default, what do you think?
I have started to work on the aforementioned issues. Currently
everything except 5 and 6 is solved. After you return, Hongqing,
don't forget to pull new commits.
Kamil,
Thanks for all you have done. I saw you have moved the anaconda.py and analog.py from
/lib/autoqa/ to /tests/rats_install/, I am afraid we have to move it back in future,
since other tests, e.g. anaconda_install which installs guest from ISOs will use
those functions, too.
About problem 5, those unreadable characters are control sequences, it seems python
could interpret it, have you hit any problem?
Hongqing