Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 217719 - sys-fs/e2fsprogs-1.40.6 fails with FEATURES=test (inside of a chroot?)
Summary: sys-fs/e2fsprogs-1.40.6 fails with FEATURES=test (inside of a chroot?)
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's Team for Core System packages
URL: https://sourceforge.net/tracker/index...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-14 20:14 UTC by Víctor Enríquez
Modified: 2014-08-05 07:46 UTC (History)
3 users (show)

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


Attachments
gentoo-sources-2.6.24-r4 config file (config,44.68 KB, text/plain)
2008-04-15 11:05 UTC, Víctor Enríquez
Details
config.gz from /proc (config.gz,10.46 KB, text/plain)
2008-04-15 11:06 UTC, Víctor Enríquez
Details
Build log (build.log.bz2,8.69 KB, application/x-bzip-compressed-tar )
2008-04-18 10:53 UTC, Víctor Enríquez
Details
sys-fs:e2fsprogs-1.40.9:20080619-173359.log.gz [chrooted] (20080619-173359.log.gz,9.56 KB, application/x-gzip)
2008-06-20 13:39 UTC, Jeroen Roovers (RETIRED)
Details
config.gz (config.gz,10.25 KB, application/x-gzip)
2008-06-20 13:40 UTC, Jeroen Roovers (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Víctor Enríquez 2008-04-14 20:14:17 UTC
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
Comment 1 SpanKY gentoo-dev 2008-04-14 22:43:27 UTC
post your kernel .config as an attachment ... if you have /proc/config.gz, that would be best
Comment 2 Víctor Enríquez 2008-04-15 11:05:23 UTC
Created attachment 149785 [details]
gentoo-sources-2.6.24-r4 config file
Comment 3 Víctor Enríquez 2008-04-15 11:06:07 UTC
Created attachment 149786 [details]
config.gz from /proc
Comment 4 SpanKY gentoo-dev 2008-04-15 13:38:51 UTC
try enabling DEBUG_FS in your kernel and see if tests pass after rebooting
Comment 5 Víctor Enríquez 2008-04-18 10:53:23 UTC
Created attachment 150158 [details]
Build log
Comment 6 Víctor Enríquez 2008-04-18 10:53:57 UTC
It still fails, see Build log.
Comment 7 Luca Lesinigo 2008-06-20 09:12:48 UTC
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
Comment 8 Jeroen Roovers (RETIRED) gentoo-dev 2008-06-20 13:38:18 UTC
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.
Comment 9 Jeroen Roovers (RETIRED) gentoo-dev 2008-06-20 13:39:35 UTC
Created attachment 157737 [details]
sys-fs:e2fsprogs-1.40.9:20080619-173359.log.gz [chrooted]
Comment 10 Jeroen Roovers (RETIRED) gentoo-dev 2008-06-20 13:40:40 UTC
Created attachment 157739 [details]
config.gz
Comment 11 Víctor Enríquez 2008-06-20 22:52:02 UTC
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).  
Comment 12 SpanKY gentoo-dev 2008-06-21 04:43:09 UTC
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
Comment 13 Víctor Enríquez 2008-06-26 20:30:12 UTC
I can confirm that testsuite works well with sys-fs/e2fsprogs-1.40.9, should I test with 1.40.6 also?
Comment 14 SpanKY gentoo-dev 2008-06-28 15:34:18 UTC
all that matters is the latest works
Comment 15 Friedrich Oslage (RETIRED) gentoo-dev 2008-12-29 13:34:57 UTC
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.
Comment 16 SpanKY gentoo-dev 2008-12-30 04:19:19 UTC
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