You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by Hiram Chirino <hi...@hiramchirino.com> on 2008/12/01 19:22:51 UTC

Is qpid/java trunk supposed to build without test failures?

Hi,

Is qpid/java trunk supposed to build without test failures?  I've
tried building on both OS X and Windows and the build fails with test
failures.  Are there any CI machines out there to see if my failures
match?

-- 
Regards,
Hiram

Blog: http://hiramchirino.com

Open Source SOA
http://open.iona.com

Re: Is qpid/java trunk supposed to build without test failures?

Posted by Hiram Chirino <hi...@hiramchirino.com>.
I've got a 32 bit Intel Core Due.. I don't think they make a Java 6
for it yet.  I think it's only for 64 bit machines. :(

On Tue, Dec 2, 2008 at 10:35 AM, Martin Ritchie <ri...@apache.org> wrote:
> 2008/12/2 Hiram Chirino <hi...@hiramchirino.com>:
>> So I can't build on OS X now due to the 1.6 requirement.. It built
>> fine on linux, but on windows it failed, on that pesky ConnectionTest:
>
> If you use JDK 1.6 on OS X then it should work ok, did so yesterday.
> Just for the record I'm running Leopard on Intel which IIRC includes a
> 1.6 JDK which is not the default but a 'ls -al /usr/bin/java' will
> show you where it would be. I don't have a Mac in the office so can
> check that for you later if you need.
>
> If you give me more details on your OS X environment then perhaps I
> can test it out as I have both PPC and intel boxes at home, though
> they may all be on Leopard.
>
> Regards
>
> Martin
>
>> test:
>>     [echo] Using config:default.testprofile
>>    [junit] Running org.apache.qpid.AMQExceptionTest
>>    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.453 sec
>>    [junit] Running org.apache.qpid.framing.AMQShortStringTest
>>    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0.032 sec
>>    [junit] Running org.apache.qpid.framing.BasicContentHeaderPropertiesTest
>>    [junit] Tests run: 18, Failures: 0, Errors: 0, Time elapsed: 0.125 sec
>>    [junit] Running org.apache.qpid.framing.PropertyFieldTableTest
>>    [junit] Tests run: 23, Failures: 0, Errors: 0, Time elapsed: 0.047 sec
>>    [junit] Running org.apache.qpid.pool.PoolingFilterTest
>>    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.125 sec
>>    [junit] Running org.apache.qpid.transport.ConnectionTest
>>
>> BUILD FAILED
>> C:\sandbox\qpid-trunk\java\build.xml:73: The following error occurred
>> while executing this line:
>> C:\sandbox\qpid-trunk\java\build.xml:54: The following error occurred
>> while executing this line:
>> C:\sandbox\qpid-trunk\java\module.xml:226: java.lang.OutOfMemoryError:
>> Java heap space
>>
>> Total time: 1 minute 16 seconds
>> C:\sandbox\qpid-trunk\java>ant test
>>
>>
>> On Mon, Dec 1, 2008 at 4:39 PM, Rafael Schloming <ra...@redhat.com> wrote:
>>> Hiram Chirino wrote:
>>>>
>>>> Ah thanks.. I just tried that and got:
>>>>
>>>> compile:
>>>>     [echo] Targeting : 1.5
>>>>    [javac] Compiling 268 source files to
>>>> /Users/chirino/sandbox/qpid-trunk/java/build/broker/classes
>>>>    [javac]
>>>> /Users/chirino/sandbox/qpid-trunk/java/broker/src/main/java/org/apache/qpid/server/ExtractResendAndRequeue.java:57:
>>>> method does not override a method from its superclass
>>>>    [javac]     @Override
>>>>    [javac]      ^
>>>>    [javac]
>>>> /Users/chirino/sandbox/qpid-trunk/java/broker/src/main/java/org/apache/qpid/server/ExtractResendAndRequeue.java:104:
>>>> method does not override a method from its superclass
>>>>    [javac]     @Override
>>>>    [javac]      ^
>>>>    [javac]
>>>> /Users/chirino/sandbox/qpid-trunk/java/broker/src/main/java/org/apache/qpid/server/subscription/SubscriptionImpl.java:82:
>>>> method does not override a method from its superclass
>>>>    [javac]         @Override
>>>>    [javac]          ^
>>>>    [javac]
>>>> /Users/chirino/sandbox/qpid-trunk/java/broker/src/main/java/org/apache/qpid/server/subscription/SubscriptionImpl.java:130:
>>>> method does not override a method from its superclass
>>>>    [javac]         @Override
>>>>    [javac]          ^
>>>>    [javac]
>>>> /Users/chirino/sandbox/qpid-trunk/java/broker/src/main/java/org/apache/qpid/server/subscription/SubscriptionImpl.java:200:
>>>> method does not override a method from its superclass
>>>>    [javac]         @Override
>>>>    [javac]          ^
>>>>    [javac] Note: Some input files use or override a deprecated API.
>>>>    [javac] Note: Recompile with -Xlint:deprecation for details.
>>>>    [javac] Note: Some input files use unchecked or unsafe operations.
>>>>    [javac] Note: Recompile with -Xlint:unchecked for details.
>>>>    [javac] 5 errors
>>>
>>> Are you building with Java 1.5? These days you need 1.6 or later to build
>>> the code. In particular @Override is being used on implementations of
>>> interface methods. This is permitted by Java 1.6 or later, but was illegal
>>> on Java 1.5.
>>>
>>> --Rafael
>>>
>>>
>>
>>
>>
>> --
>> Regards,
>> Hiram
>>
>> Blog: http://hiramchirino.com
>>
>> Open Source SOA
>> http://open.iona.com
>>
>
>
>
> --
> Martin Ritchie
>



-- 
Regards,
Hiram

Blog: http://hiramchirino.com

Open Source SOA
http://open.iona.com

Re: Is qpid/java trunk supposed to build without test failures?

Posted by Martin Ritchie <ri...@apache.org>.
2008/12/2 Hiram Chirino <hi...@hiramchirino.com>:
> So I can't build on OS X now due to the 1.6 requirement.. It built
> fine on linux, but on windows it failed, on that pesky ConnectionTest:

If you use JDK 1.6 on OS X then it should work ok, did so yesterday.
Just for the record I'm running Leopard on Intel which IIRC includes a
1.6 JDK which is not the default but a 'ls -al /usr/bin/java' will
show you where it would be. I don't have a Mac in the office so can
check that for you later if you need.

If you give me more details on your OS X environment then perhaps I
can test it out as I have both PPC and intel boxes at home, though
they may all be on Leopard.

Regards

Martin

