harmony-alerts mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Hudson Server <hud...@hudson.zones.apache.org>
Subject Build failed in Hudson: Harmony-1.5-head-linux-x86_64-full-tests #35
Date Wed, 09 Dec 2009 12:03:24 GMT
See <http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64-full-tests/35/changes>

Changes:

[jessewilson] Give much needed attention to our EnumSet implementations.

Fix HugeEnumSet iterator.remove() bug
  Our iterator used a single index variable to track both the most recently returned element
and the next element. When these disagreed, remove was broken. Added a test case for this.

Fix HugeEnumSet concurrency bug
  The old code used of fields to track the intermediate values bitsIndex, elementIndex, and
oldIndex. This meant that concurrent reads were not thread safe, even if the EnumSet was never
modified after construction.

Fix retainAll bug
  Calling retainAll() on an empty enum set would return true when the passed in argument was
also an enum set.

Replace "collection.size() == 0" with "collection.isEmpty()"
  This is inefficient for ConcurrentHashMap, which must do a full iteration.

Remove no-op arrays.fill() in HugeEnumSet constructor
  Newly allocated arrays are initialized with 0s, this was a no-op.

Throw on clone failure
  Previously we swept an impossible clone failure under the rug by returning null. This can't
happen; we should throw AssertionErrors if it does.

Improve type safety
  Remove use of raw types. Move warning suppressions to single lines and document why the
suppressions are safe.

Increase internal implementation consistency
  The new structure of add/addAll, remove/removeAll, retainAll is consistent across all: for
each method, calculate the newBits. Compare old and new bits and if they disagree, update
size and return true.

Improve readability
  Flip "if (null == foo)" to "if (foo == null)" etc.

Investigate performance benefits of mod+divide vs. mask+shift
  On both DRLVM and the RI's VM, mod & divide by a constant factor performed no worse
than mask & shift. I'll investigate how Dalvik behaves on a device; I may later change
this code to use mask+shift.

[regisxu] updating capabilities in instrument agent should consider JVM's potential capabilities

------------------------------------------
[...truncated 26238 lines...]
    [junit] STDOUT> StopDebuggee: started
    [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] testStop001: ID of the tested thread to Stop = 2032
    [junit] testStop001: get throwable for Stop command...
    [junit] testStop001: throwable = ObjectID: 1620
    [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] Waiting for process exit
    [junit] STDOUT> [SYNC] Message sent: PASSED
    [junit] STDOUT> StopDebuggee: finishing...
    [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.578 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: 49070
    [junit] Start listening on: null
    [junit] Listening on: minerva.apache.org:47636
    [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/working_jdktools/build/tests/classes>:/home/hudson/.ant/lib/junit-4.5.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:47636,server=n,suspend=y  -Djpda.settings.verbose=true
-Djpda.settings.syncPort=49070 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/working_jdktools/build/tests/classes>:/home/hudson/.ant/lib/junit-4.5.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:47636,server=n,suspend=y  -Djpda.settings.verbose=true
-Djpda.settings.syncPort=49070 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/working_jdktools/build/tests/classes>:/home/hudson/.ant/lib/junit-4.5.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:47636,server=n,suspend=y, -Djpda.settings.verbose=true,
-Djpda.settings.syncPort=49070, org.apache.harmony.jpda.tests.jdwp.VirtualMachine.HoldEventsDebuggee]
    [junit] Launched process
    [junit] Start redirectors
    [junit] Redirector started: STDERR
    [junit] Redirector started: STDOUT
    [junit] Started redirectors
    [junit] Launched debuggee process
    [junit] Accepting JDWP connection
    [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:49070
    [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.EventPacket@ab2102ae
    [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/working_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/working_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/working_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.226 sec
    [junit] Running org.apache.harmony.jretools.tests.toolutils.KeyStoreLoaderSaverTest
    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.01 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/working_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/build/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/build/test_report>
     [exec] Eclipse Java Compiler 0.894_R34x, 3.4.2 release, Copyright IBM Corp 2000, 2008.
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/build/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/build/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/build/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/build/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/build/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/build/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>:935:
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/working_classlib/make/build-test.xml>:163:
There were test failures.

Total time: 22 minutes 36 seconds
Archiving artifacts
Recording test results


Mime
View raw message