2021-11-11: QA smoke test failure on gstg - npm_project_level_spec.rb
Current Status
The root cause is some flakiness in QA specs for packages.
Usually those specs will try to push a package and pull it from the package registry. The problem is that for some specs (such as NPM), we use a fixed package name.
At the end of the specs, the package is removed and the hosting project is removed too. The problem is that we can have some latency in those operations.
The spec suite will continue its execution with the next spec example and could upload the same package name a second time. Usually, it's fine but some package managers APIs have some restrictions on duplicates.
That's the case of NPM: https://docs.gitlab.com/ee/user/packages/npm_registry/#publishing-packages-with-the-same-name-or-version.
So, depending on the latency of removing the package/project, the next spec can fail or not. That's the definition of a flaky spec.
Timeline
Recent Events (available internally only):
- Deployments
- Feature Flag Changes
- Infrastructure Configurations
- GCP Events (e.g. host failure)
All times UTC.
2021-11-11
-
11:21
- @nolith declares incident in Slack -
11:24
- A flaky test is identified as the cause - #5908 (comment 730593107) -
11:57
- @10io disables feature flag
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.
- ...
Lessons Learned
- ...
Guidelines
Resources
- If the Situation Zoom room was utilised, recording will be automatically uploaded to Incident room Google Drive folder (private)