Bug 709383 - Several java unit tests fails in qpid-java-0.10-6
Summary: Several java unit tests fails in qpid-java-0.10-6
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: qpid-java
Version: Development
Hardware: Unspecified
OS: Unspecified
medium
unspecified
Target Milestone: ---
: ---
Assignee: Rajith Attapattu
QA Contact: ppecka
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-05-31 14:58 UTC by Petr Matousek
Modified: 2012-12-10 22:08 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-12-10 22:08:03 UTC
Target Upstream Version:


Attachments (Terms of Use)
example unit test log (87.92 KB, text/plain)
2011-05-31 14:58 UTC, Petr Matousek
no flags Details

Description Petr Matousek 2011-05-31 14:58:46 UTC
Created attachment 502017 [details]
example unit test log

Description of problem:

During the verification of Bug 697913 I have noticed that following unit tests for c++ broker fails. I've performed 12 unit test loops. Not all the errors occurs regularly, the count of failed results per OS x Arch can be found below in the brackets next to the failed test in the following order (RHEL5.6 x86_64/RHEL5.6 i386/RHEL6.1 x86_64/RHEL6.1 i386).

section: Running ant for module : common

[junit] TEST org.apache.qpid.transport.ConnectionTest FAILED (this test always fails)

section: Running ant for module : systests

[junit] TEST org.apache.qpid.test.client.QueueBrowserAutoAckTest FAILED  (11/10/8/10)
[junit] TEST org.apache.qpid.test.client.QueueBrowserClientAckTest FAILED (11/7/9/6)
[junit] TEST org.apache.qpid.test.client.QueueBrowserDupsOkTest FAILED (11/10/9/8)
[junit] TEST org.apache.qpid.test.client.QueueBrowserNoAckTest FAILED (9/9/10/9)
[junit] TEST org.apache.qpid.test.client.QueueBrowserPreAckTest FAILED (8/10/9/9)
[junit] TEST org.apache.qpid.test.client.QueueBrowserTransactedTest FAILED  (12/11/11/11)
[junit] TEST org.apache.qpid.test.client.destination.AddressBasedDestinationTest FAILED (6/4/4/1)

Version-Release number of selected component (if applicable):
qpid-java-0.10-6

other qpid packages installed:
python-qpid-0.10-1.el5
python-qpid-qmf-0.10-9.el5
qpid-cpp-client-0.10-7.el5
qpid-cpp-client-devel-0.10-7.el5
qpid-cpp-client-devel-docs-0.10-7.el5
qpid-cpp-client-rdma-0.10-7.el5
qpid-cpp-client-ssl-0.10-7.el5
qpid-cpp-mrg-debuginfo-0.10-7.el5
qpid-cpp-server-0.10-7.el5
qpid-cpp-server-cluster-0.10-7.el5
qpid-cpp-server-devel-0.10-7.el5
qpid-cpp-server-rdma-0.10-7.el5
qpid-cpp-server-ssl-0.10-7.el5
qpid-cpp-server-store-0.10-7.el5
qpid-cpp-server-xml-0.10-7.el5
qpid-java-client-0.10-6.el5
qpid-java-common-0.10-6.el5
qpid-java-example-0.10-6.el5
qpid-qmf-0.10-9.el5
qpid-qmf-devel-0.10-9.el5
qpid-tools-0.10-5.el5

How reproducible:
n/a

Steps to Reproduce:
1. rpmbuild --recompile qpid-java-0.10-6.el5.src.rpm
2. replace the "broker.executable" variable in cpp.testprofile with correct path to the installed broker executable.
3. ant test -Dprofile=cpp
  
Actual results:
Some of the unit tests fails

Expected results:
All the unit tests pass

Additional info:

example unit test log attached

Comment 1 Petr Matousek 2011-05-31 15:00:22 UTC
Feel free to fix this issue in 2.1

Comment 2 Rajith Attapattu 2012-01-26 23:52:22 UTC
I currently see only 2 test failures (1 error and 1 failure)

1. Errors AddressBasedDestinationTest#testDeleteOptions

2. Failure QueueBrowserTransactedTest#testFailoverWithQueueBrowser

I'm not too worried about the 1st one, but will look into the second one.

These tests were run on the 01.4-mrg-preview branch.

Petr can you confirm you see the same ?

Comment 4 Petr Matousek 2012-05-28 14:08:47 UTC
Confirmed, only tests mentioned in Comment 2 are currently failing.

Retested on RHEL6 x86_64, with MRG-2.1.2 (qpid-0.14) installed.


Note You need to log in before you can comment on or make changes to this bug.