[AutoQA] #244: Find the best way how to use fas.conf
by fedora-badges
#244: Find the best way how to use fas.conf
--------------------+-------------------------------------------------------
Reporter: kparal | Owner:
Type: task | Status: new
Priority: major | Milestone: 0.4.4
Component: core | Keywords:
--------------------+-------------------------------------------------------
For the purpose of sending comments to Bodhi, we need a configuration file
fas.conf containing username and password of the autoqa user in the Fedora
Account System. The problem is that it's not sufficient to have this
configuration file defined on AutoQA server, because we need to send these
comments from the clients. Find a best way how to achieve that.
Suggestions:
1. fas.conf on every client - tedious and hard to maintain
1. fas.conf on some clients - we can use autotest labels to mark only a
few clients as containing fas.conf; tests using fas.conf would then
require these clients; fas.conf checksum may be compared to decide whether
client's fas.conf is up-to-date
1. copy fas.conf from the server, but don't store it in the results dir -
ideal, if autotest server supports this, need some investigation
1. ask some service to send a comment - it may run this on the server,
but it's another layer, need to solve authentication and so on
This is probably a temporary hack until we have better solution based on
ResultDB, so some simple solution is preferred.
--
Ticket URL: <https://fedorahosted.org/autoqa/ticket/244>
AutoQA <http://autoqa.fedorahosted.org>
Automated QA project
13 years, 5 months
[PATCH] Updated the test template
by Josef Skladanka
Just a minor fix in the templates - we changed the ExceptionCatcher
decorator & the tests, but we forgot to change the test template.
---
doc/test_class.py.template | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/doc/test_class.py.template b/doc/test_class.py.template
index 00aef9d..590bd16 100644
--- a/doc/test_class.py.template
+++ b/doc/test_class.py.template
@@ -43,7 +43,7 @@ class testclassname(AutoQATest): # <-- UPDATE Classname
# This is where you make sure that any required packages are installed,
# services are started, your test code is compiled, and so on. This is
# an optional method.
- #@ExceptionCatcher("self.setup_failed")
+ #@ExceptionCatcher()
#def setup(self, some_params, **kwargs):
# utils.system('yum -y install yum-utils')
@@ -51,7 +51,7 @@ class testclassname(AutoQATest): # <-- UPDATE Classname
# typically use this method to parse the autoqa config data passed from
# the server or create some empty result structures. This is an optional
# method - if you don't need to initialize anything, delete this block.
- #@ExceptionCatcher("self.initialize_failed")
+ #@ExceptionCatcher()
#def initialize(self, config, **kwargs): #**kwargs needs to stay
# super(testclassname, self).initialize(config) # <-- UPDATE Classname
# #your extra initialization code goes here
@@ -63,7 +63,7 @@ class testclassname(AutoQATest): # <-- UPDATE Classname
# self.summary: one line test result summary
# self.outputs: full test output (string or list of strings)
# self.highlights: important lines to notice (string or list of strings)
- @ExceptionCatcher("self.run_once_failed")
+ @ExceptionCatcher()
def run_once(self, some_params, **kwargs): #**kwargs needs to stay
cmd = 'test_binary --param %s' % some_params
self.outputs = utils.system_output(cmd, retain_output=True)
--
1.7.2.3
13 years, 5 months
Re: F14 / Python 2.7?
by Kamil Paral
----- "Will Woods" <wwoods(a)redhat.com> wrote:
> Hi folks,
>
> This has been sitting in my TODO list for a while so I figured I'd
> ask:
> Has anyone tested autoqa with Python 2.7 (e.g. a Fedora 14 server or
> test host)?
I did a quick test with F14 single machine server/host (using --local
scheduling) and everything seems to work fine.
13 years, 5 months
F14 / Python 2.7?
by Will Woods
Hi folks,
This has been sitting in my TODO list for a while so I figured I'd ask:
Has anyone tested autoqa with Python 2.7 (e.g. a Fedora 14 server or
test host)?
-w
13 years, 5 months