You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bookkeeper.apache.org by "Ivan Kelly (JIRA)" <ji...@apache.org> on 2012/11/19 11:54:58 UTC

[jira] [Created] (BOOKKEEPER-467) Allocate ports for testing dynamically

Ivan Kelly created BOOKKEEPER-467:
-------------------------------------

             Summary: Allocate ports for testing dynamically
                 Key: BOOKKEEPER-467
                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-467
             Project: Bookkeeper
          Issue Type: Bug
            Reporter: Ivan Kelly
            Assignee: Ivan Kelly
             Fix For: 4.2.0


We're getting a lot of failures in jenkins because we use hardcoded ports. If another build is using these ports (jenkins runs builds in parallel), we get a failure. The ZooKeeper port is particularly bad as a lot of apache projects use zookeeper, and therefore use it for testing.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (BOOKKEEPER-467) Allocate ports for testing dynamically

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BOOKKEEPER-467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13501880#comment-13501880 ] 

Hadoop QA commented on BOOKKEEPER-467:
--------------------------------------

Testing JIRA BOOKKEEPER-467

Cleaning local git workspace

----------------------------

{color:green}+1 PATCH_APPLIES{color}
{color:green}+1 CLEAN{color}
{color:green}+1 RAW_PATCH_ANALYSIS{color}
.    {color:green}+1{color} the patch does not introduce any @author tags
.    {color:green}+1{color} the patch does not introduce any tabs
.    {color:green}+1{color} the patch does not introduce any trailing spaces
.    {color:green}+1{color} the patch does not introduce any line longer than 120
.    {color:green}+1{color} the patch does adds/modifies 28 testcase(s)
{color:green}+1 RAT{color}
.    {color:green}+1{color} the patch does not seem to introduce new RAT warnings
{color:green}+1 JAVADOC{color}
.    {color:green}+1{color} the patch does not seem to introduce new Javadoc warnings
.    {color:red}WARNING{color}: the current HEAD has 8 Javadoc warning(s)
{color:green}+1 COMPILE{color}
.    {color:green}+1{color} HEAD compiles
.    {color:green}+1{color} patch compiles
.    {color:green}+1{color} the patch does not seem to introduce new javac warnings
.    {color:red}WARNING{color}: the current HEAD has 9 javac warning(s)
{color:red}-1 TESTS{color}
.    Tests run: 409
.    Tests failed: 1
.    Tests errors: 1

.    The patch failed the following testcases:

.      testReadFromOpenLedgerOpenOnce[2](org.apache.bookkeeper.test.BookieReadWriteTest)

{color:green}+1 DISTRO{color}
.    {color:green}+1{color} distro tarball builds with the patch 

----------------------------
{color:red}*-1 Overall result, please check the reported -1(s)*{color}

{color:red}.   There is at least one warning, please check{color}

The full output of the test-patch run is available at

.   https://builds.apache.org/job/bookkeeper-trunk-precommit-build/17/
                
> Allocate ports for testing dynamically
> --------------------------------------
>
>                 Key: BOOKKEEPER-467
>                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-467
>             Project: Bookkeeper
>          Issue Type: Bug
>            Reporter: Ivan Kelly
>            Assignee: Ivan Kelly
>             Fix For: 4.2.0
>
>         Attachments: 0002-Allocate-ports-for-testing-dynamically-rather-than-h.patch
>
>
> We're getting a lot of failures in jenkins because we use hardcoded ports. If another build is using these ports (jenkins runs builds in parallel), we get a failure. The ZooKeeper port is particularly bad as a lot of apache projects use zookeeper, and therefore use it for testing.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (BOOKKEEPER-467) Allocate ports for testing dynamically

Posted by "Flavio Junqueira (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BOOKKEEPER-467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13502939#comment-13502939 ] 

Flavio Junqueira commented on BOOKKEEPER-467:
---------------------------------------------

+1, looks good.
                
