See <https://builds.apache.org/job/Qpid-Java-Java-Test-IBMJDK1.6/52/changes>

Changes:

[robbie] QPID-3936: disable the systests temporarily

[robbie] QPID-3911: Fix deadlock on concurrent invocation of 
MessageConsumer#close() and Session#rollback() from consumer MessageListener

This patch contains the following changes:
- Add synchronization on AMSession#_messageDeliveryLock into 
MessageConsumer#close() in order to block until message listener in progress 
has completed(as required in JMS javadoc for MessageConsumer#close()).
- Change the session dispatcher to stop messages delivery into consumer local 
message queue if the consumer in the process of closing. This eliminates the 
need to stop the dispatcher on rejecting pending messages for closing consumer.
- Remove the synchronization on the dispatcher lock from 
AMQSession.Dispatcher#rejectPending and code to stop the dispatcher, as we are 
synchronizing on the deliveryLock now and incoming messages are not dispatched 
into closing consumers anymore.
- Add a system test to reproduce the deadlock and verify its resolution.

Applied patch from Oleksandr Rudyy <[email protected]>

------------------------------------------
[...truncated 1883 lines...]
precompile-tests:

compile-tests:

jar-tests:

jar-sources:

libs:

copy-bin:

copy-etc:

postbuild:

build:

test:
     [echo] Running ant for module : management/example
   [delete] Deleting: 
<https://builds.apache.org/job/Qpid-Java-Java-Test-IBMJDK1.6/ws/trunk/qpid/java/build/scratch/test-java-mms.0-10.properties>

prepare:

precompile:

compile:
     [echo] Targeting : 1.5

jar.manifest:

jar.nomanifest:

jar:

precompile-tests:

compile-tests:

jar-tests:

jar-sources:

libs:

copy-bin:

copy-etc:

postbuild:

build:

test:
     [echo] Running ant for module : management/eclipse-plugin
   [delete] Deleting: 
<https://builds.apache.org/job/Qpid-Java-Java-Test-IBMJDK1.6/ws/trunk/qpid/java/build/scratch/test-java-mms.0-10.properties>

prepare:

copy-plugin-files:

check-version:

create-version:

precompile:

compile:
     [echo] Targeting : 1.5

jar.manifest:

jar.nomanifest:

jar:

precompile-tests:

compile-tests:

jar-tests:

jar-sources:

libs:

copy-bin:

copy-etc:

postbuild:

build:

test:
     [echo] Using profile:java-mms.0-10
    [junit] Running org.apache.qpid.management.ui.ApiVersionTest
    [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 0.099 sec
    [junit] Running org.apache.qpid.management.ui.ApplicationRegistryTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.02 sec
    [junit] Running org.apache.qpid.management.ui.ManagementConsoleTest
    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 1.12 sec
     [echo] Running ant for module : management/eclipse-plugin
   [delete] Deleting: 
<https://builds.apache.org/job/Qpid-Java-Java-Test-IBMJDK1.6/ws/trunk/qpid/java/build/scratch/test-java-mms.0-10.properties>

touch-failed:
     [echo] Running ant for module : jca
   [delete] Deleting: 
<https://builds.apache.org/job/Qpid-Java-Java-Test-IBMJDK1.6/ws/trunk/qpid/java/build/scratch/test-java-mms.0-10.properties>

prepare:

precompile:

compile:
     [echo] Targeting : 1.5

jar.manifest:

jar.nomanifest:

jar:

rar:

example-properties-file:

example-jars:

examples:

build:

precompile-tests:

compile-tests:
    [javac] Compiling 1 source file to 
<https://builds.apache.org/job/Qpid-Java-Java-Test-IBMJDK1.6/ws/trunk/qpid/java/build/scratch/jca/test/classes>

test:
     [echo] Using profile:java-mms.0-10
    [junit] Running org.apache.qpid.ra.QpidResourceAdapterTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.22 sec
     [echo] Running ant for module : jca
   [delete] Deleting: 
<https://builds.apache.org/job/Qpid-Java-Java-Test-IBMJDK1.6/ws/trunk/qpid/java/build/scratch/test-java-mms.0-10.properties>

touch-failed:
     [echo] Running ant for module : systests
   [delete] Deleting: 
<https://builds.apache.org/job/Qpid-Java-Java-Test-IBMJDK1.6/ws/trunk/qpid/java/build/scratch/test-java-mms.0-10.properties>

prepare:

precompile:

compile:
     [echo] Targeting : 1.5

jar.manifest:

jar.nomanifest:

jar:

precompile-tests:

compile-tests:

jar-tests:

jar-sources:

libs:

copy-bin:

copy-etc:

postbuild:

build:

test:
     [echo] Using profile:java-mms.0-10
    [junit] Running org.apache.qpid.client.AMQQueueDeferredOrderingTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 2.143 sec
    [junit] Running org.apache.qpid.client.AsynchMessageListenerTest
    [junit] Tests run: 9, Failures: 0, Errors: 0, Time elapsed: 2.308 sec
    [junit] Running org.apache.qpid.client.SessionCreateTest
    [junit] Tests run: 0, Failures: 0, Errors: 0, Time elapsed: 0.003 sec
    [junit] Running org.apache.qpid.client.SynchReceiveTest
    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 6.445 sec
    [junit] Running 
org.apache.qpid.client.failover.AddressBasedFailoverBehaviourTest
    [junit] Tests run: 30, Failures: 0, Errors: 0, Time elapsed: 106.627 sec
    [junit] Running org.apache.qpid.client.failover.FailoverBehaviourTest
    [junit] Tests run: 30, Failures: 0, Errors: 0, Time elapsed: 107.053 sec
    [junit] Running org.apache.qpid.client.message.AMQPEncodedMapMessageTest
    [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 0.812 sec
    [junit] Running org.apache.qpid.client.prefetch.PrefetchBehaviourTest
    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 5.407 sec
    [junit] Running org.apache.qpid.client.redelivered.RedeliveredMessageTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.147 sec
    [junit] Running org.apache.qpid.client.ssl.SSLTest
Build timed out (after 60 minutes). Marking the build as failed.
[locks-and-latches] Releasing all the locks
[locks-and-latches] All the locks released
    [junit] Running org.apache.qpid.util.Batch-With-Multiple-Tests
    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
    [junit] Tests FAILED (crashed)
     [echo] Running ant for module : systests
   [delete] Deleting: 
<https://builds.apache.org/job/Qpid-Java-Java-Test-IBMJDK1.6/ws/trunk/qpid/java/build/scratch/test-java-mms.0-10.properties>

touch-failed:
    [touch] Creating 
<https://builds.apache.org/job/Qpid-Java-Java-Test-IBMJDK1.6/ws/trunk/qpid/java/build/results/systests/FAILED>
    [touch] Creating 
<https://builds.apache.org/job/Qpid-Java-Java-Test-IBMJDK1.6/ws/trunk/qpid/java/build/results/FAILED>
     [echo] Running ant for module : perftests
   [delete] Deleting: 
<https://builds.apache.org/job/Qpid-Java-Java-Test-IBMJDK1.6/ws/trunk/qpid/java/build/scratch/test-java-mms.0-10.properties>

prepare:

precompile:

compile:
     [echo] Targeting : 1.5

jar.manifest:

jar.nomanifest:

jar:

precompile-tests:

compile-tests:

jar-tests:

jar-sources:

libs:

copy-bin:

copy-etc:

postbuild:

build:

test:
     [echo] Using profile:java-mms.0-10
Recording test results

Reply via email to