----- "Alexander Todorov" atodorov@redhat.com wrote:
Some questions: How do I test my changes before sending them as paches?
By installing autotest+autoqa and trying if it works. Currently you need both autotest server and client to test it. Maybe if Will accepts patch in ticket #52 it could help, because then you could just install only the autotest client: https://fedorahosted.org/autoqa/ticket/52
On Mon, 2009-10-26 at 05:59 -0400, Kamil Paral wrote:
----- "Alexander Todorov" atodorov@redhat.com wrote:
Some questions: How do I test my changes before sending them as paches?
By installing autotest+autoqa and trying if it works. Currently you need both autotest server and client to test it. Maybe if Will accepts patch in ticket #52 it could help, because then you could just install only the autotest client: https://fedorahosted.org/autoqa/ticket/52
This topic came up elsewhere last week, how do you test your tests? Our current approach is to say ... just run your tests. This works great, but perhaps we can also offer testing in a 'autotest' environment. I think Kamil's ticket now makes sense to me.
Kamil ... is there any documentation needed to help setup the environment as you have done in ticket#52?
Thanks, James
Kamil Paral wrote:
----- "Alexander Todorov" atodorov@redhat.com wrote:
Some questions: How do I test my changes before sending them as paches?
By installing autotest+autoqa and trying if it works.
Hmm, that doesn't seem to work out of the box.
On a RHEL5.4 system I've installed the autotest server as per [1]. I've used exactly the same commands as in the wiki, even not changing the default password (it's a test machine).
When I try to add a client machine as per [2] and click on Admin Interface i see the message:
Welcome debug_user.
Site administration You don't have permission to edit anything.
Any idea how can I login as autoest user (or admin user) ?
Links: 1 - https://fedoraproject.org/wiki/Install_and_configure_autotest 2 - https://fedoraproject.org/wiki/How_to_add_autotest_clients
Thanks, Alexander.
On Wed, 2009-11-04 at 10:08 +0200, Alexander Todorov wrote:
Kamil Paral wrote:
----- "Alexander Todorov" atodorov@redhat.com wrote:
Some questions: How do I test my changes before sending them as paches?
By installing autotest+autoqa and trying if it works.
Hmm, that doesn't seem to work out of the box.
On a RHEL5.4 system I've installed the autotest server as per [1]. I've used exactly the same commands as in the wiki, even not changing the default password (it's a test machine).
When I try to add a client machine as per [2] and click on Admin Interface i see the message:
Welcome debug_user.
Site administration You don't have permission to edit anything.
Any idea how can I login as autoest user (or admin user) ?
Links: 1 - https://fedoraproject.org/wiki/Install_and_configure_autotest 2 - https://fedoraproject.org/wiki/How_to_add_autotest_clients
Sorry for late reply!
Thanks for helping to review the docs. I believe you've done everything correctly. I've noticed that once you perform that last step ...
# mysql -u root -p -e 'update autotest_web.auth_user set is_superuser=1;'
That sometimes the change doesn't take affect on the active running server. Not sure why, but try:
# service httpd restart # service mysqld restart
I forget if that was the right mix of changes to get it working properly. Can you confirm, and I'll update the wiki doc?
Thanks, James
autoqa-devel@lists.fedorahosted.org