Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 348558 - dev-lang/v8-2.4.9.14 fails tests
Summary: dev-lang/v8-2.4.9.14 fails tests
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Chromium Project
URL:
Whiteboard: ht-wanted
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-12 20:02 UTC by Patrick Lauer
Modified: 2011-01-02 15:52 UTC (History)
0 users

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 Patrick Lauer gentoo-dev 2010-12-12 20:02:30 UTC
=== release d8-os ===
Path: mjsunit/d8-os
--- stderr ---
ls: cannot access d8-os-test-directory: No such file or directory
ls: cannot access dir/bar: No such file or directory
--- stdout ---
/var/tmp/portage/dev-lang/v8-2.4.9.14/work/v8-2.4.9.14/test/mjsunit/mjsunit.js:52: Failure (did not throw exception):  expected <true> found <false>
  throw new MjsUnitAssertionError(start + " expected <" + expected + "> found 
        ^
Command: /var/tmp/portage/dev-lang/v8-2.4.9.14/work/v8-2.4.9.14/d8 /var/tmp/portage/dev-lang/v8-2.4.9.14/work/v8-2.4.9.14/test/mjsunit/mjsunit.js /var/tmp/portage/dev-lang/v8-2.4.9.14/work/v8-2.4.9.14/test/mjsunit/d8-os.js

===
=== 1 tests failed
===
 * ERROR: dev-lang/v8-2.4.9.14 failed:
 *   (no error message)

Portage 2.1.9.25 (default/linux/amd64/10.0, gcc-4.5.1, glibc-2.12.1-r3, 2.6.36-gentoo-r2 x86_64)
=================================================================
System uname: Linux-2.6.36-gentoo-r2-x86_64-AMD_Phenom-tm-_9950_Quad-Core_Processor-with-gentoo-2.0.1
Timestamp of tree: Unknown
app-shells/bash:     4.1_p9
dev-lang/python:     2.6.6-r1, 3.1.2-r4
sys-apps/baselayout: 2.0.1-r1
sys-apps/openrc:     0.6.5
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.68
sys-devel/automake:  1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.5.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.4
sys-devel/make:      3.82
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs buildpkg distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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://localhost/gentoo-portage"
USE="X acl amd64 berkdb bzip2 cli cracklib crypt cups cxx dri extras fortran gcj gdbm gpm iconv ipv6 mmx modules mudflap multilib ncurses nls nptl nptlonly objc openmp pam pcre perl pppd python readline session sse sse2 ssl sysfs tcpd 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 mmap_emul 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 cgi cgid 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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-2" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vga" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2010-12-12 20:46:24 UTC
Can anyone repro? I will double-check this a bit later.
Comment 2 Mike Gilbert gentoo-dev 2010-12-12 22:31:59 UTC
(In reply to comment #1)
> Can anyone repro? I will double-check this a bit later.
> 

===
=== All tests succeeded
===


Portage 2.2.0_alpha7 (default/linux/amd64/10.0/desktop, gcc-4.5.1-asneeded, glibc-2.11.2-r3, 2.6.36-gentoo-r3 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.36-gentoo-r3-x86_64-AMD_Phenom-tm-_II_X6_1055T_Processor-with-gentoo-2.0.1
Timestamp of tree: Unknown
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11-r1
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1-r1
sys-apps/openrc:     0.6.8
sys-apps/sandbox:    2.3-r1
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.5, 4.5.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.30-r1 (sys-kernel/linux-headers)
Repositories: gentoo sunrise kde floppym google-chrome chromium local
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-ggdb -O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /usr/share/openvpn/easy-rsa /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo"
CXXFLAGS="-ggdb -O2 -pipe -march=native"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y --jobs=7"
FEATURES="assume-digests binpkg-logs distlocks fakeroot fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_US"
MAKEOPTS="-j7"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--ipv4"
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="/build"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/sunrise /var/lib/layman/kde /home/floppym/overlays/floppym /home/floppym/overlays/google-chrome /home/floppym/overlays/chromium /home/floppym/overlays/local"
SYNC="cvs://:pserver:anonymous@anoncvs.gentoo.org/var/cvsroot"
USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 ao bash-completion berkdb bluetooth branding bzip2 cairo caps cdr cli consolekit cracklib crypt css cups cxx dbus device-mapper dri dts dvd dvdr emboss encode exif fam ffmpeg firefox flac fortran gdbm gif gpm gstreamer gtk hddtemp iconv imap ipv6 jpeg kde lcms libnotify lm_sensors lzma mad mikmod mmx mmxext mng modules mono mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly nsplugin offensive ogg opengl openmp pam pango pcre pdf perl png ppds pppd python qt3support qt4 readline samba sasl sdl semantic-desktop session spell sse sse2 sse3 ssl startup-notification suid svg sysfs taglib tcpd theora threads tiff truetype udev unicode usb vaapi vdpau vim-syntax vorbis x264 xcb xinerama xml xorg xscreensaver xulrunner xv xvid zlib zsh-completion" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul 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 cgi cgid 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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" PHP_TARGETS="php5-2" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS

=================================================================
                        Package Settings
=================================================================

dev-lang/v8-2.4.9.14 was built with the following:
USE="(multilib) readline test"
CFLAGS="-ggdb -O2 -pipe -march=native -fno-strict-aliasing"
CXXFLAGS="-ggdb -O2 -pipe -march=native -fno-strict-aliasing"
Comment 3 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2010-12-31 18:59:24 UTC
Okay, this seems to be something Gentoo-specific. Very interesting bug.

When I do ebuild v8-2.4.9.14 clean compile, and then run the test manually (d8 test/mjsunit/mjsunit.js test/mjsunit/d8-os.js), I can always reproduce the failure.
Comment 4 Mike Gilbert gentoo-dev 2010-12-31 19:16:55 UTC
I don't think the test likes being run as root.

All tests work with FEATURES="userpriv" (my normal configuration).

I get 2 failures with FEATURES="-userpriv":

=== release d8-os ===
Path: mjsunit/d8-os
--- stderr ---
ls: cannot access d8-os-test-directory: No such file or directory
ls: cannot access dir/bar: No such file or directory
--- stdout ---
/build/portage/dev-lang/v8-2.4.9.14/work/v8-2.4.9.14/test/mjsunit/mjsunit.js:52: Failure (did not throw exception):  expected <true> found <false>
  throw new MjsUnitAssertionError(start + " expected <" + expected + "> found 
        ^
Command: /build/portage/dev-lang/v8-2.4.9.14/work/v8-2.4.9.14/d8 /build/portage/dev-lang/v8-2.4.9.14/work/v8-2.4.9.14/test/mjsunit/mjsunit.js /build/portage/dev-lang/v8-2.4.9.14/work/v8-2.4.9.14/test/mjsunit/d8-os.js
=== release test-api RegExpStringModification ===
Path: cctest/test-api/RegExpStringModification
Command: obj/test/release/cctest test-api/RegExpStringModification --testing_serialization_file=obj/test/release/serdes_RegExpStringModification
--- TIMEOUT ---

===
=== 2 tests failed
===
Comment 5 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2011-01-02 15:52:56 UTC
(In reply to comment #4)
> I don't think the test likes being run as root.
> 
> All tests work with FEATURES="userpriv" (my normal configuration).

Good catch. Fixed. Thanks Patrick for reporting!