You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2022/05/20 20:15:00 UTC

[jira] [Work logged] (BEAM-9482) beam_PerformanceTests_Kafka_IO failing due to " provided port is already allocated"

     [ https://issues.apache.org/jira/browse/BEAM-9482?focusedWorklogId=773005&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-773005 ]

ASF GitHub Bot logged work on BEAM-9482:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 20/May/22 20:14
            Start Date: 20/May/22 20:14
    Worklog Time Spent: 10m 
      Work Description: benWize opened a new pull request, #17727:
URL: https://github.com/apache/beam/pull/17727

   Adds a script to check a Kubernetes cluster for available ports, then uses three available ports to instantiate outside services for the Kafka cluster.
   
   ------------------------
   
   Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:
   
    - [ ] [**Choose reviewer(s)**](https://beam.apache.org/contribute/#make-your-change) and mention them in a comment (`R: @username`).
    - [ ] Format the pull request title like `[BEAM-XXX] Fixes bug in ApproximateQuantiles`, where you replace `BEAM-XXX` with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
    - [ ] Update `CHANGES.md` with noteworthy changes.
    - [ ] If this contribution is large, please file an Apache [Individual Contributor License Agreement](https://www.apache.org/licenses/icla.pdf).
   
   See the [Contributor Guide](https://beam.apache.org/contribute) for more tips on [how to make review process smoother](https://beam.apache.org/contribute/#make-reviewers-job-easier).
   
   To check the build health, please visit [https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md](https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md)
   
   GitHub Actions Tests Status (on master branch)
   ------------------------------------------------------------------------------------------------
   [![Build python source distribution and wheels](https://github.com/apache/beam/workflows/Build%20python%20source%20distribution%20and%20wheels/badge.svg?branch=master&event=schedule)](https://github.com/apache/beam/actions?query=workflow%3A%22Build+python+source+distribution+and+wheels%22+branch%3Amaster+event%3Aschedule)
   [![Python tests](https://github.com/apache/beam/workflows/Python%20tests/badge.svg?branch=master&event=schedule)](https://github.com/apache/beam/actions?query=workflow%3A%22Python+Tests%22+branch%3Amaster+event%3Aschedule)
   [![Java tests](https://github.com/apache/beam/workflows/Java%20Tests/badge.svg?branch=master&event=schedule)](https://github.com/apache/beam/actions?query=workflow%3A%22Java+Tests%22+branch%3Amaster+event%3Aschedule)
   
   See [CI.md](https://github.com/apache/beam/blob/master/CI.md) for more information about GitHub Actions CI.
   




Issue Time Tracking
-------------------

    Worklog Id:     (was: 773005)
    Time Spent: 4h 10m  (was: 4h)

> beam_PerformanceTests_Kafka_IO failing due to " provided port is already allocated"
> -----------------------------------------------------------------------------------
>
>                 Key: BEAM-9482
>                 URL: https://issues.apache.org/jira/browse/BEAM-9482
>             Project: Beam
>          Issue Type: Bug
>          Components: test-failures
>            Reporter: Chamikara Madhusanka Jayalath
>            Assignee: Benjamin Gonzalez
>            Priority: P1
>              Labels: sickbay
>          Time Spent: 4h 10m
>  Remaining Estimate: 0h
>
> For example,
> [https://builds.apache.org/view/A-D/view/Beam/view/PerformanceTests/job/beam_PerformanceTests_Kafka_IO/514/console]
>  
> 18:55:33 Error from server (Invalid): error when creating "/home/jenkins/jenkins-slave/workspace/beam_PerformanceTests_Kafka_IO/src/.test-infra/kubernetes/kafka-cluster/04-outside-services/outside-0.yml": Service "outside-0" is invalid: spec.ports[0].nodePort: Invalid value: 32400: provided port is already allocated
> 18:55:33 Error from server (Invalid): error when creating "/home/jenkins/jenkins-slave/workspace/beam_PerformanceTests_Kafka_IO/src/.test-infra/kubernetes/kafka-cluster/04-outside-services/outside-1.yml": Service "outside-1" is invalid: spec.ports[0].nodePort: Invalid value: 32401: provided port is already allocated
> 18:55:33 Error from server (Invalid): error when creating "/home/jenkins/jenkins-slave/workspace/beam_PerformanceTests_Kafka_IO/src/.test-infra/kubernetes/kafka-cluster/04-outside-services/outside-2.yml": Service "outside-2" is invalid: spec.ports[0].nodePort: Invalid value: 32402: provided port is already allocated
> 1
>  
> Seems like we tried three ports but they were being used. Probably we should update code to find an unused port dynamically.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)