Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 154467 - dev-lang/ruby-1.8.5-r3 fails test
Summary: dev-lang/ruby-1.8.5-r3 fails test
Status: RESOLVED DUPLICATE of bug 143341
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-08 06:17 UTC by Carsten Lohrke (RETIRED)
Modified: 2006-12-17 07:46 UTC (History)
1 user (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 Carsten Lohrke (RETIRED) gentoo-dev 2006-11-08 06:17:01 UTC
>>> Test phase [check]: dev-lang/ruby-1.8.5-r3
test succeeded
./miniruby ./runruby.rb --extout=.ext -- -C "./test" runner.rb --runner=console
Loaded suite .
Started
......................................................................................./var/tmp/portage/dev-lang/ruby-1.8.5-r3/work/ruby-1.8.5/lib/drb/extservm.rb:92: warning: Insecure world writable dir /var/tmp, mode 041777
.........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................F......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
Finished in 99.407367 seconds.

  1) Failure:
test_endblockwarn(TestBeginEndBlock) [./ruby/test_beginendblock.rb:54]:
<"endblockwarn.rb:2: warning: END in method; use at_exit\n(eval):2: warning: END in method; use at_exit\n"> expected but was
<"/var/tmp/portage/dev-lang/ruby-1.8.5-r3/temp/TestBeginEndBlock.1471.0:6: warning: Insecure world writable dir /var/tmp, mode 041777\nendblockwarn.rb:2: warning: END in method; use at_exit\n(eval):2: warning: END in method; use at_exit\n">.

1575 tests, 15663 assertions, 1 failures, 0 errors
make: *** [test-all] Error 1
Comment 1 Frank Russo 2006-11-16 11:02:29 UTC
Seeing similar failures with "test" in features.  Installing same version as origional poster, but received a couple additional.

  6) Failure:
test_authfailure(SOAP::Header::TestAuthHeaderCGI) [./soap/header/test_authheader_cgi.rb:113]:
<RuntimeError> exception expected but was
Class: <REXML::ParseException>
Message: <"Missing end tag for 'HR' (got \"BODY\")\nLine: \nPosition: \nLast 80 unconsumed characters:\n </HTML> ">

 4) Failure:
test_s_open_error(TestSDBM) [./sdbm/test_sdbm.rb:123]:
<Errno::EACCES> exception expected but none was thrown.


  3) Failure:
test_endblockwarn(TestBeginEndBlock) [./ruby/test_beginendblock.rb:54]:
<"endblockwarn.rb:2: warning: END in method; use at_exit\n(eval):2: warning: END in method; use at_exit\n"> expected but was
<"/var/tmp/portage/dev-lang/ruby-1.8.5-r3/temp/TestBeginEndBlock.4306.0:6: warning: Insecure world writable dir /var/tmp, mode 041777\nendblockwarn.rb:2: warning: END in method; use at_exit\n(eval):2: warning: END in method; use at_exit\n">.

  2) Failure:
test_s_open_error(TestGDBM) [./gdbm/test_gdbm.rb:200]:
<Errno::EACCES> exception expected but was
Class: <Errno::EAGAIN>
Message: <"Resource temporarily unavailable - tmptest_gdbm">
---Backtrace---
./gdbm/test_gdbm.rb:201:in `open'
./gdbm/test_gdbm.rb:201:in `test_s_open_error'
./gdbm/test_gdbm.rb:200:in `test_s_open_error'

  1) Failure:
test_delete(TestGDBM) [./gdbm/test_gdbm.rb:442]:
<GDBMError> exception expected but none was thrown.



Working around this by removing "test" from FEATURES


Comment 2 strites 2006-12-01 07:21:04 UTC
I am recompiling the entire system for the gcc upgrade.


>>> Test phase [check]: dev-lang/ruby-1.8.5-r3
test succeeded
./miniruby ./runruby.rb --extout=.ext -- -C "./test" runner.rb --runner=console
Loaded suite .
Started
......................................................................................./var/tmp/portage/ruby-1.8.5-r3/work/ruby-1.8.5/lib/drb/extservm.rb:92: warning: Insecure world writable dir /var/tmp, mode 041777
.................................................................................................................................................................F....................F..................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................F.............................................................................................................................................................................................................................................................F...............................................................................................................................................................................................................................................................................................................................................................................................................................E........................................................................................................
Finished in 67.75134 seconds.

  1) Failure:
test_delete(TestGDBM) [./gdbm/test_gdbm.rb:442]:
<GDBMError> exception expected but none was thrown.

  2) Failure:
test_s_open_error(TestGDBM) [./gdbm/test_gdbm.rb:200]:
<Errno::EACCES> exception expected but was
Class: <Errno::EAGAIN>
Message: <"Resource temporarily unavailable - tmptest_gdbm">
---Backtrace---
./gdbm/test_gdbm.rb:201:in `open'
./gdbm/test_gdbm.rb:201:in `test_s_open_error'
./gdbm/test_gdbm.rb:200:in `test_s_open_error'
---------------

  3) Failure:
