4499 Commits

Author SHA1 Message Date
Stephan Kulow
ea9061ccf5 Import urllib2 python agnostic 2018-11-16 09:01:45 +01:00
Stephan Kulow
ac7b288e74 Store data as binary in the cache 2018-11-16 08:56:36 +01:00
Stephan Kulow
fa7be820c9 Remove the reduce call the brute force way
reduce() is no longer part of python core, but we don't
need it actually - since we use remote configs, we have
no more required settings (otherwise we put them in remote).

And to quote the python docu as I found it interestingly
proving my own impression of this code:

> Removed reduce(). Use functools.reduce() if you really need it;
  however, 99 percent of the time an explicit for loop is more readable.
2018-11-16 08:56:18 +01:00
Stephan Kulow
159c672cf1 basestring is gone - in favor or str (which also works for python2) 2018-11-16 08:56:10 +01:00
Stephan Kulow
1bc90f978d rabbit-openqa: fix imports for python3 2018-11-16 08:14:56 +01:00
Stephan Kulow
24ae4ba819 Port more code to run under python3
(python2 compat kept)
2018-11-16 08:14:56 +01:00
Jimmy Berry
1c92d8ae99
Merge pull request #1787 from jberry-suse/travis-python3
travis: add test jobs against osc python3 branch for both python 2 and 3.
2018-11-15 12:07:58 -06:00
Jimmy Berry
5a0dd69e0c travis: add test jobs against osc python3 branch for both python 2 and 3. 2018-11-15 11:54:38 -06:00
Jimmy Berry
f936dc2f47
Merge pull request #1773 from jberry-suse/travis-email
travis: configure notification e-mail to internal list.
2018-11-13 16:46:08 -06:00
Stephan Kulow
56a2f400e1
Merge pull request #1781 from coolo/add_recommends_flag
pkglistgen: Support a recommends flag in the OUTPUT
2018-11-13 07:01:28 +01:00
Stephan Kulow
96dd443c33
Merge pull request #1783 from jberry-suse/ReviewBot-patchinfo
ReviewBot: accept patchinfo action reviews instead of ignore.
2018-11-13 07:00:40 +01:00
Stephan Kulow
7014285550
Merge pull request #1767 from coolo/fix_check_command
Support OBS checks instead of openqa
2018-11-13 06:59:49 +01:00
Jimmy Berry
ac798df607 ReviewBot: accept patchinfo action reviews instead of ignore.
Ignore is used to wait for a change to occur while patchinfo should never
affect the result. Since all actions must be accepted for the request to
be accepted setting patchinfo to accept is the correct way to ignore it.
2018-11-12 16:22:27 -06:00
Stephan Kulow
c308140ab2 pkglistgen: Start documentation
So far only groups.yml documented
2018-11-12 11:51:08 +01:00
Stephan Kulow
a47ffacfc1 pkglistgen: Support a recommends flag in the OUTPUT 2018-11-12 11:50:57 +01:00
Stephan Kulow
a0c9375a92 Adapt the unselect test to the current state
There are no revoked requests in Factory today - not perfect, but writing
this json file manually is not perfect either
2018-11-11 19:42:08 +01:00
Stephan Kulow
41a0c3902c Disable DEBUG for obs requests, it makes reading test failures very hard 2018-11-11 19:42:08 +01:00
Stephan Kulow
fd468e2c9c Do not crash on staging projects without status (gcc7) 2018-11-11 19:42:08 +01:00
Stephan Kulow
e1711a2812 Support OBS checks instead of openqa
Updated the test fixtures to current state, so we
don't test on old data
2018-11-11 19:42:08 +01:00
Stephan Kulow
2a9183f2b8
Merge pull request #1777 from coolo/dont_cache_attributes
Reduce cache time of attributes
2018-11-10 11:13:24 +01:00
Stephan Kulow
fa1c5c56e2 Caching attributes is not worth it and creates problems
Especially caching the lockedby attribute makes it basically
impossible to work with multiple persons
2018-11-10 10:06:13 +01:00
Stephan Kulow
3310ec0c63
Merge pull request #1780 from jberry-suse/staging-report
openqa-comments: rework openQA report as status check report (and thus rename as well)
2018-11-10 08:35:35 +01:00
Jimmy Berry
340fd09937 systemd/staging-report: include --debug flag to provide actual output. 2018-11-09 16:26:35 -06:00
Jimmy Berry
bea4a5bb75 Rename openqa-comments to staging-report to more accurately reflect new role. 2018-11-09 16:09:25 -06:00
Jimmy Berry
e1fac3e900 osclib/comments: force encoding to ascii to avoid OBS 400 errors. 2018-11-09 16:09:25 -06:00
Jimmy Berry
8272c18dcf openqa-comments: replace custom comment marker with standard, simplify and correct comment logic. 2018-11-09 16:09:25 -06:00
Jimmy Berry
89174c9e0f openqa-comments: rework openQA report as status check report. 2018-11-09 16:09:25 -06:00
Jimmy Berry
aa7a46f45e openqa-comments: utilize StagingAPI.project_status() instead of duplicating. 2018-11-09 16:09:25 -06:00
Jimmy Berry
b830928bed openqa-comments: cleanup help text wording and defaults. 2018-11-09 16:09:16 -06:00
Jimmy Berry
c39fa33581
Merge pull request #1764 from michelmno/remove_ppc64_tw
[ttm] remove ppc64 (BE) for TW tempo bypass boo#1112920
2018-11-09 11:45:40 -06:00
Stephan Kulow
3aae284ff2
Merge pull request #1778 from coolo/fix_untracked_in_adi
adi: Fix format for untracked requests
2018-11-09 08:50:52 +01:00
Stephan Kulow
7ad0bb5e06 adi: Fix format for untracked requests
Fixes #1776
2018-11-09 08:28:35 +01:00
Jimmy Berry
f4371f474c
Merge pull request #1772 from jberry-suse/obs_operator
obs_operator: provide initial version of server and update userscript/staging-move-drag-n-drop
2018-11-08 16:28:45 -06:00
Jimmy Berry
408f8fb031 dist/spec: provide obs-operator subpackage. 2018-11-08 16:19:10 -06:00
Jimmy Berry
24d56d8eed userscript/staging-move-drag-n-drop: rework to utilize OBS Operator server. 2018-11-08 16:18:40 -06:00
Jimmy Berry
3d0832f97d obs_operator: provide initial version of server. 2018-11-08 16:08:19 -06:00
Stephan Kulow
09fd2baa83
Merge pull request #1774 from coolo/no_build_disable
No longer build disable non-ring packages on select
2018-11-08 18:15:57 +01:00
Jimmy Berry
e8daf876ff
Merge pull request #1457 from lnussel/bugowner
Bugowner tool
2018-11-08 11:03:21 -06:00
Jimmy Berry
151a4fe14b
Merge pull request #1754 from dirkmueller/master
[ARM] Skip build number comparison
2018-11-08 10:53:20 -06:00
Michel Normand
2ed02a3f13 [ttm] remove ppc64 (BE) for TW bypass boo#1112920
exemple of output after change:
```
$./totest-manager.py --dry  --debug run Factory:PowerPC 2>&1
2018-11-05 09:59:23,874 - totest-manager:299 INFO job
opensuse-Tumbleweed-DVD-ppc64-Build-RAID5@ppc64 failed, but was ignored
2018-11-05 09:59:24,069 - totest-manager:299 INFO job
opensuse-Tumbleweed-DVD-ppc64-Build-RAID10@ppc64 failed, but was ignored
2018-11-05 09:59:24,259 - totest-manager:299 INFO job
opensuse-Tumbleweed-DVD-ppc64le-Build-extra_tests_in_textmode@ppc64le
failed, but was ignored
2018-11-05 09:59:24,480 - totest-manager:299 INFO job
opensuse-Tumbleweed-DVD-ppc64le-Build-gnome@ppc64le failed, but was
ignored
2018-11-05 09:59:24,679 - totest-manager:311 INFO job
opensuse-Tumbleweed-DVD-ppc64le-Build-extra_tests_on_gnome@ppc64le
failed, see https://openqa.opensuse.org/tests/781048
2018-11-05 09:59:25,104 - totest-manager:524 INFO current_snapshot
20181022: failed
2018-11-05 09:59:25,104 - totest-manager:525 DEBUG new_snapshot 20181101
2018-11-05 09:59:25,104 - totest-manager:526 DEBUG current_qa_version
20181022
2018-11-05 09:59:28,686 - totest-manager:529 DEBUG snapshotable: True
2018-11-05 09:59:28,927 - totest-manager:580 DEBUG No ttm_amqp_url
configured in oscrc - skipping amqp event emission
2018-11-05 09:59:29,210 - totest-manager:549 DEBUG totest already
publishing
2018-11-05 09:59:29,210 - totest-manager:482 INFO Updating snapshot
20181101
2018-11-05 09:59:29,210 - totest-manager:465 INFO release
openSUSE:Factory:PowerPC/000product:openSUSE-ftp-ftp-ppc64_ppc64le
(None)
2018-11-05 09:59:29,210 - totest-manager:465 INFO release
openSUSE:Factory:PowerPC/000product:openSUSE-dvd5-dvd-ppc64le
(Snapshot20181101)
2018-11-05 09:59:29,210 - totest-manager:465 INFO release
openSUSE:Factory:PowerPC/000product:openSUSE-cd-mini-ppc64le
(Snapshot20181101)
```

TODO: is is sufficient to have ppc64 (BE) iso build failure
to be ignored by OBS as per bug 1112920
https://bugzilla.suse.com/show_bug.cgi?id=1112920
and continue to submit ppc64le isos to be submitted to openQA and
released independently from ppc64 ?

Signed-off-by: Michel Normand <normand@linux.vnet.ibm.com>
2018-11-08 17:50:26 +01:00
Stephan Kulow
e97be1a445 Remove map_ring_package_to_subject - it always return project
(this was more advanced when we had more subprojects)
2018-11-08 17:30:12 +01:00
Stephan Kulow
7a3b86fed1 No longer build disable on selecting non-ring packages to letter prjs
This is no longer needed as we only have one subproject per staging
2018-11-08 17:28:18 +01:00
Jimmy Berry
4293b6bce1
Merge pull request #1771 from coolo/restart_on_failure
Avoid httppretty 0.9.6 for now
2018-11-08 10:10:04 -06:00
Jimmy Berry
446dc840a5 travis: configure notification e-mail to internal list. 2018-11-08 10:04:02 -06:00
Stephan Kulow
824fab13fd Avoid httppretty 0.9.6 for now 2018-11-08 07:48:31 +01:00
Jimmy Berry
880bd1b638 userscript/staging-move-drag-n-drop: provide option to click to start. 2018-11-07 22:13:32 -06:00
Jimmy Berry
d1e7763791 userscript/staging-move-drag-n-drop: move browser compatability check to init. 2018-11-07 22:12:18 -06:00
Jimmy Berry
1fec88f5ef
Merge pull request #1762 from jberry-suse/userscript-staging-drag-n-drop
userscript/staging-move-drag-n-drop: provide initial version.
2018-11-07 16:50:58 -06:00
Jimmy Berry
fc998005b2
Merge pull request #1769 from jberry-suse/check_source-staging-skip-group-member-check
check_source: check if member of staging group before attempting to skip
2018-11-07 16:37:17 -06:00
Stephan Kulow
c85f26ede8
Merge pull request #1757 from Vogtinator/reportfix
Don't report that a package is ok if the resultlist is empty
2018-11-07 09:46:57 +01:00