178 Commits

Author SHA1 Message Date
f333b2dceb
Merge pull request #1807 from dirkmueller/ttm_fixes
Ttm fixes
2018-11-26 17:33:06 +08:00
3e23f6dee2 Readability cleanups 2018-11-26 10:14:51 +01:00
8f1b936795 Follow flake8 import order 2018-11-26 10:14:50 +01:00
f1eb3d43ea Iterate over product arch list 2018-11-26 10:14:50 +01:00
bc1e96f548 Adjust JeOS for 15.1 images
- Has a different name than 15.0 images, so need to split from 15.0
2018-11-22 14:06:05 +01:00
d9225758ce Disable publishing for the product_repo in the test_project directly
- This should fix https://github.com/openSUSE/openSUSE-release-tools/pull/1751#issuecomment-440578557
2018-11-21 09:47:37 +01:00
Stephan Kulow
4be5ff3e3a
Merge pull request #1775 from michelmno/ttm_leap15.1_ppc64le
Add ToTest151PowerPC for Leap 15.1 PowerPC
2018-11-20 07:39:11 +01:00
Stephan Kulow
e3f260fa16
Merge pull request #1751 from Vogtinator/totestcontainer
Add release workflow for container products
2018-11-16 11:12:31 +01:00
Stephan Kulow
ea9061ccf5 Import urllib2 python agnostic 2018-11-16 09:01:45 +01:00
Michel Normand
1c6e1b2b94 ttm: Add ToTest151PowerPC for Leap 15.1 PowerPC
inherit ToTest151

Signed-off-by: Michel Normand <normand@linux.vnet.ibm.com>
2018-11-13 11:47:54 +01:00
Jimmy Berry
c39fa33581
Merge pull request #1764 from michelmno/remove_ppc64_tw
[ttm] remove ppc64 (BE) for TW tempo bypass boo#1112920
2018-11-09 11:45:40 -06:00
Jimmy Berry
151a4fe14b
Merge pull request #1754 from dirkmueller/master
[ARM] Skip build number comparison
2018-11-08 10:53:20 -06:00
Michel Normand
2ed02a3f13 [ttm] remove ppc64 (BE) for TW bypass boo#1112920
exemple of output after change:
```
$./totest-manager.py --dry  --debug run Factory:PowerPC 2>&1
2018-11-05 09:59:23,874 - totest-manager:299 INFO job
opensuse-Tumbleweed-DVD-ppc64-Build-RAID5@ppc64 failed, but was ignored
2018-11-05 09:59:24,069 - totest-manager:299 INFO job
opensuse-Tumbleweed-DVD-ppc64-Build-RAID10@ppc64 failed, but was ignored
2018-11-05 09:59:24,259 - totest-manager:299 INFO job
opensuse-Tumbleweed-DVD-ppc64le-Build-extra_tests_in_textmode@ppc64le
failed, but was ignored
2018-11-05 09:59:24,480 - totest-manager:299 INFO job
opensuse-Tumbleweed-DVD-ppc64le-Build-gnome@ppc64le failed, but was
ignored
2018-11-05 09:59:24,679 - totest-manager:311 INFO job
opensuse-Tumbleweed-DVD-ppc64le-Build-extra_tests_on_gnome@ppc64le
failed, see https://openqa.opensuse.org/tests/781048
2018-11-05 09:59:25,104 - totest-manager:524 INFO current_snapshot
20181022: failed
2018-11-05 09:59:25,104 - totest-manager:525 DEBUG new_snapshot 20181101
2018-11-05 09:59:25,104 - totest-manager:526 DEBUG current_qa_version
20181022
2018-11-05 09:59:28,686 - totest-manager:529 DEBUG snapshotable: True
2018-11-05 09:59:28,927 - totest-manager:580 DEBUG No ttm_amqp_url
configured in oscrc - skipping amqp event emission
2018-11-05 09:59:29,210 - totest-manager:549 DEBUG totest already
publishing
2018-11-05 09:59:29,210 - totest-manager:482 INFO Updating snapshot
20181101
2018-11-05 09:59:29,210 - totest-manager:465 INFO release
openSUSE:Factory:PowerPC/000product:openSUSE-ftp-ftp-ppc64_ppc64le
(None)
2018-11-05 09:59:29,210 - totest-manager:465 INFO release
openSUSE:Factory:PowerPC/000product:openSUSE-dvd5-dvd-ppc64le
(Snapshot20181101)
2018-11-05 09:59:29,210 - totest-manager:465 INFO release
openSUSE:Factory:PowerPC/000product:openSUSE-cd-mini-ppc64le
(Snapshot20181101)
```

