#130: ResultsDB: getting autotest test-ID on the client
-----------------------+----------------------------------------------------
Reporter: jskladan | Owner: jskladan
Type: task | Status: assigned
Priority: major | Milestone: Resultdb
Component: tests | Version: 1.0
Resolution: | Keywords:
-----------------------+----------------------------------------------------
Comment (by jlaska):
Replying to [comment:2 jskladan]:
I just tested the approach suggested by lmr, and it it is working
like
charm - all one needs to do is adding new parameter to the job.run_test()
call inside control file, e.g.:
job.run_test('initscripts', name=name, envr=envr, kojitag=kojitag,
config=autoqa_conf, job_tag = job.tag)
And then of course consume it inside the test itself:
def run_once(self, envr, name, kojitag, job_tag):
f = open(os.path.join(self.resultsdir, "JOB_TAG.readme"), 'w')
f.write( job_tag)
f.close()
We should consider changing all the tests so they can take advantage of
this, so i keep this ticket open.
The purpose for the job_tag is to provide a link back to the detailed test
results, right? Since we are using email as our interim results reporting
format, can we include the results URL (generated from the job_tag) in the
results emails sent to autoqa-devel?
Longer term, I suspect this will be needed by the
[
http://git.fedorahosted.org/git/?p=autoqa.git;a=blob;f=lib/python/rats.py...
report_results() method]. For providing a link to detailed results when
sending the summary to the resultsdb.
--
Ticket URL: <
https://fedorahosted.org/autoqa/ticket/130#comment:3>
AutoQA <
http://autoqa.fedorahosted.org>
Automated QA project