[Collab-qa-commits] r1329 - in collab-qa-tools: bin lib/collab-qa test/dest test/source

lucas at alioth.debian.org lucas at alioth.debian.org
Mon Oct 20 06:16:46 UTC 2008


Author: lucas
Date: 2008-10-20 06:16:46 +0000 (Mon, 20 Oct 2008)
New Revision: 1329

Added:
   collab-qa-tools/test/dest/mxallowd.output
   collab-qa-tools/test/dest/runit-run.output
   collab-qa-tools/test/source/mxallowd.log
   collab-qa-tools/test/source/runit-run.log
Modified:
   collab-qa-tools/bin/cqa-fetchbugs
   collab-qa-tools/bin/cqa-scanlogs
   collab-qa-tools/lib/collab-qa/log-parser-piuparts.rb
   collab-qa-tools/lib/collab-qa/log-parser.rb
Log:
cqa-tools: piuparts support

Modified: collab-qa-tools/bin/cqa-fetchbugs
===================================================================
--- collab-qa-tools/bin/cqa-fetchbugs	2008-10-20 06:15:51 UTC (rev 1328)
+++ collab-qa-tools/bin/cqa-fetchbugs	2008-10-20 06:16:46 UTC (rev 1329)
@@ -55,7 +55,7 @@
   f = File::new(".bugs.#{pkg}", 'w')
   if bugs.length > 0
     status.each_pair do |k,v|
-      next if v.subject !~ /ftbfs/i and v.subject !~ /piuparts/i and v.subject !~ /installation/i and v.subject !~ /(post|pre)(rm|inst)/i and v.subject !~ /buil(d|t)/i
+      next if (not ['serious', 'grave', 'critical'].include?(v.severity)) and v.subject !~ /ftbfs/i and v.subject !~ /piuparts/i and v.subject !~ /installation/i and v.subject !~ /(post|pre)(rm|inst)/i and v.subject !~ /buil(d|t)/i
       f.puts "#{k} #{v.severity} #{v.subject} || #{v.done}"
     end
   end

Modified: collab-qa-tools/bin/cqa-scanlogs
===================================================================
--- collab-qa-tools/bin/cqa-scanlogs	2008-10-20 06:15:51 UTC (rev 1328)
+++ collab-qa-tools/bin/cqa-scanlogs	2008-10-20 06:16:46 UTC (rev 1329)
@@ -29,7 +29,9 @@
   files = []
   pkgs.each do |pkg|
     g = Dir::glob("#{pkg}_*log")
+    g2 = Dir::glob("#{pkg}.*log")
     files << g[0] if g[0] != nil
+    files << g2[0] if g2[0] != nil
   end
 else
   files = Dir::glob("*log")

Modified: collab-qa-tools/lib/collab-qa/log-parser-piuparts.rb
===================================================================
--- collab-qa-tools/lib/collab-qa/log-parser-piuparts.rb	2008-10-20 06:15:51 UTC (rev 1328)
+++ collab-qa-tools/lib/collab-qa/log-parser-piuparts.rb	2008-10-20 06:16:46 UTC (rev 1329)
@@ -1,9 +1,50 @@
 module CollabQA
   class Log
     def guess_failed_piuparts
+      if @data !~ /DC-Piuparts-Status: /
+        @reasons = ["TIMEOUT"]
+        return
+      elsif @data =~ /WARNING: The following essential packages will be removed./
+        @reasons = ["CONFLICTS_ESSENTIAL"]
+        return
+      elsif @data =~ /ERROR: Command failed .* 'apt-get', '-y', 'install'/
+        @reasons = ["INST_FAILED"]
+        return
+      else
+        puts "Uknown reason"
+        exit(1)
+      end
     end
 
     def extract_log_piuparts
+      @sum_1l = "XXX"
+      if @reasons == ["INST_FAILED"]
+        i = @lines.grep_index(/ERROR: Command failed .* 'apt-get', '-y', 'install'/)[0]
+        i2 = @lines[i..-1].grep_index(/ DEBUG:/)[0]
+        @extract = @lines[(i+1)..(i+i2-2)]
+        # first case: we have a Setting up
+        if (t = @extract.grep_index(/^  Setting up /)).length > 0
+          i = t[-1]
+          @sum_ml = @extract[i..-1]
+        elsif (t = @extract.grep_index(/^  Unpacking /)).length > 0
+          i = t[-1]
+          @sum_ml = @extract[i..-1]
+        else
+          puts "unknown case"
+          exit(1)
+        end
+      elsif @reasons == ['CONFLICTS_ESSENTIAL']
+        i = @lines.grep_index(/ERROR: Command failed .* 'apt-get', '-y', 'install'/)[0]
+        i2 = @lines[i..-1].grep_index(/ DEBUG:/)[0]
+        @extract = @lines[i..(i+i2)]
+        @sum_ml = @extract
+      elsif @reasons == ["TIMEOUT"]
+        @extract = @lines[-5..-1]
+        @sum_ml = @extract
+      else
+        puts "unknown case2"
+        exit(1)
+      end
     end
   end
 end

