See 
<http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64-full-tests/173/changes>

Changes:

[hindessm] Changing this instance of the three seek pattern to use one JNI call
to fstat.  That this seems to behave correctly but that the RI does
three seeks for this case.  I can't understand why it makes sense to
use three seeks for this and fstat for FileChannel.

[hindessm] Change size call to use fstat.  If we can change the windows natives,
then we can remove:

  synchronized (repositioningLock) { ... }

from FileChannelImpl.size() which I think would be a good idea.

------------------------------------------
[...truncated 25762 lines...]
    [junit] STDOUT> TestedThread: started
    [junit] STDOUT> TestedThread: Wait for 'Stop' command with 
NullPointerException...
    [junit] STDOUT> StopDebuggee: Wait for TestedThread to finish...
    [junit] [SYNC] Received message: ready
    [junit] testStop001: get threadID to Stop...
    [junit] STDOUT> [SYNC] Message sent: ready
    [junit] testStop001: ID of the tested thread to Stop = 2032
    [junit] testStop001: get throwable for Stop command...
    [junit] testStop001: throwable = ObjectID: 1586
    [junit] testStop001: send "Stop" command
    [junit] testStop001: wait for Debuggee message about test status...
    [junit] [SYNC] Waiting for any messsage
    [junit] STDOUT> TestedThread: Exception is caught: 
java.lang.NullPointerException
    [junit] STDOUT> TestedThread: PASSED: It is expected Exception
    [junit] STDOUT> StopDebuggee: TestedThread finished
    [junit] [SYNC] Received message: PASSED
    [junit] testStop001: Received from Debuggee test status = PASSED
    [junit] testStop001: PASSED
    [junit] ----------------------------------------
    [junit] [SYNC] Closed socket
    [junit] Completed sync connection
    [junit] STDOUT> [SYNC] Message sent: PASSED
    [junit] STDOUT> StopDebuggee: finishing...
    [junit] Waiting for process exit
    [junit] STDOUT> [SYNC] Closed socket
    [junit] Redirector completed: STDOUT
    [junit] Redirector completed: STDERR
    [junit] Finished debuggee with exit code: 0
    [junit] Finished process
    [junit] Waiting for redirectors finish
    [junit] Finished redirectors
    [junit] Closed JDWP connection with debuggee VM
    [junit] <<<=====================================
    [junit] 
    [junit] 
    [junit] Running 
org.apache.harmony.jpda.tests.jdwp.VirtualMachine.HoldEventsTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 61.767 sec
    [junit] Output:
    [junit] 
    [junit] =====================================>>>
    [junit] Run: 
org.apache.harmony.jpda.tests.jdwp.VirtualMachine.HoldEventsTest.testHoldEvents001
    [junit] ----------------------------------------
    [junit] [SYNC] Binding socket on port: 0
    [junit] [SYNC] Bound socket on port: 56815
    [junit] Start listening on: null
    [junit] Listening on: minerva.apache.org:33534
    [junit] Launch: 
<http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64-full-tests/ws/harmony/target/hdk/jdk/jre/bin/java>
 -cp 
"<http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64-full-tests/ws/harmony/jdktools/build/tests/classes>:/home/hudson/.ant/lib/junit-4.6.jar:/usr/share/ant/lib/ant-launcher.jar:/usr/share/ant/lib/ant.jar:/usr/share/ant/lib/ant-junit.jar"
 
-agentlib:jdwp=transport=dt_socket,address=minerva.apache.org:33534,server=n,suspend=y
  -Djpda.settings.verbose=true -Djpda.settings.syncPort=56815 
org.apache.harmony.jpda.tests.jdwp.VirtualMachine.HoldEventsDebuggee
    [junit] Launch process: 
<http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64-full-tests/ws/harmony/target/hdk/jdk/jre/bin/java>
 -cp 
"<http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64-full-tests/ws/harmony/jdktools/build/tests/classes>:/home/hudson/.ant/lib/junit-4.6.jar:/usr/share/ant/lib/ant-launcher.jar:/usr/share/ant/lib/ant.jar:/usr/share/ant/lib/ant-junit.jar"
 
-agentlib:jdwp=transport=dt_socket,address=minerva.apache.org:33534,server=n,suspend=y
  -Djpda.settings.verbose=true -Djpda.settings.syncPort=56815 
org.apache.harmony.jpda.tests.jdwp.VirtualMachine.HoldEventsDebuggee
    [junit] Splitted command line: 
