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

Biao Geng commented on FLINK-27310:
-----------------------------------

[~usamj] oh, I tried to find the error in my local machine but ignored that the 
IT case is only executed in CI pipeline :(

cc [~wangyang0918] I created a 
[PR|https://github.com/apache/flink-kubernetes-operator/pull/173https://github.com/apache/flink-kubernetes-operator/pull/173]
 for fixing this IT case.
I think we should improve the ci.yml as well.

> FlinkOperatorITCase failure due to JobManager replicas less than one
> --------------------------------------------------------------------
>
>                 Key: FLINK-27310
>                 URL: https://issues.apache.org/jira/browse/FLINK-27310
>             Project: Flink
>          Issue Type: Bug
>          Components: Kubernetes Operator
>            Reporter: Usamah Jassat
>            Priority: Minor
>              Labels: pull-request-available
>
> The FlinkOperatorITCase test is currently failing, even in the CI pipeline 
>  
> {code:java}
> INFO] Running org.apache.flink.kubernetes.operator.FlinkOperatorITCase
>   
>   
>     
>     Error:  Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 
> 3.178 s <<< FAILURE! - in 
> org.apache.flink.kubernetes.operator.FlinkOperatorITCase
>   
>   
>     
>     Error:  org.apache.flink.kubernetes.operator.FlinkOperatorITCase.test  
> Time elapsed: 2.664 s  <<< ERROR!
>   
>   
>     
>     io.fabric8.kubernetes.client.KubernetesClientException: Failure 
> executing: POST at: 
> https://192.168.49.2:8443/apis/flink.apache.org/v1beta1/namespaces/flink-operator-test/flinkdeployments.
>  Message: Forbidden! User minikube doesn't have permission. admission webhook 
> "vflinkdeployments.flink.apache.org" denied the request: JobManager replicas 
> should not be configured less than one..
>   
>   
>     
>       at 
> [email protected]/org.apache.flink.kubernetes.operator.FlinkOperatorITCase.test(FlinkOperatorITCase.java:86){code}
>  
> While the test is failing the CI test run is passing which also should be 
> fixed then to fail on the test failure.



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

Reply via email to