Failure in ee/spec/services/security/scan_result_policies/update_approvals_service_spec.rb | Security::ScanResultPolicies::UpdateApprovalsService#execute when the number of findings in current pipeline exceed the allowed limit when new findings are int...
Test metadata (don't modify)
Field | Value |
---|---|
File | ee/spec/services/security/scan_result_policies/update_approvals_service_spec.rb#L210 |
Description | Security::ScanResultPolicies::UpdateApprovalsService#execute when the number of findings in current pipeline exceed the allowed limit when new findings are introduced and it exceeds the allowed limit logs update |
Test level | unit |
Hash | 100a34e91a8a887ab4c67afc189ce7d63cda7f7116ff755935e4e99696f8c3be |
Duration | 16.7 seconds |
Expected duration | < 45.4 seconds |
Stack trace
Failure/Error: described_class.new(merge_request: merge_request, pipeline: pipeline).execute
#<Gitlab::AppJsonLogger (class)> received :info with unexpected arguments
expected: ({:event=>"update_approvals", :merge_request_id=>1, :merge_request_iid=>1, :message=>"Evaluating MR ap...ult policies", :pipeline_ids=>[1], :project_path=>"namespace1/project-1", :target_pipeline_ids=>[2]})
got: ({:event=>"update_approvals", :merge_request_id=>1, :merge_request_iid=>1, :message=>"Evaluating MR ap...t policies", :pipeline_ids=>[1], :project_path=>"namespace13/project-13", :target_pipeline_ids=>[2]})
Diff:
@@ -3,6 +3,6 @@
:merge_request_iid=>1,
:message=>"Evaluating MR approval rules from scan result policies",
:pipeline_ids=>[1],
- :project_path=>"namespace1/project-1",
+ :project_path=>"namespace13/project-13",
:target_pipeline_ids=>[2]}]
Reports (34)
- 2023-09-20: https://gitlab.com/gitlab-org/gitlab/-/jobs/5127392496 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1010747851)
- 2023-09-24: https://gitlab.com/gitlab-org/gitlab/-/jobs/5151840129 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1014601672)
- 2023-09-24: https://gitlab.com/gitlab-org/gitlab/-/jobs/5151945212 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1014624875)
- 2023-09-24: https://gitlab.com/gitlab-org/gitlab/-/jobs/5151945232 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1014624875)
- 2023-09-24: https://gitlab.com/gitlab-org/gitlab/-/jobs/5151945252 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1014624875)
- 2023-09-24: https://gitlab.com/gitlab-org/gitlab/-/jobs/5151945781 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1014624875)
- 2023-09-24: https://gitlab.com/gitlab-org/gitlab/-/jobs/5151945918 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1014624875)
- 2023-09-24: https://gitlab.com/gitlab-org/gitlab/-/jobs/5151945763 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1014624875)
- 2023-09-24: https://gitlab.com/gitlab-org/gitlab/-/jobs/5151945839 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1014624875)
- 2023-09-24: https://gitlab.com/gitlab-org/gitlab/-/jobs/5151945707 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1014624875)
- 2023-09-24: https://gitlab.com/gitlab-org/gitlab/-/jobs/5152013570 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1014640569)
- 2023-09-24: https://gitlab.com/gitlab-org/gitlab/-/jobs/5151945861 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1014624875)
- 2023-09-24: https://gitlab.com/gitlab-org/gitlab/-/jobs/5152176286 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1014679988)
- 2023-09-24: https://gitlab.com/gitlab-org/gitlab/-/jobs/5152348779 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1014713752)
- 2023-09-24: https://gitlab.com/gitlab-org/gitlab/-/jobs/5152496999 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1014746812)
- 2023-09-24: https://gitlab.com/gitlab-org/gitlab/-/jobs/5152641922 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1014781323)
- 2023-09-24: https://gitlab.com/gitlab-org/gitlab/-/jobs/5152661453 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1014746812)
- 2023-09-24: https://gitlab.com/gitlab-org/gitlab/-/jobs/5152791429 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1014817677)
- 2023-09-24: https://gitlab.com/gitlab-org/gitlab/-/jobs/5152954121 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1014853234)
- 2023-09-24: https://gitlab.com/gitlab-org/gitlab/-/jobs/5153109159 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1014889785)
- 2023-09-24: https://gitlab.com/gitlab-org/gitlab/-/jobs/5153272006 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1014926951)
- 2023-09-24: https://gitlab.com/gitlab-org/gitlab/-/jobs/5153435008 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1014963042)
- 2023-09-24: https://gitlab.com/gitlab-org/gitlab/-/jobs/5153735180 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1015001699)
- 2023-09-25: https://gitlab.com/gitlab-org/gitlab/-/jobs/5153920139 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1015039754)
- 2023-09-25: https://gitlab.com/gitlab-org/gitlab/-/jobs/5154053295 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1015066660)
- 2023-09-25: https://gitlab.com/gitlab-org/gitlab/-/jobs/5154053276 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1015066660)
- 2023-09-25: https://gitlab.com/gitlab-org/gitlab/-/jobs/5154053736 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1015066660)
- 2023-09-25: https://gitlab.com/gitlab-org/gitlab/-/jobs/5154054090 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1015066660)
- 2023-09-25: https://gitlab.com/gitlab-org/gitlab/-/jobs/5154053755 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1015066660)
- 2023-09-25: https://gitlab.com/gitlab-org/gitlab/-/jobs/5154053886 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1015066660)
- 2023-09-25: https://gitlab.com/gitlab-org/gitlab/-/jobs/5154054070 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1015066660)
- 2023-09-25: https://gitlab.com/gitlab-org/gitlab/-/jobs/5154053923 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1015066660)
- 2023-09-25: https://gitlab.com/gitlab-org/gitlab/-/jobs/5154053237 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1015066660)
- 2023-09-25: https://gitlab.com/gitlab-org/gitlab/-/jobs/5154169340 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1015087498)
Edited by Ghost User