Bug 709383

Summary: Several java unit tests fails in qpid-java-0.10-6
Product: Red Hat Enterprise MRG Reporter: Petr Matousek <pematous>
Component: qpid-javaAssignee: Rajith Attapattu <rattapat+nobody>
Status: CLOSED CURRENTRELEASE QA Contact: ppecka <ppecka>
Severity: unspecified Docs Contact:
Priority: medium    
Version: DevelopmentCC: gsim, iboverma, jross, ppecka
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-10 22:08:03 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
example unit test log none

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.