> Allocate ports for testing dynamically
> --------------------------------------
>
>                 Key: BOOKKEEPER-467
>                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-467
>             Project: Bookkeeper
>          Issue Type: Bug
>            Reporter: Ivan Kelly
>            Assignee: Ivan Kelly
>             Fix For: 4.2.0
>
>         Attachments: 0001-Allocate-ports-for-testing-dynamically-rather-than-h.patch, 0001-Allocate-ports-for-testing-dynamically-rather-than-h.patch, 0001-Allocate-ports-for-testing-dynamically-rather-than-h.patch, 0001-Allocate-ports-for-testing-dynamically-rather-than-h.patch, 0002-Allocate-ports-for-testing-dynamically-rather-than-h.patch
>
>
> We're getting a lot of failures in jenkins because we use hardcoded ports. If another build is using these ports (jenkins runs builds in parallel), we get a failure. The ZooKeeper port is particularly bad as a lot of apache projects use zookeeper, and therefore use it for testing.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (BOOKKEEPER-467) Allocate ports for testing dynamically

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BOOKKEEPER-467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13502004#comment-13502004 ] 

Hadoop QA commented on BOOKKEEPER-467:
--------------------------------------

Testing JIRA BOOKKEEPER-467

Cleaning local git workspace

----------------------------

{color:green}+1 PATCH_APPLIES{color}
{color:green}+1 CLEAN{color}
{color:green}+1 RAW_PATCH_ANALYSIS{color}
.    {color:green}+1{color} the patch does not introduce any @author tags
.    {color:green}+1{color} the patch does not introduce any tabs
.    {color:green}+1{color} the patch does not introduce any trailing spaces
.    {color:green}+1{color} the patch does not introduce any line longer than 120
.    {color:green}+1{color} the patch does adds/modifies 29 testcase(s)
{color:green}+1 RAT{color}
.    {color:green}+1{color} the patch does not seem to introduce new RAT warnings
{color:green}+1 JAVADOC{color}
.    {color:green}+1{color} the patch does not seem to introduce new Javadoc warnings
.    {color:red}WARNING{color}: the current HEAD has 8 Javadoc warning(s)
{color:red}-1 COMPILE{color}
.    {color:green}+1{color} HEAD compiles
.    {color:red}-1{color} patch does not compile
.    {color:green}+1{color} the patch does not seem to introduce new javac warnings
.    {color:red}WARNING{color}: the current HEAD has 9 javac warning(s)
{color:red}-1 TESTS{color} - patch does not compile, cannot run testcases
{color:red}-1 DISTRO{color}
.    {color:red}-1{color} distro tarball fails with the patch

----------------------------
{color:red}*-1 Overall result, please check the reported -1(s)*{color}

{color:red}.   There is at least one warning, please check{color}

The full output of the test-patch run is available at

.   https://builds.apache.org/job/bookkeeper-trunk-precommit-build/18/
                
> Allocate ports for testing dynamically
> --------------------------------------
>
>                 Key: BOOKKEEPER-467
>                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-467
>             Project: Bookkeeper
>          Issue Type: Bug
>            Reporter: Ivan Kelly
>            Assignee: Ivan Kelly
>             Fix For: 4.2.0
>
>         Attachments: 0001-Allocate-ports-for-testing-dynamically-rather-than-h.patch, 0002-Allocate-ports-for-testing-dynamically-rather-than-h.patch
>
>
> We're getting a lot of failures in jenkins because we use hardcoded ports. If another build is using these ports (jenkins runs builds in parallel), we get a failure. The ZooKeeper port is particularly bad as a lot of apache projects use zookeeper, and therefore use it for testing.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (BOOKKEEPER-467) Allocate ports for testing dynamically

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BOOKKEEPER-467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13500945#comment-13500945 ] 

Hadoop QA commented on BOOKKEEPER-467:
--------------------------------------

Testing JIRA BOOKKEEPER-467

Cleaning local git workspace
                
> Allocate ports for testing dynamically
> --------------------------------------
>
>                 Key: BOOKKEEPER-467
>                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-467
>             Project: Bookkeeper
>          Issue Type: Bug
>            Reporter: Ivan Kelly
>            Assignee: Ivan Kelly
>             Fix For: 4.2.0
>
>         Attachments: 0002-Allocate-ports-for-testing-dynamically-rather-than-h.patch
>
>
> We're getting a lot of failures in jenkins because we use hardcoded ports. If another build is using these ports (jenkins runs builds in parallel), we get a failure. The ZooKeeper port is particularly bad as a lot of apache projects use zookeeper, and therefore use it for testing.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (BOOKKEEPER-467) Allocate ports for testing dynamically

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

