Broken FOSS master in rspec ./spec/requests/api/projects_spec.rb:2231 # API::Projects GET /projects/:id when authenticated as an admin exposes all necessary attributes
https://gitlab.com/gitlab-org/gitlab-foss/-/jobs/2090913297
Failures:
1) API::Projects GET /projects/:id when authenticated as an admin exposes all necessary attributes
Failure/Error: expect(diff).to be_empty, failure_message(diff)
It looks like project's set of exposed attributes is different from the expected set.
The following attributes are missing or newly added:
requirements_access_level
Please update spec/requests/api/project_attributes.yml file"
# ./spec/requests/api/projects_spec.rb:2238:in `block (4 levels) in <top (required)>'
# ./spec/spec_helper.rb:412:in `block (3 levels) in <top (required)>'
# ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'
# ./spec/spec_helper.rb:403:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:399:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/application_context.rb:45:in `with_raw_context'
# ./spec/spec_helper.rb:399: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)>'