[Piuparts-commits] rev 418 - piatti/org/piuparts.debian.org/etc piatti/org/piuparts.debian.org/htdocs trunk trunk/debian

Holger Levsen holger at alioth.debian.org
Tue May 26 22:59:09 UTC 2009


Author: holger
Date: 2009-05-26 22:59:09 +0000 (Tue, 26 May 2009)
New Revision: 418

Modified:
   piatti/org/piuparts.debian.org/etc/piuparts.conf.goldwasser
   piatti/org/piuparts.debian.org/etc/piuparts.conf.piatti
   piatti/org/piuparts.debian.org/htdocs/index.tpl
   trunk/debian/changelog
   trunk/piuparts-slave.py
Log:
 - piuparts-slave: call piuparts with --mirror when mirror is set in piuparts.conf.
 - piuparts.conf.piatti: specify to only use the main component
 - Throw away all failed logs as there was a bug in piuparts leading to use a
   more uptodate mirror for getting the list of available packages and another 
   for doing the tests. This lead to at least one fixed package which was 
   incorrectly tested as failing, as an old version of the package was tested. 
   To rule out some false positives about 1000 packages will be retested, but 
   on this machine this will only take about a day :-)



Modified: piatti/org/piuparts.debian.org/etc/piuparts.conf.goldwasser
===================================================================
--- piatti/org/piuparts.debian.org/etc/piuparts.conf.goldwasser	2009-05-26 16:05:37 UTC (rev 417)
+++ piatti/org/piuparts.debian.org/etc/piuparts.conf.goldwasser	2009-05-26 22:59:09 UTC (rev 418)
@@ -17,7 +17,7 @@
 master-command = PYTHONPATH=/org/piuparts.debian.org/lib/python2.4/site-packages:/org/piuparts.debian.org/lib/python2.5/site-packages python /org/piuparts.debian.org/share/piuparts/piuparts-master sid
 packages-url = http://ftp.de.debian.org/debian/dists/sid/main/binary-amd64/Packages.bz2
 sources-url = http://ftp.de.debian.org/debian/dists/sid/main/source/Sources.bz2
-mirror = http://ftp.de.debian.org/debian/
+mirror = "http://ftp.de.debian.org/debian/ main"
 piuparts-cmd = sudo /org/piuparts.debian.org/sbin/piuparts --no-symlinks --scriptsdir /etc/piuparts/scripts/ --tmpdir /org/piuparts.debian.org/tmp
 distro = sid
 chroot-tgz = sid.tar.gz
@@ -31,7 +31,7 @@
 master-command = PYTHONPATH=/org/piuparts.debian.org/lib/python2.4/site-packages:/org/piuparts.debian.org/lib/python2.5/site-packages python /org/piuparts.debian.org/share/piuparts/piuparts-master squeeze
 packages-url = http://ftp.de.debian.org/debian/dists/squeeze/main/binary-amd64/Packages.bz2
 sources-url = http://ftp.de.debian.org/debian/dists/squeeze/main/source/Sources.bz2
-mirror = http://ftp.de.debian.org/debian/
+mirror = "http://ftp.de.debian.org/debian/ main"
 piuparts-cmd = sudo /org/piuparts.debian.org/sbin/piuparts --no-symlinks --scriptsdir /etc/piuparts/scripts/ --tmpdir /org/piuparts.debian.org/tmp
 distro = squeeze
 chroot-tgz = squeeze.tar.gz

Modified: piatti/org/piuparts.debian.org/etc/piuparts.conf.piatti
===================================================================
--- piatti/org/piuparts.debian.org/etc/piuparts.conf.piatti	2009-05-26 16:05:37 UTC (rev 417)
+++ piatti/org/piuparts.debian.org/etc/piuparts.conf.piatti	2009-05-26 22:59:09 UTC (rev 418)
@@ -16,7 +16,7 @@
 master-command = PYTHONPATH=/org/piuparts.debian.org/lib/python2.4/site-packages:/org/piuparts.debian.org/lib/python2.5/site-packages python /org/piuparts.debian.org/share/piuparts/piuparts-master sid
 packages-url = http://piatti.debian.org/debian/dists/sid/main/binary-amd64/Packages.bz2
 sources-url = http://piatti.debian.org/debian/dists/sid/main/source/Sources.bz2
