Multiple E2E failures caused by commit check
Summary
Failing job(s): https://ops.gitlab.net/gitlab-org/quality/staging/-/pipelines/3169072, https://ops.gitlab.net/gitlab-org/quality/staging/-/jobs/13683045
Incident: 2024-04-25: Staging deployment blocked by E2E s... (gitlab-com/gl-infra/production#17905 - closed)
Commit API payload that GitLab QA is using has inconsistent author email and name
pry(#<QA::Resource::Repository::Commit>)> post_body
=> {:branch=>"main",
:author_email=>"admin@example.com",
:author_name=>"gitlab-qa",
:commit_message=>"This is a test commit",
:actions=>[{:file_path=>"file-67be9af92af14211.txt", :content=>"MR init", :action=>"create"}]}
The E2E specs need to be updated to work with skip_committer_email_check FF enabled
Stack trace
2) Verify Pipeline with image:pull_policy when policy is allowed with [if-not-present] policy applies pull policy in job correctly
Failure/Error:
create(:commit, project: project, commit_message: 'Add .gitlab-ci.yml', actions: [
{
action: 'create',
file_path: '.gitlab-ci.yml',
content: <<~YAML
default:
image: ruby:latest
tags: [#{runner_name}]
#{job_name}:
QA::Resource::Errors::ResourceFabricationFailedError:
Fabrication of QA::Resource::Repository::Commit using the API failed (400) with `{"message":"13:update reference: running pre-receive hooks: GitLab: For signed Web commits, the commit must be equal to the author."}`.
Correlation Id: e96f376e0d6807645ccd4618d0033eb0
Sentry Url: https://new-sentry.gitlab.net/organizations/gitlab/issues/?environment=gstg&project=3&query=correlation_id%3A%22e96f376e0d6807645ccd4618d0033eb0%22
Kibana - Discover Url: https://nonprod-log.gitlab.net/app/discover#/?_a=%28index:%27ed942d00-5186-11ea-ad8a-f3610a492295%27%2Cquery%3A%28language%3Akuery%2Cquery%3A%27json.correlation_id%20%3A%20e96f376e0d6807645ccd4618d0033eb0%27%29%29&_g=%28time%3A%28from%3A%272024-04-24T13:11:36.956Z%27%2Cto%3A%272024-04-25T13:11:36.956Z%27%29%29
Kibana - Dashboard Url: https://nonprod-log.gitlab.net/app/dashboards#/view/b74dc030-6f56-11ed-9af2-6131f0ee4ce6?_g=%28time%3A%28from:%272024-04-24T13:11:36.956Z%27%2Cto%3A%272024-04-25T13:11:36.956Z%27%29%29&_a=%28filters%3A%21%28%28query%3A%28match_phrase%3A%28json.correlation_id%3A%27e96f376e0d6807645ccd4618d0033eb0%27%29%29%29%29%29
# ./qa/resource/api_fabricator.rb:134:in `api_post_to'
# ./qa/resource/api_fabricator.rb:107:in `api_post'