2022-12-23: Multiple QA failures on gstg-cny
Summary
Multiple QA failures on gstg-cny were associated with merge requests that got reverted.
Failure 1: Configure Kubernetes Agent deploys a K8s manifest file
Failures:
1) Configure Kubernetes Agent deploys a K8s manifest file
Failure/Error: cluster.create_secret(agent_token.token, 'gitlab-agent-token')
QA::Service::Shellout::CommandError:
Command: `kubectl create secret generic gitlab-agent-token --from-literal=token=''` failed! ✘
# ./qa/service/shellout.rb:41:in `block in shell'
# ./qa/service/shellout.rb:19:in `shell'
# ./qa/service/kubernetes_cluster.rb:43:in `create_secret'
# ./qa/specs/features/ee/api/7_configure/kubernetes/kubernetes_agent_spec.rb:47:in `install_agentk'
# ./qa/specs/features/ee/api/7_configure/kubernetes/kubernetes_agent_spec.rb:20:in `block (3 levels) in <module:QA>'
# ./qa/specs/spec_helper.rb:120:in `block (2 levels) in <top (required)>'
# ./qa/specs/knapsack_runner.rb:15:in `run'
# ./qa/specs/runner.rb:57: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:50: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:52:in `launch!'
Finished in 23 minutes 48 seconds (files took 2.92 seconds to load)
11 examples, 1 failure
Failed examples:
rspec ./qa/specs/features/ee/api/7_configure/kubernetes/kubernetes_agent_spec.rb:34 # Configure Kubernetes Agent deploys a K8s manifest file
This failure was associated with a spec that was removed from quarantine on gitlab-org/gitlab!107572 (merged). The MR was reverted (gitlab-org/gitlab!107756 (merged)) and re-deployed to gstg-cny, unfortunately the deployment failed due to other QA failures described in the next section.
Failure 2: Multiple QA failures
Several jobs failed on the staging-canary Quality pipeline https://ops.gitlab.net/gitlab-org/quality/staging-canary/-/pipelines/1625963
Failed examples:
rspec ./qa/specs/features/browser_ui/3_create/repository/file/create_file_via_web_spec.rb:14 # Create File management user creates a file via the Web
Failed examples:
rspec ./qa/specs/features/browser_ui/3_create/repository/file/edit_file_via_web_spec.rb:16 # Create File management user edits a file via the Web
Failed examples:
rspec ./qa/specs/features/browser_ui/1_manage/user/parent_group_access_termination_spec.rb:42 # Manage User when parent group membership is terminated is not allowed to edit the project files
Quality EOC debugged the pipeline by adding QA_INTERCEPT_REQUESTS
which returns correlation ids and status codes, and if graphql, the error. This returned:
Dec 23 2022 22:28:30 UTC (QA Tests)] ERROR -- Interceptor Api Errors
[200] POST https://staging.gitlab.com/api/graphql -- Correlation Id: 71f928d8ec363bb64c23901573afd7ed
error-messages: Field 'blobs' doesn't accept argument 'refType', Variable $refType is declared by getBlobInfo but not used
This lead us to gitlab-org/gitlab!107156 (merged), this MR is in the current diff that was being deployed to staging-canary https://gitlab.com/gitlab-org/security/gitlab/-/compare/fdcd1104281f9da6cf8b9a8bf295d04a1ce69d0f...5e36976e4ab64be9f01ec221e666d10f3562fc6f