Ivan Kelly updated BOOKKEEPER-467:
----------------------------------

    Attachment: 0001-Allocate-ports-for-testing-dynamically-rather-than-h.patch

Rebased to latest trunk. 
                
> Allocate ports for testing dynamically
> --------------------------------------
>
>                 Key: BOOKKEEPER-467
>                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-467
>             Project: Bookkeeper
>          Issue Type: Bug
>            Reporter: Ivan Kelly
>            Assignee: Ivan Kelly
>             Fix For: 4.2.0
>
>         Attachments: 0001-Allocate-ports-for-testing-dynamically-rather-than-h.patch, 0001-Allocate-ports-for-testing-dynamically-rather-than-h.patch, 0002-Allocate-ports-for-testing-dynamically-rather-than-h.patch
>
>
> We're getting a lot of failures in jenkins because we use hardcoded ports. If another build is using these ports (jenkins runs builds in parallel), we get a failure. The ZooKeeper port is particularly bad as a lot of apache projects use zookeeper, and therefore use it for testing.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (BOOKKEEPER-467) Allocate ports for testing dynamically

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

Ivan Kelly updated BOOKKEEPER-467:
----------------------------------

    Attachment: 0002-Allocate-ports-for-testing-dynamically-rather-than-h.patch
    
> Allocate ports for testing dynamically
> --------------------------------------
>
>                 Key: BOOKKEEPER-467
>                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-467
>             Project: Bookkeeper
>          Issue Type: Bug
>            Reporter: Ivan Kelly
>            Assignee: Ivan Kelly
>             Fix For: 4.2.0
>
>         Attachments: 0002-Allocate-ports-for-testing-dynamically-rather-than-h.patch
>
>
> We're getting a lot of failures in jenkins because we use hardcoded ports. If another build is using these ports (jenkins runs builds in parallel), we get a failure. The ZooKeeper port is particularly bad as a lot of apache projects use zookeeper, and therefore use it for testing.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (BOOKKEEPER-467) Allocate ports for testing dynamically

Posted by "Ivan Kelly (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BOOKKEEPER-467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13502068#comment-13502068 ] 

Ivan Kelly commented on BOOKKEEPER-467:
---------------------------------------

[~fpj] you applying with eclipse or patch? I would assume they'd act the same, though they haven't in the past.
                
> Allocate ports for testing dynamically
> --------------------------------------
>
>                 Key: BOOKKEEPER-467
>                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-467
>             Project: Bookkeeper
>          Issue Type: Bug
>            Reporter: Ivan Kelly
>            Assignee: Ivan Kelly
>             Fix For: 4.2.0
>
>         Attachments: 0001-Allocate-ports-for-testing-dynamically-rather-than-h.patch, 0001-Allocate-ports-for-testing-dynamically-rather-than-h.patch, 0002-Allocate-ports-for-testing-dynamically-rather-than-h.patch
>
>
> We're getting a lot of failures in jenkins because we use hardcoded ports. If another build is using these ports (jenkins runs builds in parallel), we get a failure. The ZooKeeper port is particularly bad as a lot of apache projects use zookeeper, and therefore use it for testing.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (BOOKKEEPER-467) Allocate ports for testing dynamically

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BOOKKEEPER-467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13503189#comment-13503189 ] 

Hudson commented on BOOKKEEPER-467:
-----------------------------------

Integrated in bookkeeper-trunk #813 (See [https://builds.apache.org/job/bookkeeper-trunk/813/])
    BOOKKEEPER-467: Allocate ports for testing dynamically (ivank) (Revision 1412818)

     Result = UNSTABLE