[<http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64-full-tests/ws/harmony/target/hdk/jdk/jre/bin/java,>
 -cp, 
<http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64-full-tests/ws/harmony/jdktools/build/tests/classes>:/home/hudson/.ant/lib/junit-4.6.jar:/usr/share/ant/lib/ant-launcher.jar:/usr/share/ant/lib/ant.jar:/usr/share/ant/lib/ant-junit.jar,
 
-agentlib:jdwp=transport=dt_socket,address=minerva.apache.org:33534,server=n,suspend=y,
 -Djpda.settings.verbose=true, -Djpda.settings.syncPort=56815, 
org.apache.harmony.jpda.tests.jdwp.VirtualMachine.HoldEventsDebuggee]
    [junit] Launched process
    [junit] Start redirectors
    [junit] Redirector started: STDERR
    [junit] Started redirectors
    [junit] Launched debuggee process
    [junit] Accepting JDWP connection
    [junit] Redirector started: STDOUT
    [junit] Established transport connection
    [junit] Established JDWP connection with debuggee VM
    [junit] Received inital VM_INIT event
    [junit] Adjusted VM-dependent type lengths
    [junit] Resumed debuggee VM
    [junit] [SYNC] Accepting socket connection
    [junit] STDOUT> [SYNC] Attaching socket to: localhost:56815
    [junit] [SYNC] Accepted socket connection
    [junit] Established sync connection
    [junit] ----------------------------------------
    [junit] [SYNC] Waiting for message: ready
    [junit] STDOUT> [SYNC] Attached socket
    [junit] [SYNC] Received message: ready
    [junit] send HoldEvents
    [junit] allow to start thread
    [junit] [SYNC] Message sent: continue
    [junit] STDOUT> [SYNC] Message sent: ready
    [junit] STDOUT> wait for SGNL_CONTINUE to start thread
    [junit] STDOUT> [SYNC] Waiting for message: continue
    [junit] STDOUT> [SYNC] Received message: continue
    [junit] STDOUT> starting thread
    [junit] no events were received
    [junit] send ReleaseEvents
    [junit] expected event received: 
org.apache.harmony.jpda.tests.framework.jdwp.eventpac...@57fda2ae
    [junit] ----------------------------------------
    [junit] [SYNC] Closed socket
    [junit] Completed sync connection
    [junit] Waiting for process exit
    [junit] STDOUT> TestedThread: started
    [junit] STDOUT> thread is finished
    [junit] STDOUT> [SYNC] Closed socket
    [junit] Redirector completed: STDOUT
    [junit] Redirector completed: STDERR
    [junit] Finished debuggee with exit code: 0
    [junit] Finished process
    [junit] Waiting for redirectors finish
    [junit] Finished redirectors
    [junit] Closed JDWP connection with debuggee VM
    [junit] <<<=====================================
    [junit] 
    [junit] 

touch-failures-file:

touch-errors-file:

test-module:

build-tests:
     [echo] Compiling TOOLS tests
    [mkdir] Created dir: 
<http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64-full-tests/ws/harmony/jdktools/modules/jretools/bin/test>
 [hy.javac] Compiling 3 source files to 
<http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64-full-tests/ws/harmony/jdktools/modules/jretools/bin/test>
 [hy.javac] Since fork is false, ignoring memoryMaximumSize setting

prepare-exclude:
     [echo] TOOLS exclude list: 
<http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64-full-tests/ws/harmony/classlib/deploy/build/jretools.tools.exclude>

run-tests:
     [echo] Running TOOLS tests
     [echo] 
test.jre.home=<http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64-full-tests/ws/harmony/target/hdk/jdk/jre>
    [junit] Running org.apache.harmony.jretools.tests.keytool.GenKeyTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.457 sec
    [junit] Running 
org.apache.harmony.jretools.tests.toolutils.KeyStoreLoaderSaverTest
    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.016 sec

touch-failures-file:

touch-errors-file:

test-module:

prepare-exclude:
     [echo] SAMSA exclude list: 
<http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64-full-tests/ws/harmony/classlib/deploy/build/jdktools.samsa.exclude>

run-tests:
     [echo] Running SAMSA tests
     [echo] 
test.jre.home=<http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64-full-tests/ws/harmony/target/hdk/jdk/jre>
     [echo] Run jdk/bin/java -version in 
<http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64-full-tests/ws/harmony/target/test_report>
     [echo] Run jdk/bin/javac -version in 
<http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64-full-tests/ws/harmony/target/test_report>
     [exec] Eclipse Java Compiler 0.972_R35x, 3.5.1 release, Copyright IBM Corp 
2000, 2009. All rights reserved.
     [echo] Run jdk/bin/javah in 
<http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64-full-tests/ws/harmony/target/test_report>
     [exec] JNI-style header files generator.
     [exec] 
     [exec] Usage: org.apache.harmony.tools.javah.Main [options] <class names>
     [exec] 
     [exec] [options]
     [exec]   -bootclasspath <path> The given path will be prepended to
     [exec]                         the default class path.
     [exec] 
     [exec]   -classpath <path>     The given path will be appended to
     [exec]                         the default class path.
     [exec] 
     [exec]   -o <file>             All the output will be redirected into
     [exec]                         the specified file.
     [exec] 
     [exec]   -d <directory>        All the header files will be created in the 
