4479 Commits

Author SHA1 Message Date
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
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
Jimmy Berry
a87cca01b7 check_source: check if member of staging group before attempting to skip.
SLE likes to be different for the sake of it.
2018-11-06 16:15:20 -06:00
Stephan Kulow
1f8bf215ec
Merge pull request #1763 from coolo/restart_on_failure
Fail rabbit-openqa and have systemd restart it
2018-11-05 12:49:21 +01:00
Ludwig Nussel
22b89d4abd
Merge pull request #1755 from lnussel/abichecker
abichecker: fix for updated osc api
2018-11-05 09:50:46 +01:00
Stephan Kulow
a098f41f63 Fail rabbit-openqa and have systemd restart it
There were still exceptions not caught - and I have the suspicion
that the memory leaks we see in production are caused by the reconnects
(if you google for python memory leaks you end up with pika and lxml
examples - both we use here, so a restart every couple of hours can't
hurt)
2018-11-03 18:28:57 +01:00
Jimmy Berry
46afaabbed userscript/staging-move-drag-n-drop: provide initial version. 2018-11-02 19:34:12 -05:00
a40b876ccc Don't report that a package is ok if the resultlist is empty 2018-11-02 10:36:56 +01:00
Jimmy Berry
33a4a3b348
Merge pull request #1759 from jberry-suse/request-splitter-stageable
osclib/request_splitter: provide stageable option and make default True.
2018-11-01 13:38:43 -05:00
Jimmy Berry
52eb890d76 osclib/request_splitter: provide stageable option and make default True.
Without this, the relative rarer types of requests seen in projects with
staging and handled by list command will be included in staging proposal.
However, since they are not stageable the select operation will fail. This
change ensures that a filter is always present when stageable is True to
exclude non-stableable requests. The list command sets stageable to false
in order to list out the non-stageable requests of interest.

This was not observed in openSUSE since the main non-stageable request was
change_devel and that was exluded in StrategyNone. That filter could be
replaced with the stageable filter, but having an always on filter seems to
make more sense since generally operating in one of two modes.
2018-11-01 09:21:28 -05:00
Jimmy Berry
9f21c865a7
Merge pull request #1760 from jberry-suse/devel-projects-requests-obs-not-workout-removal
devel-projects: remove workaround for OBS xpath bug during request search.
2018-11-01 09:00:34 -05:00
Jimmy Berry
4de13f332e devel-projects: remove workaround for OBS xpath bug during request search.
Now that the bug related to openSUSE/open-build-service#5571 has been fixed
the inverted behavior of exclude_target_projects no longer works. As such
the argument should be removed and only way to get the desired behavior
is to override include_request_from_project which includes request sourced
from specific project. For the purposes of `devel-projects requests` only
interested in requests targeting a specific project.

See also commit 0b342a5.
2018-10-31 20:14:44 -05:00
Jimmy Berry
0d9cde5a90
Merge pull request #1756 from jberry-suse/repo_checker-x86_64-published-dependent-on-i586
osclib/core: repository_published() make x86_64 dependent on i586.
2018-10-31 15:13:12 -05:00
Jimmy Berry
c7fd9badd0
Merge pull request #1753 from jberry-suse/staging-select-no-filter-from
osclib/select: only check filter-from logic if argument was passed.
2018-10-30 15:12:11 -05:00
Jimmy Berry
6ad58c8ceb osclib/core: repository_published() make x86_64 dependent on i586. 2018-10-30 15:09:17 -05:00
Jimmy Berry
76bb32a8c8
Merge pull request #1752 from Vogtinator/indentfix
Fix indentation in is_snapshottable
2018-10-30 14:57:17 -05:00
Ludwig Nussel
dd9000b0ac abichecker: fix for updated osc api 2018-10-30 09:56:49 +01:00
fe34b01a12 [ARM] Skip build number comparison
The LiveCD products (JeOS) for ARM will never follow
the same iso build numbers (and don't produce iso's to begin with)
than the main project. In lack of a "ignore mismatch for livecd
products only" option we just skip the syncing globally. that should
be fine as hopefully the main products always produce the same build.
2018-10-30 09:24:38 +01:00
Jimmy Berry
fa84030142 osclib/select: only check filter-from logic if argument was passed. 2018-10-29 16:00:09 -05:00
a57829b766 Fix indentation in is_snapshottable
This block was not indended to be part of the loop body.
2018-10-29 16:40:24 +01:00
Ludwig Nussel
9f82d01c1b
Merge pull request #1716 from lnussel/leaper
leaper: block on pending factory submissions also for new packages
2018-10-26 16:49:42 +02:00
Jimmy Berry
78a01722e5
Merge pull request #1745 from jberry-suse/staging-filter-from-fix
osc-staging: handle None value for --filter-from.
2018-10-25 13:50:05 -05:00