ivank : 
Files : 
* /zookeeper/bookkeeper/trunk/CHANGES.txt
* /zookeeper/bookkeeper/trunk/bookkeeper-benchmark/pom.xml
* /zookeeper/bookkeeper/trunk/bookkeeper-benchmark/src/test/java/org/apache/bookkeeper/benchmark/TestBenchmark.java
* /zookeeper/bookkeeper/trunk/bookkeeper-server/src/test/java/org/apache/bookkeeper/bookie/CookieTest.java
* /zookeeper/bookkeeper/trunk/bookkeeper-server/src/test/java/org/apache/bookkeeper/bookie/UpgradeTest.java
* /zookeeper/bookkeeper/trunk/bookkeeper-server/src/test/java/org/apache/bookkeeper/client/BookieRecoveryTest.java
* /zookeeper/bookkeeper/trunk/bookkeeper-server/src/test/java/org/apache/bookkeeper/meta/TestLedgerManager.java
* /zookeeper/bookkeeper/trunk/bookkeeper-server/src/test/java/org/apache/bookkeeper/test/BookKeeperClusterTestCase.java
* /zookeeper/bookkeeper/trunk/bookkeeper-server/src/test/java/org/apache/bookkeeper/test/BookieZKExpireTest.java
* /zookeeper/bookkeeper/trunk/bookkeeper-server/src/test/java/org/apache/bookkeeper/test/NIOServerFactoryTest.java
* /zookeeper/bookkeeper/trunk/bookkeeper-server/src/test/java/org/apache/bookkeeper/test/PortManager.java
* /zookeeper/bookkeeper/trunk/bookkeeper-server/src/test/java/org/apache/bookkeeper/test/TestBackwardCompat.java
* /zookeeper/bookkeeper/trunk/bookkeeper-server/src/test/java/org/apache/bookkeeper/test/ZooKeeperUtil.java
* /zookeeper/bookkeeper/trunk/hedwig-server/src/test/java/org/apache/hedwig/client/TestPubSubClient.java
* /zookeeper/bookkeeper/trunk/hedwig-server/src/test/java/org/apache/hedwig/client/netty/TestMultiplexing.java
* /zookeeper/bookkeeper/trunk/hedwig-server/src/test/java/org/apache/hedwig/server/HedwigHubTestBase.java
* /zookeeper/bookkeeper/trunk/hedwig-server/src/test/java/org/apache/hedwig/server/HedwigRegionTestBase.java
* /zookeeper/bookkeeper/trunk/hedwig-server/src/test/java/org/apache/hedwig/server/PubSubServerStandAloneTestBase.java
* /zookeeper/bookkeeper/trunk/hedwig-server/src/test/java/org/apache/hedwig/server/TestBackwardCompat.java
* /zookeeper/bookkeeper/trunk/hedwig-server/src/test/java/org/apache/hedwig/server/TestPubSubServerStartup.java
* /zookeeper/bookkeeper/trunk/hedwig-server/src/test/java/org/apache/hedwig/server/delivery/TestThrottlingDelivery.java
* /zookeeper/bookkeeper/trunk/hedwig-server/src/test/java/org/apache/hedwig/server/filter/TestMessageFilter.java
* /zookeeper/bookkeeper/trunk/hedwig-server/src/test/java/org/apache/hedwig/server/integration/TestHedwigHub.java
* /zookeeper/bookkeeper/trunk/hedwig-server/src/test/java/org/apache/hedwig/server/integration/TestHedwigRegion.java
* /zookeeper/bookkeeper/trunk/hedwig-server/src/test/java/org/apache/hedwig/server/netty/TestPubSubServer.java
* /zookeeper/bookkeeper/trunk/hedwig-server/src/test/java/org/apache/hedwig/server/persistence/BookKeeperTestBase.java
* /zookeeper/bookkeeper/trunk/hedwig-server/src/test/java/org/apache/hedwig/server/persistence/MessageBoundedPersistenceTest.java
* /zookeeper/bookkeeper/trunk/hedwig-server/src/test/java/org/apache/hedwig/server/persistence/TestDeadlock.java
* /zookeeper/bookkeeper/trunk/hedwig-server/src/test/java/org/apache/hedwig/server/subscriptions/TestUpdateSubscriptionState.java
* /zookeeper/bookkeeper/trunk/hedwig-server/src/test/java/org/apache/hedwig/server/topics/TestConcurrentTopicAcquisition.java
* /zookeeper/bookkeeper/trunk/hedwig-server/src/test/java/org/apache/hedwig/zookeeper/ZooKeeperTestBase.java

                
> Allocate ports for testing dynamically
> --------------------------------------
>
>                 Key: BOOKKEEPER-467
>                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-467
>             Project: Bookkeeper
>          Issue Type: Bug
>            Reporter: Ivan Kelly
>            Assignee: Ivan Kelly
>             Fix For: 4.2.0
>
>         Attachments: 0001-Allocate-ports-for-testing-dynamically-rather-than-h.patch, 0001-Allocate-ports-for-testing-dynamically-rather-than-h.patch, 0001-Allocate-ports-for-testing-dynamically-rather-than-h.patch, 0001-Allocate-ports-for-testing-dynamically-rather-than-h.patch, 0002-Allocate-ports-for-testing-dynamically-rather-than-h.patch
>
>
> We're getting a lot of failures in jenkins because we use hardcoded ports. If another build is using these ports (jenkins runs builds in parallel), we get a failure. The ZooKeeper port is particularly bad as a lot of apache projects use zookeeper, and therefore use it for testing.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (BOOKKEEPER-467) Allocate ports for testing dynamically

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BOOKKEEPER-467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13500944#comment-13500944 ] 

