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

Lucas Nussbaum lucas at alioth.debian.org
Wed Dec 8 06:59:57 UTC 2010


Author: lucas
Date: 2010-12-08 06:59:50 +0000 (Wed, 08 Dec 2010)
New Revision: 1854

Added:
   collab-qa-tools/test/dest/autopkgtest-xenlvm.output
   collab-qa-tools/test/source/autopkgtest-xenlvm.log
Modified:
   collab-qa-tools/lib/collab-qa/log-parser-instest.rb
Log:
adjust to new instest output

Modified: collab-qa-tools/lib/collab-qa/log-parser-instest.rb
===================================================================
--- collab-qa-tools/lib/collab-qa/log-parser-instest.rb	2010-12-08 06:44:04 UTC (rev 1853)
+++ collab-qa-tools/lib/collab-qa/log-parser-instest.rb	2010-12-08 06:59:50 UTC (rev 1854)
@@ -38,27 +38,27 @@
         @sum_ml = @extract = @lines[g1+1..g2-1]
         @sum_1l = "not installable"
       elsif @reasons.include?('inst-after-deps')
-        g1 = @lines.grep_index(/^-- Installing the package after its depends: FAILED$/)[0]
+        g1 = @lines.grep_index(/^-- Installing the package after its depends and recommends: FAILED$/)[0]
         g2 = @lines.grep_index(/^-- Result: /)[0]
         @sum_ml = @extract = @lines[g1+1..g2-1]
         @sum_1l = "installation fails"
       elsif @reasons.include?('inst-with-deps')
-        g1 = @lines.grep_index(/^-- Installing the package together with its depends: FAILED$/)[0]
+        g1 = @lines.grep_index(/^-- Installing the package together with its depends, without recommends: FAILED$/)[0]
         g2 = @lines.grep_index(/^-- Result: /)[0]
         @sum_ml = @extract = @lines[g1+1..g2-1]
         @sum_1l = "installation fails"
+      elsif @reasons.include?('inst-aptitude')
+        g1 = @lines.grep_index(/^-- Installing the package with aptitude: FAILED$/)[0]
+        lines = @lines[g1+1..-1]
+        g2 = lines.grep_index(/^-- /)[0]
+        @sum_ml = @extract = lines[0..g2-1]
+        @sum_1l = "installation fails with aptitude"
       elsif @reasons.include?('inst-with-recs')
         g1 = @lines.grep_index(/^-- Installing the package together with its depends and recommends: FAILED$/)[0]
         lines = @lines[g1+1..-1]
         g2 = lines.grep_index(/^-- /)[0]
         @sum_ml = @extract = lines[0..g2-1]
         @sum_1l = "installation fails"
-      elsif @reasons.include?('inst-aptitude')
-        g1 = @lines.grep_index(/^-- Installing the package with aptitude: FAILED$/)[0]
-        lines = @lines[g1+1..-1]
-        g2 = lines.grep_index(/^-- /)[0]
-        @sum_ml = @extract = lines[0..g2-1]
-        @sum_1l = "installation fails with aptitude"
       elsif @reasons.include?('rm-pkg')
         g1 = @lines.grep_index(/^-- Removing the package: FAILED$/)[0]
         lines = @lines[g1+1..-1]

