On Jul 30, 2013, at 1:10 PM, Alan Bateman wrote: > On 30/07/2013 11:02, Nick Williams wrote: >> I'm running the core libs tests locally (for the first time), and every >> java.io test is failing. They're all failing for the same reason (output >> below), and I suspect it's something local and not an actual problem. But >> the test output is not very helpful. Note that all of the java.beans tests >> passed with flying colors. Once it got to java.io, everything started >> failing. Worse, each test is taking 60 seconds to fail. I could be here a >> while... >> >> Thoughts? > What command are you using? From the output it suggests that the connection > between jtreg and the agent VM cannot be established. > > -Alan.
Command, just like README-builds.html#testing says: cd test && make PRODUCT_HOME=`pwd`/../build/macosx-x86_64-normal-server-release/images/j2sdk-image/ all I assume this is specifically an java.io-related problem because all the java.beans tests passed without exception and so far every java.io test through java.io.Externalizable (that's as far as it has gotten) has failed without exception. Wouldn't a problem with jtreg communicating with the agent VM have shown up in java.beans as well? I could be wrong of course. > > >> >> Here's the output from one of the tests. It looks like all the other test >> outputs: >> >> #Test Results (version 2) >> #Tue Jul 30 12:38:15 CDT 2013 >> #-----testdescription----- >> $file=/Users/Nicholas/Documents/OpenJDK/Projects/jdk8/jdk8/jdk/test/java/io/BufferedInputStream/ReadAfterClose.java >> $root=/Users/Nicholas/Documents/OpenJDK/Projects/jdk8/jdk8/jdk/test >> keywords=bug4143651 >> run=ASSUMED_ACTION main ReadAfterClose\n >> source=ReadAfterClose.java >> title=Test if I/O methods will check if the stream has been closed. >> >> #-----environment----- >> >> #-----testresult----- >> description=file\:/Users/Nicholas/Documents/OpenJDK/Projects/jdk8/jdk8/jdk/test/java/io/BufferedInputStream/ReadAfterClose.java >> elapsed=60007 0\:01\:00.007 >> end=Tue Jul 30 12\:38\:15 CDT 2013 >> environment=regtest >> execStatus=Error. Cannot get VM for test\: java.net.SocketTimeoutException\: >> Accept timed out >> hostname=unknown >> javatestOS=Mac OS X 10.7.5 (x86_64) >> javatestVersion=4.4.1 >> jtregVersion=jtreg 4.1 dev b00 >> script=com.sun.javatest.regtest.RegressionScript >> sections=script_messages build compile >> start=Tue Jul 30 12\:37\:15 CDT 2013 >> test=java/io/BufferedInputStream/ReadAfterClose.java >> user.name=Nicholas >> work=/Users/Nicholas/Documents/OpenJDK/Projects/jdk8/jdk8/jdk/build/macosx-amd64/testoutput/jdk_io/JTwork/java/io/BufferedInputStream >> >> #section:script_messages >> ----------messages:(5/308)---------- >> JDK under test: >> (/Users/Nicholas/Documents/OpenJDK/Projects/jdk8/jdk8/test/../build/macosx-x86_64-normal-server-release/images/j2sdk-image) >> openjdk version "1.8.0-internal" >> OpenJDK Runtime Environment (build >> 1.8.0-internal-icholas_2013_07_29_21_14-b00) >> OpenJDK 64-Bit Server VM (build 25.0-b42, mixed mode) >> >> >> #section:build >> ----------messages:(3/100)---------- >> command: build ReadAfterClose >> reason: Named class compiled on demand >> elapsed time (seconds): 60.005 >> result: Error. Cannot get VM for test: java.net.SocketTimeoutException: >> Accept timed out >> >> #section:compile >> ----------messages:(3/235)---------- >> command: compile -XDignore.symbol.file=true >> /Users/Nicholas/Documents/OpenJDK/Projects/jdk8/jdk8/jdk/test/java/io/BufferedInputStream/ReadAfterClose.java >> reason: .class file out of date or does not exist >> elapsed time (seconds): 60.005 >> result: Error. Cannot get VM for test: java.net.SocketTimeoutException: >> Accept timed out >> >> >> test result: Error. Cannot get VM for test: java.net.SocketTimeoutException: >> Accept timed out >> >