Failure in all_monitor_core_features_spec.rb:81 | QA::Git::Repository::RepositoryCommandError:
Summary
ee:kubernetes
: https://gitlab.com/gitlab-org/gitlab-qa-mirror/-/jobs/700954856
Failures:
1) Monitor with Prometheus in a Gitlab-managed cluster uses templating variables for metrics dashboards
Failure/Error:
Resource::Repository::ProjectPush.fabricate! do |push|
push.project = @project
push.file_name = '.gitlab/dashboards/templating.yml'
push.file_content = File.read(templating_dashboard_yml)
push.commit_message = 'Add templating in dashboard file'
push.new_branch = false
end
QA::Git::Repository::RepositoryCommandError:
The command HOME="/tmp/qa-netrc-credentials/27" git commit -m "Add templating in dashboard file" 2>&1 failed (1) with the following output:
On branch master
Your branch is up to date with 'origin/master'.
nothing to commit, working tree clean
Stack trace
# ./qa/git/repository.rb:257:in `run'
# ./qa/git/repository.rb:114:in `commit'
# ./qa/resource/repository/push.rb:108:in `commit_to'
# ./qa/resource/repository/push.rb:97: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/browser_ui/8_monitor/all_monitor_core_features_spec.rb:86:in `block (3 levels) in <module:QA>'
# /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:123:in `block in run'
# /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:110:in `loop'
# /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:110:in `run'
# /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
# ./spec/spec_helper.rb:70:in `block (2 levels) in <top (required)>'
# /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:123:in `block in run'
# /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:110:in `loop'
# /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:110:in `run'
# /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
# /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:37:in `block (2 levels) in setup'
# ./qa/specs/runner.rb:71:in `perform'
# ./qa/scenario/template.rb:10:in `block in perform'
# ./qa/scenario/template.rb:8:in `tap'
# ./qa/scenario/template.rb:8:in `perform'
# ./qa/scenario/template.rb:35:in `perform'
# ./qa/scenario/template.rb:10:in `block in perform'
# ./qa/scenario/template.rb:8:in `tap'
# ./qa/scenario/template.rb:8:in `perform'
# ./qa/scenario/bootable.rb:28:in `launch!'
# ------------------
# --- Caused by: ---
# NotImplementedError:
# NotImplementedError
# ./qa/resource/base.rb:41:in `fabricate_via_api!'
Screenshot / HTML page
uses templating variables for metrics dashboards (FAILED - 1)
1st Try error in ./qa/specs/features/browser_ui/8_monitor/all_monitor_core_features_spec.rb:81:
Unable to find link or button "templating.yml" within #<Capybara::Node::Element tag="div" path="/HTML/BODY[1]/DIV[1]/DIV[2]/DIV[3]/DIV[1]/DIV[2]/DIV[1]/DIV[1]/DIV[1]/DIV[1]">
RSpec::Retry: 2nd try ./qa/specs/features/browser_ui/8_monitor/all_monitor_core_features_spec.rb:81
HTML screenshot: /home/gitlab/qa/tmp/qa-test-2020-08-24-16-23-09-90187f67a2bc53b4/monitor_with_prometheus_in_a_gitlab-managed_cluster_uses_templating_variables_for_metrics_dashboards.html
Image screenshot: /home/gitlab/qa/tmp/qa-test-2020-08-24-16-23-09-90187f67a2bc53b4/monitor_with_prometheus_in_a_gitlab-managed_cluster_uses_templating_variables_for_metrics_dashboards.png