Added: collab-qa-tools/test/dest/autopkgtest-xenlvm.output
===================================================================
--- collab-qa-tools/test/dest/autopkgtest-xenlvm.output	                        (rev 0)
+++ collab-qa-tools/test/dest/autopkgtest-xenlvm.output	2010-12-08 06:59:50 UTC (rev 1854)
@@ -0,0 +1,73 @@
+autopkgtest-xenlvm 1.2.0+nmu1 FAILED 0.0
+Reason: inst-deps/inst-after-deps/udevlvm2
+
+1-line summary:
+installation fails
+
+multi-line summary:
+   Reading package lists...
+   Building dependency tree...
+   Reading state information...
+   Starting
+   Starting 2
+   Done
+   Suggested packages:
+     autopkgtest
+   The following NEW packages will be installed:
+     autopkgtest-xenlvm
+   0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
+   1 not fully installed or removed.
+   Need to get 26.1 kB of archives.
+   After this operation, 94.2 kB of additional disk space will be used.
+   Get:1 http://localhost/debian/ squeeze/main autopkgtest-xenlvm all 1.2.0+nmu1 [26.1 kB]
+   Fetched 26.1 kB in 0s (242 kB/s)
+   Selecting previously deselected package autopkgtest-xenlvm.
+   (Reading database ... 6613 files and directories currently installed.)
+   Unpacking autopkgtest-xenlvm (from .../autopkgtest-xenlvm_1.2.0+nmu1_all.deb) ...
+   Setting up lvm2 (2.02.66-4) ...
+   invoke-rc.d: policy-rc.d denied execution of start.
+   insserv: Service udev has to be enabled to start service lvm2
+   insserv: exiting now!
+   update-rc.d: error: insserv rejected the script header
+   dpkg: error processing lvm2 (--configure):
+    subprocess installed post-installation script returned error exit status 1
+   Setting up autopkgtest-xenlvm (1.2.0+nmu1) ...
+   configured to not write apport reports
+   invoke-rc.d: policy-rc.d denied execution of start.
+   Errors were encountered while processing:
+    lvm2
+   E: Sub-process /usr/bin/dpkg returned an error code (1)
+
+excerpt for mail:
+   Reading package lists...
+   Building dependency tree...
+   Reading state information...
+   Starting
+   Starting 2
+   Done
+   Suggested packages:
+     autopkgtest
+   The following NEW packages will be installed:
+     autopkgtest-xenlvm
+   0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
+   1 not fully installed or removed.
+   Need to get 26.1 kB of archives.
+   After this operation, 94.2 kB of additional disk space will be used.
+   Get:1 http://localhost/debian/ squeeze/main autopkgtest-xenlvm all 1.2.0+nmu1 [26.1 kB]
+   Fetched 26.1 kB in 0s (242 kB/s)
+   Selecting previously deselected package autopkgtest-xenlvm.
+   (Reading database ... 6613 files and directories currently installed.)
+   Unpacking autopkgtest-xenlvm (from .../autopkgtest-xenlvm_1.2.0+nmu1_all.deb) ...
+   Setting up lvm2 (2.02.66-4) ...
+   invoke-rc.d: policy-rc.d denied execution of start.
+   insserv: Service udev has to be enabled to start service lvm2
+   insserv: exiting now!
+   update-rc.d: error: insserv rejected the script header
+   dpkg: error processing lvm2 (--configure):
+    subprocess installed post-installation script returned error exit status 1
+   Setting up autopkgtest-xenlvm (1.2.0+nmu1) ...
+   configured to not write apport reports
+   invoke-rc.d: policy-rc.d denied execution of start.
+   Errors were encountered while processing:
+    lvm2
+   E: Sub-process /usr/bin/dpkg returned an error code (1)

