Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 276687 - sys-block/parted fails tests
Summary: sys-block/parted fails tests
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo LiveCD Package Maintainers
URL:
Whiteboard:
Keywords:
: 304645 416903 528140 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-07-05 23:39 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2014-11-04 09:43 UTC (History)
7 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Build log (parted-1.8.8:20090705-233702.log,165.56 KB, text/plain)
2009-07-05 23:39 UTC, Diego Elio Pettenò (RETIRED)
Details
build.log (parted-1.9.0:20100414-183509.log,58.00 KB, text/plain)
2010-04-14 18:38 UTC, Pacho Ramos
Details
build.log (parted-2.2:20100414-193717.log,72.38 KB, text/plain)
2010-04-14 19:40 UTC, Pacho Ramos
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2009-07-05 23:39:21 UTC
Portage 2.1.6.13 (!../var/cache/portage/tree/profiles/default/linux/x86/2008.0, gcc-4.4.0-asneeded, glibc-2.10.1-r0, 2.6.30-gentoo-r1 i686)
=================================================================
System uname: Linux-2.6.30-gentoo-r1-i686-Quad-Core_AMD_Opteron-tm-_Processor_2350-with-gentoo-2.0.1
Timestamp of tree: Sat, 04 Jul 2009 12:00:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p24
dev-java/java-config: 1.3.7-r1, 2.1.8-r1
dev-lang/python:     2.6.2-r1
dev-python/pycrypto: 2.0.1-r8
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.4
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r3
sys-apps/sandbox:    2.0
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.29
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/glftpd/etc /opt/glftpd/ftp-data /opt/openfire/resources/security/ /opt/openjms/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/bufrtables /usr/share/config /var/bind /var/lib/hsqldb /var/phxd /var/qmail/alias /var/qmail/control /var/spool/torque /var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/var/cache/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict test test-fail-continue unmerge-orphans userfetch"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo"
INSTALL_MASK="  /usr/share/doc  /usr/share/man  /usr/share/info"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j14"
PKGDIR="/var/spool/portage/packages"
PORTAGE_COMPRESS=""
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/var/cache/portage/tree-tinderbox"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl berkdb bzip2 cli cracklib crypt cups dri fortran gdbm gpm iconv ipv6 isdnlog java5 java6 midi mudflap ncurses nls nostatic nptl nptlonly openmp pam pcre perl pppd python qt3support readline reflection ruby session spl ssl sysfs tcpd unicode x86 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-07-05 23:39:38 UTC
Created attachment 196847 [details]
Build log
Comment 2 Patrick Lauer gentoo-dev 2009-09-07 21:24:28 UTC
FAIL: t4100-msdos-partition-limits.sh (exit: 1)
===============================================

* FAIL 1: create an XFS file system

            dd if=/dev/zero of=$fs bs=1MB count=2 seek=20 &&
            mkfs.xfs -q $fs &&                              
            mkdir "$mp"                                     

            
* FAIL 2: mount it

            mount -o loop $fs "$mp" &&
            cd "$mp"                  

            
* FAIL 3: msdos: a partition length of 2^32-1 works.

            end=$(echo $n+2^32-2|bc) &&
            do_mkpart $n $end          
                                       
* FAIL 4: print the result             
        parted -s $dev unit s p > out 2>&1 &&
             sed -n "/^  *1  *$n/s/  */ /gp" out|sed "s/  *\$//" > k && mv k out &&
             echo " 1 ${n}s ${end}s 4294967295s primary" > exp &&                  
             diff -u out exp                                                       
                                                                                   
*   ok 5: msdos: a partition length of exactly 2^32 sectors provokes failure.      
* FAIL 6: check for new diagnostic                                                 
        bad_part_length 4294967296 > exp && diff -u err exp                        
*   ok 7: msdos: a partition length of 2^32+1 sectors provokes failure.            
* FAIL 8: check for new diagnostic                                                 
        bad_part_length 4294967296 > exp && diff -u err exp                        
* FAIL 9: msdos: a partition start sector number of 2^32-1 works.                  
        do_mkpart_start_and_len $(echo 2^32-1|bc) 1000                             
* FAIL 10: print the result                                                        
        parted -s $dev unit s p > out 2>&1 &&                                      
             sed "s/Disk .*:/Disk:/;s/ *$//" out > k && mv k out &&                
             diff -u out exp                                                       
                                                                                   
*   ok 11: msdos: a partition start sector number of 2^32 must fail.               
* FAIL 12: check for new diagnostic                                                
        bad_start_sector 4294967296 > exp && diff -u err exp                       