specified
     [exec]                         directory which will be created if it is 
necessary.
     [exec] 
     [exec]   -inner                Inner classes will be processed 
automatically.
     [exec] 
     [exec]   -verbose              Allows running commentary.
     [exec] 
     [exec] <class names>           A list of the fully qualified class names
     [exec]                         separated by a space.
     [exec] Result: 1
     [echo] Run jdk/bin/javadoc in 
<http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64-full-tests/ws/harmony/target/test_report>
     [exec] JavaDoc is not implemented yet
     [echo] Run jdk/bin/jarsigner in 
<http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64-full-tests/ws/harmony/target/test_report>
     [exec] JarSigner help.
     [exec] Usage:      jarsigner {options} JAR-file alias
     [exec]     jarsigner -verify {options} JAR-file
     [exec] 
     [exec] -verify                              verify a signed JAR file
     [exec] -keystore <keystore_path>    location of the keystore
     [exec] -storetype <keystore_type>   type of the keystore
     [exec] -storepass <keystore_password>       keystore password
     [exec] -keypass <key_password>              private key password (if 
differs from <keystore_password>)
     [exec] -signedjar <file_name>               name of the signed JAR file
     [exec] -sigfile <file_name>                 name of .SF and .DSA files
     [exec] -verbose                     provide additional output
     [exec] -silent                      provide as few output as possible
     [exec] -certs                               display certificates (use with 
-verify and -verbose)
     [exec] -tsa <TSA_URL>                       location of time-stamp 
authority
     [exec] -tsacert <TSA_cert_alias>    keystore alias of the TSA certificate
     [exec] -proxy <host_address>{:<port>}       proxy server host address and 
port, e.g. proxy.server.com:1234
     [exec] -proxytype <type_name>               type of the proxy server (HTTP 
or SOCKS)
     [exec] -providerclass <class>               class name of cryptographic 
service provider
     [exec] -providername <name>                 provider name
     [exec] -ksproviderclass <class>     class name of cryptographic service 
provider for managing keystore
     [exec] -ksprovidername <name>               keystore provider name
     [exec] -sigproviderclass <class>    class name of cryptographic service 
provider for work with signatures
     [exec] -sigprovidername <name>              signature provider name
     [exec] -certproviderclass <class>   class name of cryptographic service 
provider for work with certificates
     [exec] -certprovidername <name>     certificate provider name
     [exec] -mdproviderclass <class>     class name of cryptographic service 
provider for work with message digests
     [exec] -mdprovidername <name>               message digest provider name
     [echo] Run jdk/jre/bin/keytool -help in 
<http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64-full-tests/ws/harmony/target/test_report>
     [exec] 
     [exec] Keytool usage:
     [exec] keytool {-<command_name>} {-<command_option>} {<option_value>}... 
-J<java_option>
     [exec] 
     [exec] Known commands:
     [exec]     -certreq                Generate certificate request
     [exec]     -checkcrl               Check certificates revocation status
     [exec]     -convert                Convert keystore to another format
     [exec]     -delete                 Remove entry from keystore
     [exec]     -export                 Export certificate to a file or stdout
     [exec]     -genkey                 Secret key or key pair generation
     [exec]     -help                   This help message or help on a command
     [exec]     -import                 Import a certificate (chain) or a CSR 
reply
     [exec]     -keyclone               Duplicate a key entry
     [exec]     -keypasswd              Change key password
     [exec]     -printcert              Print to stdout a certificate from file
     [exec]     -selfcert               Generate a self-signed certificate with 
existing key
     [exec]     -storepasswd            Change keystore password
     [exec]     -verify                 Verify a certificate chain
     [exec] 
     [exec] Help usage:
     [exec] keytool -help {<command_name>}
     [exec] E.g.:        keytool -help genkey
     [exec] 
     [echo] Run jdk/jre/bin/unpack200 in 
<http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64-full-tests/ws/harmony/target/test_report>
     [exec] Usage:  unpack200 [-opt... | --option=value]... x.pack[.gz] y.jar
     [exec] (For more information, run unpack200 --help)
     [echo] Run jdk/jre/bin/pack200 in 
<http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64-full-tests/ws/harmony/target/test_report>
     [exec] Usage:  pack200 [-opt... | --option=value]... x.pack[.gz] y.jar
     [exec] (For more information, run pack200 --help)

test-module:

process-test-output:

-check-for-empty:

-process-empty:

process-empty:

full-report:

short-report:

gen-report:

check-test-result:

BUILD FAILED
<http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64-full-tests/ws/harmony/build.xml>:879:
 The following error occurred while executing this line:
<http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64-full-tests/ws/harmony/classlib/make/build-test.xml>:161:
 There were test errors.

Total time: 24 minutes 55 seconds
Archiving artifacts
Recording test results

Reply via email to