From 0f9ef36b564c7c3bc3a3a027f92483e612aed9c4 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sun, 26 Apr 2015 01:24:32 +0200 Subject: add lots of new jobs for testing Debian stretch --- job-cfg/chroot-installation.yaml.py | 14 ++++++++------ job-cfg/debsums-tests.yaml | 4 ++++ job-cfg/dpkg.yaml | 34 +++++++++++++++++++++++++--------- job-cfg/dvswitch.yaml | 14 ++++++++++++++ job-cfg/lintian-tests.yaml | 16 +++++++++++++++- job-cfg/piuparts.yaml | 37 ++++++++++++++++++++++++++++++++++++- job-cfg/udd.yaml | 9 +++++++++ 7 files changed, 111 insertions(+), 17 deletions(-) (limited to 'job-cfg') diff --git a/job-cfg/chroot-installation.yaml.py b/job-cfg/chroot-installation.yaml.py index 87b62531..8d4740e4 100755 --- a/job-cfg/chroot-installation.yaml.py +++ b/job-cfg/chroot-installation.yaml.py @@ -4,14 +4,16 @@ base_distros = """ squeeze wheezy jessie + stretch sid """.split() distro_upgrades = { 'squeeze': 'wheezy', 'wheezy': 'jessie', - 'jessie': 'sid' } + 'jessie': 'stretch', + 'stretch': 'sid' } -oldstable = 'squeeze' +oldoldstable = 'squeeze' # ftp.de.debian.org runs mirror updates at 03:25, 09:25, 15:25 and 21:25 UTC and usually they run 10m... trigger_times = { 'squeeze': '30 16 25 * *', @@ -206,7 +208,7 @@ for base_distro in sorted(base_distros): else: action = 'install_'+target # default job - if target == 'maintenance' or base_distro != oldstable: + if target == 'maintenance' or base_distro != oldoldstable: print("""- job-template: defaults: chroot-installation name: '{name}_%(base_distro)s_%(action)s'""" % @@ -221,7 +223,7 @@ for base_distro in sorted(base_distros): action=action, second_base=distro_upgrades[base_distro])) # upgrade job with upgrading apt+dpkg first - if base_distro in distro_upgrades and base_distro != oldstable and target[:10] != 'education-' and action != 'maintenance': + if base_distro in distro_upgrades and base_distro != oldoldstable and target[:10] != 'education-' and action != 'maintenance': print("""- job-template: defaults: chroot-installation name: '{name}_%(base_distro)s_%(action)s_upgrade_to_%(second_base)s_aptdpkg_first'""" % @@ -270,7 +272,7 @@ for base_distro in sorted(base_distros): else: action = 'install_'+target # default job - if target == 'maintenance' or base_distro != oldstable: + if target == 'maintenance' or base_distro != oldoldstable: print(""" - '{name}_%(base_distro)s_%(action)s': my_shell: '%(shell)s' my_prio: '%(prio)s' @@ -321,7 +323,7 @@ for base_distro in sorted(base_distros): second_base=distro_upgrades[base_distro], description=description)) # upgrade job with upgrading apt+dpkg first - if base_distro in distro_upgrades and base_distro != oldstable and target[:10] != 'education-' and action != 'maintenance': + if base_distro in distro_upgrades and base_distro != oldoldstable and target[:10] != 'education-' and action != 'maintenance': description = 'Debootstrap '+base_distro+', then upgrade apt and dpkg to '+distro_upgrades[base_distro]+' and then everything else.' if target == 'bootstrap': trigger = '' diff --git a/job-cfg/debsums-tests.yaml b/job-cfg/debsums-tests.yaml index 2a18f50e..f49d325a 100644 --- a/job-cfg/debsums-tests.yaml +++ b/job-cfg/debsums-tests.yaml @@ -54,6 +54,10 @@ my_shell: 'timeout 5m prove -v' my_description: 'Debian/Debsums testsuite running on sid.' my_trigger: 'debsums-tests_jessie' + - '{name}_stretch': + my_distro: 'stretch' + my_shell: 'timeout 5m prove -v' + my_description: 'Debian/Debsums testsuite running on stretch.' - '{name}_jessie': my_distro: 'jessie' my_shell: 'timeout 5m prove -v' diff --git a/job-cfg/dpkg.yaml b/job-cfg/dpkg.yaml index 153b7138..51c2f8d8 100644 --- a/job-cfg/dpkg.yaml +++ b/job-cfg/dpkg.yaml @@ -32,31 +32,47 @@ triggers: - timed: '{my_time}' +- job-template: + defaults: dpkg + name: '{name}_jessie_find_trigger_cycles' + +- job-template: + defaults: dpkg + name: '{name}_stretch_find_trigger_cycles' + - job-template: defaults: dpkg name: '{name}_sid_find_trigger_cycles' - job-template: defaults: dpkg - name: '{name}_testing_find_trigger_cycles' + name: '{name}_setup_schroot_jessie' - job-template: defaults: dpkg - name: '{name}_setup_schroot' + name: '{name}_setup_schroot_stretch' - project: name: dpkg jobs: - - '{name}_testing_find_trigger_cycles': - my_description: 'Find dpkg trigger cycles in Debian testing.' + - '{name}_jessie_find_trigger_cycles': + my_description: 'Find dpkg trigger cycles in Debian jessie.' my_time: '0 10 * * *' - my_shell: 'schroot --directory /tmp -c source:jenkins-dpkg-jessie /srv/jenkins/bin/find_dpkg_trigger_cycles.sh testing' + my_shell: 'schroot --directory /tmp -c source:jenkins-dpkg-jessie /srv/jenkins/bin/find_dpkg_trigger_cycles.sh jessie' + - '{name}_stretch_find_trigger_cycles': + my_description: 'Find dpkg trigger cycles in Debian stretch.' + my_time: '0 10 * * *' + my_shell: 'schroot --directory /tmp -c source:jenkins-dpkg-stretch /srv/jenkins/bin/find_dpkg_trigger_cycles.sh stretch' - '{name}_sid_find_trigger_cycles': - my_description: 'Find dpkg trigger cycles in sid.' + my_description: 'Find dpkg trigger cycles in Debian sid.' my_time: '0 12 * * *' - my_shell: 'schroot --directory /tmp -c source:jenkins-dpkg-jessie /srv/jenkins/bin/find_dpkg_trigger_cycles.sh unstable' - - '{name}_setup_schroot': - my_description: 'Setup schroot for running the dpkg_sid_find_trigger_cycles and reproducible_create_meta_pkg_sets jobs in a jessie environment.' + my_shell: 'schroot --directory /tmp -c source:jenkins-dpkg-stretch /srv/jenkins/bin/find_dpkg_trigger_cycles.sh unstable' + - '{name}_setup_schroot_jessie': + my_description: 'Setup schroot for running the dpkg_jessie_find_trigger_cycles and reproducible_create_meta_pkg_sets jobs in a jessie environment.' my_time: '23 8 * * 1' my_shell: '/srv/jenkins/bin/schroot-create.sh dpkg-jessie jessie python apt-file dose-extra' + - '{name}_setup_schroot_stretch': + my_description: 'Setup schroot for running the dpkg_sid_find_trigger_cycles and dpkg_stretch_find_trigger_cycles jobs in a stretch environment.' + my_time: '23 8 * * 1' + my_shell: '/srv/jenkins/bin/schroot-create.sh dpkg-stretch stretch python apt-file dose-extra' diff --git a/job-cfg/dvswitch.yaml b/job-cfg/dvswitch.yaml index 6be71273..70961a30 100644 --- a/job-cfg/dvswitch.yaml +++ b/job-cfg/dvswitch.yaml @@ -37,6 +37,15 @@ - trigger: project: '{my_trigger}' +- job-template: + defaults: dvswitch + name: '{name}_stretch' + publishers: + - email: + recipients: 'jenkins+dvswitch qa-jenkins-scm@lists.alioth.debian.org dvswitch-maint@debian.org' + - trigger: + project: '{my_trigger}' + - job-template: defaults: dvswitch name: '{name}_sid' @@ -69,6 +78,11 @@ my_distro: 'sid' my_shell: 'debian/rules build' my_description: 'Build the dvswitch git master branch on sid.' + my_trigger: 'dvswitch_stretch' + - '{name}_stretch': + my_distro: 'stretch' + my_shell: 'debian/rules build' + my_description: 'Build the dvswitch git master branch on stretch.' my_trigger: 'dvswitch_jessie' - '{name}_jessie': my_distro: 'jessie' diff --git a/job-cfg/lintian-tests.yaml b/job-cfg/lintian-tests.yaml index 301c1dbc..0e839cab 100644 --- a/job-cfg/lintian-tests.yaml +++ b/job-cfg/lintian-tests.yaml @@ -35,6 +35,15 @@ - email: recipients: 'jenkins+debian-qa qa-jenkins-scm@lists.alioth.debian.org lintian-maint@debian.org' +- job-template: + defaults: lintian-tests + name: '{name}_stretch' + publishers: + - email: + recipients: 'jenkins+debian-qa qa-jenkins-scm@lists.alioth.debian.org lintian-maint@debian.org' + - trigger: + project: '{my_trigger}' + - job-template: defaults: lintian-tests name: '{name}_jessie' @@ -62,7 +71,12 @@ my_distro: 'sid' my_shell: 'timeout 6h debian/rules runtests' my_description: 'Debian/Lintian testsuite running on sid.' - my_trigger: 'lintian-tests_jessie' + my_trigger: 'lintian-tests_stretch' + - '{name}_stretch': + my_distro: 'stretch' + my_shell: 'timeout 6h debian/rules runtests' + my_description: 'Debian/Lintian testsuite running on stretch.' + my_trigger: 'lintian-tests_wheezy' - '{name}_jessie': my_distro: 'jessie' my_shell: 'timeout 6h debian/rules runtests' diff --git a/job-cfg/piuparts.yaml b/job-cfg/piuparts.yaml index 05ee4b25..7151e9e5 100644 --- a/job-cfg/piuparts.yaml +++ b/job-cfg/piuparts.yaml @@ -35,6 +35,17 @@ builders: - shell: '/srv/jenkins/bin/chroot-run.sh {my_distro} {my_shell}' +- job-template: + defaults: piuparts + name: '{name}_testsuite_stretch' + publishers: + - email: + recipients: 'jenkins+debian-qa qa-jenkins-scm@lists.alioth.debian.org piuparts-devel@lists.alioth.debian.org' + - trigger: + project: '{my_trigger}' + builders: + - shell: '/srv/jenkins/bin/chroot-run.sh {my_distro} {my_shell}' + - job-template: defaults: piuparts name: '{name}_testsuite_sid' @@ -60,6 +71,20 @@ builders: - shell: 'export ARTIFACTS=true ; /srv/jenkins/bin/chroot-run.sh {my_distro} {my_shell}' +- job-template: + defaults: piuparts + name: '{name}_build_stretch' + publishers: + - email: + recipients: 'jenkins+debian-qa qa-jenkins-scm@lists.alioth.debian.org piuparts-devel@lists.alioth.debian.org' + - trigger: + project: '{my_trigger}' + - archive: + artifacts: '*_*.dsc, *_*.tar.*, *_*_*.deb, *_*_*.changes' + latest_only: true + builders: + - shell: 'export ARTIFACTS=true ; /srv/jenkins/bin/chroot-run.sh {my_distro} {my_shell}' + - job-template: defaults: piuparts name: '{name}_build_sid' @@ -81,7 +106,12 @@ my_distro: 'sid' my_shell: 'make check' my_description: 'run testsuite from piuparts develop branch on sid.' - my_trigger: 'piuparts_testsuite_jessie, piuparts_build_sid' + my_trigger: 'piuparts_testsuite_stretch, piuparts_build_sid' + - '{name}_testsuite_stretch': + my_distro: 'stretch' + my_shell: 'make check' + my_description: 'run testsuite from piuparts develop branch on stretch.' + my_trigger: 'piuparts_testsuite_jessie' - '{name}_testsuite_jessie': my_distro: 'jessie' my_shell: 'make check' @@ -90,6 +120,11 @@ my_distro: 'sid' my_shell: 'debuild -uc -us' my_description: 'build the piuparts develop branch on sid.' + my_trigger: 'piuparts_build_stretch' + - '{name}_build_stretch': + my_distro: 'stretch' + my_shell: 'debuild -uc -us' + my_description: 'build the piuparts develop branch on stretch.' my_trigger: 'piuparts_build_jessie' - '{name}_build_jessie': my_distro: 'jessie' diff --git a/job-cfg/udd.yaml b/job-cfg/udd.yaml index 3fc39a3d..d4bde54f 100644 --- a/job-cfg/udd.yaml +++ b/job-cfg/udd.yaml @@ -41,6 +41,10 @@ defaults: udd name: '{name}_jessie_multiarch_versionskew' +- job-template: + defaults: udd + name: '{name}_stretch_multiarch_versionskew' + - job-template: defaults: udd name: '{name}_sid_multiarch_versionskew' @@ -61,6 +65,11 @@ my_params: 'multiarch_versionskew wheezy' my_description: 'Detect multi-arch versions skews in wheezy.' my_logparser: 'true' + - '{name}_stretch_multiarch_versionskew': + my_time: '1 8 * * *' + my_params: 'multiarch_versionskew stretch' + my_description: 'Detect multi-arch versions skews in stretch.' + my_logparser: 'true' - '{name}_jessie_multiarch_versionskew': my_time: '1 8 * * *' my_params: 'multiarch_versionskew jessie' -- cgit v1.2.3-70-g09d2