make[1]: Entering directory `/var/tmp/portage/sys-fs/e2fsprogs-1.40.4/work/e2fsp rogs-1.40.4/tests' Creating test_script... Running e2fsprogs test suite... d_loaddump: debugfs load/dump test: failed e_brel_bma: block relocation table using the memory array implementation: skippe d e_icount_normal: inode counting abstraction optimized for storing inode counts: ok e_icount_opt: inode counting abstraction optimized for counting: ok e_irel_ima: inode relocation table using the memory array implementation: skippe d f_16384_block: 16384 byte blocksize: failed f_8192_block: 8192 byte blocksize: failed f_bad_disconnected_inode: Disconnected inode with bad fields: failed f_bad_local_jnl: test for corrupt local journal (bad V1->V2 journal upgrade): fa iled f_badbblocks: illegal blocks in bad block inode: failed f_baddir: corrupted directory entries: failed f_baddir2: salvage last directory entry: failed f_baddotdir: bad '.' and '..' entries: failed f_badinode: corrupted inode entries: failed f_badjour_indblks: corruption in journal inode's indirect blocks: failed f_badjourblks: Illegal blocks in journal inode (and backup in superblock): faile d f_badorphan: corrupted orphan list: failed f_badprimary: bad blocks in the primary superblock and group descriptors: failed f_badroot: file in root directory inode: failed f_badsymlinks: corrupted symlinks: failed f_badtable: bad blocks in bitmaps and inode table: failed f_bbfile: bad blocks in files: failed f_bbinode: bad blocks in inode table: failed f_big_sparse: big sparse file: failed f_bitmaps: corrupted inode and block bitmaps: failed f_clear_xattr: clearing i_file_acl when !ext_attr feature: failed f_crashdisk: Superblock with illegal values: failed f_dir_bad_mode: directory with corrupted i_mode: failed f_dirlink: directory hard links: failed f_dup: blocks claimed by two different files: failed f_dup2: blocks claimed by three different files: failed f_dup3: blocks claimed by one file multiple times: failed f_dup4: find all directory pathnames: failed f_dup_de: duplicate directory entries: failed f_dup_resize: blocks claimed by the resize inode and another inode: failed f_dupdot: duplicate '.' and '..' entries: failed f_dupfsblks: blocks claimed by a file and bitmaps or inode tables: failed f_dupsuper: blocks claimed by a file and superblock or group descriptors: failed f_end-bitmap: corruption at end of block bitmap: failed f_expand: expanding lost+found: failed f_ext_journal: failed f_extents: skipped f_extra_journal: Valid journal inode, but has_journal feature not present: faile d f_filetype: set filetype information and illegal special files: failed f_full_bg: inode table in last block of first bg: failed f_h_badnode: hash directory with bad HTREE nodes: failed f_h_badroot: bad htree root nodes: failed f_h_normal: Normal (signed) HTREE directory: failed f_h_reindex: reindex HTREE Directory with different hash seed: failed f_h_unsigned: Unsigned HTREE directory: failed f_holedir: directory with holes and illegal blocks: failed f_hurd: GNU/Hurd specific tests: failed f_illbbitmap: illegal block bitmap: failed f_illibitmap: illegal inode bitmap: failed f_illitable: illegal inode table: failed f_imagic: non-imagic filesystem with imagic inodes: failed f_imagic_fs: imagic filesystem with imagic inodes: failed f_journal: recover journal from corrupted inode table: failed f_lotsbad: too many illegal blocks in inode: failed f_lpf: missing lost+found: failed f_lpf2: create lost+found and reconnect lost directory: failed f_lpffile: lost+found is not a directory: failed f_messy_inode: bad file and directory acl pointers: failed f_miss_blk_bmap: missing block bitmap: failed f_miss_journal: Non-existent journal inode: failed f_misstable: missing inode table: failed f_mke2fs2b: mke2fs version 0.2b created filesystem: failed f_noroot: missing root directory: failed f_okgroup: 8193 block long filesystem: failed f_orphan: clearing orphan inodes: failed f_orphan_dotdot_ft: filetype of .. in orphaned directories: failed f_overfsblks: overlapping inode and block bitmaps: failed f_preen: preen shouldn't destroy backup superblocks: failed f_recnect_bad: Reconnecting bad inode: failed f_reconnect: simple disconnected file inode: failed f_resize_inode: e2fsck with resize_inode: failed f_salvage_dir: salvage corrupted directories: failed f_selinux: SE Linux generated symlinks with EA data: failed f_special_ea: Special files with extended attributes: failed f_summary_counts: incorrect inode/block free counts: failed f_swapfs: checking the e2fsck swapfs functionality: failed f_valid_ea_in_inode: valid ea-in-inode examplars: failed f_zero_group: fallback for damaged group descriptors: failed f_zero_inode_size: superblock with a zero inode size: failed f_zero_super: fallback for damaged superblock: failed m_dasd_bs: 2048 byte sector devices: failed m_large_file: largefile fs type: failed m_meta_bg: meta blockgroup feature: failed m_mkfs_overhead: test bg overhead calculation: failed m_no_opt: no filesystem extensions: failed m_raid_opt: raid options: failed m_std: standard filesystem options: failed r_move_itable: resize2fs with resize_inode: failed r_resize_inode: resize2fs with resize_inode: failed 2 tests succeeded 89 tests failed make[1]: *** [check] Error 1 make[1]: Leaving directory `/var/tmp/portage/sys-fs/e2fsprogs-1.40.4/work/e2fspr ogs-1.40.4/tests' make: *** [check-recursive] Error 1 * * ERROR: sys-fs/e2fsprogs-1.40.4 failed. Reproducible: Always Steps to Reproduce: 1.enable FEATURES="test" 2.emerge e2fsprogs 3. :( Portage 2.1.3.19 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-gentoo-r3 x86_64) ================================================================= System uname: 2.6.23-gentoo-r3 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 5200+ Timestamp of tree: Fri, 08 Feb 2008 10:33:01 +0000 app-shells/bash: 3.2_p17-r1 dev-lang/python: 2.4.4-r6 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.10-r5 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.61-r1 sys-devel/automake: 1.10 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -mtune=opteron -pipe -ggdb" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -mtune=opteron -pipe -ggdb" DISTDIR="/usr/portage/distfiles" FEATURES="buildpkg distlocks metadata-transfer sandbox sfperms splitdebug strict test unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://130.59.10.34/mirror/gentoo/ ftp://130.59.10.35/mirror/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X acl amd64 berkdb bitmap-fonts cli cracklib crypt cups deprecated discouraged dri fortran gcj gdbm gpm iconv ipv6 isdnlog midi mmx mudflap ncurses nls nptl nptlonly objc objc++ openmp pam pcre perl pppd python readline reflection session spl sse sse2 ssl tcpd test threads truetype-fonts type1-fonts unicode xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i810 mach64 mga neomagic nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Do you have CONFIG_DEBUG_FS=y in your kernel?
Just to follow up. This was done in a chroot. When it's in a chroot it appears to require debugfs to be explicitly mounted for the test to be successful. mount -t debugfs none_debugs /sys/kernel/debug
i'm unable to confirm ... unmounting /sys/kernel/debug works fine for me test summaries are almost always useless. post the full logs from the test directory as attachments or dont bother filing bugs.