Added: collab-qa-tools/test/source/autopkgtest-xenlvm.log
===================================================================
--- collab-qa-tools/test/source/autopkgtest-xenlvm.log	                        (rev 0)
+++ collab-qa-tools/test/source/autopkgtest-xenlvm.log	2010-12-08 06:59:50 UTC (rev 1854)
@@ -0,0 +1,131 @@
+IT-Header: autopkgtest-xenlvm lsqueeze64-instest / Wed Dec 08 04:47:30 +0100 2010
+-- Checking if the package is already installed: NO
+-- Finding version: autopkgtest-xenlvm 1.2.0+nmu1
+-- Finding depends and recommends: iproute libssl0.9.8 wget libadns1 adns-tools debootstrap chiark-utils-bin libudev0 libdevmapper1.02.1 dmsetup libatm1 libgmp3c2 libnettle3 libreadline5 lvm2
+-- Installing depends and recommends: FAILED
+   Reading package lists...
+   Building dependency tree...
+   Reading state information...
+   Starting
+   Starting 2
+   Done
+   Suggested packages:
+     libx11-6 iproute-doc
+   The following NEW packages will be installed:
+     adns-tools chiark-utils-bin debootstrap dmsetup iproute libadns1 libatm1
+     libdevmapper1.02.1 libgmp3c2 libnettle3 libreadline5 libssl0.9.8 libudev0
+     lvm2 wget
+   0 upgraded, 15 newly installed, 0 to remove and 0 not upgraded.
+   Need to get 3732 kB of archives.
+   After this operation, 9630 kB of additional disk space will be used.
+   Get:1 http://localhost/debian/ squeeze/main iproute amd64 20100519-3 [424 kB]
+   Get:2 http://localhost/debian/ squeeze/main libssl0.9.8 amd64 0.9.8o-3 [997 kB]
+   Get:3 http://localhost/debian/ squeeze/main wget amd64 1.12-2.1 [764 kB]
+   Get:4 http://localhost/debian/ squeeze/main libadns1 amd64 1.4-2 [62.9 kB]
+   Get:5 http://localhost/debian/ squeeze/main adns-tools amd64 1.4-2 [44.1 kB]
+   Get:6 http://localhost/debian/ squeeze/main libudev0 amd64 164-2 [115 kB]
+   Get:7 http://localhost/debian/ squeeze/main libdevmapper1.02.1 amd64 2:1.02.48-4 [85.3 kB]
+   Get:8 http://localhost/debian/ squeeze/main dmsetup amd64 2:1.02.48-4 [56.6 kB]
+   Get:9 http://localhost/debian/ squeeze/main libatm1 amd64 1:2.5.1-1.2 [71.8 kB]
+   Get:10 http://localhost/debian/ squeeze/main libgmp3c2 amd64 2:4.3.2+dfsg-1 [313 kB]
+   Get:11 http://localhost/debian/ squeeze/main libnettle3 amd64 2.0-2 [117 kB]
+   Get:12 http://localhost/debian/ squeeze/main libreadline5 amd64 5.2-7 [146 kB]
+   Get:13 http://localhost/debian/ squeeze/main lvm2 amd64 2.02.66-4 [448 kB]
+   Get:14 http://localhost/debian/ squeeze/main chiark-utils-bin amd64 4.1.28+nmu2 [29.7 kB]
+   Get:15 http://localhost/debian/ squeeze/main debootstrap all 1.0.26 [58.2 kB]
+   Preconfiguring packages ...
+   Fetched 3732 kB in 0s (24.9 MB/s)
+   Selecting previously deselected package iproute.
+   (Reading database ... 6239 files and directories currently installed.)
+   Unpacking iproute (from .../iproute_20100519-3_amd64.deb) ...
+   Selecting previously deselected package libssl0.9.8.
+   Unpacking libssl0.9.8 (from .../libssl0.9.8_0.9.8o-3_amd64.deb) ...
+   Selecting previously deselected package wget.
+   Unpacking wget (from .../wget_1.12-2.1_amd64.deb) ...
+   Selecting previously deselected package libadns1.
+   Unpacking libadns1 (from .../libadns1_1.4-2_amd64.deb) ...
+   Selecting previously deselected package adns-tools.
+   Unpacking adns-tools (from .../adns-tools_1.4-2_amd64.deb) ...
+   Selecting previously deselected package libudev0.
+   Unpacking libudev0 (from .../libudev0_164-2_amd64.deb) ...
+   Selecting previously deselected package libdevmapper1.02.1.
+   Unpacking libdevmapper1.02.1 (from .../libdevmapper1.02.1_2%3a1.02.48-4_amd64.deb) ...
+   Selecting previously deselected package dmsetup.
+   Unpacking dmsetup (from .../dmsetup_2%3a1.02.48-4_amd64.deb) ...
+   Selecting previously deselected package libatm1.
+   Unpacking libatm1 (from .../libatm1_1%3a2.5.1-1.2_amd64.deb) ...
+   Selecting previously deselected package libgmp3c2.
+   Unpacking libgmp3c2 (from .../libgmp3c2_2%3a4.3.2+dfsg-1_amd64.deb) ...
+   Selecting previously deselected package libnettle3.
+   Unpacking libnettle3 (from .../libnettle3_2.0-2_amd64.deb) ...
+   Selecting previously deselected package libreadline5.
+   Unpacking libreadline5 (from .../libreadline5_5.2-7_amd64.deb) ...
+   Selecting previously deselected package lvm2.
+   Unpacking lvm2 (from .../lvm2_2.02.66-4_amd64.deb) ...
+   Selecting previously deselected package chiark-utils-bin.
+   Unpacking chiark-utils-bin (from .../chiark-utils-bin_4.1.28+nmu2_amd64.deb) ...
+   Selecting previously deselected package debootstrap.
+   Unpacking debootstrap (from .../debootstrap_1.0.26_all.deb) ...
+   Setting up iproute (20100519-3) ...
+   Setting up libssl0.9.8 (0.9.8o-3) ...
+   Setting up wget (1.12-2.1) ...
+   Setting up libadns1 (1.4-2) ...
+   Setting up adns-tools (1.4-2) ...
+   Setting up libudev0 (164-2) ...
+   Setting up libatm1 (1:2.5.1-1.2) ...
+   Setting up libgmp3c2 (2:4.3.2+dfsg-1) ...
+   Setting up libnettle3 (2.0-2) ...
+   Setting up libreadline5 (5.2-7) ...
+   Setting up chiark-utils-bin (4.1.28+nmu2) ...
+   Setting up debootstrap (1.0.26) ...
+   Setting up libdevmapper1.02.1 (2:1.02.48-4) ...
+   Setting up dmsetup (2:1.02.48-4) ...
+   Setting up lvm2 (2.02.66-4) ...
+   invoke-rc.d: policy-rc.d denied execution of start.
+   insserv: Service udev has to be enabled to start service lvm2
+   insserv: exiting now!
+   update-rc.d: error: insserv rejected the script header
+   dpkg: error processing lvm2 (--configure):
+    subprocess installed post-installation script returned error exit status 1
+   configured to not write apport reports
+   Errors were encountered while processing:
+    lvm2
+   E: Sub-process /usr/bin/dpkg returned an error code (1)
+-- Installing depends failed, but we are trying to install the package directly anyway since apt might be able to do better.
+-- Installing the package after its depends and recommends: FAILED
+   Reading package lists...
+   Building dependency tree...
+   Reading state information...
+   Starting
+   Starting 2
+   Done
+   Suggested packages:
+     autopkgtest
+   The following NEW packages will be installed:
+     autopkgtest-xenlvm
+   0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
+   1 not fully installed or removed.
+   Need to get 26.1 kB of archives.
+   After this operation, 94.2 kB of additional disk space will be used.
+   Get:1 http://localhost/debian/ squeeze/main autopkgtest-xenlvm all 1.2.0+nmu1 [26.1 kB]
+   Fetched 26.1 kB in 0s (242 kB/s)
+   Selecting previously deselected package autopkgtest-xenlvm.
+   (Reading database ... 6613 files and directories currently installed.)
+   Unpacking autopkgtest-xenlvm (from .../autopkgtest-xenlvm_1.2.0+nmu1_all.deb) ...
+   Setting up lvm2 (2.02.66-4) ...
+   invoke-rc.d: policy-rc.d denied execution of start.
+   insserv: Service udev has to be enabled to start service lvm2
+   insserv: exiting now!
+   update-rc.d: error: insserv rejected the script header
+   dpkg: error processing lvm2 (--configure):
+    subprocess installed post-installation script returned error exit status 1
+   Setting up autopkgtest-xenlvm (1.2.0+nmu1) ...
+   configured to not write apport reports
+   invoke-rc.d: policy-rc.d denied execution of start.
+   Errors were encountered while processing:
+    lvm2
+   E: Sub-process /usr/bin/dpkg returned an error code (1)
+-- Result: FAILED
+-- Total time: 5.269629s
+-- Tests OK: 
+-- Tests Failed: inst-deps inst-after-deps




More information about the Collab-qa-commits mailing list