Flaky spec: rspec ./spec/models/group_spec.rb:2838 # Group has_project_with_service_desk_enabled? when service desk is enabled for top level group when service desk is not supported is expected to eq false
Job #3488585482 failed for 9ca154c9:
Failures:
1) Group has_project_with_service_desk_enabled? when service desk is enabled for top level group when service desk is not supported is expected to eq false
Failure/Error: it { is_expected.to eq(false) }
expected: false
got: true
(compared using ==)
Diff:
@@ -1 +1 @@
-false
+true
# ./spec/models/group_spec.rb:2838:in `block (6 levels) in <top (required)>'
# ./spec/spec_helper.rb:415:in `block (3 levels) in <top (required)>'
# ./spec/support/sidekiq_middleware.rb:18:in `with_sidekiq_server_middleware'
# ./spec/spec_helper.rb:407:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:403:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/application_context.rb:59:in `with_raw_context'
# ./spec/spec_helper.rb:403:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:239:in `block (2 levels) in <top (required)>'
# ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'
# ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'
# ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'
# ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'
# ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'
2) Group has_project_with_service_desk_enabled? when none of group child projects has service desk enabled is expected to eq false
Failure/Error: it { is_expected.to eq(false) }
expected: false
got: true
(compared using ==)
Diff:
@@ -1 +1 @@
-false
+true
# ./spec/models/group_spec.rb:2857:in `block (4 levels) in <top (required)>'
# ./spec/spec_helper.rb:415:in `block (3 levels) in <top (required)>'
# ./spec/support/sidekiq_middleware.rb:18:in `with_sidekiq_server_middleware'
# ./spec/spec_helper.rb:407:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:403:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/application_context.rb:59:in `with_raw_context'
# ./spec/spec_helper.rb:403:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:239:in `block (2 levels) in <top (required)>'
# ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'
# ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'
# ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'
# ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'
# ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'
Finished in 10 minutes 3 seconds (files took 1 minute 14.45 seconds to load)
1655 examples, 2 failures
Failed examples:
rspec ./spec/models/group_spec.rb:2838 # Group has_project_with_service_desk_enabled? when service desk is enabled for top level group when service desk is not supported is expected to eq false
rspec ./spec/models/group_spec.rb:2857 # Group has_project_with_service_desk_enabled? when none of group child projects has service desk enabled is expected to eq false
[TEST PROF INFO] Time spent in factories: 06:52.645 (64.97% of total time)
Stopped processing SimpleCov as a previous error not related to SimpleCov has been detected
Reproduction
$ bin/rspec --order defined -Ispec -rspec_helper --format documentation --tag ~quarantine ee/spec/models/ee/group_spec.rb ee/spec/models/ee/namespace_spec.rb spec/models/group_spec.rb spec/models/namespace_spec.rb
Bisect
$ bin/rspec --bisect --order defined -Ispec -rspec_helper --format documentation --tag ~quarantine ee/spec/models/ee/group_spec.rb ee/spec/models/ee/namespace_spec.rb spec/models/group_spec.rb spec/models/namespace_spec.rb
...
Bisect failed!
The example ordering is inconsistent. `--bisect` relies upon consistent ordering (e.g. by passing `--seed` if you're using random ordering) to work properly.