Here is the complete build log: >>> emerge (2 of 2) dev-java/junitperf-1.9.1 to / >>> md5 files ;-) junitperf-1.9.1.ebuild >>> md5 files ;-) files/digest-junitperf-1.9.1 >>> md5 src_uri ;-) junitperf-1.9.1.zip >>> Unpacking source... >>> Unpacking junitperf-1.9.1.zip to /var/tmp/portage/junitperf-1.9.1/work >>> Source unpacked. Buildfile: build.xml prepare: [mkdir] Created dir: /var/tmp/portage/junitperf-1.9.1/work/junitperf-1.9.1/build compile: [javac] Compiling 24 source files to /var/tmp/portage/junitperf-1.9.1/work/junitperf-1.9.1/build jar: [jar] Building jar: /var/tmp/portage/junitperf-1.9.1/work/junitperf-1.9.1/lib/junitperf.jar prepare: compile: test: [junit] Testsuite: com.clarkware.junitperf.AllTests [junit] Tests run: 22, Failures: 1, Errors: 0, Time elapsed: 12.98 sec [junit] ------------- Standard Output --------------- [junit] TimedTest (WAITING): LoadTest (NON-ATOMIC): ThreadedTest: testAtomic2SecondResponseWithWorkerThread(com.clarkware.junitperf.MockTest): 1073 ms [junit] TimedTest (WAITING): LoadTest (ATOMIC): ThreadedTest: testAtomic2SecondResponseWithWorkerThread(com.clarkware.junitperf.MockTest): 2102 ms [junit] TimedTest (WAITING): LoadTest (NON-ATOMIC): ThreadedTest: testNonAtomic2SecondResponseWithWorkerThread(com.clarkware.junitperf.MockTest): 2081 ms [junit] TimedTest (WAITING): LoadTest (ATOMIC): ThreadedTest: testNonAtomic2SecondResponseWithWorkerThread(com.clarkware.junitperf.MockTest): 2166 ms [junit] TimedTest (WAITING): testOneSecondExecutionTime(com.clarkware.junitperf.MockTest): 1013 ms [junit] TimedTest (NON-WAITING): testOneSecondExecutionTime(com.clarkware.junitperf.MockTest): 1073 ms [junit] TimedTest (WAITING): testOneSecondExecutionTime(com.clarkware.junitperf.MockTest): 1037 ms [junit] TimedTest (WAITING): testOneSecondExecutionTime(com.clarkware.junitperf.MockTest): 1029 ms [junit] TimedTest (WAITING): LoadTest (NON-ATOMIC): ThreadedTest: testOneSecondExecutionTime(com.clarkware.junitperf.MockTest): 1101 ms [junit] ------------- ---------------- --------------- [junit] Testcase: testOneUser took 0.005 sec [junit] Testcase: testOneUserRogueThread took 0.001 sec [junit] Testcase: testMultiUser took 0.001 sec [junit] Testcase: testMultiUserWithIterations took 0.007 sec [junit] Testcase: testMultiUserWithRepeatedTest took 0.002 sec [junit] Testcase: testMultiUserWithDelay took 0 sec [junit] Testcase: testMultiUserWithFailure took 0.002 sec [junit] Testcase: testMultiUserWithError took 0 sec [junit] Testcase: testMultiUserWithStop took 0 sec [junit] Testcase: testNonPositiveUser took 0 sec [junit] Testcase: testNullTimer took 0 sec [junit] Testcase: testAtomic2SecondResponse took 1.074 sec [junit] Testcase: testAtomic2SecondResponseEnforceTestAtomicity took 2.104 sec [junit] Testcase: testNonAtomic2SecondResponse took 2.082 sec [junit] Testcase: testNonAtomic2SecondResponseEnforceTestAtomicity took 2.166 sec [junit] Testcase: testTestStateConsistencyFailure took 0.174 sec [junit] Testcase: testTestStateConsistencyWithTestFactory took 0.064 sec [junit] Testcase: testOneSecondResponseDefault took 1.013 sec [junit] Testcase: testOneSecondResponseNoWaitForCompletion took 1.075 sec [junit] Testcase: testOneSecondResponseWaitForCompletion took 1.037 sec [junit] Testcase: testOneSecondResponseFailure took 1.029 sec [junit] Testcase: testOneSecondResponseOneUserLoadSuccess took 1.102 sec [junit] FAILED [junit] expected:<0> but was:<1> [junit] junit.framework.AssertionFailedError: expected:<0> but was:<1> [junit] at com.clarkware.junitperf.TimedTestTest.testOneSecondResponseOneUserLoadSuccess(Unknown Source) [junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [junit] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) BUILD FAILED /var/tmp/portage/junitperf-1.9.1/work/junitperf-1.9.1/build.xml:73: Test com.clarkware.junitperf.AllTests failed Total time: 16 seconds !!! ERROR: dev-java/junitperf-1.9.1 failed. !!! Function src_compile, Line 32, Exitcode 1 !!! failed to compile !!! If you need support, post the topmost build error, NOT this status message. Portage 2.0.54 (default-linux/x86/2006.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.15.1 i686) ================================================================= System uname: 2.6.15.1 i686 Intel(R) Pentium(R) M processor 1.86GHz Gentoo Base System version 1.6.14 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] dev-lang/python: 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O3 -march=pentium3 -mfpmath=sse -mmmx -msse -maccumulate-outgoing-args -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=pentium3 -mfpmath=sse -mmmx -msse -maccumulate-outgoing-args -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://pandemonium.tiscali.de/pub/gentoo/ ftp://pandemonium.tiscali.de/pub/gentoo/ http://gd.tuwien.ac.at/opsys/linux/gentoo/ ftp://gd.tuwien.ac.at/opsys/linux/gentoo/" LINGUAS="de en jp" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="x86 X X509 a52 aac accessibility acl alsa apache2 arts artswrappersuid audiofile avi berkdb big-tables binfilter bitmap-fonts browserplugin bzip2 cdparanoia cdr chroot crypt cups curl dts dv dvd dvdread eds emacs emboss encode examples exif expat fam fame ffmpeg flac flash font-server foomaticdb fortran gd gdbm geoip gif gimp glut gmp gnutls gpm gs gstreamer gtk gtk2 guile hpn idn ieee1394 imagemagick imap imlib jack java javascript jbig jpeg junit kde kdeenablefinal latex lcms ldap leim libg++ libwww live lua lzo mad mailwrapper matroska mhash mikmod ming mjpeg mmx mng motif mozdevelop mozilla moznocompose moznoirc moznomail mozsvg mp3 mpeg mysql ncurses network nls nptl nsplugin objc ogg openal openexr opengl oss pam pcmcia pcre pdf pdflib perl php png portaudio povray ppds profile python qt quicktime readline real recode rle rtc ruby samba sasl scanner sdl sftplogging slp sndfile spell sse ssl subversion svg svga tcltk tcpd tetex theora threads tidy tiff truetype truetype-fonts type1-fonts udev unicode usb utf8 v4l2 vorbis win32codecs wmf xanim xml xml2 xmms xscreensaver xv xvid yv12 zlib linguas_de linguas_en linguas_jp userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS
The tests pass for me. Tested on amd64 with blackdown-jdk-1.4.2.03. Which JDK are you using? A workaround would be to set -junit for junitperf. IE, add the following bit to /etc/portage/package.use: dev-java/junitperf -junit
Basically I'm using Sun JDK. Just for testing I also installed blackdown JDK but without success. Your hint compiling it with -junit USE flag works well. Do you need more infos? Do you think a world rebuild would help?
(In reply to comment #2) > Basically I'm using Sun JDK. Just for testing I also installed blackdown JDK > but without success. Your hint compiling it with -junit USE flag works well. > Do you need more infos? > Do you think a world rebuild would help? > I can't think of anything else at the moment. Perhaps you could do 'emerge -Du junitperf'? This will make sure all the dependencies of junitperf are up-to-date.
I just tried it again successfully. Can't say why.