Failure in browser_ui/secure/security_reports_spec.rb | Secure Security Reports displays the Dependency List
Full description
Secure Security Reports displays the Dependency List
File path
./qa/specs/features/ee/browser_ui/secure/security_reports_spec.rb
Stack trace
1) Secure Security Reports populated reports are displayed displays the Dependency List
Failure/Error: expect(dependency_list).to have_dependency_count_of number_of_dependencies_in_fixture
expected #has_dependency_count_of?(9) to return true, got false
# ./qa/specs/features/ee/browser_ui/secure/security_reports_spec.rb:150:in `block (5 levels) in <module:QA>'
# ./qa/scenario/actable.rb:16:in `perform'
# ./qa/specs/features/ee/browser_ui/secure/security_reports_spec.rb:149:in `block (4 levels) in <module:QA>'
First happened in https://gitlab.com/gitlab-org/gitlab-qa-mirror/-/jobs/1184904814.
Implementation plan
This issue may have been fixed by Ensure dependency list shows successful pipelines, please see this comment for more details
-
Ensure that the tests quarantined in this MR no longer fail in the nightly build since
July 12 2021 12:20PM EST
-
Un-quarantine the tests listed in step
1.
- Ensure that the above tests no longer fail
Designs
- Show closed items
Relates to
Activity
-
Newest first Oldest first
-
Show all activity Show comments only Show history only
added Enterprise Edition QA Quality failureinvestigating found:master priority2 test labels
- GitLab QA Bot marked this issue as related to gitlab-org/quality/testcases#564 (closed)
marked this issue as related to gitlab-org/quality/testcases#564 (closed)
- Anastasia McDonald added devopssecure groupcomposition analysis labels
added devopssecure groupcomposition analysis labels
- Contributor
Happened again on nightly - https://gitlab.com/gitlab-org/quality/nightly/-/jobs/1189263662
Screenshot shows only 7 dependencies (out of expected 9):
/cc @willmeek
- Contributor
Can see there is already a bug report open - #328059 (closed), will link it to this issue.
Collapse replies - Contributor
I am going to quarantine the test on master and nightly only till this is fixed - !59710 (merged) as it popped up in several MRs I was reviewing and creates quite a lot of noise for pipeline triage in general.
- Anastasia McDonald marked this issue as related to #328059 (closed)
marked this issue as related to #328059 (closed)
- Anastasia McDonald added typebug label and removed failureinvestigating label
added typebug label and removed failureinvestigating label
- Anastasia McDonald mentioned in issue gitlab-org/quality/pipeline-triage#78 (closed)
mentioned in issue gitlab-org/quality/pipeline-triage#78 (closed)
- 🤖 GitLab Bot 🤖 added sectionsec label
added sectionsec label
- Anastasia McDonald mentioned in commit a6b12d5b
mentioned in commit a6b12d5b
- Nailia Iskhakova mentioned in commit omnibus-gitlab@f2c23710
mentioned in commit omnibus-gitlab@f2c23710
- Balasankar 'Balu' C mentioned in commit omnibus-gitlab@a322670d
mentioned in commit omnibus-gitlab@a322670d
- Nicole Schwartz added severity2 label
added severity2 label
- Nicole Schwartz changed milestone to %Next 1-3 releases
changed milestone to %Next 1-3 releases
- Anastasia McDonald mentioned in commit 089e8af7
mentioned in commit 089e8af7
- 🤖 GitLab Bot 🤖 added [deprecated] Accepting merge requests label
added [deprecated] Accepting merge requests label
- Anastasia McDonald mentioned in merge request !59710 (merged)
mentioned in merge request !59710 (merged)
- Erick Banks mentioned in issue gitlab-org/quality/pipeline-triage#80 (closed)
mentioned in issue gitlab-org/quality/pipeline-triage#80 (closed)
- Nicole Schwartz changed milestone to %14.2
changed milestone to %14.2
- GitLab QA Bot added found:main label
added found:main label
- Mark Lapierre mentioned in commit 287e66c4
mentioned in commit 287e66c4
- Sanad Liaquat mentioned in commit 68be0c5c
mentioned in commit 68be0c5c
- Maintainer
- Sanad Liaquat mentioned in issue gitlab-org/quality/pipeline-triage#84 (closed)
mentioned in issue gitlab-org/quality/pipeline-triage#84 (closed)
- Sean McGivern mentioned in merge request !62607 (merged)
mentioned in merge request !62607 (merged)
- Aleksei Lipniagov mentioned in merge request !61888 (merged)
mentioned in merge request !61888 (merged)
- Sanad Liaquat changed the description
Compare with previous version changed the description
- Bob Van Landuyt mentioned in merge request !62689 (merged)
mentioned in merge request !62689 (merged)
- Maintainer
@gonzoyumo and @NicoleSchwartz,This groupcomposition analysis bug has at most 25% of the SLO duration remaining and is ~"approaching-SLO" breach. Please consider taking action before this becomes a ~"missed-SLO" in 14 days (2021-06-18).
- 🤖 GitLab Bot 🤖 added SLONear Miss label
added SLONear Miss label
- Nicole Schwartz added backend label
added backend label
- Nicole Schwartz added GitLab Ultimate label
added GitLab Ultimate label
- 🤖 GitLab Bot 🤖 added SLOMissed label
added SLOMissed label
- Nicole Schwartz added workflowplanning breakdown label
added workflowplanning breakdown label
- Olivier Gonzalez added workflowrefinement label and removed workflowplanning breakdown label
added workflowrefinement label and removed workflowplanning breakdown label
- Olivier Gonzalez changed milestone to %14.3
changed milestone to %14.3
- Contributor
moving all items into backlog as they should be brought in from backlog when ready
- Nicole Schwartz changed milestone to %Backlog
changed milestone to %Backlog
- Contributor
This occurred again on Canary - https://ops.gitlab.net/gitlab-org/quality/canary/-/jobs/4510157 The screenshot indicates the same result (7 instead of 9) as in my comment above.
- Anastasia McDonald mentioned in issue gitlab-org/quality/pipeline-triage#93 (closed)
mentioned in issue gitlab-org/quality/pipeline-triage#93 (closed)
- Nicole Schwartz changed milestone to %14.3
changed milestone to %14.3
- Developer
@willmeek @a_mcdonald I believe this issue has been fixed by Ensure dependency list shows successful pipelines and we can now un-quarantine these tests.
Here's a video showing the behaviour before the code change in Ensure dependency list shows successful pipelines
And here's a video showing the behaviour after the code change:
Collapse replies - Developer
I believe this issue has been fixed by Ensure dependency list shows successful pipelines and we can now un-quarantine these tests.
@a_mcdonald actually, I just noticed the date on your comment which showed a failure in Canary was
Aug 5, 2021 7:36am EST
. Meanwhile, the code update that I thought might have fixed this issue: Ensure dependency list shows successful pipelines, was pushed to Canary onJul 12, 2021 7:50am EST
, so it looks like my assumption is incorrect and this failing test has not been resolved by the code change. - Developer
@willmeek any idea why we're still seeing this failure in canary given the video I shared in this comment which shows that the dependency list is only updated after a successful pipeline?
Hi Adam, I've tried to replicate it but been unable to. The latest Canary runs show the test as working. Unfortunately the test case issue gitlab-org/quality/testcases#564 (closed) won't show all updates from the QA bot though, which would list all failures.
I'll try and dig in if there were Canary issues on the 5th August that might be relevant.
- Developer
@willmeek I didn't notice that you had already de-quarantined the security report spec tests last week, and it looks as if the tests have been passing consistently, so it seems as though ensure dependency list shows successful pipelines has actually solved the issue and that the Canary failure on August 5th may be a red-herring. What do you think about closing this issue and re-opening if we encounter another failure? /cc @gonzoyumo
@adamcohen I'll close the issue and if the same thing is observed again we can reopen and investigate then. Thank you!!
1
- Adam Cohen assigned to @adamcohen
assigned to @adamcohen
- 🤖 GitLab Bot 🤖 removed [deprecated] Accepting merge requests label
removed [deprecated] Accepting merge requests label
- Adam Cohen added workflowscheduling label and removed workflowrefinement label
added workflowscheduling label and removed workflowrefinement label
- Adam Cohen set weight to 1
set weight to 1
- Adam Cohen unassigned @adamcohen
unassigned @adamcohen
- Adam Cohen changed the description
Compare with previous version changed the description
- Adam Cohen added workflowrefinement label and removed workflowscheduling label
added workflowrefinement label and removed workflowscheduling label
- Adam Cohen set weight to 0
set weight to 0
- Adam Cohen removed weight
removed weight
- Adam Cohen assigned to @adamcohen
assigned to @adamcohen
- Will Meek closed
closed
- Olivier Gonzalez added Stretch label
added Stretch label