Failure in api/1_manage/migration/gitlab_migration_project_spec.rb | Manage Gitlab migration with repository successfully imports repository
### Test metadata (don't modify) | Field | Value | | ------ | ------ | | File | [`qa/qa/specs/features/api/1_manage/migration/gitlab_migration_project_spec.rb#L99`](https://gitlab.com/gitlab-org/gitlab/-/blob/master/qa/qa/specs/features/api/1_manage/migration/gitlab_migration_project_spec.rb#L99) | | Description | `Manage Gitlab migration with repository successfully imports repository` | | Test level | | | Hash | `def0facdab78a396e896e7f6a193d848a9b53c96aeb6e40a665b0bd2636419b1` | | Duration | 89.87 seconds | | Expected duration | < 240 seconds | | Test case | https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/347570 | ### Stack trace ``` Failure/Error: expect(imported_branches).to match_array(source_branches) expected collection contained: [{:can_push=>true, :commit=>{:author_email=>"admin@example.com", :author_name=>"Administrator", :auth...merge=>false, :developers_can_push=>false, :merged=>false, :name=>"test-branch", :protected=>false}] actual collection contained: [{:can_push=>true, :commit=>{:author_email=>"admin@example.com", :author_name=>"Administrator", :auth..._merge=>false, :developers_can_push=>false, :merged=>false, :name=>"test-branch", :protected=>true}] the missing elements were: [{:can_push=>true, :commit=>{:author_email=>"admin@example.com", :author_name=>"Administrator", :auth...merge=>false, :developers_can_push=>false, :merged=>false, :name=>"test-branch", :protected=>false}] the extra elements were: [{:can_push=>true, :commit=>{:author_email=>"admin@example.com", :author_name=>"Administrator", :auth..._merge=>false, :developers_can_push=>false, :merged=>false, :name=>"test-branch", :protected=>true}] ``` ### Reports (36) 1. 2023-08-14: https://gitlab.com/gitlab-org/gitlab/-/jobs/4867945711 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/966869600) 1. 2023-08-14: https://gitlab.com/gitlab-org/gitlab/-/jobs/4868889690 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/967019016) 1. 2023-08-14: https://gitlab.com/gitlab-org/gitlab/-/jobs/4869852592 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/967168168) 1. 2023-08-14: https://gitlab.com/gitlab-org/gitlab/-/jobs/4871060516 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/967355393) 1. 2023-08-14: https://gitlab.com/gitlab-org/gitlab/-/jobs/4872175398 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/967505933) 1. 2023-08-15: https://gitlab.com/gitlab-org/gitlab/-/jobs/4872557101 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/967569489) 1. 2023-08-15: https://gitlab.com/gitlab-org/gitlab/-/jobs/4872957363 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/967630261) 1. 2023-08-15: https://gitlab.com/gitlab-org/gitlab/-/jobs/4873344116 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/967699082) 1. 2023-08-15: https://gitlab.com/gitlab-org/gitlab/-/jobs/4875434397 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/968160525) 1. 2023-08-15: https://gitlab.com/gitlab-org/gitlab/-/jobs/4876230539 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/968292313) 1. 2023-08-15: https://gitlab.com/gitlab-org/gitlab/-/jobs/4877353532 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/968461886) 1. 2023-08-15: https://gitlab.com/gitlab-org/gitlab/-/jobs/4877920358 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/968545603) 1. 2023-08-15: https://gitlab.com/gitlab-org/gitlab/-/jobs/4878501424 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/968630669) 1. 2023-08-15: https://gitlab.com/gitlab-org/gitlab/-/jobs/4879407399 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/968791930) 1. 2023-08-16: https://gitlab.com/gitlab-org/gitlab/-/jobs/4879969473 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/968887861) 1. 2023-08-16: https://gitlab.com/gitlab-org/gitlab/-/jobs/4880256677 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/968941996) 1. 2023-08-16: https://gitlab.com/gitlab-org/gitlab/-/jobs/4880434181 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/968976501) 1. 2023-08-16: https://gitlab.com/gitlab-org/gitlab/-/jobs/4880497708 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/968989994) 1. 2023-08-16: https://gitlab.com/gitlab-org/gitlab/-/jobs/4880636861 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/969017624) 1. 2023-08-16: https://gitlab.com/gitlab-org/gitlab/-/jobs/4880952834 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/969075155) 1. 2023-08-16: https://gitlab.com/gitlab-org/gitlab/-/jobs/4881472966 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/969163530) 1. 2023-08-16: https://gitlab.com/gitlab-org/gitlab/-/jobs/4882311039 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/969300078) 1. 2023-08-16: https://gitlab.com/gitlab-org/gitlab/-/jobs/4883210883 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/969449141) 1. 2023-08-16: https://gitlab.com/gitlab-org/gitlab/-/jobs/4884231085 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/969613887) 1. 2023-08-16: https://gitlab.com/gitlab-org/gitlab/-/jobs/4885218573 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/969795261) 1. 2023-08-16: https://gitlab.com/gitlab-org/gitlab/-/jobs/4886187640 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/969956621) 1. 2023-08-16: https://gitlab.com/gitlab-org/gitlab/-/jobs/4887056300 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/970122729) 1. 2023-08-16: https://gitlab.com/gitlab-org/gitlab/-/jobs/4888288374 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/970317222) 1. 2023-08-17: https://gitlab.com/gitlab-org/gitlab/-/jobs/4888698540 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/970402586) 1. 2023-08-17: https://gitlab.com/gitlab-org/gitlab/-/jobs/4888801887 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/970425701) 1. 2023-08-17: https://gitlab.com/gitlab-org/gitlab/-/jobs/4888922667 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/970453409) 1. 2023-08-17: https://gitlab.com/gitlab-org/gitlab/-/jobs/4889295846 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/970517537) 1. 2023-08-17: https://gitlab.com/gitlab-org/gitlab/-/jobs/4889831233 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/970603710) 1. 2023-08-17: https://gitlab.com/gitlab-org/gitlab/-/jobs/4890857584 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/970765740) 1. 2023-08-17: https://gitlab.com/gitlab-org/gitlab/-/jobs/4892928638 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/971089671) 1. 2023-08-17: https://gitlab.com/gitlab-org/gitlab/-/jobs/4895034852 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/971406375)
issue