173 Commits

Author SHA1 Message Date
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
2034536f39
totest-manager: follow another live media setup change (no multibuild) 2017-08-28 13:47:10 +02:00
e6c64a79ba
totest-manager: Follow changes in Tumbleweed for the new live image setup 2017-08-25 18:45:07 +02:00
5b2f06eaba
totest-manager: do not attempt to put/post in --dry mode 2017-08-25 18:26:04 +02:00
660c3bf6bf
totest-manager: update Kubic name to openSUSE-Tumbleweed-Kubic 2017-08-17 14:56:03 +02:00
Jimmy Berry
85dbc57f12 stagingapi: provide dashboard_content_{load,save,ensure}() and utilize. 2017-07-27 23:52:58 -05:00
3d6a7e84f2
totest-manager: do not post on dry runs 2017-06-18 14:21:46 +02:00
806142e969
ttm: Release openSUSE Kubic as part of openSUSE Tumbleweed 2017-05-22 17:32:22 +02:00
6fe6ec6896 Labeled the job only the job has the bugref exists 2017-05-05 16:34:12 +08:00
Jimmy Berry
686dc0df6a Drop sys.path plugindir workaround. 2017-04-28 23:36:48 -05:00
bb69d4321b Fix mistake 2017-04-21 17:45:04 +08:00
5797b49ded Paste ignored issues to the group overview page 2017-04-19 17:42:36 +08:00
36391fce92 Separate issues file 2017-03-30 20:01:31 +08:00
1b5d28fd41 Marked ignored=False if failed job has no refs 2017-03-30 19:59:57 +08:00
f401ebaa5b Notice the job was ignored instead of just say failed 2017-03-30 18:44:25 +08:00
Stephan Kulow
5058eae171 Have TTM work through openqa comments
Instead of having the known failures in a global file, have it local to the TTM
but allow users to interact with it through openqa comments.

Work flow:
  - openQA tests and finds failures
  - reviewers tag them with (support from automatic carry over)
  - if they are in the ignore list, TTM will not do anything but ignore them
  - if not, TTM will add label:unkown_failure to mark the issue blocking
    a release
  - the release manager adds @ttm ignore as comment for the TTM to
    add the issue to its white list.

Only if all failures are labeled and marked as ignored, a snapshot is released
2017-03-29 14:24:11 +02:00
Ludwig Nussel
125eb4ddf3 Only output timestamps when run on tty
If not connected to a tty output probably goes to systemd's journal.
2017-02-14 13:30:14 +01:00
Ludwig Nussel
080dd83110 Merge pull request #668 from lnussel/ttm
Adopt totest-manager for Leap
2017-02-07 16:42:57 +01:00
5d8f544fac
ttm: Fix configuration for s390x
The openQA group has now been officially created and named slightly
different

Additionally, there is only one job being run at this moment: make
this sufficient for ttm to detect the snapshot being tested.
2017-02-07 09:50:22 +01:00
Ludwig Nussel
3164348511 Use logger instead of print 2017-02-06 17:08:10 +01:00