> test:
>     [echo] Using config:default.testprofile
>    [junit] Running org.apache.qpid.AMQExceptionTest
>    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.453 sec
>    [junit] Running org.apache.qpid.framing.AMQShortStringTest
>    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0.032 sec
>    [junit] Running org.apache.qpid.framing.BasicContentHeaderPropertiesTest
>    [junit] Tests run: 18, Failures: 0, Errors: 0, Time elapsed: 0.125 sec
>    [junit] Running org.apache.qpid.framing.PropertyFieldTableTest
>    [junit] Tests run: 23, Failures: 0, Errors: 0, Time elapsed: 0.047 sec
>    [junit] Running org.apache.qpid.pool.PoolingFilterTest
>    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.125 sec
>    [junit] Running org.apache.qpid.transport.ConnectionTest
>
> BUILD FAILED
> C:\sandbox\qpid-trunk\java\build.xml:73: The following error occurred
> while executing this line:
> C:\sandbox\qpid-trunk\java\build.xml:54: The following error occurred
> while executing this line:
> C:\sandbox\qpid-trunk\java\module.xml:226: java.lang.OutOfMemoryError:
> Java heap space
>
> Total time: 1 minute 16 seconds
> C:\sandbox\qpid-trunk\java>ant test
>
>
> On Mon, Dec 1, 2008 at 4:39 PM, Rafael Schloming <ra...@redhat.com> wrote:
>> Hiram Chirino wrote:
>>>
>>> Ah thanks.. I just tried that and got:
>>>
>>> compile:
>>>     [echo] Targeting : 1.5
>>>    [javac] Compiling 268 source files to
>>> /Users/chirino/sandbox/qpid-trunk/java/build/broker/classes
>>>    [javac]
>>> /Users/chirino/sandbox/qpid-trunk/java/broker/src/main/java/org/apache/qpid/server/ExtractResendAndRequeue.java:57:
>>> method does not override a method from its superclass
>>>    [javac]     @Override
>>>    [javac]      ^
>>>    [javac]
>>> /Users/chirino/sandbox/qpid-trunk/java/broker/src/main/java/org/apache/qpid/server/ExtractResendAndRequeue.java:104:
>>> method does not override a method from its superclass
>>>    [javac]     @Override
>>>    [javac]      ^
>>>    [javac]
>>> /Users/chirino/sandbox/qpid-trunk/java/broker/src/main/java/org/apache/qpid/server/subscription/SubscriptionImpl.java:82:
>>> method does not override a method from its superclass
>>>    [javac]         @Override
>>>    [javac]          ^
>>>    [javac]
>>> /Users/chirino/sandbox/qpid-trunk/java/broker/src/main/java/org/apache/qpid/server/subscription/SubscriptionImpl.java:130:
>>> method does not override a method from its superclass
>>>    [javac]         @Override
>>>    [javac]          ^
>>>    [javac]
>>> /Users/chirino/sandbox/qpid-trunk/java/broker/src/main/java/org/apache/qpid/server/subscription/SubscriptionImpl.java:200:
>>> method does not override a method from its superclass
>>>    [javac]         @Override
>>>    [javac]          ^
>>>    [javac] Note: Some input files use or override a deprecated API.
>>>    [javac] Note: Recompile with -Xlint:deprecation for details.
>>>    [javac] Note: Some input files use unchecked or unsafe operations.
>>>    [javac] Note: Recompile with -Xlint:unchecked for details.
>>>    [javac] 5 errors
>>
>> Are you building with Java 1.5? These days you need 1.6 or later to build
>> the code. In particular @Override is being used on implementations of
>> interface methods. This is permitted by Java 1.6 or later, but was illegal
>> on Java 1.5.
>>
>> --Rafael
>>
>>
>
>
>
> --
> Regards,
> Hiram
>
> Blog: http://hiramchirino.com
>
> Open Source SOA
> http://open.iona.com
>



-- 
Martin Ritchie

Re: Is qpid/java trunk supposed to build without test failures?

Posted by Martin Ritchie <ri...@apache.org>.
2008/12/2 Martin Ritchie <ri...@apache.org>:
> Hi Hiram,
>
> I guess I hadn't run ant test before, mainly as I was looking to make
> a Mac OS X JMX Console build. So I too see the ConnectionTest failing
> but I have a fix and new get a clean build.
>
> I'll commit the fixes directly.
>
> Cheers
> Martin
>
> 2008/12/2 Hiram Chirino <hi...@hiramchirino.com>:
>> I'm just running: ant test
>> Do I need to start up an external broker before doing that?  I was
>> assuming the Java tests start java brokers automatically.
>>
>> Ah good idea about the ant report.  But I'd still recommend you guys
>> get rid of the log messages getting spewed to the console during the
>> tests.
>>
>> What kind of machine you running your tests on?
>>
>> On Tue, Dec 2, 2008 at 12:29 PM, Aidan Skinner <ai...@apache.org> wrote:
>>> On Tue, Dec 2, 2008 at 5:04 PM, Hiram Chirino <hi...@hiramchirino.com> wrote:
>>>
>>>> After setting the ANT_OPTS="-Xmx1024M" I got a little further.  The
>>>> ConnectionTest still failed and furthermore I started getting a bunch
>>>> of IoSender and IoReceiver log messages which quickly started to
>>>> scroll the test results off my console buffer.  If those are not
>>>> errors, could they be removed from the test output?  It's going to be
>>>> hard to review the Test results with all that output being generated.
>>>
>>> I don't get those errors using ant test, are you running against the
>>> c++ or java brokers externally?
>>>
>>> FWIW you can use ant report to get nice html reports in build/report/index.html.
>>>
>>> - Aidan
>>> --
>>> Apache Qpid - World Domination through Advanced Message Queueing
>>> http://cwiki.apache.org/qpid
>>> "Have we anything resembling a plan?" "Mm-hm. Ride till we find
>>> them... and kill them all." - The 13th Warrior
>>>
>>
>>
>>
>> --
>> Regards,
>> Hiram
>>
>> Blog: http://hiramchirino.com
>>
>> Open Source SOA
>> http://open.iona.com
>>
>
>
>
> --
> Martin Ritchie

Hiram,

Give the build on OS X a try now it works for me on my C2D MacBook
with 10.5.5 and Java 5. It took a "ant clean build, ant , any"  to get
past the Selector generation and compilation which we originally
borrowed from ActiveMQ. If you have a fix for this that would be
great. I believe this issue has been JIRA'd but I'll check on that in
the morning.

Other than that I don't see any errors on the Default(invm) or java
test profiles, cpp profile will have to wait till I have more time to
port the C++ broker :) though I suppose I could get a

Its on my list of fun stuff to do thought I'd prefer to make more
integration apps.. like System Preferences, and really I should do
something 'more fun' at home to draw a line between work and play.
-- 
Martin Ritchie

Re: Is qpid/java trunk supposed to build without test failures?

Posted by Martin Ritchie <ri...@apache.org>.
Hi Hiram,

