Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-27310

FlinkOperatorITCase failure due to JobManager replicas less than one

    XMLWordPrintableJSON

Details

    Description

      The FlinkOperatorITCase test is currently failing, even in the CI pipeline

       

      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)

       

      While the test is failing the CI test run is passing which also should be fixed then to fail on the test failure.

      Attachments

        Issue Links

          Activity

            People

              bgeng777 Biao Geng
              usamj Usamah Jassat
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: