[AutoQA] #247: upgradepath: possible broken-updates scenario for new packages
by fedora-badges
#247: upgradepath: possible broken-updates scenario for new packages
--------------------+-------------------------------------------------------
Reporter: kparal | Owner:
Type: defect | Status: new
Priority: major | Milestone:
Component: tests | Keywords:
--------------------+-------------------------------------------------------
Here is a scenario that will create broken upgrade path and our current
tests will not catch it:
1. Package foo is available for F12 (foo-1.0-1.fc12), but not for F13.
2. foo-1.0-1.fc13 is sent to f13-updates-pending as a new package update.
upgradepath passes.
3. foo-2.0-1.fc12 is sent to f12-updates-pending. Since there is still no
foo in F13 (AutoQA passed but it has not been pushed by RelEng team),
upgradepath passes.
4. foo-2.0-1.fc12 is pushed to f12-updates.
5. foo-1.0-1.fc13 is pushed to f13-updates.
6. Broken upgrade path.
What can we do about it?
We can break the scenario between steps 4 and 5. But we can't probably do
that just by watching -pending tags. This requires cooperation from the
updates manager (i.e. Bodhi). Bodhi must know that if some foo build
enters f12-updates, and there is also another foo build in f13-updates-
pending, it must notify us (over Fedora Message Bus) and ask us to retest
the latter build.
We can also break the scenario between steps 2 and 3. When we run
upgradepath on foo in f12-updates-pending, we can take into account not
just f13-updates, but also f13-updates-pending. But this is quite
controversial. Some builds in -updates-pending may be denied by RelEng
team, but we could have failed some other builds because of them.
We will probably solve this ticket only when we have advanced
infrastructure ready (ResultDB, Fedora Message Bus). Without it this seems
pretty hard to be solved properly.
--
Ticket URL: <https://fedorahosted.org/autoqa/ticket/247>
AutoQA <http://autoqa.fedorahosted.org>
Automated QA project
12 years, 6 months
[AutoQA] #246: Add temporary hack for test re-scheduling
by fedora-badges
#246: Add temporary hack for test re-scheduling
--------------------+-------------------------------------------------------
Reporter: kparal | Owner:
Type: task | Status: new
Priority: major | Milestone: 0.4.4
Component: core | Keywords:
--------------------+-------------------------------------------------------
Until we have a proper support for test re-scheduling (ticket #245) we
need some temporary hack to enable test re-scheduling in most common
cases.
We plan to have upgradepath and depcheck sending comments to Bodhi. There
is probably no problem with depcheck, because it re-evaluates the whole
contents of -pending tag on its every update. But there are some issues
with upgradepath, one use case is described in ticket #245.
We need to:
1. get a list of use cases for which we need to reschedule upgradepath or
depcheck
2. inquire whether Bodhi changes timestamp (or whatever) of the updates
in those cases (i.e. we would detect it and run tests again properly even
with our current watcher implementation)
3. in the remaining cases decide what to do with it. For example we can
make temporary upgradepath behave the same way as depcheck does, i.e. test
all builds in -updates-pending for every update of that tag. Because we
will have Bodhi comment duplication prevention, it could work quite fine.
--
Ticket URL: <https://fedorahosted.org/autoqa/ticket/246>
AutoQA <http://autoqa.fedorahosted.org>
Automated QA project
12 years, 6 months
depcheck test, version 2
by Will Woods
This patch adds the depcheck test. Detailed change info/development history
can be found by poking around the 'depcheck' branch.
This version of the patch should address all the issues found by James and
Kamil[1] in their reviews. (Thanks for the feedback, guys.)
The most interesting bit is that depcheck_main was split into two parts:
do_depcheck and print_depcheck_results. do_depcheck returns much more info
than depcheck_main did, which allows for more unittests and things.
(nearly) full list of changes since the last version of this patch:
* test:
- separate files for CLI, library, and unittests
- handle pending/accepted like normal yum repos (use YumBase.add_enable_repo)
- handle new packages (i.e. not updates to existing packages) correctly
- refactor depcheck_main into do_depcheck and print_depcheck_results
- add unittests for new packages and ignored packages
* wrapper:
- install mash in setup()
- add missing 'import re'
- initialize results dict
- fetch_nvrs(): fix missing 'koji', fix filename arg, download status output
- use new query_update() and bodhi_already_commented() methods
- fix NameError caused by missing 'updateid' variable
* control files:
- fix incorrect comment in control.autoqa
[1] ..except the 'tags and timing' problem of pending/accepted changing during
the test. That still need to be addressed, but first we need code to work with!
tests/depcheck/control | 14 +
tests/depcheck/control.autoqa | 6 +
tests/depcheck/depcheck | 96 +++++++
tests/depcheck/depcheck.py | 185 +++++++++++++
tests/depcheck/depcheck_lib.py | 337 +++++++++++++++++++++++
tests/depcheck/depcheck_unittests.py | 489 ++++++++++++++++++++++++++++++++++
6 files changed, 1127 insertions(+), 0 deletions(-)
-w
12 years, 7 months
[AutoQA] #264: Run eclipse test suite for new eclipse koji builds
by fedora-badges
#264: Run eclipse test suite for new eclipse koji builds
--------------------+-------------------------------------------------------
Reporter: jlaska | Owner:
Type: task | Status: new
Priority: minor | Milestone: Future test cases
Component: tests | Keywords:
--------------------+-------------------------------------------------------
Spoke to overholt at FUDCon Tempe and he would like to have the existing
eclipse test suite run each time the 'eclipse' package is built in koji.
The initial estimate of work involves ...
1. Create a test wrapper responsible for downloading koji packages,
preparing test configuration, run test, send results to eclipse-
owner(a)fedoraproject.org
2. <what else>?
Overholt can provide more details on test configuration aspects. Andrew,
if you are able to create a script (bash or python), that handles
preparing the tests and executing them. We can then integrate that within
AutoQA.
--
Ticket URL: <https://fedorahosted.org/autoqa/ticket/264>
AutoQA <http://autoqa.fedorahosted.org>
Automated QA project
12 years, 7 months
[AutoQA] #263: Run kvm-autotest test suite for new virt* koji builds
by fedora-badges
#263: Run kvm-autotest test suite for new virt* koji builds
--------------------+-------------------------------------------------------
Reporter: jlaska | Owner:
Type: task | Status: new
Priority: minor | Milestone: Future test cases
Component: tests | Keywords:
--------------------+-------------------------------------------------------
jforbes requested running kvm-autotest in the Fedora
Run upstream kvm-autotest suite for koji builds. Preliminary estimate on
the work involved includes ...
1. Create/use test wrapper - download koji builds, download/locate ISO's,
parse results and email to -owner(a)fedoraproject.org
2. Figure out how and where to store release-specific test configuration
(dist-git)
3. Identify additional bare-metal hardware to deploy in
autoqa.fedoraproject.org (AMD)
4. Create/maintain Fedora+1 (e.g. F15), Fedora (e.g. F14) and Fedora-1
(e.g. F13) releases
--
Ticket URL: <https://fedorahosted.org/autoqa/ticket/263>
AutoQA <http://autoqa.fedorahosted.org>
Automated QA project
12 years, 8 months
Update to autoqa-0.4.4-0.1.pre
by James Laska
Hey gang,
Kamil asked to start pulling together some early builds for the upcoming 0.4.4
release. I've included a patch to update the spec file and adjust the
%changelog. I tried to generate a meaningful (but not overly verbose)
%changelog using the command:
# git log --format="%h %gd %s (%aE)" --date short v0.4.3-1..HEAD
Please let me know if I missed anything.
Thanks,
James
12 years, 8 months