I guess I hadn't run ant test before, mainly as I was looking to make
a Mac OS X JMX Console build. So I too see the ConnectionTest failing
but I have a fix and new get a clean build.

I'll commit the fixes directly.

Cheers
Martin

2008/12/2 Hiram Chirino <hi...@hiramchirino.com>:
> I'm just running: ant test
> Do I need to start up an external broker before doing that?  I was
> assuming the Java tests start java brokers automatically.
>
> Ah good idea about the ant report.  But I'd still recommend you guys
> get rid of the log messages getting spewed to the console during the
> tests.
>
> What kind of machine you running your tests on?
>
> On Tue, Dec 2, 2008 at 12:29 PM, Aidan Skinner <ai...@apache.org> wrote:
>> On Tue, Dec 2, 2008 at 5:04 PM, Hiram Chirino <hi...@hiramchirino.com> wrote:
>>
>>> After setting the ANT_OPTS="-Xmx1024M" I got a little further.  The
>>> ConnectionTest still failed and furthermore I started getting a bunch
>>> of IoSender and IoReceiver log messages which quickly started to
>>> scroll the test results off my console buffer.  If those are not
>>> errors, could they be removed from the test output?  It's going to be
>>> hard to review the Test results with all that output being generated.
>>
>> I don't get those errors using ant test, are you running against the
>> c++ or java brokers externally?
>>
>> FWIW you can use ant report to get nice html reports in build/report/index.html.
>>
>> - Aidan
>> --
>> Apache Qpid - World Domination through Advanced Message Queueing
>> http://cwiki.apache.org/qpid
>> "Have we anything resembling a plan?" "Mm-hm. Ride till we find
>> them... and kill them all." - The 13th Warrior
>>
>
>
>
> --
> Regards,
> Hiram
>
> Blog: http://hiramchirino.com
>
> Open Source SOA
> http://open.iona.com
>



-- 
Martin Ritchie

Re: Is qpid/java trunk supposed to build without test failures?

Posted by Hiram Chirino <hi...@hiramchirino.com>.
I'm just running: ant test
Do I need to start up an external broker before doing that?  I was
assuming the Java tests start java brokers automatically.

Ah good idea about the ant report.  But I'd still recommend you guys
get rid of the log messages getting spewed to the console during the
tests.

What kind of machine you running your tests on?

On Tue, Dec 2, 2008 at 12:29 PM, Aidan Skinner <ai...@apache.org> wrote:
> On Tue, Dec 2, 2008 at 5:04 PM, Hiram Chirino <hi...@hiramchirino.com> wrote:
>
>> After setting the ANT_OPTS="-Xmx1024M" I got a little further.  The
>> ConnectionTest still failed and furthermore I started getting a bunch
>> of IoSender and IoReceiver log messages which quickly started to
>> scroll the test results off my console buffer.  If those are not
>> errors, could they be removed from the test output?  It's going to be
>> hard to review the Test results with all that output being generated.
>
> I don't get those errors using ant test, are you running against the
> c++ or java brokers externally?
>
> FWIW you can use ant report to get nice html reports in build/report/index.html.
>
> - Aidan
> --
> Apache Qpid - World Domination through Advanced Message Queueing
> http://cwiki.apache.org/qpid
> "Have we anything resembling a plan?" "Mm-hm. Ride till we find
> them... and kill them all." - The 13th Warrior
>



-- 
Regards,
Hiram

Blog: http://hiramchirino.com

Open Source SOA
http://open.iona.com

Re: Is qpid/java trunk supposed to build without test failures?

Posted by Aidan Skinner <ai...@apache.org>.
On Tue, Dec 2, 2008 at 5:04 PM, Hiram Chirino <hi...@hiramchirino.com> wrote:

> After setting the ANT_OPTS="-Xmx1024M" I got a little further.  The
> ConnectionTest still failed and furthermore I started getting a bunch
> of IoSender and IoReceiver log messages which quickly started to
> scroll the test results off my console buffer.  If those are not
> errors, could they be removed from the test output?  It's going to be
> hard to review the Test results with all that output being generated.

I don't get those errors using ant test, are you running against the
c++ or java brokers externally?

FWIW you can use ant report to get nice html reports in build/report/index.html.

- Aidan
-- 
Apache Qpid - World Domination through Advanced Message Queueing
http://cwiki.apache.org/qpid
"Have we anything resembling a plan?" "Mm-hm. Ride till we find
them... and kill them all." - The 13th Warrior

Re: Is qpid/java trunk supposed to build without test failures?

Posted by Hiram Chirino <hi...@hiramchirino.com>.
After setting the ANT_OPTS="-Xmx1024M" I got a little further.  The
ConnectionTest still failed and furthermore I started getting a bunch
of IoSender and IoReceiver log messages which quickly started to
scroll the test results off my console buffer.  If those are not
errors, could they be removed from the test output?  It's going to be
hard to review the Test results with all that output being generated.

