[Piuparts-devel] [Git][debian/piuparts][develop] 7 commits: eliminate backticks in favor of $()
Holger Levsen
gitlab at salsa.debian.org
Fri Feb 8 22:48:31 GMT 2019
Holger Levsen pushed to branch develop at Debian / piuparts
Commits:
81d0c8e6 by Andreas Beckmann at 2019-02-08T22:47:52Z
eliminate backticks in favor of $()
Signed-off-by: Andreas Beckmann <anbe at debian.org>
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
b8cdef7b by Andreas Beckmann at 2019-02-08T22:47:52Z
stable->stable-proposed: upgrade database early
Signed-off-by: Andreas Beckmann <anbe at debian.org>
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
55bcc112 by Andreas Beckmann at 2019-02-08T22:47:52Z
p-r: do not count versions, we only have one per package
Signed-off-by: Andreas Beckmann <anbe at debian.org>
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
72a5a968 by Andreas Beckmann at 2019-02-08T22:47:53Z
p-r: report cruft in logfile lists
Signed-off-by: Andreas Beckmann <anbe at debian.org>
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
d5c417e2 by Andreas Beckmann at 2019-02-08T22:47:53Z
p-s: support prepending a setarch command to the piuparts invokation
Signed-off-by: Andreas Beckmann <anbe at debian.org>
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
6e88f415 by Andreas Beckmann at 2019-02-08T22:47:53Z
p.conf.anbe: set 'setarch = linux32' for all i386 tests
Signed-off-by: Andreas Beckmann <anbe at debian.org>
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
a22f843d by Andreas Beckmann at 2019-02-08T22:47:53Z
scripts-broken-symlinks: unbreak more symlinks
Signed-off-by: Andreas Beckmann <anbe at debian.org>
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
14 changed files:
- README_server.txt
- custom-scripts/scripts-broken-symlinks/post_install_extras_unbreak_symlinks
- custom-scripts/scripts-leftovers/pre_remove_preseed_cleanup
- custom-scripts/scripts/pre_distupgrade_zz_database-server
- custom-scripts/scripts/pre_install_database-server
- debian/changelog
- instances/piuparts.conf.anbe
- master-bin/detect_archive_issues.in
- master-bin/detect_network_issues.in
- master-bin/detect_piuparts_issues.in
- master-bin/report_stale_reserved_packages.in
- master-bin/report_untestable_packages.in
- piuparts-report.py
- piuparts-slave.py
Changes:
=====================================
README_server.txt
=====================================
@@ -375,6 +375,10 @@ section, too, and will serve as defaults for all other sections
used for logging stderr output from piuparts-master. This logfile
will be placed in the 'master-directory' and has the PID appended.
+* "setarch" contains arguments for an optional 'setarch' command
+ that can be prepended to the 'piuparts-command'. Recommended value
+ for running 'i386' tests on an 'amd64' host is 'linux32'.
+
* "piuparts-command" is the command the slave uses to start
piuparts. It should include 'sudo' if necessary so that piuparts
runs with sufficient priviledges to do its testing (and that
=====================================
custom-scripts/scripts-broken-symlinks/post_install_extras_unbreak_symlinks
=====================================
@@ -80,13 +80,13 @@ install_extra_package qflow netgen-lvs
# ruby-psych: Suggests: libpsych-java
install_extra_package ruby-psych libpsych-java
-# /usr/lib/slepcdir/slepc3.9/x86_64-linux-gnu-complex/share/slepc/datafiles -> ../../../../../../share/doc/libslepc3.9-dev-examples/datafiles
-# libslepc-complex3.9-dev: Suggests: libslepc3.9-dev-examples, slepc3.9-doc
-install_extra_package libslepc-complex3.9-dev libslepc3.9-dev-examples slepc3.9-doc
+# /usr/lib/slepcdir/slepc3.10/x86_64-linux-gnu-complex/share/slepc/datafiles -> ../../../../../../share/doc/libslepc3.10-dev-examples/datafiles
+# libslepc-complex3.10-dev: Suggests: libslepc3.10-dev-examples
+install_extra_package libslepc-complex3.10-dev libslepc3.10-dev-examples slepc3.10-doc
-# /usr/lib/slepcdir/slepc3.9/x86_64-linux-gnu-real/share/slepc/datafiles -> ../../../../../../share/doc/libslepc3.9-dev-examples/datafiles
-# libslepc-real3.9-dev: Suggests: libslepc3.9-dev-examples, slepc3.9-doc
-install_extra_package libslepc-real3.9-dev libslepc3.9-dev-examples slepc3.9-doc
+# /usr/lib/slepcdir/slepc3.10/x86_64-linux-gnu-real/share/slepc/datafiles -> ../../../../../../share/doc/libslepc3.10-dev-examples/datafiles
+# libslepc-real3.10-dev: Suggests: libslepc3.10-dev-examples
+install_extra_package libslepc-real3.10-dev libslepc3.10-dev-examples slepc3.10-doc
# /usr/lib/wml/exec/wml_aux_weblint -> ../../../bin/weblint
# /usr/lib/wml/exec/wml_aux_freetable -> ../../../bin/freetable
@@ -152,18 +152,22 @@ install_extra_package libembperl-perl libjs-prototype
# libgraphicsmagick1-dev: Suggests: graphicsmagick
install_extra_package libgraphicsmagick1-dev graphicsmagick
+# /usr/share/doc/libjs-mocha/example/chai.js -> ../../../javascript/chai/chai.js
+# libjs-mocha: Suggests: libjs-chai
+install_extra_package libjs-mocha libjs-chai
+
# /usr/share/doc/libjs-sprintf-js/examples/angular.min.js -> ../../../javascript/angular.js/angular.min.js
# libjs-sprintf-js: Suggests: libjs-angularjs
install_extra_package libjs-sprintf-js libjs-angularjs
-# /usr/share/doc/libpetsc3.9-dev-examples/include -> ../petsc3.9-doc/include
-# /usr/share/doc/libpetsc3.9-dev-examples/docs -> ../petsc3.9-doc/docs
-# libpetsc3.9-dev-examples: Suggests: petsc3.9-doc
-install_extra_package libpetsc3.9-dev-examples petsc3.9-doc
+# /usr/share/doc/libpetsc3.10-dev-examples/docs -> ../petsc3.10-doc/docs (libpetsc3.10-dev-examples)
+# /usr/share/doc/libpetsc3.10-dev-examples/include -> ../petsc3.10-doc/include (libpetsc3.10-dev-examples)
+# libpetsc3.10-dev-examples: Suggests: petsc3.10-doc
+install_extra_package libpetsc3.10-dev-examples petsc3.10-doc
-# /usr/share/doc/libslepc3.9-dev-examples/examples/docs -> ../../slepc3.9-doc/docs
-# libslepc3.9-dev-examples: Suggests: slepc3.9-doc
-install_extra_package libslepc3.9-dev-examples slepc3.9-doc
+# /usr/share/doc/libslepc3.10-dev-examples/examples/docs -> ../../slepc3.10-doc/docs
+# libslepc3.10-dev-examples: Suggests: slepc3.10-doc
+install_extra_package libslepc3.10-dev-examples slepc3.10-doc
# /usr/share/doc/libvirt-doc/changelog.gz -> ../libvirt0/changelog.gz
install_extra_package libvirt-doc libvirt0
@@ -171,6 +175,12 @@ install_extra_package libvirt-doc libvirt0
# /usr/share/doc/mkvtoolnix/README.source -> ../quilt/README.source
install_extra_package mkvtoolnix quilt nullmailer
+# /usr/share/doc/node-setimmediate/examples/chai.js -> ../../../javascript/chai/chai.js
+# /usr/share/doc/node-setimmediate/examples/mocha.css -> ../../../javascript/mocha/mocha.css
+# /usr/share/doc/node-setimmediate/examples/mocha.js -> ../../../javascript/mocha/mocha.js
+# node-setimmediate: Suggests: libjs-mocha, libjs-chai
+install_extra_package node-setimmediate libjs-chai libjs-mocha
+
# /usr/share/doc/python-ly/html -> ../python-ly-doc/html
# python-ly: Suggests: python-ly-doc
install_extra_package python-ly python-ly-doc
@@ -234,6 +244,10 @@ install_extra_package org-mode ditaa
# python-biopython: Suggests: w3-dtd-mathml
install_extra_package python-biopython w3-dtd-mathml
+# /usr/lib/python2.7/dist-packages/sas/sasview/doc -> ../../../../../share/doc/sasview/html
+# python-sasview: Suggests: sasview-doc
+install_extra_package python-sasview sasview-doc
+
# /usr/share/pyshared/MoinMoin/words -> /etc/moin/words
# /etc/moin/words -> /usr/share/dict/words
install_extra_package python-moinmoin wamerican
@@ -323,6 +337,11 @@ create_extra_file vdr /var/cache/vdr/commands.conf /var/cache/vdr/reccmds.con
# /etc/vdr/plugins/xineliboutput/config -> /var/lib/vdr/plugins/xineliboutput/config
create_extra_file vdr-plugin-xineliboutput /var/lib/vdr/plugins/xineliboutput/config
+# /usr/lib/mesa-diverted/i386-linux-gnu/libGLX_indirect.so.0 -> libGLX_mesa.so.0
+# /usr/lib/mesa-diverted/x86_64-linux-gnu/libGLX_indirect.so.0 -> libGLX_mesa.so.0
+create_extra_file glx-diversions /usr/lib/mesa-diverted/i386-linux-gnu/libGLX_mesa.so.0
+create_extra_file glx-diversions /usr/lib/mesa-diverted/x86_64-linux-gnu/libGLX_mesa.so.0
+
# /usr/sbin/ganeti-masterd -> ../share/ganeti/default/ganeti-masterd
# #857289
create_extra_file ganeti /usr/share/ganeti/default/ganeti-masterd
=====================================
custom-scripts/scripts-leftovers/pre_remove_preseed_cleanup
=====================================
@@ -88,6 +88,7 @@ if [ -d /var/lib/mysql ]; then
echo "mariadb-server-10.0 mysql-server-10.0/postrm_remove_databases boolean true" | debconf-set-selections
echo "mariadb-server-10.0 mariadb-server-10.0/postrm_remove_databases boolean true" | debconf-set-selections
echo "mariadb-server-10.1 mariadb-server-10.1/postrm_remove_databases boolean true" | debconf-set-selections
+ echo "mariadb-server-10.3 mariadb-server-10.3/postrm_remove_databases boolean true" | debconf-set-selections
echo "percona-xtradb-cluster-server-5.5 mysql-server-5.1/postrm_remove_databases boolean true" | debconf-set-selections
fi
=====================================
custom-scripts/scripts/pre_distupgrade_zz_database-server
=====================================
@@ -38,6 +38,28 @@ case "$PIUPARTS_DISTRIBUTION_NEXT" in
;;
esac
+case "$PIUPARTS_DISTRIBUTION_NEXT" in
+ wheezy)
+ CANDIDATES="$CANDIDATES mysql-server-5.5"
+ CANDIDATES="$CANDIDATES postgresql-9.1"
+ ;;
+ jessie)
+ CANDIDATES="$CANDIDATES mysql-server-5.5"
+ CANDIDATES="$CANDIDATES mariadb-server-10.0"
+ CANDIDATES="$CANDIDATES postgresql-9.4"
+ ;;
+ stretch)
+ CANDIDATES="$CANDIDATES mariadb-server-10.1"
+ CANDIDATES="$CANDIDATES postgresql-9.6"
+ ;;
+ buster)
+ CANDIDATES="$CANDIDATES mariadb-server-10.3"
+ CANDIDATES="$CANDIDATES postgresql-11"
+ ;;
+esac
+
+
+
PACKAGES=
RETRY="false"
=====================================
custom-scripts/scripts/pre_install_database-server
=====================================
@@ -78,6 +78,7 @@ case ${PIUPARTS_OBJECTS%%=*} in
heat-common) SQLITE3=yes ;;
heat-engine) SQLITE3=yes ;;
icinga-idoutils) POSTGRESQL=yes ;;
+ icinga-idoutils-dbgsym) POSTGRESQL=yes ;;
icinga-phpapi) MYSQL=yes ;;
icinga-web) POSTGRESQL=yes ;;
icinga-web-config-icinga) POSTGRESQL=yes ;;
@@ -101,6 +102,7 @@ case ${PIUPARTS_OBJECTS%%=*} in
moodle-book) POSTGRESQL=yes ;;
moodle-debian-edu-*) POSTGRESQL=yes ;;
movabletype-opensource) SQLITE3=yes ;;
+ movim) POSTGRESQL=yes ;;
mtop) MYSQL=yes ;;
mythtv-database) MYSQL=yes ;;
nagvis) MYSQL=yes ;;
=====================================
debian/changelog
=====================================
@@ -29,6 +29,15 @@ piuparts (0.97) UNRELEASED; urgency=medium
- swap stable2sid and stable22sid priorities, to promote the one reported
to DDPO.
+ [ Andreas Beckmann ]
+ * piuparts-slave.py:
+ - Support prepending a setarch command to the piuparts invokation.
+ * piuparts-report.py:
+ - Report [cruft] in logfile lists.
+ * Ignore broken /var/lib/mender symlink. (Closes: #915680)
+ * scripts/pre_distupgrade_zz_database-server: Also act on dist-upgrades
+ within a release, e.g. stable -> stable-proposed-updates.
+
-- Holger Levsen <holger at debian.org> Sun, 13 Jan 2019 16:58:44 +0100
piuparts (0.96) unstable; urgency=medium
=====================================
instances/piuparts.conf.anbe
=====================================
@@ -80,6 +80,8 @@ flags-broken-symlinks =
-i :/usr/share/gocode/src/github.com/prometheus/procfs/fixtures/26231/exe
-i :/usr/share/gocode/src/github.com/prometheus/procfs/fixtures/26231/ns/mnt
-i :/usr/share/gocode/src/github.com/prometheus/procfs/fixtures/26231/ns/net
+ -i :/usr/share/gocode/src/github.com/prometheus/procfs/fixtures/26232/cwd
+ -i :/usr/share/gocode/src/github.com/prometheus/procfs/fixtures/26232/root
# ignore broken symlinks
-i :/etc/systemd/system/display-manager.service
# civicrm-common, #857601, wontfix, /usr/share/civicrm/packages/OpenFlashChart/open-flash-chart.swf -> ../../../../local/open-flash-chart.swf
@@ -87,6 +89,10 @@ flags-broken-symlinks =
# musescore-common, #910145, wontfix, /usr/share/mscore-2.3/sound/{sf2,sfz} -> ../../sounds/{sf2,sfz}
-i :/usr/share/mscore-2.3/sound/sf2
-i :/usr/share/mscore-2.3/sound/sfz
+ -i :/usr/share/mscore-3.0/sound/sf2
+ -i :/usr/share/mscore-3.0/sound/sfz
+# mender-client, #915680, /var/lib/mender -> /data/mender
+ -i :/var/lib/mender
# ignore broken symlinks (patterns)
-I :/etc/.*/supervise
-I /usr/include/python2\.7_d/.*\.h
@@ -96,6 +102,7 @@ flags-broken-symlinks =
-I :/usr/share/doc/kde/HTML/.*/common
-I :/usr/share/man/man1/(.*-)?python.*-config\.1\.gz
# ignore broken symlinks (third party game data)
+ -I :/usr/lib/openjk/JediAcademy/base/assets.\.pk3
-I :/usr/lib/rtcw/main/.*\.(cfg|pk3)
[global]
@@ -460,6 +467,7 @@ piuparts-flags =
distro = None
upgrade-test-distros = sid
arch = i386
+setarch = linux32
area = main
components = main
# 60*60*24*2
@@ -486,6 +494,7 @@ piuparts-flags =
distro = None
upgrade-test-distros = buster
arch = i386
+setarch = linux32
area = main
components = main
# 60*60*24*7
@@ -512,6 +521,7 @@ piuparts-flags =
distro = None
upgrade-test-distros = stretch
arch = i386
+setarch = linux32
area = main
components = main
# 60*60*24*30
@@ -538,6 +548,7 @@ piuparts-flags =
distro = None
upgrade-test-distros = jessie
arch = i386
+setarch = linux32
area = main
components = main
# 60*60*24*30
@@ -563,6 +574,7 @@ piuparts-flags =
distro = None
upgrade-test-distros = wheezy
arch = i386
+setarch = linux32
area = main
components = main
max-tgz-age = 0
@@ -589,6 +601,7 @@ piuparts-flags =
distro = None
upgrade-test-distros = squeeze
arch = i386
+setarch = linux32
area = main
components = main
max-tgz-age = 0
@@ -615,6 +628,7 @@ piuparts-flags =
distro = None
upgrade-test-distros = lenny
arch = i386
+setarch = linux32
area = main
components = main
max-tgz-age = 0
@@ -664,6 +678,7 @@ piuparts-flags =
depends-sections = sid-rcmd/main
distro = experimental
arch = i386
+setarch = linux32
area = main
components = main
reschedule-old-days = 30
@@ -675,6 +690,7 @@ piuparts-flags =
depends-sections = experimental_i386/main sid-rcmd/main sid-rcmd/contrib sid-rcmd/non-free
distro = experimental
arch = i386
+setarch = linux32
area = contrib
reschedule-old-days = 30
@@ -685,6 +701,7 @@ piuparts-flags =
depends-sections = experimental_i386/main sid-rcmd/main sid-rcmd/contrib sid-rcmd/non-free
distro = experimental
arch = i386
+setarch = linux32
area = non-free
reschedule-old-days = 30
@@ -729,6 +746,7 @@ piuparts-flags =
depends-sections = sid-rcmd/main
distro = experimental
arch = i386
+setarch = linux32
area = main
components = main
@@ -740,6 +758,7 @@ piuparts-flags =
depends-sections = experimental-bl_i386/main sid-rcmd/main sid-rcmd/contrib sid-rcmd/non-free
distro = experimental
arch = i386
+setarch = linux32
area = contrib
[experimental-bl_i386/non-free]
@@ -750,6 +769,7 @@ piuparts-flags =
depends-sections = experimental-bl_i386/main sid-rcmd/main sid-rcmd/contrib sid-rcmd/non-free
distro = experimental
arch = i386
+setarch = linux32
area = non-free
@@ -832,6 +852,7 @@ piuparts-flags =
%(flags-default)s
distro = sid
arch = i386
+setarch = linux32
area = main
components = main
reschedule-old-days = 60
@@ -845,6 +866,7 @@ piuparts-flags =
depends-sections = sid-rcmd/main sid-rcmd/non-free
distro = sid
arch = i386
+setarch = linux32
area = contrib
reschedule-old-days = 60
@@ -857,6 +879,7 @@ piuparts-flags =
depends-sections = sid-rcmd/main sid-rcmd/contrib
distro = sid
arch = i386
+setarch = linux32
area = non-free
reschedule-old-days = 60
@@ -899,6 +922,7 @@ piuparts-flags =
%(flags-broken-symlinks)s
distro = sid
arch = i386
+setarch = linux32
area = main
components = main
@@ -910,6 +934,7 @@ piuparts-flags =
depends-sections = sid-bl_i386/main sid-bl_i386/non-free
distro = sid
arch = i386
+setarch = linux32
area = contrib
[sid-bl_i386/non-free]
@@ -920,6 +945,7 @@ piuparts-flags =
depends-sections = sid-bl_i386/main sid-bl_i386/contrib
distro = sid
arch = i386
+setarch = linux32
area = non-free
@@ -965,6 +991,7 @@ piuparts-flags =
%(flags-end-testing)s
distro = testing
arch = i386
+setarch = linux32
area = main
components = main
@@ -979,6 +1006,7 @@ piuparts-flags =
depends-sections = testing-rcmd/main testing-rcmd/non-free
distro = testing
arch = i386
+setarch = linux32
area = contrib
[testing-rcmd/non-free]
@@ -992,6 +1020,7 @@ piuparts-flags =
depends-sections = testing-rcmd/main testing-rcmd/contrib
distro = testing
arch = i386
+setarch = linux32
area = non-free
@@ -1005,6 +1034,7 @@ piuparts-flags =
--scriptsdir /etc/piuparts/scripts-no-usr-share-doc
distro = testing
arch = i386
+setarch = linux32
area = main
components = main
@@ -1019,6 +1049,7 @@ piuparts-flags =
depends-sections = testing-nodocs/main testing-nodocs/non-free
distro = testing
arch = i386
+setarch = linux32
area = contrib
[testing-nodocs/non-free]
@@ -1032,6 +1063,7 @@ piuparts-flags =
depends-sections = testing-nodocs/main testing-nodocs/contrib
distro = testing
arch = i386
+setarch = linux32
area = non-free
@@ -1192,6 +1224,7 @@ piuparts-flags =
%(flags-end-stretch)s
distro = stretch
arch = i386
+setarch = linux32
area = main
components = main
reschedule-old-count = 100
@@ -1207,6 +1240,7 @@ piuparts-flags =
depends-sections = stretch-rcmd/main stretch-rcmd/non-free
distro = stretch
arch = i386
+setarch = linux32
area = contrib
[stretch-rcmd/non-free]
@@ -1220,6 +1254,7 @@ piuparts-flags =
depends-sections = stretch-rcmd/main stretch-rcmd/contrib
distro = stretch
arch = i386
+setarch = linux32
area = non-free
@@ -1484,6 +1519,7 @@ piuparts-flags =
%(flags-end-jessie)s
distro = jessie
arch = i386
+setarch = linux32
area = main
components = main
reschedule-old-count = 100
@@ -1499,6 +1535,7 @@ piuparts-flags =
depends-sections = jessie-rcmd/main jessie-rcmd/non-free
distro = jessie
arch = i386
+setarch = linux32
area = contrib
[jessie-rcmd/non-free]
@@ -1512,6 +1549,7 @@ piuparts-flags =
depends-sections = jessie-rcmd/main jessie-rcmd/contrib
distro = jessie
arch = i386
+setarch = linux32
area = non-free
@@ -1670,6 +1708,7 @@ piuparts-flags =
%(flags-end-wheezy)s
distro = wheezy
arch = i386
+setarch = linux32
area = main
components = main
reschedule-old-count = 0
@@ -1685,6 +1724,7 @@ piuparts-flags =
depends-sections = wheezy-rcmd/main wheezy-rcmd/non-free
distro = wheezy
arch = i386
+setarch = linux32
area = contrib
reschedule-old-count = 0
@@ -1699,6 +1739,7 @@ piuparts-flags =
depends-sections = wheezy-rcmd/main wheezy-rcmd/contrib
distro = wheezy
arch = i386
+setarch = linux32
area = non-free
reschedule-old-count = 0
@@ -1860,6 +1901,7 @@ piuparts-flags =
%(flags-end-squeeze)s
distro = squeeze
arch = i386
+setarch = linux32
area = main
components = main
reschedule-old-count = 0
@@ -1873,6 +1915,7 @@ piuparts-flags =
depends-sections = squeeze_i386/main squeeze_i386/non-free
distro = squeeze
arch = i386
+setarch = linux32
area = contrib
reschedule-old-count = 0
@@ -1885,6 +1928,7 @@ piuparts-flags =
depends-sections = squeeze_i386/main squeeze_i386/contrib
distro = squeeze
arch = i386
+setarch = linux32
area = non-free
reschedule-old-count = 0
@@ -2048,6 +2092,7 @@ piuparts-flags =
%(flags-end-lenny)s
distro = lenny
arch = i386
+setarch = linux32
area = main
components = main
reschedule-old-count = 0
@@ -2061,6 +2106,7 @@ piuparts-flags =
depends-sections = lenny_i386/main lenny_i386/non-free
distro = lenny
arch = i386
+setarch = linux32
area = contrib
reschedule-old-count = 0
@@ -2073,6 +2119,7 @@ piuparts-flags =
depends-sections = lenny_i386/main lenny_i386/contrib
distro = lenny
arch = i386
+setarch = linux32
area = non-free
reschedule-old-count = 0
@@ -2221,6 +2268,7 @@ piuparts-flags =
%(flags-start-lenny)s
%(flags-end-testing)s
arch = i386
+setarch = linux32
area = main
components = main
distro = lenny
@@ -2237,6 +2285,7 @@ piuparts-flags =
%(flags-end-testing)s
depends-sections = lenny222testing_i386/main lenny222testing_i386/non-free
arch = i386
+setarch = linux32
area = contrib
distro = lenny
upgrade-test-distros = lenny squeeze wheezy jessie stretch testing
@@ -2250,6 +2299,7 @@ piuparts-flags =
%(flags-end-testing)s
depends-sections = lenny222testing_i386/main lenny222testing_i386/contrib
arch = i386
+setarch = linux32
area = non-free
distro = lenny
upgrade-test-distros = lenny squeeze wheezy jessie stretch testing
@@ -2266,6 +2316,7 @@ piuparts-flags =
depends-sections = squeeze/main
distro = squeeze-lts
arch = i386
+setarch = linux32
area = main
components = main
upgrade-test-distros = squeeze squeeze-lts wheezy
@@ -2281,6 +2332,7 @@ piuparts-flags =
depends-sections = squeeze/main squeeze2lts2wheezy/main squeeze2lts2wheezy/non-free
distro = squeeze-lts
arch = i386
+setarch = linux32
area = contrib
upgrade-test-distros = squeeze squeeze-lts wheezy
reschedule-old-count = 0
@@ -2295,6 +2347,7 @@ piuparts-flags =
depends-sections = squeeze/main squeeze2lts2wheezy/main squeeze2lts2wheezy/contrib
distro = squeeze-lts
arch = i386
+setarch = linux32
area = non-free
upgrade-test-distros = squeeze squeeze-lts wheezy
reschedule-old-count = 0
@@ -2390,6 +2443,7 @@ piuparts-flags =
%(flags-end-wheezy)s
--scriptsdir /etc/piuparts/scripts-debug-problemresolver
arch = i386
+setarch = linux32
area = main
components = main
distro = squeeze
@@ -2404,6 +2458,7 @@ piuparts-flags =
%(flags-end-wheezy)s
depends-sections = squeeze2wheezy_i386/main squeeze2wheezy_i386/non-free
arch = i386
+setarch = linux32
area = contrib
distro = squeeze
upgrade-test-distros = squeeze wheezy
@@ -2417,6 +2472,7 @@ piuparts-flags =
%(flags-end-wheezy)s
depends-sections = squeeze2wheezy_i386/main squeeze2wheezy_i386/contrib
arch = i386
+setarch = linux32
area = non-free
distro = squeeze
upgrade-test-distros = squeeze wheezy
@@ -2479,6 +2535,7 @@ piuparts-flags =
%(flags-end-wheezy)s
--scriptsdir /etc/piuparts/scripts-debug-problemresolver
arch = i386
+setarch = linux32
area = main
components = main
distro = squeeze
@@ -2494,6 +2551,7 @@ piuparts-flags =
%(flags-end-wheezy)s
depends-sections = squeeze2wheezy-rcmd_i386/main squeeze2wheezy-rcmd_i386/non-free
arch = i386
+setarch = linux32
area = contrib
distro = squeeze
upgrade-test-distros = squeeze wheezy
@@ -2508,6 +2566,7 @@ piuparts-flags =
%(flags-end-wheezy)s
depends-sections = squeeze2wheezy-rcmd_i386/main squeeze2wheezy-rcmd_i386/contrib
arch = i386
+setarch = linux32
area = non-free
distro = squeeze
upgrade-test-distros = squeeze wheezy
@@ -2605,6 +2664,7 @@ piuparts-flags =
%(flags-start-squeeze)s
%(flags-end-testing)s
arch = i386
+setarch = linux32
area = main
components = main
distro = squeeze
@@ -2619,6 +2679,7 @@ piuparts-flags =
%(flags-end-testing)s
depends-sections = squeeze222testing_i386/main squeeze222testing_i386/non-free
arch = i386
+setarch = linux32
area = contrib
distro = squeeze
upgrade-test-distros = squeeze wheezy jessie stretch testing
@@ -2632,6 +2693,7 @@ piuparts-flags =
%(flags-end-testing)s
depends-sections = squeeze222testing_i386/main squeeze222testing_i386/contrib
arch = i386
+setarch = linux32
area = non-free
distro = squeeze
upgrade-test-distros = squeeze wheezy jessie stretch testing
@@ -2727,6 +2789,7 @@ piuparts-flags =
%(flags-end-jessie)s
--scriptsdir /etc/piuparts/scripts-debug-problemresolver
arch = i386
+setarch = linux32
area = main
components = main
distro = wheezy
@@ -2741,6 +2804,7 @@ piuparts-flags =
--scriptsdir /etc/piuparts/scripts-debug-problemresolver
depends-sections = wheezy2jessie_i386/main wheezy2jessie_i386/non-free
arch = i386
+setarch = linux32
area = contrib
distro = wheezy
upgrade-test-distros = wheezy jessie
@@ -2754,6 +2818,7 @@ piuparts-flags =
--scriptsdir /etc/piuparts/scripts-debug-problemresolver
depends-sections = wheezy2jessie_i386/main wheezy2jessie_i386/contrib
arch = i386
+setarch = linux32
area = non-free
distro = wheezy
upgrade-test-distros = wheezy jessie
@@ -2819,6 +2884,7 @@ piuparts-flags =
--scriptsdir /etc/piuparts/scripts-debug-problemresolver
-i /usr/lib/dbus-1.0/dbus-daemon-launch-helper
arch = i386
+setarch = linux32
area = main
components = main
distro = wheezy
@@ -2836,6 +2902,7 @@ piuparts-flags =
-i /usr/lib/dbus-1.0/dbus-daemon-launch-helper
depends-sections = wheezy2jessie-rcmd_i386/main wheezy2jessie-rcmd_i386/non-free
arch = i386
+setarch = linux32
area = contrib
distro = wheezy
upgrade-test-distros = wheezy jessie
@@ -2852,6 +2919,7 @@ piuparts-flags =
-i /usr/lib/dbus-1.0/dbus-daemon-launch-helper
depends-sections = wheezy2jessie-rcmd_i386/main wheezy2jessie-rcmd_i386/contrib
arch = i386
+setarch = linux32
area = non-free
distro = wheezy
upgrade-test-distros = wheezy jessie
@@ -3083,6 +3151,7 @@ piuparts-flags =
%(flags-start-wheezy)s
%(flags-end-testing)s
arch = i386
+setarch = linux32
area = main
components = main
distro = wheezy
@@ -3097,6 +3166,7 @@ piuparts-flags =
%(flags-end-testing)s
depends-sections = wheezy222testing_i386/main wheezy222testing_i386/non-free
arch = i386
+setarch = linux32
area = contrib
distro = wheezy
upgrade-test-distros = wheezy jessie stretch testing
@@ -3110,6 +3180,7 @@ piuparts-flags =
%(flags-end-testing)s
depends-sections = wheezy222testing_i386/main wheezy222testing_i386/contrib
arch = i386
+setarch = linux32
area = non-free
distro = wheezy
upgrade-test-distros = wheezy jessie stretch testing
@@ -3251,6 +3322,7 @@ piuparts-flags =
%(flags-end-stretch)s
--scriptsdir /etc/piuparts/scripts-debug-problemresolver
arch = i386
+setarch = linux32
area = main
components = main
distro = jessie
@@ -3265,6 +3337,7 @@ piuparts-flags =
--scriptsdir /etc/piuparts/scripts-debug-problemresolver
depends-sections = jessie2stretch_i386/main jessie2stretch_i386/non-free
arch = i386
+setarch = linux32
area = contrib
distro = jessie
upgrade-test-distros = jessie stretch
@@ -3278,6 +3351,7 @@ piuparts-flags =
--scriptsdir /etc/piuparts/scripts-debug-problemresolver
depends-sections = jessie2stretch_i386/main jessie2stretch_i386/contrib
arch = i386
+setarch = linux32
area = non-free
distro = jessie
upgrade-test-distros = jessie stretch
@@ -3293,6 +3367,7 @@ piuparts-flags =
%(flags-end-stretch)s
--scriptsdir /etc/piuparts/scripts-debug-problemresolver
arch = i386
+setarch = linux32
area = main
components = main
distro = jessie
@@ -3310,6 +3385,7 @@ piuparts-flags =
--scriptsdir /etc/piuparts/scripts-debug-problemresolver
depends-sections = jessie3stretch_i386/main jessie3stretch_i386/non-free
arch = i386
+setarch = linux32
area = contrib
distro = jessie
upgrade-test-distros = jessie stretch
@@ -3326,6 +3402,7 @@ piuparts-flags =
--scriptsdir /etc/piuparts/scripts-debug-problemresolver
depends-sections = jessie3stretch_i386/main jessie3stretch_i386/contrib
arch = i386
+setarch = linux32
area = non-free
distro = jessie
upgrade-test-distros = jessie stretch
@@ -3440,6 +3517,7 @@ piuparts-flags =
%(flags-end-stretch)s
--scriptsdir /etc/piuparts/scripts-debug-problemresolver
arch = i386
+setarch = linux32
area = main
components = main
distro = jessie
@@ -3456,6 +3534,7 @@ piuparts-flags =
--scriptsdir /etc/piuparts/scripts-debug-problemresolver
depends-sections = jessie2stretch-rcmd_i386/main jessie2stretch-rcmd_i386/non-free
arch = i386
+setarch = linux32
area = contrib
distro = jessie
upgrade-test-distros = jessie stretch
@@ -3471,6 +3550,7 @@ piuparts-flags =
--scriptsdir /etc/piuparts/scripts-debug-problemresolver
depends-sections = jessie2stretch-rcmd_i386/main jessie2stretch-rcmd_i386/contrib
arch = i386
+setarch = linux32
area = non-free
distro = jessie
upgrade-test-distros = jessie stretch
@@ -3487,6 +3567,7 @@ piuparts-flags =
%(flags-end-stretch)s
--scriptsdir /etc/piuparts/scripts-debug-problemresolver
arch = i386
+setarch = linux32
area = main
components = main
distro = jessie
@@ -3505,6 +3586,7 @@ piuparts-flags =
--scriptsdir /etc/piuparts/scripts-debug-problemresolver
depends-sections = jessie3stretch-rcmd_i386/main jessie3stretch-rcmd_i386/non-free
arch = i386
+setarch = linux32
area = contrib
distro = jessie
upgrade-test-distros = jessie stretch
@@ -3522,6 +3604,7 @@ piuparts-flags =
--scriptsdir /etc/piuparts/scripts-debug-problemresolver
depends-sections = jessie3stretch-rcmd_i386/main jessie3stretch-rcmd_i386/contrib
arch = i386
+setarch = linux32
area = non-free
distro = jessie
upgrade-test-distros = jessie stretch
@@ -3659,6 +3742,7 @@ piuparts-flags =
%(flags-start-jessie)s
%(flags-end-testing)s
arch = i386
+setarch = linux32
area = main
components = main
distro = jessie
@@ -3673,6 +3757,7 @@ piuparts-flags =
%(flags-end-testing)s
depends-sections = jessie222testing_i386/main jessie222testing_i386/non-free
arch = i386
+setarch = linux32
area = contrib
distro = jessie
upgrade-test-distros = jessie stretch testing
@@ -3686,6 +3771,7 @@ piuparts-flags =
%(flags-end-testing)s
depends-sections = jessie222testing_i386/main jessie222testing_i386/contrib
arch = i386
+setarch = linux32
area = non-free
distro = jessie
upgrade-test-distros = jessie stretch testing
@@ -3827,6 +3913,7 @@ piuparts-flags =
%(flags-end-buster)s
--scriptsdir /etc/piuparts/scripts-debug-problemresolver
arch = i386
+setarch = linux32
area = main
components = main
distro = stretch
@@ -3841,6 +3928,7 @@ piuparts-flags =
--scriptsdir /etc/piuparts/scripts-debug-problemresolver
depends-sections = stretch2buster_i386/main stretch2buster_i386/non-free
arch = i386
+setarch = linux32
area = contrib
distro = stretch
upgrade-test-distros = stretch buster
@@ -3854,6 +3942,7 @@ piuparts-flags =
--scriptsdir /etc/piuparts/scripts-debug-problemresolver
depends-sections = stretch2buster_i386/main stretch2buster_i386/contrib
arch = i386
+setarch = linux32
area = non-free
distro = stretch
upgrade-test-distros = stretch buster
@@ -3869,6 +3958,7 @@ piuparts-flags =
%(flags-end-buster)s
--scriptsdir /etc/piuparts/scripts-debug-problemresolver
arch = i386
+setarch = linux32
area = main
components = main
distro = stretch
@@ -3886,6 +3976,7 @@ piuparts-flags =
--scriptsdir /etc/piuparts/scripts-debug-problemresolver
depends-sections = stretch3buster_i386/main stretch3buster_i386/non-free
arch = i386
+setarch = linux32
area = contrib
distro = stretch
upgrade-test-distros = stretch buster
@@ -3902,6 +3993,7 @@ piuparts-flags =
--scriptsdir /etc/piuparts/scripts-debug-problemresolver
depends-sections = stretch3buster_i386/main stretch3buster_i386/contrib
arch = i386
+setarch = linux32
area = non-free
distro = stretch
upgrade-test-distros = stretch buster
@@ -4013,6 +4105,7 @@ piuparts-flags =
%(flags-end-buster)s
--scriptsdir /etc/piuparts/scripts-debug-problemresolver
arch = i386
+setarch = linux32
area = main
components = main
distro = stretch
@@ -4029,6 +4122,7 @@ piuparts-flags =
--scriptsdir /etc/piuparts/scripts-debug-problemresolver
depends-sections = stretch2buster-rcmd_i386/main stretch2buster-rcmd_i386/non-free
arch = i386
+setarch = linux32
area = contrib
distro = stretch
upgrade-test-distros = stretch buster
@@ -4044,6 +4138,7 @@ piuparts-flags =
--scriptsdir /etc/piuparts/scripts-debug-problemresolver
depends-sections = stretch2buster-rcmd_i386/main stretch2buster-rcmd_i386/contrib
arch = i386
+setarch = linux32
area = non-free
distro = stretch
upgrade-test-distros = stretch buster
@@ -4061,6 +4156,7 @@ piuparts-flags =
%(flags-end-buster)s
--scriptsdir /etc/piuparts/scripts-debug-problemresolver
arch = i386
+setarch = linux32
area = main
components = main
distro = stretch
@@ -4080,6 +4176,7 @@ piuparts-flags =
--scriptsdir /etc/piuparts/scripts-debug-problemresolver
depends-sections = stretch3buster-rcmd_i386/main stretch3buster-rcmd_i386/non-free
arch = i386
+setarch = linux32
area = contrib
distro = stretch
upgrade-test-distros = stretch buster
@@ -4098,6 +4195,7 @@ piuparts-flags =
--scriptsdir /etc/piuparts/scripts-debug-problemresolver
depends-sections = stretch3buster-rcmd_i386/main stretch3buster-rcmd_i386/contrib
arch = i386
+setarch = linux32
area = non-free
distro = stretch
upgrade-test-distros = stretch buster
=====================================
master-bin/detect_archive_issues.in
=====================================
@@ -27,7 +27,7 @@ get_config_value URLBASE global urlbase https://piuparts.debian.org
get_config_value DAYS global reschedule-untestable-days 7
ISSUE_LOG="$MASTER/archive_issues.txt"
-LOG_OUTPUT=`mktemp`
+LOG_OUTPUT=$(mktemp)
LOG_PREFIX=$(mktemp)
STARTDATE=$(date -u +%s)
@@ -36,8 +36,8 @@ STARTDATE=$(date -u +%s)
# detect packages which are/were untestable due to archive issue and mark them as such
#
-LOGS=`mktemp`
-URLS=`mktemp`
+LOGS=$(mktemp)
+URLS=$(mktemp)
for SECTION in $SECTIONS ; do
test -d $MASTER/$SECTION || continue
URL_SED="s#$MASTER/$SECTION/fail#$URLBASE/$SECTION/untestable#"
=====================================
master-bin/detect_network_issues.in
=====================================
@@ -65,7 +65,7 @@ add_pattern "ERROR: Command failed \(status=-7\):.*'apt-get', 'update'"
add_pattern 'Package .* .* not found in .*, .* is available'
add_pattern "AppStream system cache was updated, but problems were found: Metadata files have errors"
-FILE=`mktemp`
+FILE=$(mktemp)
for SECTION in $SECTIONS ; do
test -d $MASTER/$SECTION || continue
for subdir in fail bugged affected untestable ; do
=====================================
master-bin/detect_piuparts_issues.in
=====================================
@@ -87,7 +87,7 @@ add_pattern "^NameError:"
add_pattern "^OSError:"
add_pattern "^SyntaxError:"
-FILE=`mktemp`
+FILE=$(mktemp)
for SECTION in $SECTIONS ; do
test -d $MASTER/$SECTION || continue
for subdir in fail bugged affected ; do
=====================================
master-bin/report_stale_reserved_packages.in
=====================================
@@ -28,7 +28,7 @@ get_config_value HTDOCS global output-directory
#
DAYS=1
-LOGS=`mktemp`
+LOGS=$(mktemp)
for SECTION in $SECTIONS ; do
test -d $MASTER/$SECTION/reserved || continue
find $MASTER/$SECTION/reserved/ -mtime +$DAYS -name "*.log" 2>/dev/null >> $LOGS
=====================================
master-bin/report_untestable_packages.in
=====================================
@@ -33,7 +33,7 @@ LOG_PREFIX=$(mktemp)
# find packages which have been in untestable for more than $DAYS days and reschedule them for testing
#
-LOGS=`mktemp`
+LOGS=$(mktemp)
for SECTION in $SECTIONS ; do
# only act on sections with precedence < 100
get_config_value PRECEDENCE $SECTION precedence 1
=====================================
piuparts-report.py
=====================================
@@ -287,7 +287,7 @@ LOG_LIST_BODY_TEMPLATE = """
<tr class="normalrow">
<td class="contentcell2" colspan="2">
$preface
- The list has $count packages, with $versioncount total versions.
+ The list has $count packages.
</td>
</tr>
$logrows
@@ -891,14 +891,18 @@ class Section:
names = sorted(packages.keys())
lines = []
- version_count = 0
for package in names:
versions = []
for pathname, version in packages[package]:
- version_count += 1
- versions.append("<a href=\"%s\">%s</a>" %
+ cruft = ""
+ bin_pkg = self._binary_db.get_package(package)
+ if self._source_db.has_package(bin_pkg.source()) and \
+ bin_pkg.source_version() != self._source_db.get_version(bin_pkg.source()):
+ cruft = " [cruft]"
+ versions.append("<a href=\"%s\">%s</a>%s" %
(html_protect(pathname),
- html_protect(version)))
+ html_protect(version),
+ cruft))
line = "<tr class=\"normalrow\"><td class=\"contentcell2\">%s</td><td class=\"contentcell2\">%s</td></tr>" % \
(html_protect(package),
", ".join(versions))
@@ -918,7 +922,6 @@ class Section:
"title_style": title_style,
"preface": preface,
"count": len(packages),
- "versioncount": version_count,
"logrows": "".join(lines),
})
=====================================
piuparts-slave.py
=====================================
@@ -84,6 +84,7 @@ class Config(piupartslib.conf.Config):
"master-command": None,
"proxy": None,
"mirror": None,
+ "setarch": None,
"piuparts-command": "sudo piuparts",
"piuparts-flags": "",
"tmpdir": None,
@@ -675,7 +676,11 @@ class Section:
distupgrade = len(self._config.get_distros()) > 1
- command = self._config["piuparts-command"].split()
+ command = []
+ if self._config["setarch"]:
+ command.append("setarch")
+ command.extend(self._config["setarch"].split())
+ command.extend(self._config["piuparts-command"].split())
if self._config["piuparts-flags"]:
command.extend(self._config["piuparts-flags"].split())
if "http_proxy" in os.environ:
@@ -880,7 +885,11 @@ def run_test_with_timeout(cmd, maxwait, kill_all=True):
def create_chroot(config, tarball, distro):
- command = config["piuparts-command"].split()
+ command = []
+ if config["setarch"]:
+ command.append("setarch")
+ command.extend(config["setarch"].split())
+ command.extend(config["piuparts-command"].split())
if config["piuparts-flags"]:
command.extend(config["piuparts-flags"].split())
if "http_proxy" in os.environ:
View it on GitLab: https://salsa.debian.org/debian/piuparts/compare/aa1420f37a8417ffe22f32745fea0c89b9965e26...a22f843d04341477444a60881f8647200dfce3ce
--
View it on GitLab: https://salsa.debian.org/debian/piuparts/compare/aa1420f37a8417ffe22f32745fea0c89b9965e26...a22f843d04341477444a60881f8647200dfce3ce
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/piuparts-devel/attachments/20190208/511aada0/attachment-0001.html>
More information about the Piuparts-devel
mailing list