Hadoop QA commented on BOOKKEEPER-467:
--------------------------------------

Testing JIRA BOOKKEEPER-467

Cleaning local git workspace
                
> Allocate ports for testing dynamically
> --------------------------------------
>
>                 Key: BOOKKEEPER-467
>                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-467
>             Project: Bookkeeper
>          Issue Type: Bug
>            Reporter: Ivan Kelly
>            Assignee: Ivan Kelly
>             Fix For: 4.2.0
>
>         Attachments: 0002-Allocate-ports-for-testing-dynamically-rather-than-h.patch
>
>
> We're getting a lot of failures in jenkins because we use hardcoded ports. If another build is using these ports (jenkins runs builds in parallel), we get a failure. The ZooKeeper port is particularly bad as a lot of apache projects use zookeeper, and therefore use it for testing.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (BOOKKEEPER-467) Allocate ports for testing dynamically

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

Ivan Kelly updated BOOKKEEPER-467:
----------------------------------

    Attachment: 0001-Allocate-ports-for-testing-dynamically-rather-than-h.patch
    
> Allocate ports for testing dynamically
> --------------------------------------
>
>                 Key: BOOKKEEPER-467
>                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-467
>             Project: Bookkeeper
>          Issue Type: Bug
>            Reporter: Ivan Kelly
>            Assignee: Ivan Kelly
>             Fix For: 4.2.0
>
>         Attachments: 0001-Allocate-ports-for-testing-dynamically-rather-than-h.patch, 0002-Allocate-ports-for-testing-dynamically-rather-than-h.patch
>
>
> We're getting a lot of failures in jenkins because we use hardcoded ports. If another build is using these ports (jenkins runs builds in parallel), we get a failure. The ZooKeeper port is particularly bad as a lot of apache projects use zookeeper, and therefore use it for testing.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (BOOKKEEPER-467) Allocate ports for testing dynamically

Posted by "Flavio Junqueira (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BOOKKEEPER-467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13502081#comment-13502081 ] 

Flavio Junqueira commented on BOOKKEEPER-467:
---------------------------------------------

If I remove

{noformat}
-- 
1.7.5.4
{noformat}

it applies fine. That's confusing eclipse at least.
                