test:
     [echo] Using config:default.testprofile
    [junit] Running org.apache.qpid.AMQExceptionTest
    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 4.313 sec
    [junit] Running org.apache.qpid.framing.AMQShortStringTest
    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0 sec
    [junit] Running org.apache.qpid.framing.BasicContentHeaderPropertiesTest
    [junit] Tests run: 18, Failures: 0, Errors: 0, Time elapsed: 0.063 sec
    [junit] Running org.apache.qpid.framing.PropertyFieldTableTest
    [junit] Tests run: 23, Failures: 0, Errors: 0, Time elapsed: 0.016 sec
    [junit] Running org.apache.qpid.pool.PoolingFilterTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.016 sec
    [junit] Running org.apache.qpid.transport.ConnectionTest
    [junit] Tests run: 4, Failures: 0, Errors: 2, Time elapsed: 6.484 sec
    [junit] Test org.apache.qpid.transport.ConnectionTest FAILED
    [junit] Running org.apache.qpid.transport.GenTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.015 sec
    [junit] Running org.apache.qpid.transport.RangeSetTest
    [junit] Tests run: 12, Failures: 0, Errors: 0, Time elapsed: 0.015 sec
    [junit] Running org.apache.qpid.util.CommandLineParserTest
    [junit] Tests run: 22, Failures: 0, Errors: 0, Time elapsed: 0.031 sec
    [junit] Running org.apache.qpid.util.FileUtilsTest
    [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 0.063 sec
    [junit] Running org.apache.qpid.util.SerialTest
    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 5.625 sec
  [antcall] IoReceiver - localhost/127.0.0.1:12000 2008-12-02
12:00:48,609 DEBUG [transport.network.io.IoTransport]
default-SO_RCVBUF : 8192
  [antcall] IoReceiver - /127.0.0.1:4949 2008-12-02 12:00:48,609 DEBUG
[apache.qpid.transport.Connection] RECV: [conn:13579e0] AMQP.1 0-10
  [antcall] IoReceiver - localhost/127.0.0.1:12000 2008-12-02
12:00:48,609 DEBUG [transport.network.io.IoTransport]
default-SO_SNDBUF : 8192
IoReceiver - /127.0.0.1:4949 2008-12-02 12:00:48,609 DEBUG
[apache.qpid.transport.Connection] FLUSH: [conn:13579e0]
IoReceiver - /127.0.0.1:4949 2008-12-02 12:00:48,625 ERROR
[apache.qpid.transport.Connection] connection exception
org.apache.qpid.transport.ConnectionException: Software caused
connection abort: recv failed
        at org.apache.qpid.transport.Connection.exception(Connection.java:398)
        at org.apache.qpid.transport.network.Assembler.exception(Assembler.java:108)
        at org.apache.qpid.transport.network.InputHandler.exception(InputHandler.java:196)
        at org.apache.qpid.transport.network.io.IoReceiver.run(IoReceiver.java:128)
Caused by: java.net.SocketException: Software caused connection abort:
recv failed
        at java.net.SocketInputStream.socketRead0(Native Method)
        at java.net.SocketInputStream.read(SocketInputStream.java:129)
        at org.apache.qpid.transport.network.io.IoReceiver.run(IoReceiver.java:110)
IoSender - /127.0.0.1:4949 2008-12-02 12:00:48,625 ERROR
[transport.network.io.IoSender] error in write thread
java.net.SocketException: Software caused connection abort: socket write error
        at java.net.SocketOutputStream.socketWrite0(Native Method)
        at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
        at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
        at org.apache.qpid.transport.network.io.IoSender.run(IoSender.java:266)
IoReceiver - localhost/127.0.0.1:12000 2008-12-02 12:00:48,625 DEBUG
[apache.qpid.transport.Connection] SEND: [conn:112ce69] AMQP.1 0-10
IoReceiver - /127.0.0.1:4949 2008-12-02 12:00:48,625 DEBUG
[apache.qpid.transport.Connection] connection closed: conn:13579e0
Exception in thread "IoReceiver - localhost/127.0.0.1:12000"
org.apache.qpid.transport.ConnectionException: socket closed
IoReceiver - /127.0.0.1:4950 2008-12-02 12:00:48,625 DEBUG
[apache.qpid.transport.Connection] RECV: [conn:1ef4d69] AMQP.1 0-10
        at org.apache.qpid.transport.Connection.close(Connection.java:487)
IoReceiver - localhost/127.0.0.1:12000 2008-12-02 12:00:48,625 DEBUG
[apache.qpid.transport.Connection] connection closed: conn:112ce69
        at org.apache.qpid.transport.Connection.connect(Connection.java:186)
IoReceiver - /127.0.0.1:4950 2008-12-02 12:00:48,625 DEBUG
[apache.qpid.transport.Connection] SEND: [conn:1ef4d69] AMQP.1 0-10
        at org.apache.qpid.transport.Connection.connect(Connection.java:160)
IoReceiver - localhost/127.0.0.1:12000 2008-12-02 12:00:48,640 DEBUG
[transport.network.io.IoTransport] default-SO_RCVBUF : 8192
        at org.apache.qpid.transport.ConnectionTest$FailoverConnectionListener.closed(ConnectionTest.java:262)
IoReceiver - /127.0.0.1:4950 2008-12-02 12:00:48,640 DEBUG
[apache.qpid.transport.Connection] SEND: [conn:1ef4d69] ch=0
ConnectionStart(serverProperties=null, mechanisms=[], locales=[utf8])
        at org.apache.qpid.transport.Connection.closed(Connection.java:438)
IoReceiver - localhost/127.0.0.1:12000 2008-12-02 12:00:48,640 DEBUG
[transport.network.io.IoTransport] default-SO_SNDBUF : 8192
        at org.apache.qpid.transport.network.Assembler.closed(Assembler.java:113)
IoReceiver - /127.0.0.1:4950 2008-12-02 12:00:48,640 DEBUG
[apache.qpid.transport.Connection] FLUSH: [conn:1ef4d69]
        at org.apache.qpid.transport.network.InputHandler.closed(InputHandler.java:201)
IoReceiver - localhost/127.0.0.1:12000 2008-12-02 12:00:48,640 DEBUG
[transport.network.io.IoTransport] new-SO_RCVBUF : 65536
        at org.apache.qpid.transport.network.io.IoReceiver.run(IoReceiver.java:132)
IoSender - /127.0.0.1:4950 2008-12-02 12:00:48,640 ERROR
[transport.network.io.IoSender] error in write thread
Caused by: org.apache.qpid.transport.ConnectionException: socket closed
java.net.SocketException: Software caused connection abort: socket write error
        at org.apache.qpid.transport.Connection.exception(Connection.java:398)
        at java.net.SocketOutputStream.socketWrite0(Native Method)
        at org.apache.qpid.transport.network.Assembler.exception(Assembler.java:108)
        at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
        at org.apache.qpid.transport.network.InputHandler.exception(InputHandler.java:196)
        at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
        at org.apache.qpid.transport.network.io.IoReceiver.run(IoReceiver.java:128)
        at org.apache.qpid.transport.network.io.IoSender.run(IoSender.java:266)
Caused by: java.net.SocketException: socket closed
IoReceiver - /127.0.0.1:4950 2008-12-02 12:00:48,640 ERROR
[apache.qpid.transport.Connection] connection exception
        at java.net.SocketInputStream.socketRead0(Native Method)
org.apache.qpid.transport.ConnectionException: Software caused
connection abort: recv failed
        at java.net.SocketInputStream.read(SocketInputStream.java:129)
        at org.apache.qpid.transport.Connection.exception(Connection.java:398)
        at org.apache.qpid.transport.network.io.IoReceiver.run(IoReceiver.java:110)
        at org.apache.qpid.transport.network.Assembler.exception(Assembler.java:108)
        at org.apache.qpid.transport.network.InputHandler.exception(InputHandler.java:196)
        at org.apache.qpid.transport.network.io.IoReceiver.run(IoReceiver.java:128)
Caused by: java.net.SocketException: Software caused connection abort:
recv failed
        at java.net.SocketInputStream.socketRead0(Native Method)
        at java.net.SocketInputStream.read(SocketInputStream.java:129)
        at org.apache.qpid.transport.network.io.IoReceiver.run(IoReceiver.java:110)
IoReceiver - localhost/127.0.0.1:12000 2008-12-02 12:00:48,656 DEBUG
[transport.network.io.IoTransport] new-SO_SNDBUF : 65536
IoReceiver - /127.0.0.1:4950 2008-12-02 12:00:48,687 DEBUG
[apache.qpid.transport.Connection] connection closed: conn:1ef4d69
IoReceiver - localhost/127.0.0.1:12000 2008-12-02 12:00:48,687 DEBUG
[apache.qpid.transport.Connection] SEND: [conn:112ce69] AMQP.1 0-10
IoReceiver - /127.0.0.1:4951 2008-12-02 12:00:48,687 DEBUG
[apache.qpid.transport.Connection] RECV: [conn:1454096] AMQP.1 0-10
Exception in thread "IoReceiver - localhost/127.0.0.1:12000"
org.apache.qpid.transport.ConnectionException: socket closed
IoReceiver - localhost/127.0.0.1:12000 2008-12-02 12:00:48,687 DEBUG
[apache.qpid.transport.Connection] connection closed: conn:112ce69
        at org.apache.qpid.transport.Connection.close(Connection.java:487)
IoReceiver - /127.0.0.1:4951 2008-12-02 12:00:48,687 DEBUG
[apache.qpid.transport.Connection] SEND: [conn:1454096] AMQP.1 0-10
        at org.apache.qpid.transport.Connection.connect(Connection.java:186)
IoReceiver - localhost/127.0.0.1:12000 2008-12-02 12:00:48,703 DEBUG
[transport.network.io.IoTransport] default-SO_RCVBUF : 8192
        at org.apache.qpid.transport.Connection.connect(Connection.java:160)
IoReceiver - /127.0.0.1:4951 2008-12-02 12:00:48,703 DEBUG
[apache.qpid.transport.Connection] SEND: [conn:1454096] ch=0
ConnectionStart(serverProperties=null, mechanisms=[], locales=[utf8])
        at org.apache.qpid.transport.ConnectionTest$FailoverConnectionListener.closed(ConnectionTest.java:262)
IoReceiver - localhost/127.0.0.1:12000 2008-12-02 12:00:48,718 DEBUG
[transport.network.io.IoTransport] default-SO_SNDBUF : 8192
        at org.apache.qpid.transport.Connection.closed(Connection.java:438)
IoReceiver - /127.0.0.1:4951 2008-12-02 12:00:48,718 DEBUG
[apache.qpid.transport.Connection] FLUSH: [conn:1454096]
        at org.apache.qpid.transport.network.Assembler.closed(Assembler.java:113)
IoReceiver - localhost/127.0.0.1:12000 2008-12-02 12:00:48,718 DEBUG
[transport.network.io.IoTransport] new-SO_RCVBUF : 65536
        at org.apache.qpid.transport.network.InputHandler.closed(InputHandler.java:201)
IoSender - /127.0.0.1:4951 2008-12-02 12:00:48,718 ERROR
[transport.network.io.IoSender] error in write thread
        at org.apache.qpid.transport.network.io.IoReceiver.run(IoReceiver.java:132)
java.net.SocketException: Software caused connection abort: socket write error
Caused by: org.apache.qpid.transport.ConnectionException: socket closed
        at java.net.SocketOutputStream.socketWrite0(Native Method)
        at org.apache.qpid.transport.Connection.exception(Connection.java:398)
        at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
        at org.apache.qpid.transport.network.Assembler.exception(Assembler.java:108)
        at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
        at org.apache.qpid.transport.network.InputHandler.exception(InputHandler.java:196)
        at org.apache.qpid.transport.network.io.IoSender.run(IoSender.java:266)
        at org.apache.qpid.transport.network.io.IoReceiver.run(IoReceiver.java:128)
IoReceiver - /127.0.0.1:4951 2008-12-02 12:00:48,718 ERROR
[apache.qpid.transport.Connection] connection exception
   [import] Caused by: java.net.SocketException: socket closed
   [import] org.apache.qpid.transport.ConnectionException: Software
caused connection abort: recv failed

On Tue, Dec 2, 2008 at 9:59 AM, Marnie McCormack
<ma...@googlemail.com> wrote:
> Hi Hiram,
>
> Us XP-ers are few and far between on the Java side :-)
>
> If you set your ANT_OPTS to be a little more generous it'll build ok (I'm
> using ANT_OPTS="-Xmx1024M"). Not sure what the min amount is, but it builds
> successfully for me.
> Have plans to get an XP CI build setup shortly, but currently all Linux this
> end. It is on my list though ....
>
> Hth,
> Marnie
> On Tue, Dec 2, 2008 at 2:18 PM, Hiram Chirino <hi...@hiramchirino.com>wrote:
>
>> No.  But it seems it consistently happens on my WinXP machine.  Have
>> you tried it out?
>>
>> On Tue, Dec 2, 2008 at 9:10 AM, Aidan Skinner <ai...@apache.org> wrote:
>> > On Tue, Dec 2, 2008 at 2:05 PM, Hiram Chirino <hi...@hiramchirino.com>
>> wrote:
>> >
>> >> So I can't build on OS X now due to the 1.6 requirement.. It built
>> >> fine on linux, but on windows it failed, on that pesky ConnectionTest:
>> >
>> > Do you have a heap dump?
>> >
>> > - Aidan
>> > --
>> > Apache Qpid - World Domination through Advanced Message Queueing
>> > http://cwiki.apache.org/qpid
>> > "Have we anything resembling a plan?" "Mm-hm. Ride till we find
>> > them... and kill them all." - The 13th Warrior
>> >
>>
>>
>>
>>  --
>> Regards,
>> Hiram
>>
>> Blog: http://hiramchirino.com
>>
>> Open Source SOA
>> http://open.iona.com
>>
>



