[jira] [Work logged] (HDDS-1934) TestSecureOzoneCluster may fail due to port conflict

2019-08-09 Thread ASF GitHub Bot (JIRA)


 [ 
https://issues.apache.org/jira/browse/HDDS-1934?focusedWorklogId=291844=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-291844
 ]

ASF GitHub Bot logged work on HDDS-1934:


Author: ASF GitHub Bot
Created on: 09/Aug/19 06:20
Start Date: 09/Aug/19 06:20
Worklog Time Spent: 10m 
  Work Description: adoroszlai commented on issue #1254: HDDS-1934. 
TestSecureOzoneCluster may fail due to port conflict
URL: https://github.com/apache/hadoop/pull/1254#issuecomment-519794448
 
 
   Thanks @bharatviswa504.
 

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
---

Worklog Id: (was: 291844)
Time Spent: 1h  (was: 50m)

> TestSecureOzoneCluster may fail due to port conflict
> 
>
> Key: HDDS-1934
> URL: https://issues.apache.org/jira/browse/HDDS-1934
> Project: Hadoop Distributed Data Store
>  Issue Type: Bug
>  Components: test
>Affects Versions: 0.4.1
>Reporter: Doroszlai, Attila
>Assignee: Doroszlai, Attila
>Priority: Minor
>  Labels: pull-request-available
> Fix For: 0.5.0
>
>  Time Spent: 1h
>  Remaining Estimate: 0h
>
> {{TestSecureOzoneCluster}} fails if SCM is already running on same host.
> Steps to reproduce:
> # Start {{ozone}} docker compose cluster
> # Run {{TestSecureOzoneCluster}} test
> {noformat:title=https://ci.anzix.net/job/ozone/17602/consoleText}
> [ERROR] Tests run: 10, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 
> 49.821 s <<< FAILURE! - in org.apache.hadoop.ozone.TestSecureOzoneCluster
> [ERROR] 
> testSCMSecurityProtocol(org.apache.hadoop.ozone.TestSecureOzoneCluster)  Time 
> elapsed: 6.59 s  <<< ERROR!
> java.net.BindException: Port in use: 0.0.0.0:9876
>   at 
> org.apache.hadoop.http.HttpServer2.constructBindException(HttpServer2.java:1203)
>   at 
> org.apache.hadoop.http.HttpServer2.bindForSinglePort(HttpServer2.java:1225)
>   at 
> org.apache.hadoop.http.HttpServer2.openListeners(HttpServer2.java:1284)
>   at org.apache.hadoop.http.HttpServer2.start(HttpServer2.java:1139)
>   at 
> org.apache.hadoop.hdds.server.BaseHttpServer.start(BaseHttpServer.java:181)
>   at 
> org.apache.hadoop.hdds.scm.server.StorageContainerManager.start(StorageContainerManager.java:779)
>   at 
> org.apache.hadoop.ozone.TestSecureOzoneCluster.testSCMSecurityProtocol(TestSecureOzoneCluster.java:277)
> ...
> [ERROR] testSecureOmReInit(org.apache.hadoop.ozone.TestSecureOzoneCluster)  
> Time elapsed: 5.312 s  <<< ERROR!
> java.net.BindException: Port in use: 0.0.0.0:9876
>   at 
> org.apache.hadoop.http.HttpServer2.constructBindException(HttpServer2.java:1203)
>   at 
> org.apache.hadoop.http.HttpServer2.bindForSinglePort(HttpServer2.java:1225)
>   at 
> org.apache.hadoop.http.HttpServer2.openListeners(HttpServer2.java:1284)
>   at org.apache.hadoop.http.HttpServer2.start(HttpServer2.java:1139)
>   at 
> org.apache.hadoop.hdds.server.BaseHttpServer.start(BaseHttpServer.java:181)
>   at 
> org.apache.hadoop.hdds.scm.server.StorageContainerManager.start(StorageContainerManager.java:779)
>   at 
> org.apache.hadoop.ozone.TestSecureOzoneCluster.testSecureOmReInit(TestSecureOzoneCluster.java:743)
> ...
> [ERROR] 
> testSecureOmInitSuccess(org.apache.hadoop.ozone.TestSecureOzoneCluster)  Time 
> elapsed: 5.312 s  <<< ERROR!
> java.net.BindException: Port in use: 0.0.0.0:9876
>   at 
> org.apache.hadoop.http.HttpServer2.constructBindException(HttpServer2.java:1203)
>   at 
> org.apache.hadoop.http.HttpServer2.bindForSinglePort(HttpServer2.java:1225)
>   at 
> org.apache.hadoop.http.HttpServer2.openListeners(HttpServer2.java:1284)
>   at org.apache.hadoop.http.HttpServer2.start(HttpServer2.java:1139)
>   at 
> org.apache.hadoop.hdds.server.BaseHttpServer.start(BaseHttpServer.java:181)
>   at 
> org.apache.hadoop.hdds.scm.server.StorageContainerManager.start(StorageContainerManager.java:779)
>   at 
> org.apache.hadoop.ozone.TestSecureOzoneCluster.testSecureOmInitSuccess(TestSecureOzoneCluster.java:789)
> ...
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

-
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org



[jira] [Work logged] (HDDS-1934) TestSecureOzoneCluster may fail due to port conflict

2019-08-08 Thread ASF GitHub Bot (JIRA)


 [ 
https://issues.apache.org/jira/browse/HDDS-1934?focusedWorklogId=291801=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-291801
 ]

ASF GitHub Bot logged work on HDDS-1934:


Author: ASF GitHub Bot
Created on: 09/Aug/19 04:38
Start Date: 09/Aug/19 04:38
Worklog Time Spent: 10m 
  Work Description: bharatviswa504 commented on pull request #1254: 
HDDS-1934. TestSecureOzoneCluster may fail due to port conflict
URL: https://github.com/apache/hadoop/pull/1254
 
 
   
 

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
---

Worklog Id: (was: 291801)
Time Spent: 40m  (was: 0.5h)

> TestSecureOzoneCluster may fail due to port conflict
> 
>
> Key: HDDS-1934
> URL: https://issues.apache.org/jira/browse/HDDS-1934
> Project: Hadoop Distributed Data Store
>  Issue Type: Bug
>  Components: test
>Affects Versions: 0.4.1
>Reporter: Doroszlai, Attila
>Assignee: Doroszlai, Attila
>Priority: Minor
>  Labels: pull-request-available
>  Time Spent: 40m
>  Remaining Estimate: 0h
>
> {{TestSecureOzoneCluster}} fails if SCM is already running on same host.
> Steps to reproduce:
> # Start {{ozone}} docker compose cluster
> # Run {{TestSecureOzoneCluster}} test
> {noformat:title=https://ci.anzix.net/job/ozone/17602/consoleText}
> [ERROR] Tests run: 10, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 
> 49.821 s <<< FAILURE! - in org.apache.hadoop.ozone.TestSecureOzoneCluster
> [ERROR] 
> testSCMSecurityProtocol(org.apache.hadoop.ozone.TestSecureOzoneCluster)  Time 
> elapsed: 6.59 s  <<< ERROR!
> java.net.BindException: Port in use: 0.0.0.0:9876
>   at 
> org.apache.hadoop.http.HttpServer2.constructBindException(HttpServer2.java:1203)
>   at 
> org.apache.hadoop.http.HttpServer2.bindForSinglePort(HttpServer2.java:1225)
>   at 
> org.apache.hadoop.http.HttpServer2.openListeners(HttpServer2.java:1284)
>   at org.apache.hadoop.http.HttpServer2.start(HttpServer2.java:1139)
>   at 
> org.apache.hadoop.hdds.server.BaseHttpServer.start(BaseHttpServer.java:181)
>   at 
> org.apache.hadoop.hdds.scm.server.StorageContainerManager.start(StorageContainerManager.java:779)
>   at 
> org.apache.hadoop.ozone.TestSecureOzoneCluster.testSCMSecurityProtocol(TestSecureOzoneCluster.java:277)
> ...
> [ERROR] testSecureOmReInit(org.apache.hadoop.ozone.TestSecureOzoneCluster)  
> Time elapsed: 5.312 s  <<< ERROR!
> java.net.BindException: Port in use: 0.0.0.0:9876
>   at 
> org.apache.hadoop.http.HttpServer2.constructBindException(HttpServer2.java:1203)
>   at 
> org.apache.hadoop.http.HttpServer2.bindForSinglePort(HttpServer2.java:1225)
>   at 
> org.apache.hadoop.http.HttpServer2.openListeners(HttpServer2.java:1284)
>   at org.apache.hadoop.http.HttpServer2.start(HttpServer2.java:1139)
>   at 
> org.apache.hadoop.hdds.server.BaseHttpServer.start(BaseHttpServer.java:181)
>   at 
> org.apache.hadoop.hdds.scm.server.StorageContainerManager.start(StorageContainerManager.java:779)
>   at 
> org.apache.hadoop.ozone.TestSecureOzoneCluster.testSecureOmReInit(TestSecureOzoneCluster.java:743)
> ...
> [ERROR] 
> testSecureOmInitSuccess(org.apache.hadoop.ozone.TestSecureOzoneCluster)  Time 
> elapsed: 5.312 s  <<< ERROR!
> java.net.BindException: Port in use: 0.0.0.0:9876
>   at 
> org.apache.hadoop.http.HttpServer2.constructBindException(HttpServer2.java:1203)
>   at 
> org.apache.hadoop.http.HttpServer2.bindForSinglePort(HttpServer2.java:1225)
>   at 
> org.apache.hadoop.http.HttpServer2.openListeners(HttpServer2.java:1284)
>   at org.apache.hadoop.http.HttpServer2.start(HttpServer2.java:1139)
>   at 
> org.apache.hadoop.hdds.server.BaseHttpServer.start(BaseHttpServer.java:181)
>   at 
> org.apache.hadoop.hdds.scm.server.StorageContainerManager.start(StorageContainerManager.java:779)
>   at 
> org.apache.hadoop.ozone.TestSecureOzoneCluster.testSecureOmInitSuccess(TestSecureOzoneCluster.java:789)
> ...
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

-
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org



[jira] [Work logged] (HDDS-1934) TestSecureOzoneCluster may fail due to port conflict

2019-08-08 Thread ASF GitHub Bot (JIRA)


 [ 
https://issues.apache.org/jira/browse/HDDS-1934?focusedWorklogId=291802=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-291802
 ]

ASF GitHub Bot logged work on HDDS-1934:


Author: ASF GitHub Bot
Created on: 09/Aug/19 04:38
Start Date: 09/Aug/19 04:38
Worklog Time Spent: 10m 
  Work Description: bharatviswa504 commented on issue #1254: HDDS-1934. 
TestSecureOzoneCluster may fail due to port conflict
URL: https://github.com/apache/hadoop/pull/1254#issuecomment-519774468
 
 
   Thank You @adoroszlai for the contribution.
   I have committed this to the trunk.
 

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
---

Worklog Id: (was: 291802)
Time Spent: 50m  (was: 40m)

> TestSecureOzoneCluster may fail due to port conflict
> 
>
> Key: HDDS-1934
> URL: https://issues.apache.org/jira/browse/HDDS-1934
> Project: Hadoop Distributed Data Store
>  Issue Type: Bug
>  Components: test
>Affects Versions: 0.4.1
>Reporter: Doroszlai, Attila
>Assignee: Doroszlai, Attila
>Priority: Minor
>  Labels: pull-request-available
>  Time Spent: 50m
>  Remaining Estimate: 0h
>
> {{TestSecureOzoneCluster}} fails if SCM is already running on same host.
> Steps to reproduce:
> # Start {{ozone}} docker compose cluster
> # Run {{TestSecureOzoneCluster}} test
> {noformat:title=https://ci.anzix.net/job/ozone/17602/consoleText}
> [ERROR] Tests run: 10, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 
> 49.821 s <<< FAILURE! - in org.apache.hadoop.ozone.TestSecureOzoneCluster
> [ERROR] 
> testSCMSecurityProtocol(org.apache.hadoop.ozone.TestSecureOzoneCluster)  Time 
> elapsed: 6.59 s  <<< ERROR!
> java.net.BindException: Port in use: 0.0.0.0:9876
>   at 
> org.apache.hadoop.http.HttpServer2.constructBindException(HttpServer2.java:1203)
>   at 
> org.apache.hadoop.http.HttpServer2.bindForSinglePort(HttpServer2.java:1225)
>   at 
> org.apache.hadoop.http.HttpServer2.openListeners(HttpServer2.java:1284)
>   at org.apache.hadoop.http.HttpServer2.start(HttpServer2.java:1139)
>   at 
> org.apache.hadoop.hdds.server.BaseHttpServer.start(BaseHttpServer.java:181)
>   at 
> org.apache.hadoop.hdds.scm.server.StorageContainerManager.start(StorageContainerManager.java:779)
>   at 
> org.apache.hadoop.ozone.TestSecureOzoneCluster.testSCMSecurityProtocol(TestSecureOzoneCluster.java:277)
> ...
> [ERROR] testSecureOmReInit(org.apache.hadoop.ozone.TestSecureOzoneCluster)  
> Time elapsed: 5.312 s  <<< ERROR!
> java.net.BindException: Port in use: 0.0.0.0:9876
>   at 
> org.apache.hadoop.http.HttpServer2.constructBindException(HttpServer2.java:1203)
>   at 
> org.apache.hadoop.http.HttpServer2.bindForSinglePort(HttpServer2.java:1225)
>   at 
> org.apache.hadoop.http.HttpServer2.openListeners(HttpServer2.java:1284)
>   at org.apache.hadoop.http.HttpServer2.start(HttpServer2.java:1139)
>   at 
> org.apache.hadoop.hdds.server.BaseHttpServer.start(BaseHttpServer.java:181)
>   at 
> org.apache.hadoop.hdds.scm.server.StorageContainerManager.start(StorageContainerManager.java:779)
>   at 
> org.apache.hadoop.ozone.TestSecureOzoneCluster.testSecureOmReInit(TestSecureOzoneCluster.java:743)
> ...
> [ERROR] 
> testSecureOmInitSuccess(org.apache.hadoop.ozone.TestSecureOzoneCluster)  Time 
> elapsed: 5.312 s  <<< ERROR!
> java.net.BindException: Port in use: 0.0.0.0:9876
>   at 
> org.apache.hadoop.http.HttpServer2.constructBindException(HttpServer2.java:1203)
>   at 
> org.apache.hadoop.http.HttpServer2.bindForSinglePort(HttpServer2.java:1225)
>   at 
> org.apache.hadoop.http.HttpServer2.openListeners(HttpServer2.java:1284)
>   at org.apache.hadoop.http.HttpServer2.start(HttpServer2.java:1139)
>   at 
> org.apache.hadoop.hdds.server.BaseHttpServer.start(BaseHttpServer.java:181)
>   at 
> org.apache.hadoop.hdds.scm.server.StorageContainerManager.start(StorageContainerManager.java:779)
>   at 
> org.apache.hadoop.ozone.TestSecureOzoneCluster.testSecureOmInitSuccess(TestSecureOzoneCluster.java:789)
> ...
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

-
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org



[jira] [Work logged] (HDDS-1934) TestSecureOzoneCluster may fail due to port conflict

2019-08-08 Thread ASF GitHub Bot (JIRA)


 [ 
https://issues.apache.org/jira/browse/HDDS-1934?focusedWorklogId=291389=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-291389
 ]

ASF GitHub Bot logged work on HDDS-1934:


Author: ASF GitHub Bot
Created on: 08/Aug/19 16:38
Start Date: 08/Aug/19 16:38
Worklog Time Spent: 10m 
  Work Description: hadoop-yetus commented on issue #1254: HDDS-1934. 
TestSecureOzoneCluster may fail due to port conflict
URL: https://github.com/apache/hadoop/pull/1254#issuecomment-519595610
 
 
   :broken_heart: **-1 overall**
   
   
   
   
   
   
   | Vote | Subsystem | Runtime | Comment |
   |::|--:|:|:|
   | 0 | reexec | 43 | Docker mode activated. |
   ||| _ Prechecks _ |
   | +1 | dupname | 0 | No case conflicting files found. |
   | +1 | @author | 0 | The patch does not contain any @author tags. |
   | +1 | test4tests | 0 | The patch appears to include 1 new or modified test 
files. |
   ||| _ trunk Compile Tests _ |
   | +1 | mvninstall | 589 | trunk passed |
   | +1 | compile | 397 | trunk passed |
   | +1 | checkstyle | 70 | trunk passed |
   | +1 | mvnsite | 0 | trunk passed |
   | +1 | shadedclient | 861 | branch has no errors when building and testing 
our client artifacts. |
   | +1 | javadoc | 160 | trunk passed |
   | 0 | spotbugs | 453 | Used deprecated FindBugs config; considering 
switching to SpotBugs. |
   | +1 | findbugs | 661 | trunk passed |
   ||| _ Patch Compile Tests _ |
   | +1 | mvninstall | 562 | the patch passed |
   | +1 | compile | 378 | the patch passed |
   | +1 | javac | 378 | the patch passed |
   | +1 | checkstyle | 70 | the patch passed |
   | +1 | mvnsite | 0 | the patch passed |
   | +1 | whitespace | 0 | The patch has no whitespace issues. |
   | +1 | shadedclient | 671 | patch has no errors when building and testing 
our client artifacts. |
   | +1 | javadoc | 161 | the patch passed |
   | +1 | findbugs | 705 | the patch passed |
   ||| _ Other Tests _ |
   | +1 | unit | 315 | hadoop-hdds in the patch passed. |
   | -1 | unit | 2320 | hadoop-ozone in the patch failed. |
   | +1 | asflicense | 40 | The patch does not generate ASF License warnings. |
   | | | 8126 | |
   
   
   | Reason | Tests |
   |---:|:--|
   | Failed junit tests | 
hadoop.ozone.client.rpc.TestMultiBlockWritesWithDnFailures |
   |   | hadoop.ozone.om.TestKeyManagerImpl |
   |   | hadoop.ozone.client.rpc.TestBlockOutputStreamWithFailures |
   |   | hadoop.ozone.client.rpc.TestOzoneAtRestEncryption |
   |   | hadoop.ozone.client.rpc.TestOzoneRpcClient |
   |   | hadoop.ozone.client.rpc.TestSecureOzoneRpcClient |
   |   | hadoop.ozone.om.TestScmSafeMode |
   
   
   | Subsystem | Report/Notes |
   |--:|:-|
   | Docker | Client=19.03.1 Server=19.03.1 base: 
https://builds.apache.org/job/hadoop-multibranch/job/PR-1254/1/artifact/out/Dockerfile
 |
   | GITHUB PR | https://github.com/apache/hadoop/pull/1254 |
   | Optional Tests | dupname asflicense compile javac javadoc mvninstall 
mvnsite unit shadedclient findbugs checkstyle |
   | uname | Linux 6d63cadeffc4 4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 
17:16:02 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux |
   | Build tool | maven |
   | Personality | personality/hadoop.sh |
   | git revision | trunk / 63161cf |
   | Default Java | 1.8.0_222 |
   | unit | 
https://builds.apache.org/job/hadoop-multibranch/job/PR-1254/1/artifact/out/patch-unit-hadoop-ozone.txt
 |
   |  Test Results | 
https://builds.apache.org/job/hadoop-multibranch/job/PR-1254/1/testReport/ |
   | Max. process+thread count | 4696 (vs. ulimit of 5500) |
   | modules | C: hadoop-ozone/integration-test U: 
hadoop-ozone/integration-test |
   | Console output | 
https://builds.apache.org/job/hadoop-multibranch/job/PR-1254/1/console |
   | versions | git=2.7.4 maven=3.3.9 findbugs=3.1.0-RC1 |
   | Powered by | Apache Yetus 0.10.0 http://yetus.apache.org |
   
   
   This message was automatically generated.
   
   
 

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
---

Worklog Id: (was: 291389)
Time Spent: 0.5h  (was: 20m)

> TestSecureOzoneCluster may fail due to port conflict
> 
>
> Key: HDDS-1934
> URL: https://issues.apache.org/jira/browse/HDDS-1934
> Project: Hadoop Distributed Data Store
>  Issue Type: Bug
>  Components: test
>Affects Versions: 0.4.1
>Reporter: Doroszlai, Attila
>Assignee: Doroszlai, Attila
>Priority: Minor
>  Labels: pull-request-available

[jira] [Work logged] (HDDS-1934) TestSecureOzoneCluster may fail due to port conflict

2019-08-08 Thread ASF GitHub Bot (JIRA)


 [ 
https://issues.apache.org/jira/browse/HDDS-1934?focusedWorklogId=291129=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-291129
 ]

ASF GitHub Bot logged work on HDDS-1934:


Author: ASF GitHub Bot
Created on: 08/Aug/19 10:10
Start Date: 08/Aug/19 10:10
Worklog Time Spent: 10m 
  Work Description: adoroszlai commented on pull request #1254: HDDS-1934. 
TestSecureOzoneCluster may fail due to port conflict
URL: https://github.com/apache/hadoop/pull/1254
 
 
   ## What changes were proposed in this pull request?
   
   Use random port for SCM for the test cases where it is started in 
`TestSecureOzoneCluster`.
   
   https://issues.apache.org/jira/browse/HDDS-1934
   
   ## How was this patch tested?
   
   ```
   $ cd hadoop-ozone/dist/target/ozone-0.5.0-SNAPSHOT/compose/ozone
   $ docker-compose up -d
   $ cd -
   $ mvn -Phdds -pl :hadoop-ozone-integration-test test 
-Dtest=TestSecureOzoneCluster
   ...
   [INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
37.32 s - in org.apache.hadoop.ozone.TestSecureOzoneCluster
   ```
 

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
---

Worklog Id: (was: 291129)
Time Spent: 10m
Remaining Estimate: 0h

> TestSecureOzoneCluster may fail due to port conflict
> 
>
> Key: HDDS-1934
> URL: https://issues.apache.org/jira/browse/HDDS-1934
> Project: Hadoop Distributed Data Store
>  Issue Type: Bug
>  Components: test
>Affects Versions: 0.4.1
>Reporter: Doroszlai, Attila
>Assignee: Doroszlai, Attila
>Priority: Minor
>  Labels: pull-request-available
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> {{TestSecureOzoneCluster}} fails if SCM is already running on same host.
> Steps to reproduce:
> # Start {{ozone}} docker compose cluster
> # Run {{TestSecureOzoneCluster}} test
> {noformat:title=https://ci.anzix.net/job/ozone/17602/consoleText}
> [ERROR] Tests run: 10, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 
> 49.821 s <<< FAILURE! - in org.apache.hadoop.ozone.TestSecureOzoneCluster
> [ERROR] 
> testSCMSecurityProtocol(org.apache.hadoop.ozone.TestSecureOzoneCluster)  Time 
> elapsed: 6.59 s  <<< ERROR!
> java.net.BindException: Port in use: 0.0.0.0:9876
>   at 
> org.apache.hadoop.http.HttpServer2.constructBindException(HttpServer2.java:1203)
>   at 
> org.apache.hadoop.http.HttpServer2.bindForSinglePort(HttpServer2.java:1225)
>   at 
> org.apache.hadoop.http.HttpServer2.openListeners(HttpServer2.java:1284)
>   at org.apache.hadoop.http.HttpServer2.start(HttpServer2.java:1139)
>   at 
> org.apache.hadoop.hdds.server.BaseHttpServer.start(BaseHttpServer.java:181)
>   at 
> org.apache.hadoop.hdds.scm.server.StorageContainerManager.start(StorageContainerManager.java:779)
>   at 
> org.apache.hadoop.ozone.TestSecureOzoneCluster.testSCMSecurityProtocol(TestSecureOzoneCluster.java:277)
> ...
> [ERROR] testSecureOmReInit(org.apache.hadoop.ozone.TestSecureOzoneCluster)  
> Time elapsed: 5.312 s  <<< ERROR!
> java.net.BindException: Port in use: 0.0.0.0:9876
>   at 
> org.apache.hadoop.http.HttpServer2.constructBindException(HttpServer2.java:1203)
>   at 
> org.apache.hadoop.http.HttpServer2.bindForSinglePort(HttpServer2.java:1225)
>   at 
> org.apache.hadoop.http.HttpServer2.openListeners(HttpServer2.java:1284)
>   at org.apache.hadoop.http.HttpServer2.start(HttpServer2.java:1139)
>   at 
> org.apache.hadoop.hdds.server.BaseHttpServer.start(BaseHttpServer.java:181)
>   at 
> org.apache.hadoop.hdds.scm.server.StorageContainerManager.start(StorageContainerManager.java:779)
>   at 
> org.apache.hadoop.ozone.TestSecureOzoneCluster.testSecureOmReInit(TestSecureOzoneCluster.java:743)
> ...
> [ERROR] 
> testSecureOmInitSuccess(org.apache.hadoop.ozone.TestSecureOzoneCluster)  Time 
> elapsed: 5.312 s  <<< ERROR!
> java.net.BindException: Port in use: 0.0.0.0:9876
>   at 
> org.apache.hadoop.http.HttpServer2.constructBindException(HttpServer2.java:1203)
>   at 
> org.apache.hadoop.http.HttpServer2.bindForSinglePort(HttpServer2.java:1225)
>   at 
> org.apache.hadoop.http.HttpServer2.openListeners(HttpServer2.java:1284)
>   at org.apache.hadoop.http.HttpServer2.start(HttpServer2.java:1139)
>   at 
> org.apache.hadoop.hdds.server.BaseHttpServer.start(BaseHttpServer.java:181)
>   at 
> 

[jira] [Work logged] (HDDS-1934) TestSecureOzoneCluster may fail due to port conflict

2019-08-08 Thread ASF GitHub Bot (JIRA)


 [ 
https://issues.apache.org/jira/browse/HDDS-1934?focusedWorklogId=291130=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-291130
 ]

ASF GitHub Bot logged work on HDDS-1934:


Author: ASF GitHub Bot
Created on: 08/Aug/19 10:10
Start Date: 08/Aug/19 10:10
Worklog Time Spent: 10m 
  Work Description: adoroszlai commented on issue #1254: HDDS-1934. 
TestSecureOzoneCluster may fail due to port conflict
URL: https://github.com/apache/hadoop/pull/1254#issuecomment-519457209
 
 
   /label ozone
 

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
---

Worklog Id: (was: 291130)
Time Spent: 20m  (was: 10m)

> TestSecureOzoneCluster may fail due to port conflict
> 
>
> Key: HDDS-1934
> URL: https://issues.apache.org/jira/browse/HDDS-1934
> Project: Hadoop Distributed Data Store
>  Issue Type: Bug
>  Components: test
>Affects Versions: 0.4.1
>Reporter: Doroszlai, Attila
>Assignee: Doroszlai, Attila
>Priority: Minor
>  Labels: pull-request-available
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> {{TestSecureOzoneCluster}} fails if SCM is already running on same host.
> Steps to reproduce:
> # Start {{ozone}} docker compose cluster
> # Run {{TestSecureOzoneCluster}} test
> {noformat:title=https://ci.anzix.net/job/ozone/17602/consoleText}
> [ERROR] Tests run: 10, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 
> 49.821 s <<< FAILURE! - in org.apache.hadoop.ozone.TestSecureOzoneCluster
> [ERROR] 
> testSCMSecurityProtocol(org.apache.hadoop.ozone.TestSecureOzoneCluster)  Time 
> elapsed: 6.59 s  <<< ERROR!
> java.net.BindException: Port in use: 0.0.0.0:9876
>   at 
> org.apache.hadoop.http.HttpServer2.constructBindException(HttpServer2.java:1203)
>   at 
> org.apache.hadoop.http.HttpServer2.bindForSinglePort(HttpServer2.java:1225)
>   at 
> org.apache.hadoop.http.HttpServer2.openListeners(HttpServer2.java:1284)
>   at org.apache.hadoop.http.HttpServer2.start(HttpServer2.java:1139)
>   at 
> org.apache.hadoop.hdds.server.BaseHttpServer.start(BaseHttpServer.java:181)
>   at 
> org.apache.hadoop.hdds.scm.server.StorageContainerManager.start(StorageContainerManager.java:779)
>   at 
> org.apache.hadoop.ozone.TestSecureOzoneCluster.testSCMSecurityProtocol(TestSecureOzoneCluster.java:277)
> ...
> [ERROR] testSecureOmReInit(org.apache.hadoop.ozone.TestSecureOzoneCluster)  
> Time elapsed: 5.312 s  <<< ERROR!
> java.net.BindException: Port in use: 0.0.0.0:9876
>   at 
> org.apache.hadoop.http.HttpServer2.constructBindException(HttpServer2.java:1203)
>   at 
> org.apache.hadoop.http.HttpServer2.bindForSinglePort(HttpServer2.java:1225)
>   at 
> org.apache.hadoop.http.HttpServer2.openListeners(HttpServer2.java:1284)
>   at org.apache.hadoop.http.HttpServer2.start(HttpServer2.java:1139)
>   at 
> org.apache.hadoop.hdds.server.BaseHttpServer.start(BaseHttpServer.java:181)
>   at 
> org.apache.hadoop.hdds.scm.server.StorageContainerManager.start(StorageContainerManager.java:779)
>   at 
> org.apache.hadoop.ozone.TestSecureOzoneCluster.testSecureOmReInit(TestSecureOzoneCluster.java:743)
> ...
> [ERROR] 
> testSecureOmInitSuccess(org.apache.hadoop.ozone.TestSecureOzoneCluster)  Time 
> elapsed: 5.312 s  <<< ERROR!
> java.net.BindException: Port in use: 0.0.0.0:9876
>   at 
> org.apache.hadoop.http.HttpServer2.constructBindException(HttpServer2.java:1203)
>   at 
> org.apache.hadoop.http.HttpServer2.bindForSinglePort(HttpServer2.java:1225)
>   at 
> org.apache.hadoop.http.HttpServer2.openListeners(HttpServer2.java:1284)
>   at org.apache.hadoop.http.HttpServer2.start(HttpServer2.java:1139)
>   at 
> org.apache.hadoop.hdds.server.BaseHttpServer.start(BaseHttpServer.java:181)
>   at 
> org.apache.hadoop.hdds.scm.server.StorageContainerManager.start(StorageContainerManager.java:779)
>   at 
> org.apache.hadoop.ozone.TestSecureOzoneCluster.testSecureOmInitSuccess(TestSecureOzoneCluster.java:789)
> ...
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

-
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org