Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 187616 - dev-java/joda-time: failing tests
Summary: dev-java/joda-time: failing tests
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
URL: http://overlays.gentoo.org/proj/java/...
Whiteboard:
Keywords:
Depends on:
Blocks: 177362 197861
  Show dependency tree
 
Reported: 2007-08-03 16:34 UTC by Petteri Räty (RETIRED)
Modified: 2013-05-13 13:44 UTC (History)
1 user (show)

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


Attachments
build.log 1.5.1 (20071220-134841.log,541.98 KB, text/plain)
2007-12-20 13:48 UTC, Christian Faulhammer (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petteri Räty (RETIRED) gentoo-dev 2007-08-03 16:34:44 UTC
*joda-time-1.4-r1 (07 May 2007)

  07 May 2007; Vlastimil Babka <caster@gentoo.org> +joda-time-1.4-r1.ebuild:
  Revbump to migrate to split-ant; improve style; add examples flag. Restrict
  tests to 1.4 jdk, but they still like to fail.
Comment 1 Christian Faulhammer (RETIRED) gentoo-dev 2007-08-14 07:45:51 UTC
x86 stable
Comment 2 Robert Buchholz (RETIRED) gentoo-dev 2007-09-15 10:00:50 UTC
On amd64, the tests fail, even with JDK-1.4.
Without the tests it emerges fine.


    [junit] Testcase: testSetInto_Object took 0.001 sec
    [junit]     FAILED
    [junit] expected:<0> but was:<3>
    [junit] junit.framework.AssertionFailedError: expected:<0> but was:<3>
    [junit]     at org.joda.time.convert.TestReadableDurationConverter.testSetInto_Object(TestReadableDurationConverter.java:109)
    [junit]

BUILD FAILED
/var/tmp/portage/dev-java/joda-time-1.4-r1/work/joda-time-1.4-src/build.xml:314: Test org.joda.time.convert.TestAll failed

Total time: 25 seconds

!!! ERROR: dev-java/joda-time-1.4-r1 failed.
Call stack:
  ebuild.sh, line 1638:   Called dyn_test
  ebuild.sh, line 1047:   Called qa_call 'src_test'
  ebuild.sh, line 44:   Called src_test
  joda-time-1.4-r1.ebuild, line 58:   Called eant '-Djunit.jar=/usr/share/junit/lib/junit.jar' 'test'
  java-utils-2.eclass, line 1919:   Called die

!!! eant failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/dev-java/joda-time-1.4-r1/temp/build.log'.

!!! When you file a bug report, please include the following information:
GENTOO_VM=blackdown-jdk-1.4.2  CLASSPATH="." JAVA_HOME="/opt/blackdown-jdk-1.4.2.03"
JAVACFLAGS="-source 1.4 -target 1.4" COMPILER="javac"

# emerge --info
Portage 2.1.2.12 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.5-r4, 2.6.18-xen-r2 x86_64)
=================================================================
System uname: 2.6.18-xen-r2 x86_64 Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Tue, 11 Sep 2007 09:30:01 +0000
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.61
sys-devel/automake:  1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -mtune=nocona -O2 -pipe -mmmx -msse -msse2 -msse3 -mfpmath=sse -fweb -frename-registers -fomit-frame-pointer -fno-ident"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=nocona -mtune=nocona -O2 -pipe -mmmx -msse -msse2 -msse3 -mfpmath=sse -fweb -frename-registers -fomit-frame-pointer -fno-ident"
DISTDIR="/usr/portage/distfiles"
FEATURES="collision-protect distlocks metadata-transfer multilib-strict noinfo parallel-fetch sandbox sfperms strict test userpriv"
GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo"
LDFLAGS=" -Wl,--as-needed -Wl,-O1"
LINGUAS="de en"
MAKEOPTS="-j3"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowex X X509 a52 aac aalib acl acpi alsa amd64 apache2 asf audiofile avahi bash-completion berkdb bitmap-fonts bl bluetooth bzip2 bzlib cairo cdr cli cracklib crypt cups curl dga divx dri dts dv dvd dvdr dvdread encode exif ffmpeg firefox flac foomaticdb fortran ftp gcj gdbm ggi gimpprint glibc-omitfp glitz gmedia gpm gtk gtk2 hal http iconv idn ieee1394 imagemagick ipv6 isdnlog jack java kde kqemu libcaca libnotify live logitech-mouse lzo midi mmx mmx2 mmxext mozilla mudflap musepack nas ncurses network networkmanager nls nptl nptlonly nsplugin nvidia oggvorbis openal opengl openmp pam pcre pdf perl php pic ppds pppd pulseaudio python qemu qt3 qt4 readline realmedia reflection samba sasl session slang sndfile speex spl sse sse2 ssl subversion tcltk tcpd test tetex theora threads tiff truetype truetype-fonts type1 type1-fonts unicode urandom usb v4l v4l2 vcd wma wmf wmp x264 xanim xen xine xorg xspf xvid xvmc 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 mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="picolcd luise ncurses" LINGUAS="de en" USERLAND="GNU" VIDEO_CARDS="nvidia dri vesa nv"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 3 Kenneth Prugh (RETIRED) gentoo-dev 2007-10-21 17:53:08 UTC
dev-java/joda-time-1.4-r1 on AMD64:

