Stephan Kulow
f728cea30b
oqamaint: use the proper key to add incident repo
...
For openSUSE it doesn't matter but for SLE the architecture is part of
the key. So this lead to inserting under the channel name, but querying
under the repo (including architecture).
2018-06-04 21:57:45 +02:00
Stephan Kulow
227c5eeec1
oqamaint: Make debuging of incident list in repohash easier
...
By appending the IDs of incidents considered, e.g.
'REPOHASH': '9b9ff324e95d25dc6bb216cb45bdd855:8198,8200,8201,8203',
2018-06-04 21:57:27 +02:00
Stephan Kulow
a280ab1212
openqa-maintenance: Make sure we don't go through requests twice
...
Fixes #1561
2018-05-24 12:11:34 +02:00
Stephan Kulow
129280eb68
openqabot: Quote the module name
...
module names may contain # - especially if the module is loaded twice
and openQA appends #1 and #2
2018-05-19 17:59:59 +02:00
Stephan Kulow
9b4b0ed15a
Begin porting to python3 (osc branch)
2018-05-14 11:04:39 +02:00
Ondřej Súkup
62f8890f59
[oqamaint] Don't start and resolve incident job before is fully build
2018-05-09 15:52:06 +02:00
Stephan Kulow
09403e0ffd
[oqamaint] Take build number as last resort to avoid crash
2018-05-02 11:03:20 +02:00
Ondřej Súkup
2d7f4327f4
[openqa-maintenance] Use to_xml method of Request object
...
Forgotten method call caused problem in check_request and killed bot
too early before proper incident results resolution
2018-05-02 11:03:20 +02:00
Stephan Kulow
aabbefd2b6
[oqamaint] Do not export variables not necessary for scheduling
...
This should be taken care of the opensuse main.pm - based on the scenario
2018-05-02 11:03:20 +02:00
Ondřej Súkup
22e585bd17
[openqa-maintenance] Don't accept incidents waiting for build
2018-04-27 17:30:52 +02:00
Stephan Kulow
24986f1485
[oqamaint] Reset the hashes on every review round
2018-04-24 13:46:11 +02:00
Stephan Kulow
86c31e2aae
[oqamaint] Fix re-reviewing requests
...
We no longer need to be careful with requests that have started
jobs or not - we schedule the incident projects as the very first
action. So what's left to do is reviewing the requests and checking
if the current target repo jobs have the incident listed in some _TEST_ISSUES
variable. Otherwise the request is not to be reviewed
2018-04-24 11:27:48 +02:00
Stephan Kulow
d1f24ed700
[oqamaint] Do not append to OS_TEST_ISSUES
...
As review runs in a loop this results in always growing list. So redefine the
OS_TEST_ISSUES on every run
2018-04-24 09:45:06 +02:00
Stephan Kulow
55e7990bcd
[oqamaint] Look at all open release requests for Updates
...
self.requests is only the incidents to be reviewed, but for testing we
need to take into account all open incidents (i.e. those we already approved
but not yet release migth interfere with those newly in testing)
2018-04-23 17:35:02 +02:00
Stephan Kulow
244db8c5fa
[oqamaint] Reschedule Updates test if the list of incidents changed
2018-04-23 17:15:53 +02:00
Stephan Kulow
65dc9f8a38
[oqamaint] Fix indentation
2018-04-23 10:26:04 +02:00
Stephan Kulow
8760db67b1
[oqamaint] Use reviewbot's comment API
2018-04-23 10:26:04 +02:00
Stephan Kulow
4f0b5e14cb
[oqamaint] Add OS_TEST_ISSUES as openSUSE repo settings
2018-04-23 10:26:04 +02:00
Stephan Kulow
ed9732dd77
[oqamaint] Make settings a hash instead of an array
...
Now openSUSE follows the same approach as SLE
(ran the file through json_pp to reformat)
2018-04-23 10:25:44 +02:00
Stephan Kulow
e23e58d8fd
[oqamaint] Remove symlinks - not necessary according to my experiments
2018-04-20 15:18:36 +02:00
Stephan Kulow
7eaca8a60d
[oqamaint] Create mesh compatible data for openSUSE
2018-04-20 15:18:36 +02:00
Stephan Kulow
5dc49a60d2
[oqamaint] Fetch the list of packages for openSUSE
...
We used to list this from the request, but as this is no longer available,
the settings function itself needs to query it
2018-04-20 15:18:36 +02:00
Stephan Kulow
0954e2a00c
[oqamaint] Fix openSUSE support
2018-04-20 15:18:36 +02:00
Ondřej Súkup
ead157867a
[openqabot-maintenance] Catch HTTPError when try get REPOHASH
...
14:57 <osukup> _Marcus_: incident 6989 hasnt any repository created ?
14:58 <_Marcus_> osukup: this is correct, it is for the codestream only.
2018-04-03 15:02:12 +02:00
Ondřej Súkup
944c531187
[openqa-maintenance] start HA/SES jobs only wheen are required
2018-04-03 14:56:35 +02:00
Ondřej Súkup
f988a0fb4d
[openqa-maintenance] catch removed incident project
2018-04-03 14:56:35 +02:00
Ondřej Súkup
5973d075ae
[openqa-maintenance] Allow OS_TEST_ISSUES different than product prefix
2018-04-03 14:56:35 +02:00
Ondřej Súkup
b11d4a13a4
[openqa-maintenance] Survive malformed repomd.xml
2018-04-03 14:56:34 +02:00
Ondřej Súkup
1918bccdbb
[openqa-maintenance] Allow and correctly use other distri from
...
apimap.json
2018-04-03 14:56:34 +02:00
Ondřej Súkup
88beb32e2d
[openqa-maintenance] Start Incidents-Kernel flavour also for kernel
...
packages
2018-04-03 14:56:34 +02:00
Ondřej Súkup
8b059852ee
[openqa-maintenance] Add support for kGraft jobs
2018-04-03 14:56:34 +02:00
Ondřej Súkup
9d7e7ba8f1
[openqa-maintenance] Rewrite of openqa-maintenace bot pt.1
...
Split openqa-maintenance to more smaller parts
Cleanup dead code
pep-8 compactibility
Disable testsuite on oqamaint directory
2018-04-03 14:56:34 +02:00