-mirror = http://piatti.debian.org/debian/
+mirror = "http://piatti.debian.org/debian/ main"
 piuparts-cmd = sudo /org/piuparts.debian.org/sbin/piuparts --no-symlinks --scriptsdir /etc/piuparts/scripts/ --tmpdir /org/piuparts.debian.org/tmp
 distro = sid
 chroot-tgz = sid.tar.gz
@@ -30,7 +30,7 @@
 master-command = PYTHONPATH=/org/piuparts.debian.org/lib/python2.4/site-packages:/org/piuparts.debian.org/lib/python2.5/site-packages python /org/piuparts.debian.org/share/piuparts/piuparts-master squeeze
 packages-url = http://piatti.debian.org/debian/dists/squeeze/main/binary-amd64/Packages.bz2
 sources-url = http://piatti.debian.org/debian/dists/squeeze/main/source/Sources.bz2
-mirror = http://piatti.debian.org/debian/
+mirror = "http://piatti.debian.org/debian/ main"
 piuparts-cmd = sudo /org/piuparts.debian.org/sbin/piuparts --no-symlinks --scriptsdir /etc/piuparts/scripts/ --tmpdir /org/piuparts.debian.org/tmp
 distro = squeeze
 chroot-tgz = squeeze.tar.gz

Modified: piatti/org/piuparts.debian.org/htdocs/index.tpl
===================================================================
--- piatti/org/piuparts.debian.org/htdocs/index.tpl	2009-05-26 16:05:37 UTC (rev 417)
+++ piatti/org/piuparts.debian.org/htdocs/index.tpl	2009-05-26 22:59:09 UTC (rev 418)
@@ -46,6 +46,11 @@
     </tr>
     <tr class="normalrow">
      <td class="contentcell2">
+      <b>2009-05-27</b>: Throw away all failed logs as there was a bug in piuparts leading to use a more uptodate mirror for getting the list of available packages and another for doing the tests. This lead to at least one fixed package which was incorrectly tested as failing, as an old version of the package was tested. To rule out some false positives about 1000 packages will be retested, but on this machine this will only take about a day :-)
+     </td>
+    </tr>
+    <tr class="normalrow">
+     <td class="contentcell2">
       <b>2009-05-11</b>: Filed #528266 and made piuparts ignore files in /tmp after purge. This got rid of 20 failures in sid and 14 in squeeze.
      </td>
     </tr>

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2009-05-26 16:05:37 UTC (rev 417)
+++ trunk/debian/changelog	2009-05-26 22:59:09 UTC (rev 418)
@@ -40,6 +40,7 @@
       value "sections". Thanks to Frank Ploss for writing this patch with me 
       and helping me understand the code much better!
     - allow the user to stop the slave with control-C.
+    - call piuparts with --mirror when mirror is set in piuparts.conf.
   * Re-add piuparts-reports.py which got removed/lost between 0.14 and 0.20 
     without changelog entry.
   * piuparts-report.py: 

Modified: trunk/piuparts-slave.py
===================================================================
--- trunk/piuparts-slave.py	2009-05-26 16:05:37 UTC (rev 417)
+++ trunk/piuparts-slave.py	2009-05-26 22:59:09 UTC (rev 418)
@@ -340,8 +340,11 @@
                 config
     if config["keep-sources-list"] in ["yes", "true"]:
         command += "--keep-sources-list "
+    
+    if config["mirror"]:
+        command += "--mirror %s" % config["mirror"]
     command += package["Package"]
-    
+
     logging.debug("Executing: %s" % command)
     output.write("Executing: %s\n" % command)
     f = os.popen("{ %s; } 2>&1" % command, "r")




More information about the Piuparts-commits mailing list