-- 
Regards,
Hiram

Blog: http://hiramchirino.com

Open Source SOA
http://open.iona.com

Re: Is qpid/java trunk supposed to build without test failures?

Posted by Marnie McCormack <ma...@googlemail.com>.
Hi Hiram,

Us XP-ers are few and far between on the Java side :-)

If you set your ANT_OPTS to be a little more generous it'll build ok (I'm
using ANT_OPTS="-Xmx1024M"). Not sure what the min amount is, but it builds
successfully for me.
Have plans to get an XP CI build setup shortly, but currently all Linux this
end. It is on my list though ....

Hth,
Marnie
On Tue, Dec 2, 2008 at 2:18 PM, Hiram Chirino <hi...@hiramchirino.com>wrote:

> No.  But it seems it consistently happens on my WinXP machine.  Have
> you tried it out?
>
> On Tue, Dec 2, 2008 at 9:10 AM, Aidan Skinner <ai...@apache.org> wrote:
> > On Tue, Dec 2, 2008 at 2:05 PM, Hiram Chirino <hi...@hiramchirino.com>
> wrote:
> >
> >> So I can't build on OS X now due to the 1.6 requirement.. It built
> >> fine on linux, but on windows it failed, on that pesky ConnectionTest:
> >
> > Do you have a heap dump?
> >
> > - Aidan
> > --
> > Apache Qpid - World Domination through Advanced Message Queueing
> > http://cwiki.apache.org/qpid
> > "Have we anything resembling a plan?" "Mm-hm. Ride till we find
> > them... and kill them all." - The 13th Warrior
> >
>
>
>
>  --
> Regards,
> Hiram
>
> Blog: http://hiramchirino.com
>
> Open Source SOA
> http://open.iona.com
>

