110 Commits

Author SHA1 Message Date
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
Ludwig Nussel
468ebcb839 Job name nowadays already contains the machine 2017-02-06 17:08:10 +01:00
Ludwig Nussel
5cd4fb6556 Adopt totest-manager for Leap 2017-02-06 17:08:10 +01:00
62a670584f
ttm: fix the loop in daemon mode 2017-01-26 20:25:16 +01:00
331903b74b
ttm: Allow to run in daemon mode without stdin attached
When running as a systemd daemon, it is useless to wait for user input
to possible trigger an earlier re-run. Interaction is not possible.

Additionally, there is no stdin assigned to the process when running as
a systemd daemon, which results in raw_input() failing with EOFError
2017-01-26 17:27:57 +01:00
bad6c98050
Configure totest-manager for s390x 2017-01-20 11:46:42 +01:00
Dinar Valeev
6062d7c752 Treat softfailed as ok to pass
Signed-off-by: Dinar Valeev <k0da@opensuse.org>
2016-08-01 16:34:36 +02:00
5ac39bb346 totest-manager: The information about failed jobs is meant for normal
operations / usage, and not only for debug / verbose runs.
2016-07-18 22:48:10 +02:00
Ludwig Nussel
64642dd433 Output current QA version for debugging 2016-06-07 15:12:02 +02:00
Ludwig Nussel
d6e1bf20e7 Make sure to only release the 'images' repo on ARM
openSUSE:Factory:ARM introduced an 'images_staging' repo for the
ARMv7 stuff we need to ignore.

Re-fixes 0d98adb86595c761a7a1a5c0f887042a7403930e
2016-05-09 17:32:40 +02:00
Ludwig Nussel
a59f95f2c2 Improve logging implementation 2016-05-09 17:32:40 +02:00
Ludwig Nussel
b146f29c1e Use python logging in ToTest manager 2016-05-09 13:07:54 +02:00
42de76cfde ttm: Safeguard publishing of :ToTest
Try to be smart enough to only publish :ToTest if the version we passed
to openQA matches what is found in :ToTest.

This avoids releasing untested snapshots in case the release process
had trouble syncing from openSUSE:Factory/standard to :ToTest (e.g.
partial releases).
2016-03-23 16:09:27 +01:00
Dinar Valeev
c37591b802 Skip obsoleted jobs
Signed-off-by: Dinar Valeev <dvaleev@suse.com>
2016-03-22 17:40:56 +01:00