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
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
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
Jimmy Berry
5558473999
Merge pull request #1748 from jberry-suse/repo_checker-arch-filter-state-queries
...
repo_checker: filter repository state and published checks by relevant architectures.
2018-10-25 13:44:10 -05:00
Jimmy Berry
3ad87ff320
Merge pull request #1747 from jberry-suse/ci-flake8-3.6-tweaks
...
CI: ignore W504 and resolve other new flake8 detected issues
2018-10-25 13:20:00 -05:00
Jimmy Berry
1e34a8f47e
repo_checker: filter repository published check by arch.
2018-10-24 18:00:09 -05:00
Jimmy Berry
30a42af6ca
repo_checker: repository_state_last(): switch to simulate_merge as arg.
...
For the sake of consistency now that repository_state() also requires it.
2018-10-24 17:59:40 -05:00
Jimmy Berry
12c9819614
repo_checker: repository_state(): limit meta revision to simulate merge.
...
Only staging projects are allowed to have psuedometa that makes it relevant
to include the project meta revision.
2018-10-24 17:56:49 -05:00
Jimmy Berry
ff722f03b8
repo_checker: repository_state(): filter by relevant archs.
2018-10-24 17:55:04 -05:00
Jimmy Berry
dc91518b0a
repo_checker: extract arch determination as target_archs_from_prairs().
2018-10-24 17:52:18 -05:00
Jimmy Berry
83688cf0ed
osclib/core: provide archs filter for repository state and published queries.
2018-10-24 17:50:19 -05:00
Jimmy Berry
0449d1f5a1
manager_42: remove extra newline to avoid flake8 E301.
2018-10-24 16:34:20 -05:00
Jimmy Berry
4c8ade1a93
flake8: utilize raw strings to avoid invalid escape character warnings.
2018-10-24 16:34:16 -05:00
Jimmy Berry
e68e348781
flake8: ignore W504.
2018-10-24 16:27:10 -05:00
Jimmy Berry
7250d09b3d
osc-staging: handle None value for --filter-from.
2018-10-24 13:34:30 -05:00
Stephan Kulow
f7ea85ee8f
Merge pull request #1742 from coolo/add_openqa_sync
...
Fix deployment problems on rabbit-openqa
2018-10-23 09:55:54 +02:00
Stephan Kulow
6d9436c372
Fix deployment problems on rabbit-openqa
...
- 2 python modules required
- apiurl shouldn't take the default from config not from getopt
- fix typo in user name
2018-10-23 08:28:52 +02:00
Stephan Kulow
9b1618e7c5
Merge pull request #1720 from coolo/add_openqa_sync
...
Add helper bot to listen to rabbit bus and feed OBS with openQA Status
2018-10-23 06:38:17 +02:00
Stephan Kulow
75306457da
If OBS or openQA raise an exception, restart
2018-10-22 06:46:25 +02:00
Stephan Kulow
14837b3657
Merge pull request #1738 from jberry-suse/staging-filter-from
...
osc-staging: select: replace --from with --filter-from.
2018-10-21 16:48:02 +02:00
Stephan Kulow
17bd660d39
Merge pull request #1741 from nilxam/corect_call_update_repos
...
pkglistgen: fix AttributeError since update_repos() moved to PkgListGen class
2018-10-21 16:47:05 +02:00
e6e2f5903b
pkglistgen: fix AttributeError since update_repos() moved to PkgListGen class
2018-10-21 19:21:19 +08:00
Jimmy Berry
649529aac9
Merge pull request #1739 from jberry-suse/metrics-grafana-openqa-interval
...
metrics/grafana/openqa: set minimum interval of 10s to avoid gaps.
2018-10-19 10:01:56 -05:00
Jimmy Berry
2d55674621
metrics/grafana/openqa: set minimum interval of 10s to avoid gaps.
...
Since data is collected at the same interval it avoids grouping at smaller
intervals when zoomed in which reveals gaps between the data points.
2018-10-19 09:50:14 -05:00
Jimmy Berry
7d58952ad8
Merge pull request #1737 from jberry-suse/nonfree-config-staging-workflow
...
repo_checker: utilize 'staging' config option for instantiating StagingAPI (and related)
2018-10-19 09:43:23 -05:00
b184670d7c
Merge pull request #1736 from jberry-suse/nonfree-config
...
osclib/conf: include NonFree subproject in openSUSE patterns.
2018-10-19 16:59:06 +08:00
Stephan Kulow
61d9082f29
Merge pull request #1725 from coolo/disable_publish_disable
...
We need the images repo published to have a status check
2018-10-19 10:24:37 +02:00
Jimmy Berry
41dc359580
osc-staging: select: document --move and --filter-from options.
2018-10-18 17:25:06 -05:00
Jimmy Berry
ef9ff661bb
osc-staging: select: replace --from with --filter-from.
...
--from no longer serves a purpose since requests should never live in
more than one staging (apparent from linking).
2018-10-18 17:24:59 -05:00
Jimmy Berry
616281e75f
repo_checker: utilize 'staging' config option for instantiating StagingAPI.
2018-10-18 16:20:30 -05:00
Jimmy Berry
c74e40ba70
osclib/cycle: remove need for StagingApi instance in favor of apiurl.
2018-10-18 16:20:30 -05:00
Jimmy Berry
2a50b8cf72
ReviewBot: staging_api(): allow for Staging subproject to be used.
2018-10-18 16:20:30 -05:00
Jimmy Berry
35594e5f05
osclib/conf: include NonFree subproject in openSUSE patterns.
...
Intentionally left outside of <project> group so that the NonFree
subproject still uses the main Staging subproject.
2018-10-18 15:55:41 -05:00
Jimmy Berry
8ec1e1777b
osclib/conf: remove Ports subprojects as they no longer exist.
2018-10-18 15:54:20 -05:00
Jimmy Berry
3282c9ae56
Merge pull request #1733 from jberry-suse/leaper-incident-disable-maintainer-review
...
leaper: disable maintainer review addition for incidents.
2018-10-17 16:12:55 -05:00
Jimmy Berry
1b25b7594d
Merge pull request #1734 from jberry-suse/ci-tar-build-failure
...
CI: resolve build-time tar service failure
2018-10-17 16:04:16 -05:00
Jimmy Berry
ae01d143c9
dist/ci/obs-build-target: utilize TAR_SCM_TESTMODE to avoid URL check.
...
See #1732 for details, but summarized the CI uses a local path which
differs from the normal remote URL which causes tar_scm service to
complain and no re-create the obscpio. See
openSUSE/obs-service-tar_scm@44b3bee for the relevant change.
2018-10-17 15:55:26 -05:00