2022-05-31: QA failing in production
Incident Roles
The DRI for this incident is the incident issue assignee, see roles and responsibilities.
Roles when the incident was declared:
- Incident Manager (IMOC): @afappiano
- Engineer on-call (EOC): @mchacon3
Current Status
QA is failing in production, it is not currently known if this is a new issue, or if we are bumping against the limits of a particular query timeout, or if the project for which we run QA on, is simply too large. Investigation continues...
Summary for CMOC notice / Exec summary:
- Customer Impact: none
- Service Impact: ServiceGitLab Rails
- Impact Duration: 4:59 - end time UTC ( duration in minutes )
- Root cause: TBD
Timeline
Recent Events (available internally only):
- Deployments
- Feature Flag Changes
- Infrastructure Configurations
- GCP Events (e.g. host failure)
- Gitlab.com Latest Updates
All times UTC.
2022-05-31
-
12:59- QA Begins on package -15.1.202205310620-a0ee51d4dfa.3b8b8e377b8- https://ops.gitlab.net/gitlab-org/release/tools/-/pipelines/1233301 -
15:05- Release Manager creates issue - gitlab-org/release/tasks#3955 (closed) for tracking QA failures -
15:15- Suspected flakey test: gitlab-org/gitlab#358213 (closed) -
16:29- Identified this issue is cause: gitlab-org/gitlab#359043 (closed) -
16:38- Suspect FF change could be cause: gitlab-org/gitlab#360757 (closed) -
17:06- Suspect FF changed tofalse -
17:22- QA continues to fail -
18:04- @skarbek declares incident in Slack. -
18:29- An expensive query may be at fault: https://gitlab.com/gitlab-org/gitlab/-/blob/master/ee/app/services/elastic/process_initial_bookkeeping_service.rb#L28 -
18:51- The expensive query is identified as a future improvement - gitlab-org/gitlab#364045 (closed) - We will shift our focus towards cleaning up the data in hopes that we can push forward until this issue can be scheduled -
19:04- After enough retries, QA finally passed - we will still pursue attempting to either cleanup and/or move to a new group such that we avoid potential issues with this moving forward until this query is improved -
19:41- Begin CR to clean up QA - #7176 (closed) -
20:44- Above CR is complete -
20:55- Final QA we were waiting on completed successfully - issue marked as resolved
2022-06-01
-
10:29- Incident reopened due to same failures -
13:50- Decision to quarantine the test is made - gitlab-org/gitlab!89041 (merged)
Create related issues
Use the following links to create related issues to this incident if additional work needs to be completed after it is resolved:
Takeaways
- ...
Corrective Actions
Corrective actions should be put here as soon as an incident is mitigated, ensure that all corrective actions mentioned in the notes below are included.
- ...
Note: In some cases we need to redact information from public view. We only do this in a limited number of documented cases. This might include the summary, timeline or any other bits of information, laid out in out handbook page. Any of this confidential data will be in a linked issue, only visible internally. By default, all information we can share, will be public, in accordance to our transparency value.
Click to expand or collapse the Incident Review section.
Incident Review
-
Ensure that the exec summary is completed at the top of the incident issue, the timeline is updated and relevant graphs are included in the summary -
If there are any corrective action items mentioned in the notes on the incident, ensure they are listed in the "Corrective Action" section -
Fill out relevant sections below or link to the meeting review notes that cover these topics
Customer Impact
-
Who was impacted by this incident? (i.e. external customers, internal customers)
- ...
-
What was the customer experience during the incident? (i.e. preventing them from doing X, incorrect display of Y, ...)
- ...
-
How many customers were affected?
- ...
-
If a precise customer impact number is unknown, what is the estimated impact (number and ratio of failed requests, amount of traffic drop, ...)?
- ...
What were the root causes?
- ...
Incident Response Analysis
-
How was the incident detected?
- ...
-
How could detection time be improved?
- ...
-
How was the root cause diagnosed?
- ...
-
How could time to diagnosis be improved?
- ...
-
How did we reach the point where we knew how to mitigate the impact?
- ...
-
How could time to mitigation be improved?
- ...
-
What went well?
- ...
Post Incident Analysis
-
Did we have other events in the past with the same root cause?
- ...
-
Do we have existing backlog items that would've prevented or greatly reduced the impact of this incident?
- ...
-
Was this incident triggered by a change (deployment of code or change to infrastructure)? If yes, link the issue.
- ...
What went well?
- ...
Guidelines
Resources
- If the Situation Zoom room was utilised, recording will be automatically uploaded to Incident room Google Drive folder (private)