> Allocate ports for testing dynamically
> --------------------------------------
>
>                 Key: BOOKKEEPER-467
>                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-467
>             Project: Bookkeeper
>          Issue Type: Bug
>            Reporter: Ivan Kelly
>            Assignee: Ivan Kelly
>             Fix For: 4.2.0
>
>         Attachments: 0001-Allocate-ports-for-testing-dynamically-rather-than-h.patch, 0001-Allocate-ports-for-testing-dynamically-rather-than-h.patch, 0002-Allocate-ports-for-testing-dynamically-rather-than-h.patch
>
>
> We're getting a lot of failures in jenkins because we use hardcoded ports. If another build is using these ports (jenkins runs builds in parallel), we get a failure. The ZooKeeper port is particularly bad as a lot of apache projects use zookeeper, and therefore use it for testing.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (BOOKKEEPER-467) Allocate ports for testing dynamically

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

Ivan Kelly updated BOOKKEEPER-467:
----------------------------------

    Attachment: 0001-Allocate-ports-for-testing-dynamically-rather-than-h.patch

git format-patch was adding a signature. Fixed now.
                
> Allocate ports for testing dynamically
> --------------------------------------
>
>                 Key: BOOKKEEPER-467
>                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-467
>             Project: Bookkeeper
>          Issue Type: Bug
>            Reporter: Ivan Kelly
>            Assignee: Ivan Kelly
>             Fix For: 4.2.0
>
>         Attachments: 0001-Allocate-ports-for-testing-dynamically-rather-than-h.patch, 0001-Allocate-ports-for-testing-dynamically-rather-than-h.patch, 0001-Allocate-ports-for-testing-dynamically-rather-than-h.patch, 0002-Allocate-ports-for-testing-dynamically-rather-than-h.patch
>
>
> We're getting a lot of failures in jenkins because we use hardcoded ports. If another build is using these ports (jenkins runs builds in parallel), we get a failure. The ZooKeeper port is particularly bad as a lot of apache projects use zookeeper, and therefore use it for testing.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (BOOKKEEPER-467) Allocate ports for testing dynamically

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

Ivan Kelly updated BOOKKEEPER-467:
----------------------------------

    Attachment: 0001-Allocate-ports-for-testing-dynamically-rather-than-h.patch

New patch fixes an issue in benchmark tests, where it was using the default zk (localhost:2181)

                
> Allocate ports for testing dynamically
> --------------------------------------
>
>                 Key: BOOKKEEPER-467
>                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-467
>             Project: Bookkeeper
>          Issue Type: Bug
>            Reporter: Ivan Kelly
>            Assignee: Ivan Kelly
>             Fix For: 4.2.0
>
>         Attachments: 0001-Allocate-ports-for-testing-dynamically-rather-than-h.patch, 0001-Allocate-ports-for-testing-dynamically-rather-than-h.patch, 0001-Allocate-ports-for-testing-dynamically-rather-than-h.patch, 0001-Allocate-ports-for-testing-dynamically-rather-than-h.patch, 0002-Allocate-ports-for-testing-dynamically-rather-than-h.patch
>
>
> We're getting a lot of failures in jenkins because we use hardcoded ports. If another build is using these ports (jenkins runs builds in parallel), we get a failure. The ZooKeeper port is particularly bad as a lot of apache projects use zookeeper, and therefore use it for testing.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (BOOKKEEPER-467) Allocate ports for testing dynamically

Posted by "Flavio Junqueira (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BOOKKEEPER-467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13502010#comment-13502010 ] 

Flavio Junqueira commented on BOOKKEEPER-467:
---------------------------------------------

The patch looks good to me overall, although it didn't apply cleanly. The last update of the file for some reason gave me a conflict and it might be due to some extra characters at the end, I'm not sure. 
                
> Allocate ports for testing dynamically
> --------------------------------------
>
>                 Key: BOOKKEEPER-467
>                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-467
>             Project: Bookkeeper
>          Issue Type: Bug
>            Reporter: Ivan Kelly
>            Assignee: Ivan Kelly
>             Fix For: 4.2.0
>
>         Attachments: 0001-Allocate-ports-for-testing-dynamically-rather-than-h.patch, 0002-Allocate-ports-for-testing-dynamically-rather-than-h.patch
>
>
> We're getting a lot of failures in jenkins because we use hardcoded ports. If another build is using these ports (jenkins runs builds in parallel), we get a failure. The ZooKeeper port is particularly bad as a lot of apache projects use zookeeper, and therefore use it for testing.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira