4453 Commits

Author SHA1 Message Date
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
Jimmy Berry
26c6dba22d dist/ci/obs-build-target: stop at first error. 2018-10-17 15:42:55 -05:00
Stephan Kulow
52fc1cac2f
Merge pull request #1731 from coolo/add_openqa
metrics: Fetch openqa jobs in influxdb format
2018-10-17 22:15:20 +02:00
Stephan Kulow
5d3688e569 metrics: Fetch openqa jobs in influxdb format 2018-10-16 06:40:57 +02:00
Jimmy Berry
020d14065e leaper: disable maintainer review addition for incidents.
This was disabled manually in production to effectively run leaper in
"comment-only mode" for maintenance with the expectation that this would
not remain for long. Since it seems it will it makes sense to merge the
state expected to be deployed.
2018-10-15 16:40:26 -05:00
Stephan Kulow
c6ff801c3b
Merge pull request #1728 from nilxam/ignore_patchinfo
check_maintenance_incidents: skip action if the action is for patchinfo
2018-10-15 12:16:59 +02:00
1968b6523c check_maintenance_incidents: skip action if the action is for patchinfo
Action of patchinfo does not have a releaseproject attribute, with bad
luck it might be lists as the first action of an maintenance incident,
we should skip it and try next action.
2018-10-15 17:59:46 +08:00
Stephan Kulow
5b9efe757d Require python-pika in CI 2018-10-12 15:30:54 +02:00
Stephan Kulow
ff84b79171 We need the images repo published to have a status check
We can't generally assume ISOs can be fetched from backend (we can't
have this on IBS), so publish it - and disable the actual publishing
on the staging backend of OBS
2018-10-12 13:00:18 +02:00
Stephan Kulow
8b6b498a0f First connect to AMQP then fetch initial state
This way we don't miss anything - we just have to make sure we're
done within heartbeart interval, or the server will close the connection.
But that's 60 seconds, so we're safe for this bot (and if we fail
once, we have to reconnect)
2018-10-12 11:28:42 +02:00
Stephan Kulow
d5947f5c19 Refactored rabbit-openqa to be based on PubSubConsumer
The base class listens to openSUSE pubsub messages (and can be used
standalone) and rabbit-openqa just overwrites the keys and the on_message
handler
2018-10-12 11:06:54 +02:00
Stephan Kulow
ae7f35c7e2 Adopt pika example on async 2018-10-11 15:10:41 +02:00
Stephan Kulow
61e1049895
Merge pull request #1721 from coolo/catch_unmirrored_repos
pkglistgen: Catch unmirrored repos
2018-10-11 11:38:48 +02:00
37ac71d0bf
Merge pull request #1694 from dirkmueller/master
[ARM 15.1] Include JeOS images in ToTest
2018-10-11 16:51:38 +08:00
Stephan Kulow
dc3201d238 Move unlink_list to pkglistgen class too
It's used in update_repos
2018-10-11 07:43:36 +02:00
Stephan Kulow
e70c071ce9 Move update_repos into Pkglistgen class
We need to track state within the tool, not in the command line
interface
2018-10-11 07:43:36 +02:00
Stephan Kulow
b8e451f8d1 Don't make missing repos (per arch) a fatal error
It's possible we link against repos that do not exist for all archs
2018-10-11 07:43:35 +02:00
5d542a82af
Merge pull request #1724 from Vogtinator/armkubic
Add openSUSE-Tumbleweed-Kubic-dvd5-dvd-aarch64 to openSUSE:Factory:ARM
2018-10-11 07:22:40 +02:00
Stephan Kulow
ceaef3ea88 Moved the ISO replace_string into OBS attributes 2018-10-10 20:59:16 +02:00
Stephan Kulow
a8d7b769c1 Find a sed like syntax for Staging ISOs
This can be moved to remote config
2018-10-10 20:07:21 +02:00
Stephan Kulow
3933e4e302 Package rabbit-openqa
I don't really like the name, but lack alternative ideas
2018-10-10 20:07:21 +02:00
Stephan Kulow
b38a1edc34 Make the names of the openQA checks unique
Prefer 'minimal_x' unless there are 2 (the code doesn't
support more than 2)
2018-10-10 20:07:21 +02:00
Stephan Kulow
b886e28db3 No need to if loop - we do the same for all of openqa 2018-10-10 20:07:21 +02:00
Stephan Kulow
6f5978cab6 Link to failed test modules
SLE unfortunately does not fail atm, so I had to implement leap :)
2018-10-10 20:07:21 +02:00
Stephan Kulow
ecdc60065a Fetch all openQA jobs for the ISO every time
This is ugly on first look, but has several advantages:
- we can more easily support a cold start
- as such we don't need to have a persistant queue and
  can directly bind the routing keys we want
