Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 156383 - sys-apps/coreutils-6.4 fails test tail-2/append-only
Summary: sys-apps/coreutils-6.4 fails test tail-2/append-only
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
: 156382 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-11-27 01:05 UTC by Karsten Baumgarten
Modified: 2007-10-12 17:26 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Karsten Baumgarten 2006-11-27 01:05:27 UTC
Test tail-2/append-only fails on reiserfs (chattr is not supported).

---

make[3]: Leaving directory `/var/tmp/portage/sys-apps/coreutils-6.4/work/coreutils-6.4/tests/tail'
make[2]: Leaving directory `/var/tmp/portage/sys-apps/coreutils-6.4/work/coreutils-6.4/tests/tail'
Making check in tail-2
make[2]: Entering directory `/var/tmp/portage/sys-apps/coreutils-6.4/work/coreutils-6.4/tests/tail-2'
make  check-TESTS
make[3]: Entering directory `/var/tmp/portage/sys-apps/coreutils-6.4/work/coreutils-6.4/tests/tail-2'
./append-only: failure in testing framework
FAIL: append-only
./tail-n0f: line 43: 13506 Terminated              sleep 2
PASS: tail-n0f
PASS: big-4gb
PASS: proc-ksyms
PASS: start-middle
sleeping for 7 seconds...
PASS: assert
sleeping for 7 seconds...
PASS: assert-2

---

midgard tail-2 # sh -x append-only 
+ test '' = yes
+ PRIV_CHECK_ARG=require-root
+ . ../priv-check
++ case "$PRIV_CHECK_ARG" in
++ who='as root'
+++ id -u
++ my_uid=0
++ test 0 = 0
++ case $my_uid in
++ test 0 = 0
++ : nobody
+++ id -u nobody
++ coreutils_non_root_uid=65534
++ test 0 = 0
++ test 65534 = 0
++ give_msg=no
++ case $PRIV_CHECK_ARG:$my_uid in
++ test no = yes
++ pwd
+ pwd=/var/tmp/portage/sys-apps/coreutils-6.4/work/coreutils-6.4/tests/tail-2
++ echo append-only
++ sed 's,.*/,,'
+ t0=append-only.tmp
+ tmp=append-only.tmp/13707
+ trap 'status=$?; cd "$pwd" && chmod -R u+rwx $t0 && rm -rf $t0 && exit $status' 0
+ trap '(exit $?); exit $?' 1 2 13 15
+ framework_failure=0
+ mkdir -p append-only.tmp/13707
+ cd append-only.tmp/13707
+ touch f
+ chattr +a f
+ framework_failure=1
+ echo x
+ test 1 = 1
+ echo 'append-only: failure in testing framework'
append-only: failure in testing framework
+ exit 1
+ exit 1
+ status=1
+ cd /var/tmp/portage/sys-apps/coreutils-6.4/work/coreutils-6.4/tests/tail-2
+ chmod -R u+rwx append-only.tmp
+ rm -rf append-only.tmp
+ exit 1

---

Portage 2.1.2_rc2-r2 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.18-gentoo-r3 i686)
=================================================================
System uname: 2.6.18-gentoo-r3 i686 Genuine Intel(R) CPU           T2500  @ 2.00GHz
Gentoo Base System version 1.12.6
Last Sync: Mon, 27 Nov 2006 08:00:01 +0000
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
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
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=prescott -pipe -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict test"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j5"
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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa bash-completion berkdb bzip2 crypt dbus elibc_glibc gtk gtk2 input_devices_evdev input_devices_keyboard input_devices_synaptics jpeg kernel_linux mmx mmxext ncurses no-old-linux nptl nptlonly opengl pam perl python readline sse2 ssl tcpd threads tiff unicode userland_GNU video_cards_fglrx vorbis zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-11-27 01:09:51 UTC
*** Bug 156382 has been marked as a duplicate of this bug. ***
Comment 2 Karsten Baumgarten 2006-11-27 01:14:55 UTC
(In reply to comment #1)
> *** Bug 156382 has been marked as a duplicate of this bug. ***
> 

Sorry, somehow submitted twice.
Comment 3 basic 2007-02-24 18:59:26 UTC
hit this as well, seems to go away without sandboxing
Comment 4 basic 2007-02-24 19:21:03 UTC
oops spoke too soon (made mistake in testing)
Comment 5 Erik 2007-10-09 16:44:14 UTC
The specified version of coreutils does not exist in Gentoo, so I suppose this
should be closed.
Comment 6 Karsten Baumgarten 2007-10-12 17:26:07 UTC
I'm setting this to CANTFIX, as the package has been long removed from the portage tree and thus the bug can't be fixed anymore. Did the same with #156399, but forgot to add a note there.

(In case that's an inappropriate action for me to do, sorry about that!)