Flaky test: spec/requests/api/debian_project_packages_spec.rb[1:15:2:1:1] # API::DebianProjectPackages PUT projects/:id/packages/debian/:file_name/authorize behaves like not a Debian package tracking event behaves like not a package tracking event does no
Summary
Mater-broken incidents: gitlab-org/quality/engineering-productivity/master-broken-incidents#1458 (closed) and gitlab-org/quality/engineering-productivity/master-broken-incidents#1459 (closed)
Job #4141405659 failed for 202b5f8c:
Failures:
1) API::DebianProjectPackages PUT projects/:id/packages/debian/:file_name/authorize behaves like not a Debian package tracking event behaves like not a package tracking event does not create a gitlab tracking event
Got 2 failures:
Shared Example Group: "not a package tracking event" called from ./spec/requests/api/debian_project_packages_spec.rb:21
Shared Example Group: "Debian repository access" called from ./spec/requests/api/debian_project_packages_spec.rb:20
Shared Example Group: "not a Debian package tracking event" called from ./spec/requests/api/debian_project_packages_spec.rb:238
Shared Example Group: "Debian repository shared context" called from ./spec/requests/api/debian_project_packages_spec.rb:8
1.1) Failure/Error: expect(Gitlab::Tracking).not_to have_received(tracking_method) # rubocop:disable RSpec/ExpectGitlabTracking
(Gitlab::Tracking).event(no args)
expected: 0 times with any arguments
received: 1 time
# ./spec/support/helpers/snowplow_helpers.rb:86:in `expect_no_snowplow_event'
# ./spec/support/shared_examples/requests/api/packages_shared_examples.rb:168:in `block (2 levels) in <main>'
# ./spec/spec_helper.rb:427:in `block (3 levels) in <top (required)>'
# ./spec/support/sidekiq_middleware.rb:18:in `with_sidekiq_server_middleware'
# ./spec/spec_helper.rb:419:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:415:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/application_context.rb:61:in `with_raw_context'
# ./spec/spec_helper.rb:415:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:242:in `block (2 levels) in <top (required)>'
# ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <main>'
# ./spec/support/database/prevent_cross_joins.rb:108:in `block (3 levels) in <main>'
# ./spec/support/database/prevent_cross_joins.rb:62:in `with_cross_joins_prevented'
# ./spec/support/database/prevent_cross_joins.rb:108:in `block (2 levels) in <main>'
1.2) Failure/Error: expect(Gitlab::Tracking).not_to have_received(tracking_method) # rubocop:disable RSpec/ExpectGitlabTracking
(Gitlab::Tracking).event(*(any args))
expected: 0 times with any arguments
received: 1 time with any arguments
# ./spec/support/helpers/snowplow_helpers.rb:86:in `expect_no_snowplow_event'
# ./spec/support/shared_examples/requests/api/packages_shared_examples.rb:168:in `block (2 levels) in <main>'
# ./spec/spec_helper.rb:427:in `block (3 levels) in <top (required)>'
# ./spec/support/sidekiq_middleware.rb:18:in `with_sidekiq_server_middleware'
# ./spec/spec_helper.rb:419:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:415:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/application_context.rb:61:in `with_raw_context'
# ./spec/spec_helper.rb:415:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:242:in `block (2 levels) in <top (required)>'
# ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <main>'
# ./spec/support/database/prevent_cross_joins.rb:108:in `block (3 levels) in <main>'
# ./spec/support/database/prevent_cross_joins.rb:62:in `with_cross_joins_prevented'
# ./spec/support/database/prevent_cross_joins.rb:108:in `block (2 levels) in <main>'
Finished in 8.59 seconds (files took 58.28 seconds to load)
1 example, 1 failure
Failed examples:
rspec './spec/requests/api/debian_project_packages_spec.rb[1:15:2:1:1]' # API::DebianProjectPackages PUT projects/:id/packages/debian/:file_name/authorize behaves like not a Debian package tracking event behaves like not a package tracking event does not create a gitlab tracking event
Steps to reproduce
Please refer to Flaky tests documentation to learn more about how to reproduce them.
Proposed Resolution
Please refer to the Resolution guidance to learn more about resolution of broken master.
Once the flaky failure has been fixed on the default branch, open merge requests to cherry-pick the fix to the active stable branches.