config file changes required
by Kamil Paral
Hello,
today I pushed the following patch to master:
commit 1bdaf24 (HEAD, refs/remotes/origin/master, refs/remotes/origin/HEAD, refs/heads/master)
Author: Kamil Páral <kparal(a)redhat.com>
Date: Fri Feb 10 13:31:12 2012 +0100
use centralized Config class for all configuration
This patch introduces a new Config class that centralizes all
configuration. Individual modules don't need to parse the config files
manually any more.
Detailed changelog:
* new class autoqa.config.Config - it has pre-populated defaults for
all options and everything has correct type; throws exception if
config files contents are invalid
* united all secret configuration in secrets.conf, removed fas.conf and
yourls.conf
* tests no longer receive 'autoqa_conf' variable. Everything is
available in the Config class. The only thing that need to be passed
from server is jobtag, which is available under
autoqa_args['config']['jobtag']
* removed some no longer needed methods from autoqa.util; some of them
had to be decoupled from Config and became too complex to use
Fixes #255, #335.
It means there are some changes you need to do after you update your git repository:
1. Merge changes into your /etc/autoqa/autoqa.conf
2. Move yourls/FAS credentials from /etc/autoqa/{yourls,fas}.conf into /etc/autoqa/secrets.conf
3. Delete /etc/autoqa/{yourls,fas}.conf
That should be all :)
12 years, 2 months
[AutoQA] #335: autotest_server autodetection fails
by fedora-badges
#335: autotest_server autodetection fails
--------------------+-------------------------------------------------------
Reporter: kparal | Owner:
Type: defect | Status: new
Priority: minor | Milestone: Finger Food
Component: core | Keywords:
--------------------+-------------------------------------------------------
Currently if we want to have working hyperlinks to logs, we have to fill
in 'autotest_server' in autoqa.conf, because autodetection from hostname
get's overwritten by empty value from the log.
The links then look like this:
http:///results/20-root/brutus.test.redhat.com/helloworld/results/full.log
/autoqa:
{{{
# Hardcoded defaults for the 'general' section
conf = {
'local': 'false',
'testdir': '/usr/share/autotest/client/site_tests',
'eventdir': '/usr/share/autoqa/events',
'notification_email': '',
'autotest_server': socket.gethostname(),
}
conf = autoqa_conf.get_section('general', conf)
conf = autoqa_conf.get_section('notifications', conf)
# FIXME: conf['autotest_server'] gets overwritten here by empty value
coming
# from autoqa_conf
}}}
We can solve this by some easy hack or more properly by solving ticket
#255.
--
Ticket URL: <https://fedorahosted.org/autoqa/ticket/335>
AutoQA <http://autoqa.fedorahosted.org>
Automated QA project
12 years, 2 months
[AutoQA] #406: rpmlint crashes with KeyError [waiting upstream]
by fedora-badges
#406: rpmlint crashes with KeyError [waiting upstream]
---------------------+-------------------
Reporter: kparal | Owner:
Type: defect | Status: new
Priority: major | Milestone: 0.8.0
Component: tests | Keywords:
Blocked By: | Blocking:
---------------------+-------------------
Sometimes our tests crashes due to an rpmlint bug.
{{{
ibus.src:399: W: macro-in-comment %{_sysconfdir}
7 packages and 0 specfiles checked; 58 errors, 14 warnings.
Traceback (most recent call last):
File "/usr/bin/rpmlint", line 379, in <module>
main()
File "/usr/bin/rpmlint", line 169, in main
runChecks(pkg)
File "/usr/bin/rpmlint", line 229, in runChecks
check.check(pkg)
File "/usr/share/rpmlint/SpecCheck.py", line 143, in check
self.check_spec(pkg, self._spec_file)
File "/usr/share/rpmlint/SpecCheck.py", line 567, in check_spec
pkgfile = pkg.files()[url.split("/")[-1]]
KeyError: 'ibus-gjs-3.2.1.20111230.tar.gz'
}}}
Reported here: https://bugzilla.redhat.com/show_bug.cgi?id=789270
--
Ticket URL: <https://fedorahosted.org/autoqa/ticket/406>
AutoQA <http://autoqa.fedorahosted.org>
Automated QA project
12 years, 2 months
[AutoQA] #397: upgradepath: pending builds checking is broken
by fedora-badges
#397: upgradepath: pending builds checking is broken
---------------------+------------------------
Reporter: kparal | Owner:
Type: defect | Status: new
Priority: major | Milestone: Hot issues
Component: tests | Keywords:
Blocked By: | Blocking:
---------------------+------------------------
I found these weird reports in upgradepath output:
{{{
13:18:04 INFO |
============================================================
13:18:04 INFO | drupal7-views-3.0-1.fc15 into dist-f15-updates
13:18:04 INFO |
============================================================
13:18:05 INFO | [ OK ] dist-f15
13:18:05 INFO | Latest package: None
13:18:08 INFO | [FAIL] f16 + f16-updates
13:18:08 INFO | Latest package: drupal7-views-3.0-0.1.rc3.fc16
13:18:08 INFO | Latest pending package: drupal7-views-3.0-1.el5
13:18:08 INFO | Error: Tested package must be less than or equal
to the latest (pending) package.
13:18:08 INFO | [FAIL] f17
13:18:08 INFO | Latest package: drupal7-views-3.0-0.1.rc3.fc17
13:18:08 INFO | Latest pending package: None
13:18:08 INFO | Error: Tested package must be less than or equal
to the latest (pending) package.
13:18:08 INFO | RESULT: FAILED
}}}
Pending package is .el5, instead of .fc16.
Or:
{{{
13:27:58 INFO |
============================================================
13:27:58 INFO | gdb-7.3.1-47.fc15 into dist-f15-updates
13:27:58 INFO |
============================================================
13:27:59 INFO | [ OK ] dist-f15
13:27:59 INFO | Latest package: gdb-7.2.90.20110429-36.fc15
13:28:03 INFO | [ OK ] f16 + f16-updates
13:28:03 INFO | Latest package: gdb-7.3.50.20110722-10.fc16
13:28:03 INFO | Latest pending package: gdb-7.3.1-47.fc15
13:28:04 INFO | [ OK ] f17
13:28:04 INFO | Latest package: gdb-7.4.50.20120103-4.fc17
13:28:04 INFO | Latest pending package: None
13:28:04 INFO | RESULT: PASSED
}}}
Pending package is .fc15 instead of .fc16.
After some manual attempts it seems that this is a bug in the Bodhi client
library. Reported upstream:
https://fedorahosted.org/bodhi/ticket/657
Let's have this ticket open until the upstream bug is fixed.
--
Ticket URL: <https://fedorahosted.org/autoqa/ticket/397>
AutoQA <http://autoqa.fedorahosted.org>
Automated QA project
12 years, 2 months
another set of incorrectly tagged builds
by Kamil Paral
Hey Luke, here is another batch.
Some of them are from Oct 2011, which is really weird. I understand it might be hard to find the actual bugs that cause invalid tagging. Can we at least as a partial remedy set up that tag-sanity-checking script of yours to run periodically and automatically fix problems it finds (like builds being tagged into -updates and -updates-pending at the same time)?
Thanks,
Kamil
$ koji list-tag-history --build firefox-7.0.1-3.fc15
Mon Oct 24 16:44:58 2011: firefox-7.0.1-3.fc15 tagged into dist-f15-updates-candidate by stransky
Mon Oct 24 16:52:53 2011: firefox-7.0.1-3.fc15 tagged into dist-f15-updates-testing-pending by bodhi
Thu Oct 27 01:17:38 2011: firefox-7.0.1-3.fc15 untagged from dist-f15-updates-candidate by bodhi
Thu Oct 27 01:17:38 2011: firefox-7.0.1-3.fc15 tagged into dist-f15-updates-testing by bodhi
Thu Oct 27 01:23:17 2011: firefox-7.0.1-3.fc15 untagged from dist-f15-updates-testing-pending by bodhi
Fri Oct 28 16:33:52 2011: firefox-7.0.1-3.fc15 tagged into dist-f15-updates-pending by bodhi [still active]
Fri Oct 28 18:44:07 2011: firefox-7.0.1-3.fc15 tagged into dist-f15-updates by ausil [still active]
Thu Jan 19 05:15:16 2012: firefox-7.0.1-3.fc15 untagged from dist-f15-updates-testing by oscar
$ koji list-tag-history --build kernel-2.6.41.9-1.fc15
Fri Jan 13 19:11:42 2012: kernel-2.6.41.9-1.fc15 tagged into dist-f15-updates-candidate by jwboyer
Fri Jan 13 20:03:34 2012: kernel-2.6.41.9-1.fc15 tagged into dist-f15-updates-testing-pending by bodhi
Fri Jan 13 20:06:53 2012: kernel-2.6.41.9-1.fc15 untagged from dist-f15-updates-testing-pending by bodhi
Fri Jan 13 20:06:53 2012: kernel-2.6.41.9-1.fc15 tagged into dist-f15-updates-testing-pending by bodhi
Fri Jan 13 20:07:46 2012: kernel-2.6.41.9-1.fc15 untagged from dist-f15-updates-testing-pending by bodhi
Fri Jan 13 20:07:46 2012: kernel-2.6.41.9-1.fc15 tagged into dist-f15-updates-testing-pending by bodhi
Sat Jan 14 00:40:32 2012: kernel-2.6.41.9-1.fc15 untagged from dist-f15-updates-candidate by bodhi
Sat Jan 14 00:40:32 2012: kernel-2.6.41.9-1.fc15 tagged into dist-f15-updates-testing by bodhi
Sat Jan 14 00:48:36 2012: kernel-2.6.41.9-1.fc15 untagged from dist-f15-updates-testing-pending by bodhi
Sat Jan 14 21:33:47 2012: kernel-2.6.41.9-1.fc15 tagged into dist-f15-updates-pending by bodhi [still active]
Sun Jan 15 16:19:04 2012: kernel-2.6.41.9-1.fc15 untagged from dist-f15-updates-testing by lmacken
Sun Jan 15 16:19:04 2012: kernel-2.6.41.9-1.fc15 tagged into dist-f15-updates by lmacken [still active]
$ koji list-tag-history --build kernel-3.1.9-1.fc16
Fri Jan 13 19:42:54 2012: kernel-3.1.9-1.fc16 tagged into f16-updates-candidate by jwboyer
Fri Jan 13 21:58:19 2012: kernel-3.1.9-1.fc16 tagged into f16-updates-testing-pending by bodhi
Sat Jan 14 00:40:41 2012: kernel-3.1.9-1.fc16 untagged from f16-updates-candidate by bodhi
Sat Jan 14 00:40:41 2012: kernel-3.1.9-1.fc16 tagged into f16-updates-testing by bodhi
Sat Jan 14 00:48:36 2012: kernel-3.1.9-1.fc16 untagged from f16-updates-testing-pending by bodhi
Sun Jan 15 11:30:57 2012: kernel-3.1.9-1.fc16 tagged into f16-updates-pending by bodhi [still active]
Sun Jan 15 16:19:21 2012: kernel-3.1.9-1.fc16 untagged from f16-updates-testing by lmacken
Sun Jan 15 16:19:21 2012: kernel-3.1.9-1.fc16 tagged into f16-updates by lmacken [still active]
$ koji list-tag-history --build mod_revocator-1.0.3-7.fc16
Tue Oct 25 03:07:59 2011: mod_revocator-1.0.3-7.fc16 tagged into f16-updates-candidate by kwright
Tue Oct 25 03:13:47 2011: mod_revocator-1.0.3-7.fc16 tagged into f16-updates-testing-pending by bodhi
Tue Oct 25 03:33:38 2011: mod_revocator-1.0.3-7.fc16 untagged from f16-updates-candidate by bodhi
Tue Oct 25 03:33:38 2011: mod_revocator-1.0.3-7.fc16 tagged into f16-updates-testing by bodhi
Tue Oct 25 03:39:10 2011: mod_revocator-1.0.3-7.fc16 untagged from f16-updates-testing-pending by bodhi
Fri Oct 28 02:58:22 2011: mod_revocator-1.0.3-7.fc16 untagged from f16-updates-testing by bodhi
Wed Nov 2 14:00:32 2011: mod_revocator-1.0.3-7.fc16 tagged into trashcan by oscar
Wed Nov 2 18:43:56 2011: mod_revocator-1.0.3-7.fc16 tagged into f16-updates-pending by bodhi [still active]
Thu Nov 3 09:25:51 2011: mod_revocator-1.0.3-7.fc16 untagged from trashcan by oscar
$ koji list-tag-history --build mozilla-adblockplus-1.3.10-4.fc16
Thu Jan 19 20:44:29 2012: mozilla-adblockplus-1.3.10-4.fc16 tagged into f16-updates-candidate by niveusluna
Fri Jan 20 18:34:42 2012: mozilla-adblockplus-1.3.10-4.fc16 tagged into f16-updates-testing-pending by bodhi
Fri Jan 20 21:09:24 2012: mozilla-adblockplus-1.3.10-4.fc16 untagged from f16-updates-candidate by bodhi
Fri Jan 20 21:09:24 2012: mozilla-adblockplus-1.3.10-4.fc16 tagged into f16-updates-testing by bodhi [still active]
Fri Jan 20 21:14:58 2012: mozilla-adblockplus-1.3.10-4.fc16 untagged from f16-updates-testing-pending by bodhi
Fri Jan 20 23:43:49 2012: mozilla-adblockplus-1.3.10-4.fc16 tagged into f16-updates-pending by bodhi [still active]
Sat Jan 21 04:57:30 2012: mozilla-adblockplus-1.3.10-4.fc16 tagged into f16-updates by ausil [still active]
12 years, 2 months
[AutoQA] #405: Bodhi account not working
by fedora-badges
#405: Bodhi account not working
-------------------------+------------------------
Reporter: kparal | Owner:
Type: task | Status: new
Priority: blocker | Milestone: Hot issues
Component: production | Keywords:
Blocked By: | Blocking:
-------------------------+------------------------
Tests trying to send results to Bodhi fail:
{{{
02/03 07:57:22 ERROR|bodhi_util:0278| An error occured: Unable to log into
server. Invalid authentication tokens. Send new username and password
02/03 07:57:22 ERROR|bodhi_util:0279| Could not connect to bodhi!
02/03 07:57:22 ERROR|bodhi_util:0279| Could not post a comment to bodhi
}}}
I can't log into FAS account either. Something is broken.
--
Ticket URL: <https://fedorahosted.org/autoqa/ticket/405>
AutoQA <http://autoqa.fedorahosted.org>
Automated QA project
12 years, 2 months