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

Michał Walenia commented on BEAM-9482:
--------------------------------------

I think I know why the test started failing.

This is all due to "No space left on device" error some time ago, the Kafka 
cluster started on the K8s didn't get cleaned up. This blocked the ports for 
all subsequent builds. I don't have sufficient access to clean it up, 
[~chamikara] can you reassign to someone that will be able to clean the k8s 
cluster?

> 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: Michał Walenia
>            Priority: Major
>
> 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.3.4#803005)

Reply via email to