TODO: is is sufficient to have ppc64 (BE) iso build failure
to be ignored by OBS as per bug 1112920
https://bugzilla.suse.com/show_bug.cgi?id=1112920
and continue to submit ppc64le isos to be submitted to openQA and
released independently from ppc64 ?

Signed-off-by: Michel Normand <normand@linux.vnet.ibm.com>
2018-11-08 17:50:26 +01:00
f111614090 Use Leap:15.1:Images for testing instead of openSUSE:Factory 2018-11-05 17:44:52 +01:00
f55e210347 Add the base container to container_products of openSUSE:Factory 2018-11-02 10:39:34 +01:00
2d8a8e295a Add release workflow for container products
Containers are built in prj/images and released into prj:ToTest/containers.
openQA uses registry.opensuse.org to pull the publish enabled (!) containers
from there and test them.
If the test was successful, the containers are released from :ToTest.
2018-11-02 10:39:34 +01:00
97cf408f62 Add new ImageProduct class to allow images with different enabled architectures 2018-11-02 10:39:34 +01:00
497988ca9f Only look at/toggle publishing of the the product repo in :ToTest
This is necessary to keep /containers published during openQA runs.
2018-11-02 10:39:34 +01:00
c6c0f546e0 Define products in ToTestBase
No reason to explicitly set them to empty in every ToTest class.
2018-11-02 10:39:34 +01:00
24d1a25ab6 Allow to specify repository and target in _release_package
Specify the source repo in _release to get rid of the FIXME.
2018-11-02 10:39:34 +01:00
a40b876ccc Don't report that a package is ok if the resultlist is empty 2018-11-02 10:36:56 +01:00
fe34b01a12 [ARM] Skip build number comparison
The LiveCD products (JeOS) for ARM will never follow
the same iso build numbers (and don't produce iso's to begin with)
than the main project. In lack of a "ignore mismatch for livecd
products only" option we just skip the syncing globally. that should
be fine as hopefully the main products always produce the same build.
2018-10-30 09:24:38 +01:00
a57829b766 Fix indentation in is_snapshottable
This block was not indended to be part of the loop body.
2018-10-29 16:40:24 +01: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
fa6f388dd4 Add openSUSE-Tumbleweed-Kubic-dvd5-dvd-aarch64 to openSUSE:Factory:ARM 2018-10-10 15:40:58 +02:00
4961866c85 [ARM 15.1] Include JeOS images in ToTest 2018-09-14 11:45:44 +02:00
Jimmy Berry
536e17cb79 osclib/stagingapi: rename dashboard_content_* methods to pseudometa_file_*.
No need to be confusing and use the deprecated dashboard name.
2018-08-17 23:19:24 -05:00
Jimmy Berry
760ddf39e6 osclib/conf: decouple from StagingAPI and always fetch remote config.
As the remote config is no longer optional for SLE and is utilized by
openSUSE to the point were it is dangerous not to load the remote config
it should be required. Currently only certain users call apply_remote()
while this will make it built-in during construction and thus makes the
usage consistent and no longer require StagingAPI.
2018-08-16 21:53:40 -05:00
4ced4cef1c
Merge pull request #1617 from nilxam/group_15_for_151
Fix openQA group for Leap 15.1
2018-07-17 16:00:12 +08:00
36e0a91daf
Merge pull request #1616 from asdil12/sle12sp4_and_sle15sp1
Add support for SLE12SP4 and SLE15SP1
2018-07-17 15:59:56 +08:00
6d15a766cb Fix openQA group for Leap 15.1 2018-07-17 15:44:39 +08:00
Dominik Heidler
00d6eaa4b0 Add support for SLE12SP4 and SLE15SP1 2018-07-16 16:51:08 +02:00
d113e01bbb Add Leap 15.1 ARM support 2018-07-16 15:51:47 +02:00
ba03166f57 Adjust opensuse-leap-image references for multibuild 2018-06-28 15:15:20 +02:00
61e425e057 Add packages for Leap 15.0 JeOS 2018-06-28 14:48:36 +02:00
b5fdeccc55 Fix JeOS snapshotable detection for Factory:ARM
In order to release the live images for Factory:ARM we need
to check if they finished building. Currently JeOS is multibuild
for armv7l and aarch64 but the main package is just building for armv7l,
so thats what we check for now. Without this change it was checking
for the default architectures (i586, x86_64) which did never pass.
2018-06-26 16:03:27 +02:00
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