Re: Is qpid/java trunk supposed to build without test failures?

Posted by Hiram Chirino <hi...@hiramchirino.com>.
No.  But it seems it consistently happens on my WinXP machine.  Have
you tried it out?

On Tue, Dec 2, 2008 at 9:10 AM, Aidan Skinner <ai...@apache.org> wrote:
> On Tue, Dec 2, 2008 at 2:05 PM, Hiram Chirino <hi...@hiramchirino.com> wrote:
>
>> So I can't build on OS X now due to the 1.6 requirement.. It built
>> fine on linux, but on windows it failed, on that pesky ConnectionTest:
>
> Do you have a heap dump?
>
> - Aidan
> --
> Apache Qpid - World Domination through Advanced Message Queueing
> http://cwiki.apache.org/qpid
> "Have we anything resembling a plan?" "Mm-hm. Ride till we find
> them... and kill them all." - The 13th Warrior
>



-- 
Regards,
Hiram

Blog: http://hiramchirino.com

Open Source SOA
http://open.iona.com

Re: Is qpid/java trunk supposed to build without test failures?

Posted by Aidan Skinner <ai...@apache.org>.
On Tue, Dec 2, 2008 at 2:05 PM, Hiram Chirino <hi...@hiramchirino.com> wrote:

> So I can't build on OS X now due to the 1.6 requirement.. It built
> fine on linux, but on windows it failed, on that pesky ConnectionTest:

Do you have a heap dump?

- Aidan
-- 
Apache Qpid - World Domination through Advanced Message Queueing
http://cwiki.apache.org/qpid
"Have we anything resembling a plan?" "Mm-hm. Ride till we find
them... and kill them all." - The 13th Warrior

Re: Is qpid/java trunk supposed to build without test failures?

Posted by Hiram Chirino <hi...@hiramchirino.com>.
So I can't build on OS X now due to the 1.6 requirement.. It built
fine on linux, but on windows it failed, on that pesky ConnectionTest:

test:
     [echo] Using config:default.testprofile
    [junit] Running org.apache.qpid.AMQExceptionTest
    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.453 sec
    [junit] Running org.apache.qpid.framing.AMQShortStringTest
    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0.032 sec
    [junit] Running org.apache.qpid.framing.BasicContentHeaderPropertiesTest
    [junit] Tests run: 18, Failures: 0, Errors: 0, Time elapsed: 0.125 sec
    [junit] Running org.apache.qpid.framing.PropertyFieldTableTest
    [junit] Tests run: 23, Failures: 0, Errors: 0, Time elapsed: 0.047 sec
    [junit] Running org.apache.qpid.pool.PoolingFilterTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.125 sec
    [junit] Running org.apache.qpid.transport.ConnectionTest

BUILD FAILED
C:\sandbox\qpid-trunk\java\build.xml:73: The following error occurred
while executing this line:
C:\sandbox\qpid-trunk\java\build.xml:54: The following error occurred
while executing this line:
C:\sandbox\qpid-trunk\java\module.xml:226: java.lang.OutOfMemoryError:
Java heap space

Total time: 1 minute 16 seconds
C:\sandbox\qpid-trunk\java>ant test


On Mon, Dec 1, 2008 at 4:39 PM, Rafael Schloming <ra...@redhat.com> wrote:
> Hiram Chirino wrote:
>>
>> Ah thanks.. I just tried that and got:
>>
>> compile:
>>     [echo] Targeting : 1.5
>>    [javac] Compiling 268 source files to
>> /Users/chirino/sandbox/qpid-trunk/java/build/broker/classes
>>    [javac]
>> /Users/chirino/sandbox/qpid-trunk/java/broker/src/main/java/org/apache/qpid/server/ExtractResendAndRequeue.java:57:
>> method does not override a method from its superclass
>>    [javac]     @Override
>>    [javac]      ^
>>    [javac]
>> /Users/chirino/sandbox/qpid-trunk/java/broker/src/main/java/org/apache/qpid/server/ExtractResendAndRequeue.java:104:
>> method does not override a method from its superclass
>>    [javac]     @Override
>>    [javac]      ^
>>    [javac]
>> /Users/chirino/sandbox/qpid-trunk/java/broker/src/main/java/org/apache/qpid/server/subscription/SubscriptionImpl.java:82:
>> method does not override a method from its superclass
>>    [javac]         @Override
>>    [javac]          ^
>>    [javac]
>> /Users/chirino/sandbox/qpid-trunk/java/broker/src/main/java/org/apache/qpid/server/subscription/SubscriptionImpl.java:130:
>> method does not override a method from its superclass
>>    [javac]         @Override
>>    [javac]          ^
>>    [javac]
>> /Users/chirino/sandbox/qpid-trunk/java/broker/src/main/java/org/apache/qpid/server/subscription/SubscriptionImpl.java:200:
>> method does not override a method from its superclass
>>    [javac]         @Override
>>    [javac]          ^
>>    [javac] Note: Some input files use or override a deprecated API.
>>    [javac] Note: Recompile with -Xlint:deprecation for details.
>>    [javac] Note: Some input files use unchecked or unsafe operations.
>>    [javac] Note: Recompile with -Xlint:unchecked for details.
>>    [javac] 5 errors
>
> Are you building with Java 1.5? These days you need 1.6 or later to build
> the code. In particular @Override is being used on implementations of
> interface methods. This is permitted by Java 1.6 or later, but was illegal
> on Java 1.5.
>
> --Rafael
>
>



-- 
Regards,
Hiram

Blog: http://hiramchirino.com

Open Source SOA
http://open.iona.com

Re: Is qpid/java trunk supposed to build without test failures?

Posted by Martin Ritchie <ri...@apache.org>.
2008/12/2 Robert Godfrey <ro...@gmail.com>:
> 2008/12/2 Martin Ritchie <ri...@apache.org>:
>> Personally I think limiting to building on 1.6 is very annoying. I use
>> my Mac OS X box quite a bit and would rather use the default 1.5. I
>> would argue that we should remove the @Overide that are causing the
>> problem and are only used in the one interface. Small change for a big
>> win IMHO.
>>
>> Martin
>>
>
> I agree we should probably fix this - there's four files affected
> IIRC.  We still have the "having to build it twice to get it to
> succeed" bug for 1.5 builds even then.  I think we should tackle this
> for our next release (i.e. post M4).

