sys-fs/e2fsprogs-1.40.6 fails at testsuite: make[1]: Nothing to be done for `check'. make[1]: Leaving directory `/var/tmp/portage/sys-fs/e2fsprogs-1.40.6/work/e2fsprogs-1.40.6/po' making check in tests make[1]: Entering directory `/var/tmp/portage/sys-fs/e2fsprogs-1.40.6/work/e2fsprogs-1.40.6/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: skipped 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: skipped 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): failed 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): failed 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: failed 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.6/work/e2fsprogs-1.40.6/tests' make: *** [check-recursive] Error 1 Reproducible: Always Steps to Reproduce: 1.FEATURES=test 2.emerge -v e2fsprogs 3. emerge --info: Portage 2.1.4.4 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r4 x86_64) ================================================================= System uname: 2.6.24-gentoo-r4 x86_64 AMD Athlon(tm) 64 Processor 3200+ Timestamp of tree: Mon, 14 Apr 2008 10:33:01 +0000 app-shells/bash: 3.2_p17-r1 dev-lang/python: 2.4.4-r9 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.11.1 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.26 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=k8 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="collision-protect distlocks metadata-transfer multilib-strict parallel-fetch sandbox sfperms strict test unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LINGUAS="en es" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" 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" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X a52 acl acpi alsa amd64 berkdb bzip2 cairo cli cracklib crypt cups dbus dga dri ffmpeg flac gdbm glitz gmp gpm hal iconv ipv6 isdnlog ithreads jpeg lcms libnotify mad midi mmx mp3 mudflap ncurses network nls nptl nptlonly ogg opengl openmp pam pcre perl png pppd python readline reflection sdl session spell spl sse sse2 ssl startup-notification svg tcpd theora threads truetype unicode v4l vorbis x264 xcomposite xorg xscreensaver xv xvid zlib" ALSA_CARDS="emu10k1" 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="evdev keyboard mouse joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en es" USERLAND="GNU" VIDEO_CARDS="nvidia none" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
post your kernel .config as an attachment ... if you have /proc/config.gz, that would be best
Created attachment 149785 [details] gentoo-sources-2.6.24-r4 config file
Created attachment 149786 [details] config.gz from /proc
try enabling DEBUG_FS in your kernel and see if tests pass after rebooting
Created attachment 150158 [details] Build log
It still fails, see Build log.
where you emerging in a chroot? Me and other are currently looking at a similar problem, e2fsprogs-1.40.9|10|11 fails in the same way if the test suite is running under a chroot - doesn't matter if you use portage or do it by hand (configure; make; make check). I don't know if this is related to your issue, though
I see these failing tests only when running the test suite in a chroot. Maybe the tests assume that certain information from the inodes it writes come back unchanged when read afterwards. Outside chroots this behaviour doesn't occur.
Created attachment 157737 [details] sys-fs:e2fsprogs-1.40.9:20080619-173359.log.gz [chrooted]
Created attachment 157739 [details] config.gz
Yup, I was running the test in my stable amd64 chrooted environment, so the problem seems to be related with chroot? I can't do much testing know (I'm doing my final exams).
i cant reproduce that either ... i was testing before in a chroot, and i just rested with 1.40.11 and tests are passing for me let's start simple. go into the tests subdir and run: make clean test_script ./test_script f_dup4 and then post the files that match f_dup4.* as attachments
I can confirm that testsuite works well with sys-fs/e2fsprogs-1.40.9, should I test with 1.40.6 also?
all that matters is the latest works
One reason why they are failing inside of a chroot may be that /etc/mtab doesn't exists (our stage-tarballs don't include it, it's created upon the first boot). It's required for the tests. Try touch /etc/mtab and re-run the tests.
added a workaround to latest version and filed a bug upstream http://sources.gentoo.org/sys-fs/e2fsprogs/e2fsprogs-1.41.3.ebuild?r1=1.8&r2=1.9