142 Commits

Author SHA1 Message Date
Ludwig Nussel
14d18ead13 TTM for Leap 15.1 2018-06-25 13:22:51 +02:00
Ludwig Nussel
7f9cdfb230 Fix norelease 2018-06-25 13:22:51 +02:00
Ludwig Nussel
78e8212654
Merge pull request #1557 from michelmno/leap15_aarch64
ttm: Use openSUSE Leap 15.0 AArch64 not Ports
2018-06-20 09:58:28 +02:00
Stephan Kulow
67121e297e
Merge pull request #1573 from coolo/use_attributes
Use attribute to store staging config
2018-06-19 06:38:32 +02:00
Stephan Kulow
030e7b807f Move config into an OBS attribute
Right now we require a Staging subproject to use staging plugin, which
is suboptimal especially for maintenance requests. The OBS attributes allow
to store the things right attached to the project - and the permissions
can be controlled in parallel to the maintainers right, which gives us
enough freedom
2018-06-15 11:40:02 +02:00
Dominik Heidler
a661ccb9a1 Make norelease the default for SLE
Add option --release to explicitly enable release
2018-06-15 11:34:40 +02:00
Dominik Heidler
3cd27c8ded TTM: Remove project-base option
Derive project-base from project argument.
This removes some redundancy from cli.
2018-06-14 16:11:06 +02:00
Ludwig Nussel
7d650af54e
Merge pull request #1569 from asdil12/norelease
TTM: Add norelease option for use with OSD
2018-06-11 10:22:06 +02:00
Ludwig Nussel
20749ff425
Merge pull request #1523 from dirkmueller/arm_totest
Handle armv6/armv7 with totest manager as well
2018-06-11 10:21:06 +02:00
Dominik Heidler
1bbaa2a1dc TTM: Add norelease option for use with OSD 2018-06-05 11:09:24 +02:00
Michel Normand
14c91c7bbc ttm: Do not put openqa comment if dryrun
to avoid error 403 if openqa no write access.

Signed-off-by: Michel Normand <normand@linux.vnet.ibm.com>
2018-05-28 16:46:19 +02:00
Michel Normand
0d1f564b02 ttm: Set snapshot number for Leap 15.0 Ports
seems to be required to update snapshot number

Signed-off-by: Michel Normand <normand@linux.vnet.ibm.com>
2018-05-25 11:05:30 +02:00
Michel Normand
c779de8051 ttm: Use openSUSE Leap 15.0 AArch64 not Ports
for openqa_group def in ToTest150Ports class
Required to avoid bad makeurl generated string.

TODO: Next action will be to determine how to handle
ppc64le in same project but different repo (images_ppc)
     main_products = [
         '000product:openSUSE-cd-mini-aarch64',
         '000product:openSUSE-dvd5-dvd-aarch64',
+        '000product:openSUSE-cd-mini-ppc64le',
+        '000product:openSUSE-dvd5-dvd-ppc64le',
     ]

     ftp_products = ['000product:openSUSE-ftp-ftp-aarch64',
+                    '000product:openSUSE-ftp-ftp-ppc64le',
                     ]

