FOSS failure in spec/requests/api/search_spec.rb
Job #632420072 failed for ff1701e5:
6) API::Search GET /groups/:id/search with correct params for projects scope behaves like response is correct is expected to respond with numeric status code ok
Failure/Error: it { expect(response).to have_gitlab_http_status(:ok) }
expected the response to have status code :ok but it was 500. The response was: {"message":"\nActiveRecord::AssociationNotFoundError (Association named 'ip_restrictions' was not found on Group; perhaps you misspelled it?):\n /builds/gitlab-org/gitlab-foss/vendor/ruby/2.6.0/gems/activerecord-6.0.3.1/lib/active_record/associations.rb:235:in `association'\n /builds/gitlab-org/gitlab-foss/vendor/ruby/2.6.0/gems/activerecord-6.0.3.1/lib/active_record/associations/preloader.rb:153:in `block in grouped_records'\n /builds/gitlab-org/gitlab-foss/vendor/ruby/2.6.0/gems/activerecord-6.0.3.1/lib/active_record/associations/preloader.rb:151:in `each'\n /builds/gitlab-org/gitlab-foss/vendor/ruby/2.6.0/gems/activerecord-6.0.3.1/lib/active_record/associations/preloader.rb:151:in `grouped_records'\n /builds/gitlab-org/gitlab-foss/vendor/ruby/2.6.0/gems/activerecord-6.0.3.1/lib/active_record/associations/preloader.rb:137:in `preloaders_for_one'\n /builds/gitlab-org/gitlab-foss/vendor/ruby/2.6.0/gems/activerecord-6.0.3.1/lib/active_record/associations/preloader.rb:104:in `preloaders_on'\n /builds/gitlab-org/gitlab-foss/vendor/ruby/2.6.0/gems/activerecord-6.0.3.1/lib/active_record/associations/preloader.rb:117:in `block (3 levels) in preloaders_for_hash'\n /builds/gitlab-org/gitlab-foss/vendor/ruby/2.6.0/gems/activerecord-6.0.3.1/lib/active_record/associations/preloader.rb:116:in `each'\n /builds/gitlab-org/gitlab-foss/vendor/ruby/2.6.0/gems/activerecord-6.0.3.1/lib/active_record/associations/preloader.rb:116:in `flat_map'\n /builds/gitlab-org/gitlab-foss/vendor/ruby/2.6.0/gems/activerecord-6.0.3.1/lib/active_record/associations/preloader.rb:116:in `block (2 levels) in preloaders_for_hash'\n /builds/gitlab-org/gitlab-foss/vendor/ruby/2.6.0/gems/activerecord-6.0.3.1/lib/active_record/associations/preloader.rb:112:in `each'\n /builds/gitlab-org/gitlab-foss/vendor/ruby/2.6.0/gems/activerecord-6.0.3.1/lib/active_record/associations/preloader.rb:112:in `flat_map'\n /builds/gitlab-org/gitlab-foss/vendor/ruby/2.6.0/gems/activerecord-6.0.3.1/lib/active_record/associations/preloader.rb:112:in `block in preloaders_for_hash'\n /builds/gitlab-org/gitlab-foss/vendor/ruby/2.6.0/gems/activerecord-6.0.3.1