Agreed

> note - the built code will run on 1.5 - it's purely changes (bugfixes)
> in the 1.6 compiler that mean these errors do not occur there.

Indeed, just took me a little longer in my ill state to get the MacOS
X 1.6 JDK installed and running, and could have done without the extra
pain, especially as paracetemol doesn't take that away. :)

> Cheers,
> Rob
>



-- 
Martin Ritchie

Re: Is qpid/java trunk supposed to build without test failures?

Posted by Robert Godfrey <ro...@gmail.com>.
2008/12/2 Martin Ritchie <ri...@apache.org>:
> Personally I think limiting to building on 1.6 is very annoying. I use
> my Mac OS X box quite a bit and would rather use the default 1.5. I
> would argue that we should remove the @Overide that are causing the
> problem and are only used in the one interface. Small change for a big
> win IMHO.
>
> Martin
>

I agree we should probably fix this - there's four files affected
IIRC.  We still have the "having to build it twice to get it to
succeed" bug for 1.5 builds even then.  I think we should tackle this
for our next release (i.e. post M4).

note - the built code will run on 1.5 - it's purely changes (bugfixes)
in the 1.6 compiler that mean these errors do not occur there.

Cheers,
Rob

Re: Is qpid/java trunk supposed to build without test failures?

Posted by Martin Ritchie <ri...@apache.org>.
Personally I think limiting to building on 1.6 is very annoying. I use
my Mac OS X box quite a bit and would rather use the default 1.5. I
would argue that we should remove the @Overide that are causing the
problem and are only used in the one interface. Small change for a big
win IMHO.

Martin

2008/12/1 Hiram Chirino <hi...@hiramchirino.com>:
> Yep.  You guys might want to add a readme type deal to avoid folks
> having these problems.
>
> On Mon, Dec 1, 2008 at 4:39 PM, Rafael Schloming <ra...@redhat.com> wrote:
>> Hiram Chirino wrote:
>>>
>>> Ah thanks.. I just tried that and got:
>>>
>>> compile:
>>>     [echo] Targeting : 1.5
>>>    [javac] Compiling 268 source files to
>>> /Users/chirino/sandbox/qpid-trunk/java/build/broker/classes
>>>    [javac]
>>> /Users/chirino/sandbox/qpid-trunk/java/broker/src/main/java/org/apache/qpid/server/ExtractResendAndRequeue.java:57:
>>> method does not override a method from its superclass
>>>    [javac]     @Override
>>>    [javac]      ^
>>>    [javac]
>>> /Users/chirino/sandbox/qpid-trunk/java/broker/src/main/java/org/apache/qpid/server/ExtractResendAndRequeue.java:104:
>>> method does not override a method from its superclass
>>>    [javac]     @Override
>>>    [javac]      ^
>>>    [javac]
>>> /Users/chirino/sandbox/qpid-trunk/java/broker/src/main/java/org/apache/qpid/server/subscription/SubscriptionImpl.java:82:
>>> method does not override a method from its superclass
>>>    [javac]         @Override
>>>    [javac]          ^
>>>    [javac]
>>> /Users/chirino/sandbox/qpid-trunk/java/broker/src/main/java/org/apache/qpid/server/subscription/SubscriptionImpl.java:130:
>>> method does not override a method from its superclass
>>>    [javac]         @Override
>>>    [javac]          ^
>>>    [javac]
>>> /Users/chirino/sandbox/qpid-trunk/java/broker/src/main/java/org/apache/qpid/server/subscription/SubscriptionImpl.java:200:
>>> method does not override a method from its superclass
>>>    [javac]         @Override
>>>    [javac]          ^
>>>    [javac] Note: Some input files use or override a deprecated API.
>>>    [javac] Note: Recompile with -Xlint:deprecation for details.
>>>    [javac] Note: Some input files use unchecked or unsafe operations.
>>>    [javac] Note: Recompile with -Xlint:unchecked for details.
>>>    [javac] 5 errors
>>
>> Are you building with Java 1.5? These days you need 1.6 or later to build
>> the code. In particular @Override is being used on implementations of
>> interface methods. This is permitted by Java 1.6 or later, but was illegal
>> on Java 1.5.
>>
>> --Rafael
>>
>>
>
>
>
> --
> Regards,
> Hiram
>
> Blog: http://hiramchirino.com
>
> Open Source SOA
> http://open.iona.com
>



-- 
Martin Ritchie

Re: Is qpid/java trunk supposed to build without test failures?

Posted by Hiram Chirino <hi...@hiramchirino.com>.
Yep.  You guys might want to add a readme type deal to avoid folks
having these problems.

On Mon, Dec 1, 2008 at 4:39 PM, Rafael Schloming <ra...@redhat.com> wrote:
> Hiram Chirino wrote:
>>
>> Ah thanks.. I just tried that and got:
>>
>> compile:
>>     [echo] Targeting : 1.5
>>    [javac] Compiling 268 source files to
>> /Users/chirino/sandbox/qpid-trunk/java/build/broker/classes
>>    [javac]
>> /Users/chirino/sandbox/qpid-trunk/java/broker/src/main/java/org/apache/qpid/server/ExtractResendAndRequeue.java:57:
>> method does not override a method from its superclass
>>    [javac]     @Override
>>    [javac]      ^
>>    [javac]
>> /Users/chirino/sandbox/qpid-trunk/java/broker/src/main/java/org/apache/qpid/server/ExtractResendAndRequeue.java:104:
>> method does not override a method from its superclass
>>    [javac]     @Override
>>    [javac]      ^
>>    [javac]
>> /Users/chirino/sandbox/qpid-trunk/java/broker/src/main/java/org/apache/qpid/server/subscription/SubscriptionImpl.java:82:
>> method does not override a method from its superclass
>>    [javac]         @Override
>>    [javac]          ^
>>    [javac]
>> /Users/chirino/sandbox/qpid-trunk/java/broker/src/main/java/org/apache/qpid/server/subscription/SubscriptionImpl.java:130:
>> method does not override a method from its superclass
>>    [javac]         @Override
>>    [javac]          ^
>>    [javac]
>> /Users/chirino/sandbox/qpid-trunk/java/broker/src/main/java/org/apache/qpid/server/subscription/SubscriptionImpl.java:200:
>> method does not override a method from its superclass
>>    [javac]         @Override
>>    [javac]          ^
>>    [javac] Note: Some input files use or override a deprecated API.
>>    [javac] Note: Recompile with -Xlint:deprecation for details.
>>    [javac] Note: Some input files use unchecked or unsafe operations.
>>    [javac] Note: Recompile with -Xlint:unchecked for details.
>>    [javac] 5 errors
>
> Are you building with Java 1.5? These days you need 1.6 or later to build
> the code. In particular @Override is being used on implementations of
> interface methods. This is permitted by Java 1.6 or later, but was illegal
> on Java 1.5.
>
> --Rafael
>
>



