Failures in all_monitor_features_spec, all_monitor_core_features_spec, and create_project_with_auto_devops_spec | server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none

Summary

The same failures in

  • qa/specs/features/ee/browser_ui/8_monitor/all_monitor_features_spec.rb
  • qa/specs/features/browser_ui/7_configure/auto_devops/create_project_with_auto_devops_spec.rb
  • qa/specs/features/browser_ui/8_monitor/all_monitor_core_features_spec.rb

https://gitlab.com/gitlab-org/gitlab-qa-mirror/-/jobs/605014033

They seem to be different to the failures in the other issues currently open for those files

Stack trace

The stack trace is for just one of the failures, but they all look similar and have the same server certificate verification failed error.

Failure/Error:
        Resource::Repository::ProjectPush.fabricate! do |push|
          push.project = @project
          push.directory = Pathname
                               .new(__dir__)
                               .join('../../../../../fixtures/auto_devops_rack')
          push.commit_message = 'Create AutoDevOps compatible Project for Monitoring'
        end
      
      QA::Git::Repository::RepositoryCommandError:
        The command HOME="/tmp/qa-netrc-credentials/24" git clone  https://root@44156.qa-tunnel.gitlab.info/gitlab-qa-sandbox-group/qa-test-2020-06-22-00-22-00-e0f760d3846f1e48/monitoring-project-cb8effefd63be6ea.git ./ 2>&1 failed (128) with the following output:
        Cloning into '.'...
        fatal: unable to access 'https://root@44156.qa-tunnel.gitlab.info/gitlab-qa-sandbox-group/qa-test-2020-06-22-00-22-00-e0f760d3846f1e48/monitoring-project-cb8effefd63be6ea.git/': server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
      # ./qa/git/repository.rb:245:in `run'
      # ./qa/git/repository.rb:63:in `clone'
      # ./qa/resource/repository/push.rb:77:in `block in fabricate!'
      # ./qa/scenario/actable.rb:16:in `perform'
      # ./qa/git/repository.rb:35:in `block (2 levels) in perform'
      # ./qa/git/repository.rb:35:in `chdir'
      # ./qa/git/repository.rb:35:in `block in perform'
      # ./qa/git/repository.rb:34:in `perform'
      # ./qa/resource/repository/push.rb:50:in `fabricate!'
      # ./qa/resource/repository/project_push.rb:42:in `fabricate!'
      # ./qa/resource/base.rb:30:in `block (2 levels) in fabricate_via_browser_ui!'
      # ./qa/resource/base.rb:135:in `log_fabrication'
      # ./qa/resource/base.rb:30:in `block in fabricate_via_browser_ui!'
      # ./qa/resource/base.rb:118:in `do_fabricate!'
      # ./qa/resource/base.rb:29:in `fabricate_via_browser_ui!'
      # ./qa/resource/base.rb:21:in `rescue in fabricate!'
      # ./qa/resource/base.rb:18:in `fabricate!'
      # ./qa/specs/features/ee/browser_ui/8_monitor/all_monitor_features_spec.rb:95:in `deploy_project_with_prometheus'
      # ./qa/specs/features/ee/browser_ui/8_monitor/all_monitor_features_spec.rb:14:in `block (3 levels) in <module:QA>'

Screenshot / HTML page

Only one of the tests (create_project_with_auto_devops_spec) included a screenshot because the others fabricate the k8s cluster in a before(:all) block. But I doubt the screenshots would be helpful.

Expand for screenshot configure_auto_devops_support_when_rbac_is_enabled_runs_auto_devops.html

configure_auto_devops_support_when_rbac_is_enabled_runs_auto_devops

Possible fixes

/cc @svistas @ddavison