*   ok 13: msdos: a partition start sector number of 2^32+1 must fail, too.        
* FAIL 14: check for new diagnostic                                                
        bad_start_sector 4294967296 > exp && diff -u err exp                       
* failed 10 among 14 test(s)                                                       

FAIL: t4100-dvh-partition-limits.sh (exit: 1)
=============================================

* FAIL 1: create an XFS file system

            dd if=/dev/zero of=$fs bs=1MB count=2 seek=20 &&
            mkfs.xfs -q $fs &&                              
            mkdir "$mp"                                     

            
* FAIL 2: mount it

            mount -o loop $fs "$mp" &&
            cd "$mp"                  

            
* FAIL 3: dvh: a partition length of 2^32-1 works.

            end=$(echo $n+2^32-2|bc) &&
            do_mkpart $n $end          
                                       
* FAIL 4: print the result             
        parted -s $dev unit s p > out 2>&1 &&
             sed -n "/^  *1  *$n/s/  */ /gp" out|sed "s/  *\$//" > k && mv k out &&
             echo " 1 ${n}s ${end}s 4294967295s primary" > exp &&                  
             diff -u out exp                                                       
                                                                                   
*   ok 5: dvh: a partition length of exactly 2^32 sectors provokes failure.        
* FAIL 6: check for new diagnostic                                                 
        bad_part_length 4294967296 > exp && diff -u err exp                        
*   ok 7: dvh: a partition length of 2^32+1 sectors provokes failure.              
* FAIL 8: check for new diagnostic                                                 
        bad_part_length 4294967297 > exp && diff -u err exp                        
* FAIL 9: dvh: a partition start sector number of 2^32-1 works.                    
        do_mkpart_start_and_len $(echo 2^32-1|bc) 1000                             
* FAIL 10: print the result                                                        
        parted -s $dev unit s p > out 2>&1 &&                                      
             sed "s/Disk .*:/Disk:/;s/ *$//" out > k && mv k out &&                
             diff -u out exp                                                       
                                                                                   
*   ok 11: dvh: a partition start sector number of 2^32 must fail.                 
* FAIL 12: check for new diagnostic                                                
        bad_start_sector 4294967296 > exp && diff -u err exp                       
*   ok 13: dvh: a partition start sector number of 2^32+1 must fail, too.          
* FAIL 14: check for new diagnostic                                                
        bad_start_sector 4294967297 > exp && diff -u err exp                       
* failed 10 among 14 test(s)                                                       

FAIL: t7000-scripting.sh (exit: 1)
==================================

*   ok 1: Create the test file
*   ok 2: Test the scripting mode of mkpart
*   ok 3: Compare the real error and the expected one
*   ok 4: Create the test file                       
*   ok 5: Test the interactive mode of mkpart        
*   ok 6: normalize the actual output                
* FAIL 7: Compare the real error and the expected one
        compare out errI
*   ok 8: Create the test file
*   ok 9: Test the scripting mode of mkpartfs
*   ok 10: Compare the real error and the expected one
*   ok 11: Create the test file
*   ok 12: Test the interactive mode of mkpartfs
*   ok 13: normalize the actual output
* FAIL 14: Compare the real error and the expected one
        compare out errI
* failed 2 among 14 test(s)
===================================
5 of 24 tests failed
See tests/test-suite.log
Please report to bug-parted@gnu.org
===================================
make[4]: *** [test-suite.log] Error 1
make[4]: Leaving directory `/var/tmp/portage/sys-apps/parted-1.9.0/work/parted-1.9.0/tests'
make[3]: *** [check-TESTS] Error 2
make[3]: Leaving directory `/var/tmp/portage/sys-apps/parted-1.9.0/work/parted-1.9.0/tests'
make[2]: *** [check-am] Error 2
make[2]: Leaving directory `/var/tmp/portage/sys-apps/parted-1.9.0/work/parted-1.9.0/tests'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/sys-apps/parted-1.9.0/work/parted-1.9.0'
make: *** [check] Error 2
 *
 * ERROR: sys-apps/parted-1.9.0 failed.
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2010-01-07 15:59:34 UTC
How does 2.1 fare?
Comment 4 T Chan 2010-01-13 23:06:10 UTC
sys-apps/parted-1.9.0 fails t2000-mkfs.sh test 17 and t7000-scripting.sh tests 7, 14.

t2000.17 seems to fail because it parted prints "/path/to/parted" instead of parted (this could possibly be fixed by suitably setting $PATH)

t7000.7 and t7000.14 seem to expect parted's stdout to echo stdin (i.e. it's missing "n\n" at the end).

# ./t2000-mkfs.sh -v
...
* expecting success: { echo "parted: invalid token: bogus"
       echo "Error: Expecting a file system type."; } > exp &&
     compare out exp
--- out 2010-01-13 22:56:40.000000000 +0000
+++ exp 2010-01-13 22:56:40.000000000 +0000
@@ -1,2 +1,2 @@
-/var/tmp/portage/sys-apps/parted-1.9.0/work/parted-1.9.0/parted/.libs/parted: invalid token: bogus
+parted: invalid token: bogus
 Error: Expecting a file system type.
* FAIL 17: check for expected diagnostic
        { echo "parted: invalid token: bogus"
               echo "Error: Expecting a file system type."; } > exp &&
             compare out exp
...

# ./t7000-scripting.sh -v
* expecting success: compare out errI
--- out 2010-01-13 22:58:27.000000000 +0000
+++ errI        2010-01-13 22:58:27.000000000 +0000
@@ -1,4 +1,4 @@
 Warning: You requested a partition from 512B to 50.7kB.
 The closest location we can manage is 17.4kB to 33.8kB.
 Is this still acceptable to you?
-Yes/No? n
+Yes/No?
\ No newline at end of file
* FAIL 7: Compare the real error and the expected one
        compare out errI
...
* expecting success: compare out errI
--- out 2010-01-13 22:58:28.000000000 +0000
+++ errI        2010-01-13 22:58:27.000000000 +0000
@@ -1,4 +1,4 @@
 Warning: You requested a partition from 512B to 50.7kB.
 The closest location we can manage is 17.4kB to 33.8kB.
 Is this still acceptable to you?
-Yes/No? n
+Yes/No?
\ No newline at end of file
* FAIL 14: Compare the real error and the expected one
        compare out errI
...
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2010-02-12 00:29:00 UTC
*** Bug 304645 has been marked as a duplicate of this bug. ***
Comment 6 Pacho Ramos gentoo-dev 2010-04-14 16:13:53 UTC
Can you please restrict tests until fixed? Thanks
Comment 7 Jeroen Roovers (RETIRED) gentoo-dev 2010-04-14 17:03:02 UTC
(In reply to comment #6)
> Can you please restrict tests until fixed? Thanks

Why? This wouldn't fix the problem in the intermediate time, and emerge has FEATURES=test-fail-continue to make failing tests non-fatal.

Meanwhile, I don't see any failing tests using version 2.2 and running as root, and no one has responded to comment #3 at all, yet.
Comment 8 Jeroen Roovers (RETIRED) gentoo-dev 2010-04-14 17:09:40 UTC
No tests fail either with FEATURES=userpriv in 2.2.
Comment 9 Pacho Ramos gentoo-dev 2010-04-14 18:32:18 UTC
(In reply to comment #7)
> (In reply to comment #6)
> > Can you please restrict tests until fixed? Thanks
> 
> Why? 

Simply for not getting emerge failing on a package that seems to have broken tests since some time and won't probably be solved soon

> This wouldn't fix the problem in the intermediate time,

I doubt keeping them running to get them failing won't help to solve the problem now that is reported since a lot of time.

> and emerge has
> FEATURES=test-fail-continue to make failing tests non-fatal.
>

Yes, I know, buy I would prefer to be able to not use that to still let emerge die when tests fail on new packages (or regressions appears).

> Meanwhile, I don't see any failing tests using version 2.2 and running as root,
> and no one has responded to comment #3 at all, yet.
> 

Well, they just failed for me, please let me some minutes to provide the info :-)
Comment 10 Pacho Ramos gentoo-dev 2010-04-14 18:38:41 UTC
Created attachment 227791 [details]
build.log

build.log with failing tests:
[ebuild   R   ] sys-apps/parted-1.9.0  USE="debug device-mapper* nls readline (-selinux)" 0 kB

Portage 2.1.8.3 (default/linux/amd64/10.0/desktop/gnome, gcc-4.3.4, glibc-2.10.1-r1, 2.6.32-gentoo-r7 x86_64)
=================================================================
System uname: Linux-2.6.32-gentoo-r7-x86_64-AMD_Athlon-tm-_64_Processor_3200+-with-gentoo-1.12.13
Timestamp of tree: Wed, 14 Apr 2010 14:30:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.4-r1
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc:       4.3.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/distfiles"
FEATURES="assume-digests autoaddcvs ccache cvs distlocks fixpackages multilib-strict news parallel-fetch protect-owned sandbox sfperms sign split-log strict test unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org"
LANG="es_ES.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="es es_ES en_US"
MAKEOPTS="-j2"
PKGDIR="/usr/local/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/portage/local/layman/suka /usr/portage/local/layman/enlightenment /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 applet avahi bash-completion berkdb branding bzip2 cairo cddb cdinstall cdr cleartype cli consolekit cracklib crypt css cups cxx daap dbus djvu dri dts dvd dvdr dvi eds emboss encode evo exif fam fat ffmpeg firefox flac fortran fuse gdbm gdu gif glitz gnome gnome-keyring gpm gstreamer gtk hal iconv imagemagick java jpeg kdehiddenvisibility kpathsea latex lcms libnotify lyx lzma mad mikmod mmx mmxext mng modules mono mp3 mp4 mpeg mudflap multilib musicbrainz nautilus ncurses network network-cron nls nptl nptlonly ntfs nvidia ogg opengl openmp pam pango pch pcre pdf perl png policykit ppds pppd python qt3support qt4 readline reflection reiserfs scanner sdl session spell spl sse sse2 ssl ssse3 startup-notification svg sysfs t1lib tcpd threads tiff truetype unicode usb v4l2 vcd vorbis webkit x264 xattr xcb xinetd xml xmp xorg xpm xulrunner xv xvid zeroconf zlib" ALSA_CARDS="via82xx" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es es_ES en_US" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 11 Jeroen Roovers (RETIRED) gentoo-dev 2010-04-14 19:28:09 UTC
So you still haven't read comment #3 then?
Comment 12 Pacho Ramos gentoo-dev 2010-04-14 19:37:18 UTC
(In reply to comment #11)
> So you still haven't read comment #3 then?
> 

I read it but misunderstood it and for some reason I thought you were referring to portage version (!?)... probably because I was thinking in many other things (related with real life) at the same time :-S

Sorry for the inconvenience. I will try them just now
Comment 13 Pacho Ramos gentoo-dev 2010-04-14 19:40:56 UTC
Created attachment 227797 [details]
build.log

But both still fail in the same way :-(, I attach build.log related with 2.2 since it's the latest one
Comment 14 Jeroen Roovers (RETIRED) gentoo-dev 2010-04-14 20:07:14 UTC
That's just one test failing. And it's because your kernel lacks device-mapper support, apparently. Looks like the same problem as bug #277104 (net-misc/socat) where kernel features are not checked before they are used to test userland software features, leading to test failures where tests ought to have been SKIPped. I guess that could be fixed quite easily.
Comment 15 Dustin Polke 2010-04-15 11:27:03 UTC
(In reply to comment #3)
> How does 2.1 fare?

I tested parted-2.1 and parted-2.2 and they both pass tests when run as root as well as with FEATURES="userpriv".

Portage 2.1.8.3 (default/linux/amd64/10.0, gcc-4.3.4, glibc-2.10.1-r1, 2.6.31-gentoo-r10-stable x86_64)
=================================================================
System uname: Linux-2.6.31-gentoo-r10-stable-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T8100_@_2.10GHz-with-gentoo-2.0.1
Timestamp of tree: Thu, 15 Apr 2010 10:15:03 +0000
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.4-r1
dev-python/pycrypto: 2.1.0_beta1
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.0-r1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc:       4.3.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA dlj-1.1 PUEL cadsoft skype-eula"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe -msse4.1"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/bin/mygenkernel /usr/sbin/run-crons /usr/share/X11/xkb /usr/share/cairo-dock/plug-ins/wifi/wifi /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=core2 -O2 -pipe -msse4.1"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests collision-protect distlocks fixpackages multilib-strict news parallel-fetch protect-owned sandbox sfperms strict test unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/     ftp://de-mirror.org/distro/gentoo/     ftp://mirror.netcologne.de/gentoo/     ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo     ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo"
LANG="C"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,relro -Wl,-z,now"
LINGUAS="en de"
MAKEOPTS="-j5"
PKGDIR="/home/ftp/binpkg/"
PORTAGE_COMPRESS=""
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--timeout=500"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/g-ctan /usr/local/portage/modified /usr/local/portage/own /var/lib/layman/alon-barlev /var/lib/layman/sping /var/lib/layman/science /var/lib/layman/desktop-effects /var/lib/layman/sunrise"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="X X509 Xaw3d a52 aac aalib accessibility acl acpi alsa amd64 amr amrnb amrr amrwb apm async audacious audiofile bash-completion battery berkdb bindist bl bluetooth branding bzip2 cairo cardbus cdaudio cdda cdinstall cjk cli consolekit cracklib crypt css ctype cups curl cxx dbus devil dga directfb dri dts dv dvd dvdr eds encode evo exchange exif fam fame fbcon fbcondecor fbsplash ffmpeg flac fontforge foomaticdb fortran ftp gd gdbm gif gimp git glade glitz gmp gphoto2 gs gsm gstreamer gtk gtkhtml guile hal hddtemp hdf5 iconv icq icu idn ieee1394 imagemagick imap imlib iproute2 jack java javascript jpeg jpeg2k kerberos keyscrub kino kpathsea lame lapack laptop latex lcms libcaca libnotify libsamplerate libsexy libv4l2 libwww live lm_sensors logrotate loop-aes lzma lzo mad memlimit mikmod mime mjpeg mmx mmxext mng modules mono motif mp2 mp3 mp4 mpeg mplayer mudflap multilib musepack ncurses nls nntp nowin nptl nptlonly nsplugin ntp nuv nvidia ods ogg opengl openmp opensslcrypt pam pch pcmcia pcre pda pdf perl plotutils png posix ppds pppd print python qt3support quicktime readline reflection rtsp ruby rubytests samba sasl schroedinger sdl server session simplexml slang sndfile soap sockets sou speex spell spl sse sse2 sse3 sse4.1 ssl ssse3 startup-notification stream subversion svg swat sysfs syslog tcpd tga theora threads tiff truetype unicode usb userlocales v4l v4l2 vcd vdpau vim-syntax vim-with-x vorbis wifi winbind wma wmf wxwindows x264 xanim xcomposite xfce xinetd xls xml xmp xorg xpm xsl xulrunner xv xvid xvmc zlib" ALSA_CARDS="hda-intel mpu401" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="fuji ptp2" ELIBC="glibc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS_FLAGS
Comment 16 Pacho Ramos gentoo-dev 2010-06-10 17:00:29 UTC
(In reply to comment #14)
> That's just one test failing. And it's because your kernel lacks device-mapper
> support, apparently. Looks like the same problem as bug #277104
> (net-misc/socat) where kernel features are not checked before they are used to
> test userland software features, leading to test failures where tests ought to
> have been SKIPped. I guess that could be fixed quite easily.
> 

Should ebuild check for CONFIG_BLK_DEV_DM then? (using linux-info.eclass I guess...)
Comment 17 Jeroen Roovers (RETIRED) gentoo-dev 2010-06-11 16:35:04 UTC
The sys-apps/parted-2.3 ebuild disables two misbehaving tests (both should SKIP when OS features are missing but FAIL instead).

(In reply to comment #16)
> Should ebuild check for CONFIG_BLK_DEV_DM then? (using linux-info.eclass I
> guess...)

I do not like the idea of conditionally duplicating the test suite's checks.
Comment 18 Pacho Ramos gentoo-dev 2010-06-11 17:06:57 UTC
(In reply to comment #17)
> The sys-apps/parted-2.3 ebuild disables two misbehaving tests (both should SKIP
> when OS features are missing but FAIL instead).
> 
> (In reply to comment #16)
> > Should ebuild check for CONFIG_BLK_DEV_DM then? (using linux-info.eclass I
> > guess...)
> 
> I do not like the idea of conditionally duplicating the test suite's checks.
> 

Then, parted-2.3 should fix this since failing test was t6000-dm.sh. 

I didn't know running:
        sed -i tests/Makefile.am \
                -e '/t6000-dm.sh/d' || die "sed failed"
would make it skip the test only when DM is not available, I thought it would simply not run that test

Thanks for the info
Comment 19 Jeroen Roovers (RETIRED) gentoo-dev 2014-11-04 09:32:29 UTC
*** Bug 416903 has been marked as a duplicate of this bug. ***
Comment 20 Jeroen Roovers (RETIRED) gentoo-dev 2014-11-04 09:32:41 UTC
*** Bug 528140 has been marked as a duplicate of this bug. ***
Comment 21 Jeroen Roovers (RETIRED) gentoo-dev 2014-11-04 09:43:18 UTC
I set RESTRICT=test (on 2.4 and 3.2) as too many tests still fail without first checking for OS support.