Emerges fine. Tests Succeed here using blackdown-jdk-1.4.2 and the sun-jdk's.

Portage 2.1.3.9 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-gentoo x86_64)
=================================================================
System uname: 2.6.23-gentoo x86_64 Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz
Timestamp of tree: Sun, 21 Oct 2007 15:00:09 +0000
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r5
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61-r1
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.18-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=nocona -fomit-frame-pointer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/openjms/config /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/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=nocona -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="collision-protect distlocks metadata-transfer multilib-strict sandbox sfperms strict test unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://www.gtlib.gatech.edu/pub/gentoo "
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
MAKEOPTS="-j3"
PKGDIR="/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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac acl alsa amd64 berkdb bitmap-fonts cli cracklib crypt cups dbus dri examples flac fortran gdbm gpm hal iconv isdnlog jpeg kde kdeenablefinal mad midi mmx mp3 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp oss pam pcre perl png pppd python qt4 readline reflection session spl sse sse2 ssl symlink tcpd test truetype truetype-fonts type1-fonts unicode vorbis xml xorg zlib" ALSA_CARDS="usb-audio hda-intel" 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 4 Petteri Räty (RETIRED) gentoo-dev 2007-10-30 00:31:51 UTC
(In reply to comment #3)
> dev-java/joda-time-1.4-r1 on AMD64:
> 
> Emerges fine. Tests Succeed here using blackdown-jdk-1.4.2 and the sun-jdk's.
> 

Well you should only  be able to run the tests with 1.4* JDKS. I just bumped joda-time to 1.5 and in that version you can run the tests with any version you like.
Comment 5 William L. Thomson Jr. (RETIRED) gentoo-dev 2007-11-01 23:52:53 UTC
amd64 stable thanks Ken for testing, last arch closing bug, if issues continue with test or etc, We can look to fix and or stablized 1.5, need to move forward so we can remove older 1.4 revision ASAP.
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2007-11-24 18:55:39 UTC
This bug is still present with both 1.4-r1 and 1.5, with timezone-data-2007g and timezone-data-2007i.
Comment 7 Samuli Suominen (RETIRED) gentoo-dev 2007-11-24 18:56:37 UTC
(In reply to comment #6)
> This bug is still present with both 1.4-r1 and 1.5, with timezone-data-2007g
> and timezone-data-2007i.
> 

I meant the test failures in Comment #2 of course.
Comment 8 Petteri Räty (RETIRED) gentoo-dev 2007-12-19 16:35:12 UTC
Well just bumped to 1.5.1 and can't reproduce in ~x86 so please arches test on stable.
Comment 9 Christian Faulhammer (RETIRED) gentoo-dev 2007-12-20 13:48:13 UTC
Created attachment 138976 [details]
build.log 1.5.1

That's what I get on x86
Comment 10 Petteri Räty (RETIRED) gentoo-dev 2007-12-20 22:49:24 UTC
(In reply to comment #9)
> Created an attachment (id=138976) [edit]
> build.log 1.5.1
> 
> That's what I get on x86
> 

Patched. 
Comment 11 Christian Faulhammer (RETIRED) gentoo-dev 2007-12-21 07:38:18 UTC
x86 stable
Comment 12 Samuli Suominen (RETIRED) gentoo-dev 2007-12-21 17:32:19 UTC
(In reply to comment #8)
> Well just bumped to 1.5.1 and can't reproduce in ~x86 so please arches test on
> stable.
> 

    [junit] Testcase: testSetInto_Object took 0.002 sec
    [junit] 	FAILED
    [junit] expected:<0> but was:<3>
    [junit] junit.framework.AssertionFailedError: expected:<0> but was:<3>
    [junit] 	at org.joda.time.convert.TestReadableDurationConverter.testSetInto_Object(TestReadableDurationConverter.java:109)
    [junit] 

BUILD FAILED
/var/tmp/portage/dev-java/joda-time-1.5.1/work/joda-time-1.5.1-src/build.xml:342: Test org.joda.time.convert.TestAll failed

GENTOO_VM=sun-jdk-1.6  CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.6.0.03"
JAVACFLAGS="-source 1.4 -target 1.4" COMPILER="javac"
Comment 13 nixnut (RETIRED) gentoo-dev 2007-12-25 17:07:29 UTC
not happy on ppc either:

   [junit] Testcase: testTest took 0.001 sec
    [junit] Testcase: testPropertyGetEra took 0.005 sec
    [junit]     FAILED
    [junit] expected:<ap. J.-...> but was:<Ap J....>
    [junit] junit.framework.ComparisonFailure: expected:<ap. J.-...> but was:<Ap J....>         
    [junit]     at org.joda.time.TestDateTime_Properties.testPropertyGetEra(TestDateTime_Properties.java:116)
    [junit]     
                
BUILD FAILED    
/var/tmp/portage/dev-java/joda-time-1.5.1/work/joda-time-1.5.1-src/build.xml:342: Test org.joda.time.TestAll failed
                
Total time: 29 seconds
 *              
 * ERROR: dev-java/joda-time-1.5.1 failed.

GENTOO_VM=ibm-jdk-bin-1.5  CLASSPATH="" JAVA_HOME="/opt/ibm-jdk-bin-1.5.0.6"
JAVACFLAGS="-source 1.4 -target 1.4" COMPILER="javac"

emerge --info:
Portage 2.1.3.19 (default-linux/ppc/ppc32/2006.1/G4, gcc-4.1.2, glibc-2.6.1-r0, 2.6.22-gentoo-r5 ppc)
=================================================================
System uname: 2.6.22-gentoo-r5 ppc 7447A, altivec supported
Timestamp of tree: Tue, 25 Dec 2007 10:00:07 +0000
distcc 2.18.3 powerpc-unknown-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [disabled]
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.3
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
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.18-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r2
ACCEPT_KEYWORDS="ppc"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O2 -mcpu=G4 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/NX/etc /usr/NX/home /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/fonts/fonts.conf /etc/gconf /etc/php/apache2-php4/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php4/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php4/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -mcpu=G4 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="collision-protect cvs distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo                  http://pandemonium.tiscali.de/pub/gentoo/                  http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
LINGUAS="en_GB nl zh ru he"
MAKEOPTS="-j2"
PKGDIR="/var/binpkg"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://192.168.1.34/gentoo-portage"
USE="X aac alsa altivec apache2 arts avahi berkdb bitmap-fonts bonobo bzip2 cairo cdr cli cracklib crypt cups divx4linux dlloader dri dvd dvdread eds emboss encode esd firefox flac fortran gdbm gif glitz gnome gpm gstreamer gtk gtkhtml hal iconv imlib ipv6 isdnlog jpeg jpeg2k kde ldap libwww mad midi mikmod mozilla mp3 mpeg mudflap ncurses network nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png ppc pppd python qt3 quicktime readline reflection ruby sdl session spell spl ssl svg tcpd theora tiff truetype truetype-fonts type1-fonts unicode userlocales vorbis xine xml xorg xv xvid zlib" ALSA_CARDS="aoa aoa-fabric-layout aoa-onyx aoa-soundbus aoa-soundbus-i2s aoa-tas aoa-toonie powermac usb-audio" 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="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB nl zh ru he" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 14 Samuli Suominen (RETIRED) gentoo-dev 2008-01-21 14:42:01 UTC
So.. do you want this stable with failing tests?
Comment 15 Petteri Räty (RETIRED) gentoo-dev 2008-01-21 15:28:45 UTC
(In reply to comment #14)
> So.. do you want this stable with failing tests?
> 

Well ideally we would find out why the tests fail but I haven't been able to reproduce.
Comment 16 Samuli Suominen (RETIRED) gentoo-dev 2008-01-25 15:12:43 UTC
well, marked it stable anyway since x86 has it too, and all versions are broken.
Comment 17 Petteri Räty (RETIRED) gentoo-dev 2008-04-13 22:17:37 UTC
(In reply to comment #16)
> well, marked it stable anyway since x86 has it too, and all versions are
> broken.
> 

Please test 1.5.2.
Comment 18 Samuli Suominen (RETIRED) gentoo-dev 2008-07-27 21:00:47 UTC
Removing myself from CC since the system I had this problem is long gone.
Comment 19 Petteri Räty (RETIRED) gentoo-dev 2008-07-28 20:42:33 UTC
(In reply to comment #18)
> Removing myself from CC since the system I had this problem is long gone.
> 

Oh well let's close this then. Let's see if it shows up with next stable requests.
Comment 20 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2009-10-15 14:50:19 UTC
Still failing for 1.6 (last stable), see bug 261142
Comment 21 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-05-13 13:44:39 UTC
Last week, I bumped this to 2.2 and tests work there; if not, please reopen.

We can stabilize this in a month and then see if we can drop the older versions.