You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Keith Wall (JIRA)" <ji...@apache.org> on 2011/07/15 12:05:59 UTC

[jira] [Created] (QPID-3359) FailoverMethodTest.testNoFailover unreliable since QPID-2815

FailoverMethodTest.testNoFailover unreliable since QPID-2815
------------------------------------------------------------

                 Key: QPID-3359
                 URL: https://issues.apache.org/jira/browse/QPID-3359
             Project: Qpid
          Issue Type: Bug
            Reporter: Keith Wall
            Priority: Minor


FailoverMethodTest used to be inVM tests until QPID-2815, with removal of ivVM, converted the test to use QpidBrokerTestCase.  However, since then we notice this test fails on slower CI boxes.  It turns out the test design is *extremely* sensitive the length of time the broker takes to start up.  If broker startup is slightly too slow, the test fails, and 'spawn' profiles leave behind a broker process (causing subsequent tests to fail).

We will make the test a same-VM test to temporarily avoid the issue.  In long term, test needs redesigned to avoid the issue.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


[jira] [Assigned] (QPID-3359) FailoverMethodTest.testNoFailover unreliable since QPID-2815

Posted by "Keith Wall (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-3359?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Keith Wall reassigned QPID-3359:
--------------------------------

    Assignee: Robbie Gemmell  (was: Keith Wall)

> FailoverMethodTest.testNoFailover unreliable since QPID-2815
> ------------------------------------------------------------
>
>                 Key: QPID-3359
>                 URL: https://issues.apache.org/jira/browse/QPID-3359
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Tests
>    Affects Versions: 0.13
>            Reporter: Keith Wall
>            Assignee: Robbie Gemmell
>            Priority: Minor
>             Fix For: 0.13
>
>         Attachments: 0001-QPID-3359-revert-testNoFailover-to-run-in-same-vm-pr.patch
>
>
> FailoverMethodTest used to be inVM tests until QPID-2815, with removal of ivVM, converted the test to use QpidBrokerTestCase.  However, since then we notice this test fails on slower CI boxes.  It turns out the test design is *extremely* sensitive the length of time the broker takes to start up.  If broker startup is slightly too slow, the test fails, and 'spawn' profiles leave behind a broker process (causing subsequent tests to fail).
> We will make the test a same-VM test to temporarily avoid the issue.  In long term, test needs redesigned to avoid the issue.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


[jira] [Resolved] (QPID-3359) FailoverMethodTest.testNoFailover unreliable since QPID-2815

Posted by "Robbie Gemmell (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-3359?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robbie Gemmell resolved QPID-3359.
----------------------------------

    Resolution: Fixed

Patch applied.

> FailoverMethodTest.testNoFailover unreliable since QPID-2815
> ------------------------------------------------------------
>
>                 Key: QPID-3359
>                 URL: https://issues.apache.org/jira/browse/QPID-3359
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Tests
>    Affects Versions: 0.13
>            Reporter: Keith Wall
>            Assignee: Robbie Gemmell
>            Priority: Minor
>             Fix For: 0.13
>
>         Attachments: 0001-QPID-3359-revert-testNoFailover-to-run-in-same-vm-pr.patch
>
>
> FailoverMethodTest used to be inVM tests until QPID-2815, with removal of ivVM, converted the test to use QpidBrokerTestCase.  However, since then we notice this test fails on slower CI boxes.  It turns out the test design is *extremely* sensitive the length of time the broker takes to start up.  If broker startup is slightly too slow, the test fails, and 'spawn' profiles leave behind a broker process (causing subsequent tests to fail).
> We will make the test a same-VM test to temporarily avoid the issue.  In long term, test needs redesigned to avoid the issue.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


[jira] [Updated] (QPID-3359) FailoverMethodTest.testNoFailover unreliable since QPID-2815

Posted by "Keith Wall (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-3359?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Keith Wall updated QPID-3359:
-----------------------------

          Component/s: Java Tests
    Affects Version/s: 0.13
        Fix Version/s: 0.13
             Assignee: Keith Wall

> FailoverMethodTest.testNoFailover unreliable since QPID-2815
> ------------------------------------------------------------
>
>                 Key: QPID-3359
>                 URL: https://issues.apache.org/jira/browse/QPID-3359
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Tests
>    Affects Versions: 0.13
>            Reporter: Keith Wall
>            Assignee: Keith Wall
>            Priority: Minor
>             Fix For: 0.13
>
>
> FailoverMethodTest used to be inVM tests until QPID-2815, with removal of ivVM, converted the test to use QpidBrokerTestCase.  However, since then we notice this test fails on slower CI boxes.  It turns out the test design is *extremely* sensitive the length of time the broker takes to start up.  If broker startup is slightly too slow, the test fails, and 'spawn' profiles leave behind a broker process (causing subsequent tests to fail).
> We will make the test a same-VM test to temporarily avoid the issue.  In long term, test needs redesigned to avoid the issue.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


[jira] [Updated] (QPID-3359) FailoverMethodTest.testNoFailover unreliable since QPID-2815

Posted by "Keith Wall (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-3359?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Keith Wall updated QPID-3359:
-----------------------------

    Attachment: 0001-QPID-3359-revert-testNoFailover-to-run-in-same-vm-pr.patch

Hi Robbie. Here's a patch to resolve this issue.

> FailoverMethodTest.testNoFailover unreliable since QPID-2815
> ------------------------------------------------------------
>
>                 Key: QPID-3359
>                 URL: https://issues.apache.org/jira/browse/QPID-3359
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Tests
>    Affects Versions: 0.13
>            Reporter: Keith Wall
>            Assignee: Keith Wall
>            Priority: Minor
>             Fix For: 0.13
>
>         Attachments: 0001-QPID-3359-revert-testNoFailover-to-run-in-same-vm-pr.patch
>
>
> FailoverMethodTest used to be inVM tests until QPID-2815, with removal of ivVM, converted the test to use QpidBrokerTestCase.  However, since then we notice this test fails on slower CI boxes.  It turns out the test design is *extremely* sensitive the length of time the broker takes to start up.  If broker startup is slightly too slow, the test fails, and 'spawn' profiles leave behind a broker process (causing subsequent tests to fail).
> We will make the test a same-VM test to temporarily avoid the issue.  In long term, test needs redesigned to avoid the issue.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org