Modified: collab-qa-tools/lib/collab-qa/log-parser.rb
===================================================================
--- collab-qa-tools/lib/collab-qa/log-parser.rb	2008-10-20 06:15:51 UTC (rev 1328)
+++ collab-qa-tools/lib/collab-qa/log-parser.rb	2008-10-20 06:16:46 UTC (rev 1329)
@@ -121,10 +121,43 @@
 
     def to_mail(date, fullname, email, bugtype)
       sdate = date.gsub(/\//, '')
-      if bugtype == "dash"
+      bfooter = <<-EOF
+A list of current common problems and possible solutions is available at 
+http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
+
+About the archive rebuild: The rebuild was done on about 50 AMD64 nodes
+of the Grid'5000 platform, using a clean chroot containing a sid i386
+environment.  Internet was not accessible from the build systems.
+      EOF
+      if @logtype == :piuparts
         s = <<-EOF
 From: #{fullname} <#{email}>
 To: submit at bugs.debian.org
+Subject: #{@package}: piuparts test fails: #{@sum_1l}
+
+Package: #{@package}
+Version: #{@version}
+Severity: serious
+User: debian-qa at lists.debian.org
+Usertags: piuparts-#{sdate} piuparts
+
+Hi,
+
+During tests using piuparts of all packages in lenny,
+I ran into the following problem:
+
+> #{@extract.join("\n> ")}
+
+It is reproducible by installing your package in a clean chroot - cleaned
+up using:
+ debfoster -o MaxPriority=required -o UseRecommends=no -f -n apt debfoster
+EOF
+        return s
+      else # rebuild
+        if bugtype == "dash"
+          s = <<-EOF
+From: #{fullname} <#{email}>
+To: submit at bugs.debian.org
 Subject: #{@package}: FTBFS with dash: #{@sum_1l}
 
 Package: #{@package}
@@ -155,15 +188,10 @@
 http://lists.debian.org/debian-release/2008/01/msg00189.html
 https://wiki.ubuntu.com/DashAsBinSh
 
-A list of current common problems and possible solutions is available at 
-http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
-
-About the archive rebuild: The rebuild was done on about 50 AMD64 nodes
-of the Grid'5000 platform, using a clean chroot containing a sid i386
-environment.  Internet was not accessible from the build systems.
+#{bfooter}
 EOF
-      elsif bugtype == 'lenny'
-        s = <<-EOF
+        elsif bugtype == 'lenny'
+          s = <<-EOF
 From: #{fullname} <#{email}>
 To: submit at bugs.debian.org
 Subject: #{@package}: FTBFS in lenny: #{@sum_1l}
@@ -184,20 +212,15 @@
 > #{@extract.join("\n> ")}
 
 The full build log is available from:
-   http://people.debian.org/~lucas/logs/#{date}
+   http://newpeople.debian.org/~lucas/logs/#{date}
 
 It is possible that your package builds fine in sid, but you should make sure
 that your package also builds fine in lenny before the release.
 
-A list of current common problems and possible solutions is available at 
-http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
-
-About the archive rebuild: The rebuild was done on about 50 AMD64 nodes
-of the Grid'5000 platform, using a clean chroot containing a sid i386
-environment.  Internet was not accessible from the build systems.
+#{bfooter}
 EOF
-      else
-        s = <<-EOF
+        else
+          s = <<-EOF
 From: #{fullname} <#{email}>
 To: submit at bugs.debian.org
 Subject: #{@package}: FTBFS: #{@sum_1l}
@@ -218,17 +241,13 @@
 > #{@extract.join("\n> ")}
 
 The full build log is available from:
-   http://people.debian.org/~lucas/logs/#{date}
+   http://newpeople.debian.org/~lucas/logs/#{date}
 
-A list of current common problems and possible solutions is available at 
-http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
-
-About the archive rebuild: The rebuild was done on about 50 AMD64 nodes
-of the Grid'5000 platform, using a clean chroot containing a sid i386
-environment.  Internet was not accessible from the build systems.
+#{bfooter}
 EOF
+        end
+        return s
       end
-      return s
     end
   end
 end

Added: collab-qa-tools/test/dest/mxallowd.output
===================================================================
--- collab-qa-tools/test/dest/mxallowd.output	                        (rev 0)
+++ collab-qa-tools/test/dest/mxallowd.output	2008-10-20 06:16:46 UTC (rev 1329)
@@ -0,0 +1,57 @@
+mxallowd 1.6a-2 Failed 48.009454
+Reason: INST_FAILED
+
+1-line summary:
+XXX
+
+multi-line summary:
+  Setting up mxallowd (1.6a-2) ...
+  dpkg: error processing mxallowd (--configure):
+   subprocess post-installation script returned error exit status 1
+  Errors were encountered while processing:
+   mxallowd
+  E: Sub-process /usr/bin/dpkg returned an error code (1)
+
+excerpt for mail:
+  Reading package lists...
+  Building dependency tree...
+  Reading state information...
+  The following packages were automatically installed and are no longer required:
+    libgc1c2
+  Use 'apt-get autoremove' to remove them.
+  The following extra packages will be installed:
+    iptables libnetfilter-queue1 libnfnetlink0
+  The following NEW packages will be installed:
+    iptables libnetfilter-queue1 libnfnetlink0 mxallowd
+  0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
+  Need to get 725kB of archives.
+  After this operation, 1966kB of additional disk space will be used.
+  WARNING: The following packages cannot be authenticated!
+    iptables libnfnetlink0 libnetfilter-queue1 mxallowd
+  Authentication warning overridden.
+  Get:1 http://127.0.0.1 lenny/main iptables 1.4.1.1-3 [530kB]
+  Get:2 http://127.0.0.1 lenny/main libnfnetlink0 0.0.39-1 [12.3kB]
+  Get:3 http://127.0.0.1 lenny/main libnetfilter-queue1 0.0.13-1 [6966B]
+  Get:4 http://127.0.0.1 lenny/main mxallowd 1.6a-2 [176kB]
+  debconf: delaying package configuration, since apt-utils is not installed
+  Fetched 725kB in 0s (1226kB/s)
+  Can not write log, openpty() failed (/dev/pts not mounted?)
+  Selecting previously deselected package iptables.
+  (Reading database ... 5779 files and directories currently installed.)
+  Unpacking iptables (from .../iptables_1.4.1.1-3_i386.deb) ...
+  Selecting previously deselected package libnfnetlink0.
+  Unpacking libnfnetlink0 (from .../libnfnetlink0_0.0.39-1_i386.deb) ...
+  Selecting previously deselected package libnetfilter-queue1.
+  Unpacking libnetfilter-queue1 (from .../libnetfilter-queue1_0.0.13-1_i386.deb) ...
+  Selecting previously deselected package mxallowd.
+  Unpacking mxallowd (from .../mxallowd_1.6a-2_i386.deb) ...
+  Can not write log, openpty() failed (/dev/pts not mounted?)
+  Setting up iptables (1.4.1.1-3) ...
+  Setting up libnfnetlink0 (0.0.39-1) ...
+  Setting up libnetfilter-queue1 (0.0.13-1) ...
+  Setting up mxallowd (1.6a-2) ...
+  dpkg: error processing mxallowd (--configure):
+   subprocess post-installation script returned error exit status 1
+  Errors were encountered while processing:
+   mxallowd
+  E: Sub-process /usr/bin/dpkg returned an error code (1)

Added: collab-qa-tools/test/dest/runit-run.output
===================================================================
--- collab-qa-tools/test/dest/runit-run.output	                        (rev 0)
+++ collab-qa-tools/test/dest/runit-run.output	2008-10-20 06:16:46 UTC (rev 1329)
@@ -0,0 +1,79 @@
+runit-run UKN Failed 71.5132
+Reason: INST_FAILED
+
+1-line summary:
+XXX
+
+multi-line summary:
+  Unpacking runit-run (from .../runit-run_1.0.0_all.deb) ...
+  
+  This package diverts sysvinit's /sbin/init program.  After the first
+  installation of the runit-run package, migrate essential services from
+  sysvinit to runit, so that these will get started after reboot.  Then,
+  use
+  
+   # /sbin/init.sysv 6
+  
+  to reboot the system with runit as process no 1.
+  
+  Please read the runit documentation before proceeding:
+  
+    http://smarden.org/runit/
+  
+  Press ENTER to continue, press Ctrl-C to abort... dpkg: error processing /var/cache/apt/archives/runit-run_1.0.0_all.deb (--unpack):
+   subprocess pre-installation script returned error exit status 1
+  Errors were encountered while processing:
+   /var/cache/apt/archives/runit-run_1.0.0_all.deb
+  E: Sub-process /usr/bin/dpkg returned an error code (1)
+
+excerpt for mail:
+  Reading package lists...
+  Building dependency tree...
+  Reading state information...
+  The following packages were automatically installed and are no longer required:
+    libgc1c2
+  Use 'apt-get autoremove' to remove them.
+  The following extra packages will be installed:
+    fgetty runit
+  Suggested packages:
+    socklog-run
+  The following NEW packages will be installed:
+    fgetty runit runit-run
+  0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
+  Need to get 144kB of archives.
+  After this operation, 750kB of additional disk space will be used.
+  WARNING: The following packages cannot be authenticated!
+    fgetty runit runit-run
+  Authentication warning overridden.
+  Get:1 http://127.0.0.1 lenny/main fgetty 0.6-5 [21.9kB]
+  Get:2 http://127.0.0.1 lenny/main runit 2.0.0-1 [111kB]
+  Get:3 http://127.0.0.1 lenny/main runit-run 1.0.0 [11.2kB]
+  debconf: delaying package configuration, since apt-utils is not installed
+  Fetched 144kB in 1s (135kB/s)
+  Can not write log, openpty() failed (/dev/pts not mounted?)
+  Selecting previously deselected package fgetty.
+  (Reading database ... 5779 files and directories currently installed.)
+  Unpacking fgetty (from .../archives/fgetty_0.6-5_i386.deb) ...
+  Selecting previously deselected package runit.
+  Unpacking runit (from .../runit_2.0.0-1_i386.deb) ...
+  Selecting previously deselected package runit-run.
+  Unpacking runit-run (from .../runit-run_1.0.0_all.deb) ...
+  
+  This package diverts sysvinit's /sbin/init program.  After the first
+  installation of the runit-run package, migrate essential services from
+  sysvinit to runit, so that these will get started after reboot.  Then,
+  use
+  
+   # /sbin/init.sysv 6
+  
+  to reboot the system with runit as process no 1.
+  
+  Please read the runit documentation before proceeding:
+  
+    http://smarden.org/runit/
+  
+  Press ENTER to continue, press Ctrl-C to abort... dpkg: error processing /var/cache/apt/archives/runit-run_1.0.0_all.deb (--unpack):
+   subprocess pre-installation script returned error exit status 1
+  Errors were encountered while processing:
+   /var/cache/apt/archives/runit-run_1.0.0_all.deb
+  E: Sub-process /usr/bin/dpkg returned an error code (1)

Added: collab-qa-tools/test/source/mxallowd.log
===================================================================
--- collab-qa-tools/test/source/mxallowd.log	                        (rev 0)
+++ collab-qa-tools/test/source/mxallowd.log	2008-10-20 06:16:46 UTC (rev 1329)
@@ -0,0 +1,308 @@
+DC-Piuparts-Header: mxallowd /dc/data/chroots/lenny32-piuparts.tgz / Sat Oct 18 16:09:49 +0200 2008
+Guessed: debian
+0m0.0s INFO: ------------------------------------------------------------------------------
+0m0.0s INFO: piuparts version 0.32 starting up.
+0m0.0s INFO: Command line arguments: /usr/sbin/piuparts -t /debscratch -m http://127.0.0.1:9999/debian --no-symlinks -b /tmp/piuparts_lenny32-piuparts.tgz -d lenny -a mxallowd
+0m0.0s INFO: Running on: Linux grillon-24.nancy.grid5000.fr 2.6.24.3 #1 SMP Mon Apr 7 15:12:25 CEST 2008 x86_64
+0m0.0s DEBUG: Created temporary directory /debscratch/tmpMSknKU
+0m0.0s DEBUG: Unpacking /tmp/piuparts_lenny32-piuparts.tgz into /debscratch/tmpMSknKU
+0m0.0s DEBUG: Starting command: ['tar', '-C', '/debscratch/tmpMSknKU', '-zxf', '/tmp/piuparts_lenny32-piuparts.tgz']
+0m5.2s DEBUG: Command ok: ['tar', '-C', '/debscratch/tmpMSknKU', '-zxf', '/tmp/piuparts_lenny32-piuparts.tgz']
+0m5.2s DEBUG: Created policy-rc.d and chmodded it.
+0m5.2s DEBUG: Starting command: ['chroot', '/debscratch/tmpMSknKU', 'apt-get', 'update']
+0m26.4s DUMP: 
+  Hit http://127.0.0.1 lenny Release.gpg
+  Hit http://127.0.0.1 lenny Release
+  Ign http://127.0.0.1 lenny/main Packages/DiffIndex
+  Ign http://127.0.0.1 lenny/contrib Packages/DiffIndex
+  Ign http://127.0.0.1 lenny/non-free Packages/DiffIndex
+  Hit http://127.0.0.1 lenny/main Packages
+  Hit http://127.0.0.1 lenny/contrib Packages
+  Hit http://127.0.0.1 lenny/non-free Packages
+  Reading package lists...
+0m26.4s DEBUG: Command ok: ['chroot', '/debscratch/tmpMSknKU', 'apt-get', 'update']
+0m26.4s DEBUG: Starting command: ['chroot', '/debscratch/tmpMSknKU', 'mount', '-t', 'proc', 'proc', '/proc']
+0m26.5s DEBUG: Command ok: ['chroot', '/debscratch/tmpMSknKU', 'mount', '-t', 'proc', 'proc', '/proc']
+0m26.5s DEBUG: Starting command: ['chroot', '/debscratch/tmpMSknKU', 'apt-get', '-yf', 'upgrade']
+0m27.8s DUMP: 
+  Reading package lists...
+  Building dependency tree...
+  Reading state information...
+  0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
+0m27.8s DEBUG: Command ok: ['chroot', '/debscratch/tmpMSknKU', 'apt-get', '-yf', 'upgrade']
+0m27.8s DEBUG: Starting command: ['chroot', '/debscratch/tmpMSknKU', 'apt-get', 'install', 'debfoster']
+0m28.8s DUMP: 
+  Reading package lists...
+  Building dependency tree...
+  Reading state information...
+  debfoster is already the newest version.
+  0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
+0m28.8s DEBUG: Command ok: ['chroot', '/debscratch/tmpMSknKU', 'apt-get', 'install', 'debfoster']
+0m28.8s DEBUG: Starting command: ['chroot', '/debscratch/tmpMSknKU', 'debfoster', '-o', 'MaxPriority=required', '-o', 'UseRecommends=no', '-f', '-n', 'apt', 'debfoster']
+0m28.9s DEBUG: Command ok: ['chroot', '/debscratch/tmpMSknKU', 'debfoster', '-o', 'MaxPriority=required', '-o', 'UseRecommends=no', '-f', '-n', 'apt', 'debfoster']
+0m28.9s DEBUG: Removing /debscratch/tmpMSknKU/var/lib/debfoster/keepers
+0m28.9s DEBUG: Starting command: ['chroot', '/debscratch/tmpMSknKU', 'dpkg', '--purge', 'debfoster']
+0m32.0s DUMP: 
+  (Reading database ... 5793 files and directories currently installed.)
+  Removing debfoster ...
+  Purging configuration files for debfoster ...
+0m32.0s DEBUG: Command ok: ['chroot', '/debscratch/tmpMSknKU', 'dpkg', '--purge', 'debfoster']
+0m32.0s DEBUG: Starting command: ['chroot', '/debscratch/tmpMSknKU', 'apt-get', 'clean']
+0m32.1s DEBUG: Command ok: ['chroot', '/debscratch/tmpMSknKU', 'apt-get', 'clean']
+0m33.0s DEBUG: Starting command: ['chroot', '/debscratch/tmpMSknKU', 'dpkg', '--get-selections', '*']
+0m33.1s DUMP: 
+  adduser						purge
+  apt						install
+  apt-utils					purge
+  aptitude					purge
+  at						purge
+  base-config					purge
+  base-files					install
+  base-passwd					install
+  bash						install
+  bash-completion					purge
+  bsdmainutils					purge
+  bsdutils					install
+  console-common					purge
+  console-data					purge
+  console-tools					purge
+  coreutils					install
+  cpio						purge
+  cron						purge
+  debconf						install
+  debconf-i18n					install
+  debfoster					purge
+  debian-archive-keyring				install
+  debianutils					install
+  dhcp-client					purge
+  diff						install
+  dpkg						install
+  dselect						purge
+  e2fslibs					install
+  e2fsprogs					install
+  ed						purge
+  exim4						purge
+  exim4-base					purge
+  exim4-config					purge
+  exim4-daemon-light				purge
+  fdutils						purge
+  findutils					install
+  gcc-3.3-base					purge
+  gcc-4.1-base					purge
+  gcc-4.3-base					install
+  gettext-base					purge
+  gnupg						install
+  gpgv						install
+  grep						install
+  groff-base					purge
+  gzip						install
+  hostname					install
+  ifupdown					purge
+  info						purge
+  initscripts					install
+  ipchains					purge
+  iptables					purge
+  iputils-ping					purge
+  klogd						purge
+  less						purge
+  libacl1						install
+  libattr1					install
+  libblkid1					install
+  libbz2-1.0					install
+  libc6						install
+  libcap1						purge
+  libcomerr2					install
+  libconsole					purge
+  libdb1-compat					purge
+  libdb3						purge
+  libdb4.2					purge
+  libdb4.3					purge
+  libdb4.4					purge
+  libdb4.6					install
+  libdevmapper1.02				purge
+  libdevmapper1.02.1				install
+  libgc1c2					install
+  libgcc1						install
+  libgcrypt11					purge
+  libgdbm3					purge
+  libgnutls11					purge
+  libgnutls13					purge
+  libgnutls26					purge
+  libgpg-error0					purge
+  libgpm2						purge
+  libldap2					purge
+  liblocale-gettext-perl				install
+  liblockfile1					purge
+  liblzo1						purge
+  libncurses5					install
+  libncursesw5					purge
+  libnewt0.51					purge
+  libopencdk8					purge
+  libpam-modules					install
+  libpam-runtime					install
+  libpam0g					install
+  libpcap0.7					purge
+  libpcre3					purge
+  libpopt0					purge
+  libreadline5					install
+  libsasl2-2					purge
+  libselinux1					install
+  libsepol1					install
+  libsigc++-1.2-5c102				purge
+  libslang2					install
+  libss2						install
+  libssl0.9.7					purge
+  libssl0.9.8					purge
+  libstdc++5					purge
+  libstdc++6					install
+  libtasn1-2					purge
+  libtasn1-3					purge
+  libtext-charwidth-perl				install
+  libtext-iconv-perl				install
+  libtext-wrapi18n-perl				install
+  libtextwrap1					purge
+  libusb-0.1-4					install
+  libuuid1					install
+  libwrap0					purge
+  login						install
+  logrotate					purge
+  lsb-base					install
+  lzma						install
+  mailx						purge
+  makedev						purge
+  man-db						purge
+  manpages					purge
+  mawk						install
+  mktemp						install
+  modutils					purge
+  mount						install
+  nano						purge
+  ncurses-base					install
+  ncurses-bin					install
+  net-tools					purge
+  netbase						purge
+  netkit-inetd					purge
+  nvi						purge
+  nvi-doc						purge
+  openbsd-inetd					purge
+  passwd						install
+  pciutils					purge
+  perl-base					install
+  piuparts-hangers				purge
+  ppp						purge
+  pppconfig					purge
+  pppoe						purge
+  pppoeconf					purge
+  procps						purge
+  psmisc						purge
+  readline-common					install
+  sed						install
+  slang1a-utf8					purge
+  sysklogd					purge
+  sysv-rc						install
+  sysvinit					install
+  sysvinit-utils					install
+  tar						install
+  tasksel						purge
+  tcpd						purge
+  telnet						purge
+  tzdata						install
+  update-inetd					purge
+  util-linux					install
+  uuid-runtime					purge
+  wget						purge
+  whiptail					purge
+  zlib1g						install
+0m33.1s DEBUG: Command ok: ['chroot', '/debscratch/tmpMSknKU', 'dpkg', '--get-selections', '*']
+0m33.1s DEBUG: Starting command: ['chroot', '/debscratch/tmpMSknKU', 'apt-get', '-y', 'install', 'mxallowd']
+0m46.7s DUMP: 
+  Reading package lists...
+  Building dependency tree...
+  Reading state information...
+  The following packages were automatically installed and are no longer required:
+    libgc1c2
+  Use 'apt-get autoremove' to remove them.
+  The following extra packages will be installed:
+    iptables libnetfilter-queue1 libnfnetlink0
+  The following NEW packages will be installed:
+    iptables libnetfilter-queue1 libnfnetlink0 mxallowd
+  0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
+  Need to get 725kB of archives.
+  After this operation, 1966kB of additional disk space will be used.
+  WARNING: The following packages cannot be authenticated!
+    iptables libnfnetlink0 libnetfilter-queue1 mxallowd
+  Authentication warning overridden.
+  Get:1 http://127.0.0.1 lenny/main iptables 1.4.1.1-3 [530kB]
+  Get:2 http://127.0.0.1 lenny/main libnfnetlink0 0.0.39-1 [12.3kB]
+  Get:3 http://127.0.0.1 lenny/main libnetfilter-queue1 0.0.13-1 [6966B]
+  Get:4 http://127.0.0.1 lenny/main mxallowd 1.6a-2 [176kB]
+  debconf: delaying package configuration, since apt-utils is not installed
+  Fetched 725kB in 0s (1226kB/s)
+  Can not write log, openpty() failed (/dev/pts not mounted?)
+  Selecting previously deselected package iptables.
+  (Reading database ... 5779 files and directories currently installed.)
+  Unpacking iptables (from .../iptables_1.4.1.1-3_i386.deb) ...
+  Selecting previously deselected package libnfnetlink0.
+  Unpacking libnfnetlink0 (from .../libnfnetlink0_0.0.39-1_i386.deb) ...
+  Selecting previously deselected package libnetfilter-queue1.
+  Unpacking libnetfilter-queue1 (from .../libnetfilter-queue1_0.0.13-1_i386.deb) ...
+  Selecting previously deselected package mxallowd.
+  Unpacking mxallowd (from .../mxallowd_1.6a-2_i386.deb) ...
+  Can not write log, openpty() failed (/dev/pts not mounted?)
+  Setting up iptables (1.4.1.1-3) ...
+  Setting up libnfnetlink0 (0.0.39-1) ...
+  Setting up libnetfilter-queue1 (0.0.13-1) ...
+  Setting up mxallowd (1.6a-2) ...
+  dpkg: error processing mxallowd (--configure):
+   subprocess post-installation script returned error exit status 1
+  Errors were encountered while processing:
+   mxallowd
+  E: Sub-process /usr/bin/dpkg returned an error code (1)
+0m46.7s ERROR: Command failed (status=100): ['chroot', '/debscratch/tmpMSknKU', 'apt-get', '-y', 'install', 'mxallowd']
+  Reading package lists...
+  Building dependency tree...
+  Reading state information...
+  The following packages were automatically installed and are no longer required:
+    libgc1c2
+  Use 'apt-get autoremove' to remove them.
+  The following extra packages will be installed:
+    iptables libnetfilter-queue1 libnfnetlink0
+  The following NEW packages will be installed:
+    iptables libnetfilter-queue1 libnfnetlink0 mxallowd
+  0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
+  Need to get 725kB of archives.
+  After this operation, 1966kB of additional disk space will be used.
+  WARNING: The following packages cannot be authenticated!
+    iptables libnfnetlink0 libnetfilter-queue1 mxallowd
+  Authentication warning overridden.
+  Get:1 http://127.0.0.1 lenny/main iptables 1.4.1.1-3 [530kB]
+  Get:2 http://127.0.0.1 lenny/main libnfnetlink0 0.0.39-1 [12.3kB]
+  Get:3 http://127.0.0.1 lenny/main libnetfilter-queue1 0.0.13-1 [6966B]
+  Get:4 http://127.0.0.1 lenny/main mxallowd 1.6a-2 [176kB]
+  debconf: delaying package configuration, since apt-utils is not installed
+  Fetched 725kB in 0s (1226kB/s)
+  Can not write log, openpty() failed (/dev/pts not mounted?)
+  Selecting previously deselected package iptables.
+  (Reading database ... 5779 files and directories currently installed.)
+  Unpacking iptables (from .../iptables_1.4.1.1-3_i386.deb) ...
+  Selecting previously deselected package libnfnetlink0.
+  Unpacking libnfnetlink0 (from .../libnfnetlink0_0.0.39-1_i386.deb) ...
+  Selecting previously deselected package libnetfilter-queue1.
+  Unpacking libnetfilter-queue1 (from .../libnetfilter-queue1_0.0.13-1_i386.deb) ...
+  Selecting previously deselected package mxallowd.
+  Unpacking mxallowd (from .../mxallowd_1.6a-2_i386.deb) ...
+  Can not write log, openpty() failed (/dev/pts not mounted?)
+  Setting up iptables (1.4.1.1-3) ...
+  Setting up libnfnetlink0 (0.0.39-1) ...
+  Setting up libnetfilter-queue1 (0.0.13-1) ...
+  Setting up mxallowd (1.6a-2) ...
+  dpkg: error processing mxallowd (--configure):
+   subprocess post-installation script returned error exit status 1
+  Errors were encountered while processing:
+   mxallowd
+  E: Sub-process /usr/bin/dpkg returned an error code (1)
+  
+0m46.7s DEBUG: Starting command: ['chroot', '/debscratch/tmpMSknKU', 'umount', '/proc']
+0m46.8s DEBUG: Command ok: ['chroot', '/debscratch/tmpMSknKU', 'umount', '/proc']
+0m47.5s DEBUG: Removed directory tree at /debscratch/tmpMSknKU
+DC-Piuparts-Status: Failed 48.009454s

Added: collab-qa-tools/test/source/runit-run.log
===================================================================
--- collab-qa-tools/test/source/runit-run.log	                        (rev 0)
+++ collab-qa-tools/test/source/runit-run.log	2008-10-20 06:16:46 UTC (rev 1329)
@@ -0,0 +1,324 @@
+DC-Piuparts-Header: runit-run /dc/data/chroots/lenny32-piuparts.tgz / Sat Oct 18 13:46:40 +0200 2008
+Guessed: debian
+0m0.0s INFO: ------------------------------------------------------------------------------
+0m0.0s INFO: piuparts version 0.32 starting up.
+0m0.0s INFO: Command line arguments: /usr/sbin/piuparts -t /debscratch -m http://127.0.0.1:9999/debian --no-symlinks -b /tmp/piuparts_lenny32-piuparts.tgz -d lenny -a runit-run
+0m0.0s INFO: Running on: Linux grillon-35.nancy.grid5000.fr 2.6.24.3 #1 SMP Mon Apr 7 15:12:25 CEST 2008 x86_64
+0m0.0s DEBUG: Created temporary directory /debscratch/tmpL--Wa9
+0m0.0s DEBUG: Unpacking /tmp/piuparts_lenny32-piuparts.tgz into /debscratch/tmpL--Wa9
+0m0.0s DEBUG: Starting command: ['tar', '-C', '/debscratch/tmpL--Wa9', '-zxf', '/tmp/piuparts_lenny32-piuparts.tgz']
+0m34.5s DEBUG: Command ok: ['tar', '-C', '/debscratch/tmpL--Wa9', '-zxf', '/tmp/piuparts_lenny32-piuparts.tgz']
+0m34.5s DEBUG: Created policy-rc.d and chmodded it.
+0m34.5s DEBUG: Starting command: ['chroot', '/debscratch/tmpL--Wa9', 'apt-get', 'update']
+0m39.4s DUMP: 
+  Hit http://127.0.0.1 lenny Release.gpg
+  Hit http://127.0.0.1 lenny Release
+  Ign http://127.0.0.1 lenny/main Packages/DiffIndex
+  Ign http://127.0.0.1 lenny/contrib Packages/DiffIndex
+  Ign http://127.0.0.1 lenny/non-free Packages/DiffIndex
+  Hit http://127.0.0.1 lenny/main Packages
+  Hit http://127.0.0.1 lenny/contrib Packages
+  Hit http://127.0.0.1 lenny/non-free Packages
+  Reading package lists...
+0m39.4s DEBUG: Command ok: ['chroot', '/debscratch/tmpL--Wa9', 'apt-get', 'update']
+0m39.4s DEBUG: Starting command: ['chroot', '/debscratch/tmpL--Wa9', 'mount', '-t', 'proc', 'proc', '/proc']
+0m39.5s DEBUG: Command ok: ['chroot', '/debscratch/tmpL--Wa9', 'mount', '-t', 'proc', 'proc', '/proc']
+0m39.5s DEBUG: Starting command: ['chroot', '/debscratch/tmpL--Wa9', 'apt-get', '-yf', 'upgrade']
+0m42.1s DUMP: 
+  Reading package lists...
+  Building dependency tree...
+  Reading state information...
+  0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
+0m42.1s DEBUG: Command ok: ['chroot', '/debscratch/tmpL--Wa9', 'apt-get', '-yf', 'upgrade']
+0m42.1s DEBUG: Starting command: ['chroot', '/debscratch/tmpL--Wa9', 'apt-get', 'install', 'debfoster']
+0m44.2s DUMP: 
+  Reading package lists...
+  Building dependency tree...
+  Reading state information...
+  debfoster is already the newest version.
+  0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
+0m44.2s DEBUG: Command ok: ['chroot', '/debscratch/tmpL--Wa9', 'apt-get', 'install', 'debfoster']
+0m44.2s DEBUG: Starting command: ['chroot', '/debscratch/tmpL--Wa9', 'debfoster', '-o', 'MaxPriority=required', '-o', 'UseRecommends=no', '-f', '-n', 'apt', 'debfoster']
+0m44.2s DEBUG: Command ok: ['chroot', '/debscratch/tmpL--Wa9', 'debfoster', '-o', 'MaxPriority=required', '-o', 'UseRecommends=no', '-f', '-n', 'apt', 'debfoster']
+0m44.2s DEBUG: Removing /debscratch/tmpL--Wa9/var/lib/debfoster/keepers
+0m44.2s DEBUG: Starting command: ['chroot', '/debscratch/tmpL--Wa9', 'dpkg', '--purge', 'debfoster']
+0m47.6s DUMP: 
+  (Reading database ... 5793 files and directories currently installed.)
+  Removing debfoster ...
+  Purging configuration files for debfoster ...
+0m47.6s DEBUG: Command ok: ['chroot', '/debscratch/tmpL--Wa9', 'dpkg', '--purge', 'debfoster']
+0m47.6s DEBUG: Starting command: ['chroot', '/debscratch/tmpL--Wa9', 'apt-get', 'clean']
+0m47.6s DEBUG: Command ok: ['chroot', '/debscratch/tmpL--Wa9', 'apt-get', 'clean']
+0m49.3s DEBUG: Starting command: ['chroot', '/debscratch/tmpL--Wa9', 'dpkg', '--get-selections', '*']
+0m49.4s DUMP: 
+  adduser						purge
+  apt						install
+  apt-utils					purge
+  aptitude					purge
+  at						purge
+  base-config					purge
+  base-files					install
+  base-passwd					install
+  bash						install
+  bash-completion					purge
+  bsdmainutils					purge
+  bsdutils					install
+  console-common					purge
+  console-data					purge
+  console-tools					purge
+  coreutils					install
+  cpio						purge
+  cron						purge
+  debconf						install
+  debconf-i18n					install
+  debfoster					purge
+  debian-archive-keyring				install
+  debianutils					install
+  dhcp-client					purge
+  diff						install
+  dpkg						install
+  dselect						purge
+  e2fslibs					install
+  e2fsprogs					install
+  ed						purge
+  exim4						purge
+  exim4-base					purge
+  exim4-config					purge
+  exim4-daemon-light				purge
+  fdutils						purge
+  findutils					install
+  gcc-3.3-base					purge
+  gcc-4.1-base					purge
+  gcc-4.3-base					install
+  gettext-base					purge
+  gnupg						install
+  gpgv						install
+  grep						install
+  groff-base					purge
+  gzip						install
+  hostname					install
+  ifupdown					purge
+  info						purge
+  initscripts					install
+  ipchains					purge
+  iptables					purge
+  iputils-ping					purge
+  klogd						purge
+  less						purge
+  libacl1						install
+  libattr1					install
+  libblkid1					install
+  libbz2-1.0					install
+  libc6						install
+  libcap1						purge
+  libcomerr2					install
+  libconsole					purge
+  libdb1-compat					purge
+  libdb3						purge
+  libdb4.2					purge
+  libdb4.3					purge
+  libdb4.4					purge
+  libdb4.6					install
+  libdevmapper1.02				purge
+  libdevmapper1.02.1				install
+  libgc1c2					install
+  libgcc1						install
+  libgcrypt11					purge
+  libgdbm3					purge
+  libgnutls11					purge
+  libgnutls13					purge
+  libgnutls26					purge
+  libgpg-error0					purge
+  libgpm2						purge
+  libldap2					purge
+  liblocale-gettext-perl				install
+  liblockfile1					purge
+  liblzo1						purge
+  libncurses5					install
+  libncursesw5					purge
+  libnewt0.51					purge
+  libopencdk8					purge
+  libpam-modules					install
+  libpam-runtime					install
+  libpam0g					install
+  libpcap0.7					purge
+  libpcre3					purge
+  libpopt0					purge
+  libreadline5					install
+  libsasl2-2					purge
+  libselinux1					install
+  libsepol1					install
+  libsigc++-1.2-5c102				purge
+  libslang2					install
+  libss2						install
+  libssl0.9.7					purge
+  libssl0.9.8					purge
+  libstdc++5					purge
+  libstdc++6					install
+  libtasn1-2					purge
+  libtasn1-3					purge
+  libtext-charwidth-perl				install
+  libtext-iconv-perl				install
+  libtext-wrapi18n-perl				install
+  libtextwrap1					purge
+  libusb-0.1-4					install
+  libuuid1					install
+  libwrap0					purge
+  login						install
+  logrotate					purge
+  lsb-base					install
+  lzma						install
+  mailx						purge
+  makedev						purge
+  man-db						purge
+  manpages					purge
+  mawk						install
+  mktemp						install
+  modutils					purge
+  mount						install
+  nano						purge
+  ncurses-base					install
+  ncurses-bin					install
+  net-tools					purge
+  netbase						purge
+  netkit-inetd					purge
+  nvi						purge
+  nvi-doc						purge
+  openbsd-inetd					purge
+  passwd						install
+  pciutils					purge
+  perl-base					install
+  piuparts-hangers				purge
+  ppp						purge
+  pppconfig					purge
+  pppoe						purge
+  pppoeconf					purge
+  procps						purge
+  psmisc						purge
+  readline-common					install
+  sed						install
+  slang1a-utf8					purge
+  sysklogd					purge
+  sysv-rc						install
+  sysvinit					install
+  sysvinit-utils					install
+  tar						install
+  tasksel						purge
+  tcpd						purge
+  telnet						purge
+  tzdata						install
+  update-inetd					purge
+  util-linux					install
+  uuid-runtime					purge
+  wget						purge
+  whiptail					purge
+  zlib1g						install
+0m49.4s DEBUG: Command ok: ['chroot', '/debscratch/tmpL--Wa9', 'dpkg', '--get-selections', '*']
+0m49.4s DEBUG: Starting command: ['chroot', '/debscratch/tmpL--Wa9', 'apt-get', '-y', 'install', 'runit-run']
+1m6.0s DUMP: 
+  Reading package lists...
+  Building dependency tree...
+  Reading state information...
+  The following packages were automatically installed and are no longer required:
+    libgc1c2
+  Use 'apt-get autoremove' to remove them.
+  The following extra packages will be installed:
+    fgetty runit
+  Suggested packages:
+    socklog-run
+  The following NEW packages will be installed:
+    fgetty runit runit-run
+  0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
+  Need to get 144kB of archives.
+  After this operation, 750kB of additional disk space will be used.
+  WARNING: The following packages cannot be authenticated!
+    fgetty runit runit-run
+  Authentication warning overridden.
+  Get:1 http://127.0.0.1 lenny/main fgetty 0.6-5 [21.9kB]
+  Get:2 http://127.0.0.1 lenny/main runit 2.0.0-1 [111kB]
+  Get:3 http://127.0.0.1 lenny/main runit-run 1.0.0 [11.2kB]
+  debconf: delaying package configuration, since apt-utils is not installed
+  Fetched 144kB in 1s (135kB/s)
+  Can not write log, openpty() failed (/dev/pts not mounted?)
+  Selecting previously deselected package fgetty.
+  (Reading database ... 5779 files and directories currently installed.)
+  Unpacking fgetty (from .../archives/fgetty_0.6-5_i386.deb) ...
+  Selecting previously deselected package runit.
+  Unpacking runit (from .../runit_2.0.0-1_i386.deb) ...
+  Selecting previously deselected package runit-run.
+  Unpacking runit-run (from .../runit-run_1.0.0_all.deb) ...
+  
+  This package diverts sysvinit's /sbin/init program.  After the first
+  installation of the runit-run package, migrate essential services from
+  sysvinit to runit, so that these will get started after reboot.  Then,
+  use
+  
+   # /sbin/init.sysv 6
+  
+  to reboot the system with runit as process no 1.
+  
+  Please read the runit documentation before proceeding:
+  
+    http://smarden.org/runit/
+  
+  Press ENTER to continue, press Ctrl-C to abort... dpkg: error processing /var/cache/apt/archives/runit-run_1.0.0_all.deb (--unpack):
+   subprocess pre-installation script returned error exit status 1
+  Errors were encountered while processing:
+   /var/cache/apt/archives/runit-run_1.0.0_all.deb
+  E: Sub-process /usr/bin/dpkg returned an error code (1)
+1m6.0s ERROR: Command failed (status=100): ['chroot', '/debscratch/tmpL--Wa9', 'apt-get', '-y', 'install', 'runit-run']
+  Reading package lists...
+  Building dependency tree...
+  Reading state information...
+  The following packages were automatically installed and are no longer required:
+    libgc1c2
+  Use 'apt-get autoremove' to remove them.
+  The following extra packages will be installed:
+    fgetty runit
+  Suggested packages:
+    socklog-run
+  The following NEW packages will be installed:
+    fgetty runit runit-run
+  0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
+  Need to get 144kB of archives.
+  After this operation, 750kB of additional disk space will be used.
+  WARNING: The following packages cannot be authenticated!
+    fgetty runit runit-run
+  Authentication warning overridden.
+  Get:1 http://127.0.0.1 lenny/main fgetty 0.6-5 [21.9kB]
+  Get:2 http://127.0.0.1 lenny/main runit 2.0.0-1 [111kB]
+  Get:3 http://127.0.0.1 lenny/main runit-run 1.0.0 [11.2kB]
+  debconf: delaying package configuration, since apt-utils is not installed
+  Fetched 144kB in 1s (135kB/s)
+  Can not write log, openpty() failed (/dev/pts not mounted?)
+  Selecting previously deselected package fgetty.
+  (Reading database ... 5779 files and directories currently installed.)
+  Unpacking fgetty (from .../archives/fgetty_0.6-5_i386.deb) ...
+  Selecting previously deselected package runit.
+  Unpacking runit (from .../runit_2.0.0-1_i386.deb) ...
+  Selecting previously deselected package runit-run.
+  Unpacking runit-run (from .../runit-run_1.0.0_all.deb) ...
+  
+  This package diverts sysvinit's /sbin/init program.  After the first
+  installation of the runit-run package, migrate essential services from
+  sysvinit to runit, so that these will get started after reboot.  Then,
+  use
+  
+   # /sbin/init.sysv 6
+  
+  to reboot the system with runit as process no 1.
+  
+  Please read the runit documentation before proceeding:
+  
+    http://smarden.org/runit/
+  
+  Press ENTER to continue, press Ctrl-C to abort... dpkg: error processing /var/cache/apt/archives/runit-run_1.0.0_all.deb (--unpack):
+   subprocess pre-installation script returned error exit status 1
+  Errors were encountered while processing:
+   /var/cache/apt/archives/runit-run_1.0.0_all.deb
+  E: Sub-process /usr/bin/dpkg returned an error code (1)
+  
+1m6.0s DEBUG: Starting command: ['chroot', '/debscratch/tmpL--Wa9', 'umount', '/proc']
+1m6.1s DEBUG: Command ok: ['chroot', '/debscratch/tmpL--Wa9', 'umount', '/proc']
+1m7.5s DEBUG: Removed directory tree at /debscratch/tmpL--Wa9
+DC-Piuparts-Status: Failed 71.5132s




More information about the Collab-qa-commits mailing list