-- 
Regards,
Hiram

Blog: http://hiramchirino.com

Open Source SOA
http://open.iona.com

Re: Is qpid/java trunk supposed to build without test failures?

Posted by Rafael Schloming <ra...@redhat.com>.
Hiram Chirino wrote:
> Ah thanks.. I just tried that and got:
> 
> compile:
>      [echo] Targeting : 1.5
>     [javac] Compiling 268 source files to
> /Users/chirino/sandbox/qpid-trunk/java/build/broker/classes
>     [javac] /Users/chirino/sandbox/qpid-trunk/java/broker/src/main/java/org/apache/qpid/server/ExtractResendAndRequeue.java:57:
> method does not override a method from its superclass
>     [javac]     @Override
>     [javac]      ^
>     [javac] /Users/chirino/sandbox/qpid-trunk/java/broker/src/main/java/org/apache/qpid/server/ExtractResendAndRequeue.java:104:
> method does not override a method from its superclass
>     [javac]     @Override
>     [javac]      ^
>     [javac] /Users/chirino/sandbox/qpid-trunk/java/broker/src/main/java/org/apache/qpid/server/subscription/SubscriptionImpl.java:82:
> method does not override a method from its superclass
>     [javac]         @Override
>     [javac]          ^
>     [javac] /Users/chirino/sandbox/qpid-trunk/java/broker/src/main/java/org/apache/qpid/server/subscription/SubscriptionImpl.java:130:
> method does not override a method from its superclass
>     [javac]         @Override
>     [javac]          ^
>     [javac] /Users/chirino/sandbox/qpid-trunk/java/broker/src/main/java/org/apache/qpid/server/subscription/SubscriptionImpl.java:200:
> method does not override a method from its superclass
>     [javac]         @Override
>     [javac]          ^
>     [javac] Note: Some input files use or override a deprecated API.
>     [javac] Note: Recompile with -Xlint:deprecation for details.
>     [javac] Note: Some input files use unchecked or unsafe operations.
>     [javac] Note: Recompile with -Xlint:unchecked for details.
>     [javac] 5 errors

Are you building with Java 1.5? These days you need 1.6 or later to 
build the code. In particular @Override is being used on implementations 
of interface methods. This is permitted by Java 1.6 or later, but was 
illegal on Java 1.5.

--Rafael


Re: Is qpid/java trunk supposed to build without test failures?

Posted by Hiram Chirino <hi...@hiramchirino.com>.
Ah thanks.. I just tried that and got:

compile:
     [echo] Targeting : 1.5
    [javac] Compiling 268 source files to
/Users/chirino/sandbox/qpid-trunk/java/build/broker/classes
    [javac] /Users/chirino/sandbox/qpid-trunk/java/broker/src/main/java/org/apache/qpid/server/ExtractResendAndRequeue.java:57:
method does not override a method from its superclass
    [javac]     @Override
    [javac]      ^
    [javac] /Users/chirino/sandbox/qpid-trunk/java/broker/src/main/java/org/apache/qpid/server/ExtractResendAndRequeue.java:104:
method does not override a method from its superclass
    [javac]     @Override
    [javac]      ^
    [javac] /Users/chirino/sandbox/qpid-trunk/java/broker/src/main/java/org/apache/qpid/server/subscription/SubscriptionImpl.java:82:
method does not override a method from its superclass
    [javac]         @Override
    [javac]          ^
    [javac] /Users/chirino/sandbox/qpid-trunk/java/broker/src/main/java/org/apache/qpid/server/subscription/SubscriptionImpl.java:130:
method does not override a method from its superclass
    [javac]         @Override
    [javac]          ^
    [javac] /Users/chirino/sandbox/qpid-trunk/java/broker/src/main/java/org/apache/qpid/server/subscription/SubscriptionImpl.java:200:
method does not override a method from its superclass
    [javac]         @Override
    [javac]          ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 5 errors


On Mon, Dec 1, 2008 at 3:07 PM, Rafael Schloming <ra...@redhat.com> wrote:
> Hiram Chirino wrote:
>>
>> Just ran mvn install
>
> The maven build is no longer supported and should probably be removed to
> avoid such confusions. Try 'ant test' instead.
>
> --Rafael
>
>



-- 
Regards,
Hiram

Blog: http://hiramchirino.com

Open Source SOA
http://open.iona.com

Re: Is qpid/java trunk supposed to build without test failures?

Posted by Rafael Schloming <ra...@redhat.com>.
Hiram Chirino wrote:
> Just ran mvn install

The maven build is no longer supported and should probably be removed to 
avoid such confusions. Try 'ant test' instead.

--Rafael


Re: Is qpid/java trunk supposed to build without test failures?

Posted by Hiram Chirino <hi...@hiramchirino.com>.
Just ran mvn install

and got these failures:

org.apache.qpid.transport.ConnectionTest.txt:Tests run: 4, Failures:
3, Errors: 0, Skipped: 0, Time elapsed: 0.297 sec <<< FAILURE!
org.apache.qpid.transport.ConnectionTest.txt:testClosedNotificationAndWriteToClosed(org.apache.qpid.transport.ConnectionTest)
 Time elapsed: 0.009 sec  <<< FAILURE!
org.apache.qpid.transport.ConnectionTest.txt:testResumeNonemptyReplayBuffer(org.apache.qpid.transport.ConnectionTest)
 Time elapsed: 0.006 sec  <<< FAILURE!
org.apache.qpid.transport.ConnectionTest.txt:testResumeEmptyReplayBuffer(org.apache.qpid.transport.ConnectionTest)
 Time elapsed: 0.006 sec  <<< FAILURE!

Similar on WinXP.

On Mon, Dec 1, 2008 at 2:51 PM, Rafael Schloming <ra...@redhat.com> wrote:
> Hiram Chirino wrote:
>>
>> Hi,
>>
>> Is qpid/java trunk supposed to build without test failures?  I've
>> tried building on both OS X and Windows and the build fails with test
>> failures.  Are there any CI machines out there to see if my failures
>> match?
>
> Can you post a few details about how you ran the tests and which ones
> failed?
>
> --Rafael
>



-- 
Regards,
Hiram

Blog: http://hiramchirino.com

Open Source SOA
http://open.iona.com

Re: Is qpid/java trunk supposed to build without test failures?

Posted by Rafael Schloming <ra...@redhat.com>.
Hiram Chirino wrote:
> Hi,
> 
> Is qpid/java trunk supposed to build without test failures?  I've
> tried building on both OS X and Windows and the build fails with test
> failures.  Are there any CI machines out there to see if my failures
> match?

Can you post a few details about how you ran the tests and which ones 
failed?

--Rafael