test_endblockwarn(TestBeginEndBlock) [./ruby/test_beginendblock.rb:54]:
<"endblockwarn.rb:2: warning: END in method; use at_exit\n(eval):2: warning: END in method; use at_exit\n"> expected but was
<"/var/tmp/portage/ruby-1.8.5-r3/temp/TestBeginEndBlock.32526.0:6: warning: Insecure world writable dir /var/tmp, mode 041777\nendblockwarn.rb:2: warning: END in method; use at_exit\n(eval):2: warning: END in method; use at_exit\n">.

  4) Failure:
test_s_open_error(TestSDBM) [./sdbm/test_sdbm.rb:123]:
<Errno::EACCES> exception expected but none was thrown.

  5) Error:
test_client_server(Test_Webrick):
NoMethodError: undefined method `shutdown' for nil:NilClass
    ./xmlrpc/webrick_testing.rb:32:in `stop_server'
    /var/tmp/portage/ruby-1.8.5-r3/work/ruby-1.8.5/lib/timeout.rb:56:in `timeout'
    ./xmlrpc/webrick_testing.rb:31:in `stop_server'
    ./xmlrpc/test_webrick_server.rb:61:in `test_client_server'
    ./xmlrpc/test_webrick_server.rb:56:in `each'
    ./xmlrpc/test_webrick_server.rb:56:in `test_client_server'

1575 tests, 15649 assertions, 4 failures, 1 errors
make: *** [test-all] Error 1

!!! ERROR: dev-lang/ruby-1.8.5-r3 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_test
  ebuild.sh, line 986:   Called src_test
  ebuild.sh, line 616:   Called die

!!! Make check failed. See above for details.
!!! If you need support, post the topmost build error, and the call stack if relevant.




Portage 2.1.1-r2 (default-linux/amd64/2005.1, gcc-4.1.1, glibc-2.4-r4, 2.6.18-gentoo-r3 x86_64)
=================================================================
System uname: 2.6.18-gentoo-r3 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.12.6
Last Sync: Mon, 27 Nov 2006 23:20:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.3.5-r2, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache collision-protect distcc distlocks metadata-transfer parallel-fetch sandbox sfperms strict test"
GENTOO_MIRRORS="ftp://gentoo.inode.at/source http://gentoo.osuosl.org"
LANG="it_IT.utf8"
LINGUAS="it"
MAKEOPTS="-j4"
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/zugaina-portage /usr/local/portage /usr/portage/local/layman/sunrise"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="amd64 X a52 aac aalib acpi alsa altra_var1 altra_var2 amuled ao arts asf audiofile avi berkdb bidi bitmap-fonts browserplugin bzip2 canna cdda cddb cdr chasen cjk cli cracklib crypt cups divx4linux dlloader dri dvb dvd dvdr dvdread eds elibc_glibc emboss encode fbcon ffmpeg flac foomatic foomaticdb fortran freewnn ftp gcj gif gimpprint gnome gnutls gphoto2 gpm gstreamer gtk gtk2 httpd i8x0 icecast iconv icq imagemagick imlib immqt-bc input_devices_aiptek input_devices_keyboard input_devices_mouse isdnlog jack java javascript jikes jpeg kde kernel_linux linguas_it live lzw lzw-tiff mad matroska mjepeg mng mozilla mp3 mp4 mpeg mplayer msn nas ncurses network nls nptl nptlonly nsplugin nsplugins nvidia ogg oggvorbis openal opengl oss pam pcre pdflib perl png ppds pppd python qt qt3 qt4 quicktime rar rdesktop readline reflection remote samba scanner sdl session shout skins spell spl ssl stats stream subtitles tcpd test theora tiff truetype truetype-fonts type1-fonts unicode usb userland_GNU v4l vcd video_cards_nvidia video_cards_vesa video_cards_vga vlm vorbis wxwindows x264 xine xinerama xorg xpm xprint xv xvid yahoo zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Ryan Hill (RETIRED) gentoo-dev 2006-12-17 07:46:45 UTC

*** This bug has been marked as a duplicate of 143341 ***