You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@harmony.apache.org by Oliver Deakin <ol...@googlemail.com> on 2009/11/23 16:36:10 UTC

Re: Build failed in Hudson: Harmony-1.5-head-linux-x86_64 #563

Looks like the commit at r882798 is causing some pack200 tests to fail:
org.apache.harmony.pack200.tests.ArchiveTest.testSQL
org.apache.harmony.pack200.tests.ArchiveTest.testStripDebug
org.apache.harmony.pack200.tests.ArchiveTest.testPassFiles
org.apache.harmony.pack200.tests.ArchiveTest.testAnnotations
org.apache.harmony.unpack200.tests.ArchiveTest.testWithSql

I've rerun the tests locally to make sure the recent Minerva problems 
wern't to blame and they fail on my local machine also. Since this 
commit was made during the code freeze but was not for a stop-ship bug 
for M12, I'd suggest we roll it back for the M12 release and it can be 
applied again (with a fix for these tests) afterwards. Agreed?

Regards,
Oliver

Apache Hudson Server wrote:
> See <http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64/563/changes>
>
> Changes:
>
> [jessewilson] Implementing DeflaterOutputStream.flush().
>
> ------------------------------------------
> [...truncated 6051 lines...]
>       [tar] Entry: harmony-5.0-hdk-882806/build/test/x-net/resources/serialization/org/apache/harmony/xnet/tests/javax/net/ssl/serialization/HandshakeCompletedEventTest.golden.0.ser longer than 100 characters.
>       [tar] Entry: harmony-5.0-hdk-882806/build/test/x-net/resources/serialization/org/apache/harmony/xnet/tests/javax/net/ssl/serialization/SSLExceptionTest.golden.0.ser longer than 100 characters.
>       [tar] Entry: harmony-5.0-hdk-882806/build/test/x-net/resources/serialization/org/apache/harmony/xnet/tests/javax/net/ssl/serialization/SSLExceptionTest.golden.1.ser longer than 100 characters.
>       [tar] Entry: harmony-5.0-hdk-882806/build/test/x-net/resources/serialization/org/apache/harmony/xnet/tests/javax/net/ssl/serialization/SSLExceptionTest.golden.2.ser longer than 100 characters.
>       [tar] Entry: harmony-5.0-hdk-882806/build/test/x-net/resources/serialization/org/apache/harmony/xnet/tests/javax/net/ssl/serialization/SSLExceptionTest.golden.3.ser longer than 100 characters.
>       [tar] Entry: harmony-5.0-hdk-882806/build/test/x-net/resources/serialization/org/apache/harmony/xnet/tests/javax/net/ssl/serialization/SSLExceptionTest.golden.4.ser longer than 100 characters.
>       [tar] Entry: harmony-5.0-hdk-882806/build/test/x-net/resources/serialization/org/apache/harmony/xnet/tests/javax/net/ssl/serialization/SSLHandshakeExceptionTest.golden.0.ser longer than 100 characters.
>       [tar] Entry: harmony-5.0-hdk-882806/build/test/x-net/resources/serialization/org/apache/harmony/xnet/tests/javax/net/ssl/serialization/SSLHandshakeExceptionTest.golden.1.ser longer than 100 characters.
>       [tar] Entry: harmony-5.0-hdk-882806/build/test/x-net/resources/serialization/org/apache/harmony/xnet/tests/javax/net/ssl/serialization/SSLHandshakeExceptionTest.golden.2.ser longer than 100 characters.
>       [tar] Entry: harmony-5.0-hdk-882806/build/test/x-net/resources/serialization/org/apache/harmony/xnet/tests/javax/net/ssl/serialization/SSLKeyExceptionTest.golden.0.ser longer than 100 characters.
>       [tar] Entry: harmony-5.0-hdk-882806/build/test/x-net/resources/serialization/org/apache/harmony/xnet/tests/javax/net/ssl/serialization/SSLKeyExceptionTest.golden.1.ser longer than 100 characters.
>       [tar] Entry: harmony-5.0-hdk-882806/build/test/x-net/resources/serialization/org/apache/harmony/xnet/tests/javax/net/ssl/serialization/SSLKeyExceptionTest.golden.2.ser longer than 100 characters.
>       [tar] Entry: harmony-5.0-hdk-882806/build/test/x-net/resources/serialization/org/apache/harmony/xnet/tests/javax/net/ssl/serialization/SSLPeerUnverifiedExceptionTest.golden.0.ser longer than 100 characters.
>       [tar] Entry: harmony-5.0-hdk-882806/build/test/x-net/resources/serialization/org/apache/harmony/xnet/tests/javax/net/ssl/serialization/SSLPeerUnverifiedExceptionTest.golden.1.ser longer than 100 characters.
>       [tar] Entry: harmony-5.0-hdk-882806/build/test/x-net/resources/serialization/org/apache/harmony/xnet/tests/javax/net/ssl/serialization/SSLPeerUnverifiedExceptionTest.golden.2.ser longer than 100 characters.
>       [tar] Entry: harmony-5.0-hdk-882806/build/test/x-net/resources/serialization/org/apache/harmony/xnet/tests/javax/net/ssl/serialization/SSLProtocolExceptionTest.golden.0.ser longer than 100 characters.
>       [tar] Entry: harmony-5.0-hdk-882806/build/test/x-net/resources/serialization/org/apache/harmony/xnet/tests/javax/net/ssl/serialization/SSLProtocolExceptionTest.golden.1.ser longer than 100 characters.
>       [tar] Entry: harmony-5.0-hdk-882806/build/test/x-net/resources/serialization/org/apache/harmony/xnet/tests/javax/net/ssl/serialization/SSLProtocolExceptionTest.golden.2.ser longer than 100 characters.
>       [tar] Entry: harmony-5.0-hdk-882806/build/test/x-net/resources/serialization/org/apache/harmony/xnet/tests/javax/net/ssl/serialization/SSLSessionBindingEventTest.golden.0.ser longer than 100 characters.
>
> bundle-hdk-zip:
>
> bundle-hdk:
>
> assemble-jdk-doc:
>      [copy] Copying 2 files to <http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64/ws/harmony/target/hdk/jdk>
>
> bundle-jdk-tgz:
>       [tar] Building tar: <http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64/563/artifact/harmony/target/apache-harmony-5.0-jdk-r882806-linux-x86_64-64-snapshot.tar.gz>
>
> bundle-jdk-zip:
>
> bundle-jdk:
>
> assemble-jre-doc:
>      [copy] Copying 2 files to <http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64/ws/harmony/target/hdk/jdk/jre>
>
> bundle-jre-tgz:
>       [tar] Building tar: <http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64/563/artifact/harmony/target/apache-harmony-5.0-jre-r882806-linux-x86_64-64-snapshot.tar.gz>
>
> bundle-jre-zip:
>
> bundle-jre:
>
> snapshot:
>
> BUILD SUCCESSFUL
> Total time: 15 minutes 24 seconds
> Buildfile: build.xml
>
> -init-hdk:
>      [copy] Copying 20 files to <http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64/ws/harmony/working_classlib/deploy/build/make>
>
> test:
>      [echo] 
>      [echo] ========================================
>      [echo] Testing class libraries...
>      [echo] ========================================
>
> clean-test-output:
>
> test-jar-init:
>
> copy-test-resources:
>
> check-support-jars:
>      [copy] Copying 1 file to <http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64/ws/harmony/working_classlib/make>
>    [delete] Deleting: <http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64/ws/harmony/working_classlib/make/depends.properties.ascii>
>
> -check:
>      [echo] Checking for depends/jars/xalan-j_2.7.0/xalan.orig.jar
>      [echo] Checking for depends/jars/xerces_2.9.1/xerces.zip
>      [echo] Checking for depends/jars/junit_4.6/junit-4.6.jar
>      [echo] Checking for depends/jars/hamcrest-library_1.1/hamcrest-library-1.1.jar
>      [echo] Checking for depends/oss/findbugs-1.3.9/findbugs-1.3.9.zip
>      [echo] Checking for depends/jars/bcprov-jdk15-144/bcprov.jar
>      [echo] Checking for depends/jars/jetty/jetty-6.0.0.jar
>      [echo] Checking for depends/jars/jetty/jetty-util-6.0.0.jar
>      [echo] Checking for depends/jars/jetty/servlet-api-2.5-6.0.0.jar
>      [echo] Checking for depends/jars/icu4j_4.2.1/icu4j-4_2_1.jar
>      [echo] Checking for depends/jars/icu4j_4.2.1/icu4j-charsets-4_2_1.jar
>
> -check-win:
>
> -extract-props:
>
> -extract-xerces:
>
> -fix-xalan-manifest:
>
> -extract-findbugs:
>
> -extract:
>
> check:
>
> compile-support:
>
> support-jar:
>       [jar] Building jar: <http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64/ws/harmony/working_classlib/deploy/build/test/support.jar>
>
> -get-test-vm-output:
>
> test-jre-vm-info:
>      [echo] java -version
>      [echo] Apache Harmony Launcher : (c) Copyright 1991, 2009 The Apache Software Foundation or its licensors, as applicable.
>      [echo] java version "1.5.0"
>      [echo] Apache Harmony (1.5.0)
>      [echo] DRLVM (11.2.0)
>      [echo] pre-alpha : not complete or compatible
>      [echo] svn = r882806, (Nov 21 2009), Linux/em64t/gcc 4.3.2, release build
>      [echo] http://harmony.apache.org
>      [echo] hy.test.vm.name = drl
>
> test-modules:
>      [echo] polling pack200/*.xml
>      [copy] Copying 1 file to <http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64/ws/harmony/working_classlib/modules/pack200/make>
>    [delete] Deleting: <http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64/ws/harmony/working_classlib/modules/pack200/make/depends.properties.ascii>
>
> check-depends:
>      [echo] Checking for <http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64/ws/harmony/working_classlib/depends/jars/asm-3.1/asm-3.1.jar>
>
> compile-java:
>      [echo] Compiling pack200 classes
>
> svn-info:
>
> class-patternset:
>
> build-jar:
>       [jar] Building jar: <http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64/ws/harmony/working_classlib/deploy/jdk/jre/lib/boot/pack200.jar>
>       [jar] Building jar: <http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64/ws/harmony/working_classlib/deploy/jdk/jre/lib/boot/pack200-src.jar>
>
> build:
>
> compile-tests:
>      [echo] Compiling pack200 tests
>
> test-jar:
>       [jar] Building jar: <http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64/ws/harmony/working_classlib/deploy/build/test/pack200/pack200_tests.jar>
>
> run-tests:
>
> -get-test-vm-output:
>
> test-jre-vm-info:
>      [echo] java -version
>      [echo] Apache Harmony Launcher : (c) Copyright 1991, 2009 The Apache Software Foundation or its licensors, as applicable.
>      [echo] java version "1.5.0"
>      [echo] Apache Harmony (1.5.0)
>      [echo] DRLVM (11.2.0)
>      [echo] pre-alpha : not complete or compatible
>      [echo] svn = r882806, (Nov 21 2009), Linux/em64t/gcc 4.3.2, release build
>      [echo] http://harmony.apache.org
>      [echo] hy.test.vm.name = drl
>
> test-module:
>      [echo] Running pack200 Unit Test from pack200_tests.jar
>      [echo] Tested jre: <http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64/ws/harmony/target/hdk/jdk/jre/bin/java>
>     [mkdir] Created dir: <http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64/ws/harmony/working_classlib/build/test_report>
>     [mkdir] Created dir: <http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64/ws/harmony/working_classlib/deploy/build/test/pack200/temp/ant>
>     [mkdir] Created dir: <http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64/ws/harmony/working_classlib/deploy/build/test/pack200/temp/tmpdir>
>     [mkdir] Created dir: <http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64/ws/harmony/working_classlib/deploy/build/test/pack200/temp/user>
>     [junit] Running org.apache.harmony.pack200.tests.ArchiveTest
>     [junit] Tests run: 10, Failures: 0, Errors: 4, Time elapsed: 8.723 sec
>     [junit] TEST org.apache.harmony.pack200.tests.ArchiveTest FAILED
>     [junit] Running org.apache.harmony.pack200.tests.BHSDCodecTest
>     [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.029 sec
>     [junit] Running org.apache.harmony.pack200.tests.CodecEncodingTest
>     [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0.012 sec
>     [junit] Running org.apache.harmony.pack200.tests.CodecTest
>     [junit] Tests run: 10, Failures: 0, Errors: 0, Time elapsed: 0.016 sec
>     [junit] Running org.apache.harmony.pack200.tests.NewAttributeBandsTest
>     [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 0.021 sec
>     [junit] Running org.apache.harmony.pack200.tests.PopulationCodecTest
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.006 sec
>     [junit] Running org.apache.harmony.unpack200.tests.ArchiveTest
>     [junit] Tests run: 9, Failures: 0, Errors: 1, Time elapsed: 0.934 sec
>     [junit] TEST org.apache.harmony.unpack200.tests.ArchiveTest FAILED
>     [junit] Running org.apache.harmony.unpack200.tests.AttributeLayoutMapTest
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.006 sec
>     [junit] Running org.apache.harmony.unpack200.tests.AttributeLayoutTest
>     [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 0.01 sec
>     [junit] Running org.apache.harmony.unpack200.tests.BandSetTest
>     [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 0.008 sec
>     [junit] Running org.apache.harmony.unpack200.tests.BcBandsTest
>     [junit] Tests run: 25, Failures: 0, Errors: 0, Time elapsed: 0.054 sec
>     [junit] Running org.apache.harmony.unpack200.tests.CPUTF8Test
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.008 sec
>     [junit] Running org.apache.harmony.unpack200.tests.ClassBandsTest
>     [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.009 sec
>     [junit] Running org.apache.harmony.unpack200.tests.ClassVersionTest
>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.007 sec
>     [junit] Running org.apache.harmony.unpack200.tests.CodeAttributeTest
>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.008 sec
>     [junit] Running org.apache.harmony.unpack200.tests.ICTupleTest
>     [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.006 sec
>     [junit] Running org.apache.harmony.unpack200.tests.SegmentConstantPoolArrayCacheTest
>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.007 sec
>     [junit] Running org.apache.harmony.unpack200.tests.SegmentConstantPoolTest
>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.007 sec
>     [junit] Running org.apache.harmony.unpack200.tests.SegmentOptionsTest
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.006 sec
>     [junit] Running org.apache.harmony.unpack200.tests.SegmentTest
>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.013 sec
>     [junit] Running org.apache.harmony.unpack200.tests.SegmentUtilsTest
>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.007 sec
>     [junit] Running org.apache.harmony.unpack200.tests.bytecode.ByteCodeTest
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.006 sec
>     [junit] Running org.apache.harmony.unpack200.tests.bytecode.ClassFileEntryTest
>     [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 0.012 sec
>     [junit] Running org.apache.harmony.unpack200.tests.bytecode.ConstantPoolTest
>     [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0.007 sec
>     [junit] Tests FAILED
>    [delete] Deleting directory <http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64/ws/harmony/working_classlib/deploy/build/test/pack200/temp>
>
> touch-failures-file:
>
> touch-errors-file:
>
> -test-module:
>
> -check-for-empty:
>
> -process-empty:
>
> process-empty:
>
> full-report:
> [junitreport] Processing <http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64/ws/harmony/working_classlib/build/test_report/TESTS-TestSuites.xml> to /tmp/null1767584211
> [junitreport] Loading stylesheet jar:file:/usr/share/ant/lib/ant-junit.jar!/org/apache/tools/ant/taskdefs/optional/junit/xsl/junit-frames.xsl
> [junitreport] Transform time: 6888ms
> [junitreport] Deleting: /tmp/null1767584211
>      [echo] The test report is in <http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64/ws/harmony/working_classlib/build/test_report/html/index.html>
>
> short-report:
>
> gen-report:
>
> check-test-result:
>
> BUILD FAILED
> <http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64/ws/harmony/working_classlib/build.xml>:181: The following error occurred while executing this line:
> <http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64/ws/harmony/working_classlib/make/build-test.xml>:148: There were test errors.
>
> Total time: 24 seconds
> Archiving artifacts
> Recording test results
> Recording fingerprints
>
>
>   

-- 
Oliver Deakin
Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 741598. 
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU


Re: Build failed in Hudson: Harmony-1.5-head-linux-x86_64 #563

Posted by Tim Ellison <t....@gmail.com>.
On 23/Nov/2009 15:36, Oliver Deakin wrote:
> Looks like the commit at r882798 is causing some pack200 tests to fail:
> org.apache.harmony.pack200.tests.ArchiveTest.testSQL
> org.apache.harmony.pack200.tests.ArchiveTest.testStripDebug
> org.apache.harmony.pack200.tests.ArchiveTest.testPassFiles
> org.apache.harmony.pack200.tests.ArchiveTest.testAnnotations
> org.apache.harmony.unpack200.tests.ArchiveTest.testWithSql
> 
> I've rerun the tests locally to make sure the recent Minerva problems
> wern't to blame and they fail on my local machine also. Since this
> commit was made during the code freeze but was not for a stop-ship bug
> for M12, I'd suggest we roll it back for the M12 release and it can be
> applied again (with a fix for these tests) afterwards. Agreed?

+1 to rollback and regain stability.

Regards,
Tim

Re: Build failed in Hudson: Harmony-1.5-head-linux-x86_64 #563

Posted by Jesse Wilson <je...@google.com>.
On Mon, Nov 23, 2009 at 12:45 PM, sebb <se...@gmail.com> wrote:

> FYI:
>
> I can open the jar using the RI jar application on WinXP, but Winzip
> 9.0 complains.
> On people.apache.org the jar tool works but UnZip 6.00 reports:
>
> 6 extra bytes at beginning or within zipfile
>  (attempting to process anyway)
>
> AFAICT, Ant 1.7.1/Java 1.4.2 does not work either on Win/XP - no error
> reported, but no output either.
>
> So Harmony is not alone in having problems with the test jar.
>

Got it. So even if I fix Harmony to read zip files that contain flush
blocks, I definitely won't change Harmony so that it writes them. Being able
to all files formatted according with the spec is essential, and we should
also write files that WinZip can read. This is somewhat lame, because it
means the core APIs preclude a proper implementation of flush().

That said, there is a fine compromise available. Limiting flush() support to
GzipOutputStream should make everyone happy. GZIP is stream-oriented,
whereas ZIP is file-oriented. Supporting flush() on GZIP only streams
satisfies my stated requirements: being able to support interactive
communication over a compressed stream.

Re: Build failed in Hudson: Harmony-1.5-head-linux-x86_64 #563

Posted by sebb <se...@gmail.com>.
On 23/11/2009, Jesse Wilson <je...@google.com> wrote:
> On Mon, Nov 23, 2009 at 8:40 AM, Jesse Wilson <je...@google.com>wrote:
>
>  > Rolled back as r883400. I'll investigate the Pack200 test problems and push
>  > this back in after code freeze.
>  >
>
>  FYI: The root problem is a bug in our ZIP decoding. It fails to cope with
>  Z_SYNC_FLUSH blocks and crashes. I've submitted a failing testcase that
>  demonstrates the problem:
>   http://svn.apache.org/viewvc?view=revision&revision=883478
>  This test case passes on the RI.

FYI:

I can open the jar using the RI jar application on WinXP, but Winzip
9.0 complains.
On people.apache.org the jar tool works but UnZip 6.00 reports:

6 extra bytes at beginning or within zipfile
  (attempting to process anyway)

AFAICT, Ant 1.7.1/Java 1.4.2 does not work either on Win/XP - no error
reported, but no output either.

So Harmony is not alone in having problems with the test jar.

>  There's an unfortunate consequence of adding flush() support to
>  deflate/zip/gzip; one I probably should have forseen before checkin. When a
>  Deflater/Zip/GzipOutputStream is wrapped by a FilterOutputStream (such as
>  BufferedOutputStream), the compressed datastream will be *different* if we
>  support flush; even if the user doesn't call flush() directly. Here's why...
>   BufferedOutputStream.close() always calls this.flush(), which in turn
>  calls delegate.flush(),
>   DeflaterOutputStream.flush() emits a Z_SYNC_FLUSH block if we support
>  flushing. If we don't support flushing, that block isn't emitted.
>  As far as I'm concerned, supporting flush is the right thing to do. It's
>  essential for any kind of compressed interactive network channel, such as
>  XEP-0138 <http://xmpp.org/extensions/xep-0138.html> for compressed instant
>  messaging streams.
>
>  I'll investigate fixing the Jar bug...
>

Re: Build failed in Hudson: Harmony-1.5-head-linux-x86_64 #563

Posted by Jesse Wilson <je...@google.com>.
On Mon, Nov 23, 2009 at 8:40 AM, Jesse Wilson <je...@google.com>wrote:

> Rolled back as r883400. I'll investigate the Pack200 test problems and push
> this back in after code freeze.
>

FYI: The root problem is a bug in our ZIP decoding. It fails to cope with
Z_SYNC_FLUSH blocks and crashes. I've submitted a failing testcase that
demonstrates the problem:
  http://svn.apache.org/viewvc?view=revision&revision=883478
This test case passes on the RI.

There's an unfortunate consequence of adding flush() support to
deflate/zip/gzip; one I probably should have forseen before checkin. When a
Deflater/Zip/GzipOutputStream is wrapped by a FilterOutputStream (such as
BufferedOutputStream), the compressed datastream will be *different* if we
support flush; even if the user doesn't call flush() directly. Here's why...
  BufferedOutputStream.close() always calls this.flush(), which in turn
calls delegate.flush(),
  DeflaterOutputStream.flush() emits a Z_SYNC_FLUSH block if we support
flushing. If we don't support flushing, that block isn't emitted.
As far as I'm concerned, supporting flush is the right thing to do. It's
essential for any kind of compressed interactive network channel, such as
XEP-0138 <http://xmpp.org/extensions/xep-0138.html> for compressed instant
messaging streams.

I'll investigate fixing the Jar bug...

Re: Build failed in Hudson: Harmony-1.5-head-linux-x86_64 #563

Posted by Oliver Deakin <ol...@googlemail.com>.
That's fixed the failures for me. I'll do a full test rerun and post the 
results here when it's complete.

Regards,
Oliver

Jesse Wilson wrote:
> Rolled back as r883400. I'll investigate the Pack200 test problems and push
> this back in after code freeze.
>
>   

-- 
Oliver Deakin
Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 741598. 
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU


Re: Build failed in Hudson: Harmony-1.5-head-linux-x86_64 #563

Posted by Jesse Wilson <je...@google.com>.
Rolled back as r883400. I'll investigate the Pack200 test problems and push
this back in after code freeze.

Re: Build failed in Hudson: Harmony-1.5-head-linux-x86_64 #563

Posted by Oliver Deakin <ol...@googlemail.com>.
Cool, thanks Jesse!

Regards,
Oliver

Jesse Wilson wrote:
> Yup; my bad. I can roll it back.
>
> On Mon, Nov 23, 2009 at 7:36 AM, Oliver Deakin <oliver.deakin@googlemail.com
>   
>> wrote:
>>     
>
>   
>> Looks like the commit at r882798 is causing some pack200 tests to fail:
>> org.apache.harmony.pack200.tests.ArchiveTest.testSQL
>> org.apache.harmony.pack200.tests.ArchiveTest.testStripDebug
>> org.apache.harmony.pack200.tests.ArchiveTest.testPassFiles
>> org.apache.harmony.pack200.tests.ArchiveTest.testAnnotations
>> org.apache.harmony.unpack200.tests.ArchiveTest.testWithSql
>>
>> I've rerun the tests locally to make sure the recent Minerva problems
>> wern't to blame and they fail on my local machine also. Since this commit
>> was made during the code freeze but was not for a stop-ship bug for M12, I'd
>> suggest we roll it back for the M12 release and it can be applied again
>> (with a fix for these tests) afterwards. Agreed?
>>
>> Regards,
>> Oliver
>>
>>
>> Apache Hudson Server wrote:
>>
>>     
>>> See <
>>> http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64/563/changes
>>>       
>>> Changes:
>>>
>>> [jessewilson] Implementing DeflaterOutputStream.flush().
>>>
>>> ------------------------------------------
>>> [...truncated 6051 lines...]
>>>      [tar] Entry:
>>> harmony-5.0-hdk-882806/build/test/x-net/resources/serialization/org/apache/harmony/xnet/tests/javax/net/ssl/serialization/HandshakeCompletedEventTest.golden.0.ser
>>> longer than 100 characters.
>>>      [tar] Entry:
>>> harmony-5.0-hdk-882806/build/test/x-net/resources/serialization/org/apache/harmony/xnet/tests/javax/net/ssl/serialization/SSLExceptionTest.golden.0.ser
>>> longer than 100 characters.
>>>      [tar] Entry:
>>> harmony-5.0-hdk-882806/build/test/x-net/resources/serialization/org/apache/harmony/xnet/tests/javax/net/ssl/serialization/SSLExceptionTest.golden.1.ser
>>> longer than 100 characters.
>>>      [tar] Entry:
>>> harmony-5.0-hdk-882806/build/test/x-net/resources/serialization/org/apache/harmony/xnet/tests/javax/net/ssl/serialization/SSLExceptionTest.golden.2.ser
>>> longer than 100 characters.
>>>      [tar] Entry:
>>> harmony-5.0-hdk-882806/build/test/x-net/resources/serialization/org/apache/harmony/xnet/tests/javax/net/ssl/serialization/SSLExceptionTest.golden.3.ser
>>> longer than 100 characters.
>>>      [tar] Entry:
>>> harmony-5.0-hdk-882806/build/test/x-net/resources/serialization/org/apache/harmony/xnet/tests/javax/net/ssl/serialization/SSLExceptionTest.golden.4.ser
>>> longer than 100 characters.
>>>      [tar] Entry:
>>> harmony-5.0-hdk-882806/build/test/x-net/resources/serialization/org/apache/harmony/xnet/tests/javax/net/ssl/serialization/SSLHandshakeExceptionTest.golden.0.ser
>>> longer than 100 characters.
>>>      [tar] Entry:
>>> harmony-5.0-hdk-882806/build/test/x-net/resources/serialization/org/apache/harmony/xnet/tests/javax/net/ssl/serialization/SSLHandshakeExceptionTest.golden.1.ser
>>> longer than 100 characters.
>>>      [tar] Entry:
>>> harmony-5.0-hdk-882806/build/test/x-net/resources/serialization/org/apache/harmony/xnet/tests/javax/net/ssl/serialization/SSLHandshakeExceptionTest.golden.2.ser
>>> longer than 100 characters.
>>>      [tar] Entry:
>>> harmony-5.0-hdk-882806/build/test/x-net/resources/serialization/org/apache/harmony/xnet/tests/javax/net/ssl/serialization/SSLKeyExceptionTest.golden.0.ser
>>> longer than 100 characters.
>>>      [tar] Entry:
>>> harmony-5.0-hdk-882806/build/test/x-net/resources/serialization/org/apache/harmony/xnet/tests/javax/net/ssl/serialization/SSLKeyExceptionTest.golden.1.ser
>>> longer than 100 characters.
>>>      [tar] Entry:
>>> harmony-5.0-hdk-882806/build/test/x-net/resources/serialization/org/apache/harmony/xnet/tests/javax/net/ssl/serialization/SSLKeyExceptionTest.golden.2.ser
>>> longer than 100 characters.
>>>      [tar] Entry:
>>> harmony-5.0-hdk-882806/build/test/x-net/resources/serialization/org/apache/harmony/xnet/tests/javax/net/ssl/serialization/SSLPeerUnverifiedExceptionTest.golden.0.ser
>>> longer than 100 characters.
>>>      [tar] Entry:
>>> harmony-5.0-hdk-882806/build/test/x-net/resources/serialization/org/apache/harmony/xnet/tests/javax/net/ssl/serialization/SSLPeerUnverifiedExceptionTest.golden.1.ser
>>> longer than 100 characters.
>>>      [tar] Entry:
>>> harmony-5.0-hdk-882806/build/test/x-net/resources/serialization/org/apache/harmony/xnet/tests/javax/net/ssl/serialization/SSLPeerUnverifiedExceptionTest.golden.2.ser
>>> longer than 100 characters.
>>>      [tar] Entry:
>>> harmony-5.0-hdk-882806/build/test/x-net/resources/serialization/org/apache/harmony/xnet/tests/javax/net/ssl/serialization/SSLProtocolExceptionTest.golden.0.ser
>>> longer than 100 characters.
>>>      [tar] Entry:
>>> harmony-5.0-hdk-882806/build/test/x-net/resources/serialization/org/apache/harmony/xnet/tests/javax/net/ssl/serialization/SSLProtocolExceptionTest.golden.1.ser
>>> longer than 100 characters.
>>>      [tar] Entry:
>>> harmony-5.0-hdk-882806/build/test/x-net/resources/serialization/org/apache/harmony/xnet/tests/javax/net/ssl/serialization/SSLProtocolExceptionTest.golden.2.ser
>>> longer than 100 characters.
>>>      [tar] Entry:
>>> harmony-5.0-hdk-882806/build/test/x-net/resources/serialization/org/apache/harmony/xnet/tests/javax/net/ssl/serialization/SSLSessionBindingEventTest.golden.0.ser
>>> longer than 100 characters.
>>>
>>> bundle-hdk-zip:
>>>
>>> bundle-hdk:
>>>
>>> assemble-jdk-doc:
>>>     [copy] Copying 2 files to <
>>> http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64/ws/harmony/target/hdk/jdk
>>>       
>>> bundle-jdk-tgz:
>>>      [tar] Building tar: <
>>> http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64/563/artifact/harmony/target/apache-harmony-5.0-jdk-r882806-linux-x86_64-64-snapshot.tar.gz
>>>       
>>> bundle-jdk-zip:
>>>
>>> bundle-jdk:
>>>
>>> assemble-jre-doc:
>>>     [copy] Copying 2 files to <
>>> http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64/ws/harmony/target/hdk/jdk/jre
>>>       
>>> bundle-jre-tgz:
>>>      [tar] Building tar: <
>>> http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64/563/artifact/harmony/target/apache-harmony-5.0-jre-r882806-linux-x86_64-64-snapshot.tar.gz
>>>       
>>> bundle-jre-zip:
>>>
>>> bundle-jre:
>>>
>>> snapshot:
>>>
>>> BUILD SUCCESSFUL
>>> Total time: 15 minutes 24 seconds
>>> Buildfile: build.xml
>>>
>>> -init-hdk:
>>>     [copy] Copying 20 files to <
>>> http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64/ws/harmony/working_classlib/deploy/build/make
>>>       
>>> test:
>>>     [echo]     [echo] ========================================
>>>     [echo] Testing class libraries...
>>>     [echo] ========================================
>>>
>>> clean-test-output:
>>>
>>> test-jar-init:
>>>
>>> copy-test-resources:
>>>
>>> check-support-jars:
>>>     [copy] Copying 1 file to <
>>> http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64/ws/harmony/working_classlib/make
>>>       
>>>   [delete] Deleting: <
>>> http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64/ws/harmony/working_classlib/make/depends.properties.ascii
>>>       
>>> -check:
>>>     [echo] Checking for depends/jars/xalan-j_2.7.0/xalan.orig.jar
>>>     [echo] Checking for depends/jars/xerces_2.9.1/xerces.zip
>>>     [echo] Checking for depends/jars/junit_4.6/junit-4.6.jar
>>>     [echo] Checking for
>>> depends/jars/hamcrest-library_1.1/hamcrest-library-1.1.jar
>>>     [echo] Checking for depends/oss/findbugs-1.3.9/findbugs-1.3.9.zip
>>>     [echo] Checking for depends/jars/bcprov-jdk15-144/bcprov.jar
>>>     [echo] Checking for depends/jars/jetty/jetty-6.0.0.jar
>>>     [echo] Checking for depends/jars/jetty/jetty-util-6.0.0.jar
>>>     [echo] Checking for depends/jars/jetty/servlet-api-2.5-6.0.0.jar
>>>     [echo] Checking for depends/jars/icu4j_4.2.1/icu4j-4_2_1.jar
>>>     [echo] Checking for depends/jars/icu4j_4.2.1/icu4j-charsets-4_2_1.jar
>>>
>>> -check-win:
>>>
>>> -extract-props:
>>>
>>> -extract-xerces:
>>>
>>> -fix-xalan-manifest:
>>>
>>> -extract-findbugs:
>>>
>>> -extract:
>>>
>>> check:
>>>
>>> compile-support:
>>>
>>> support-jar:
>>>      [jar] Building jar: <
>>> http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64/ws/harmony/working_classlib/deploy/build/test/support.jar
>>>       
>>> -get-test-vm-output:
>>>
>>> test-jre-vm-info:
>>>     [echo] java -version
>>>     [echo] Apache Harmony Launcher : (c) Copyright 1991, 2009 The Apache
>>> Software Foundation or its licensors, as applicable.
>>>     [echo] java version "1.5.0"
>>>     [echo] Apache Harmony (1.5.0)
>>>     [echo] DRLVM (11.2.0)
>>>     [echo] pre-alpha : not complete or compatible
>>>     [echo] svn = r882806, (Nov 21 2009), Linux/em64t/gcc 4.3.2, release
>>> build
>>>     [echo] http://harmony.apache.org
>>>     [echo] hy.test.vm.name = drl
>>>
>>> test-modules:
>>>     [echo] polling pack200/*.xml
>>>     [copy] Copying 1 file to <
>>> http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64/ws/harmony/working_classlib/modules/pack200/make
>>>       
>>>   [delete] Deleting: <
>>> http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64/ws/harmony/working_classlib/modules/pack200/make/depends.properties.ascii
>>>       
>>> check-depends:
>>>     [echo] Checking for <
>>> http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64/ws/harmony/working_classlib/depends/jars/asm-3.1/asm-3.1.jar
>>>       
>>> compile-java:
>>>     [echo] Compiling pack200 classes
>>>
>>> svn-info:
>>>
>>> class-patternset:
>>>
>>> build-jar:
>>>      [jar] Building jar: <
>>> http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64/ws/harmony/working_classlib/deploy/jdk/jre/lib/boot/pack200.jar
>>>       
>>>      [jar] Building jar: <
>>> http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64/ws/harmony/working_classlib/deploy/jdk/jre/lib/boot/pack200-src.jar
>>>       
>>> build:
>>>
>>> compile-tests:
>>>     [echo] Compiling pack200 tests
>>>
>>> test-jar:
>>>      [jar] Building jar: <
>>> http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64/ws/harmony/working_classlib/deploy/build/test/pack200/pack200_tests.jar
>>>       
>>> run-tests:
>>>
>>> -get-test-vm-output:
>>>
>>> test-jre-vm-info:
>>>     [echo] java -version
>>>     [echo] Apache Harmony Launcher : (c) Copyright 1991, 2009 The Apache
>>> Software Foundation or its licensors, as applicable.
>>>     [echo] java version "1.5.0"
>>>     [echo] Apache Harmony (1.5.0)
>>>     [echo] DRLVM (11.2.0)
>>>     [echo] pre-alpha : not complete or compatible
>>>     [echo] svn = r882806, (Nov 21 2009), Linux/em64t/gcc 4.3.2, release
>>> build
>>>     [echo] http://harmony.apache.org
>>>     [echo] hy.test.vm.name = drl
>>>
>>> test-module:
>>>     [echo] Running pack200 Unit Test from pack200_tests.jar
>>>     [echo] Tested jre: <
>>> http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64/ws/harmony/target/hdk/jdk/jre/bin/java
>>>       
>>>    [mkdir] Created dir: <
>>> http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64/ws/harmony/working_classlib/build/test_report
>>>       
>>>    [mkdir] Created dir: <
>>> http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64/ws/harmony/working_classlib/deploy/build/test/pack200/temp/ant
>>>       
>>>    [mkdir] Created dir: <
>>> http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64/ws/harmony/working_classlib/deploy/build/test/pack200/temp/tmpdir
>>>       
>>>    [mkdir] Created dir: <
>>> http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64/ws/harmony/working_classlib/deploy/build/test/pack200/temp/user
>>>       
>>>    [junit] Running org.apache.harmony.pack200.tests.ArchiveTest
>>>    [junit] Tests run: 10, Failures: 0, Errors: 4, Time elapsed: 8.723 sec
>>>    [junit] TEST org.apache.harmony.pack200.tests.ArchiveTest FAILED
>>>    [junit] Running org.apache.harmony.pack200.tests.BHSDCodecTest
>>>    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.029 sec
>>>    [junit] Running org.apache.harmony.pack200.tests.CodecEncodingTest
>>>    [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0.012 sec
>>>    [junit] Running org.apache.harmony.pack200.tests.CodecTest
>>>    [junit] Tests run: 10, Failures: 0, Errors: 0, Time elapsed: 0.016 sec
>>>    [junit] Running org.apache.harmony.pack200.tests.NewAttributeBandsTest
>>>    [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 0.021 sec
>>>    [junit] Running org.apache.harmony.pack200.tests.PopulationCodecTest
>>>    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.006 sec
>>>    [junit] Running org.apache.harmony.unpack200.tests.ArchiveTest
>>>    [junit] Tests run: 9, Failures: 0, Errors: 1, Time elapsed: 0.934 sec
>>>    [junit] TEST org.apache.harmony.unpack200.tests.ArchiveTest FAILED
>>>    [junit] Running
>>> org.apache.harmony.unpack200.tests.AttributeLayoutMapTest
>>>    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.006 sec
>>>    [junit] Running org.apache.harmony.unpack200.tests.AttributeLayoutTest
>>>    [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 0.01 sec
>>>    [junit] Running org.apache.harmony.unpack200.tests.BandSetTest
>>>    [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 0.008 sec
>>>    [junit] Running org.apache.harmony.unpack200.tests.BcBandsTest
>>>    [junit] Tests run: 25, Failures: 0, Errors: 0, Time elapsed: 0.054 sec
>>>    [junit] Running org.apache.harmony.unpack200.tests.CPUTF8Test
>>>    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.008 sec
>>>    [junit] Running org.apache.harmony.unpack200.tests.ClassBandsTest
>>>    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.009 sec
>>>    [junit] Running org.apache.harmony.unpack200.tests.ClassVersionTest
>>>    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.007 sec
>>>    [junit] Running org.apache.harmony.unpack200.tests.CodeAttributeTest
>>>    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.008 sec
>>>    [junit] Running org.apache.harmony.unpack200.tests.ICTupleTest
>>>    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.006 sec
>>>    [junit] Running
>>> org.apache.harmony.unpack200.tests.SegmentConstantPoolArrayCacheTest
>>>    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.007 sec
>>>    [junit] Running
>>> org.apache.harmony.unpack200.tests.SegmentConstantPoolTest
>>>    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.007 sec
>>>    [junit] Running org.apache.harmony.unpack200.tests.SegmentOptionsTest
>>>    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.006 sec
>>>    [junit] Running org.apache.harmony.unpack200.tests.SegmentTest
>>>    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.013 sec
>>>    [junit] Running org.apache.harmony.unpack200.tests.SegmentUtilsTest
>>>    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.007 sec
>>>    [junit] Running
>>> org.apache.harmony.unpack200.tests.bytecode.ByteCodeTest
>>>    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.006 sec
>>>    [junit] Running
>>> org.apache.harmony.unpack200.tests.bytecode.ClassFileEntryTest
>>>    [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 0.012 sec
>>>    [junit] Running
>>> org.apache.harmony.unpack200.tests.bytecode.ConstantPoolTest
>>>    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0.007 sec
>>>    [junit] Tests FAILED
>>>   [delete] Deleting directory <
>>> http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64/ws/harmony/working_classlib/deploy/build/test/pack200/temp
>>>       
>>> touch-failures-file:
>>>
>>> touch-errors-file:
>>>
>>> -test-module:
>>>
>>> -check-for-empty:
>>>
>>> -process-empty:
>>>
>>> process-empty:
>>>
>>> full-report:
>>> [junitreport] Processing <
>>> http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64/ws/harmony/working_classlib/build/test_report/TESTS-TestSuites.xml>
>>> to /tmp/null1767584211
>>> [junitreport] Loading stylesheet
>>> jar:file:/usr/share/ant/lib/ant-junit.jar!/org/apache/tools/ant/taskdefs/optional/junit/xsl/junit-frames.xsl
>>> [junitreport] Transform time: 6888ms
>>> [junitreport] Deleting: /tmp/null1767584211
>>>     [echo] The test report is in <
>>> http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64/ws/harmony/working_classlib/build/test_report/html/index.html
>>>       
>>> short-report:
>>>
>>> gen-report:
>>>
>>> check-test-result:
>>>
>>> BUILD FAILED
>>> <
>>> http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64/ws/harmony/working_classlib/build.xml>:181:
>>> The following error occurred while executing this line:
>>> <
>>> http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64/ws/harmony/working_classlib/make/build-test.xml>:148:
>>> There were test errors.
>>>
>>> Total time: 24 seconds
>>> Archiving artifacts
>>> Recording test results
>>> Recording fingerprints
>>>
>>>
>>>
>>>
>>>       
>> --
>> Oliver Deakin
>> Unless stated otherwise above:
>> IBM United Kingdom Limited - Registered in England and Wales with number
>> 741598. Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire
>> PO6 3AU
>>
>>
>>     
>
>   

-- 
Oliver Deakin
Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 741598. 
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU


Re: Build failed in Hudson: Harmony-1.5-head-linux-x86_64 #563

Posted by Jesse Wilson <je...@google.com>.
Yup; my bad. I can roll it back.

On Mon, Nov 23, 2009 at 7:36 AM, Oliver Deakin <oliver.deakin@googlemail.com
> wrote:

> Looks like the commit at r882798 is causing some pack200 tests to fail:
> org.apache.harmony.pack200.tests.ArchiveTest.testSQL
> org.apache.harmony.pack200.tests.ArchiveTest.testStripDebug
> org.apache.harmony.pack200.tests.ArchiveTest.testPassFiles
> org.apache.harmony.pack200.tests.ArchiveTest.testAnnotations
> org.apache.harmony.unpack200.tests.ArchiveTest.testWithSql
>
> I've rerun the tests locally to make sure the recent Minerva problems
> wern't to blame and they fail on my local machine also. Since this commit
> was made during the code freeze but was not for a stop-ship bug for M12, I'd
> suggest we roll it back for the M12 release and it can be applied again
> (with a fix for these tests) afterwards. Agreed?
>
> Regards,
> Oliver
>
>
> Apache Hudson Server wrote:
>
>> See <
>> http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64/563/changes
>> >
>>
>> Changes:
>>
>> [jessewilson] Implementing DeflaterOutputStream.flush().
>>
>> ------------------------------------------
>> [...truncated 6051 lines...]
>>      [tar] Entry:
>> harmony-5.0-hdk-882806/build/test/x-net/resources/serialization/org/apache/harmony/xnet/tests/javax/net/ssl/serialization/HandshakeCompletedEventTest.golden.0.ser
>> longer than 100 characters.
>>      [tar] Entry:
>> harmony-5.0-hdk-882806/build/test/x-net/resources/serialization/org/apache/harmony/xnet/tests/javax/net/ssl/serialization/SSLExceptionTest.golden.0.ser
>> longer than 100 characters.
>>      [tar] Entry:
>> harmony-5.0-hdk-882806/build/test/x-net/resources/serialization/org/apache/harmony/xnet/tests/javax/net/ssl/serialization/SSLExceptionTest.golden.1.ser
>> longer than 100 characters.
>>      [tar] Entry:
>> harmony-5.0-hdk-882806/build/test/x-net/resources/serialization/org/apache/harmony/xnet/tests/javax/net/ssl/serialization/SSLExceptionTest.golden.2.ser
>> longer than 100 characters.
>>      [tar] Entry:
>> harmony-5.0-hdk-882806/build/test/x-net/resources/serialization/org/apache/harmony/xnet/tests/javax/net/ssl/serialization/SSLExceptionTest.golden.3.ser
>> longer than 100 characters.
>>      [tar] Entry:
>> harmony-5.0-hdk-882806/build/test/x-net/resources/serialization/org/apache/harmony/xnet/tests/javax/net/ssl/serialization/SSLExceptionTest.golden.4.ser
>> longer than 100 characters.
>>      [tar] Entry:
>> harmony-5.0-hdk-882806/build/test/x-net/resources/serialization/org/apache/harmony/xnet/tests/javax/net/ssl/serialization/SSLHandshakeExceptionTest.golden.0.ser
>> longer than 100 characters.
>>      [tar] Entry:
>> harmony-5.0-hdk-882806/build/test/x-net/resources/serialization/org/apache/harmony/xnet/tests/javax/net/ssl/serialization/SSLHandshakeExceptionTest.golden.1.ser
>> longer than 100 characters.
>>      [tar] Entry:
>> harmony-5.0-hdk-882806/build/test/x-net/resources/serialization/org/apache/harmony/xnet/tests/javax/net/ssl/serialization/SSLHandshakeExceptionTest.golden.2.ser
>> longer than 100 characters.
>>      [tar] Entry:
>> harmony-5.0-hdk-882806/build/test/x-net/resources/serialization/org/apache/harmony/xnet/tests/javax/net/ssl/serialization/SSLKeyExceptionTest.golden.0.ser
>> longer than 100 characters.
>>      [tar] Entry:
>> harmony-5.0-hdk-882806/build/test/x-net/resources/serialization/org/apache/harmony/xnet/tests/javax/net/ssl/serialization/SSLKeyExceptionTest.golden.1.ser
>> longer than 100 characters.
>>      [tar] Entry:
>> harmony-5.0-hdk-882806/build/test/x-net/resources/serialization/org/apache/harmony/xnet/tests/javax/net/ssl/serialization/SSLKeyExceptionTest.golden.2.ser
>> longer than 100 characters.
>>      [tar] Entry:
>> harmony-5.0-hdk-882806/build/test/x-net/resources/serialization/org/apache/harmony/xnet/tests/javax/net/ssl/serialization/SSLPeerUnverifiedExceptionTest.golden.0.ser
>> longer than 100 characters.
>>      [tar] Entry:
>> harmony-5.0-hdk-882806/build/test/x-net/resources/serialization/org/apache/harmony/xnet/tests/javax/net/ssl/serialization/SSLPeerUnverifiedExceptionTest.golden.1.ser
>> longer than 100 characters.
>>      [tar] Entry:
>> harmony-5.0-hdk-882806/build/test/x-net/resources/serialization/org/apache/harmony/xnet/tests/javax/net/ssl/serialization/SSLPeerUnverifiedExceptionTest.golden.2.ser
>> longer than 100 characters.
>>      [tar] Entry:
>> harmony-5.0-hdk-882806/build/test/x-net/resources/serialization/org/apache/harmony/xnet/tests/javax/net/ssl/serialization/SSLProtocolExceptionTest.golden.0.ser
>> longer than 100 characters.
>>      [tar] Entry:
>> harmony-5.0-hdk-882806/build/test/x-net/resources/serialization/org/apache/harmony/xnet/tests/javax/net/ssl/serialization/SSLProtocolExceptionTest.golden.1.ser
>> longer than 100 characters.
>>      [tar] Entry:
>> harmony-5.0-hdk-882806/build/test/x-net/resources/serialization/org/apache/harmony/xnet/tests/javax/net/ssl/serialization/SSLProtocolExceptionTest.golden.2.ser
>> longer than 100 characters.
>>      [tar] Entry:
>> harmony-5.0-hdk-882806/build/test/x-net/resources/serialization/org/apache/harmony/xnet/tests/javax/net/ssl/serialization/SSLSessionBindingEventTest.golden.0.ser
>> longer than 100 characters.
>>
>> bundle-hdk-zip:
>>
>> bundle-hdk:
>>
>> assemble-jdk-doc:
>>     [copy] Copying 2 files to <
>> http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64/ws/harmony/target/hdk/jdk
>> >
>>
>> bundle-jdk-tgz:
>>      [tar] Building tar: <
>> http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64/563/artifact/harmony/target/apache-harmony-5.0-jdk-r882806-linux-x86_64-64-snapshot.tar.gz
>> >
>>
>> bundle-jdk-zip:
>>
>> bundle-jdk:
>>
>> assemble-jre-doc:
>>     [copy] Copying 2 files to <
>> http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64/ws/harmony/target/hdk/jdk/jre
>> >
>>
>> bundle-jre-tgz:
>>      [tar] Building tar: <
>> http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64/563/artifact/harmony/target/apache-harmony-5.0-jre-r882806-linux-x86_64-64-snapshot.tar.gz
>> >
>>
>> bundle-jre-zip:
>>
>> bundle-jre:
>>
>> snapshot:
>>
>> BUILD SUCCESSFUL
>> Total time: 15 minutes 24 seconds
>> Buildfile: build.xml
>>
>> -init-hdk:
>>     [copy] Copying 20 files to <
>> http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64/ws/harmony/working_classlib/deploy/build/make
>> >
>>
>> test:
>>     [echo]     [echo] ========================================
>>     [echo] Testing class libraries...
>>     [echo] ========================================
>>
>> clean-test-output:
>>
>> test-jar-init:
>>
>> copy-test-resources:
>>
>> check-support-jars:
>>     [copy] Copying 1 file to <
>> http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64/ws/harmony/working_classlib/make
>> >
>>   [delete] Deleting: <
>> http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64/ws/harmony/working_classlib/make/depends.properties.ascii
>> >
>>
>> -check:
>>     [echo] Checking for depends/jars/xalan-j_2.7.0/xalan.orig.jar
>>     [echo] Checking for depends/jars/xerces_2.9.1/xerces.zip
>>     [echo] Checking for depends/jars/junit_4.6/junit-4.6.jar
>>     [echo] Checking for
>> depends/jars/hamcrest-library_1.1/hamcrest-library-1.1.jar
>>     [echo] Checking for depends/oss/findbugs-1.3.9/findbugs-1.3.9.zip
>>     [echo] Checking for depends/jars/bcprov-jdk15-144/bcprov.jar
>>     [echo] Checking for depends/jars/jetty/jetty-6.0.0.jar
>>     [echo] Checking for depends/jars/jetty/jetty-util-6.0.0.jar
>>     [echo] Checking for depends/jars/jetty/servlet-api-2.5-6.0.0.jar
>>     [echo] Checking for depends/jars/icu4j_4.2.1/icu4j-4_2_1.jar
>>     [echo] Checking for depends/jars/icu4j_4.2.1/icu4j-charsets-4_2_1.jar
>>
>> -check-win:
>>
>> -extract-props:
>>
>> -extract-xerces:
>>
>> -fix-xalan-manifest:
>>
>> -extract-findbugs:
>>
>> -extract:
>>
>> check:
>>
>> compile-support:
>>
>> support-jar:
>>      [jar] Building jar: <
>> http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64/ws/harmony/working_classlib/deploy/build/test/support.jar
>> >
>>
>> -get-test-vm-output:
>>
>> test-jre-vm-info:
>>     [echo] java -version
>>     [echo] Apache Harmony Launcher : (c) Copyright 1991, 2009 The Apache
>> Software Foundation or its licensors, as applicable.
>>     [echo] java version "1.5.0"
>>     [echo] Apache Harmony (1.5.0)
>>     [echo] DRLVM (11.2.0)
>>     [echo] pre-alpha : not complete or compatible
>>     [echo] svn = r882806, (Nov 21 2009), Linux/em64t/gcc 4.3.2, release
>> build
>>     [echo] http://harmony.apache.org
>>     [echo] hy.test.vm.name = drl
>>
>> test-modules:
>>     [echo] polling pack200/*.xml
>>     [copy] Copying 1 file to <
>> http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64/ws/harmony/working_classlib/modules/pack200/make
>> >
>>   [delete] Deleting: <
>> http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64/ws/harmony/working_classlib/modules/pack200/make/depends.properties.ascii
>> >
>>
>> check-depends:
>>     [echo] Checking for <
>> http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64/ws/harmony/working_classlib/depends/jars/asm-3.1/asm-3.1.jar
>> >
>>
>> compile-java:
>>     [echo] Compiling pack200 classes
>>
>> svn-info:
>>
>> class-patternset:
>>
>> build-jar:
>>      [jar] Building jar: <
>> http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64/ws/harmony/working_classlib/deploy/jdk/jre/lib/boot/pack200.jar
>> >
>>      [jar] Building jar: <
>> http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64/ws/harmony/working_classlib/deploy/jdk/jre/lib/boot/pack200-src.jar
>> >
>>
>> build:
>>
>> compile-tests:
>>     [echo] Compiling pack200 tests
>>
>> test-jar:
>>      [jar] Building jar: <
>> http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64/ws/harmony/working_classlib/deploy/build/test/pack200/pack200_tests.jar
>> >
>>
>> run-tests:
>>
>> -get-test-vm-output:
>>
>> test-jre-vm-info:
>>     [echo] java -version
>>     [echo] Apache Harmony Launcher : (c) Copyright 1991, 2009 The Apache
>> Software Foundation or its licensors, as applicable.
>>     [echo] java version "1.5.0"
>>     [echo] Apache Harmony (1.5.0)
>>     [echo] DRLVM (11.2.0)
>>     [echo] pre-alpha : not complete or compatible
>>     [echo] svn = r882806, (Nov 21 2009), Linux/em64t/gcc 4.3.2, release
>> build
>>     [echo] http://harmony.apache.org
>>     [echo] hy.test.vm.name = drl
>>
>> test-module:
>>     [echo] Running pack200 Unit Test from pack200_tests.jar
>>     [echo] Tested jre: <
>> http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64/ws/harmony/target/hdk/jdk/jre/bin/java
>> >
>>    [mkdir] Created dir: <
>> http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64/ws/harmony/working_classlib/build/test_report
>> >
>>    [mkdir] Created dir: <
>> http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64/ws/harmony/working_classlib/deploy/build/test/pack200/temp/ant
>> >
>>    [mkdir] Created dir: <
>> http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64/ws/harmony/working_classlib/deploy/build/test/pack200/temp/tmpdir
>> >
>>    [mkdir] Created dir: <
>> http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64/ws/harmony/working_classlib/deploy/build/test/pack200/temp/user
>> >
>>    [junit] Running org.apache.harmony.pack200.tests.ArchiveTest
>>    [junit] Tests run: 10, Failures: 0, Errors: 4, Time elapsed: 8.723 sec
>>    [junit] TEST org.apache.harmony.pack200.tests.ArchiveTest FAILED
>>    [junit] Running org.apache.harmony.pack200.tests.BHSDCodecTest
>>    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.029 sec
>>    [junit] Running org.apache.harmony.pack200.tests.CodecEncodingTest
>>    [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0.012 sec
>>    [junit] Running org.apache.harmony.pack200.tests.CodecTest
>>    [junit] Tests run: 10, Failures: 0, Errors: 0, Time elapsed: 0.016 sec
>>    [junit] Running org.apache.harmony.pack200.tests.NewAttributeBandsTest
>>    [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 0.021 sec
>>    [junit] Running org.apache.harmony.pack200.tests.PopulationCodecTest
>>    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.006 sec
>>    [junit] Running org.apache.harmony.unpack200.tests.ArchiveTest
>>    [junit] Tests run: 9, Failures: 0, Errors: 1, Time elapsed: 0.934 sec
>>    [junit] TEST org.apache.harmony.unpack200.tests.ArchiveTest FAILED
>>    [junit] Running
>> org.apache.harmony.unpack200.tests.AttributeLayoutMapTest
>>    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.006 sec
>>    [junit] Running org.apache.harmony.unpack200.tests.AttributeLayoutTest
>>    [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 0.01 sec
>>    [junit] Running org.apache.harmony.unpack200.tests.BandSetTest
>>    [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 0.008 sec
>>    [junit] Running org.apache.harmony.unpack200.tests.BcBandsTest
>>    [junit] Tests run: 25, Failures: 0, Errors: 0, Time elapsed: 0.054 sec
>>    [junit] Running org.apache.harmony.unpack200.tests.CPUTF8Test
>>    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.008 sec
>>    [junit] Running org.apache.harmony.unpack200.tests.ClassBandsTest
>>    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.009 sec
>>    [junit] Running org.apache.harmony.unpack200.tests.ClassVersionTest
>>    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.007 sec
>>    [junit] Running org.apache.harmony.unpack200.tests.CodeAttributeTest
>>    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.008 sec
>>    [junit] Running org.apache.harmony.unpack200.tests.ICTupleTest
>>    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.006 sec
>>    [junit] Running
>> org.apache.harmony.unpack200.tests.SegmentConstantPoolArrayCacheTest
>>    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.007 sec
>>    [junit] Running
>> org.apache.harmony.unpack200.tests.SegmentConstantPoolTest
>>    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.007 sec
>>    [junit] Running org.apache.harmony.unpack200.tests.SegmentOptionsTest
>>    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.006 sec
>>    [junit] Running org.apache.harmony.unpack200.tests.SegmentTest
>>    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.013 sec
>>    [junit] Running org.apache.harmony.unpack200.tests.SegmentUtilsTest
>>    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.007 sec
>>    [junit] Running
>> org.apache.harmony.unpack200.tests.bytecode.ByteCodeTest
>>    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.006 sec
>>    [junit] Running
>> org.apache.harmony.unpack200.tests.bytecode.ClassFileEntryTest
>>    [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 0.012 sec
>>    [junit] Running
>> org.apache.harmony.unpack200.tests.bytecode.ConstantPoolTest
>>    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0.007 sec
>>    [junit] Tests FAILED
>>   [delete] Deleting directory <
>> http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64/ws/harmony/working_classlib/deploy/build/test/pack200/temp
>> >
>>
>> touch-failures-file:
>>
>> touch-errors-file:
>>
>> -test-module:
>>
>> -check-for-empty:
>>
>> -process-empty:
>>
>> process-empty:
>>
>> full-report:
>> [junitreport] Processing <
>> http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64/ws/harmony/working_classlib/build/test_report/TESTS-TestSuites.xml>
>> to /tmp/null1767584211
>> [junitreport] Loading stylesheet
>> jar:file:/usr/share/ant/lib/ant-junit.jar!/org/apache/tools/ant/taskdefs/optional/junit/xsl/junit-frames.xsl
>> [junitreport] Transform time: 6888ms
>> [junitreport] Deleting: /tmp/null1767584211
>>     [echo] The test report is in <
>> http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64/ws/harmony/working_classlib/build/test_report/html/index.html
>> >
>>
>> short-report:
>>
>> gen-report:
>>
>> check-test-result:
>>
>> BUILD FAILED
>> <
>> http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64/ws/harmony/working_classlib/build.xml>:181:
>> The following error occurred while executing this line:
>> <
>> http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64/ws/harmony/working_classlib/make/build-test.xml>:148:
>> There were test errors.
>>
>> Total time: 24 seconds
>> Archiving artifacts
>> Recording test results
>> Recording fingerprints
>>
>>
>>
>>
>
> --
> Oliver Deakin
> Unless stated otherwise above:
> IBM United Kingdom Limited - Registered in England and Wales with number
> 741598. Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire
> PO6 3AU
>
>