- we do the same on all openqa events, simplifying the code
- we can cope support short names for the checks

The last is the most significant benefit (not yet implemented though).
We can name the openqa jobs RAID1 and gnome and only have to append
the machine name (or other settings) if they conflict
2018-10-10 20:07:21 +02:00
Stephan Kulow
dab6850133 Gather initial buildid of repositories 2018-10-10 20:07:21 +02:00
Stephan Kulow
d1c3e212d7 Add helper bot to listen to rabbit bus and feed OBS with openQA Status
There is an API gap on OBS side atm, so this won't complete:
https://github.com/openSUSE/open-build-service/issues/6035
2018-10-10 20:07:21 +02:00
fa6f388dd4 Add openSUSE-Tumbleweed-Kubic-dvd5-dvd-aarch64 to openSUSE:Factory:ARM 2018-10-10 15:40:58 +02:00
Stephan Kulow
e90ac73952
Merge pull request #1723 from coolo/fix_unsorted
pkglistgen: Fix copy&paste error on uploading results
2018-10-10 11:00:06 +02:00
Stephan Kulow
59d9454134 pkglistgen: Fix copy&paste error on uploading results 2018-10-10 10:46:45 +02:00
Stephan Kulow
97f1eda281
Merge pull request #1722 from coolo/filter_arch_3
Fix overlap calculation: modules only have filtered archs
2018-10-10 07:09:33 +02:00
Stephan Kulow
fb4d63ec3d Fix overlap calculation: modules only have filtered archs 2018-10-10 06:45:14 +02:00
Stephan Kulow
97e58e1732
Merge pull request #1719 from coolo/dont_spam_submitters
Do no longer CC submitters in request comments
2018-10-04 11:29:32 +02:00
Stephan Kulow
caee9053c4
Merge pull request #1718 from coolo/filter_arch_2
pkglistgen: Make sure we don't calculate non-existant architectures i…
2018-10-04 09:58:21 +02:00
Stephan Kulow
e6bf5ccb7b Do no longer CC submitters in request comments
Submitters complain more and more about the spam they're getting from
staging projects - and we rather leave that weapon for actual feedback.

One especially annoying case is if a package is added to one staging project
and then later moved to another, the submitter will receive notifications
of all kind of bots and actions for both staging projects.
2018-10-04 09:52:49 +02:00
Stephan Kulow
a96e864c06 pkglistgen: Make sure we don't calculate non-existant architectures in stagings
Otherwise the package list is not staging specific
2018-10-04 07:00:56 +02:00
Stephan Kulow
5ba0b87577
Merge pull request #1717 from coolo/filter_arch
pkglistgen: only PUT new data if it changed
2018-10-04 06:59:26 +02:00
Stephan Kulow
c4fa49aef2 Refactor conditional_PUT as core function
Introduce source_file_ensure in osclib.core following review in #1717
2018-10-03 07:36:42 +02:00
Stephan Kulow
2d4148f3f2 pkglistgen: only PUT new data if it changed
Otherwise we collect quickly a million revisions with no gain
2018-10-02 06:48:58 +02:00
Ludwig Nussel
f1c8f63900 leaper: block on pending factory submissions also for new packages 2018-10-01 09:57:15 +02:00
Stephan Kulow
39a3f83180
Merge pull request #1711 from coolo/jberry-suse-osclib-core-repository-state
Don't trust _result for repository state
2018-09-29 07:24:06 +02:00
Stephan Kulow
6004636b21
Merge pull request #1714 from jberry-suse/repo-checker-build-failure-check
repo_checker: re-instate staging build failure check after generic rework.
2018-09-29 07:22:51 +02:00