Signed-off-by: Michel Normand <normand@linux.vnet.ibm.com>
2018-05-25 11:05:29 +02:00
9cec43b30a Also release 000product:openSUSE-ftp-ftp-armv7hl for Leap 15.0 ports 2018-05-24 15:49:02 +02:00
Dominik Heidler
7d522a50d5 Add AMQP support to TTM 2018-05-17 16:23:47 +02:00
Stephan Kulow
fd25d093ad
Merge pull request #1542 from coolo/ttm_allow_ignore_without
Use OBS Attribute for ignored issues
2018-05-15 07:06:20 +02:00
Stephan Kulow
082ee52aaf ttm: Load and Store the ignored issues in an OBS attribute 2018-05-14 20:00:57 +02:00
8af3e4adc8
Merge pull request #1537 from okurz/feature/arm
Add maxsize for JeOS to handle openSUSE:Factory:ARM
2018-05-14 16:57:55 +01:00
Stephan Kulow
7f346bce12 ttm: Store the last seen build number for each issue
So we can cleanup the list - it grew to > 200
2018-05-14 17:23:55 +02:00
Stephan Kulow
7d1b51a6b8 ttm: Allow to ignore job failures without bug reference
This is supposed to be used for temporary failures that do not deserve
a carry over as they are sporadic but should not stop a snapshot release
nor are they worth it to wait a job duplicate
2018-05-14 13:08:48 +02:00
Oliver Kurz
9ca99add9d Add maxsize for JeOS to handle openSUSE:Factory:ARM 2018-05-11 23:48:30 +02:00
66179dab49 Handle armv6/armv7 with totest manager as well
Recently we decided to incorporate armv6 and armv7 publishing into
ToTest as well.
2018-05-05 11:18:33 +02:00
Ludwig Nussel
df6e6cbc1d
Merge pull request #1493 from dirkmueller/arm_factory_live
publish appliances for ARM alongside of normal product
2018-04-23 11:02:25 +02:00
Ludwig Nussel
934ad1a64d
Merge pull request #1492 from dirkmueller/leap15
Handle Leap:15.0:Ports images_arm repository
2018-04-23 11:02:02 +02:00
fbb47c58b7 Handle the JeOS multibuild package for Factory:ARM:Live
Handle the JeOS builds alongside the normal openqa images
and publish them together with the ftp trees.
2018-04-20 12:55:54 +02:00
fcbe79a338 Handle more products for Factory:ARM
We want to handle armv7 and armv6 trees alongside aarch64 (even
though they don't get tested separately right now its better
to have them released when aarch64 releases as not aligned
at all).
2018-04-17 21:17:12 +02:00
cf7dbb0b32 Handle Leap:15.0:Ports images_arm repository
For Leap 15.0 Ports we need to be able to support two image
repos, one for arm and one for ppc because they get published
to two different locations. for now as we have only images_arm
add support for that while ppc is still making its way through
an initial build.
2018-04-17 09:20:56 +02:00
Ludwig Nussel
ace73fecaf ttm: adjust regexp to include Snapshot 2018-04-06 15:28:16 +02:00
Ludwig Nussel
6455aff69a ttm: fix leap 15 docker image handling
need to refactor a bit and force setting a snapshot number for the
docker image. counters are different due to different source containers.
2018-04-05 17:00:38 +02:00
b4c885d265
Merge pull request #1471 from DimStar77/ttm-new-prod
totest-manager: Tumbleweed moved to the new product builder
2018-03-26 11:21:57 +02:00
49d2fbeaee totest_manager: Also release openSUSE:Leap:15.0:Images/opensuse-leap-image 2018-03-26 11:10:29 +02:00
26eb2c6780
totest-manager: Tumbleweed moved to the new product builder 2018-03-22 09:12:51 +01:00
Ludwig Nussel
ed8346fca3 ttm: use dashboard_content_ensure() 2018-02-27 11:21:48 +01:00
Ludwig Nussel
e8c002d37b
Merge pull request #1409 from lnussel/ttm
ttm: handle Leap 15 live images separately
2018-02-23 10:01:10 +01:00
0c926b037a
ttm: Follow package name changes of Tumbleweed live media 2018-02-21 09:01:42 +01:00
Ludwig Nussel
f2882886f5 ttm: handle Leap 15 live images separately 2018-02-19 13:00:04 +01:00
Jimmy Berry
f98a78c1ae Remove Vim config in favor of EditorConfig. 2018-01-23 00:48:00 -06:00
dce16121b2 Be more forgiving with ttm ignore comments
accept @ttm: ignore also as valid input
2017-12-19 10:28:32 +01:00
8e0339774f Add 15.0 Ports to totest-manager 2017-12-17 10:00:59 +01:00
Oliver Kurz
c6a6e838d9 totest-manager: Make sure internal object for notifications is always valid
Fixes a problem I saw in the logfiles 'ERROR 'ToTestFactory' object has no
attribute 'update_pinned_descr'' in case of a failed snapshot.
2017-12-10 20:15:51 +01:00
Oliver Kurz
ebca12800b Add more details to openQA job group description about current status
Example output from dry run:

```
2017-11-24 06:42:57,927 - totest-manager:490 DEBUG snapshotable: True
2017-11-24 06:42:57,927 - totest-manager:495 DEBUG no change in snapshot version
2017-11-24 06:42:58,415 - totest-manager:207 DEBUG Writing openQA status message: {'text': 'pinned-description: Ignored issues\r\n\r\n\r\n\r\ntag:20171123:testing:testing'}
```
2017-11-27 13:43:28 +01:00
Oliver Kurz
8d12fd4f0f ttm: Add support for SLE 15
Example log output of call
`totest-manager.py --project-base SLE --dry --debug --verbose run SUSE:SLE-15:GA`:

```
2017-11-14 23:37:55,711 - totest-manager:267 INFO job sle-15-Installer-DVD-x86_64-Build-foo@bar failed, see https://openqa.suse.de/tests/12345
2017-11-14 23:38:00,308 - totest-manager:478 INFO current_snapshot 123.4: failed
2017-11-14 23:38:00,308 - totest-manager:479 DEBUG new_snapshot 128.1
2017-11-14 23:38:00,308 - totest-manager:480 DEBUG current_qa_version None
2017-11-14 23:38:05,878 - totest-manager:483 DEBUG snapshotable: True
2017-11-14 23:38:06,135 - totest-manager:500 DEBUG totest already publishing
2017-11-14 23:38:06,136 - totest-manager:436 INFO Updating snapshot None
2017-11-14 23:38:06,136 - totest-manager:546 INFO release SUSE:SLE-15:GA/000product (None)
```
2017-11-17 14:29:50 +01:00
Ludwig Nussel
ace4ae06fd ttm: publish non-oss for Leap 15 too 2017-11-09 14:56:30 +01:00
Jimmy Berry
3349bd964a Merge pull request #1197 from dirkmueller/python3
Python 2.6+ / 3.x style except clauses
2017-10-18 20:50:02 -05:00
e39cab9d7c Fix undefined variables 'release'
The totest-manager crashed on Factory:ARM when it tried to release
a build.
2017-10-16 23:35:55 +02:00
3cf49d9556 Python 2.6+ / 3.x style except clauses
This newer style except statement allows for compatibility with
Python 3.x and does not harm on python 2.6+.
2017-10-16 22:47:58 +02:00
Ludwig Nussel
e94577d1b9 ttm: update for Leap 15.0 2017-10-12 13:20:45 +02:00
0167a822ea Merge pull request #1112 from Soulofdestiny/master
totest-manager: Adapt zSystems to new productbuilder
2017-09-20 15:40:39 +02:00
soulofdestiny
56761e512c totest-manager: Adapt zSystems to new productbuilder 2017-09-12 12:37:09 +02:00
Oliver Kurz
fb2d661283 totest-manager: Prevent old tests in same build blocking release with "latest=1" 2017-09-03 21:38:16 +02:00