You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Biao Geng (Jira)" <ji...@apache.org> on 2022/04/19 13:01:00 UTC

[jira] [Comment Edited] (FLINK-27310) FlinkOperatorITCase failure due to JobManager replicas less than one

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

Biao Geng edited comment on FLINK-27310 at 4/19/22 1:00 PM:
------------------------------------------------------------

It seems that this ITCase is not really executed due to its naming(not follow *Test*  pattern). 
For the error in the posted log, I believe it is because we have not added {{jm.setReplicas(1);}} to set the the replica of JM.


was (Author: bgeng777):
It seems that this ITCase is not really executed due to its naming(not follow *Test* pattern). 
For the error in the posted log, I believe it is because we have not added {{jm.setReplicas(1);}} to set the the replica of JM.


> 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
>
> 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 flink.kubernetes.operator@1.0-SNAPSHOT/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)