rspec unit pg12 1/28
Passed Started
by
@ahegyi
Adam Hegyi
1 does not raise error when built2 does not raise error when created3 linting :dirty trait4 does not raise error when created5 linting :repository_dirty trait6 does not raise error when created7 linting :wiki_dirty trait8 does not raise error when created9 linting :synced trait10 does not raise error when created11 linting :sync_failed trait12 does not raise error when created13 linting :repository_sync_failed trait14 does not raise error when created15 linting :existing_repository_sync_failed trait16 does not raise error when created17 linting :repository_syncing trait18 does not raise error when created19 linting :wiki_sync_failed trait20 does not raise error when created21 linting :wiki_syncing trait22 does not raise error when created23 linting :repository_verified trait24 does not raise error when created25 linting :repository_verification_failed trait26 does not raise error when created27 linting :repository_checksum_mismatch trait28 does not raise error when created29 linting :repository_verification_outdated trait30 does not raise error when created31 linting :repository_retrying_verification trait32 does not raise error when created33 linting :wiki_verified trait34 does not raise error when created35 linting :wiki_verification_failed trait36 does not raise error when created37 linting :wiki_checksum_mismatch trait38 does not raise error when created39 linting :wiki_verification_outdated trait40 does not raise error when created41 linting :wiki_retrying_verification trait42 does not raise error when created43 behaves like factory44 geo_project_wiki_repository_registry factory45 does not raise error when built46 does not raise error when created47 linting :synced trait48 does not raise error when created49 linting :failed trait50 does not raise error when created51 linting :started trait52 does not raise error when created53 linting :verification_succeeded trait54 does not raise error when created55 behaves like factory56 geo_project_wiki_repository_state factory57 does not raise error when built58 does not raise error when created59 linting :checksummed trait60 does not raise error when created61 linting :checksum_failure trait62 does not raise error when created63 behaves like factory64 geo_secondary_usage_data factory65 does not raise error when built66 does not raise error when created67 behaves like factory68 geo_snippet_repository_registry factory69 does not raise error when built70 does not raise error when created71 linting :synced trait72 does not raise error when created73 linting :failed trait74 does not raise error when created75 linting :started trait76 does not raise error when created77 linting :verification_succeeded trait78 does not raise error when created79 behaves like factory80 geo_terraform_state_version_registry factory81 does not raise error when built82 does not raise error when created83 linting :synced trait84 does not raise error when created85 linting :failed trait86 does not raise error when created87 linting :started trait88 does not raise error when created89 linting :verification_succeeded trait90 does not raise error when created91 behaves like factory92 geo_upload_registry factory93 does not raise error when built94 does not raise error when created95 linting :synced trait96 does not raise error when created97 linting :failed trait98 does not raise error when created99 linting :started trait100 does not raise error when created101 linting :verification_succeeded trait102 does not raise error when created103 behaves like factory104 geo_upload_state factory105 does not raise error when built (PENDING: Factory skipped linting due to legacy error)106 does not raise error when created (PENDING: Factory skipped linting due to legacy error)107 linting :checksummed trait108 does not raise error when created (PENDING: Trait skipped linting due to legacy error)109 linting :checksum_failure trait110 does not raise error when created (PENDING: Trait skipped linting due to legacy error)111 behaves like factory112 geo_node_namespace_link factory113 does not raise error when built114 does not raise error when created115 behaves like factory116 geo_node_status factory117 does not raise error when built118 does not raise error when created119 linting :healthy trait120 does not raise error when created121 linting :replicated_and_verified trait122 does not raise error when created123 linting :unhealthy trait124 does not raise error when created125 behaves like factory126 geo_node factory127 does not raise error when built128 does not raise error when created129 linting :primary trait130 does not raise error when created131 linting :secondary trait132 does not raise error when created133 linting :local_storage_only trait134 does not raise error when created135 linting :selective_sync_excludes_all_projects trait136 does not raise error when created137 behaves like factory138 geo_node_with_selective_sync_for factory139 does not raise error when built140 does not raise error when created141 behaves like factory142 gitlab_subscription factory143 does not raise error when built144 does not raise error when created145 linting :expired trait146 does not raise error when created147 linting :active_trial trait148 does not raise error when created149 linting :extended_trial trait150 does not raise error when created151 linting :expired_trial trait152 does not raise error when created153 linting :reactivated_trial trait154 does not raise error when created155 linting :default trait156 does not raise error when created157 linting :free trait158 does not raise error when created159 linting :bronze trait160 does not raise error when created161 linting :silver trait162 does not raise error when created163 linting :premium trait164 does not raise error when created165 linting :gold trait166 does not raise error when created167 linting :ultimate trait168 does not raise error when created169 linting :premium_trial trait170 does not raise error when created171 linting :ultimate_trial trait172 does not raise error when created173 linting :opensource trait174 does not raise error when created175 behaves like factory176 group_deletion_schedule factory177 does not raise error when built178 does not raise error when created179 behaves like factory180 group_hook factory181 does not raise error when built182 does not raise error when created183 linting :all_events_enabled trait184 does not raise error when created185 behaves like factory186 group_merge_request_approval_setting factory187 does not raise error when built188 does not raise error when created189 behaves like factory190 group_repository_storage_move factory191 does not raise error when built192 does not raise error when created193 linting :scheduled trait194 does not raise error when created195 linting :started trait196 does not raise error when created197 linting :replicated trait198 does not raise error when created199 linting :finished trait200 does not raise error when created201 linting :failed trait202 does not raise error when created203 behaves like factory204 group_saml_identity factory205 does not raise error when built206 does not raise error when created207 behaves like factory208 group_wiki_repository factory209 does not raise error when built210 does not raise error when created211 behaves like factory212 group_wiki factory213 does not raise error when built214 does not raise error when created215 behaves like factory216 group_with_members factory217 does not raise error when built218 does not raise error when created219 behaves like factory220 group_with_ldap factory221 does not raise error when built222 does not raise error when created223 behaves like factory224 group_with_ldap_group_link factory225 does not raise error when built226 does not raise error when created227 behaves like factory228 group_with_ldap_group_filter_link factory229 does not raise error when built230 does not raise error when created231 behaves like factory232 group_with_deletion_schedule factory233 does not raise error when built234 does not raise error when created235 behaves like factory236 group_with_managed_accounts factory237 does not raise error when built238 does not raise error when created239 behaves like factory240 group_with_plan factory241 does not raise error when built242 does not raise error when created243 behaves like factory244 historical_data factory245 does not raise error when built246 does not raise error when created247 behaves like factory248 incident_management_escalation_policy factory249 does not raise error when built250 does not raise error when created251 behaves like factory252 incident_management_escalation_rule factory253 does not raise error when built254 does not raise error when created255 linting :resolved trait256 does not raise error when created257 linting :removed trait258 does not raise error when created259 linting :with_user trait260 does not raise error when created261 behaves like factory262 issuable_resource_link factory263 does not raise error when built264 does not raise error when created265 behaves like factory266 incident_management_oncall_participant factory267 does not raise error when built268 does not raise error when created269 linting :with_developer_access trait270 does not raise error when created271 linting :removed trait272 does not raise error when created273 linting :utc trait274 does not raise error when created275 behaves like factory276 incident_management_oncall_rotation factory277 does not raise error when built278 does not raise error when created279 linting :with_active_period trait280 does not raise error when created281 linting :with_participants trait282 does not raise error when created283 linting :utc trait284 does not raise error when created285 behaves like factory286 incident_management_oncall_schedule factory287 does not raise error when built288 does not raise error when created289 linting :utc trait290 does not raise error when created291 linting :with_rotation trait292 does not raise error when created293 behaves like factory294 incident_management_oncall_shift factory295 does not raise error when built296 does not raise error when created297 linting :utc trait298 does not raise error when created299 behaves like factory300 incident_management_pending_alert_escalation factory301 does not raise error when built302 does not raise error when created303 behaves like factory304 incident_management_pending_issue_escalation factory305 does not raise error when built306 does not raise error when created307 behaves like factory308 insight factory309 does not raise error when built310 does not raise error when created311 behaves like factory312 insights_issues_by_team factory313 does not raise error when built314 does not raise error when created315 behaves like factory316 insights_merge_requests_per_month factory317 does not raise error when built318 does not raise error when created319 behaves like factory320 insights_issues_by_team_per_month factory321 does not raise error when built322 does not raise error when created323 behaves like factory324 gitlab_slack_application_integration factory325 does not raise error when built326 does not raise error when created327 behaves like factory328 github_integration factory329 does not raise error when built330 does not raise error when created331 behaves like factory332 ip_restriction factory333 does not raise error when built334 does not raise error when created335 behaves like factory336 issuable_metric_image factory337 does not raise error when built338 does not raise error when created339 linting :local trait340 does not raise error when created341 behaves like factory342 issuable_sla factory343 does not raise error when built344 does not raise error when created345 linting :exceeded trait346 does not raise error when created347 linting :label_applied trait348 does not raise error when created349 linting :issuable_closed trait350 does not raise error when created351 behaves like factory352 requirement_issue factory353 does not raise error when built354 does not raise error when created355 behaves like factory356 quality_test_case factory357 does not raise error when built358 does not raise error when created359 behaves like factory360 iteration factory361 does not raise error when built362 does not raise error when created363 linting :with_title trait364 does not raise error when created365 linting :upcoming trait366 does not raise error when created367 linting :current trait368 does not raise error when created369 linting :closed trait370 does not raise error when created371 linting :skip_future_date_validation trait372 does not raise error when created373 linting :with_due_date trait374 does not raise error when created375 behaves like factory376 upcoming_iteration factory377 does not raise error when built378 does not raise error when created379 behaves like factory380 current_iteration factory381 does not raise error when built382 does not raise error when created383 behaves like factory384 closed_iteration factory385 does not raise error when built386 does not raise error when created387 behaves like factory388 iterations_cadence factory389 does not raise error when built390 does not raise error when created391 behaves like factory392 ldap_group_link factory393 does not raise error when built394 does not raise error when created395 behaves like factory396 ldap_key factory397 does not raise error when built398 does not raise error when created399 behaves like factory400 gitlab_license factory401 does not raise error when built402 does not raise error when created403 linting :trial trait404 does not raise error when created405 linting :expired trait406 does not raise error when created407 linting :cloud trait408 does not raise error when created409 linting :offline_enabled trait410 does not raise error when created411 linting :offline_disabled trait412 does not raise error when created413 behaves like factory414 license factory415 does not raise error when built416 does not raise error when created417 behaves like factory418 user_list factory419 does not raise error when built420 does not raise error when created421 behaves like factory422 milestone_list factory423 does not raise error when built424 does not raise error when created425 behaves like factory426 iteration_list factory427 does not raise error when built428 does not raise error when created429 behaves like factory430 merge_request_diff_detail factory431 does not raise error when built432 does not raise error when created433 linting :checksummed trait434 does not raise error when created435 linting :checksum_failure trait436 does not raise error when created437 behaves like factory438 merge_request_with_approver factory439 does not raise error when built440 does not raise error when created441 behaves like factory442 ee_merge_request factory443 does not raise error when built444 does not raise error when created445 linting :with_license_scanning_reports trait446 does not raise error when created447 linting :with_container_scanning_reports trait448 does not raise error when created449 linting :with_dependency_scanning_reports trait450 does not raise error when created451 linting :with_coverage_fuzzing_reports trait452 does not raise error when created453 linting :with_api_fuzzing_reports trait454 does not raise error when created455 linting :with_dast_reports trait456 does not raise error when created457 linting :with_metrics_reports trait458 does not raise error when created459 behaves like factory460 merge_train factory461 does not raise error when built462 does not raise error when created463 linting :idle trait464 does not raise error when created465 linting :merged trait466 does not raise error when created467 linting :merging trait468 does not raise error when created469 linting :stale trait470 does not raise error when created471 linting :fresh trait472 does not raise error when created473 behaves like factory474 namespace_ban factory475 does not raise error when built476 does not raise error when created477 behaves like factory478 namespace_limit factory479 does not raise error when built480 does not raise error when created481 behaves like factory482 namespace_with_plan factory483 does not raise error when built484 does not raise error when created485 behaves like factory486 note_on_epic factory487 does not raise error when built488 does not raise error when created489 behaves like factory490 note_on_vulnerability factory491 does not raise error when built492 does not raise error when created493 behaves like factory494 discussion_note_on_vulnerability factory495 does not raise error when built496 does not raise error when created497 behaves like factory498 path_lock factory499 does not raise error when built500 does not raise error when created501 behaves like factory502 project_alias factory503 does not raise error when built504 does not raise error when created505 behaves like factory506 repository_state factory507 does not raise error when built508 does not raise error when created509 linting :repository_failed trait510 does not raise error when created511 linting :repository_outdated trait512 does not raise error when created513 linting :repository_verified trait514 does not raise error when created515 linting :wiki_failed trait516 does not raise error when created517 linting :wiki_outdated trait518 does not raise error when created519 linting :wiki_verified trait520 does not raise error when created521 behaves like factory522 protected_environment factory523 does not raise error when built524 does not raise error when created525 linting :admins_can_deploy trait526 does not raise error when created527 linting :maintainers_can_deploy trait528 does not raise error when created529 linting :developers_can_deploy trait530 does not raise error when created531 linting :production trait532 does not raise error when created533 linting :staging trait534 does not raise error when created535 linting :project_level trait536 does not raise error when created537 linting :group_level trait538 does not raise error when created539 behaves like factory540 protected_environment_approval_rule factory541 does not raise error when built542 does not raise error when created543 linting :maintainer_access trait544 does not raise error when created545 linting :developer_access trait546 does not raise error when created547 behaves like factory548 protected_environment_deploy_access_level factory549 does not raise error when built550 does not raise error when created551 linting :maintainer_access trait552 does not raise error when created553 behaves like factory554 push_rule factory555 does not raise error when built556 does not raise error when created557 linting :commit_message trait558 does not raise error when created559 linting :author_email trait560 does not raise error when created561 behaves like factory562 push_rule_sample factory563 does not raise error when built564 does not raise error when created565 behaves like factory566 push_rule_without_project factory567 does not raise error when built568 does not raise error when created569 behaves like factory570 related_epic_link factory571 does not raise error when built572 does not raise error when created573 behaves like factory574 test_report factory575 does not raise error when built576 does not raise error when created577 behaves like factory578 resource_iteration_event factory579 does not raise error when built580 does not raise error when created581 behaves like factory582 resource_weight_event factory583 does not raise error when built584 does not raise error when created585 behaves like factory586 saml_group_link factory587 does not raise error when built588 does not raise error when created589 behaves like factory590 saml_provider factory591 does not raise error when built592 does not raise error when created593 linting :enforced_group_managed_accounts trait594 does not raise error when created595 behaves like factory596 sbom_component_version factory597 does not raise error when built598 does not raise error when created599 behaves like factory600 sbom_component factory601 does not raise error when built602 does not raise error when created603 behaves like factory604 sbom_occurrence_map factory605 does not raise error when built606 does not raise error when created607 linting :with_component trait608 does not raise error when created609 linting :with_component_version trait610 does not raise error when created611 linting :with_source trait612 does not raise error when created613 linting :for_occurrence_ingestion trait614 does not raise error when created615 behaves like factory616 sbom_occurrence factory617 does not raise error when built618 does not raise error when created619 behaves like factory620 sbom_source factory621 does not raise error when built622 does not raise error when created623 behaves like factory624 scim_identity factory625 does not raise error when built626 does not raise error when created627 behaves like factory628 scim_oauth_access_token factory629 does not raise error when built630 does not raise error when created631 behaves like factory632 security_finding factory633 does not raise error when built634 does not raise error when created635 behaves like factory636 finding_map factory637 does not raise error when built638 does not raise error when created639 linting :with_finding trait640 does not raise error when created641 linting :new_record trait642 does not raise error when created643 behaves like factory644 scan_execution_policy factory645 does not raise error when built646 does not raise error when created647 linting :with_schedule trait648 does not raise error when created649 linting :with_schedule_and_agent trait650 does not raise error when created (PENDING: Trait skipped linting due to legacy error)651 behaves like factory652 scan_result_policy factory653 does not raise error when built654 does not raise error when created655 behaves like factory656 orchestration_policy_yaml factory657 does not raise error when built658 does not raise error when created659 behaves like factory660 security_training_provider factory661 does not raise error when built662 does not raise error when created663 behaves like factory664 security_training factory665 does not raise error when built666 does not raise error when created667 linting :primary trait668 does not raise error when created669 behaves like factory670 security_orchestration_policy_configuration factory671 does not raise error when built672 does not raise error when created673 linting :namespace trait674 does not raise error when created675 behaves like factory676 security_orchestration_policy_rule_schedule factory677 does not raise error when built678 does not raise error when created679 behaves like factory680 security_scan factory681 does not raise error when built682 does not raise error when created683 linting :with_error trait684 does not raise error when created685 linting :with_warning trait686 does not raise error when created687 linting :latest_successful trait688 does not raise error when created689 behaves like factory690 slack_integration factory691 does not raise error when built692 does not raise error when created693 linting :legacy trait694 does not raise error when created695 behaves like factory696 smartcard_identity factory697 does not raise error when built698 does not raise error when created699 behaves like factory700 software_license factory701 does not raise error when built702 does not raise error when created703 linting :mit trait704 does not raise error when created705 linting :apache_2_0 trait706 does not raise error when created707 linting :user_entered trait708 does not raise error when created709 behaves like factory710 software_license_policy factory711 does not raise error when built712 does not raise error when created713 linting :allowed trait714 does not raise error when created715 linting :denied trait716 does not raise error when created717 behaves like factory718 spdx_catalogue factory719 does not raise error when built720 does not raise error when created721 behaves like factory722 spdx_license factory723 does not raise error when built724 does not raise error when created725 linting :apache_1 trait726 does not raise error when created727 linting :bsd trait728 does not raise error when created729 linting :mit trait730 does not raise error when created731 linting :deprecated_gpl_v1 trait732 does not raise error when created733 linting :gpl_v1 trait734 does not raise error when created735 behaves like factory736 status_check_response factory737 does not raise error when built738 does not raise error when created739 behaves like factory740 status_page_published_incident factory741 does not raise error when built742 does not raise error when created743 behaves like factory744 status_page_setting factory745 does not raise error when built746 does not raise error when created747 linting :enabled trait748 does not raise error when created749 behaves like factory750 upcoming_reconciliation factory751 does not raise error when built752 does not raise error when created753 linting :self_managed trait754 does not raise error when created755 linting :saas trait756 does not raise error when created757 behaves like factory758 users_ops_dashboard_project factory759 does not raise error when built760 does not raise error when created761 behaves like factory762 user_permission_export_upload factory763 does not raise error when built764 does not raise error when created765 linting :created trait766 does not raise error when created767 linting :running trait768 does not raise error when created769 linting :finished trait770 does not raise error when created771 linting :failed trait772 does not raise error when created773 behaves like factory774 auditor factory775 does not raise error when built776 does not raise error when created777 behaves like factory778 external_user factory779 does not raise error when built780 does not raise error when created781 behaves like factory782 users_security_dashboard_project factory783 does not raise error when built784 does not raise error when created785 behaves like factory786 vulnerability factory787 does not raise error when built788 does not raise error when created789 linting :detected trait790 does not raise error when created791 linting :resolved trait792 does not raise error when created793 linting :dismissed trait794 does not raise error when created795 linting :confirmed trait796 does not raise error when created797 linting :critical_severity trait798 does not raise error when created799 linting :high_severity trait800 does not raise error when created801 linting :medium_severity trait802 does not raise error when created803 linting :low_severity trait804 does not raise error when created805 linting :info trait806 does not raise error when created807 linting :unknown trait808 does not raise error when created809 linting :low trait810 does not raise error when created811 linting :medium trait812 does not raise error when created813 linting :high trait814 does not raise error when created815 linting :critical trait816 does not raise error when created817 linting :sast trait818 does not raise error when created819 linting :dependency_scanning trait820 does not raise error when created821 linting :container_scanning trait822 does not raise error when created823 linting :dast trait824 does not raise error when created825 linting :secret_detection trait826 does not raise error when created827 linting :coverage_fuzzing trait828 does not raise error when created829 linting :api_fuzzing trait830 does not raise error when created831 linting :cluster_image_scanning trait832 does not raise error when created833 linting :generic trait834 does not raise error when created835 linting :with_read trait836 does not raise error when created837 linting :with_notes trait838 does not raise error when created839 linting :with_finding trait840 does not raise error when created841 linting :with_cluster_image_scanning_finding trait842 does not raise error when created (PENDING: Trait skipped linting due to legacy error)843 linting :with_remediation trait844 does not raise error when created845 linting :with_pipeline trait846 does not raise error when created847 linting :with_findings trait848 does not raise error when created (PENDING: Trait skipped linting due to legacy error)849 linting :with_issue_links trait850 does not raise error when created851 behaves like factory852 vulnerability_advisory factory853 does not raise error when built854 does not raise error when created855 behaves like factory856 vulnerability_export factory857 does not raise error when built858 does not raise error when created859 linting :csv trait860 does not raise error when created861 linting :with_csv_file trait862 does not raise error when created863 linting :created trait864 does not raise error when created865 linting :running trait866 does not raise error when created867 linting :finished trait868 does not raise error when created (PENDING: Trait skipped linting due to legacy error)869 linting :failed trait870 does not raise error when created871 linting :group trait872 does not raise error when created873 linting :user trait874 does not raise error when created875 behaves like factory876 vulnerabilities_external_issue_link factory877 does not raise error when built878 does not raise error when created879 linting :created trait880 does not raise error when created881 behaves like factory882 vulnerability_feedback factory883 does not raise error when built884 does not raise error when created885 linting :dismissal trait886 does not raise error when created887 linting :comment trait888 does not raise error when created889 linting :issue trait890 does not raise error when created891 linting :merge_request trait892 does not raise error when created893 linting :sast trait894 does not raise error when created895 linting :dependency_scanning trait896 does not raise error when created897 linting :container_scanning trait898 does not raise error when created899 linting :cluster_image_scanning trait900 does not raise error when created901 linting :dast trait902 does not raise error when created903 behaves like factory904 vulnerabilties_finding_evidence factory905 does not raise error when built906 does not raise error when created907 behaves like factory908 finding_link factory909 does not raise error when built910 does not raise error when created911 behaves like factory912 vulnerabilities_finding_pipeline factory913 does not raise error when built914 does not raise error when created915 behaves like factory916 vulnerabilities_finding_signature factory917 does not raise error when built918 does not raise error when created919 linting :location trait920 does not raise error when created921 behaves like factory922 vulnerabilities_finding_with_remediation factory923 does not raise error when built924 does not raise error when created925 linting :yarn_remediation trait926 does not raise error when created927 behaves like factory928 vulnerabilities_finding factory929 does not raise error when built930 does not raise error when created931 linting :detected trait932 does not raise error when created933 linting :confirmed trait934 does not raise error when created935 linting :resolved trait936 does not raise error when created937 linting :dismissed trait938 does not raise error when created939 linting :with_dismissal_feedback trait940 does not raise error when created941 linting :with_issue_feedback trait942 does not raise error when created943 linting :with_secret_detection trait944 does not raise error when created945 linting :with_remediation trait946 does not raise error when created947 linting :with_pipeline trait948 does not raise error when created949 linting :with_details trait950 does not raise error when created951 linting :with_dependency_scanning_metadata trait952 does not raise error when created953 linting :with_container_scanning_metadata trait954 does not raise error when created955 linting :with_cluster_image_scanning_scanning_metadata trait956 does not raise error when created957 linting :identifier trait958 does not raise error when created959 linting :sast trait960 does not raise error when created961 linting :dependency_scanning trait962 does not raise error when created963 linting :container_scanning trait964 does not raise error when created965 linting :dast trait966 does not raise error when created967 linting :secret_detection trait968 does not raise error when created969 linting :coverage_fuzzing trait970 does not raise error when created971 linting :api_fuzzing trait972 does not raise error when created973 linting :cluster_image_scanning trait974 does not raise error when created975 linting :generic trait976 does not raise error when created977 behaves like factory978 vulnerabilities_flag factory979 does not raise error when built980 does not raise error when created981 linting :false_positive trait982 does not raise error when created983 behaves like factory984 vulnerability_historical_statistic factory985 does not raise error when built986 does not raise error when created987 behaves like factory988 vulnerabilities_identifier factory989 does not raise error when built990 does not raise error when created991 behaves like factory992 vulnerabilities_issue_link factory993 does not raise error when built994 does not raise error when created995 linting :created trait996 does not raise error when created997 linting :related trait998 does not raise error when created999 behaves like factory1000 vulnerability_read factory1001 does not raise error when built1002 does not raise error when created1003 behaves like factory1004 vulnerabilities_remediation factory1005 does not raise error when built1006 does not raise error when created1007 behaves like factory1008 vulnerabilities_scanner factory1009 does not raise error when built1010 does not raise error when created1011 behaves like factory1012 vulnerability_state_transitions factory1013 does not raise error when built1014 does not raise error when created1015 behaves like factory1016 vulnerability_statistic factory1017 does not raise error when built1018 does not raise error when created1019 linting :grade_a trait1020 does not raise error when created1021 linting :grade_b trait1022 does not raise error when created1023 linting :grade_c trait1024 does not raise error when created1025 linting :grade_d trait1026 does not raise error when created1027 linting :grade_f trait1028 does not raise error when created1029 behaves like factory1030 vulnerable_component_version factory1031 does not raise error when built1032 does not raise error when created1033 without factory defaults1034 behaves like factory1035 ci_job_token_project_scope_link factory1036 does not raise error when built1037 does not raise error when created1038 behaves like factory1039 issue_customer_relations_contact factory1040 does not raise error when built1041 does not raise error when created1042 linting :for_contact trait1043 does not raise error when created (PENDING: Trait skipped linting due to legacy error)1044 linting :for_issue trait1045 does not raise error when created (PENDING: Trait skipped linting due to legacy error)1046 behaves like factory1047 evidence factory1048 does not raise error when built1049 does not raise error when created1050 behaves like factory1051 exported_protected_branch factory1052 does not raise error when built1053 does not raise error when created1054 behaves like factory1055 fork_network_member factory1056 does not raise error when built1057 does not raise error when created1058 behaves like factory1059 group_member factory1060 does not raise error when built1061 does not raise error when created1062 linting :guest trait1063 does not raise error when created1064 linting :reporter trait1065 does not raise error when created1066 linting :developer trait1067 does not raise error when created1068 linting :maintainer trait1069 does not raise error when created1070 linting :owner trait1071 does not raise error when created1072 linting :access_request trait1073 does not raise error when created1074 linting :invited trait1075 does not raise error when created1076 linting :ldap trait1077 does not raise error when created1078 linting :blocked trait1079 does not raise error when created1080 linting :minimal_access trait1081 does not raise error when created1082 linting :awaiting trait1083 does not raise error when created1084 linting :active trait1085 does not raise error when created1086 behaves like factory1087 import_state factory1088 does not raise error when built1089 does not raise error when created1090 linting :repository trait1091 does not raise error when created1092 linting :none trait1093 does not raise error when created1094 linting :scheduled trait1095 does not raise error when created1096 linting :started trait1097 does not raise error when created1098 linting :finished trait1099 does not raise error when created1100 linting :failed trait1101 does not raise error when created1102 linting :canceled trait1103 does not raise error when created1104 linting :mirror trait1105 does not raise error when created1106 linting :hard_failed trait1107 does not raise error when created1108 behaves like factory1109 member_task factory1110 does not raise error when built1111 does not raise error when created1112 behaves like factory1113 milestone_release factory1114 does not raise error when built1115 does not raise error when created1116 behaves like factory1117 namespace factory1118 does not raise error when built1119 does not raise error when created1120 linting :with_aggregation_schedule trait1121 does not raise error when created1122 linting :with_root_storage_statistics trait1123 does not raise error when created1124 linting :with_namespace_settings trait1125 does not raise error when created1126 linting :shared_runners_disabled trait1127 does not raise error when created1128 linting :allow_descendants_override_disabled_shared_runners trait1129 does not raise error when created1130 linting :with_ci_minutes trait1131 does not raise error when created1132 linting :with_not_used_build_minutes_limit trait1133 does not raise error when created1134 linting :with_used_build_minutes_limit trait1135 does not raise error when created1136 linting :with_security_orchestration_policy_configuration trait1137 does not raise error when created1138 behaves like factory1139 project_namespace factory1140 does not raise error when built1141 does not raise error when created1142 behaves like factory1143 project_repository factory1144 does not raise error when built1145 does not raise error when created1146 behaves like factory1147 prometheus_alert factory1148 does not raise error when built1149 does not raise error when created1150 linting :with_runbook_url trait1151 does not raise error when created1152 behaves like factory1153 prometheus_alert_event factory1154 does not raise error when built1155 does not raise error when created1156 linting :resolved trait1157 does not raise error when created1158 behaves like factory1159 prometheus_metric factory1160 does not raise error when built1161 does not raise error when created1162 linting :common trait1163 does not raise error when created1164 behaves like factory1165 protected_branch factory1166 does not raise error when built1167 does not raise error when created1168 linting :create_branch_on_repository trait1169 does not raise error when created1170 linting :no_one_can_merge trait1171 does not raise error when created1172 linting :developers_can_merge trait1173 does not raise error when created1174 linting :maintainers_can_merge trait1175 does not raise error when created1176 linting :no_one_can_push trait1177 does not raise error when created1178 linting :developers_can_push trait1179 does not raise error when created1180 linting :maintainers_can_push trait1181 does not raise error when created1182 linting :user_can_merge trait1183 does not raise error when created1184 linting :group_can_merge trait1185 does not raise error when created1186 linting :user_can_push trait1187 does not raise error when created1188 linting :group_can_push trait1189 does not raise error when created1190 linting :no_one_can_unprotect trait1191 does not raise error when created1192 linting :developers_can_unprotect trait1193 does not raise error when created1194 linting :maintainers_can_unprotect trait1195 does not raise error when created1196 linting :user_can_unprotect trait1197 does not raise error when created1198 linting :group_can_unprotect trait1199 does not raise error when created1200 behaves like factory1201 protected_branch_merge_access_level factory1202 does not raise error when built1203 does not raise error when created1204 behaves like factory1205 protected_branch_push_access_level factory1206 does not raise error when built1207 does not raise error when created1208 behaves like factory1209 protected_tag factory1210 does not raise error when built1211 does not raise error when created1212 linting :developers_can_create trait1213 does not raise error when created1214 linting :no_one_can_create trait1215 does not raise error when created1216 linting :maintainers_can_create trait1217 does not raise error when created1218 linting :developers_can_create trait1219 does not raise error when created1220 linting :no_one_can_create trait1221 does not raise error when created1222 linting :maintainers_can_create trait1223 does not raise error when created1224 behaves like factory1225 release factory1226 does not raise error when built1227 does not raise error when created1228 linting :legacy trait1229 does not raise error when created1230 linting :with_evidence trait1231 does not raise error when created1232 linting :with_milestones trait1233 does not raise error when created1234 behaves like factory1235 release_link factory1236 does not raise error when built1237 does not raise error when created1238 behaves like factory1239 self_managed_prometheus_alert_event factory1240 does not raise error when built1241 does not raise error when created1242 behaves like factory1243 shard factory1244 does not raise error when built1245 does not raise error when created1246 behaves like factory1247 users_star_project factory1248 does not raise error when built1249 does not raise error when created1250 behaves like factory1251 wiki_page factory1252 does not raise error when built1253 does not raise error when created1254 behaves like factory1255 wiki_page_meta factory1256 does not raise error when built1257 does not raise error when created1258 linting :for_wiki_page trait1259 does not raise error when created1260 behaves like factory1261 ci_subscriptions_project factory1262 does not raise error when built1263 does not raise error when created1264 behaves like factory1265 merge_request_block factory1266 does not raise error when built1267 does not raise error when created1268 behaves like factory1269 project_security_setting factory1270 does not raise error when built1271 does not raise error when created1272 linting :disabled_auto_fix trait1273 does not raise error when created1274 behaves like factory1275 protected_branch_unprotect_access_level factory1276 does not raise error when built1277 does not raise error when created1278 behaves like factory1279 protected_tag_create_access_level factory1280 does not raise error when built1281 does not raise error when created1282 behaves like factory1283 vulnerabilities_finding_identifier factory1284 does not raise error when built1285 does not raise error when created1286DiffNote1287 validations1288 is not valid when noteable is empty1289 behaves like a valid diff positionable note1290 for commit1291 position diff refs matches commit diff refs1292 is valid1293 position diff refs does not match commit diff refs1294 is invalid1295 commit does not exist1296 is invalid1297 original_position=1298 doesn't accept non-hash JSON passed as a string1299 does accept a position hash as a string1300 doesn't accept an array1301 does accept a hash1302 position=1303 doesn't accept non-hash JSON passed as a string1304 does accept a position hash as a string1305 doesn't accept an array1306 does accept a hash1307 change_position=1308 doesn't accept non-hash JSON passed as a string1309 does accept a position hash as a string1310 doesn't accept an array1311 does accept a hash1312 schema validation1313 position_attrs: {:old_path=>"qn3JnSL1nJgp8ZI6L7ET9KMPQElULIViHqkxc9rzWhyBxuyxrfWb2c1UotJaGMPKjiIJjqjG6vFsTyFXUkpuIbLQGt79DYA1fP2x9oT7QY1lQLpDpPNRKgsZXZsSi0RhzF6mAHrhMzUimwwWvSQzBebmqhdliUS00ba6mXLdj5MkWXTdFTnPPnImaUQ10m1kFYxrrlZWmv4nOcHOblKPL867iimYyyMgFR429IxNXerZPO0HCjMqTUGEm5iBhmhuryfE2GnZNMX8SWwpdjVXsvWhxftXxS7hZnww1ew0NeKq68ww1vxdSNHu2yvRepMMxs6KUsac1Q6XFcJSxAiIPOIPqcGPgDq6Ib58uUG1IhoJF3Z5kv752CWSJH2y9ZnVA8I8Ki22I6BWzJfwEHfIjSKf9OkvHCY2vZ86dSLzBAoJKC67o0aI2KBzccAHGbqF3mmEtlQL6rHOJmTDsK7Bj8zARNl614vx1NNAfroMuoDXW1r6C4IBBIsVn07nMIrogu6XHiGYrzIgigmF1zHt0cyDIOadw1ocmAio1o4ofFfNDzebECiMU9Mq3eB77kCVGwJpsA2MrRzEtJGv5inaY0EgMdWs1yWe0UvtucQ7b4Wh6XWQt34G3uP8z53jPJBvQA6cILWaH2QqhToUe24d3XSSZ1nSIysgC9o5J7dg5yV2m7r0gTv2syeCqj4uJMxbF766HfPPFcbCozg1NjdupIw9q6kEgZvXNsIX4aBkyvUjRMiNrx9B1Ftp22uVP8eLkDYYBeI4KtPEhLXoBauodkirufFdMsO3a9vNzTMUP32BSdL927gi7HkV2LgbzCTe7owtLOlbZ7eNTWB37wbrtzcHMCq097BIT2G5lbaTdMdbWU8WvpId3HRwImg5tABNuRTJJVhe4kMYOnCXPRGwAsbzSM3LUZ9hEMtLV0UWLTv5SC80DgrjFwbspo0dm5gPOf8zYbPbVbvVoaZcZslRXwBz8dyJMuVYUNX4hqagL"}1314 is expected to be invalid1315 position_attrs: {:new_path=>"jpIvqG2lgPcqUlH0mX5GyjIuL3Y7mSaLq4m5gc8fXwaA4Zj8aThWrDOhaoDWShguR7USOMSUnRo3QN3Xv8YD6z94STvEsSizDgbbEZmIB9prCJLJZjRq3iybxlojy3AyRSBecERAoiqgocNRGx6VGU8o8cyybI9PZ4gZQlvnjnANl5CSi748oWO3ySGLIp3rugdmwgWD6UrS9EVPAVRfCskNdQSnptDWPhQ3D4wKanuUddncNeD9Kw0fARBWmVYYTdzVuH5QvtoHq1t4AIGJ08TRaLxrNWTTe4NOVHjq3Sq0kT5wgl69NC1akDVXt7VkYIwdgAOTxlQJBLXMSkeQhClJ0dYgam6FNc4elORo4PYfODUC3cvIf5azgveY3wNE8TiMiqEurwkLPpOv0FdSdquckteWCFrcBjIn1sKvf0OseQuIt7t8sZStm5KM0bLyOlZgOeAvxIs2QO1qTNwaI5DpwUruYWrReXUionRLSFcY962kg6XUmgXKdz6Nw6MdSxjrLalw1o7GYzZPNrhw6SdxFQtbOu4qGmpeO4OnUkBZMGzNg4EjllA20OSN22iJnW2JBnLm51BmepzIdK0UTjvIgxQC9hVcV6xNQPyyZn0aLvIhn6OxYTKST4najgs2hM6g3YDoklWsjJvoBfdZDUfncfnhljPz5urj4jbboVSqclULy3iUQJDRB5HUioTYGI97T7pKTSTrQHdDFrzxvhIrK8FWnT25Ljjpf1FVMJrUttL1JzysUGRpjy9KUIagc9OWGwu2Y9JJT87cnY7pkhnVip0t2QoDQdtt14bJzgbLdyIFJbRJpHVuMMNIzywQYvFEhDYpPbGouuFNBtSL731hOyFhBLfFc7HNYxIV9lfQXI3cXkiQfcXpZXZiyhv5D3SBWgzcENqlsHZduHzAThCDruubdWO0H4VuiGEZxCDTkX4r7V0u3nzF0ldygYQFPUeqUBvJZO3epK5oMwpKPwWf0VZnnng3VHh2Sn8H9"}1316 is expected to be invalid1317 position_attrs: {:old_line=>"foo"}1318 is expected to be invalid1319 position_attrs: {:new_line=>"foo"}1320 is expected to be invalid1321 position_attrs: {:line_range=>{:foo=>"bar"}}1322 is expected to be invalid1323 position_attrs: {:line_range=>{:line_code=>"z0w5UdO5pQ0XQ3rmX5KQVURRPqy3CgymyM1XYFfkjHaE8WI2PncH1M5f2BI3QQL03qamW6oaDC7lBel4JLf6WVgj1ngivcA2qU6fs"}}1324 is expected to be invalid1325 position_attrs: {:line_range=>{:type=>"zdR0uyA7R6HjIPVGLJ3JzTqfP8OivbTGdZQIa57GO8yvvX8WFexzSrf1j2BpqBudf3Vfo8RhLp9UF41X8wNaQBauRJ0HwRoghDBPu"}}1326 is expected to be invalid1327 position_attrs: {:line_range=>{:old_line=>"foo"}}1328 is expected to be invalid1329 position_attrs: {:line_range=>{:new_line=>"foo"}}1330 is expected to be invalid1331 when importing1332 does not check if it's supported1333 #position=1334 when provided a string1335 sets the position1336 when provided a hash1337 sets the position1338 when provided a position object1339 sets the position1340 #original_position=1341 when provided a string1342 sets the original position1343 when provided a hash1344 sets the original position1345 when provided a position object1346 sets the original position1347 #create_diff_file callback1348 merge request1349 does not create diff note file if it is a reply1350 when diffs are already created1351 when diff_file is found in persisted diffs1352 when importing1353 when diff_line is found in persisted diff_file1354 creates a diff note file1355 when diff_line is not found in persisted diff_file1356 behaves like a valid diff note with after commit callback1357 when diff file is fetched from repository1358 when diff_line is not found1359 raises an error1360 when diff_line is found1361 fallback to fetch file from repository1362 creates a diff note file1363 when diff file is not found in repository1364 raises an error1365 when not importing1366 when diff_line is not found1367 raises an error1368 when diff_line is found1369 creates a diff note file1370 when diff file is not found in persisted diffs1371 behaves like a valid diff note with after commit callback1372 when diff file is fetched from repository1373 when diff_line is not found1374 raises an error1375 when diff_line is found1376 fallback to fetch file from repository1377 creates a diff note file1378 when diff file is not found in repository1379 raises an error1380 when diffs are not already created1381 behaves like a valid diff note with after commit callback1382 when diff file is fetched from repository1383 when diff_line is not found1384 raises an error1385 when diff_line is found1386 fallback to fetch file from repository1387 creates a diff note file1388 when diff file is not found in repository1389 raises an error1390 commit1391 creates a diff note file1392 does not create diff note file if it is a reply1393 #diff_file1394 when note_diff_file association exists1395 returns persisted diff file data1396 when the discussion was created in the diff1397 returns correct diff file1398 when discussion is outdated or not created in the diff1399 returns the correct diff file1400 note diff file creation enqueuing1401 enqueues CreateNoteDiffFileWorker if it is the first note of a discussion1402 does not enqueues CreateNoteDiffFileWorker if not first note of a discussion1403 when noteable is a Design1404 does not return a diff file1405 #latest_diff_file1406 when noteable is a Design1407 does not return a diff file1408 #diff_line1409 returns the correct diff line1410 #line_code1411 returns the correct line code1412 #active?1413 when noteable is a commit1414 returns true1415 when noteable is a merge request1416 when the merge request's diff refs match that of the diff note1417 returns true1418 when the merge request's diff refs don't match that of the diff note1419 returns false1420 creation1421 updating of position1422 when noteable is a commit1423 doesn't update the position1424 when noteable is a merge request1425 when the note is active1426 doesn't update the position1427 when the note is outdated1428 updates the position1429 #discussion_id1430 when it is newly created1431 has a discussion id1432 when it didn't store a discussion id before1433 has a discussion id1434 #created_at_diff?1435 when noteable is a commit1436 returns true1437 when noteable is a merge request1438 when the diff refs match the original one of the diff note1439 returns true1440 when the diff refs don't match the original one of the diff note1441 returns false1442 #supports_suggestion?1443 when noteable does not exist1444 returns false1445 when noteable does not support suggestions1446 returns false1447 when line is not suggestible1448 returns false1449 #banzai_render_context1450 includes expected context1451 image diff notes1452 returns true for on_image?1453 validations1454 is expected not to validate that :line_code cannot be empty/falsy1455 does not validate diff line1456 does not update the position1457 #to_ability_name1458 is expected to eq "note"1459 #shas1460 returns list of SHAs based on original_position1461 when position changes1462 includes the new position SHAs1463RemoteMirror1464 URL validation1465 with a valid URL1466 is valid1467 with an invalid URL1468 is not valid1469 does not allow url with an invalid user1470 does not allow url pointing to localhost1471 does not allow url pointing to the local network1472 returns a nil safe_url1473 encrypting credentials1474 when setting URL for a first time1475 stores the URL without credentials1476 stores the credentials on a separate field1477 handles credentials with large content1478 when updating the URL1479 allows a new URL without credentials1480 allows a new URL with credentials1481 #bare_url1482 returns the URL without any credentials1483 returns an empty string when the URL is nil1484 #update_repository1485 performs update including options1486 #options_for_update1487 includes the `keep_divergent_refs` option1488 includes the `only_branches_matching` option1489 includes the `ssh_key` option1490 includes the `known_hosts` option1491 #safe_url1492 when URL contains credentials1493 masks the credentials1494 when URL does not contain credentials1495 shows the full URL1496 #mark_as_failed!1497 sets the update_status to failed1498 saves the sanitized error1499 notifications1500 notifies the project maintainers1501 #hard_retry!1502 transitions an invalid mirror to the to_retry state1503 #hard_fail!1504 transitions an invalid mirror to the failed state1505 when remote mirror gets destroyed1506 does not remove the remote1507 stuck mirrors1508 includes mirrors that were started over an hour ago1509 includes mirrors started over 3 hours ago for their first sync1510 #sync1511 with remote mirroring disabled1512 returns nil1513 with remote mirroring enabled1514 defaults to disabling only protected branches1515 with only protected branches enabled1516 when it did not update in the last minute1517 schedules a RepositoryUpdateRemoteMirrorWorker to run now1518 when it did update in the last minute1519 schedules a RepositoryUpdateRemoteMirrorWorker to run in the next minute1520 with only protected branches disabled1521 when it did not update in the last 5 minutes1522 schedules a RepositoryUpdateRemoteMirrorWorker to run now1523 when it did update within the last 5 minutes1524 schedules a RepositoryUpdateRemoteMirrorWorker to run in the next 5 minutes1525 when remote_mirror_no_delay is enabled1526 schedules a RepositoryUpdateRemoteMirrorWorker to run now1527 #url=1528 resets all the columns when URL changes1529 #updated_since?1530 when remote mirror does not have status failed1531 returns true when last update started after the timestamp1532 returns false when last update started before the timestamp1533 when remote mirror has status failed1534 returns false when last update started after the timestamp1535 no project1536 includes mirror with a project in pending_delete1537 #disabled?1538 when disabled1539 is expected to be truthy1540 when enabled1541 is expected to be falsy1542Gitlab::Usage::ServicePingReport1543 all_metrics_values1544 generates the service ping when there are no missing values1545 generates the service ping with the missing values1546 with usage data payload with symbol keys and instrumented payload with string keys1547 correctly merges string and symbol keys1548 for output: :metrics_queries1549 generates the service ping1550 for output: :non_sql_metrics_values1551 generates the service ping1552 when using cached1553 for cached: true1554 caches the values1555 writes to cache and returns fresh data1556 when no caching1557 returns fresh data1558 cross test values against queries1559 generates queries that match collected data1560Milestone Milestoneish1561 #sorted_issues1562 sorts issues by label priority1563 limits issue count and keeps the ordering1564 with attributes visibility1565 #issue_participants_visible_by_user1566 visibility: :public, user_role: nil, result: [:member]1567 returns the proper participants1568 visibility: :public, user_role: :non_member, result: [:member]1569 returns the proper participants1570 visibility: :public, user_role: :guest, result: [:member]1571 returns the proper participants1572 visibility: :public, user_role: :member, result: [:member, :assignee]1573 returns the proper participants1574 visibility: :internal, user_role: nil, result: []1575 returns the proper participants1576 visibility: :internal, user_role: :non_member, result: [:member]1577 returns the proper participants1578 visibility: :internal, user_role: :guest, result: [:member]1579 returns the proper participants1580 visibility: :internal, user_role: :member, result: [:member, :assignee]1581 returns the proper participants1582 visibility: :private, user_role: nil, result: []1583 returns the proper participants1584 visibility: :private, user_role: :non_member, result: []1585 returns the proper participants1586 visibility: :private, user_role: :guest, result: [:member]1587 returns the proper participants1588 visibility: :private, user_role: :member, result: [:member, :assignee]1589 returns the proper participants1590 #issue_labels_visible_by_user1591 visibility: :public, user_role: nil, result: [:label1]1592 returns the proper participants1593 visibility: :public, user_role: :non_member, result: [:label1]1594 returns the proper participants1595 visibility: :public, user_role: :guest, result: [:label1]1596 returns the proper participants1597 visibility: :public, user_role: :member, result: [:label1, :label2]1598 returns the proper participants1599 visibility: :internal, user_role: nil, result: []1600 returns the proper participants1601 visibility: :internal, user_role: :non_member, result: [:label1]1602 returns the proper participants1603 visibility: :internal, user_role: :guest, result: [:label1]1604 returns the proper participants1605 visibility: :internal, user_role: :member, result: [:label1, :label2]1606 returns the proper participants1607 visibility: :private, user_role: nil, result: []1608 returns the proper participants1609 visibility: :private, user_role: :non_member, result: []1610 returns the proper participants1611 visibility: :private, user_role: :guest, result: [:label1]1612 returns the proper participants1613 visibility: :private, user_role: :member, result: [:label1, :label2]1614 returns the proper participants1615 #sorted_merge_requests1616 sorts merge requests by label priority1617 #merge_requests_visible_to_user1618 when project is private1619 does not return any merge request for a non member1620 returns milestone merge requests for a member1621 when project is public1622 when merge requests are available to anyone1623 returns milestone merge requests for a non member1624 when merge requests are available to project members1625 does not return any merge request for a non member1626 returns milestone merge requests for a member1627 when milestone is at parent level group1628 does not return any merge request for a non member1629 returns milestone merge requests for a member1630 #complete?1631 returns false when has items opened1632 returns true when all items are closed1633 #percent_complete1634 with division by zero1635 is expected to eq 01636 #closed_issues_count1637 counts all closed issues including confidential1638 #total_issues_count1639 counts all issues including confidential1640 #total_merge_requests_count1641 counts merge requests1642 #remaining_days1643 shows 0 if no due date1644 shows 0 if expired1645 shows correct remaining days1646 #elapsed_days1647 shows 0 if no start_date set1648 shows 0 if start_date is a future1649 shows correct amount of days1650 #total_time_spent1651 calculates total time spent1652 includes merge request time spent1653 #human_total_time_spent1654 returns nil if no time has been spent1655 #total_time_estimate1656 calculates total estimate1657 includes merge request time estimate1658 #human_total_time_estimate1659 returns nil if no time has been spent1660MergeRequests::ApprovalService1661 #execute1662 with invalid approval1663 does not reset approvals1664 does not track merge request approve action1665 does not publish MergeRequests::ApprovedEvent1666 behaves like does not trigger GraphQL subscription mergeRequestMergeStatusUpdated1667 is expected not to receive merge_request_merge_status_updated(*(any args)) 0 times1668 behaves like does not trigger GraphQL subscription mergeRequestReviewersUpdated1669 is expected not to receive merge_request_reviewers_updated(*(any args)) 0 times1670 with an already approved MR1671 does not create an approval1672 behaves like does not trigger GraphQL subscription mergeRequestMergeStatusUpdated1673 is expected not to receive merge_request_merge_status_updated(*(any args)) 0 times1674 behaves like does not trigger GraphQL subscription mergeRequestReviewersUpdated1675 is expected not to receive merge_request_reviewers_updated(*(any args)) 0 times1676 with valid approval1677 resets approvals1678 tracks merge request approve action1679 publishes MergeRequests::ApprovedEvent1680 behaves like triggers GraphQL subscription mergeRequestMergeStatusUpdated1681 is expected to receive merge_request_merge_status_updated(#<MergeRequest id:171 namespace222/project377!1>) 1 time1682 behaves like triggers GraphQL subscription mergeRequestReviewersUpdated1683 is expected to receive merge_request_reviewers_updated(#<MergeRequest id:172 namespace223/project378!1>) 1 time1684 user cannot update the merge request1685 does not update approvals1686 behaves like does not trigger GraphQL subscription mergeRequestMergeStatusUpdated1687 is expected not to receive merge_request_merge_status_updated(*(any args)) 0 times1688 behaves like does not trigger GraphQL subscription mergeRequestReviewersUpdated1689 is expected not to receive merge_request_reviewers_updated(*(any args)) 0 times1690GroupsHelper1691 #group_icon_url1692 returns an url for the avatar1693 gives default avatar_icon when no avatar is present1694 #group_lfs_status1695 only one project in group1696 returns all projects as enabled1697 returns all projects as disabled1698 more than one project in group1699 LFS enabled in group1700 returns both projects as enabled1701 returns only one as enabled1702 LFS disabled in group1703 returns both projects as disabled1704 returns only one as disabled1705 #group_title1706 enqueues the elements in the breadcrumb schema list1707 avoids N+1 queries1708 traversal queries1709 recursive1710 outputs the groups in the correct order1711 linear1712 outputs the groups in the correct order1713 #group_title_link1714 link1715 uses the group name as innerText1716 links to the group path1717 icon1718 specifies the group name as the alt text1719 uses the group's avatar_url1720 #share_with_group_lock_help_text1721 traversal queries1722 recursive1723 root_share_with_group_locked: false, subgroup_share_with_group_locked: false, sub_subgroup_share_with_group_locked: false, current_user: :root_owner, help_text: :default_help, linked_ancestor: nil1724 has the correct help text with correct ancestor links1725 root_share_with_group_locked: false, subgroup_share_with_group_locked: false, sub_subgroup_share_with_group_locked: false, current_user: :sub_owner, help_text: :default_help, linked_ancestor: nil1726 has the correct help text with correct ancestor links1727 root_share_with_group_locked: false, subgroup_share_with_group_locked: false, sub_subgroup_share_with_group_locked: false, current_user: :sub_sub_owner, help_text: :default_help, linked_ancestor: nil1728 has the correct help text with correct ancestor links1729 root_share_with_group_locked: false, subgroup_share_with_group_locked: false, sub_subgroup_share_with_group_locked: true, current_user: :root_owner, help_text: :default_help, linked_ancestor: nil1730 has the correct help text with correct ancestor links1731 root_share_with_group_locked: false, subgroup_share_with_group_locked: false, sub_subgroup_share_with_group_locked: true, current_user: :sub_owner, help_text: :default_help, linked_ancestor: nil1732 has the correct help text with correct ancestor links1733 root_share_with_group_locked: false, subgroup_share_with_group_locked: false, sub_subgroup_share_with_group_locked: true, current_user: :sub_sub_owner, help_text: :default_help, linked_ancestor: nil1734 has the correct help text with correct ancestor links1735 root_share_with_group_locked: false, subgroup_share_with_group_locked: true, sub_subgroup_share_with_group_locked: false, current_user: :root_owner, help_text: :ancestor_locked_and_has_been_overridden, linked_ancestor: :subgroup1736 has the correct help text with correct ancestor links1737 root_share_with_group_locked: false, subgroup_share_with_group_locked: true, sub_subgroup_share_with_group_locked: false, current_user: :sub_owner, help_text: :ancestor_locked_and_has_been_overridden, linked_ancestor: :subgroup1738 has the correct help text with correct ancestor links1739 root_share_with_group_locked: false, subgroup_share_with_group_locked: true, sub_subgroup_share_with_group_locked: false, current_user: :sub_sub_owner, help_text: :ancestor_locked_and_has_been_overridden, linked_ancestor: :subgroup1740 has the correct help text with correct ancestor links1741 root_share_with_group_locked: false, subgroup_share_with_group_locked: true, sub_subgroup_share_with_group_locked: true, current_user: :root_owner, help_text: :ancestor_locked_but_you_can_override, linked_ancestor: :subgroup1742 has the correct help text with correct ancestor links1743 root_share_with_group_locked: false, subgroup_share_with_group_locked: true, sub_subgroup_share_with_group_locked: true, current_user: :sub_owner, help_text: :ancestor_locked_but_you_can_override, linked_ancestor: :subgroup1744 has the correct help text with correct ancestor links1745 root_share_with_group_locked: false, subgroup_share_with_group_locked: true, sub_subgroup_share_with_group_locked: true, current_user: :sub_sub_owner, help_text: :ancestor_locked_so_ask_the_owner, linked_ancestor: :subgroup1746 has the correct help text with correct ancestor links1747 root_share_with_group_locked: true, subgroup_share_with_group_locked: false, sub_subgroup_share_with_group_locked: false, current_user: :root_owner, help_text: :default_help, linked_ancestor: nil1748 has the correct help text with correct ancestor links1749 root_share_with_group_locked: true, subgroup_share_with_group_locked: false, sub_subgroup_share_with_group_locked: false, current_user: :sub_owner, help_text: :default_help, linked_ancestor: nil1750 has the correct help text with correct ancestor links1751 root_share_with_group_locked: true, subgroup_share_with_group_locked: false, sub_subgroup_share_with_group_locked: false, current_user: :sub_sub_owner, help_text: :default_help, linked_ancestor: nil1752 has the correct help text with correct ancestor links1753 root_share_with_group_locked: true, subgroup_share_with_group_locked: false, sub_subgroup_share_with_group_locked: true, current_user: :root_owner, help_text: :default_help, linked_ancestor: nil1754 has the correct help text with correct ancestor links1755 root_share_with_group_locked: true, subgroup_share_with_group_locked: false, sub_subgroup_share_with_group_locked: true, current_user: :sub_owner, help_text: :default_help, linked_ancestor: nil1756 has the correct help text with correct ancestor links1757 root_share_with_group_locked: true, subgroup_share_with_group_locked: false, sub_subgroup_share_with_group_locked: true, current_user: :sub_sub_owner, help_text: :default_help, linked_ancestor: nil1758 has the correct help text with correct ancestor links1759 root_share_with_group_locked: true, subgroup_share_with_group_locked: true, sub_subgroup_share_with_group_locked: false, current_user: :root_owner, help_text: :ancestor_locked_and_has_been_overridden, linked_ancestor: :root_group1760 has the correct help text with correct ancestor links1761 root_share_with_group_locked: true, subgroup_share_with_group_locked: true, sub_subgroup_share_with_group_locked: false, current_user: :sub_owner, help_text: :ancestor_locked_and_has_been_overridden, linked_ancestor: :root_group1762 has the correct help text with correct ancestor links1763 root_share_with_group_locked: true, subgroup_share_with_group_locked: true, sub_subgroup_share_with_group_locked: false, current_user: :sub_sub_owner, help_text: :ancestor_locked_and_has_been_overridden, linked_ancestor: :root_group1764 has the correct help text with correct ancestor links1765 root_share_with_group_locked: true, subgroup_share_with_group_locked: true, sub_subgroup_share_with_group_locked: true, current_user: :root_owner, help_text: :ancestor_locked_but_you_can_override, linked_ancestor: :root_group1766 has the correct help text with correct ancestor links1767 root_share_with_group_locked: true, subgroup_share_with_group_locked: true, sub_subgroup_share_with_group_locked: true, current_user: :sub_owner, help_text: :ancestor_locked_so_ask_the_owner, linked_ancestor: :root_group1768 has the correct help text with correct ancestor links1769 root_share_with_group_locked: true, subgroup_share_with_group_locked: true, sub_subgroup_share_with_group_locked: true, current_user: :sub_sub_owner, help_text: :ancestor_locked_so_ask_the_owner, linked_ancestor: :root_group1770 has the correct help text with correct ancestor links1771 linear1772 root_share_with_group_locked: false, subgroup_share_with_group_locked: false, sub_subgroup_share_with_group_locked: false, current_user: :root_owner, help_text: :default_help, linked_ancestor: nil1773 has the correct help text with correct ancestor links1774 root_share_with_group_locked: false, subgroup_share_with_group_locked: false, sub_subgroup_share_with_group_locked: false, current_user: :sub_owner, help_text: :default_help, linked_ancestor: nil1775 has the correct help text with correct ancestor links1776 root_share_with_group_locked: false, subgroup_share_with_group_locked: false, sub_subgroup_share_with_group_locked: false, current_user: :sub_sub_owner, help_text: :default_help, linked_ancestor: nil1777 has the correct help text with correct ancestor links1778 root_share_with_group_locked: false, subgroup_share_with_group_locked: false, sub_subgroup_share_with_group_locked: true, current_user: :root_owner, help_text: :default_help, linked_ancestor: nil1779 has the correct help text with correct ancestor links1780 root_share_with_group_locked: false, subgroup_share_with_group_locked: false, sub_subgroup_share_with_group_locked: true, current_user: :sub_owner, help_text: :default_help, linked_ancestor: nil1781 has the correct help text with correct ancestor links1782 root_share_with_group_locked: false, subgroup_share_with_group_locked: false, sub_subgroup_share_with_group_locked: true, current_user: :sub_sub_owner, help_text: :default_help, linked_ancestor: nil1783 has the correct help text with correct ancestor links1784 root_share_with_group_locked: false, subgroup_share_with_group_locked: true, sub_subgroup_share_with_group_locked: false, current_user: :root_owner, help_text: :ancestor_locked_and_has_been_overridden, linked_ancestor: :subgroup1785 has the correct help text with correct ancestor links1786 root_share_with_group_locked: false, subgroup_share_with_group_locked: true, sub_subgroup_share_with_group_locked: false, current_user: :sub_owner, help_text: :ancestor_locked_and_has_been_overridden, linked_ancestor: :subgroup1787 has the correct help text with correct ancestor links1788 root_share_with_group_locked: false, subgroup_share_with_group_locked: true, sub_subgroup_share_with_group_locked: false, current_user: :sub_sub_owner, help_text: :ancestor_locked_and_has_been_overridden, linked_ancestor: :subgroup1789 has the correct help text with correct ancestor links1790 root_share_with_group_locked: false, subgroup_share_with_group_locked: true, sub_subgroup_share_with_group_locked: true, current_user: :root_owner, help_text: :ancestor_locked_but_you_can_override, linked_ancestor: :subgroup1791 has the correct help text with correct ancestor links1792 root_share_with_group_locked: false, subgroup_share_with_group_locked: true, sub_subgroup_share_with_group_locked: true, current_user: :sub_owner, help_text: :ancestor_locked_but_you_can_override, linked_ancestor: :subgroup1793 has the correct help text with correct ancestor links1794 root_share_with_group_locked: false, subgroup_share_with_group_locked: true, sub_subgroup_share_with_group_locked: true, current_user: :sub_sub_owner, help_text: :ancestor_locked_so_ask_the_owner, linked_ancestor: :subgroup1795 has the correct help text with correct ancestor links1796 root_share_with_group_locked: true, subgroup_share_with_group_locked: false, sub_subgroup_share_with_group_locked: false, current_user: :root_owner, help_text: :default_help, linked_ancestor: nil1797 has the correct help text with correct ancestor links1798 root_share_with_group_locked: true, subgroup_share_with_group_locked: false, sub_subgroup_share_with_group_locked: false, current_user: :sub_owner, help_text: :default_help, linked_ancestor: nil1799 has the correct help text with correct ancestor links1800 root_share_with_group_locked: true, subgroup_share_with_group_locked: false, sub_subgroup_share_with_group_locked: false, current_user: :sub_sub_owner, help_text: :default_help, linked_ancestor: nil1801 has the correct help text with correct ancestor links1802 root_share_with_group_locked: true, subgroup_share_with_group_locked: false, sub_subgroup_share_with_group_locked: true, current_user: :root_owner, help_text: :default_help, linked_ancestor: nil1803 has the correct help text with correct ancestor links1804 root_share_with_group_locked: true, subgroup_share_with_group_locked: false, sub_subgroup_share_with_group_locked: true, current_user: :sub_owner, help_text: :default_help, linked_ancestor: nil1805 has the correct help text with correct ancestor links1806 root_share_with_group_locked: true, subgroup_share_with_group_locked: false, sub_subgroup_share_with_group_locked: true, current_user: :sub_sub_owner, help_text: :default_help, linked_ancestor: nil1807 has the correct help text with correct ancestor links1808 root_share_with_group_locked: true, subgroup_share_with_group_locked: true, sub_subgroup_share_with_group_locked: false, current_user: :root_owner, help_text: :ancestor_locked_and_has_been_overridden, linked_ancestor: :root_group1809 has the correct help text with correct ancestor links1810 root_share_with_group_locked: true, subgroup_share_with_group_locked: true, sub_subgroup_share_with_group_locked: false, current_user: :sub_owner, help_text: :ancestor_locked_and_has_been_overridden, linked_ancestor: :root_group1811 has the correct help text with correct ancestor links1812 root_share_with_group_locked: true, subgroup_share_with_group_locked: true, sub_subgroup_share_with_group_locked: false, current_user: :sub_sub_owner, help_text: :ancestor_locked_and_has_been_overridden, linked_ancestor: :root_group1813 has the correct help text with correct ancestor links1814 root_share_with_group_locked: true, subgroup_share_with_group_locked: true, sub_subgroup_share_with_group_locked: true, current_user: :root_owner, help_text: :ancestor_locked_but_you_can_override, linked_ancestor: :root_group1815 has the correct help text with correct ancestor links1816 root_share_with_group_locked: true, subgroup_share_with_group_locked: true, sub_subgroup_share_with_group_locked: true, current_user: :sub_owner, help_text: :ancestor_locked_so_ask_the_owner, linked_ancestor: :root_group1817 has the correct help text with correct ancestor links1818 root_share_with_group_locked: true, subgroup_share_with_group_locked: true, sub_subgroup_share_with_group_locked: true, current_user: :sub_sub_owner, help_text: :ancestor_locked_so_ask_the_owner, linked_ancestor: :root_group1819 has the correct help text with correct ancestor links1820 #parent_group_options1821 includes explicitly owned groups except self1822 excludes parent group1823 includes subgroups with inherited ownership1824 excludes own subgroups1825 #can_disable_group_emails?1826 returns true for the group owner1827 returns false for anyone else1828 when subgroups1829 returns false if parent group is disabling emails1830 returns true if parent group is not disabling emails1831 #can_update_default_branch_protection?1832 for users who can update default branch protection of the group1833 is expected to be truthy1834 for users who cannot update default branch protection of the group1835 is expected to be falsey1836 #show_thanks_for_purchase_alert?1837 with quantity present1838 returns true1839 with quantity not present1840 returns false1841 with quantity empty1842 returns false1843 #render_setting_to_allow_project_access_token_creation?1844 returns true if group is root1845 returns false if group is subgroup1846 #can_admin_group_member?1847 returns true when current_user can admin members1848 returns false when current_user can not admin members1849 #localized_jobs_to_be_done_choices1850 has a translation for all `jobs_to_be_done` values1851 #subgroup_creation_data1852 when group has a parent1853 returns expected hash1854 when group does not have a parent1855 returns expected hash1856 #group_name_and_path_app_data1857 when group has a parent1858 returns expected hash1859 #subgroups_and_projects_list_app_data1860 returns expected hash1861 #group_overview_tabs_app_data1862 returns expected hash1863 #enabled_git_access_protocol_options_for_group1864 instance setting is nil1865 is expected to contain exactly ["Both SSH and HTTP(S)", "all"], ["Only SSH", "ssh"], and ["Only HTTP(S)", "http"]1866 instance setting is blank1867 is expected to contain exactly ["Both SSH and HTTP(S)", "all"], ["Only SSH", "ssh"], and ["Only HTTP(S)", "http"]1868 instance setting is ssh1869 is expected to contain exactly ["Only SSH", "ssh"]1870 instance setting is http1871 is expected to contain exactly ["Only HTTP(S)", "http"]1872DesignManagement::DeleteDesignsService1873 #execute1874 when the feature is not available1875 does not create any events in the activity stream1876 behaves like a service error1877 returns an error1878 when the feature is available1879 is able to delete designs1880 no designs were passed1881 does not log any events1882 does not log any UsageData metrics1883 behaves like a top-level error1884 raises an en expected error1885 one design is passed1886 removes that design1887 logs a deletion event1888 updates UsageData for removed designs1889 creates an event in the activity stream1890 informs the new-version-worker1891 creates a new version1892 returns the new version1893 removes the design from the current design list1894 marks the design as deleted1895 schedules deleting todos for that design1896 behaves like a success1897 returns successfully1898 saves the user as the author1899 behaves like issue_edit snowplow tracking1900 behaves like Snowplow event tracking1901 is not emitted if FF is disabled1902 is emitted1903 more than one design is passed1904 makes the correct changes1905 schedules deleting todos for that design1906 behaves like a success1907 returns successfully1908 saves the user as the author1909 after executing the service1910 removes the removed designs from the current design list1911 does not make the designs impossible to find1912 associates the new version with all the designs1913 marks all deleted designs as deleted1914 marks all deleted designs with the same deletion version1915 scalability1916 makes the same number of DB requests for one design as for several1917AvatarUploader1918 behaves like builds correct paths1919 #store_dir1920 behaves like matches the method pattern1921 is expected to match /uploads\/-\/system\/user\/avatar\//1922 #cache_dir1923 behaves like matches the method pattern1924 example at ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:8 (PENDING: No pattern provided, skipping.)1925 #work_dir1926 behaves like matches the method pattern1927 example at ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:8 (PENDING: No pattern provided, skipping.)1928 #upload_path1929 behaves like matches the method pattern1930 is expected to match /uploads\/-\/system\/user\/avatar\//1931 #relative_path1932 is relative (PENDING: Path not set, skipping.)1933 .absolute_path1934 behaves like matches the method pattern1935 is expected to match /\/builds\/gitlab-org\/gitlab\/tmp\/tests\/public\/uploads\/-\/system\/user\/avatar\//1936 .base_dir1937 behaves like matches the method pattern1938 example at ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:8 (PENDING: No pattern provided, skipping.)1939 path traversal exploits1940 throws an exception1941 object_store is REMOTE1942 behaves like builds correct paths1943 #store_dir1944 behaves like matches the method pattern1945 is expected to match /user\/avatar\//1946 #cache_dir1947 behaves like matches the method pattern1948 example at ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:8 (PENDING: No pattern provided, skipping.)1949 #work_dir1950 behaves like matches the method pattern1951 example at ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:8 (PENDING: No pattern provided, skipping.)1952 #upload_path1953 behaves like matches the method pattern1954 is expected to match /user\/avatar\//1955 #relative_path1956 is relative (PENDING: Path not set, skipping.)1957 .absolute_path1958 behaves like matches the method pattern1959 example at ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:8 (PENDING: No pattern provided, skipping.)1960 .base_dir1961 behaves like matches the method pattern1962 example at ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:8 (PENDING: No pattern provided, skipping.)1963 path traversal exploits1964 throws an exception1965 with a file1966 sets the right absolute path1967 behaves like migrates1968 returns corresponding file type1969 does nothing when migrating to the current store1970 migrate to the specified store1971 removes the original file after the migration1972 can access to the original file during migration1973 when migrate! is not occupied by another process1974 executes migrate!1975 executes use_file1976 when migrate! is occupied by another process1977 does not execute migrate!1978 does not execute use_file1979 migration is unsuccessful1980 when the store is not supported1981 does not update the object_store1982 does not delete the original file1983 upon a fog failure1984 does not update the object_store1985 does not delete the original file1986 upon a database failure1987 does not update the object_store1988 does not delete the original file1989 behaves like migrates1990 returns corresponding file type1991 does nothing when migrating to the current store1992 migrate to the specified store1993 removes the original file after the migration1994 can access to the original file during migration1995 when migrate! is not occupied by another process1996 executes migrate!1997 executes use_file1998 when migrate! is occupied by another process1999 does not execute migrate!2000 does not execute use_file2001 migration is unsuccessful2002 when the store is not supported2003 does not update the object_store2004 does not delete the original file2005 upon a fog failure2006 does not update the object_store2007 does not delete the original file2008 upon a database failure2009 does not update the object_store2010 does not delete the original file2011 accept whitelist file content type2012 mime_type: "image/png"2013 behaves like accepted carrierwave upload2014 will accept upload2015 will cache uploaded file2016 mime_type: "image/jpeg"2017 behaves like accepted carrierwave upload2018 will accept upload2019 will cache uploaded file2020 mime_type: "image/gif"2021 behaves like accepted carrierwave upload2022 will accept upload2023 will cache uploaded file2024 mime_type: "image/bmp"2025 behaves like accepted carrierwave upload2026 will accept upload2027 will cache uploaded file2028 mime_type: "image/tiff"2029 behaves like accepted carrierwave upload2030 will accept upload2031 will cache uploaded file2032 mime_type: "image/vnd.microsoft.icon"2033 behaves like accepted carrierwave upload2034 will accept upload2035 will cache uploaded file2036 upload non-whitelisted file content type2037 behaves like denied carrierwave upload2038 will deny upload2039 upload misnamed non-whitelisted file content type2040 behaves like denied carrierwave upload2041 will deny upload2042Gitlab::Utils2043 # order random2044 .add_url_parameters2045 url: nil, params: nil, expected_url: ""2046 is expected to eq ""2047 url: nil, params: {:b=>3, :a=>2}, expected_url: "?a=2&b=3"2048 is expected to eq "?a=2&b=3"2049 url: "https://gitlab.com", params: nil, expected_url: "https://gitlab.com"2050 is expected to eq "https://gitlab.com"2051 url: "https://gitlab.com", params: {:b=>3, :a=>2}, expected_url: "https://gitlab.com?a=2&b=3"2052 is expected to eq "https://gitlab.com?a=2&b=3"2053 url: "https://gitlab.com?a=1#foo", params: {:b=>3, :a=>2}, expected_url: "https://gitlab.com?a=2&b=3#foo"2054 is expected to eq "https://gitlab.com?a=2&b=3#foo"2055 url: "https://gitlab.com?a=1#foo", params: [[:b, 3], [:a, 2]], expected_url: "https://gitlab.com?a=2&b=3#foo"2056 is expected to eq "https://gitlab.com?a=2&b=3#foo"2057 .string_to_ip_object2058 returns nil when string is nil2059 returns nil when string is invalid IP2060 returns IP object when string is valid IP2061 .nlbr2062 replaces new lines with <br>2063 .to_exclusive_sentence2064 calls #to_sentence on the array2065 joins arrays with two elements correctly2066 joins arrays with more than two elements correctly2067 localizes the connector words2068 .ms_to_round_sec2069 original: 1999.8999, expected: 1.99992070 returns rounded seconds2071 original: 12384, expected: 12.3842072 returns rounded seconds2073 original: 333, expected: 0.3332074 returns rounded seconds2075 original: 1333.33333333, expected: 1.3333332076 returns rounded seconds2077 .check_allowed_absolute_path!2078 raises an exception if an absolute path is not allowed2079 does nothing for an allowed absolute path2080 .to_boolean2081 accepts booleans2082 converts a valid value to a boolean2083 converts an invalid value to nil2084 accepts a default value, and does not return it when a valid value is given2085 accepts a default value, and returns it when an invalid value is given2086 .decode_path2087 returns path unencoded for singled-encoded paths2088 returns path when it is unencoded2089 raises an exception when the path is multiple-encoded2090 raises an exception when the path is multiple-encoded2091 .allowlisted?2092 returns true if path is allowed2093 returns false if path is not allowed2094 .valid_brackets?2095 input: "no brackets", allow_nested: true, valid: true2096 is expected to eq true2097 input: "no brackets", allow_nested: false, valid: true2098 is expected to eq true2099 input: "user[avatar]", allow_nested: true, valid: true2100 is expected to eq true2101 input: "user[avatar]", allow_nested: false, valid: true2102 is expected to eq true2103 input: "user[avatar][friends]", allow_nested: true, valid: true2104 is expected to eq true2105 input: "user[avatar][friends]", allow_nested: false, valid: true2106 is expected to eq true2107 input: "user[avatar[image[url]]]", allow_nested: true, valid: true2108 is expected to eq true2109 input: "user[avatar[image[url]]]", allow_nested: false, valid: false2110 is expected to eq false2111 input: "user[avatar[]friends]", allow_nested: true, valid: true2112 is expected to eq true2113 input: "user[avatar[]friends]", allow_nested: false, valid: false2114 is expected to eq false2115 input: "user[avatar]]", allow_nested: true, valid: false2116 is expected to eq false2117 input: "user[avatar]]", allow_nested: false, valid: false2118 is expected to eq false2119 input: "user][avatar]]", allow_nested: true, valid: false2120 is expected to eq false2121 input: "user][avatar]]", allow_nested: false, valid: false2122 is expected to eq false2123 input: "user[avatar", allow_nested: true, valid: false2124 is expected to eq false2125 input: "user[avatar", allow_nested: false, valid: false2126 is expected to eq false2127 .slugify2128 slugifies TEST to test2129 slugifies project_with_underscores to project-with-underscores2130 slugifies namespace/project to namespace-project2131 slugifies aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa to aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa2132 slugifies test_trailing_ to test-trailing2133 .ensure_utf8_size2134 string is has less bytes than expected2135 backfills string with null characters2136 string size is exactly the one that is expected2137 returns original value2138 when string contains a few multi-byte UTF characters2139 backfills string with null characters2140 when string has multiple multi-byte UTF chars exceeding 32 bytes2141 truncates string to 32 characters and backfills it if needed2142 .removes_sensitive_data_from_url2143 returns string object2144 returns nil when URI cannot be parsed2145 returns nil with invalid parameter2146 returns string with filtered access_token param2147 returns string with filtered access_token param but other params preserved2148 .ensure_array_from_string2149 returns the same array if given one2150 turns comma-separated strings into arrays2151 multiple_key_invert2152 invert keys with array values2153 .check_path_traversal!2154 detects path traversal in string without any separators2155 detects path traversal at the start of the string2156 detects path traversal at the start of the string, even to just the subdirectory2157 detects path traversal in the middle of the string2158 detects path traversal at the end of the string when slash-terminates2159 detects path traversal at the end of the string2160 does nothing for a safe string2161 logs potential path traversal attempts2162 logs does nothing for a safe string2163 does nothing for nil2164 does nothing for safe HashedPath2165 raises for unsafe HashedPath2166 raises for other non-strings2167 .deep_indifferent_access2168 allows to access hash keys with symbols2169 allows to access array keys with symbols2170 .safe_downcase!2171 str: "test", result: "test"2172 downcases the string2173 str: "Test", result: "test"2174 downcases the string2175 str: "test", result: "test"2176 downcases the string2177 str: "Test", result: "test"2178 downcases the string2179 .check_allowed_absolute_path_and_path_traversal!2180 detects path traversal in string without any separators2181 detects path traversal at the start of the string2182 detects path traversal at the start of the string, even to just the subdirectory2183 detects path traversal in the middle of the string2184 detects path traversal at the end of the string when slash-terminates2185 detects path traversal at the end of the string2186 does not return errors for a safe string2187 raises error for a non-string2188 raises an exception if an absolute path is not allowed2189 does nothing for an allowed absolute path2190 .stable_sort_by2191 when items have the same priority2192 does not change order in cases of ties2193 when items have different priorities2194 sorts items like the regular sort_by2195 .parse_url2196 returns Addressable::URI object2197 returns nil when URI cannot be parsed2198 returns nil with invalid parameter2199 .which2200 finds the full path to an executable binary in order of appearance2201 .deep_symbolized_access2202 allows to access hash keys with symbols2203 allows to access array keys with symbols2204 .append_path2205 host: "http://test/", path: "/foo/bar", result: "http://test/foo/bar"2206 makes sure there is only one slash as path separator2207 host: "http://test/", path: "//foo/bar", result: "http://test/foo/bar"2208 makes sure there is only one slash as path separator2209 host: "http://test//", path: "/foo/bar", result: "http://test/foo/bar"2210 makes sure there is only one slash as path separator2211 host: "http://test", path: "foo/bar", result: "http://test/foo/bar"2212 makes sure there is only one slash as path separator2213 host: "http://test//", path: "", result: "http://test/"2214 makes sure there is only one slash as path separator2215 host: "http://test//", path: nil, result: "http://test/"2216 makes sure there is only one slash as path separator2217 host: "", path: "/foo/bar", result: "/foo/bar"2218 makes sure there is only one slash as path separator2219 host: nil, path: "/foo/bar", result: "/foo/bar"2220 makes sure there is only one slash as path separator2221 .bytes_to_megabytes2222 converts bytes to megabytes2223 .boolean_to_yes_no2224 converts booleans to Yes or No2225 .remove_line_breaks2226 original: "foo\nbar\nbaz", expected: "foobarbaz"2227 replace line breaks with an empty string2228 original: "foo\r\nbar\r\nbaz", expected: "foobarbaz"2229 replace line breaks with an empty string2230 original: "foobar", expected: "foobar"2231 replace line breaks with an empty string2232 .try_megabytes_to_bytes2233 when the size can be converted to megabytes2234 returns the size in megabytes2235 when the size can not be converted to megabytes2236 returns the input size2237Projects::MoveAccessService2238 #execute2239 when both projects are in the same namespace2240 does not refresh project owner authorized projects2241 behaves like move the accesses2242 moves the accesses2243 rollbacks if an exception is raised2244 when projects are in different namespaces2245 refreshes both project owner authorized projects2246 behaves like move the accesses2247 moves the accesses2248 rollbacks if an exception is raised2249 when remove_remaining_elements is false2250 does not remove remaining memberships2251 does not remove remaining group links2252 does not remove remaining authorizations2253Gitlab::Ci::Pipeline::Chain::Validate::External2254 #perform!2255 respects the defined payload schema2256 with configuration values in ApplicationSetting2257 uses those values rather than env vars or defaults2258 with EXTERNAL_VALIDATION_SERVICE_TIMEOUT defined2259 with valid value2260 uses defined timeout2261 with invalid value2262 uses default timeout2263 when EXTERNAL_VALIDATION_SERVICE_TOKEN is set2264 passes token in X-Gitlab-Token header2265 when validation returns 200 OK2266 behaves like successful external authorization2267 does not drop the pipeline2268 does not break the chain2269 logs the authorization2270 returns expected payload2271 with existing jobs from other project's alive pipelines2272 returns the expected total_builds_count2273 credit_card2274 with no registered credit_card2275 returns the expected credit card counts2276 with a registered credit card2277 returns the expected credit card counts2278 with similar credit cards registered by other users2279 returns the expected credit card counts2280 with similar holder names registered by other users2281 returns the expected credit card counts2282 when validation returns 404 Not Found2283 behaves like successful external authorization2284 does not drop the pipeline2285 does not break the chain2286 logs the authorization2287 returns expected payload2288 with existing jobs from other project's alive pipelines2289 returns the expected total_builds_count2290 credit_card2291 with no registered credit_card2292 returns the expected credit card counts2293 with a registered credit card2294 returns the expected credit card counts2295 with similar credit cards registered by other users2296 returns the expected credit card counts2297 with similar holder names registered by other users2298 returns the expected credit card counts2299 when validation returns 500 Internal Server Error2300 behaves like successful external authorization2301 does not drop the pipeline2302 does not break the chain2303 logs the authorization2304 returns expected payload2305 with existing jobs from other project's alive pipelines2306 returns the expected total_builds_count2307 credit_card2308 with no registered credit_card2309 returns the expected credit card counts2310 with a registered credit card2311 returns the expected credit card counts2312 with similar credit cards registered by other users2313 returns the expected credit card counts2314 with similar holder names registered by other users2315 returns the expected credit card counts2316 when validation raises exceptions2317 logs exceptions2318 behaves like successful external authorization2319 does not drop the pipeline2320 does not break the chain2321 logs the authorization2322 returns expected payload2323 with existing jobs from other project's alive pipelines2324 returns the expected total_builds_count2325 credit_card2326 with no registered credit_card2327 returns the expected credit card counts2328 with a registered credit card2329 returns the expected credit card counts2330 with similar credit cards registered by other users2331 returns the expected credit card counts2332 with similar holder names registered by other users2333 returns the expected credit card counts2334 when validation returns 406 Not Acceptable2335 drops the pipeline2336 breaks the chain2337 logs the authorization2338 when save_incompleted is false2339 adds errors to the pipeline without dropping it2340 breaks the chain2341 logs the authorization2342Clusters::Applications::CheckInstallationProgressService#execute2343 when application is updating2344 when installation raises a Kubeclient::HttpError2345 logs into kubernetes.log and Sentry2346 shows the response code from the error2347 behaves like a not yet terminated installation2348 when phase is Pending2349 when not timed_out2350 reschedule a new check2351 behaves like a not yet terminated installation2352 when phase is Running2353 when not timed_out2354 reschedule a new check2355 behaves like a not yet terminated installation2356 when phase is Unknown2357 when not timed_out2358 reschedule a new check2359 when installation POD succeeded2360 removes the installation POD2361 make the application installed2362 when installation POD failed2363 make the application errored2364 when timed out2365 make the application errored2366 when application is installing2367 when installation raises a Kubeclient::HttpError2368 logs into kubernetes.log and Sentry2369 shows the response code from the error2370 behaves like a not yet terminated installation2371 when phase is Pending2372 when not timed_out2373 reschedule a new check2374 behaves like a not yet terminated installation2375 when phase is Running2376 when not timed_out2377 reschedule a new check2378 behaves like a not yet terminated installation2379 when phase is Unknown2380 when not timed_out2381 reschedule a new check2382 when installation POD succeeded2383 removes the installation POD2384 make the application installed2385 tracks application install2386 when installation POD failed2387 make the application errored2388 when timed out2389 make the application errored2390SnippetRepository2391 associations2392 is expected to belong to shard required: false2393 is expected to belong to snippet required: false2394 behaves like shardable scopes2395 .for_repository_storage2396 returns the objects for a given repository storage2397 .excluding_repository_storage2398 returns the objects excluding the given repository storage2399 .for_shard2400 returns the objects for a given shard2401 .find_snippet2402 finds snippet by disk path2403 returns nil when it does not find the snippet2404 #multi_files_action2405 returns nil when files argument is empty2406 returns nil when files argument is nil2407 performs the operation accordingly to the files data2408 tries to obtain an exclusive lease2409 cancels the lease when the method has finished2410 raises an error if the lease cannot be obtained2411 with commit actions2412 infers the commit action based on the parameters if not present2413 when commit actions are present2414 behaves like uses the expected action2415 is expected to receive commit_files(#<User id:608 @user473>, hash_including(:actions=>"array_including(hash_including(:action=>:foobar))")) 1 time2416 when action is a string2417 behaves like uses the expected action2418 is expected to receive commit_files(#<User id:608 @user473>, hash_including(:actions=>"array_including(hash_including(:action=>:foobar))")) 1 time2419 when move action does not include content2420 when action is not set2421 behaves like renames file and does not update content2422 is expected to eq "v6.8.0\n\nv6.7.0\n - Add support for Gemnasium as a Project Service (Olivier Gonzalez)\n - Add edi... redesign\n - stability\n - security fixes\n - increased test coverage\n - email notification\n"2423 when action is set2424 behaves like renames file and does not update content2425 is expected to eq "v6.8.0\n\nv6.7.0\n - Add support for Gemnasium as a Project Service (Olivier Gonzalez)\n - Add edi... redesign\n - stability\n - security fixes\n - increased test coverage\n - email notification\n"2426 when update action does not include content2427 when action is not set2428 behaves like does not commit anything2429 is expected to eq "b83d6e391c22777fca1ed3012fce84f633d7fed0"2430 when action is set2431 behaves like does not commit anything2432 is expected to eq "b83d6e391c22777fca1ed3012fce84f633d7fed0"2433 when existing file has a default name2434 reuses the existing file name2435 when file name consists of one or several whitespaces2436 assigns a new name to the file2437 when some files are not named2438 behaves like snippet repository with file names2439 sets a name for unnamed files2440 repository already has 10 unnamed snippets2441 behaves like snippet repository with file names2442 sets a name for unnamed files2443 with git errors2444 behaves like snippet repository with git errors2445 raises a path specific error2446 behaves like snippet repository with git errors2447 raises a path specific error2448 behaves like snippet repository with git errors2449 raises a path specific error2450 behaves like snippet repository with git errors2451 raises a path specific error2452 when user name is invalid2453 behaves like snippet repository with git errors2454 raises a path specific error2455 when user email is empty2456 behaves like snippet repository with git errors2457 raises a path specific error2458Gitlab::Database::WithLockRetriesOutsideTransaction2459 #run2460 requires block2461 when DISABLE_LOCK_RETRIES is set2462 executes the passed block without retrying2463 when lock retry is enabled2464 lock_fiber2465 acquires lock successfully2466 after 3 iterations2467 behaves like retriable exclusive lock on `projects`2468 succeeds executing the given block2469 setting the idle transaction timeout2470 when there is no outer transaction: disable_ddl_transaction! is set in the migration2471 does not disable the idle transaction timeout2472 when there is outer transaction: disable_ddl_transaction! is not set in the migration2473 disables the idle transaction timeout so the code can sleep and retry2474 after the retries are exhausted2475 disables the lock_timeout2476 after the retries, without setting lock_timeout2477 behaves like retriable exclusive lock on `projects`2478 succeeds executing the given block2479 after the retries, when requested to raise an error2480 raises an error instead of waiting indefinitely for the lock2481 when statement timeout is reached2482 raises StatementInvalid error2483 restore local database variables2484 is expected not to change `connection.execute("SHOW lock_timeout").to_a`2485 is expected not to change `connection.execute("SHOW idle_in_transaction_session_timeout").to_a`2486 casting durations correctly2487 executes `SET lock_timeout` using the configured timeout value in milliseconds2488 calls `sleep` after the first iteration fails, using the configured sleep time2489Packages::Debian::DistributionReleaseFileUploader2490 Packages::Debian::ProjectDistribution2491 behaves like builds correct paths2492 #store_dir2493 behaves like matches the method pattern2494 is expected to match /^\h{2}\/\h{2}\/\h{64}\/debian_project_distribution\/\d+$/2495 #cache_dir2496 behaves like matches the method pattern2497 is expected to match /\/packages\/tmp\/cache$/2498 #work_dir2499 behaves like matches the method pattern2500 is expected to match /\/packages\/tmp\/work$/2501 #upload_path2502 behaves like matches the method pattern2503 example at ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:8 (PENDING: No pattern provided, skipping.)2504 #relative_path2505 is relative (PENDING: Path not set, skipping.)2506 .absolute_path2507 behaves like matches the method pattern2508 example at ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:8 (PENDING: No pattern provided, skipping.)2509 .base_dir2510 behaves like matches the method pattern2511 example at ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:8 (PENDING: No pattern provided, skipping.)2512 path traversal exploits2513 throws an exception2514 object store is remote2515 behaves like builds correct paths2516 #store_dir2517 behaves like matches the method pattern2518 is expected to match /^\h{2}\/\h{2}\/\h{64}\/debian_project_distribution\/\d+$/2519 #cache_dir2520 behaves like matches the method pattern2521 is expected to match /\/packages\/tmp\/cache$/2522 #work_dir2523 behaves like matches the method pattern2524 is expected to match /\/packages\/tmp\/work$/2525 #upload_path2526 behaves like matches the method pattern2527 example at ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:8 (PENDING: No pattern provided, skipping.)2528 #relative_path2529 is relative (PENDING: Path not set, skipping.)2530 .absolute_path2531 behaves like matches the method pattern2532 example at ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:8 (PENDING: No pattern provided, skipping.)2533 .base_dir2534 behaves like matches the method pattern2535 example at ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:8 (PENDING: No pattern provided, skipping.)2536 path traversal exploits2537 throws an exception2538 remote file2539 with object storage enabled2540 can store file remotely2541 #filename2542 is expected to eq "Release"2543 with signed_file2544 is expected to eq "InRelease"2545 Packages::Debian::GroupDistribution2546 behaves like builds correct paths2547 #store_dir2548 behaves like matches the method pattern2549 is expected to match /^\h{2}\/\h{2}\/\h{64}\/debian_group_distribution\/\d+$/2550 #cache_dir2551 behaves like matches the method pattern2552 is expected to match /\/packages\/tmp\/cache$/2553 #work_dir2554 behaves like matches the method pattern2555 is expected to match /\/packages\/tmp\/work$/2556 #upload_path2557 behaves like matches the method pattern2558 example at ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:8 (PENDING: No pattern provided, skipping.)2559 #relative_path2560 is relative (PENDING: Path not set, skipping.)2561 .absolute_path2562 behaves like matches the method pattern2563 example at ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:8 (PENDING: No pattern provided, skipping.)2564 .base_dir2565 behaves like matches the method pattern2566 example at ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:8 (PENDING: No pattern provided, skipping.)2567 path traversal exploits2568 throws an exception2569 object store is remote2570 behaves like builds correct paths2571 #store_dir2572 behaves like matches the method pattern2573 is expected to match /^\h{2}\/\h{2}\/\h{64}\/debian_group_distribution\/\d+$/2574 #cache_dir2575 behaves like matches the method pattern2576 is expected to match /\/packages\/tmp\/cache$/2577 #work_dir2578 behaves like matches the method pattern2579 is expected to match /\/packages\/tmp\/work$/2580 #upload_path2581 behaves like matches the method pattern2582 example at ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:8 (PENDING: No pattern provided, skipping.)2583 #relative_path2584 is relative (PENDING: Path not set, skipping.)2585 .absolute_path2586 behaves like matches the method pattern2587 example at ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:8 (PENDING: No pattern provided, skipping.)2588 .base_dir2589 behaves like matches the method pattern2590 example at ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:8 (PENDING: No pattern provided, skipping.)2591 path traversal exploits2592 throws an exception2593 remote file2594 with object storage enabled2595 can store file remotely2596 #filename2597 is expected to eq "Release"2598 with signed_file2599 is expected to eq "InRelease"2600Banzai::Filter::References::ProjectReferenceFilter2601 ignores invalid projects2602 allows references with text after the > character2603 ignores valid references contained inside 'pre' element2604 ignores valid references contained inside 'code' element2605 ignores valid references contained inside 'a' element2606 ignores valid references contained inside 'style' element2607 includes default classes2608 behaves like user reference or project reference2609 supports an :only_path context2610 mentioning a resource2611 links to a resource2612 links to a resource with a period2613 links to a resource with an underscore2614 links to a resource with different case-sensitivity2615 behaves like a reference containing an element node2616 does not escape inner html2617 behaves like it contains a data- attribute2618 includes a data- attribute2619 referencing a resource in a link href2620 links to the resource2621 links with adjacent text2622 behaves like it contains a data- attribute2623 includes a data- attribute2624 when invalid reference strings are very long2625 behaves like fails fast2626 fails fast for long strings2627 behaves like fails fast2628 fails fast for long strings2629 in group context2630 supports mentioning a project2631 supports mentioning a project in a nested group2632 #projects_hash2633 returns a Hash containing all Projects2634 #projects2635 returns the projects mentioned in a document2636 checking N+12637 does not have N+1 per multiple project references2638Issues::PlacementWorker2639 has the `until_executed` deduplicate strategy2640 #perform2641 passing an issue ID2642 behaves like running the issue placement worker2643 places all issues created at most 5 minutes before this one at the end, most recent last2644 schedules rebalancing if needed2645 anticipates the failure to place the issues, and schedules rebalancing2646 there are more than QUERY_LIMIT unplaced issues2647 limits the sweep to QUERY_LIMIT records, and reschedules placement2648 is eventually correct2649 we are passed bad IDs2650 does move any issues to the end2651 the project_id refers to an empty project2652 does move any issues to the end2653 when block_issue_repositioning is enabled2654 does not run repositioning tasks2655 passing a project ID2656 behaves like running the issue placement worker2657 places all issues created at most 5 minutes before this one at the end, most recent last2658 schedules rebalancing if needed2659 anticipates the failure to place the issues, and schedules rebalancing2660 there are more than QUERY_LIMIT unplaced issues2661 limits the sweep to QUERY_LIMIT records, and reschedules placement2662 is eventually correct2663 we are passed bad IDs2664 does move any issues to the end2665 the project_id refers to an empty project2666 does move any issues to the end2667Gitlab::BitbucketImport::Importer2668 #import_pull_requests2669 imports threaded discussions2670 when user exists in GitLab2671 does not add author line to comments2672 when importing a pull request throws an exception2673 logs an error without the backtrace2674 when branches' sha is not found in the repository2675 uses the pull request sha references2676 metrics2677 counts imported pull requests2678 issues statuses2679 maps statuses to open or closed2680 creating labels on project2681 creates labels as expected2682 does not fail if label is already existing2683 does not create new labels2684 does not update existing ones2685 wiki import2686 is skipped when the wiki exists2687 imports to the project disk_path2688 issue import2689 allocates internal ids2690 maps reporters to anonymous if bitbucket reporter is nil2691 sets work item type on new issues2692 with issue comments2693 imports issue comments2694 metrics2695 counts imported issues2696 #execute2697 metrics2698 counts and measures duration of imported projects2699Clusters::ClusterPolicy2700 rules2701 when developer2702 is expected to be disallowed :update_cluster2703 is expected to be disallowed :admin_cluster2704 when maintainer2705 is expected to be allowed :update_cluster2706 is expected to be allowed :admin_cluster2707 group cluster2708 when group developer2709 is expected to be disallowed :update_cluster2710 is expected to be disallowed :admin_cluster2711 when group maintainer2712 is expected to be allowed :update_cluster2713 is expected to be allowed :admin_cluster2714 when project maintainer2715 is expected to be disallowed :update_cluster2716 is expected to be disallowed :admin_cluster2717 when project developer2718 is expected to be disallowed :update_cluster2719 is expected to be disallowed :admin_cluster2720 instance cluster2721 when user2722 is expected to be disallowed :update_cluster2723 is expected to be disallowed :admin_cluster2724 when admin2725 when admin mode is enabled2726 is expected to be allowed :update_cluster2727 is expected to be allowed :admin_cluster2728 when admin mode is disabled2729 is expected to be disallowed :update_cluster2730 is expected to be disallowed :admin_cluster2731API::Entities::User2732 exposes correct attributes2733 exposes created_at if the current user can read the user profile2734 does not expose created_at if the current user cannot read the user profile2735 exposes user as not a bot2736 exposes local_time2737 exposing follow relationships2738 when current user cannot read user profile2739 does not expose followers2740 when current user can read user profile2741 exposes followers2742 when current user cannot read user profile2743 does not expose following2744 when current user can read user profile2745 exposes following2746 when current user cannot read user profile2747 does not expose is_followed2748 when current user can read user profile2749 exposes is_followed2750 with project bot user2751 exposes user as a bot2752 when the requester is not an admin2753 does not expose project bot user name2754 when the requester is nil2755 does not expose project bot user name2756 when the requester is a project maintainer2757 exposes project bot user name2758 when the requester is an admin2759 exposes project bot user name2760 with group bot user2761 exposes user as a bot2762 when the requester is not a group member2763 with a public group2764 exposes group bot user name2765 with a private group2766 does not expose group bot user name2767 when the requester is nil2768 does not expose group bot user name2769 when the requester is a group maintainer2770 exposes group bot user name2771 when the requester is an admin2772 exposes group bot user name2773 with logged-out user2774 exposes is_followed as nil2775ContainerRegistry::GitlabApiClient2776 #supports_gitlab_api?2777 registry_gitlab_api_enabled: false, is_on_dot_com: true, container_registry_features: ["gitlab_v1_api"], expect_registry_to_be_pinged: false, expected_result: true2778 returns the expected result2779 registry_gitlab_api_enabled: true, is_on_dot_com: false, container_registry_features: ["gitlab_v1_api"], expect_registry_to_be_pinged: true, expected_result: true2780 returns the expected result2781 registry_gitlab_api_enabled: true, is_on_dot_com: true, container_registry_features: [], expect_registry_to_be_pinged: true, expected_result: true2782 returns the expected result2783 registry_gitlab_api_enabled: true, is_on_dot_com: false, container_registry_features: [], expect_registry_to_be_pinged: true, expected_result: true2784 returns the expected result2785 registry_gitlab_api_enabled: false, is_on_dot_com: true, container_registry_features: ["gitlab_v1_api"], expect_registry_to_be_pinged: false, expected_result: true2786 returns the expected result2787 registry_gitlab_api_enabled: false, is_on_dot_com: false, container_registry_features: ["gitlab_v1_api"], expect_registry_to_be_pinged: true, expected_result: false2788 returns the expected result2789 registry_gitlab_api_enabled: false, is_on_dot_com: true, container_registry_features: [], expect_registry_to_be_pinged: true, expected_result: false2790 returns the expected result2791 registry_gitlab_api_enabled: false, is_on_dot_com: false, container_registry_features: [], expect_registry_to_be_pinged: true, expected_result: false2792 returns the expected result2793 with 401 response2794 is expected to be truthy2795 #pre_import_repository2796 status_code: 200, expected_result: :already_imported2797 is expected to eq :already_imported2798 status_code: 202, expected_result: :ok2799 is expected to eq :ok2800 status_code: 400, expected_result: :bad_request2801 is expected to eq :bad_request2802 status_code: 401, expected_result: :unauthorized2803 is expected to eq :unauthorized2804 status_code: 404, expected_result: :not_found2805 is expected to eq :not_found2806 status_code: 409, expected_result: :already_being_imported2807 is expected to eq :already_being_imported2808 status_code: 418, expected_result: :error2809 is expected to eq :error2810 status_code: 424, expected_result: :pre_import_failed2811 is expected to eq :pre_import_failed2812 status_code: 425, expected_result: :already_being_imported2813 is expected to eq :already_being_imported2814 status_code: 429, expected_result: :too_many_imports2815 is expected to eq :too_many_imports2816 #import_repository2817 status_code: 200, expected_result: :already_imported2818 is expected to eq :already_imported2819 status_code: 202, expected_result: :ok2820 is expected to eq :ok2821 status_code: 400, expected_result: :bad_request2822 is expected to eq :bad_request2823 status_code: 401, expected_result: :unauthorized2824 is expected to eq :unauthorized2825 status_code: 404, expected_result: :not_found2826 is expected to eq :not_found2827 status_code: 409, expected_result: :already_being_imported2828 is expected to eq :already_being_imported2829 status_code: 418, expected_result: :error2830 is expected to eq :error2831 status_code: 424, expected_result: :pre_import_failed2832 is expected to eq :pre_import_failed2833 status_code: 425, expected_result: :already_being_imported2834 is expected to eq :already_being_imported2835 status_code: 429, expected_result: :too_many_imports2836 is expected to eq :too_many_imports2837 #cancel_repository_import2838 status_code: 200, expected_result: :already_imported2839 is expected to eq {:migration_state=>nil, :status=>:already_imported}2840 status_code: 202, expected_result: :ok2841 is expected to eq {:migration_state=>nil, :status=>:ok}2842 status_code: 400, expected_result: :bad_request2843 is expected to eq {:migration_state=>nil, :status=>:bad_request}2844 status_code: 401, expected_result: :unauthorized2845 is expected to eq {:migration_state=>nil, :status=>:unauthorized}2846 status_code: 404, expected_result: :not_found2847 is expected to eq {:migration_state=>nil, :status=>:not_found}2848 status_code: 409, expected_result: :already_being_imported2849 is expected to eq {:migration_state=>nil, :status=>:already_being_imported}2850 status_code: 418, expected_result: :error2851 is expected to eq {:migration_state=>nil, :status=>:error}2852 status_code: 424, expected_result: :pre_import_failed2853 is expected to eq {:migration_state=>nil, :status=>:pre_import_failed}2854 status_code: 425, expected_result: :already_being_imported2855 is expected to eq {:migration_state=>nil, :status=>:already_being_imported}2856 status_code: 429, expected_result: :too_many_imports2857 is expected to eq {:migration_state=>nil, :status=>:too_many_imports}2858 bad request2859 is expected to eq {:migration_state=>"this_is_a_test", :status=>:bad_request}2860 force cancel2861 is expected to eq {:migration_state=>nil, :status=>:ok}2862 #import_status2863 with successful response2864 with a status2865 is expected to eq "this_is_a_test"2866 with no status2867 is expected to eq "error"2868 with non successful response2869 is expected to eq "pre_import_failed"2870 #repository_details2871 with sizing self2872 is expected to eq {"foo"=>"bar", "this"=>"is_a_test"}2873 with sizing self_with_descendants2874 is expected to eq {"foo"=>"bar", "this"=>"is_a_test"}2875 with sizing2876 is expected to eq {"foo"=>"bar", "this"=>"is_a_test"}2877 with non successful response2878 is expected to eq {}2879 #tags2880 with valid parameters2881 is expected to eq {:pagination=>{}, :response_body=>[{"created_at"=>"2022-11-04T14:28:57.475Z", "digest"=>"sha256:12345...a_type"=>"application/vnd.oci.image.manifest.v1+json", "name"=>"latest", "size_bytes"=>1234567892}]}2882 with a response with a link header2883 is expected to eq {:pagination=>{:next=>{:uri=>#<URI::HTTP http://sandbox.org/test?last=b>}}, :response_body=>[{"create...a_type"=>"application/vnd.oci.image.manifest.v1+json", "name"=>"latest", "size_bytes"=>1234567892}]}2884 with a large page size set2885 is expected to eq {:pagination=>{}, :response_body=>[{"created_at"=>"2022-11-04T14:28:57.580Z", "digest"=>"sha256:12345...a_type"=>"application/vnd.oci.image.manifest.v1+json", "name"=>"latest", "size_bytes"=>1234567892}]}2886 with a last parameter set2887 is expected to eq {:pagination=>{}, :response_body=>[{"created_at"=>"2022-11-04T14:28:57.632Z", "digest"=>"sha256:12345...a_type"=>"application/vnd.oci.image.manifest.v1+json", "name"=>"latest", "size_bytes"=>1234567892}]}2888 with non successful response2889 logs an error and returns an empty hash2890 .supports_gitlab_api?2891 registry_gitlab_api_enabled: true, is_on_dot_com: true, container_registry_features: ["gitlab_v1_api"], expect_registry_to_be_pinged: false, expected_result: true2892 returns the expected result2893 registry_gitlab_api_enabled: true, is_on_dot_com: false, container_registry_features: ["gitlab_v1_api"], expect_registry_to_be_pinged: true, expected_result: true2894 returns the expected result2895 registry_gitlab_api_enabled: false, is_on_dot_com: true, container_registry_features: ["gitlab_v1_api"], expect_registry_to_be_pinged: false, expected_result: true2896 returns the expected result2897 registry_gitlab_api_enabled: false, is_on_dot_com: false, container_registry_features: ["gitlab_v1_api"], expect_registry_to_be_pinged: true, expected_result: false2898 returns the expected result2899 registry_gitlab_api_enabled: true, is_on_dot_com: true, container_registry_features: [], expect_registry_to_be_pinged: true, expected_result: true2900 returns the expected result2901 registry_gitlab_api_enabled: true, is_on_dot_com: false, container_registry_features: [], expect_registry_to_be_pinged: true, expected_result: true2902 returns the expected result2903 registry_gitlab_api_enabled: false, is_on_dot_com: true, container_registry_features: [], expect_registry_to_be_pinged: true, expected_result: false2904 returns the expected result2905 registry_gitlab_api_enabled: false, is_on_dot_com: false, container_registry_features: [], expect_registry_to_be_pinged: true, expected_result: false2906 returns the expected result2907 with the registry disabled2908 returns false2909 with a blank registry url2910 returns false2911 .deduplicated_size2912 with successful response2913 is expected to eq 5552914 with unsuccessful response2915 is expected to eq nil2916 with the registry disabled2917 is expected to eq nil2918 with a nil path2919 is expected to eq nil2920 with uppercase path2921 is expected to eq 5552922Gitlab::Ci::Runner::Backoff2923 #duration2924 returns backoff duration from start2925 returns an integer value2926 returns the smallest number greater than or equal to duration2927 #slot2928 started: 0, slot: 02929 falls into an appropaite backoff slot2930 started: 0.1, slot: 02931 falls into an appropaite backoff slot2932 started: 0.9, slot: 02933 falls into an appropaite backoff slot2934 started: 1, slot: 02935 falls into an appropaite backoff slot2936 started: 1.1, slot: 02937 falls into an appropaite backoff slot2938 started: 1.9, slot: 02939 falls into an appropaite backoff slot2940 started: 2, slot: 02941 falls into an appropaite backoff slot2942 started: 2.9, slot: 02943 falls into an appropaite backoff slot2944 started: 3, slot: 02945 falls into an appropaite backoff slot2946 started: 4, slot: 12947 falls into an appropaite backoff slot2948 started: 5, slot: 12949 falls into an appropaite backoff slot2950 started: 6, slot: 12951 falls into an appropaite backoff slot2952 started: 7, slot: 12953 falls into an appropaite backoff slot2954 started: 8, slot: 22955 falls into an appropaite backoff slot2956 started: 9, slot: 22957 falls into an appropaite backoff slot2958 started: 9.9, slot: 22959 falls into an appropaite backoff slot2960 started: 10, slot: 22961 falls into an appropaite backoff slot2962 started: 15, slot: 22963 falls into an appropaite backoff slot2964 started: 16, slot: 32965 falls into an appropaite backoff slot2966 started: 31, slot: 32967 falls into an appropaite backoff slot2968 started: 32, slot: 42969 falls into an appropaite backoff slot2970 started: 63, slot: 42971 falls into an appropaite backoff slot2972 started: 64, slot: 52973 falls into an appropaite backoff slot2974 started: 127, slot: 52975 falls into an appropaite backoff slot2976 started: 128, slot: 62977 falls into an appropaite backoff slot2978 started: 250, slot: 62979 falls into an appropaite backoff slot2980 started: 310, slot: 72981 falls into an appropaite backoff slot2982 started: 520, slot: 82983 falls into an appropaite backoff slot2984 started: 999, slot: 82985 falls into an appropaite backoff slot2986 #to_seconds2987 started: 0, backoff: 12988 calculates backoff based on an appropriate slot2989 started: 0.1, backoff: 12990 calculates backoff based on an appropriate slot2991 started: 0.9, backoff: 12992 calculates backoff based on an appropriate slot2993 started: 1, backoff: 12994 calculates backoff based on an appropriate slot2995 started: 1.1, backoff: 12996 calculates backoff based on an appropriate slot2997 started: 1.9, backoff: 12998 calculates backoff based on an appropriate slot2999 started: 2, backoff: 13000 calculates backoff based on an appropriate slot3001 started: 3, backoff: 13002 calculates backoff based on an appropriate slot3003 started: 4, backoff: 23004 calculates backoff based on an appropriate slot3005 started: 5, backoff: 23006 calculates backoff based on an appropriate slot3007 started: 6, backoff: 23008 calculates backoff based on an appropriate slot3009 started: 6.5, backoff: 23010 calculates backoff based on an appropriate slot3011 started: 7, backoff: 23012 calculates backoff based on an appropriate slot3013 started: 8, backoff: 43014 calculates backoff based on an appropriate slot3015 started: 9, backoff: 43016 calculates backoff based on an appropriate slot3017 started: 9.9, backoff: 43018 calculates backoff based on an appropriate slot3019 started: 10, backoff: 43020 calculates backoff based on an appropriate slot3021 started: 15, backoff: 43022 calculates backoff based on an appropriate slot3023 started: 16, backoff: 83024 calculates backoff based on an appropriate slot3025 started: 31, backoff: 83026 calculates backoff based on an appropriate slot3027 started: 32, backoff: 163028 calculates backoff based on an appropriate slot3029 started: 63, backoff: 163030 calculates backoff based on an appropriate slot3031 started: 64, backoff: 323032 calculates backoff based on an appropriate slot3033 started: 127, backoff: 323034 calculates backoff based on an appropriate slot3035 started: 128, backoff: 643036 calculates backoff based on an appropriate slot3037 started: 250, backoff: 643038 calculates backoff based on an appropriate slot3039 started: 310, backoff: 643040 calculates backoff based on an appropriate slot3041 started: 520, backoff: 643042 calculates backoff based on an appropriate slot3043 started: 999, backoff: 643044 calculates backoff based on an appropriate slot3045UserPreference3046 validations3047 diffs_deletion_color and diffs_addition_color3048 color: "#000000"3049 is expected to allow :diffs_deletion_color to be ‹"#000000"›3050 is expected to allow :diffs_addition_color to be ‹"#000000"›3051 color: "#123456"3052 is expected to allow :diffs_deletion_color to be ‹"#123456"›3053 is expected to allow :diffs_addition_color to be ‹"#123456"›3054 color: "#abcdef"3055 is expected to allow :diffs_deletion_color to be ‹"#abcdef"›3056 is expected to allow :diffs_addition_color to be ‹"#abcdef"›3057 color: "#AbCdEf"3058 is expected to allow :diffs_deletion_color to be ‹"#AbCdEf"›3059 is expected to allow :diffs_addition_color to be ‹"#AbCdEf"›3060 color: "#ffffff"3061 is expected to allow :diffs_deletion_color to be ‹"#ffffff"›3062 is expected to allow :diffs_addition_color to be ‹"#ffffff"›3063 color: "#fFfFfF"3064 is expected to allow :diffs_deletion_color to be ‹"#fFfFfF"›3065 is expected to allow :diffs_addition_color to be ‹"#fFfFfF"›3066 color: "#000"3067 is expected to allow :diffs_deletion_color to be ‹"#000"›3068 is expected to allow :diffs_addition_color to be ‹"#000"›3069 color: "#123"3070 is expected to allow :diffs_deletion_color to be ‹"#123"›3071 is expected to allow :diffs_addition_color to be ‹"#123"›3072 color: "#abc"3073 is expected to allow :diffs_deletion_color to be ‹"#abc"›3074 is expected to allow :diffs_addition_color to be ‹"#abc"›3075 color: "#AbC"3076 is expected to allow :diffs_deletion_color to be ‹"#AbC"›3077 is expected to allow :diffs_addition_color to be ‹"#AbC"›3078 color: "#fff"3079 is expected to allow :diffs_deletion_color to be ‹"#fff"›3080 is expected to allow :diffs_addition_color to be ‹"#fff"›3081 color: "#fFf"3082 is expected to allow :diffs_deletion_color to be ‹"#fFf"›3083 is expected to allow :diffs_addition_color to be ‹"#fFf"›3084 color: ""3085 is expected to allow :diffs_deletion_color to be ‹""›3086 is expected to allow :diffs_addition_color to be ‹""›3087 color: "#1"3088 is expected not to allow :diffs_deletion_color to be ‹"#1"›3089 is expected not to allow :diffs_addition_color to be ‹"#1"›3090 color: "#12"3091 is expected not to allow :diffs_deletion_color to be ‹"#12"›3092 is expected not to allow :diffs_addition_color to be ‹"#12"›3093 color: "#1234"3094 is expected not to allow :diffs_deletion_color to be ‹"#1234"›3095 is expected not to allow :diffs_addition_color to be ‹"#1234"›3096 color: "#12345"3097 is expected not to allow :diffs_deletion_color to be ‹"#12345"›3098 is expected not to allow :diffs_addition_color to be ‹"#12345"›3099 color: "#1234567"3100 is expected not to allow :diffs_deletion_color to be ‹"#1234567"›3101 is expected not to allow :diffs_addition_color to be ‹"#1234567"›3102 color: "123456"3103 is expected not to allow :diffs_deletion_color to be ‹"123456"›3104 is expected not to allow :diffs_addition_color to be ‹"123456"›3105 color: "#12345x"3106 is expected not to allow :diffs_deletion_color to be ‹"#12345x"›3107 is expected not to allow :diffs_addition_color to be ‹"#12345x"›3108 use_legacy_web_ide3109 is expected to allow :use_legacy_web_ide to be ‹true›3110 is expected to allow :use_legacy_web_ide to be ‹false›3111 is expected not to allow :use_legacy_web_ide to be ‹nil›3112 is expected not to allow :use_legacy_web_ide to be ‹""›3113 notes filters global keys3114 contains expected values3115 #set_notes_filter3116 when filter is set to all notes3117 behaves like setting system notes3118 returns updated discussion filter3119 updates discussion filter for issuable class3120 when filter is set to only comments3121 behaves like setting system notes3122 returns updated discussion filter3123 updates discussion filter for issuable class3124 when filter is set to only activity3125 behaves like setting system notes3126 returns updated discussion filter3127 updates discussion filter for issuable class3128 when notes_filter parameter is invalid3129 returns the current notes filter3130 sort_by preferences3131 merge_requests_sort attribute3132 behaves like a sort_by preference3133 allows nil sort fields3134 issues_sort attribute3135 behaves like a sort_by preference3136 allows nil sort fields3137 #tab_width3138 is set to 8 by default3139 is expected to validate that :tab_width looks like an integer greater than or equal to 1 and less than or equal to 123140Gitlab::Verify::JobArtifacts3141 behaves like Gitlab::Verify::BatchVerifier subclass3142 batching3143 iterates through objects in batches3144 allows the starting ID to be specified3145 allows the finishing ID to be specified3146 #run_batches3147 passes artifacts with the correct file3148 fails artifacts with a missing file3149 fails artifacts with a mismatched checksum3150 with remote files3151 passes artifacts in object storage that exist3152 fails artifacts in object storage that do not exist3153Issues::ResolveDiscussions3154 for resolving discussions3155 #merge_request_for_resolving_discussion3156 finds the merge request3157 only queries for the merge request once3158 #discussions_to_resolve3159 contains a single discussion when matching merge request and discussion are passed3160 contains all discussions when only a merge request is passed3161 contains only unresolved discussions3162 is empty when a discussion and another merge request are passed3163Gitlab::Ci::Pipeline::Expression::Lexeme::NotEquals3164 .build3165 with non-evaluable operands3166 creates a new instance of the token3167 with evaluable operands3168 creates a new instance of the token3169 .type3170 is an operator3171 .precedence3172 has a precedence3173 #evaluate3174 when left and right are equal3175 left_value: "string", right_value: "string"3176 is expected to eq false3177 left_value: 1, right_value: 13178 is expected to eq false3179 left_value: "", right_value: ""3180 is expected to eq false3181 left_value: nil, right_value: nil3182 is expected to eq false3183 when left and right are not equal3184 left_value: "one string", right_value: "two string"3185 is expected to eq true3186 left_value: "one string", right_value: 13187 is expected to eq true3188 left_value: "one string", right_value: 23189 is expected to eq true3190 left_value: "one string", right_value: ""3191 is expected to eq true3192 left_value: "one string", right_value: nil3193 is expected to eq true3194 left_value: "one string", right_value: false3195 is expected to eq true3196 left_value: "one string", right_value: true3197 is expected to eq true3198 left_value: "two string", right_value: "one string"3199 is expected to eq true3200 left_value: "two string", right_value: 13201 is expected to eq true3202 left_value: "two string", right_value: 23203 is expected to eq true3204 left_value: "two string", right_value: ""3205 is expected to eq true3206 left_value: "two string", right_value: nil3207 is expected to eq true3208 left_value: "two string", right_value: false3209 is expected to eq true3210 left_value: "two string", right_value: true3211 is expected to eq true3212 left_value: 1, right_value: "one string"3213 is expected to eq true3214 left_value: 1, right_value: "two string"3215 is expected to eq true3216 left_value: 1, right_value: 23217 is expected to eq true3218 left_value: 1, right_value: ""3219 is expected to eq true3220 left_value: 1, right_value: nil3221 is expected to eq true3222 left_value: 1, right_value: false3223 is expected to eq true3224 left_value: 1, right_value: true3225 is expected to eq true3226 left_value: 2, right_value: "one string"3227 is expected to eq true3228 left_value: 2, right_value: "two string"3229 is expected to eq true3230 left_value: 2, right_value: 13231 is expected to eq true3232 left_value: 2, right_value: ""3233 is expected to eq true3234 left_value: 2, right_value: nil3235 is expected to eq true3236 left_value: 2, right_value: false3237 is expected to eq true3238 left_value: 2, right_value: true3239 is expected to eq true3240 left_value: "", right_value: "one string"3241 is expected to eq true3242 left_value: "", right_value: "two string"3243 is expected to eq true3244 left_value: "", right_value: 13245 is expected to eq true3246 left_value: "", right_value: 23247 is expected to eq true3248 left_value: "", right_value: nil3249 is expected to eq true3250 left_value: "", right_value: false3251 is expected to eq true3252 left_value: "", right_value: true3253 is expected to eq true3254 left_value: nil, right_value: "one string"3255 is expected to eq true3256 left_value: nil, right_value: "two string"3257 is expected to eq true3258 left_value: nil, right_value: 13259 is expected to eq true3260 left_value: nil, right_value: 23261 is expected to eq true3262 left_value: nil, right_value: ""3263 is expected to eq true3264 left_value: nil, right_value: false3265 is expected to eq true3266 left_value: nil, right_value: true3267 is expected to eq true3268 left_value: false, right_value: "one string"3269 is expected to eq true3270 left_value: false, right_value: "two string"3271 is expected to eq true3272 left_value: false, right_value: 13273 is expected to eq true3274 left_value: false, right_value: 23275 is expected to eq true3276 left_value: false, right_value: ""3277 is expected to eq true3278 left_value: false, right_value: nil3279 is expected to eq true3280 left_value: false, right_value: true3281 is expected to eq true3282 left_value: true, right_value: "one string"3283 is expected to eq true3284 left_value: true, right_value: "two string"3285 is expected to eq true3286 left_value: true, right_value: 13287 is expected to eq true3288 left_value: true, right_value: 23289 is expected to eq true3290 left_value: true, right_value: ""3291 is expected to eq true3292 left_value: true, right_value: nil3293 is expected to eq true3294 left_value: true, right_value: false3295 is expected to eq true3296PagesDomainAcmeOrder3297 .expired3298 returns only expired orders3299 .find_by_domain_and_token3300 domain_name: "test.com", challenge_token: "righttoken", present: true3301 is expected to eq true3302 domain_name: "test.com", challenge_token: "wrongtoken", present: false3303 is expected to eq false3304 domain_name: "test.org", challenge_token: "righttoken", present: false3305 is expected to eq false3306 associations3307 is expected to belong to pages_domain required: false3308 validations3309 is expected to validate that :pages_domain cannot be empty/falsy3310 is expected to validate that :expires_at cannot be empty/falsy3311 is expected to validate that :url cannot be empty/falsy3312 is expected to validate that :challenge_token cannot be empty/falsy3313 is expected to validate that :challenge_file_content cannot be empty/falsy3314 is expected to validate that :private_key cannot be empty/falsy3315ApplicationWorker3316 Sidekiq attributes3317 sets the queue name based on the output of the router3318 when a worker attribute is updated3319 updates the queue name afterward3320 when the worker is inherited3321 sets the queue name for the inherited worker3322 #logging_extras3323 returns extra data to be logged that was set from #log_extra_metadata_on_done3324 when nothing is set3325 returns {}3326 #structured_payload3327 adds worker related payload3328 adds labkit context3329 adds custom payload converting stringified keys3330 does not override predefined context keys with custom payload3331 .queue_namespace3332 updates the queue name from the router again3333 updates the queue_namespace options of the worker3334 .queue3335 returns the queue name3336 .data_consistency3337 data_consistency: :delayed, sidekiq_option_retry: false, expect_error: true3338 when workers data consistency is3339 not to raise an exception3340 data_consistency: :delayed, sidekiq_option_retry: 0, expect_error: true3341 when workers data consistency is3342 not to raise an exception3343 data_consistency: :delayed, sidekiq_option_retry: 3, expect_error: false3344 when workers data consistency is3345 not to raise an exception3346 data_consistency: :delayed, sidekiq_option_retry: nil, expect_error: false3347 when workers data consistency is3348 not to raise an exception3349 data_consistency: :sticky, sidekiq_option_retry: false, expect_error: false3350 when workers data consistency is3351 not to raise an exception3352 data_consistency: :sticky, sidekiq_option_retry: 0, expect_error: false3353 when workers data consistency is3354 not to raise an exception3355 data_consistency: :sticky, sidekiq_option_retry: 3, expect_error: false3356 when workers data consistency is3357 not to raise an exception3358 data_consistency: :sticky, sidekiq_option_retry: nil, expect_error: false3359 when workers data consistency is3360 not to raise an exception3361 data_consistency: :always, sidekiq_option_retry: false, expect_error: false3362 when workers data consistency is3363 not to raise an exception3364 data_consistency: :always, sidekiq_option_retry: 0, expect_error: false3365 when workers data consistency is3366 not to raise an exception3367 data_consistency: :always, sidekiq_option_retry: 3, expect_error: false3368 when workers data consistency is3369 not to raise an exception3370 data_consistency: :always, sidekiq_option_retry: nil, expect_error: false3371 when workers data consistency is3372 not to raise an exception3373 .retry3374 data_consistency: :delayed, sidekiq_option_retry: false, expect_error: true3375 when retry sidekiq option is3376 not to raise an exception3377 data_consistency: :delayed, sidekiq_option_retry: 0, expect_error: true3378 when retry sidekiq option is3379 not to raise an exception3380 data_consistency: :delayed, sidekiq_option_retry: 3, expect_error: false3381 when retry sidekiq option is3382 not to raise an exception3383 data_consistency: :sticky, sidekiq_option_retry: false, expect_error: false3384 when retry sidekiq option is3385 not to raise an exception3386 data_consistency: :sticky, sidekiq_option_retry: 0, expect_error: false3387 when retry sidekiq option is3388 not to raise an exception3389 data_consistency: :sticky, sidekiq_option_retry: 3, expect_error: false3390 when retry sidekiq option is3391 not to raise an exception3392 data_consistency: :always, sidekiq_option_retry: false, expect_error: false3393 when retry sidekiq option is3394 not to raise an exception3395 data_consistency: :always, sidekiq_option_retry: 0, expect_error: false3396 when retry sidekiq option is3397 not to raise an exception3398 data_consistency: :always, sidekiq_option_retry: 3, expect_error: false3399 when retry sidekiq option is3400 not to raise an exception3401 different kinds of push_bulk3402 .bulk_perform_async3403 push_bulk in safe limit batches3404 when the number of jobs to be enqueued does not exceed the safe limit3405 behaves like enqueues jobs in one go3406 enqueues jobs in one go3407 behaves like logs bulk insertions3408 logs arguments and job IDs3409 behaves like returns job_id of all enqueued jobs3410 returns job_id of all enqueued jobs3411 behaves like does not schedule the jobs for any specific time3412 does not schedule the jobs for any specific time3413 when the number of jobs to be enqueued exceeds safe limit3414 behaves like enqueues the jobs in a batched fashion, with each batch enqueing jobs as per the set safe limit3415 enqueues the jobs in a batched fashion, with each batch enqueing jobs as per the set safe limit3416 behaves like returns job_id of all enqueued jobs3417 returns job_id of all enqueued jobs3418 behaves like does not schedule the jobs for any specific time3419 does not schedule the jobs for any specific time3420 .bulk_perform_in3421 without batches3422 when the scheduled time falls in the past3423 raises an ArgumentError exception3424 push_bulk in safe limit batches3425 when the number of jobs to be enqueued does not exceed the safe limit3426 behaves like enqueues jobs in one go3427 enqueues jobs in one go3428 behaves like returns job_id of all enqueued jobs3429 returns job_id of all enqueued jobs3430 behaves like schedules all the jobs at a specific time3431 schedules all the jobs at a specific time3432 when the number of jobs to be enqueued exceeds safe limit3433 behaves like enqueues the jobs in a batched fashion, with each batch enqueing jobs as per the set safe limit3434 enqueues the jobs in a batched fashion, with each batch enqueing jobs as per the set safe limit3435 behaves like returns job_id of all enqueued jobs3436 returns job_id of all enqueued jobs3437 behaves like schedules all the jobs at a specific time3438 schedules all the jobs at a specific time3439 with batches3440 when the `batch_size` is invalid3441 when `batch_size` is 03442 raises an ArgumentError exception3443 when `batch_size` is negative3444 raises an ArgumentError exception3445 when the `batch_delay` is invalid3446 when `batch_delay` is 03447 raises an ArgumentError exception3448 when `batch_delay` is negative3449 raises an ArgumentError exception3450 push_bulk in safe limit batches3451 when the number of jobs to be enqueued does not exceed the safe limit3452 behaves like enqueues jobs in one go3453 enqueues jobs in one go3454 behaves like returns job_id of all enqueued jobs3455 returns job_id of all enqueued jobs3456 behaves like schedules all the jobs at a specific time, per batch3457 schedules all the jobs at a specific time, per batch3458 when the number of jobs to be enqueued exceeds safe limit3459 behaves like enqueues the jobs in a batched fashion, with each batch enqueing jobs as per the set safe limit3460 enqueues the jobs in a batched fashion, with each batch enqueing jobs as per the set safe limit3461 behaves like returns job_id of all enqueued jobs3462 returns job_id of all enqueued jobs3463 behaves like schedules all the jobs at a specific time, per batch3464 schedules all the jobs at a specific time, per batch3465 .with_status3466 when the worker does have status_expiration set3467 uses status_expiration from the worker3468 uses status_expiration from the worker without with_status3469 when the worker does not have status_expiration set3470 uses the default status_expiration3471 does not set status_expiration without with_status3472Terraform::StateUploader3473 #filename3474 contains the version of the terraform state record3475 legacy state with versioning disabled3476 contains the UUID of the terraform state record3477 #store_dir3478 hashes the project ID and UUID3479 legacy state with versioning disabled3480 contains the ID of the project3481 #key3482 creates a digest with a secret key and the project id3483 encryption3484 encrypts the stored file3485 decrypts the file when reading3486 .direct_upload_enabled?3487 returns false3488 .background_upload_enabled?3489 returns false3490 .proxy_download_enabled?3491 returns true3492 .default_store3493 when object storage is enabled3494 returns REMOTE3495 when object storage is disabled3496 returns LOCAL3497Gitlab::Sanitizers::Exif3498 #batch_clean3499 filters only jpg/tiff images by filename3500 with image uploads3501 processes all uploads if range ID is not set3502 processes only uploads in the selected range3503 processes only uploads for the selected uploader3504 processes only uploads created since specified date3505 pauses if sleep_time is set3506 #clean3507 no dry run3508 removes exif from the image3509 ignores image without exif3510 raises an error if the exiftool fails with an error3511 for files that do not have the correct MIME type3512 cleans only jpg/tiff images with the correct mime types3513 dry run3514 doesn't change the image3515 #clean_existing_path3516 no dry run3517 removes exif from the image3518 ignores image without exif3519 raises an error if the exiftool fails with an error3520 for files that do not have the correct MIME type from file3521 cleans only jpg/tiff images with the correct mime types3522 skip_unallowed_types is false3523 for files that do not have the correct MIME type from input content3524 raises an error if not jpg/tiff images with the correct mime types3525 for files that do not have the correct MIME type from input content3526 raises an error if not jpg/tiff images with the correct mime types3527 skip_unallowed_types is true3528 for files that do not have the correct MIME type from input content3529 cleans only jpg/tiff images with the correct mime types3530 for files that do not have the correct MIME type from input content3531 cleans only jpg/tiff images with the correct mime types3532 dry run3533 doesn't change the image3534 #extra_tags3535 returns a list of keys for exif file3536 returns an empty list for file with only whitelisted and ignored tags3537Gitlab::Ci::Status::Build::Retryable3538 #text3539 does not override status text3540 #icon3541 does not override status icon3542 #label3543 does not override status label3544 #group3545 does not override status group3546 #status_tooltip3547 does not override status status_tooltip3548 #badge_tooltip3549 does return status3550 action details3551 #has_action?3552 when user is allowed to update build3553 is expected to have action3554 when user is not allowed to update build3555 is expected not to have action3556 #action_path3557 is expected to include "458/retry"3558 #action_icon3559 is expected to eq "retry"3560 #action_title3561 is expected to eq "Retry"3562 #action_button_title3563 is expected to eq "Retry this job"3564 .matches?3565 when build is retryable3566 is a correct match3567 when build is not retryable3568 does not match3569AccessRequestsFinder3570 #execute3571 when current user cannot see project access requests3572 behaves like a finder returning no results3573 raises Gitlab::Access::AccessDeniedError3574 behaves like a finder returning no results3575 raises Gitlab::Access::AccessDeniedError3576 when current user can see access requests3577 behaves like a finder returning access requesters3578 returns access requesters3579 behaves like a finder returning access requesters3580 returns access requesters3581 #execute!3582 when current user cannot see access requests3583 behaves like a finder raising Gitlab::Access::AccessDeniedError3584 raises Gitlab::Access::AccessDeniedError3585 behaves like a finder raising Gitlab::Access::AccessDeniedError3586 raises Gitlab::Access::AccessDeniedError3587 when current user can see access requests3588 behaves like a finder returning access requesters3589 returns access requesters3590 behaves like a finder returning access requesters3591 returns access requesters3592Gitlab::Ci::Build::Context::Global3593 #variables3594 is expected to be an instance of Gitlab::Ci::Variables::Collection3595 behaves like variables collection3596 is expected to include {"CI_COMMIT_REF_NAME" => "master"}3597 is expected to include {"CI_PIPELINE_IID" => "1"}3598 is expected to include {"CI_PROJECT_PATH" => "namespace411/project585"}3599 is expected not to have key "CI_JOB_NAME"3600 is expected not to have key "CI_BUILD_REF_NAME"3601 with passed yaml variables3602 is expected to include {"SUPPORTED" => "parsed"}3603 #variables_hash3604 is expected to be an instance of ActiveSupport::HashWithIndifferentAccess3605 behaves like variables collection3606 is expected to include {"CI_COMMIT_REF_NAME" => "master"}3607 is expected to include {"CI_PIPELINE_IID" => "1"}3608 is expected to include {"CI_PROJECT_PATH" => "namespace418/project592"}3609 is expected not to have key "CI_JOB_NAME"3610 is expected not to have key "CI_BUILD_REF_NAME"3611 with passed yaml variables3612 is expected to include {"SUPPORTED" => "parsed"}3613Environments::ScheduleToDeleteReviewAppsService3614 #execute3615 as a maintainer3616 behaves like can schedule for deletion3617 live run3618 marks the correct environment as scheduled_entries3619 dry run3620 returns the same but doesn't update the record3621 execution in parallel3622 does not execute unsafe_mark_scheduled_entries_environments3623 as a developer3624 behaves like can schedule for deletion3625 live run3626 marks the correct environment as scheduled_entries3627 dry run3628 returns the same but doesn't update the record3629 execution in parallel3630 does not execute unsafe_mark_scheduled_entries_environments3631 as a reporter3632 fails to delete environments3633IncidentManagement::ProcessAlertWorkerV23634 #perform3635 with valid alert3636 behaves like creates issue successfully3637 creates an issue3638 updates AlertManagement::Alert#issue_id3639 does not write a warning to log3640 behaves like an idempotent worker3641 is labeled as idempotent3642 performs multiple times sequentially without raising an exception3643 does not create a second issue3644 when alert cannot be updated3645 updates AlertManagement::Alert#issue_id3646 logs a warning3647 prometheus alert3648 behaves like creates issue successfully3649 creates an issue3650 updates AlertManagement::Alert#issue_id3651 does not write a warning to log3652 behaves like an idempotent worker3653 is labeled as idempotent3654 performs multiple times sequentially without raising an exception3655 does not create a second issue3656 with invalid alert3657 does not create issues3658Security::LicenseComplianceJobsFinder3659 behaves like Security::JobsFinder3660 #new3661 does not get initialized for unsupported job types3662 #execute3663 behaves like JobsFinder core functionality3664 when the pipeline has no jobs3665 is expected to be empty3666 when the pipeline has no Secure jobs3667 is expected to be empty3668 when the pipeline only has jobs without report artifacts3669 is expected to be empty3670 when the pipeline only has jobs with reports unrelated to Secure products3671 is expected to be empty3672 when the pipeline only has jobs with reports with paths similar but not identical to Secure reports3673 is expected to be empty3674 when there is more than one pipeline3675 returns jobs associated with provided pipeline3676 #execute3677 returns only the license_scanning job3678BulkImports::Common::Pipelines::UploadsPipeline3679 when importing to group3680 #run3681 imports uploads into destination portable and removes tmpdir3682 when importing avatar3683 imports avatar3684 when something goes wrong3685 raises exception3686 #extract3687 downloads & extracts upload paths3688 #load3689 creates a file upload3690 when dynamic path is nil3691 returns3692 when path is a directory3693 returns3694 when path is a symlink3695 does not upload the file3696 #after_run3697 removes tmp dir3698 when dir does not exist3699 does not attempt to remove tmpdir3700 when importing to project3701 #run3702 imports uploads into destination portable and removes tmpdir3703 when importing avatar3704 imports avatar3705 when something goes wrong3706 raises exception3707 #extract3708 downloads & extracts upload paths3709 #load3710 creates a file upload3711 when dynamic path is nil3712 returns3713 when path is a directory3714 returns3715 when path is a symlink3716 does not upload the file3717 #after_run3718 removes tmp dir3719 when dir does not exist3720 does not attempt to remove tmpdir3721Users::CalloutsHelper3722 .show_gke_cluster_integration_callout?3723 when user can create a cluster3724 when user has not dismissed3725 when active_nav_link is in the operations section3726 is expected to equal true3727 when active_nav_link is not in the operations section3728 is expected to equal false3729 when user dismissed3730 is expected to equal false3731 when user can not create a cluster3732 is expected to equal false3733 .render_flash_user_callout3734 renders the flash_user_callout partial3735 .show_feature_flags_new_version?3736 when the feature flags new version info has not been dismissed3737 is expected to be truthy3738 when the feature flags new version has been dismissed3739 is expected to be falsy3740 .show_registration_enabled_user_callout?3741 when on gitlab.com3742 is expected to equal false3743 when `current_user` is not an admin3744 is expected to equal false3745 when signup is disabled3746 is expected to equal false3747 when user has dismissed callout3748 is expected to equal false3749 when controller path is not allowed3750 is expected to equal false3751 when not gitlab.com, `current_user` is an admin, signup is enabled, user has not dismissed callout, and controller path is allowed3752 is expected to equal true3753 .show_unfinished_tag_cleanup_callout?3754 when user has not dismissed3755 is expected to equal true3756 when user dismissed3757 is expected to equal false3758 .show_security_newsletter_user_callout?3759 when `current_user` is not an admin3760 is expected to equal false3761 when user has dismissed callout3762 is expected to equal false3763 when `current_user` is an admin and user has not dismissed callout3764 is expected to equal true3765 #web_hook_disabled_dismissed?3766 without a project3767 is false3768 with a project3769 the web-hook failure callout has never been dismissed3770 is false3771 the web-hook failure callout has been dismissed3772 is true3773 when there was an older failure3774 is true3775 when there has been a more recent failure3776 is false3777SnippetStatistics3778 is expected to belong to snippet required: false3779 is expected to validate that :snippet cannot be empty/falsy3780 #update_commit_count3781 updates the count of commits3782 when the snippet does not have a repository3783 returns 03784 #update_file_count3785 updates the count of files3786 when the snippet does not have a repository3787 returns 03788 #update_repository_size3789 updates the repository_size3790 when the snippet does not have a repository3791 returns 03792 #refresh!3793 retrieves and saves statistic data from repository3794 when the database is read-only3795 does nothing3796 with a PersonalSnippet3797 when creating3798 behaves like personal snippet statistics updates3799 schedules a namespace statistics worker3800 does not try to update project stats3801 when updating3802 behaves like personal snippet statistics updates3803 schedules a namespace statistics worker3804 does not try to update project stats3805 with a ProjectSnippet3806 does not call personal snippet callbacks3807 behaves like UpdateProjectStatistics3808 is expected to be a new record3809Banzai::Filter::MathFilter3810 handles multiple styles in one text block3811 limits how many elements can be marked as math3812 does not recognize new syntax when feature flag is off3813 inline math using $...$ syntax3814 does not handle dollar literals properly3815 with valid syntax3816 text: "$2+2$", result_template: "<math>2+2</math>"3817 behaves like inline math3818 removes surrounding dollar signs and adds class code, math and js-render-math3819 text: "$22+1$ and $22 + a^2$", result_template: "<math>22+1</math> and <math>22 + a^2</math>"3820 behaves like inline math3821 removes surrounding dollar signs and adds class code, math and js-render-math3822 text: "$22 and $2+2$", result_template: "$22 and <math>2+2</math>"3823 behaves like inline math3824 removes surrounding dollar signs and adds class code, math and js-render-math3825 text: "$2+2$ $22 and flightjs/Flight$22 $2+2$", result_template: "<math>2+2</math> $22 and flightjs/Flight$22 <math>2+2</math>"3826 behaves like inline math3827 removes surrounding dollar signs and adds class code, math and js-render-math3828 text: "$1/2$ <b>test</b>", result_template: "<math>1/2</math> <b>test</b>"3829 behaves like inline math3830 removes surrounding dollar signs and adds class code, math and js-render-math3831 text: "$a!$", result_template: "<math>a!</math>"3832 behaves like inline math3833 removes surrounding dollar signs and adds class code, math and js-render-math3834 text: "$x$", result_template: "<math>x</math>"3835 behaves like inline math3836 removes surrounding dollar signs and adds class code, math and js-render-math3837 inline math using $`...`$ syntax3838 with valid syntax3839 text: "$<code>2+2</code>$", result_template: "<math>2+2</math>"3840 behaves like inline math3841 removes surrounding dollar signs and adds class code, math and js-render-math3842 text: "$<code>22+1</code>$ and $<code>22 + a^2</code>$", result_template: "<math>22+1</math> and <math>22 + a^2</math>"3843 behaves like inline math3844 removes surrounding dollar signs and adds class code, math and js-render-math3845 text: "$22 and $<code>2+2</code>$", result_template: "$22 and <math>2+2</math>"3846 behaves like inline math3847 removes surrounding dollar signs and adds class code, math and js-render-math3848 text: "$<code>2+2</code>$ $22 and flightjs/Flight$22 $<code>2+2</code>$", result_template: "<math>2+2</math> $22 and flightjs/Flight$22 <math>2+2</math>"3849 behaves like inline math3850 removes surrounding dollar signs and adds class code, math and js-render-math3851 text: "test $$<code>2+2</code>$$ test", result_template: "test $<math>2+2</math>$ test"3852 behaves like inline math3853 removes surrounding dollar signs and adds class code, math and js-render-math3854 inline display math using $$...$$ syntax3855 with valid syntax3856 text: "$$2+2$$", result_template: "<math>2+2</math>"3857 behaves like display math3858 removes surrounding dollar signs and adds class code, math and js-render-math3859 text: "$$ 2+2 $$", result_template: "<math>2+2</math>"3860 behaves like display math3861 removes surrounding dollar signs and adds class code, math and js-render-math3862 text: "$$22+1$$ and $$22 + a^2$$", result_template: "<math>22+1</math> and <math>22 + a^2</math>"3863 behaves like display math3864 removes surrounding dollar signs and adds class code, math and js-render-math3865 text: "$22 and $$2+2$$", result_template: "$22 and <math>2+2</math>"3866 behaves like display math3867 removes surrounding dollar signs and adds class code, math and js-render-math3868 text: "$$2+2$$ $22 and flightjs/Flight$22 $$2+2$$", result_template: "<math>2+2</math> $22 and flightjs/Flight$22 <math>2+2</math>"3869 behaves like display math3870 removes surrounding dollar signs and adds class code, math and js-render-math3871 text: "flightjs/Flight$22 and $$a^2 + b^2 = c^2$$", result_template: "flightjs/Flight$22 and <math>a^2 + b^2 = c^2</math>"3872 behaves like display math3873 removes surrounding dollar signs and adds class code, math and js-render-math3874 text: "$$a!$$", result_template: "<math>a!</math>"3875 behaves like display math3876 removes surrounding dollar signs and adds class code, math and js-render-math3877 text: "$$x$$", result_template: "<math>x</math>"3878 behaves like display math3879 removes surrounding dollar signs and adds class code, math and js-render-math3880 text: "$$20,000 and $$30,000", result_template: "<math>20,000 and</math>30,000"3881 behaves like display math3882 removes surrounding dollar signs and adds class code, math and js-render-math3883 block display math using $$\n...\n$$ syntax3884 with valid syntax3885 text: "$$\n2+2\n$$", result_template: "<math>2+2</math>"3886 behaves like display math3887 removes surrounding dollar signs and adds class code, math and js-render-math3888 text: "$$\n2+2\n3+4\n$$", result_template: "<math>2+2\n3+4</math>"3889 behaves like display math3890 removes surrounding dollar signs and adds class code, math and js-render-math3891 display math using ```math...``` syntax3892 adds data-math-style display attribute to display math3893 adds js-render-math class to display math3894 ignores code blocks that are not math3895 requires the pre to contain both code and math3896 dollar signs around to display math3897 unrecognized syntax3898 text: "<code>2+2</code>"3899 is ignored3900 text: "test $<code>2+2</code> test"3901 is ignored3902 text: "test <code>2+2</code>$ test"3903 is ignored3904 text: "<em>$</em><code>2+2</code><em>$</em>"3905 is ignored3906 text: "$20,000 and $30,000"3907 is ignored3908 text: "$20,000 in $USD"3909 is ignored3910 text: "$ a^2 $"3911 is ignored3912 text: "test $$\n2+2\n$$"3913 is ignored3914 text: "$\n$"3915 is ignored3916 text: "$$$"3917 is ignored3918Gitlab::Ci::Trace::Archive3919 with transactional fixtures3920 #execute3921 computes and assigns checksum3922 validating artifact checksum3923 when the object store is disabled3924 behaves like skips validations3925 behaves like valid3926 does not count as invalid3927 behaves like local checksum only3928 generates only local checksum3929 with FIPS enabled3930 does not generate md5 checksums3931 behaves like valid3932 does not count as invalid3933 with background_upload enabled3934 behaves like skips validations3935 behaves like valid3936 does not count as invalid3937 behaves like local checksum only3938 generates only local checksum3939 with FIPS enabled3940 does not generate md5 checksums3941 behaves like valid3942 does not count as invalid3943 with direct_upload enabled3944 checksums match3945 behaves like valid3946 does not count as invalid3947 when the checksum does not match3948 counts as invalid3949 with FIPS enabled3950 does not generate md5 checksums3951 behaves like valid3952 does not count as invalid3953 with FIPS enabled3954 does not generate md5 checksums3955 behaves like valid3956 does not count as invalid3957 without transactional fixtures3958 #execute!3959 does not upload the trace inside a database transaction3960Ci::PipelineArtifacts::CoverageReportService3961 #execute3962 when pipeline has coverage report3963 artifact has pipeline's locked status3964 behaves like creating or updating a pipeline coverage report3965 when pipeline is finished3966 creates or updates a pipeline artifact3967 persists the default file name3968 sets expire_at to 1 week from now3969 logs relevant information3970 when pipeline has coverage report from child pipeline3971 behaves like creating or updating a pipeline coverage report3972 when pipeline is finished3973 creates or updates a pipeline artifact3974 persists the default file name3975 sets expire_at to 1 week from now3976 logs relevant information3977 when pipeline has existing pipeline artifact for coverage report3978 behaves like creating or updating a pipeline coverage report3979 when pipeline is finished3980 creates or updates a pipeline artifact3981 persists the default file name3982 sets expire_at to 1 week from now3983 logs relevant information3984 when pipeline is running and coverage report does not exist3985 does not persist data3986ZoomMeeting3987 Factory3988 is expected to be valid3989 Associations3990 is expected to belong to project required: false3991 is expected to belong to issue required: false3992 scopes3993 .added_to_issue3994 gets only added meetings3995 .removed_from_issue3996 gets only removed meetings3997 Validations3998 is expected to validate that :project cannot be empty/falsy3999 is expected to validate that :issue cannot be empty/falsy4000 when importing4001 is expected not to validate that :project cannot be empty/falsy4002 is expected not to validate that :issue cannot be empty/falsy4003 url4004 is expected to validate that :url cannot be empty/falsy4005 is expected to validate that the length of :url is at most 2554006 with non-Zoom URL4007 is expected to contain exactly "must contain one valid Zoom URL"4008 with multiple Zoom-URLs4009 is expected to contain exactly "must contain one valid Zoom URL"4010 issue association4011 for the same project4012 is expected to be valid4013 for a different project4014 is expected to contain exactly "must associate the same project"4015 limit number of meetings per issue4016 without meetings4017 behaves like can add meetings4018 can add new Zoom meetings4019 when no other meeting is added4020 behaves like can add meetings4021 can add new Zoom meetings4022 when meeting is added4023 behaves like cannot add meetings4024 fails to add a new meeting4025 when meeting is added to another issue4026 behaves like can add meetings4027 can add new Zoom meetings4028 when second meeting is removed4029 behaves like can remove meetings4030 can remove Zoom meetings4031Gitlab::Graphql::Pagination::ActiveRecordArrayConnection4032 behaves like a connection with collection methods4033 responds to to_a4034 responds to size4035 responds to map4036 responds to include?4037 responds to empty?4038 behaves like a redactable connection4039 no redactor set4040 contains the unwanted item4041 does not redact more than once4042 redactor is set4043 does not contain the unwanted item4044 does not redact more than once4045 #nodes4046 is expected to contain exactly #<Packages::BuildInfo id: 5, package_id: 127, pipeline_id: nil>, #<Packages::BuildInfo id: 6, package_id: 128, pipeline_id: nil>, and #<Packages::BuildInfo id: 7, package_id: 129, pipeline_id: nil>4047 with first set4048 is expected to contain exactly #<Packages::BuildInfo id: 5, package_id: 127, pipeline_id: nil> and #<Packages::BuildInfo id: 6, package_id: 128, pipeline_id: nil>4049 with last set4050 is expected to contain exactly #<Packages::BuildInfo id: 6, package_id: 128, pipeline_id: nil> and #<Packages::BuildInfo id: 7, package_id: 129, pipeline_id: nil>4051 #next_page?4052 before: nil, first: nil, max_page_size: nil, result: false4053 is expected to eq false4054 before: 1, first: nil, max_page_size: nil, result: true4055 is expected to eq true4056 before: nil, first: 1, max_page_size: nil, result: true4057 is expected to eq true4058 before: nil, first: 10, max_page_size: nil, result: false4059 is expected to eq false4060 before: nil, first: 1, max_page_size: 1, result: true4061 is expected to eq true4062 before: nil, first: 1, max_page_size: 10, result: true4063 is expected to eq true4064 before: nil, first: 10, max_page_size: 10, result: false4065 is expected to eq false4066 #previous_page?4067 after: nil, last: nil, max_page_size: nil, result: false4068 is expected to eq false4069 after: 1, last: nil, max_page_size: nil, result: true4070 is expected to eq true4071 after: nil, last: 1, max_page_size: nil, result: true4072 is expected to eq true4073 after: nil, last: 10, max_page_size: nil, result: false4074 is expected to eq false4075 after: nil, last: 1, max_page_size: 1, result: true4076 is expected to eq true4077 after: nil, last: 1, max_page_size: 10, result: true4078 is expected to eq true4079 after: nil, last: 10, max_page_size: 10, result: false4080 is expected to eq false4081 #cursor_for4082 is expected to eq "eyJpZCI6IjUifQ"4083 with a BatchLoader::GraphQL item4084 is expected to eq "eyJpZCI6Ijk3MCJ9"4085 #dup4086 properly handles items duplication4087Clusters::DestroyService4088 #execute4089 when correct params4090 when params are empty4091 behaves like only removes cluster4092 does not start cleanup4093 destroys the cluster4094 when cleanup param is false4095 behaves like only removes cluster4096 does not start cleanup4097 destroys the cluster4098 when cleanup param is true4099 does not destroy cluster4100 transition cluster#cleanup_status from cleanup_not_started to cleanup_removing_project_namespaces4101Ci::BuildReportResult4102 behaves like cleanup by a loose foreign key4103 cleans up (delete or nullify) the model4104 associations4105 is expected to belong to build required: false4106 is expected to belong to project required: false4107 validations4108 is expected to validate that :project cannot be empty/falsy4109 is expected to validate that :build cannot be empty/falsy4110 when attributes are valid4111 returns no errors4112 when data is invalid4113 returns errors4114 #tests_name4115 returns the suite name4116 #tests_duration4117 returns the suite duration4118 #tests_success4119 returns the success count4120 #tests_failed4121 returns the failed count4122 #tests_errored4123 returns the errored count4124 #tests_skipped4125 returns the skipped count4126Banzai::Filter::References::FeatureFlagReferenceFilter4127 requires project context4128 ignores valid references contained inside 'pre' element4129 ignores valid references contained inside 'code' element4130 ignores valid references contained inside 'a' element4131 ignores valid references contained inside 'style' element4132 with internal reference4133 links to a valid reference4134 links with adjacent text4135 ignores invalid feature flag IIDs4136 includes a title attribute4137 escapes the title attribute4138 includes default classes4139 includes a data-project attribute4140 includes a data-feature-flag attribute4141 supports an :only_path context4142 with cross-project / cross-namespace complete reference4143 links to a valid reference4144 produces a valid text in a link4145 produces a valid text4146 ignores invalid feature flag IIDs on the referenced project4147 with cross-project / same-namespace complete reference4148 links to a valid reference4149 produces a valid text in a link4150 produces a valid text4151 ignores invalid feature flag IIDs on the referenced project4152 with cross-project shorthand reference4153 links to a valid reference4154 produces a valid text in a link4155 produces a valid text4156 ignores invalid feature flag IDs on the referenced project4157 with cross-project URL reference4158 links to a valid reference4159 links with adjacent text (FAILED - 1)41611st Try error in ./spec/lib/banzai/filter/references/feature_flag_reference_filter_spec.rb:194:4162expected "See (<a href=\"http://localhost/cross-reference/project663/-/feature_flags/1/edit.\">http://localhost/cross-reference/project663/-/feature_flags/1/edit.</a>)" to match /\(<a.+>\[feature_flag:cross\-reference\/project663\/1\]<\/a>\.\)/4163Diff:4164@@ -1 +1 @@4165-/\(<a.+>\[feature_flag:cross\-reference\/project663\/1\]<\/a>\.\)/4166+"See (<a href=\"http://localhost/cross-reference/project663/-/feature_flags/1/edit.\">http://localhost/cross-reference/project663/-/feature_flags/1/edit.</a>)"4168RSpec::Retry: 2nd try ./spec/lib/banzai/filter/references/feature_flag_reference_filter_spec.rb:1944169 ignores invalid feature flag IIDs on the referenced project4170 with group context4171 links to a valid reference4172 ignores internal references4173Gitlab::Database::Transaction::Context4174 #set_start_time4175 sets start_time4176 #increment_savepoints4177 is expected to eq 24178 #increment_rollbacks4179 is expected to eq 34180 #increment_releases4181 is expected to eq 44182 #set_depth4183 is expected to eq 24184 #track_sql4185 is expected to eq ["SELECT 1", "SELECT * FROM users"]4186 #track_backtrace4187 is expected to be a kind of Array4188 is expected to all be a kind of Array4189 is expected to eq 14190 is expected to be a kind of String4191 appends the backtrace4192 #duration4193 is expected to be >= 04194 when savepoints count exceeds threshold4195 behaves like logs transaction data4196 logs once upon COMMIT4197 logs once upon ROLLBACK4198 logs again when log throttle duration passes4199 #should_log? returns true4200 when duration exceeds threshold4201 behaves like logs transaction data4202 logs once upon COMMIT4203 logs once upon ROLLBACK4204 logs again when log throttle duration passes4205 #should_log? returns true4206 when there are too many external HTTP requests4207 behaves like logs transaction data4208 logs once upon COMMIT4209 logs once upon ROLLBACK4210 logs again when log throttle duration passes4211 #should_log? returns true4212 when there are too many too long external HTTP requests4213 behaves like logs transaction data4214 logs once upon COMMIT4215 logs once upon ROLLBACK4216 logs again when log throttle duration passes4217 #should_log? returns true4218SnippetBlobPresenter4219 #rich_data4220 with PersonalSnippet4221 when blob is binary4222 returns the HTML associated with the binary4223 with markdown format4224 returns rich markdown content4225 with notebook format4226 returns rich notebook content4227 with openapi format4228 returns rich openapi content4229 with svg format4230 returns rich svg content4231 with other format4232 does not return no rich content4233 route helpers4234 #raw_path4235 behaves like snippet blob raw path4236 for PersonalSnippets4237 returns the raw personal snippet blob path4238 for ProjectSnippets4239 returns the raw project snippet blob path4240 with a snippet without a repository4241 with ProjectSnippet4242 returns the raw project snippet path4243 with PersonalSnippet4244 returns the raw personal snippet path4245 #raw_plain_data4246 with a plain file4247 shows raw data for non binary files4248 with a binary file4249 returns nil4250 #raw_url4251 behaves like snippet blob raw url4252 for PersonalSnippets4253 returns the raw personal snippet blob url4254 for ProjectSnippets4255 returns the raw project snippet blob url4256 with a snippet without a repository4257 with ProjectSnippet4258 returns the raw project snippet url4259 with PersonalSnippet4260 returns the raw personal snippet url4261Gitlab::Usage::Metrics::Instrumentations::DatabaseMetric4262 #value4263 calculates a correct result4264 does not cache the result of start and finish4265 with metric options specified with custom batch_size4266 calls metric with customized batch_size4267 calculates a correct result4268 with start and finish not called4269 calculates a correct result4270 with availability defined4271 responds to #available? properly4272 with availability not defined4273 responds to #available? properly4274 with cache_start_and_finish_as called4275 caches using the key name passed4276 with estimate_batch_distinct_count4277 with block passed to operation4278 calls the block passing HLL buckets as an argument4279 with custom timestamp column4280 calculates a correct result4281 with default timestamp column4282 calculates a correct result4283 with additional parameters passed via options4284 calculates a correct result4285 with unimplemented operation method used4286 raises an error4287Gitlab::Git::Blame4288 blaming a file4289 has the right number of lines4290 blaming a range4291 only returns the range4292 ISO-8859 encoding4293 converts to UTF-84294 unknown encoding4295 converts to UTF-84296 renamed file4297 includes the previous path4298create_tokens4299 ensure acknowledged secrets in any installations4300 does not allow to add a new secret without a proper handling4301 setting secret keys4302 when none of the secrets exist4303 generates different hashes for secret_key_base, otp_key_base, and db_key_base4304 generates an RSA key for openid_connect_signing_key4305 warns about the secrets to add to secrets.yml4306 writes the secrets to secrets.yml4307 does not write a .secret file4308 when the other secrets all exist4309 when secret_key_base exists in the environment and secrets.yml4310 does not issue a warning4311 uses the environment variable4312 does not update secrets.yml4313 when secret_key_base and otp_key_base exist4314 does not write any files4315 sets the keys to the values from the environment and secrets.yml4316 deletes the .secret file4317 when secret_key_base and otp_key_base do not exist4318 uses the file secret4319 keeps the other secrets as they were4320 warns about the missing secrets4321 deletes the .secret file4322 when rotated_encrypted_settings_key_base does not exist4323 does not warn about the missing secrets4324 does not update secrets.yml4325 when db_key_base is blank but exists in secrets.yml4326 warns about updating db_key_base4327 warns about the blank value existing in secrets.yml and exits4328 does not update secrets.yml4329Gitlab::Diff::FileCollection::MergeRequestDiffBase4330 #overflow?4331 when it is not overflown4332 returns false4333 when it is overflown4334 returns true4335 #cache_key4336 returns cache_key from merge_request_diff4337Lfs::LockFileService4338 #execute4339 when not authorized4340 doesn't succeed4341 when authorized4342 with an existent lock4343 doesn't succeed4344 doesn't create the Lock4345 without an existent lock4346 succeeds4347 creates the Lock4348 when an error is raised4349 doesn't succeed4350Packages::DependencyLink4351 relationships4352 is expected to belong to package required: false inverse_of => dependency_links4353 is expected to belong to dependency required: false inverse_of => dependency_links4354 is expected to have one nuget_metadatum inverse_of => dependency_link4355 validations4356 is expected to validate that :package cannot be empty/falsy4357 is expected to validate that :dependency cannot be empty/falsy4358 package_id and package_dependency_id uniqueness for dependency_type4359 is not valid4360 with multiple links4361 .with_dependency_type4362 returns links of the given type4363 .for_package4364 returns the link for the given package4365Backup::Database4366 #restore4367 when not forced436814369 warns the user and waits4370 has a pre restore warning4371 with an empty .gz file437214373 returns successfully4374 with a corrupted .gz file4375gzip: stdin: not in gzip format437614377 raises a backup error4378 when the restore command prints errors4379must be owner of extension pg_trgm4380WARNING: no privileges could be revoked for public4381This is a test error4382 filters out noise from errors and has a post restore warning4383 with PostgreSQL settings defined in the environment4384{"PG_VERSION"=>"12", "PGUSER"=>"postgres", "PGHOST"=>"test.example.com", "PGPASSWORD"=>"donotchange"}4385 overrides default config values4386 when the source file is missing4387 main database raises an error about missing source file4388 ci database tolerates missing source file4389Gitlab::ImportExport::FileImporter4390 normal run4391 removes symlinks in root folder4392 removes hidden symlinks in root folder4393 removes evil symlinks in root folder4394 removes symlinks in subfolders4395 removes symlinks without any file permissions4396 does not remove a valid file4397 does not change a valid file permissions4398 creates the file in the right subfolder4399 when the import file is not remote4400 downloads the file from a remote object storage4401 when the import file is remote4402 downloads the file from a remote object storage4403 error4404 removes symlinks in root folder4405 removes hidden symlinks in root folder4406 removes symlinks in subfolders4407 does not remove a valid file4408 when file exceeds acceptable decompressed size4409 when validate_import_decompressed_archive_size feature flag is enabled4410 returns false4411 when validate_import_decompressed_archive_size feature flag is disabled4412 skips validation4413TwoFactor::DestroyService4414 disabling two-factor authentication4415 when the user does not have two-factor authentication enabled4416 returns error4417 behaves like does not send notification email4418 notification4419 does not send a notification4420 when the user has two-factor authentication enabled4421 when the executor is not authorized to disable two-factor authentication4422 disabling the two-factor authentication of another user4423 returns error4424 does not disable two-factor authentication4425 behaves like does not send notification email4426 notification4427 does not send a notification4428 when the executor is authorized to disable two-factor authentication4429 disabling their own two-factor authentication4430 behaves like disables two-factor authentication4431 returns success4432 disables the two-factor authentication of the user4433 notification4434 sends a notification4435 admin disables the two-factor authentication of another user4436 behaves like disables two-factor authentication4437 returns success4438 disables the two-factor authentication of the user4439 notification4440 sends a notification4441Grafana::Client4442 #get_dashboard4443 behaves like calls grafana api4444 calls grafana api4445 behaves like no redirects4446 does not follow redirects4447 behaves like handles exceptions4448 HTTParty::Error4449 is expected to raise Grafana::Client::Error with "Error when connecting to Grafana"4450 Net::OpenTimeout4451 is expected to raise Grafana::Client::Error with "Connection to Grafana timed out"4452 SocketError4453 is expected to raise Grafana::Client::Error with "Received SocketError when trying to connect to Grafana"4454 OpenSSL::SSL::SSLError4455 is expected to raise Grafana::Client::Error with "Grafana returned invalid SSL data"4456 Errno::ECONNREFUSED4457 is expected to raise Grafana::Client::Error with "Connection refused"4458 StandardError4459 is expected to raise Grafana::Client::Error with "Grafana request failed due to StandardError"4460 #get_datasource4461 behaves like calls grafana api4462 calls grafana api4463 behaves like no redirects4464 does not follow redirects4465 behaves like handles exceptions4466 HTTParty::Error4467 is expected to raise Grafana::Client::Error with "Error when connecting to Grafana"4468 Net::OpenTimeout4469 is expected to raise Grafana::Client::Error with "Connection to Grafana timed out"4470 SocketError4471 is expected to raise Grafana::Client::Error with "Received SocketError when trying to connect to Grafana"4472 OpenSSL::SSL::SSLError4473 is expected to raise Grafana::Client::Error with "Grafana returned invalid SSL data"4474 Errno::ECONNREFUSED4475 is expected to raise Grafana::Client::Error with "Connection refused"4476 StandardError4477 is expected to raise Grafana::Client::Error with "Grafana request failed due to StandardError"4478 #proxy_datasource4479 behaves like calls grafana api4480 calls grafana api4481 behaves like no redirects4482 does not follow redirects4483 behaves like handles exceptions4484 HTTParty::Error4485 is expected to raise Grafana::Client::Error with "Error when connecting to Grafana"4486 Net::OpenTimeout4487 is expected to raise Grafana::Client::Error with "Connection to Grafana timed out"4488 SocketError4489 is expected to raise Grafana::Client::Error with "Received SocketError when trying to connect to Grafana"4490 OpenSSL::SSL::SSLError4491 is expected to raise Grafana::Client::Error with "Grafana returned invalid SSL data"4492 Errno::ECONNREFUSED4493 is expected to raise Grafana::Client::Error with "Connection refused"4494 StandardError4495 is expected to raise Grafana::Client::Error with "Grafana request failed due to StandardError"4496Resolvers::DesignManagement::Version::DesignAtVersionResolver4497 #resolve4498 passing combinations of arguments4499 passing no arguments4500 behaves like a bad argument4501 generates an error4502 passing all arguments4503 behaves like a bad argument4504 generates an error4505 passing any two arguments4506 behaves like a bad argument4507 generates an error4508 passing id4509 finds the design4510 when the user cannot see designs4511 returns nothing4512 passing design_id4513 finds the design4514 when the user cannot see designs4515 returns nothing4516 passing filename4517 finds the design4518 when the user cannot see designs4519 returns nothing4520 attempting to retrieve an object not visible at this version4521 passing id4522 does not find the design4523 passing design_id4524 does not find the design4525 passing filename4526 does not find the design4527DesignManagement::Action4528 relations4529 is expected to belong to design required: false4530 is expected to belong to version required: false4531 scopes4532 with 3 designs4533 .most_recent4534 finds the correct version for each design4535 .by_design4536 returns the actions by design_id4537 .with_version4538 preloads the version4539 .by_event4540 returns the actions by event type4541 .up_to_version4542 the version is nil4543 returns all design_versions4544 when given a Version instance4545 the version is the most current4546 is expected to have attributes {:size => 6}4547 the version is the oldest4548 is expected to have attributes {:size => 2}4549 the version is the middle one4550 is expected to have attributes {:size => 4}4551 when given a commit SHA4552 the version is the most current4553 is expected to have attributes {:size => 6}4554 the version is the oldest4555 is expected to have attributes {:size => 2}4556 the version is the middle one4557 is expected to have attributes {:size => 4}4558 when given a String that is not a commit SHA4559 is expected to raise ArgumentError4560Packages::Pypi::PackagesFinder4561 #execute4562 with package name param4563 within a project4564 is expected to contain exactly #<Packages::Package id: 141, project_id: 635, created_at: "2022-11-04 14:37:38.788117508 +0000", upda...ersion: "1.0.6", package_type: "pypi", creator_id: 1074, status: "default", last_downloaded_at: nil> and #<Packages::Package id: 142, project_id: 635, created_at: "2022-11-04 14:37:38.824126028 +0000", upda...ersion: "1.0.7", package_type: "pypi", creator_id: 1074, status: "default", last_downloaded_at: nil>4565 behaves like when no package is found4566 non-existing package4567 is expected to be empty4568 behaves like when package_name param is a non-normalized name4569 non-existing package4570 is expected to be empty4571 within a group4572 is expected to be empty4573 user with access to only one project4574 is expected to contain exactly #<Packages::Package id: 143, project_id: 636, created_at: "2022-11-04 14:37:38.862319248 +0000", upda...ersion: "1.0.8", package_type: "pypi", creator_id: 1076, status: "default", last_downloaded_at: nil>4575 behaves like when no package is found4576 non-existing package4577 is expected to be empty4578 behaves like when package_name param is a non-normalized name4579 non-existing package4580 is expected to be empty4581 user with access to multiple projects4582 is expected to contain exactly #<Packages::Package id: 141, project_id: 635, created_at: "2022-11-04 14:37:38.788117508 +0000", upda...ersion: "1.0.6", package_type: "pypi", creator_id: 1074, status: "default", last_downloaded_at: nil>, #<Packages::Package id: 142, project_id: 635, created_at: "2022-11-04 14:37:38.824126028 +0000", upda...ersion: "1.0.7", package_type: "pypi", creator_id: 1074, status: "default", last_downloaded_at: nil>, and #<Packages::Package id: 143, project_id: 636, created_at: "2022-11-04 14:37:38.862319248 +0000", upda...ersion: "1.0.8", package_type: "pypi", creator_id: 1076, status: "default", last_downloaded_at: nil>4583 without package_name param4584 within a group4585 user with access to only one project4586 is expected to contain exactly #<Packages::Package id: 143, project_id: 636, created_at: "2022-11-04 14:37:38.862319248 +0000", upda...ersion: "1.0.8", package_type: "pypi", creator_id: 1076, status: "default", last_downloaded_at: nil>4587 user with access to multiple projects4588 is expected to contain exactly #<Packages::Package id: 140, project_id: 635, created_at: "2022-11-04 14:37:38.750782608 +0000", upda...ersion: "1.0.5", package_type: "pypi", creator_id: 1074, status: "default", last_downloaded_at: nil>, #<Packages::Package id: 141, project_id: 635, created_at: "2022-11-04 14:37:38.788117508 +0000", upda...ersion: "1.0.6", package_type: "pypi", creator_id: 1074, status: "default", last_downloaded_at: nil>, #<Packages::Package id: 142, project_id: 635, created_at: "2022-11-04 14:37:38.824126028 +0000", upda...ersion: "1.0.7", package_type: "pypi", creator_id: 1074, status: "default", last_downloaded_at: nil>, and #<Packages::Package id: 143, project_id: 636, created_at: "2022-11-04 14:37:38.862319248 +0000", upda...ersion: "1.0.8", package_type: "pypi", creator_id: 1076, status: "default", last_downloaded_at: nil>4589 within a project4590 is expected to contain exactly #<Packages::Package id: 140, project_id: 635, created_at: "2022-11-04 14:37:38.750782608 +0000", upda...ersion: "1.0.5", package_type: "pypi", creator_id: 1074, status: "default", last_downloaded_at: nil>, #<Packages::Package id: 141, project_id: 635, created_at: "2022-11-04 14:37:38.788117508 +0000", upda...ersion: "1.0.6", package_type: "pypi", creator_id: 1074, status: "default", last_downloaded_at: nil>, and #<Packages::Package id: 142, project_id: 635, created_at: "2022-11-04 14:37:38.824126028 +0000", upda...ersion: "1.0.7", package_type: "pypi", creator_id: 1074, status: "default", last_downloaded_at: nil>4591Gitlab::Spamcheck::Client4592 url scheme4593 is tls4594 uses secure connection4595 is grpc4596 uses insecure connection4597 #spam?4598 issue4599 behaves like check for spam4600 includes interceptors4601 verdict: 0, expected: "allow"4602 returns expected spam constant4603 verdict: 1, expected: "conditional_allow"4604 returns expected spam constant4605 verdict: 2, expected: "disallow"4606 returns expected spam constant4607 verdict: 3, expected: "block"4608 returns expected spam constant4609 verdict: 4, expected: "noop"4610 returns expected spam constant4611 snippet4612 behaves like check for spam4613 includes interceptors4614 verdict: 0, expected: "allow"4615 returns expected spam constant4616 verdict: 1, expected: "conditional_allow"4617 returns expected spam constant4618 verdict: 2, expected: "disallow"4619 returns expected spam constant4620 verdict: 3, expected: "block"4621 returns expected spam constant4622 verdict: 4, expected: "noop"4623 returns expected spam constant4624 #build_protobuf4625 builds the expected issue protobuf object4626 builds the expected snippet protobuf object4627 #build_user_protobuf4628 builds the expected protobuf object4629 when user has multiple email addresses4630 adds emails to the user pb object4631 #build_project_protobuf4632 builds the expected protobuf object4633 #get_spammable_mappings4634 is an expected spammable4635 is an unexpected spammable4636SensitiveSerializableHash4637 .prevent_from_serialization4638 does not include the field in serializable_hash4639 does not change parent class attributes_exempt_from_serializable_hash4640 unsafe_serialization_hash option4641 includes the field in serializable_hash4642 #serializable_hash4643 for a web hook4644 behaves like attr_encrypted attribute4645 WebHook#token4646 has a encrypted_attributes field4647 does not include the attribute in serializable_hash4648 unsafe_serialization_hash option4649 includes the field in serializable_hash4650 behaves like attr_encrypted attribute4651 WebHook#url4652 has a encrypted_attributes field4653 does not include the attribute in serializable_hash4654 unsafe_serialization_hash option4655 includes the field in serializable_hash4656 behaves like attr_encrypted attribute4657 WebHook#url_variables4658 has a encrypted_attributes field4659 does not include the attribute in serializable_hash4660 unsafe_serialization_hash option4661 includes the field in serializable_hash4662 behaves like attr_encrypted attribute4663 Ci::InstanceVariable#value4664 has a encrypted_attributes field4665 does not include the attribute in serializable_hash4666 unsafe_serialization_hash option4667 includes the field in serializable_hash4668 behaves like add_authentication_token_field attribute4669 does not include token_expires_at in serializable_hash4670 Ci::Runner#token4671 has a add_authentication_token_field field4672 does not include the attribute in serializable_hash4673 unsafe_serialization_hash option4674 includes the field in serializable_hash4675 behaves like add_authentication_token_field attribute4676 ApplicationSetting#health_check_access_token4677 has a add_authentication_token_field field4678 does not include the attribute in serializable_hash4679 unsafe_serialization_hash option4680 includes the field in serializable_hash4681 behaves like add_authentication_token_field attribute4682 PersonalAccessToken#token4683 has a add_authentication_token_field field4684 does not include the attribute in serializable_hash4685 unsafe_serialization_hash option4686 includes the field in serializable_hash4687Gitlab::Ci::Config::External::File::Local4688 #matching?4689 when a local is specified4690 returns true4691 with a missing local4692 returns false4693 with a missing local key4694 returns false4695 #valid?4696 when is a valid local path4697 is expected to be truthy4698 when it is not a valid local path4699 is expected to be falsy4700 when it is not a yaml file4701 is expected to be falsy4702 when it is an empty file4703 returns false and adds an error message about an empty file4704 when the given sha is not valid4705 returns false and adds an error message stating that included file does not exist4706 #content4707 with a valid file4708 returns the content of the file4709 with an invalid file4710 is nil4711 #error_message4712 returns an error message4713 #expand_context4714 inherits project, user and sha4715 #to_hash4716 properly includes another local file in the same repository4717 does expand hash to include the template4718 #metadata4719 is expected to eq {:blob=>"http://localhost/namespace547/project725/-/blob/12345/lib/gitlab/ci/templates/existent-file....lhost/namespace547/project725/-/raw/12345/lib/gitlab/ci/templates/existent-file.yml", :type=>:local}4720Gitlab::GithubImport::Importer::Events::CrossReferenced4721 with Issue4722 behaves like import cross-referenced event4723 when referenced in other issue4724 creates expected note4725 when referenced in pull request4726 creates expected note4727 when referenced in out of project issue/pull_request4728 does not create expected note4729 with MergeRequest4730 behaves like import cross-referenced event4731 when referenced in other issue4732 creates expected note4733 when referenced in pull request4734 creates expected note4735 when referenced in out of project issue/pull_request4736 does not create expected note4737Preloaders::UsersMaxAccessLevelInProjectsPreloader4738 preload maximum access level to avoid querying project_authorizations4739 avoids N+1 queries4740 runs N queries without preloading4741Gitlab::Analytics::CycleAnalytics::Aggregated::RecordsFetcher4742 #serialized_records4743 sorting4744 when sorting by end event DESC4745 behaves like match returned records4746 returns issues in the correct order4747 passes a hash with all expected attributes to the serializer4748 when intervalstyle setting is configured to "postgres"4749 avoids nil durations4750 when sorting by end event ASC4751 behaves like match returned records4752 returns issues in the correct order4753 passes a hash with all expected attributes to the serializer4754 when sorting by duration DESC4755 behaves like match returned records4756 returns issues in the correct order4757 passes a hash with all expected attributes to the serializer4758 when sorting by duration ASC4759 behaves like match returned records4760 returns issues in the correct order4761 passes a hash with all expected attributes to the serializer4762 pagination4763 behaves like match returned records4764 returns issues in the correct order4765 passes a hash with all expected attributes to the serializer4766 when passing a block to serialized_records method4767 yields the underlying stage event scope4768 when the issue record no longer exists4769 skips non-existing issue records4770Gitlab::Ci::Pipeline::Duration4771 .from_periods4772 test sample A4773 behaves like calculating duration4774 is expected to eq 44775 test sample B4776 behaves like calculating duration4777 is expected to eq 44778 test sample C4779 behaves like calculating duration4780 is expected to eq 84781 test sample D4782 behaves like calculating duration4783 is expected to eq 44784 test sample E4785 behaves like calculating duration4786 is expected to eq 74787 test sample F4788 behaves like calculating duration4789 is expected to eq 64790 test sample G4791 behaves like calculating duration4792 is expected to eq 44793 .from_pipeline4794 returns the duration of the running build4795 when there is no running build4796 returns the duration for all the builds4797 when there are bridge jobs4798 returns the duration of the running build4799 when there is no running build4800 returns the duration for all the builds and bridge jobs4801Gitlab::Diff::Rendered::Notebook::DiffFileHelper4802 #strip_diff_frontmatter4803 diff: "FileLine1\nFileLine2\n@@ -1,76 +1,74 @@\nhello\n", result: "@@ -1,76 +1,74 @@\nhello\n"4804 is expected to eq "@@ -1,76 +1,74 @@\nhello\n"4805 diff: "", result: nil4806 is expected to eq nil4807 diff: nil, result: nil4808 is expected to eq nil4809 #map_transformed_line_to_source4810 case: "if transformed diff is empty", transformed_blocks: [], result: 04811 is expected to eq 04812 case: "if the transformed line does not map to any in the original file", transformed_blocks: [{:source_line=>nil}], result: 04813 is expected to eq 04814 case: "if the transformed line maps to a line in the source file", transformed_blocks: [{:source_line=>3}], result: 34815 is expected to eq 34816 #image_as_rich_text4817 text does not contain image4818 is expected to be nil4819 text contains image4820 is expected to eq "<img src=\"data:image/png;base64,some_image_here\">"4821 text contains image that has malicious html4822 sanitizes the html4823 adds image to src4824 #line_positions_at_source_diff4825 case: " A A", index: 0, transformed_positions: [1, 1], mapped_positions: [1, 1]4826 is expected to eq [1, 1]4827 case: "- C ", index: 1, transformed_positions: [2, 2], mapped_positions: [3, 2]4828 is expected to eq [3, 2]4829 case: "- B ", index: 2, transformed_positions: [3, 2], mapped_positions: [2, 2]4830 is expected to eq [2, 2]4831 case: "- L ", index: 3, transformed_positions: [4, 2], mapped_positions: [0, 0]4832 is expected to eq [0, 0]4833 case: "+ D", index: 4, transformed_positions: [5, 2], mapped_positions: [4, 2]4834 is expected to eq [4, 2]4835 case: "+ J", index: 5, transformed_positions: [5, 3], mapped_positions: [0, 0]4836 is expected to eq [0, 0]4837 case: "+ E", index: 6, transformed_positions: [5, 4], mapped_positions: [4, 3]4838 is expected to eq [4, 3]4839 case: " K K", index: 7, transformed_positions: [5, 5], mapped_positions: [0, 0]4840 is expected to eq [0, 0]4841 case: " F F", index: 8, transformed_positions: [6, 6], mapped_positions: [4, 4]4842 is expected to eq [4, 4]4843 #lines_in_source_diff4844 old_lines: [1, 2, 2], new_lines: [1, 1, 4], is_deleted: false, is_new: false, existing_lines: {:from=>#<Set: {1, 2}>, :to=>#<Set: {1, 4}>}4845 is expected to eq {:from=>#<Set: {1, 2}>, :to=>#<Set: {1, 4}>}4846 old_lines: [1, 2, 2], new_lines: [1, 1, 4], is_deleted: true, is_new: false, existing_lines: {:from=>#<Set: {1, 2}>, :to=>#<Set: {}>}4847 is expected to eq {:from=>#<Set: {1, 2}>, :to=>#<Set: {}>}4848 old_lines: [1, 2, 2], new_lines: [1, 1, 4], is_deleted: false, is_new: true, existing_lines: {:from=>#<Set: {}>, :to=>#<Set: {1, 4}>}4849 is expected to eq {:from=>#<Set: {}>, :to=>#<Set: {1, 4}>}4850Integrations::Bugzilla4851 Validations4852 when integration is active4853 is expected to validate that :project_url cannot be empty/falsy4854 is expected to validate that :issues_url cannot be empty/falsy4855 is expected to validate that :new_issue_url cannot be empty/falsy4856 behaves like issue tracker integration URL attribute4857 is expected to allow :project_url to be ‹"https://example.com"›4858 is expected not to allow :project_url to be ‹"example.com"›4859 is expected not to allow :project_url to be ‹"ftp://example.com"›4860 is expected not to allow :project_url to be ‹"herp-and-derp"›4861 behaves like issue tracker integration URL attribute4862 is expected to allow :issues_url to be ‹"https://example.com"›4863 is expected not to allow :issues_url to be ‹"example.com"›4864 is expected not to allow :issues_url to be ‹"ftp://example.com"›4865 is expected not to allow :issues_url to be ‹"herp-and-derp"›4866 behaves like issue tracker integration URL attribute4867 is expected to allow :new_issue_url to be ‹"https://example.com"›4868 is expected not to allow :new_issue_url to be ‹"example.com"›4869 is expected not to allow :new_issue_url to be ‹"ftp://example.com"›4870 is expected not to allow :new_issue_url to be ‹"herp-and-derp"›4871 when integration is inactive4872 is expected not to validate that :project_url cannot be empty/falsy4873 is expected not to validate that :issues_url cannot be empty/falsy4874 is expected not to validate that :new_issue_url cannot be empty/falsy4875Banzai::Filter::UploadLinkFilter4876 preserves original url in data-canonical-src attribute4877 to a project upload4878 rebuilds relative URL for a link4879 rebuilds relative URL for an image4880 does not modify absolute URL4881 supports unescaped Unicode filenames4882 supports escaped Unicode filenames4883 with an absolute URL4884 rewrites the link correctly4885 to a group upload4886 rewrites the link correctly4887 rewrites the link correctly for subgroup4888 does not modify absolute URL4889 with an absolute URL4890 rewrites the link correctly4891 to a personal snippet4892 rewrites the link correctly4893 does not modify absolute URL4894 with an absolute URL4895 rewrites the link correctly4896 with a relative URL root4897 rewrites the link correctly4898 with an absolute URL4899 rewrites the link correctly4900 invalid input4901 name: "invalid URI", href: "://foo"4902 is expected not to raise Exception4903 name: "invalid UTF-8 byte sequences", href: "%FF"4904 is expected not to raise Exception4905 name: "garbled path", href: "open(/var/tmp/):%20/location%0Afrom:%20/test"4906 is expected not to raise Exception4907 name: "whitespace", href: "d18213acd3732630991986120e167e3d/Landscape_8.jpg\nand more"4908 is expected not to raise Exception4909 name: "null byte", href: "%00"4910 is expected not to raise Exception4911Tooling::Graphql::Docs::Renderer4912 #contents4913 headings4914 contains the expected sections4915 when a field has a list type4916 is expected to include "### `ArrayTest`\n\n#### Fields\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| <a id=\"arraytestfoo\"></a>`foo` | [`[String!]!`](#string) | A description. |\n"4917 a top level query field4918 generates the query with arguments4919 when description does not end with `.`4920 adds the `.` to the end4921 when fields are not defined in alphabetical order4922 lists the fields in alphabetical order4923 when a field has a documentation reference4924 behaves like renders correctly as GraphQL documentation4925 contains the expected section4926 when an argument is deprecated4927 behaves like renders correctly as GraphQL documentation4928 contains the expected section4929 when a field is deprecated4930 behaves like renders correctly as GraphQL documentation4931 contains the expected section4932 when a Query.field is deprecated4933 behaves like renders correctly as GraphQL documentation4934 contains the expected section4935 when an argument is in alpha4936 behaves like renders correctly as GraphQL documentation4937 contains the expected section4938 when a field is in alpha4939 behaves like renders correctly as GraphQL documentation4940 contains the expected section4941 when a Query.field is in alpha4942 behaves like renders correctly as GraphQL documentation4943 contains the expected section4944 when a field has an Enumeration type4945 behaves like renders correctly as GraphQL documentation4946 contains the expected section4947 when a field has a global ID type4948 section for IDTest4949 behaves like renders correctly as GraphQL documentation4950 contains the expected section4951 section for UserID4952 behaves like renders correctly as GraphQL documentation4953 contains the expected section4954 when there is a mutation4955 does not render the automatically generated payload type4956 does not render the automatically generated input type as its own section4957 behaves like renders correctly as GraphQL documentation4958 contains the expected section4959 when there is an input type4960 behaves like renders correctly as GraphQL documentation4961 contains the expected section4962 when there is an interface and a union4963 lists the fields correctly, and includes descriptions of all the types4964Gitlab::GithubImport::AdvanceStageWorker4965 #perform4966 when the project no longer exists4967 does not perform any work4968 when there are remaining jobs4969 reschedules itself4970 when there are no remaining jobs4971 schedules the next stage4972 raises KeyError when the stage name is invalid4973 #wait_for_jobs4974 waits for jobs to complete and returns a new pair of keys to wait for4975 #find_import_state4976 returns a ProjectImportState4977 returns nil if the project import is not running4978EnvironmentsHelper4979 #metrics_data4980 returns data4981 without admin_operations permission4982 is expected to include {"can_access_operations_settings" => "false"}4983 with metrics_setting4984 adds external_dashboard_url4985 when the environment is not available4986 is expected to include {"environment_state" => "stopped"}4987 when request is from project scoped metrics path4988 /:namespace/:project/-/metrics4989 uses correct path for metrics_dashboard_base_path4990 /:namespace/:project/-/metrics/some_custom_dashboard.yml4991 uses correct path for metrics_dashboard_base_path4992 #custom_metrics_available?4993 returns true4994 #environment_logs_data4995 returns logs data4996 #environment_data4997 returns the environment as JSON4998Packages::Debian::GroupDistributionKey4999 behaves like Debian Distribution Key5000 relationships5001 is expected to belong to distribution class_name => Packages::Debian::GroupDistribution required: false inverse_of => key5002 validations5003 #distribution5004 is expected to validate that :distribution cannot be empty/falsy5005 #private_key5006 is expected to validate that :private_key cannot be empty/falsy5007 is expected to allow :private_key to be ‹"-----BEGIN PGP PRIVATE KEY BLOCK-----\n..."›5008 is expected not to allow :private_key to be ‹"A"›, producing a custom validation error on failure5009 #passphrase5010 is expected to validate that :passphrase cannot be empty/falsy5011 is expected to allow :passphrase to be ‹"P@$$w0rd"›5012 is expected to allow :passphrase to be ‹"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"›5013 is expected not to allow :passphrase to be ‹"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"›5014 #public_key5015 is expected to validate that :public_key cannot be empty/falsy5016 is expected to allow :public_key to be ‹"-----BEGIN PGP PUBLIC KEY BLOCK-----\n..."›5017 is expected not to allow :public_key to be ‹"A"›, producing a custom validation error on failure5018 #fingerprint5019 is expected to validate that :passphrase cannot be empty/falsy5020 is expected to allow :passphrase to be ‹"abc"›5021 is expected to allow :passphrase to be ‹"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"›5022 is expected not to allow :passphrase to be ‹"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"›5023Gitlab::Ci::Pipeline::Chain::Build5024 does not break the chain5025 builds a pipeline with the expected attributes5026 returns a valid pipeline5027 does not persist a pipeline5028 when pipeline is running for a tag5029 correctly indicated that this is a tagged pipeline5030 when origin_ref is branch but tag ref with the same name exists5031 correctly indicated that a pipeline is not tagged5032 when pipeline is running for a merge request5033 correctly indicated that this is a merge request pipeline5034 correctly sets souce sha and target sha to pipeline5035 when pipeline is running for an external pull request5036 correctly indicated that this is an external pull request pipeline5037 correctly sets source sha and target sha to pipeline5038 when keep_latest_artifact is set5039 keep_latest_artifact: true, locking_result: "artifacts_locked"5040 builds a pipeline with appropriate locked value5041 keep_latest_artifact: false, locking_result: "unlocked"5042 builds a pipeline with appropriate locked value5043Ci::JobTokenScope::RemoveProjectService5044 #execute5045 behaves like editable job token scope5046 when user does not have permissions to edit the job token scope5047 behaves like returns error5048 returns an error response5049 when user has permissions to edit the job token scope5050 when target project is not provided5051 behaves like returns error5052 returns an error response5053 when target project is provided5054 when user does not have permissions to read the target project5055 behaves like returns error5056 returns an error response5057 when user has permissions on source and target project5058 behaves like removes project5059 removes the project from the scope5060 when token scope is disabled5061 behaves like removes project5062 removes the project from the scope5063 when target project is same as the source project5064 behaves like returns error5065 returns an error response5066Gitlab::Memory::Watchdog5067 watchdog5068 #initialize5069 initialize new configuration5070 #call5071 logs start message once5072 waits for check interval seconds5073 logs stop message once5074 when gitlab_memory_watchdog ops toggle is off5075 does not trigger any monitor5076 when process does not exceed threshold5077 does not increment violations counters5078 does not log violation5079 does not execute handler5080 when process exceeds threshold5081 increments violations counter5082 when process does not exceed the allowed number of strikes5083 does not increment handled violations counter5084 does not log violation5085 does not execute handler5086 when monitor exceeds the allowed number of strikes5087 increments handled violations counter5088 logs violation5089 executes handler5090 when enforce_memory_watchdog ops toggle is off5091 always uses the NullHandler5092 when multiple monitors exceeds allowed number of strikes5093 only calls the handler once5094 #configure5095 yields block5096 handlers5097 NullHandler5098 #call5099 does nothing5100 TermProcessHandler5101 #call5102 sends SIGTERM to the current process5103 PumaHandler5104 #call5105 invokes orderly termination via Puma API5106Ci::MergeRequests::AddTodoWhenBuildFailsWorker5107 #perform5108 is labeled as idempotent5109 performs multiple times sequentially without raising an exception5110 executes todo service5111 when job does not exist5112 returns nil5113 when project does not exist5114 returns nil5115 when pipeline does not exist5116 returns nil5117Gitlab::DataBuilder::WikiPage5118 .build5119 is expected to be a kind of Hash5120 is expected to eq "wiki_page"5121 is expected to eq {:avatar_url=>"https://www.gravatar.com/avatar/02957454795daa1eb01b8a842d30e01e?s=80&d=identicon", :email=>"[REDACTED]", :id=>1110, :name=>"Sidney Jones1417", :username=>"user706"}5122 is expected to eq {:avatar_url=>nil, :ci_config_path=>nil, :default_branch=>"master", :description=>nil, :git_http_url=...pace570/project748.git", :visibility_level=>0, :web_url=>"http://localhost/namespace570/project748"}5123 is expected to eq {:default_branch=>"master", :git_http_url=>"http://localhost/namespace570/project748.wiki.git", :git_...=>"namespace570/project748.wiki", :web_url=>"http://localhost/namespace570/project748/-/wikis/home"}5124 is expected to include {:slug => "Page-11", :title => "Page 11", :content => "Content for wiki page", :format => :markdown, :message => nil, "content" => "Content for wiki page"}5125 is expected to include {:url => "http://localhost/namespace570/project748/-/wikis/Page-11"}5126 is expected to include {:action => "create"}5127 is expected to include {:diff_url => "http://localhost/namespace570/project748/-/wikis/Page-11/diff?version_id=47342798143a95390a6f98e7671378b72622d04d"}5128Packages::Go::Module5129 #path_valid?5130 with root path5131 with major version 05132 returns true5133 with major version 15134 returns true5135 with major version 25136 returns false5137 with path ./v25138 with major version 05139 returns false5140 with major version 15141 returns false5142 with major version 25143 returns true5144 #gomod_valid?5145 with good gomod5146 returns true5147 with bad gomod5148 returns false5149 with empty gomod5150 returns false5151Clusters::AgentTokenPolicy5152 rules5153 when reporter5154 is expected to be disallowed :admin_cluster5155 is expected to be disallowed :read_cluster5156 when developer5157 is expected to be disallowed :admin_cluster5158 is expected to be allowed :read_cluster5159 when maintainer5160 is expected to be allowed :admin_cluster5161 is expected to be allowed :read_cluster5162Packages::Pypi::CreatePackageService5163 #execute5164 without an existing package5165 creates the package5166 with FIPS mode5167 does not generate file_md55168 without required_python5169 creates the package5170 with an invalid metadata5171 raises an error5172 behaves like assigns the package creator5173 assigns the package creator5174 behaves like assigns build to package5175 with build info5176 assigns the pipeline to the package5177 behaves like assigns status to package5178 with status param5179 assigns the status to the package5180 with an existing package5181 with an existing file5182 throws an error5183 with a pending_destruction package5184 creates a new package5185 without an existing file5186 adds the file5187Gitlab::SidekiqMiddleware::DuplicateJobs::Strategies::UntilExecuted5188 behaves like deduplicating jobs when scheduling5189 #schedule5190 checks for duplicates before yielding5191 checks worker options for scheduled jobs5192 job marking5193 adds the jid of the existing job to the job hash5194 scheduled jobs5195 scheduled in the past5196 adds the jid of the existing job to the job hash5197 scheduled in the future5198 adds the jid of the existing job to the job hash5199 when the job is not duplicate5200 does not return false nor drop the job5201 when the job is droppable5202 updates latest wal location5203 returns false to drop the job5204 logs that the job was dropped5205 logs the deduplication options of the worker5206 #perform5207 updates job hash with dedup_wal_locations5208 when latest_wal_location is empty5209 does not update job hash with dedup_wal_locations5210 #perform5211 deletes the lock after executing5212 deletes the lock even if an error occurs5213 does not reschedule the job even if deduplication happened5214 when job is reschedulable5215 reschedules the job if deduplication happened5216 does not reschedule the job if an error occurs5217Users::RejectService5218 #execute5219 failures5220 when the executor user is not allowed to reject users5221 returns error result5222 when the executor user is an admin in admin mode5223 when user is not in pending approval state5224 returns error result5225 success5226 when the executor user is an admin in admin mode5227 emails the user on rejection5228 logs rejection in application logs5229 when user_destroy_with_limited_execution_time_worker is enabled5230 initiates user removal5231 when user_destroy_with_limited_execution_time_worker is disabled5232 deletes the user5233 audit events5234 when not licensed5235 does not log any audit event5236LooseIndexScan5237 loading distinct author_ids5238 when using ascending order5239 behaves like assert distinct values example5240 loads the distinct values in the correct order5241 when null values are present5242 behaves like assert distinct values example5243 loads the distinct values in the correct order5244 when using descending order5245 behaves like assert distinct values example5246 loads the distinct values in the correct order5247WebHooks::LogDestroyWorker5248 #perform5249 with a Web hook5250 deletes the relevant logs5251 is idempotent5252 raises and tracks an error if destroy failed5253 with extra arguments5254 does not raise an error5255 with no arguments5256 does not raise an error5257 with empty arguments5258 does not raise an error5259 with unknown hook5260 does not raise an error5261Preloaders::LabelsPreloader5262 project labels5263 behaves like an efficient database query5264 does not make n+1 queries5265 group labels5266 behaves like an efficient database query5267 does not make n+1 queries5268Gitlab::Git5269 .ref_name5270 ensure ref is a valid UTF-8 string5271 when ref contains characters \x80 - \xFF5272 correctly converts it5273 .commit_id?5274 sha: "", result: false5275 returns the expected result5276 sha: "foobar", result: false5277 returns the expected result5278 sha: "4b825dc", result: false5279 returns the expected result5280 sha: "zzz25dc642cb6eb9a060e54bf8d69288fbee4904", result: false5281 returns the expected result5282 sha: "4b825dc642cb6eb9a060e54bf8d69288fbee4904", result: true5283 returns the expected result5284 sha: "0000000000000000000000000000000000000000", result: true5285 returns the expected result5286 .shas_eql?5287 sha1: "570e7b2abdd848b95f2f578043fc23bd6f6fd24d", sha2: "570e7b2abdd848b95f2f578043fc23bd6f6fd24d", result: true5288 is expected to eq true5289 is commutative5290 sha1: "570e7b2abdd848b95f2f578043fc23bd6f6fd24d", sha2: "570e7b2", result: true5291 is expected to eq true5292 is commutative5293 sha1: "570e7b2abdd848b95f2f578043fc23bd6f6fd24d", sha2: "d42df6f6db32cf340875f2f59b848ddba2b7e075", result: false5294 is expected to eq false5295 is commutative5296 sha1: "570e7b2abdd848b95f2f578043fc23bd6f6fd24d", sha2: "570e7b", result: false5297 is expected to eq false5298 is commutative5299 sha1: "570e7b2abdd848b95f2f578043fc23bd6f6fd24d", sha2: nil, result: false5300 is expected to eq false5301 is commutative5302 sha1: nil, sha2: nil, result: true5303 is expected to eq true5304 is commutative5305User5306 types consistency checks5307 scopes & predicates5308 .humans5309 includes humans only5310 .bots5311 includes all bots5312 .without_bots5313 includes everyone except bots5314 .bots_without_project_bot5315 includes all bots except project_bot5316 .non_internal5317 includes all non_internal users5318 .without_ghosts5319 includes everyone except ghosts5320 .without_project_bot5321 includes everyone except project_bot5322 #bot?5323 is true for all bot user types and false for others5324 #human?5325 is true for humans only5326 #internal?5327 is true for all internal user types and false for others5328Gitlab::SidekiqCluster5329 .start5330 starts Sidekiq with the given queues, environment and options5331 starts Sidekiq with the given queues and sensible default options5332 .start_sidekiq5333 starts a Sidekiq process5334 handles duplicate queue names5335 runs the sidekiq process in a new process group5336 .count_by_queue5337 tallies the queue counts5338 .concurrency5339 queue_count: 2, min: 0, max: 0, expected: 35340 is expected to eq 35341 queue_count: 2, min: 0, max: 9, expected: 35342 is expected to eq 35343 queue_count: 2, min: 1, max: 4, expected: 35344 is expected to eq 35345 queue_count: 2, min: 4, max: 5, expected: 45346 is expected to eq 45347 queue_count: 5, min: 2, max: 3, expected: 35348 is expected to eq 35349 queue_count: 2, min: 1, max: 1, expected: 15350 is expected to eq 15351 queue_count: 0, min: 3, max: 3, expected: 35352 is expected to eq 35353 queue_count: 1, min: 4, max: 3, expected: 35354 is expected to eq 35355sidekiq.rake5356 gitlab:sidekiq:migrate_jobs:schedule rake task5357 behaves like migration rake task5358 runs the migrator with a mapping of workers to queues5359 gitlab:sidekiq:migrate_jobs:retry rake task5360 behaves like migration rake task5361 runs the migrator with a mapping of workers to queues5362 gitlab:sidekiq:migrate_jobs:queued rake task5363 runs the migrator with a mapping of workers to queues5364RepositoryUpdateRemoteMirrorWorker5365 is labeled as idempotent5366 performs multiple times sequentially without raising an exception5367 #perform5368 calls out to the service to perform the update5369 does not do anything if the mirror was already updated5370 schedules a retry when the mirror is marked for retrying5371 clears the lease if there was an unexpected exception5372 retries 3 times for the worker to finish before rescheduling5373Gitlab::Metrics::Samplers::ActionCableSampler5374 behaves like metrics sampler5375 when sampling interval is passed explicitly5376 is expected to eq 425377 when sampling interval is passed through the environment5378 is expected to eq 425379 when no sampling interval is passed anywhere5380 uses the hardcoded default5381 #start5382 calls the sample method on the sampler thread5383 with warmup set to true5384 calls the sample method first on the caller thread5385 #safe_sample5386 calls #sample once5387 when sampling fails with error5388 recovers from errors5389 with logger5390 logs errors5391 #sample5392 includes active connections5393 includes minimum worker pool size5394 includes maximum worker pool size5395 includes current worker pool size5396 includes largest worker pool size5397 includes worker pool completed task count5398 includes worker pool pending task count5399Metrics::Dashboard::GitlabAlertEmbedService5400 .valid_params?5401 is expected to be truthy5402 missing embedded5403 is expected to be falsey5404 not embedded5405 is expected to be falsey5406 missing alert id5407 is expected to be falsey5408 missing alert id5409 is expected to be falsey5410 #get_dashboard5411 when alerting is available5412 generates an panel based on the alert5413 does not cache the unprocessed dashboard5414 behaves like valid embedded dashboard service response5415 behaves like valid dashboard service response for schema5416 returns a json representation of the dashboard5417 behaves like raises error for users with insufficient permissions5418 when the user does not have sufficient access5419 behaves like misconfigured dashboard service response5420 returns an appropriate message and status code5421 when the user is anonymous5422 behaves like misconfigured dashboard service response5423 returns an appropriate message and status code5424 when the metric does not exist5425 behaves like misconfigured dashboard service response5426 returns an appropriate message and status code5427Gitlab::Analytics::CycleAnalytics::Aggregated::BaseQueryBuilder5428 scopes the query for the given project5429 author_username param5430 returns stage events associated with the given author5431 returns empty result when unknown author is given5432 milestone_title param5433 returns stage events associated with the milestone5434 returns empty result when unknown milestone is given5435 label_name param5436 returns stage events associated with multiple labels5437 does not include records with partial label match5438 assignee_username param5439 returns stage events associated assignee5440 timestamp filtering5441 filters by the end event time range5442 when in_progress items are requested5443 filters by the start event time range5444X509Issuer5445 validation5446 is expected to validate that :subject_key_identifier cannot be empty/falsy5447 is expected to validate that :subject cannot be empty/falsy5448 is expected to validate that :crl_url cannot be empty/falsy5449 .safe_create!5450 creates a new issuer if it was not found5451 assigns the correct attributes when creating5452 validators5453 accepts correct subject_key_identifier5454 rejects invalid subject_key_identifier5455 accepts valid crl_url5456 rejects invalid crl_url5457Integrations::Shimo5458 #fields5459 returns custom fields5460 #create5461 with valid params5462 creates the Shimo integration5463 with invalid params5464 cannot create the Shimo integration without external_wiki_url5465 cannot create the Shimo integration with invalid external_wiki_url5466 Caching has_shimo on project_settings5467 sets the property to true when integration is active5468 sets the property to false when integration is not active5469 creates a project_setting record if one was not already created5470Gitlab::Analytics::CycleAnalytics::StageEvents::IssueStageEnd5471 behaves like value stream analytics event5472 is expected to be a kind of String5473 is expected to be a kind of Symbol5474 is expected to include ApplicationRecord(abstract)5475 is expected to respond to #timestamp_projection5476 is expected to respond to #html_description5477 is expected to be a kind of Array5478 #apply_query_customization5479 expects an ActiveRecord::Relation object as argument and returns a modified version of it5480 #hash_code5481 returns a hash that uniquely identifies an event5482 does not differ when the same object is built with the same params5483 behaves like LEFT JOIN-able value stream analytics event5484 can use the event as LEFT JOIN5485 when looking at the record with data5486 contains the timestamp expression5487 when looking at the record without data5488 returns nil for the timestamp expression5489Constraints::GroupUrlConstrainer5490 #matches?5491 valid request5492 is expected to be truthy5493 valid request for nested group5494 is expected to be truthy5495 valid request for nested group with reserved top level name5496 is expected to be truthy5497 invalid request5498 is expected to be falsey5499 when the request matches a redirect route5500 for a root group5501 and is a GET request5502 is expected to be truthy5503 and is NOT a GET request5504 is expected to be falsey5505 for a nested group5506 is expected to be truthy5507Gitlab::Email::Handler5508 .for5509 picks issue handler if there is no merge request prefix5510 picks merge request handler if there is merge request key5511 returns nil if no handler is found5512 returns nil if provided email is nil5513 key matches the reply_key of a notification5514 picks note handler5515 key matches the reply_key of a notification, along with an unsubscribe suffix5516 picks unsubscribe handler5517 new issue email5518 return new issue handler5519 a Service Desk email5520 uses the Service Desk handler5521 regexps are set properly5522 picks each handler at least once5523 can pick exactly one handler for each address5524Gitlab::Metrics::Dashboard::RepoDashboardFinder5525 .list_dashboards5526 deletes dashboard cache entries5527 returns empty array when there are no dashboards5528 when there are project dashboards available5529 returns the dashboard list5530 .read_dashboard5531 raises error when dashboard does not exist5532 when there are project dashboards available5533 reads dashboard5534FeatureFlagSerializer5535 #represent5536 includes feature flag attributes5537BulkImport5538 associations5539 is expected to belong to user required: true5540 is expected to have one configuration5541 is expected to have many entities5542 validations5543 is expected to validate that :source_type cannot be empty/falsy5544 is expected to validate that :status cannot be empty/falsy5545 is expected to define :source_type as an enum backed by an integer with values ‹[:gitlab]›5546 .stale scope5547 is expected to contain exactly #<BulkImport id: 43, user_id: 1186, source_type: "gitlab", status: 0, created_at: "2022-11-01 14:39:05.115223337 +0000", updated_at: "2022-11-04 14:39:05.202953297 +0000", source_version: "14.4.0"> and #<BulkImport id: 44, user_id: 1187, source_type: "gitlab", status: 1, created_at: "2022-11-01 14:39:05.208194746 +0000", updated_at: "2022-11-04 14:39:05.293357587 +0000", source_version: "14.4.0">5548 .all_human_statuses5549 returns all human readable entity statuses5550 .min_gl_version_for_project5551 is expected to be a kind of Gitlab::VersionInfo5552 is expected to eq "14.4.0"5553 #source_version_info5554 returns source_version as Gitlab::VersionInfo5555projects/pages_domains/show5556 when auto_ssl is enabled5557 when domain is disabled5558 shows verification warning5559 when certificate is absent5560 shows alert about time of obtaining certificate5561IgnorableColumns5562 adds columns to ignored_columns5563 adds columns to ignored_columns (array version)5564 requires remove_after attribute to be set5565 requires remove_after attribute to be set5566 requires remove_with attribute to be set5567 .ignored_columns_details5568 defaults to empty Hash5569 with single column5570 behaves like storing removal information5571 storing removal information5572 with array column5573 behaves like storing removal information5574 storing removal information5575 when called on a subclass without setting the ignored columns5576 does not raise Deadlock error5577 IgnorableColumns::ColumnIgnore5578 #safe_to_remove?5579 after remove_after date has passed5580 returns true (safe to remove)5581 before remove_after date has passed5582 returns false (not safe to remove)5583Mutations::Terraform::State::Lock5584 is expected to eq "TerraformStateLock"5585 is expected to require graphql authorizations :admin_terraform_state5586 #resolve5587 user does not have permission5588 raises an error5589 user has permission5590 locks the state5591 state is already locked5592 does not modify the existing lock5593 with invalid params5594 raises an error5595Gitlab::ImportExport::UploadsSaver5596 bundle a project Git repo5597 legacy storage5598 saves the uploads successfully5599 copies the uploads to the export path5600 hashed storage5601 saves the uploads successfully5602 copies the uploads to the export path5603Gitlab::DependencyLinker5604 .link5605 links using GemfileLinker5606 links using GemspecLinker5607 links using PackageJsonLinker5608 links using ComposerJsonLinker5609 links using PodfileLinker5610 links using PodspecLinker5611 links using PodspecJsonLinker5612 links using CartfileLinker5613 links using GodepsJsonLinker5614 links using RequirementsTxtLinker5615 links using CargoTomlLinker5616 links using GoModLinker5617 links using GoSumLinker5618Gitlab::X509::Tag5619 #signature5620 signed tag5621 is expected not to be nil5622 is expected to eq :unverified5623 is expected to have attributes {:email => "r.meier@siemens.com", :serial_number => 3664232660, :subject => "CN=Meier Roger,O=Siemens,SN=Me...r=Z000NWDH", :subject_key_identifier => "21:7E:82:45:29:5D:0E:B1:19:CD:24:45:65:EE:0C:5C:73:03:5E:33"}5624 is expected to have attributes {:crl_url => "http://ch.siemens.com/pki?ZZZZZZA6.crl", :subject => "CN=Siemens Issuing CA Medium Strength...ayern,C=DE", :subject_key_identifier => "F8:15:5D:47:0C:6C:77:7B:72:C4:02:17:91:68:A2:B6:F7:6A:09:44"}5625 unsigned tag5626 is expected to be nil5627Packages::Cleanup::ExecutePolicyService5628 #execute5629 with the keep_n_duplicated_files parameter5630 set to less than the total number of duplicated files5631 behaves like keeping the most recent package files5632 only keeps the most recent package files5633 when the service needs to loop5634 behaves like keeping the most recent package files5635 only keeps the most recent package files5636 when a timeout is hit5637 keeps part of the most recent package files5638 set to more than the total number of duplicated files5639 keeps all package files5640 set to all5641 skips the policy5642Gitlab::GithubImport::Representation::DiffNotes::SuggestionFormatter5643 does nothing when there is any text before the suggestion tag5644 handles nil value for note5645 does not allow over 3 leading spaces for valid suggestion5646 allows up to 3 leading spaces5647 does nothing when there is any text without space after the suggestion tag5648 formats single-line suggestions5649 ignores text after suggestion tag on the same line5650 formats multiple single-line suggestions5651 formats multi-line suggestions5652 formats multiple multi-line suggestions5653Resolvers::Ci::JobsResolver5654 #resolve5655 when security_report_types is empty5656 returns all of the pipeline's jobs5657 when security_report_types is present5658 returns the pipeline's jobs with the given security report types5659 when a job has tags5660 returns jobs with tags when applicable5661Ci::PipelineSchedules::TakeOwnershipService5662 # order random5663 #execute5664 when user does not have permission5665 returns ServiceResponse.error5666 when user has permission5667 returns ServiceResponse.success5668 when schedule update fails5669 returns ServiceResponse.error5670Gitlab::InactiveProjectsDeletionWarningTracker5671 .notified_projects5672 returns the list of projects for which deletion warning email has been sent5673 .reset_all5674 deletes all the projects for which deletion warning email was sent5675 #notified?5676 returns true if the project has already been notified5677 returns false if the project has not been notified5678 #mark_notified5679 marks the project as being notified5680 #notification_date5681 returns the date if a deletion warning email has been sent for a given project5682 returns nil if a deletion warning email has not been sent for a given project5683 #scheduled_deletion_date5684 without a stored deletion email date5685 behaves like returns the expected deletion date5686 is expected to eq "2022-12-04"5687 with a stored deletion email date5688 behaves like returns the expected deletion date5689 is expected to eq "2022-12-04"5690 #reset5691 resets the project as not being notified5692Gitlab::PhabricatorImport::Conduit::Response5693 .parse!5694 raises a ResponseError if the http response was not successfull5695 raises a ResponseError if the response contained a Phabricator error5696 raises a ResponseError if JSON parsing failed5697 returns a parsed response for valid input5698 #success?5699 is expected to be success5700 is expected not to be success5701 #error_code5702 is expected to eq "ERR-INVALID-AUTH"5703 is expected to be nil5704 #error_info5705 returns the correct error info5706 is expected to be nil5707 #data5708 is expected to be nil5709 is expected to be a kind of Array5710 #pagination5711 is expected to be nil5712 builds the pagination correctly5713Packages::Nuget::PackagesVersionsPresenter5714 #versions5715 is expected to contain exactly "1.0.23", "1.0.24", "1.0.25", "1.0.26", and "1.0.27"5716Users::KeysCountService5717 behaves like a counter caching service5718 #count5719 caches the count5720 #refresh_cache5721 refreshes the cache5722 #delete_cache5723 removes the cache5724 #uncached_count5725 does not cache the count5726 #count5727 returns the number of SSH keys as an Integer5728 #uncached_count5729 returns the number of SSH keys5730 #cache_key5731 returns the cache key5732projects/blob/_viewer.html.haml5733 when the viewer is loaded asynchronously5734 when there is no render error5735 adds a URL to the blob viewer element5736 renders the loading indicator5737 when there is a render error5738 renders the error5739 when the viewer is loaded synchronously5740 when there is no render error5741 prepares the viewer5742 renders the viewer5743 when there is a render error5744 renders the error5745Gitlab::Database::LooseForeignKeys5746 verify all definitions5747 all definitions have assigned a known gitlab_schema and on_delete5748 ensure keys are sorted5749 does not have any keys that are out of order5750 ensure no duplicates are found5751 does not have duplicate tables defined5752 does not have duplicate column definitions5753 ensuring database integrity5754 all `to_table` tables are present5755 all `from_table` tables are present5756 .definitions5757 contains at least all parent tables that have triggers5758BulkImports::UploadsExportService5759 #execute5760 exports project uploads and avatar5761 when upload has underlying file missing5762 with an upload missing its file5763 does not cause errors5764 when upload is in object storage5765 when filename is too long5766 ignores problematic upload and logs exception5767 when network exception occurs5768 ignores problematic upload and logs exception5769DesignManagement::CopyDesignCollection::QueueService5770 returns an error if user does not have permission5771 when user has permission5772 returns an error if design collection copy_state is not queuable5773 sets the design collection copy state5774 queues a DesignManagement::CopyDesignCollectionWorker5775 returns success5776MergeRequests::PipelineEntity5777 #as_json5778 contains required fields5779 returns presented coverage5780 excludes coverage data when disabled5781Gitlab::Ci::Build::DurationParser5782 .validate_duration5783 with never5784 is expected to be truthy5785 with never value camelized5786 is expected to be truthy5787 with a duration5788 is expected to be truthy5789 caches data5790 without a duration5791 is expected to be falsy5792 caches data5793 #seconds_from_now5794 with never5795 is expected to be nil5796 with an empty string5797 is expected to be nil5798 with a duration5799 is expected to within one second of 2022-11-05 14:39:33 UTC5800Ci::RetryPipelineWorker5801 #perform5802 when pipeline exists5803 when user exists5804 retries the pipeline5805 when user does not exist5806 does not retry the pipeline5807 when pipeline does not exist5808 returns nil5809Packages::UpdateTagsService5810 #execute5811 behaves like updating tags5812 updates a tag5813 with an existing tag5814 on the same package5815 behaves like updating tags5816 updates a tag5817 with different name5818 behaves like updating tags5819 updates a tag5820 on a different package5821 behaves like updating tags5822 updates a tag5823 with empty tags5824 is a no op5825JiraConnect::AppDataSerializer5826 #as_json5827 uses the subscription entity5828 includes a group path with already subscribed namespaces as skip_groups5829 is expected to include {:subscriptions_path => "/-/jira_connect/subscriptions"}5830 is expected to include {:login_path => "/-/jira_connect/users"}5831 when signed in5832 is expected to include {:login_path => nil}5833GroupExportWorker5834 #perform5835 when it succeeds5836 calls the ExportService5837 when it fails5838 raises an exception when params are invalid5839 sidekiq options5840 disables retry5841 disables dead5842Ci::BuildCancelService5843 #execute5844 when user is authorized to cancel the build5845 when build is cancelable5846 transits build to canceled5847 when build is not cancelable5848 responds with unprocessable entity5849 when user is not authorized to cancel the build5850 responds with forbidden5851Namespace::Detail5852 associations5853 is expected to belong to namespace required: false5854 validations5855 is expected to validate that :namespace cannot be empty/falsy5856 when namespace description changes5857 changes namespace details description5858 when project description changes5859 changes project namespace details description5860 when group description changes5861 changes group namespace details description5862Issuables::CrmOrganizationFilter5863 when an organization has issues5864 returns all organization1 issues5865 returns all organization2 issues5866 when an organization has no issues5867 returns no issues5868InitializerConnections5869 .with_disabled_database_connections5870 prevents any database connection within the block5871 does not prevent database connection if SKIP_RAISE_ON_INITIALIZE_CONNECTIONS is set5872 prevents any database connection if SKIP_RAISE_ON_INITIALIZE_CONNECTIONS is false5873 restores original connection handler5874 restores original connection handler even there is an error5875 raises if any new connection_pools are established in the block5876pages storage check5877 when local store does not exist yet5878 is expected to be truthy5879 when pages is not enabled5880 is expected to be truthy5881 when pages is enabled5882 local_storage_enabled: false, object_storage_enabled: false, raises_exception: true5883 validates pages storage configuration5884 local_storage_enabled: false, object_storage_enabled: true, raises_exception: false5885 validates pages storage configuration5886 local_storage_enabled: true, object_storage_enabled: false, raises_exception: false5887 validates pages storage configuration5888 local_storage_enabled: true, object_storage_enabled: true, raises_exception: false5889 validates pages storage configuration5890 local_storage_enabled: 1, object_storage_enabled: 0, raises_exception: false5891 validates pages storage configuration5892 local_storage_enabled: nil, object_storage_enabled: nil, raises_exception: true5893 validates pages storage configuration5894RuboCop::Cop::Gitlab::PredicateMemoization5895 # order random5896 when source is a predicate method using local with ||=5897 behaves like not registering offense5898 does not register offenses5899 when source is a predicate method using ivar with assignment5900 behaves like not registering offense5901 does not register offenses5902 when source is a predicate method memoizing via ivar5903 when assigning to boolean5904 registers an offense5905 when assigning to another variable that is a boolean5906 registers an offense5907 when source is a regular method memoizing via ivar5908 behaves like not registering offense5909 does not register offenses5910Packages::RemoveTagService5911 #execute5912 with existing tag5913 is expected to change `Packages::Tag.count` by -15914 with nil5915 is expected to raise ArgumentError5916Gitlab::TimeTrackingFormatter5917 #parse5918 positive durations5919 is expected to eq 120005920 negative durations5921 is expected to eq -120005922 durations with months5923 uses our custom conversions5924 #output5925 time_tracking_limit_to_hours setting is true5926 is expected to eq "49h 40m"5927 time_tracking_limit_to_hours setting is false5928 is expected to eq "1w 1d 1h 40m"5929 handles negative time input5930 is expected to eq "-1w 1d 1h 40m"5931Gitlab::GithubImport::AttachmentsDownloader5932 # order random5933 #delete5934 removes file with parent folder5935 #perform5936 when file valid5937 downloads file5938 when filename is malicious5939 raises expected exception5940 when file size exceeds limit5941 raises expected exception5942 when file name length exceeds limit5943 chops filename5944Banzai::CommitRenderer5945 .render5946 renders a commit description and title5947Gitlab::SQL::Union5948 behaves like SQL set operator5949 .operator_keyword5950 is expected to eq "UNION"5951 #to_sql5952 returns a String joining relations together using a UNION5953 skips Model.none segments5954 uses UNION ALL when removing duplicates is disabled5955 returns `NULL` if all relations are empty5956 when uneven select values are used5957 raises error5958 remove_order parameter5959 when remove_order: true5960 removes the ORDER BY from the query5961 when remove_order: false5962 does not remove the ORDER BY from the query5963projects/settings/operations/show5964 Operations > Alerts5965 renders the Operations Settings page5966 Operations > Error Tracking5967 Settings page5968 renders the Operations Settings page5969projects/imports/new.html.haml5970 when import fails5971 escapes HTML in import errors5972Gitlab::Utils::LazyAttributes5973 # order random5974 class methods5975 is expected to respond to [:lazy_attr_reader, :lazy_attr_accessor]5976 is expected not to respond to [:define_lazy_reader, :define_lazy_writer]5977 instance methods5978 is expected to respond to [:number, :reader_1, :reader_2, :incorrect_type, :incorrect_type=, :accessor_2, :accessor_2=, :string_attribute, :string_attribute=]5979 reading attributes5980 returns the correct values for procs5981 does not return the value if the type did not match what was specified5982 only calls the block once even if it returned `nil`5983 writing attributes5984 sets the correct values5985Gitlab::GithubImport::Markdown::Attachment5986 # order random5987 .from_markdown5988 when it's a doc attachment5989 returns instance with attachment info5990 when type is not in whitelist5991 is expected to eq nil5992 when domain name is unknown5993 is expected to eq nil5994 when it's an image attachment5995 returns instance with attachment info5996 when type is not in whitelist5997 is expected to eq nil5998 when domain name is unknown5999 is expected to eq nil6000 when it's an inline html node6001 returns instance with attachment info6002 #inspect6003 returns attachment basic info6004Gitlab::Database::Partitioning::ReplaceTable#perform6005 replaces the current table, archiving the old6006 transfers the primary key sequence to the replacement table6007 renames the primary key constraints to match the new table names6008 when the table has partitions6009 renames the partitions to match the new table name6010 renames the primary key constraints to match the new partition names6011DeployKeys::DeployKeyEntity6012 returns deploy keys with projects a user can read6013 is expected to eq {:almost_orphaned=>false, :can_edit=>false, :created_at=>2022-11-04 14:39:55.006381105 +0000, :deploy..., :id=>27, :title=>"My title 1450", :updated_at=>2022-11-04 14:39:55.006381105 +0000, :user_id=>nil}6014SystemNoteMetadata6015 associations6016 is expected to belong to note required: false6017 is expected to belong to description_version required: false6018 validation6019 is expected to validate that :note cannot be empty/falsy6020 when action type is invalid6021 is expected to be invalid6022 when action type is valid6023 is expected to be valid6024 when action type is valid6025 is expected to be valid6026 when importing6027 is expected to be valid6028API::Entities::Branch6029 #as_json6030 includes basic fields6031Blobs::NotebookPresenter6032 highlight receives markdown6033JsRegexValidator6034 #validates_each6035 user_default_internal_regex: nil, result: []6036 generates correct errors6037 user_default_internal_regex: "", result: []6038 generates correct errors6039 user_default_internal_regex: "(?#comment)", result: ["Regex Pattern (?#comment) can not be expressed in Javascript"]6040 generates correct errors6041 user_default_internal_regex: "(?(a)b|c)", result: ["invalid conditional pattern: /(?(a)b|c)/i"]6042 generates correct errors6043Clusters::Cleanup::ServiceAccountWorker6044 #perform6045 when cluster.cleanup_status is cleanup_removing_service_account6046 calls Clusters::Cleanup::ServiceAccountService6047 when cluster.cleanup_status is not cleanup_removing_service_account6048 does not call Clusters::Cleanup::ServiceAccountService6049event store matchers6050 # order random6051 publish_event6052 requires a block matcher6053 validates the event type6054 validates the event data6055 not_publish_event6056 requires a block matcher6057 does not permit .with6058 validates the event type6059Gitlab::Database::PostgresqlAdapter::TypeMapCache6060 #initialize_type_map6061 caches loading of types in memory6062 only reuses the cache if the connection parameters are exactly the same6063 #reload_type_map6064 clears the cache and executes the type map query again6065Gitlab::UsageDataCounters::SourceCodeCounter6066 behaves like a redis usage counter6067 .count(pushes)6068 increments the Source Code pushes counter by 16069 .read(pushes)6070 returns the total number of pushes events6071 behaves like a redis usage counter with totals6072 totals6073 can report all totals6074 unknown events6075 cannot increment6076 cannot read6077Resolvers::CommitPipelinesResolver6078 resolves pipelines for commit and ref6079Sidebars::Projects::Menus::ExternalIssueTrackerMenu6080 does not contain any sub menu6081 #render?6082 when active external issue tracker6083 is present6084 returns true6085 is not present6086 returns false6087Gitlab::Ci::MaskSecret6088 #mask6089 masks exact number of characters6090 masks multiple occurrences6091 does not mask if not found6092 does support null token6093 does not change a bytesize of a value6094Gitlab::Search::AbuseValidators::NoAbusiveTermLengthValidator6095 when a term is over the limit6096 adds a validation error6097 when all terms are under the limit6098 does NOT add any validation errors6099 when a URL is detected in a search term6100 when under twice the limit6101 does NOT add any validation errors6102 when over twice the limit6103 adds a validation error6104Gitlab::FIPS6105 .enabled?6106 OpenSSL auto-detection6107 OpenSSL is in FIPS mode6108 is expected to be truthy6109 OpenSSL is not in FIPS mode6110 is expected to be falsey6111 manual configuration via env var6112 env var is not set6113 is expected to be falsey6114 env var is set to true6115 is expected to be truthy6116 env var is set to false6117 is expected to be falsey6118Gitlab::JWTToken6119 behaves like a gitlab jwt token6120 #secret6121 is expected to eq "9098afb5fa142287689a9e6c4af0c950a1df3cd71394dbee8d4e28d015e1b6ad"6122 #decode6123 with a custom payload6124 returns the correct token6125 returns nil and logs the exception after expiration6126MergeRequests::Mergeability::CheckCiStatusService6127 #execute6128 when the merge request is in a mergable state6129 returns a check result with status success6130 when the merge request is not in a mergeable state6131 returns a check result with status failed6132 #skip?6133 when skip check is true6134 returns true6135 when skip check is false6136 returns false6137 #cacheable?6138 returns false6139SourcegraphHelper6140 #sourcegraph_url_message6141 with .com sourcegraph url6142 is expected to have text "Uses %{linkStart}Sourcegraph.com%{linkEnd}. This feature is experimental."6143 with custom sourcegraph url6144 is expected to have text "Uses a custom %{linkStart}Sourcegraph instance%{linkEnd}. This feature is experimental."6145 when not limited by feature or public only6146 is expected to eq "Uses %{linkStart}Sourcegraph.com%{linkEnd}. This feature is experimental."6147 when limited by feature6148 is expected to eq "Uses %{linkStart}Sourcegraph.com%{linkEnd}. This feature is experimental and currently limited to certain projects."6149 when limited by public only6150 is expected to eq "Uses %{linkStart}Sourcegraph.com%{linkEnd}. This feature is experimental and limited to public projects."6151Gitlab::Ci::Build::Artifacts::Adapters::RawStream6152 #initialize6153 when stream is passed6154 initialized6155 when stream is not passed6156 raises an error6157 #each_blob6158 when file is not empty6159 iterates content6160 when file is empty6161 does not iterate content6162Gitlab::ImportExport::LogUtil6163 .exportable_to_log_payload6164 when exportable is a group6165 returns hash with group keys6166 when exportable is a project6167 returns hash with project keys6168 when exportable is a new record6169 returns empty hash6170 when exportable is an unexpected type6171 returns empty hash6172Gitlab::GithubImport::Stage::ImportAttachmentsWorker6173 # order random6174 #import6175 imports attachments6176 when stage is disabled6177 skips release attachments import and calls next stage6178Gitlab::Database::Migrations::ReestablishedConnectionStack6179 #with_restored_connection_stack6180 main6181 behaves like reconfigures connection stack6182 does restore connection hierarchy6183 does keep original connection handler6184 ci6185 behaves like reconfigures connection stack6186 does restore connection hierarchy6187 does reconfigure connection handler6188WorkItems::Widgets::Milestone6189 # order random6190 #milestone6191 is expected to eq #<Milestone id:19 namespace664/project841%"My title 1463">6192 .type6193 is expected to eq :milestone6194 #type6195 is expected to eq :milestone6196Types::CommitSignatures::GpgSignatureType6197 # order random6198 is expected to include Types::CommitSignatureInterface6199 contains attributes related to GPG signatures6200 is expected to require graphql authorizations :download_code6201 is expected to eq "GpgSignature"6202Gitlab::DoorkeeperSecretStoring::Secret::Pbkdf2Sha5126203 # order random6204 .transform_secret6205 generates a PBKDF2+SHA512 hashed value in the correct format6206 when hash_oauth_secrets is disabled6207 returns a plaintext secret6208 STRETCHES6209 is 20_0006210 SALT6211 is empty6212 .secret_matches?6213 match by hashing the input if the stored value is hashed6214RssHelper6215 #rss_url_options6216 when signed in6217 includes the current_user's feed_token6218 when signed out6219 does not have a feed_token6220 when feed_token disabled6221 does not have a feed_token6222Backup::DatabaseBackupError6223 is expected to respond to #config6224 is expected to respond to #db_file_name6225 expects exception message to include database file6226 expects exception message to include database paths being back-up6227TrackingHelper6228 #tracking_attrs6229 returns no data if snowplow is disabled6230 returns data hash6231 can return data directly6232Gitlab::EtagCaching::Router6233 .match6234 with RESTful routes6235 matches project pipelines endpoint6236 with GraphQL routes6237 matches pipelines endpoint6238 matches pipeline sha endpoint6239RuboCop::Cop::AvoidBecomes6240 # order random6241 flags the use of becomes with a namespaced constant parameter6242 flags the use of becomes with a dynamic parameter6243 flags the use of becomes with a constant parameter6244Gitlab::GraphqlLogger6245 builds a logger once6246 logging a GraphQL query6247 logs a query from JSON6248RuboCop::Cop::QA::AmbiguousPageObjectName6249 # order random6250 outside of a QA file6251 does not register an offense6252 in a QA file6253 registers an offense for pages named `page`6254 doesnt offend if the page object is named otherwise6255RunnerEntity6256 #as_json6257 contains required fields6258SelfMonitoringProjectDeleteWorker6259 #perform6260 behaves like executes service6261 runs the service6262 .status6263 behaves like returns in_progress based on Sidekiq::Status6264 returns true when job is enqueued6265 returns false when job does not exist6266ActiveRecord::QueryRecorder6267 includes duration information6268 printing to the log6269 prints SQL, duration and backtrace, all prefixed with QueryRecorder6270 detecting the right number of calls and their origin6271 detects two separate queries6272Captcha::CaptchaVerificationService6273 #execute6274 when there is no captcha_response6275 returns false6276 when there is a captcha_response6277 returns false6278 has a request method which returns an object with the ip address #remote_ip6279Types::ContainerRepositorySortEnum6280 is expected to eq "ContainerRepositorySort"6281 exposes all the existing issue sort values6282 behaves like common sort values6283 exposes all the existing common sort values6284FileHookWorker6285 #perform6286 executes Gitlab::FileHook with expected values6287 logs message in case of file_hook execution failure6288JiraConnect::RetryRequestWorker6289 #perform6290 sends the request, with the appropriate headers6291 when the proxied request fails6292 arranges to retry the request6293 when there are no more attempts left6294 does not retry6295Types::WorkItems::Widgets::HierarchyType6296 exposes the expected fields6297Types::Snippets::BlobActionEnum6298 is expected to eq "SnippetBlobActionEnum"6299 exposes all file input action types6300Tooling::VisualReviewHelper6301 #visual_review_toolbar_options6302 returns the correct params6303Types::QueryComplexityType6304 is expected to have graphql fields :limit and :score6305 works when executed6306ClusterWaitForIngressIpAddressWorker6307 #perform6308 finds the application and calls CheckIngressIpAddressService#execute6309Types::Packages::Conan::MetadatumType6310 includes conan metadatum fields6311Gitlab::Usage::Metrics::Instrumentations::HostnameMetric6312 behaves like a correct instrumented metric value6313 has correct value6314HtmlSafetyValidator6315 adds an error when a script is included in the name6316 does not add an error when an ampersand is included in the name6317RuboCop::Cop::Gitlab::RSpec::AvoidSetup6318 # order random6319 without readability issues6320 does not register an offense6321 when calling let_it_be6322 registers an offense6323AccessibilityReportsComparerSerializer6324 #to_json6325 when base report has error and head has a different error6326 matches the schema6327 when base report has no error and head has errors6328 matches the schema6329RuboCop::Cop::Migration::RemoveConcurrentIndex6330 # order random6331 in migration6332 registers an offense when remove_concurrent_index is used inside a change method6333 registers no offense when remove_concurrent_index is used inside an up method6334 outside of migration6335 registers no offense6336Types::DesignManagement::DesignCollectionType6337 is expected to require graphql authorizations :read_design6338 has the expected fields6339Notes::RenderService6340 #execute6341 renders a Note6342Sidebars::Projects::Context6343 sets project attribute reader6344Gitlab::Search::FoundWikiPage6345 policy6346 works with policy6347Types::PermissionTypes::Issue6348 is expected to have graphql field :create_note6349Gitlab::ErrorTracking::Logger6350 .capture_exception6351 calls Gitlab::ErrorTracking::Logger.error with formatted log entry6352Gitlab::Kubernetes::RoleBinding#generate6353 builds a Kubeclient Resource6354Types::Ci::JobArtifactType6355 has the correct fields6356Environments::AutoStopCronWorker6357 executes Environments::AutoStopService6358SystemHookPushWorker6359 #perform6360 executes SystemHooksService with expected values6361Evidences::ProjectEntity6362 exposes the expected fields6363Sidekiq::Cron::Job6364 cron jobs6365 when Fugit depends on ZoTime or EoTime6366 does not get any errors6367Types::Ci::VariableInterface6368 is expected to have graphql fields :id, :key, :raw, :value, and :variable_type6369Gitlab::Ci::Pipeline::Chain::PopulateMetadata6370 # order random6371 with pipeline name6372 does not break the chain6373 with feature flag disabled6374 does not build pipeline_metadata6375 with feature flag enabled6376 builds pipeline_metadata6377 with empty name6378 strips whitespace from name6379 with variables6380 substitutes variables6381 with invalid name6382 returns error and breaks chain6383Knapsack report was generated. Preview:6384{6385 "spec/models/factories_spec.rb": 585.084621087,6386 "spec/models/diff_note_spec.rb": 41.67621756400001,6387 "spec/models/remote_mirror_spec.rb": 30.89464303500006,6388 "spec/lib/gitlab/usage/service_ping_report_spec.rb": 35.70104971000001,6389 "spec/models/concerns/milestoneish_spec.rb": 27.28436444099998,6390 "spec/services/merge_requests/approval_service_spec.rb": 25.18397827900003,6391 "spec/helpers/groups_helper_spec.rb": 21.4657982089999,6392 "spec/services/design_management/delete_designs_service_spec.rb": 19.13741550399982,6393 "spec/uploaders/avatar_uploader_spec.rb": 18.86282362399993,6394 "spec/lib/gitlab/utils_spec.rb": 5.307758780999848,6395 "spec/services/projects/move_access_service_spec.rb": 20.319323569000062,6396 "spec/lib/gitlab/ci/pipeline/chain/validate/external_spec.rb": 13.148590523999928,6397 "spec/services/clusters/applications/check_installation_progress_service_spec.rb": 19.250309242999947,6398 "spec/models/snippet_repository_spec.rb": 15.469788133000065,6399 "spec/lib/gitlab/database/with_lock_retries_outside_transaction_spec.rb": 15.082238794999967,6400 "spec/uploaders/packages/debian/distribution_release_file_uploader_spec.rb": 15.319109042000036,6401 "spec/lib/banzai/filter/references/project_reference_filter_spec.rb": 16.835251910000125,6402 "spec/workers/issues/placement_worker_spec.rb": 15.038856277999912,6403 "spec/lib/gitlab/bitbucket_import/importer_spec.rb": 17.238171101000034,6404 "spec/policies/clusters/cluster_policy_spec.rb": 13.18253894999998,6405 "spec/lib/api/entities/user_spec.rb": 13.175207877000048,6406 "spec/lib/container_registry/gitlab_api_client_spec.rb": 4.5196302289998584,6407 "spec/lib/gitlab/ci/runner/backoff_spec.rb": 3.351408752999987,6408 "spec/models/user_preference_spec.rb": 4.5298749349999525,6409 "spec/lib/gitlab/verify/job_artifacts_spec.rb": 8.839618942000016,6410 "spec/services/issues/resolve_discussions_spec.rb": 10.923691072999873,6411 "spec/lib/gitlab/ci/pipeline/expression/lexeme/not_equals_spec.rb": 3.97127525399992,6412 "spec/models/pages_domain_acme_order_spec.rb": 8.74111192800001,6413 "spec/workers/concerns/application_worker_spec.rb": 3.7395055419999608,6414 "spec/uploaders/terraform/state_uploader_spec.rb": 8.98349131200007,6415 "spec/lib/gitlab/sanitizers/exif_spec.rb": 8.568292021000161,6416 "spec/lib/gitlab/ci/status/build/retryable_spec.rb": 7.728256771999895,6417 "spec/finders/access_requests_finder_spec.rb": 9.068791882999903,6418 "spec/lib/gitlab/ci/build/context/global_spec.rb": 9.847862369999802,6419 "spec/services/environments/schedule_to_delete_review_apps_service_spec.rb": 9.30766593200019,6420 "spec/workers/incident_management/process_alert_worker_v2_spec.rb": 9.486909817999958,6421 "spec/finders/security/license_compliance_jobs_finder_spec.rb": 5.880780564999895,6422 "spec/lib/bulk_imports/common/pipelines/uploads_pipeline_spec.rb": 5.894129572999873,6423 "spec/helpers/users/callouts_helper_spec.rb": 3.478705025000181,6424 "spec/models/snippet_statistics_spec.rb": 5.59338581499992,6425 "spec/lib/banzai/filter/math_filter_spec.rb": 1.7833905309998954,6426 "spec/lib/gitlab/ci/trace/archive_spec.rb": 5.7340994810001575,6427 "spec/services/ci/pipeline_artifacts/coverage_report_service_spec.rb": 5.479750248000073,6428 "spec/models/zoom_meeting_spec.rb": 4.605743103000123,6429 "spec/lib/gitlab/graphql/pagination/active_record_array_connection_spec.rb": 3.1648161430000528,6430 "spec/services/clusters/destroy_service_spec.rb": 7.4010606550000375,6431 "spec/models/ci/build_report_result_spec.rb": 6.900153330999956,6432 "spec/lib/banzai/filter/references/feature_flag_reference_filter_spec.rb": 4.504942509999864,6433 "spec/lib/gitlab/database/transaction/context_spec.rb": 1.4123462009999912,6434 "spec/presenters/snippet_blob_presenter_spec.rb": 5.239827562999835,6435 "spec/lib/gitlab/usage/metrics/instrumentations/database_metric_spec.rb": 4.704953547000059,6436 "spec/lib/gitlab/git/blame_spec.rb": 4.936565893000079,6437 "spec/initializers/secret_token_spec.rb": 3.0525660440000593,6438 "spec/lib/gitlab/diff/file_collection/merge_request_diff_base_spec.rb": 4.142292213000019,6439 "spec/services/lfs/lock_file_service_spec.rb": 5.399569345000145,6440 "spec/models/packages/dependency_link_spec.rb": 4.270055857999978,6441 "spec/lib/backup/database_spec.rb": 4.529483764999895,6442 "spec/lib/gitlab/import_export/file_importer_spec.rb": 2.32841604500004,6443 "spec/services/two_factor/destroy_service_spec.rb": 3.160550164000142,6444 "spec/lib/grafana/client_spec.rb": 2.0898122720000174,6445 "spec/graphql/resolvers/design_management/version/design_at_version_resolver_spec.rb": 3.418630262999841,6446 "spec/models/design_management/action_spec.rb": 2.8212073390000114,6447 "spec/finders/packages/pypi/packages_finder_spec.rb": 2.937840706000088,6448 "spec/lib/gitlab/spamcheck/client_spec.rb": 1.957352948000107,6449 "spec/models/concerns/sensitive_serializable_hash_spec.rb": 1.806133779999982,6450 "spec/lib/gitlab/ci/config/external/file/local_spec.rb": 1.647743193999986,6451 "spec/lib/gitlab/github_import/importer/events/cross_referenced_spec.rb": 2.778411960999847,6452 "spec/models/preloaders/users_max_access_level_in_projects_preloader_spec.rb": 2.899072416999843,6453 "spec/lib/gitlab/analytics/cycle_analytics/aggregated/records_fetcher_spec.rb": 1.5731137550001222,6454 "spec/lib/gitlab/ci/pipeline/duration_spec.rb": 2.181746856000018,6455 "spec/lib/gitlab/diff/rendered/notebook/diff_file_helper_spec.rb": 1.0264108960000158,6456 "spec/models/integrations/bugzilla_spec.rb": 1.3807122539999455,6457 "spec/lib/banzai/filter/upload_link_filter_spec.rb": 1.7106211609998354,6458 "spec/tooling/graphql/docs/renderer_spec.rb": 1.3290712339999118,6459 "spec/workers/gitlab/github_import/advance_stage_worker_spec.rb": 2.7205603229999724,6460 "spec/helpers/environments_helper_spec.rb": 2.481417280999949,6461 "spec/models/packages/debian/group_distribution_key_spec.rb": 1.0854216830000496,6462 "spec/lib/gitlab/ci/pipeline/chain/build_spec.rb": 2.430125337000163,6463 "spec/services/ci/job_token_scope/remove_project_service_spec.rb": 2.618854774000056,6464 "spec/lib/gitlab/memory/watchdog_spec.rb": 1.6551065870000912,6465 "spec/workers/ci/merge_requests/add_todo_when_build_fails_worker_spec.rb": 2.314577119999967,6466 "spec/lib/gitlab/data_builder/wiki_page_spec.rb": 1.6449374680000801,6467 "spec/models/packages/go/module_spec.rb": 2.899436021999918,6468 "spec/policies/clusters/agent_token_policy_spec.rb": 2.5605678310000712,6469 "spec/services/packages/pypi/create_package_service_spec.rb": 2.4318997170000785,6470 "spec/lib/gitlab/sidekiq_middleware/duplicate_jobs/strategies/until_executed_spec.rb": 0.8662912879999567,6471 "spec/services/users/reject_service_spec.rb": 2.9202013599999646,6472 "spec/models/concerns/loose_index_scan_spec.rb": 3.258543590000045,6473 "spec/workers/web_hooks/log_destroy_worker_spec.rb": 2.042735782000136,6474 "spec/models/preloaders/labels_preloader_spec.rb": 3.0753130609998607,6475 "spec/lib/gitlab/git_spec.rb": 1.3384696939999685,6476 "spec/models/concerns/has_user_type_spec.rb": 1.7840564910000012,6477 "spec/sidekiq_cluster/sidekiq_cluster_spec.rb": 1.0499017380000168,6478 "spec/tasks/gitlab/sidekiq_rake_spec.rb": 2.5059236779998173,6479 "spec/workers/repository_update_remote_mirror_worker_spec.rb": 2.3683741940001255,6480 "spec/lib/gitlab/metrics/samplers/action_cable_sampler_spec.rb": 1.252963034000004,6481 "spec/services/metrics/dashboard/gitlab_alert_embed_service_spec.rb": 1.3323742949999087,6482 "spec/lib/gitlab/analytics/cycle_analytics/aggregated/base_query_builder_spec.rb": 1.9743711589999293,6483 "spec/models/x509_issuer_spec.rb": 1.3961937270000817,6484 "spec/models/integrations/shimo_spec.rb": 2.382938362999994,6485 "spec/lib/gitlab/analytics/cycle_analytics/stage_events/issue_stage_end_spec.rb": 1.3690090400000372,6486 "spec/lib/constraints/group_url_constrainer_spec.rb": 1.9334345339998436,6487 "spec/lib/gitlab/email/handler_spec.rb": 0.7536303120000412,6488 "spec/lib/gitlab/metrics/dashboard/repo_dashboard_finder_spec.rb": 1.6537039570000616,6489 "spec/serializers/feature_flag_serializer_spec.rb": 2.969527223999876,6490 "spec/models/bulk_import_spec.rb": 1.7176778179998564,6491 "spec/views/projects/pages_domains/show.html.haml_spec.rb": 2.6580387320000227,6492 "spec/models/concerns/ignorable_columns_spec.rb": 0.5814630150000539,6493 "spec/graphql/mutations/terraform/state/lock_spec.rb": 1.849012091999839,6494 "spec/lib/gitlab/import_export/uploads_saver_spec.rb": 2.8364121409999825,6495 "spec/lib/gitlab/dependency_linker_spec.rb": 1.049999342000092,6496 "spec/lib/gitlab/x509/tag_spec.rb": 1.8122810160000427,6497 "spec/services/packages/cleanup/execute_policy_service_spec.rb": 1.5052942709999115,6498 "spec/lib/gitlab/github_import/representation/diff_notes/suggestion_formatter_spec.rb": 0.5837251539999215,6499 "spec/graphql/resolvers/ci/jobs_resolver_spec.rb": 1.6375927760000195,6500 "spec/services/ci/pipeline_schedules/take_ownership_service_spec.rb": 1.7401624149999861,6501 "spec/lib/gitlab/inactive_projects_deletion_warning_tracker_spec.rb": 0.6200584199998502,6502 "spec/lib/gitlab/phabricator_import/conduit/response_spec.rb": 0.6242999099999906,6503 "spec/presenters/packages/nuget/packages_versions_presenter_spec.rb": 1.773506740999892,6504 "spec/services/users/keys_count_service_spec.rb": 1.5644996439998522,6505 "spec/views/projects/blob/_viewer.html.haml_spec.rb": 0.670404784999846,6506 "spec/lib/gitlab/database/loose_foreign_keys_spec.rb": 1.0568881510000665,6507 "spec/services/bulk_imports/uploads_export_service_spec.rb": 0.8424044659998344,6508 "spec/services/design_management/copy_design_collection/queue_service_spec.rb": 1.932788414000015,6509 "spec/serializers/merge_requests/pipeline_entity_spec.rb": 1.5542251450001459,6510 "spec/lib/gitlab/ci/build/duration_parser_spec.rb": 0.6480046669998956,6511 "spec/workers/ci/retry_pipeline_worker_spec.rb": 1.4761014250000244,6512 "spec/services/packages/update_tags_service_spec.rb": 1.1792461380000532,6513 "spec/serializers/jira_connect/app_data_serializer_spec.rb": 0.681394753999939,6514 "spec/workers/group_export_worker_spec.rb": 1.3034863640000367,6515 "spec/services/ci/build_cancel_service_spec.rb": 1.5694699139999102,6516 "spec/models/namespace/detail_spec.rb": 1.38499260399999,6517 "spec/finders/issuables/crm_organization_filter_spec.rb": 1.6453547859998707,6518 "spec/lib/initializer_connections_spec.rb": 1.1301672930001132,6519 "spec/initializers/pages_storage_check_spec.rb": 0.6111330809999345,6520 "spec/rubocop/cop/gitlab/predicate_memoization_spec.rb": 0.40598930400005884,6521 "spec/services/packages/remove_tag_service_spec.rb": 1.345321548999891,6522 "spec/lib/gitlab/time_tracking_formatter_spec.rb": 0.9331243350000022,6523 "spec/lib/gitlab/github_import/attachments_downloader_spec.rb": 0.6279021499999544,6524 "spec/lib/banzai/commit_renderer_spec.rb": 1.2126535840000088,6525 "spec/lib/gitlab/sql/union_spec.rb": 0.4405395700000554,6526 "spec/views/projects/settings/operations/show.html.haml_spec.rb": 1.10394932600002,6527 "spec/views/projects/imports/new.html.haml_spec.rb": 1.4923274530001436,6528 "spec/lib/gitlab/utils/lazy_attributes_spec.rb": 1.00872468700004,6529 "spec/lib/gitlab/github_import/markdown/attachment_spec.rb": 0.6443244880001657,6530 "spec/lib/gitlab/database/partitioning/replace_table_spec.rb": 0.705617650000022,6531 "spec/serializers/deploy_keys/deploy_key_entity_spec.rb": 1.5600955349998458,6532 "spec/models/system_note_metadata_spec.rb": 0.6367093390001628,6533 "spec/lib/api/entities/branch_spec.rb": 1.368120855999905,6534 "spec/presenters/blobs/notebook_presenter_spec.rb": 1.1039570259999891,6535 "spec/validators/js_regex_validator_spec.rb": 0.91284118700014,6536 "spec/workers/clusters/cleanup/service_account_worker_spec.rb": 1.3027055330001076,6537 "spec/support_specs/matchers/event_store_spec.rb": 0.5194744919999721,6538 "spec/lib/gitlab/database/postgresql_adapter/type_map_cache_spec.rb": 0.8252149370000552,6539 "spec/lib/gitlab/usage_data_counters/source_code_counter_spec.rb": 1.282918815999892,6540 "spec/graphql/resolvers/commit_pipelines_resolver_spec.rb": 1.189388486000098,6541 "spec/lib/sidebars/projects/menus/external_issue_tracker_menu_spec.rb": 0.3258201440000903,6542 "spec/lib/gitlab/ci/mask_secret_spec.rb": 0.6162957310000365,6543 "spec/lib/gitlab/search/abuse_validators/no_abusive_term_length_validator_spec.rb": 0.4223905830001513,6544 "spec/lib/gitlab/fips_spec.rb": 0.4730486670000573,6545 "spec/lib/gitlab/jwt_token_spec.rb": 0.7044290439998804,6546 "spec/services/merge_requests/mergeability/check_ci_status_service_spec.rb": 0.7067579360000309,6547 "spec/helpers/sourcegraph_helper_spec.rb": 0.5099958079999851,6548 "spec/lib/gitlab/ci/build/artifacts/adapters/raw_stream_spec.rb": 0.46104528399996525,6549 "spec/lib/gitlab/import_export/log_util_spec.rb": 0.6059155860000374,6550 "spec/workers/gitlab/github_import/stage/import_attachments_worker_spec.rb": 0.72686821100001,6551 "spec/lib/gitlab/database/migrations/reestablished_connection_stack_spec.rb": 1.0045113920000404,6552 "spec/models/work_items/widgets/milestone_spec.rb": 0.9097662539998055,6553 "spec/graphql/types/commit_signatures/gpg_signature_type_spec.rb": 0.727078431000109,6554 "spec/lib/gitlab/doorkeeper_secret_storing/secret/pbkdf2_sha512_spec.rb": 0.4346594169999207,6555 "spec/helpers/rss_helper_spec.rb": 0.6433858660000169,6556 "spec/lib/backup/database_backup_error_spec.rb": 0.6256380919999174,6557 "spec/helpers/tracking_helper_spec.rb": 0.6050164759999461,6558 "spec/lib/gitlab/etag_caching/router_spec.rb": 0.3079210089999833,6559 "spec/rubocop/cop/avoid_becomes_spec.rb": 0.40813591899996027,6560 "spec/lib/gitlab/graphql_logger_spec.rb": 0.35967292400005135,6561 "spec/rubocop/cop/qa/ambiguous_page_object_name_spec.rb": 0.37023301799990804,6562 "spec/serializers/runner_entity_spec.rb": 0.9423751940000784,6563 "spec/workers/self_monitoring_project_delete_worker_spec.rb": 0.6153770190001069,6564 "spec/support_specs/helpers/active_record/query_recorder_spec.rb": 0.7995342419999361,6565 "spec/services/captcha/captcha_verification_service_spec.rb": 0.6465794879998157,6566 "spec/graphql/types/container_repository_sort_enum_spec.rb": 1.069739219999974,6567 "spec/workers/file_hook_worker_spec.rb": 0.26978734800013626,6568 "spec/workers/jira_connect/retry_request_worker_spec.rb": 0.44010107799999787,6569 "spec/graphql/types/work_items/widgets/hierarchy_type_spec.rb": 0.792946049999955,6570 "spec/graphql/types/snippets/blob_action_enum_spec.rb": 0.5289649940000345,6571 "spec/helpers/tooling/visual_review_helper_spec.rb": 0.23415866799996365,6572 "spec/graphql/types/query_complexity_type_spec.rb": 0.8636522110000442,6573 "spec/workers/cluster_wait_for_ingress_ip_address_worker_spec.rb": 0.4184919010001522,6574 "spec/graphql/types/packages/conan/metadatum_type_spec.rb": 0.5232136019999416,6575 "spec/lib/gitlab/usage/metrics/instrumentations/hostname_metric_spec.rb": 0.3370320079998237,6576 "spec/validators/html_safety_validator_spec.rb": 0.2437236909997864,6577 "spec/rubocop/cop/gitlab/rspec/avoid_setup_spec.rb": 0.8666125720001219,6578 "spec/serializers/accessibility_reports_comparer_serializer_spec.rb": 0.46748228599994945,6579 "spec/rubocop/cop/migration/remove_concurrent_index_spec.rb": 0.8704759830000057,6580 "spec/graphql/types/design_management/design_collection_type_spec.rb": 0.3496708210000179,6581 "spec/services/notes/render_service_spec.rb": 0.4669123460000719,6582 "spec/lib/sidebars/projects/context_spec.rb": 0.903836851999813,6583 "spec/lib/gitlab/search/found_wiki_page_spec.rb": 0.3345839779999551,6584 "spec/graphql/types/permission_types/issue_spec.rb": 0.35708191399999123,6585 "spec/lib/gitlab/error_tracking/logger_spec.rb": 0.3496824320000087,6586 "spec/lib/gitlab/kubernetes/role_binding_spec.rb": 0.301474368000072,6587 "spec/graphql/types/ci/job_artifact_type_spec.rb": 0.4407480880001913,6588 "spec/workers/environments/auto_stop_cron_worker_spec.rb": 0.5351377250001406,6589 "spec/workers/system_hook_push_worker_spec.rb": 0.2163713929999176,6590 "spec/serializers/evidences/project_entity_spec.rb": 0.6292825030000131,6591 "spec/sidekiq/cron/job_gem_dependency_spec.rb": 0.4638241850000213,6592 "spec/graphql/types/ci/variable_interface_spec.rb": 0.5954682130000037,6593 "spec/lib/gitlab/ci/pipeline/chain/populate_metadata_spec.rb": 2.0738317819998436594}6595Knapsack global time execution for tests: 23m 06s6596Pending: (Failures listed here are expected and do not affect your suite's status)6597 1) factories with factory defaults behaves like factory audit_event factory linting :unauthenticated trait does not raise error when created6598 # Trait skipped linting due to legacy error6599 Failure/Error: expect { create(factory.name, trait_name) }.not_to raise_error6600 expected no Exception, got #<NoMethodError: undefined method `target_project' for #<FactoryBot::SyntaxRunner:0x00007f6232cadb18>> with backtrace:6601 # ./spec/factories/audit_events.rb:59:in `block (4 levels) in <top (required)>'6602 # ./spec/models/factories_spec.rb:98:in `block (7 levels) in <top (required)>'6603 # ./spec/models/factories_spec.rb:98:in `block (6 levels) in <top (required)>'6604 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'6605 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'6606 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'6607 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'6608 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'6609 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'6610 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'6611 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'6612 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'6613 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'6614 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'6615 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'6616 Shared Example Group: "factory" called from ./spec/models/factories_spec.rb:1926617 # ./spec/models/factories_spec.rb:98:in `block (6 levels) in <top (required)>'6618 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'6619 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'6620 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'6621 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'6622 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'6623 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'6624 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'6625 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'6626 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'6627 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'6628 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'6629 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'6630 2) factories with factory defaults behaves like factory ci_build_trace_chunk factory linting :fog_with_data trait does not raise error when created6631 # Trait skipped linting due to legacy error6632 Failure/Error: expect { create(factory.name, trait_name) }.not_to raise_error6633 expected no Exception, got #<NoMethodError: undefined method `directories' for nil:NilClass> with backtrace:6634 # ./app/models/ci/build_trace_chunks/fog.rb:119:in `fog_directory'6635 # ./app/models/ci/build_trace_chunks/fog.rb:123:in `files'6636 # ./app/models/ci/build_trace_chunks/fog.rb:25:in `set_data'6637 # ./spec/factories/ci/build_trace_chunks.rb:49:in `block (4 levels) in <top (required)>'6638 # ./spec/models/factories_spec.rb:98:in `block (7 levels) in <top (required)>'6639 # ./spec/models/factories_spec.rb:98:in `block (6 levels) in <top (required)>'6640 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'6641 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'6642 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'6643 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'6644 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'6645 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'6646 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'6647 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'6648 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'6649 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'6650 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'6651 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'6652 Shared Example Group: "factory" called from ./spec/models/factories_spec.rb:1926653 # ./spec/models/factories_spec.rb:98:in `block (6 levels) in <top (required)>'6654 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'6655 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'6656 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'6657 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'6658 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'6659 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'6660 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'6661 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'6662 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'6663 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'6664 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'6665 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'6666 3) factories with factory defaults behaves like factory ci_job_artifact factory linting :remote_store trait does not raise error when created6667 # Trait skipped linting due to legacy error6668 Failure/Error: expect { create(factory.name, trait_name) }.not_to raise_error6669 expected no Exception, got #<RuntimeError: Object Storage is not enabled for JobArtifactUploader> with backtrace:6670 # ./app/uploaders/object_storage.rb:462:in `storage_for'6671 # ./app/uploaders/object_storage.rb:456:in `storage'6672 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:120:in `block in write_using_load_balancer'6673 # ./lib/gitlab/database/load_balancing/load_balancer.rb:122:in `block in read_write'6674 # ./lib/gitlab/database/load_balancing/load_balancer.rb:193:in `retry_with_backoff'6675 # ./lib/gitlab/database/load_balancing/load_balancer.rb:118:in `read_write'6676 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:119:in `write_using_load_balancer'6677 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:71:in `transaction'6678 # ./spec/models/factories_spec.rb:98:in `block (7 levels) in <top (required)>'6679 # ./spec/models/factories_spec.rb:98:in `block (6 levels) in <top (required)>'6680 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'6681 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'6682 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'6683 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'6684 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'6685 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'6686 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'6687 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'6688 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'6689 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'6690 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'6691 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'6692 Shared Example Group: "factory" called from ./spec/models/factories_spec.rb:1926693 # ./spec/models/factories_spec.rb:98:in `block (6 levels) in <top (required)>'6694 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'6695 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'6696 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'6697 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'6698 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'6699 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'6700 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'6701 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'6702 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'6703 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'6704 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'6705 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'6706 4) factories with factory defaults behaves like factory ci_job_artifact factory linting :raw trait does not raise error when created6707 # Trait skipped linting due to legacy error6708 Failure/Error: expect { create(factory.name, trait_name) }.not_to raise_error6709 expected no Exception, got #<ActiveRecord::RecordInvalid: Validation failed: Invalid file format with specified file type> with backtrace:6710 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:120:in `block in write_using_load_balancer'6711 # ./lib/gitlab/database/load_balancing/load_balancer.rb:122:in `block in read_write'6712 # ./lib/gitlab/database/load_balancing/load_balancer.rb:193:in `retry_with_backoff'6713 # ./lib/gitlab/database/load_balancing/load_balancer.rb:118:in `read_write'6714 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:119:in `write_using_load_balancer'6715 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:71:in `transaction'6716 # ./spec/models/factories_spec.rb:98:in `block (7 levels) in <top (required)>'6717 # ./spec/models/factories_spec.rb:98:in `block (6 levels) in <top (required)>'6718 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'6719 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'6720 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'6721 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'6722 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'6723 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'6724 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'6725 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'6726 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'6727 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'6728 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'6729 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'6730 Shared Example Group: "factory" called from ./spec/models/factories_spec.rb:1926731 # ./spec/models/factories_spec.rb:98:in `block (6 levels) in <top (required)>'6732 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'6733 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'6734 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'6735 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'6736 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'6737 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'6738 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'6739 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'6740 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'6741 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'6742 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'6743 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'6744 5) factories with factory defaults behaves like factory ci_job_artifact factory linting :gzip trait does not raise error when created6745 # Trait skipped linting due to legacy error6746 Failure/Error: expect { create(factory.name, trait_name) }.not_to raise_error6747 expected no Exception, got #<ActiveRecord::RecordInvalid: Validation failed: Invalid file format with specified file type> with backtrace:6748 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:120:in `block in write_using_load_balancer'6749 # ./lib/gitlab/database/load_balancing/load_balancer.rb:122:in `block in read_write'6750 # ./lib/gitlab/database/load_balancing/load_balancer.rb:193:in `retry_with_backoff'6751 # ./lib/gitlab/database/load_balancing/load_balancer.rb:118:in `read_write'6752 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:119:in `write_using_load_balancer'6753 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:71:in `transaction'6754 # ./spec/models/factories_spec.rb:98:in `block (7 levels) in <top (required)>'6755 # ./spec/models/factories_spec.rb:98:in `block (6 levels) in <top (required)>'6756 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'6757 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'6758 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'6759 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'6760 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'6761 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'6762 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'6763 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'6764 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'6765 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'6766 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'6767 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'6768 Shared Example Group: "factory" called from ./spec/models/factories_spec.rb:1926769 # ./spec/models/factories_spec.rb:98:in `block (6 levels) in <top (required)>'6770 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'6771 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'6772 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'6773 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'6774 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'6775 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'6776 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'6777 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'6778 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'6779 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'6780 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'6781 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'6782 6) factories with factory defaults behaves like factory ci_job_artifact factory linting :correct_checksum trait does not raise error when created6783 # Trait skipped linting due to legacy error6784 Failure/Error: expect { create(factory.name, trait_name) }.not_to raise_error6785 expected no Exception, got #<TypeError: no implicit conversion of nil into String> with backtrace:6786 # ./spec/factories/ci/job_artifacts.rb:470:in `block (4 levels) in <top (required)>'6787 # ./spec/models/factories_spec.rb:98:in `block (7 levels) in <top (required)>'6788 # ./spec/models/factories_spec.rb:98:in `block (6 levels) in <top (required)>'6789 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'6790 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'6791 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'6792 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'6793 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'6794 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'6795 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'6796 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'6797 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'6798 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'6799 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'6800 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'6801 Shared Example Group: "factory" called from ./spec/models/factories_spec.rb:1926802 # ./spec/models/factories_spec.rb:98:in `block (6 levels) in <top (required)>'6803 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'6804 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'6805 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'6806 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'6807 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'6808 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'6809 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'6810 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'6811 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'6812 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'6813 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'6814 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'6815 7) factories with factory defaults behaves like factory ci_pipeline_artifact factory linting :remote_store trait does not raise error when created6816 # Trait skipped linting due to legacy error6817 Failure/Error: expect { create(factory.name, trait_name) }.not_to raise_error6818 expected no Exception, got #<RuntimeError: Object Storage is not enabled for Ci::PipelineArtifactUploader> with backtrace:6819 # ./app/uploaders/object_storage.rb:462:in `storage_for'6820 # ./app/uploaders/object_storage.rb:456:in `storage'6821 # ./app/uploaders/object_storage.rb:243:in `file_storage?'6822 # ./app/uploaders/gitlab_uploader.rb:59:in `move_to_cache'6823 # ./app/uploaders/object_storage.rb:390:in `cache!'6824 # ./spec/factories/ci/pipeline_artifacts.rb:12:in `block (3 levels) in <top (required)>'6825 # ./spec/models/factories_spec.rb:98:in `block (7 levels) in <top (required)>'6826 # ./spec/models/factories_spec.rb:98:in `block (6 levels) in <top (required)>'6827 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'6828 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'6829 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'6830 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'6831 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'6832 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'6833 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'6834 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'6835 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'6836 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'6837 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'6838 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'6839 Shared Example Group: "factory" called from ./spec/models/factories_spec.rb:1926840 # ./spec/models/factories_spec.rb:98:in `block (6 levels) in <top (required)>'6841 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'6842 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'6843 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'6844 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'6845 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'6846 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'6847 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'6848 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'6849 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'6850 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'6851 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'6852 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'6853 8) factories with factory defaults behaves like factory environment factory linting :non_playable trait does not raise error when created6854 # Trait skipped linting due to legacy error6855 Failure/Error: expect { create(factory.name, trait_name) }.not_to raise_error6856 expected no Exception, got #<NoMethodError: undefined method `status=' for #<Environment:0x00007f62356a8f80>6857 Did you mean? state=> with backtrace:6858 # ./spec/models/factories_spec.rb:98:in `block (7 levels) in <top (required)>'6859 # ./spec/models/factories_spec.rb:98:in `block (6 levels) in <top (required)>'6860 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'6861 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'6862 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'6863 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'6864 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'6865 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'6866 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'6867 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'6868 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'6869 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'6870 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'6871 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'6872 Shared Example Group: "factory" called from ./spec/models/factories_spec.rb:1926873 # ./spec/models/factories_spec.rb:98:in `block (6 levels) in <top (required)>'6874 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'6875 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'6876 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'6877 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'6878 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'6879 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'6880 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'6881 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'6882 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'6883 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'6884 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'6885 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'6886 9) factories with factory defaults behaves like factory lfs_object factory linting :checksummed trait does not raise error when created6887 # Trait skipped linting due to legacy error6888 Failure/Error: expect { create(factory.name, trait_name) }.not_to raise_error6889 expected no Exception, got #<KeyError: Factory not registered: "lfs_object_state"6890 Did you mean? "lfs_object"> with backtrace:6891 # ./spec/models/factories_spec.rb:98:in `block (7 levels) in <top (required)>'6892 # ./spec/models/factories_spec.rb:98:in `block (6 levels) in <top (required)>'6893 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'6894 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'6895 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'6896 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'6897 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'6898 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'6899 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'6900 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'6901 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'6902 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'6903 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'6904 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'6905 Shared Example Group: "factory" called from ./spec/models/factories_spec.rb:1926906 # ./spec/models/factories_spec.rb:98:in `block (6 levels) in <top (required)>'6907 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'6908 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'6909 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'6910 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'6911 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'6912 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'6913 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'6914 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'6915 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'6916 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'6917 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'6918 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'6919 10) factories with factory defaults behaves like factory lfs_object factory linting :checksum_failure trait does not raise error when created6920 # Trait skipped linting due to legacy error6921 Failure/Error: expect { create(factory.name, trait_name) }.not_to raise_error6922 expected no Exception, got #<KeyError: Factory not registered: "lfs_object_state"6923 Did you mean? "lfs_object"> with backtrace:6924 # ./spec/models/factories_spec.rb:98:in `block (7 levels) in <top (required)>'6925 # ./spec/models/factories_spec.rb:98:in `block (6 levels) in <top (required)>'6926 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'6927 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'6928 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'6929 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'6930 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'6931 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'6932 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'6933 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'6934 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'6935 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'6936 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'6937 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'6938 Shared Example Group: "factory" called from ./spec/models/factories_spec.rb:1926939 # ./spec/models/factories_spec.rb:98:in `block (6 levels) in <top (required)>'6940 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'6941 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'6942 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'6943 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'6944 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'6945 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'6946 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'6947 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'6948 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'6949 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'6950 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'6951 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'6952 11) factories with factory defaults behaves like factory merge_request_diff factory linting :verification_succeeded trait does not raise error when created6953 # Trait skipped linting due to legacy error6954 Failure/Error: expect { create(factory.name, trait_name) }.not_to raise_error6955 expected no Exception, got #<NoMethodError: undefined method `file=' for #<MergeRequestDiff:0x00007f627b229f18>> with backtrace:6956 # ./spec/models/factories_spec.rb:98:in `block (7 levels) in <top (required)>'6957 # ./spec/models/factories_spec.rb:98:in `block (6 levels) in <top (required)>'6958 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'6959 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'6960 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'6961 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'6962 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'6963 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'6964 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'6965 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'6966 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'6967 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'6968 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'6969 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'6970 Shared Example Group: "factory" called from ./spec/models/factories_spec.rb:1926971 # ./spec/models/factories_spec.rb:98:in `block (6 levels) in <top (required)>'6972 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'6973 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'6974 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'6975 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'6976 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'6977 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'6978 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'6979 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'6980 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'6981 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'6982 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'6983 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'6984 12) factories with factory defaults behaves like factory merge_request_diff factory linting :verification_failed trait does not raise error when created6985 # Trait skipped linting due to legacy error6986 Failure/Error: expect { create(factory.name, trait_name) }.not_to raise_error6987 expected no Exception, got #<NoMethodError: undefined method `file=' for #<MergeRequestDiff:0x00007f6277d1ca28>> with backtrace:6988 # ./spec/models/factories_spec.rb:98:in `block (7 levels) in <top (required)>'6989 # ./spec/models/factories_spec.rb:98:in `block (6 levels) in <top (required)>'6990 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'6991 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'6992 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'6993 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'6994 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'6995 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'6996 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'6997 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'6998 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'6999 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'7000 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'7001 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'7002 Shared Example Group: "factory" called from ./spec/models/factories_spec.rb:1927003 # ./spec/models/factories_spec.rb:98:in `block (6 levels) in <top (required)>'7004 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'7005 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'7006 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'7007 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'7008 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'7009 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'7010 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'7011 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'7012 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'7013 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'7014 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'7015 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'7016 13) factories with factory defaults behaves like factory merge_request factory linting :blocked trait does not raise error when created7017 # Trait skipped linting due to legacy error7018 Failure/Error: expect { create(factory.name, trait_name) }.not_to raise_error7019 expected no Exception, got #<ActiveRecord::RecordInvalid: Validation failed: Validate branches Another open merge request already exists for this source branch: !1> with backtrace:7020 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:120:in `block in write_using_load_balancer'7021 # ./lib/gitlab/database/load_balancing/load_balancer.rb:122:in `block in read_write'7022 # ./lib/gitlab/database/load_balancing/load_balancer.rb:193:in `retry_with_backoff'7023 # ./lib/gitlab/database/load_balancing/load_balancer.rb:118:in `read_write'7024 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:119:in `write_using_load_balancer'7025 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:71:in `transaction'7026 # ./ee/spec/factories/merge_request_blocks.rb:5:in `block (3 levels) in <top (required)>'7027 # ./ee/spec/factories/merge_requests.rb:13:in `block (4 levels) in <top (required)>'7028 # ./spec/models/factories_spec.rb:98:in `block (7 levels) in <top (required)>'7029 # ./spec/models/factories_spec.rb:98:in `block (6 levels) in <top (required)>'7030 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'7031 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'7032 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'7033 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'7034 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'7035 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'7036 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'7037 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'7038 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'7039 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'7040 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'7041 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'7042 Shared Example Group: "factory" called from ./spec/models/factories_spec.rb:1927043 # ./spec/models/factories_spec.rb:98:in `block (6 levels) in <top (required)>'7044 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'7045 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'7046 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'7047 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'7048 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'7049 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'7050 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'7051 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'7052 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'7053 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'7054 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'7055 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'7056 14) factories with factory defaults behaves like factory composer_cache_file factory linting :object_storage trait does not raise error when created7057 # Trait skipped linting due to legacy error7058 Failure/Error: expect { create(factory.name, trait_name) }.not_to raise_error7059 expected no Exception, got #<RuntimeError: Object Storage is not enabled for Packages::Composer::CacheUploader> with backtrace:7060 # ./app/uploaders/object_storage.rb:462:in `storage_for'7061 # ./app/uploaders/object_storage.rb:456:in `storage'7062 # ./app/uploaders/object_storage.rb:243:in `file_storage?'7063 # ./app/uploaders/gitlab_uploader.rb:59:in `move_to_cache'7064 # ./app/uploaders/object_storage.rb:390:in `cache!'7065 # ./spec/factories/packages/composer/cache_files.rb:13:in `block (3 levels) in <top (required)>'7066 # ./spec/models/factories_spec.rb:98:in `block (7 levels) in <top (required)>'7067 # ./spec/models/factories_spec.rb:98:in `block (6 levels) in <top (required)>'7068 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'7069 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'7070 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'7071 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'7072 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'7073 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'7074 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'7075 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'7076 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'7077 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'7078 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'7079 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'7080 Shared Example Group: "factory" called from ./spec/models/factories_spec.rb:1927081 # ./spec/models/factories_spec.rb:98:in `block (6 levels) in <top (required)>'7082 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'7083 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'7084 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'7085 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'7086 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'7087 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'7088 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'7089 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'7090 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'7091 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'7092 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'7093 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'7094 15) factories with factory defaults behaves like factory debian_project_component_file factory linting :object_storage trait does not raise error when created7095 # Trait skipped linting due to legacy error7096 Failure/Error: expect { create(factory.name, trait_name) }.not_to raise_error7097 expected no Exception, got #<RuntimeError: Object Storage is not enabled for Packages::Debian::ComponentFileUploader> with backtrace:7098 # ./app/uploaders/object_storage.rb:462:in `storage_for'7099 # ./app/uploaders/object_storage.rb:456:in `storage'7100 # ./app/uploaders/object_storage.rb:243:in `file_storage?'7101 # ./app/uploaders/gitlab_uploader.rb:59:in `move_to_cache'7102 # ./app/uploaders/object_storage.rb:390:in `cache!'7103 # ./spec/factories/packages/debian/component_file.rb:20:in `block (3 levels) in <top (required)>'7104 # ./spec/models/factories_spec.rb:98:in `block (7 levels) in <top (required)>'7105 # ./spec/models/factories_spec.rb:98:in `block (6 levels) in <top (required)>'7106 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'7107 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'7108 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'7109 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'7110 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'7111 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'7112 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'7113 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'7114 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'7115 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'7116 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'7117 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'7118 Shared Example Group: "factory" called from ./spec/models/factories_spec.rb:1927119 # ./spec/models/factories_spec.rb:98:in `block (6 levels) in <top (required)>'7120 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'7121 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'7122 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'7123 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'7124 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'7125 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'7126 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'7127 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'7128 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'7129 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'7130 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'7131 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'7132 16) factories with factory defaults behaves like factory debian_project_distribution factory linting :object_storage trait does not raise error when created7133 # Trait skipped linting due to legacy error7134 Failure/Error: expect { create(factory.name, trait_name) }.not_to raise_error7135 expected no Exception, got #<RuntimeError: Object Storage is not enabled for Packages::Debian::DistributionReleaseFileUploader> with backtrace:7136 # ./app/uploaders/object_storage.rb:462:in `storage_for'7137 # ./app/uploaders/object_storage.rb:456:in `storage'7138 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:120:in `block in write_using_load_balancer'7139 # ./lib/gitlab/database/load_balancing/load_balancer.rb:122:in `block in read_write'7140 # ./lib/gitlab/database/load_balancing/load_balancer.rb:193:in `retry_with_backoff'7141 # ./lib/gitlab/database/load_balancing/load_balancer.rb:118:in `read_write'7142 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:119:in `write_using_load_balancer'7143 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:71:in `transaction'7144 # ./spec/models/factories_spec.rb:98:in `block (7 levels) in <top (required)>'7145 # ./spec/models/factories_spec.rb:98:in `block (6 levels) in <top (required)>'7146 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'7147 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'7148 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'7149 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'7150 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'7151 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'7152 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'7153 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'7154 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'7155 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'7156 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'7157 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'7158 Shared Example Group: "factory" called from ./spec/models/factories_spec.rb:1927159 # ./spec/models/factories_spec.rb:98:in `block (6 levels) in <top (required)>'7160 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'7161 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'7162 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'7163 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'7164 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'7165 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'7166 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'7167 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'7168 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'7169 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'7170 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'7171 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'7172 17) factories with factory defaults behaves like factory debian_file_metadatum factory linting :unknown trait does not raise error when created7173 # Trait skipped linting due to legacy error7174 Failure/Error: expect { create(factory.name, trait_name) }.not_to raise_error7175 expected no Exception, got #<ActiveRecord::RecordInvalid: Validation failed: File type is not included in the list> with backtrace:7176 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:120:in `block in write_using_load_balancer'7177 # ./lib/gitlab/database/load_balancing/load_balancer.rb:122:in `block in read_write'7178 # ./lib/gitlab/database/load_balancing/load_balancer.rb:193:in `retry_with_backoff'7179 # ./lib/gitlab/database/load_balancing/load_balancer.rb:118:in `read_write'7180 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:119:in `write_using_load_balancer'7181 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:71:in `transaction'7182 # ./spec/models/factories_spec.rb:98:in `block (7 levels) in <top (required)>'7183 # ./spec/models/factories_spec.rb:98:in `block (6 levels) in <top (required)>'7184 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'7185 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'7186 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'7187 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'7188 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'7189 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'7190 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'7191 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'7192 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'7193 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'7194 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'7195 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'7196 Shared Example Group: "factory" called from ./spec/models/factories_spec.rb:1927197 # ./spec/models/factories_spec.rb:98:in `block (6 levels) in <top (required)>'7198 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'7199 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'7200 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'7201 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'7202 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'7203 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'7204 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'7205 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'7206 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'7207 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'7208 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'7209 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'7210 18) factories with factory defaults behaves like factory package_file factory linting :object_storage trait does not raise error when created7211 # Trait skipped linting due to legacy error7212 Failure/Error: expect { create(factory.name, trait_name) }.not_to raise_error7213 expected no Exception, got #<RuntimeError: Object Storage is not enabled for Packages::PackageFileUploader> with backtrace:7214 # ./app/uploaders/object_storage.rb:462:in `storage_for'7215 # ./app/uploaders/object_storage.rb:456:in `storage'7216 # ./app/uploaders/object_storage.rb:243:in `file_storage?'7217 # ./app/uploaders/gitlab_uploader.rb:59:in `move_to_cache'7218 # ./app/uploaders/object_storage.rb:390:in `cache!'7219 # ./spec/factories/packages/package_files.rb:16:in `block (3 levels) in <top (required)>'7220 # ./spec/models/factories_spec.rb:98:in `block (7 levels) in <top (required)>'7221 # ./spec/models/factories_spec.rb:98:in `block (6 levels) in <top (required)>'7222 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'7223 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'7224 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'7225 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'7226 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'7227 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'7228 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'7229 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'7230 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'7231 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'7232 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'7233 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'7234 Shared Example Group: "factory" called from ./spec/models/factories_spec.rb:1927235 # ./spec/models/factories_spec.rb:98:in `block (6 levels) in <top (required)>'7236 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'7237 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'7238 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'7239 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'7240 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'7241 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'7242 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'7243 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'7244 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'7245 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'7246 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'7247 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'7248 19) factories with factory defaults behaves like factory package_file factory linting :verification_succeeded trait does not raise error when created7249 # Trait skipped linting due to legacy error7250 Failure/Error: expect { create(factory.name, trait_name) }.not_to raise_error7251 expected no Exception, got #<ArgumentError: wrong number of arguments (given 0, expected 1)> with backtrace:7252 # ./ee/app/models/concerns/geo/verification_state.rb:62:in `verification_state_value'7253 # ./ee/spec/factories/packages/package_file.rb:7:in `block (4 levels) in <top (required)>'7254 # ./spec/models/factories_spec.rb:98:in `block (7 levels) in <top (required)>'7255 # ./spec/models/factories_spec.rb:98:in `block (6 levels) in <top (required)>'7256 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'7257 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'7258 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'7259 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'7260 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'7261 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'7262 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'7263 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'7264 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'7265 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'7266 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'7267 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'7268 Shared Example Group: "factory" called from ./spec/models/factories_spec.rb:1927269 # ./spec/models/factories_spec.rb:98:in `block (6 levels) in <top (required)>'7270 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'7271 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'7272 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'7273 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'7274 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'7275 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'7276 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'7277 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'7278 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'7279 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'7280 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'7281 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'7282 20) factories with factory defaults behaves like factory package_file factory linting :verification_failed trait does not raise error when created7283 # Trait skipped linting due to legacy error7284 Failure/Error: expect { create(factory.name, trait_name) }.not_to raise_error7285 expected no Exception, got #<ArgumentError: wrong number of arguments (given 0, expected 1)> with backtrace:7286 # ./ee/app/models/concerns/geo/verification_state.rb:62:in `verification_state_value'7287 # ./ee/spec/factories/packages/package_file.rb:12:in `block (4 levels) in <top (required)>'7288 # ./spec/models/factories_spec.rb:98:in `block (7 levels) in <top (required)>'7289 # ./spec/models/factories_spec.rb:98:in `block (6 levels) in <top (required)>'7290 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'7291 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'7292 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'7293 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'7294 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'7295 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'7296 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'7297 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'7298 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'7299 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'7300 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'7301 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'7302 Shared Example Group: "factory" called from ./spec/models/factories_spec.rb:1927303 # ./spec/models/factories_spec.rb:98:in `block (6 levels) in <top (required)>'7304 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'7305 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'7306 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'7307 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'7308 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'7309 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'7310 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'7311 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'7312 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'7313 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'7314 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'7315 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'7316 21) factories with factory defaults behaves like factory rpm_repository_file factory linting :object_storage trait does not raise error when created7317 # Trait skipped linting due to legacy error7318 Failure/Error: expect { create(factory.name, trait_name) }.not_to raise_error7319 expected no Exception, got #<RuntimeError: Object Storage is not enabled for Packages::Rpm::RepositoryFileUploader> with backtrace:7320 # ./app/uploaders/object_storage.rb:462:in `storage_for'7321 # ./app/uploaders/object_storage.rb:456:in `storage'7322 # ./app/uploaders/object_storage.rb:243:in `file_storage?'7323 # ./app/uploaders/gitlab_uploader.rb:59:in `move_to_cache'7324 # ./app/uploaders/object_storage.rb:390:in `cache!'7325 # ./spec/factories/packages/rpm/rpm_repository_files.rb:27:in `block (3 levels) in <top (required)>'7326 # ./spec/models/factories_spec.rb:98:in `block (7 levels) in <top (required)>'7327 # ./spec/models/factories_spec.rb:98:in `block (6 levels) in <top (required)>'7328 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'7329 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'7330 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'7331 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'7332 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'7333 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'7334 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'7335 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'7336 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'7337 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'7338 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'7339 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'7340 Shared Example Group: "factory" called from ./spec/models/factories_spec.rb:1927341 # ./spec/models/factories_spec.rb:98:in `block (6 levels) in <top (required)>'7342 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'7343 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'7344 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'7345 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'7346 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'7347 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'7348 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'7349 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'7350 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'7351 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'7352 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'7353 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'7354 22) factories with factory defaults behaves like factory pages_domain factory linting :without_certificate trait does not raise error when created7355 # Trait skipped linting due to legacy error7356 Failure/Error: expect { create(factory.name, trait_name) }.not_to raise_error7357 expected no Exception, got #<ActiveRecord::RecordInvalid: Validation failed: Key doesn't match the certificate> with backtrace:7358 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:120:in `block in write_using_load_balancer'7359 # ./lib/gitlab/database/load_balancing/load_balancer.rb:122:in `block in read_write'7360 # ./lib/gitlab/database/load_balancing/load_balancer.rb:193:in `retry_with_backoff'7361 # ./lib/gitlab/database/load_balancing/load_balancer.rb:118:in `read_write'7362 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:119:in `write_using_load_balancer'7363 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:71:in `transaction'7364 # ./spec/models/factories_spec.rb:98:in `block (7 levels) in <top (required)>'7365 # ./spec/models/factories_spec.rb:98:in `block (6 levels) in <top (required)>'7366 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'7367 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'7368 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'7369 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'7370 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'7371 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'7372 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'7373 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'7374 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'7375 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'7376 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'7377 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'7378 Shared Example Group: "factory" called from ./spec/models/factories_spec.rb:1927379 # ./spec/models/factories_spec.rb:98:in `block (6 levels) in <top (required)>'7380 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'7381 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'7382 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'7383 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'7384 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'7385 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'7386 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'7387 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'7388 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'7389 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'7390 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'7391 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'7392 23) factories with factory defaults behaves like factory pages_domain factory linting :without_key trait does not raise error when created7393 # Trait skipped linting due to legacy error7394 Failure/Error: expect { create(factory.name, trait_name) }.not_to raise_error7395 expected no Exception, got #<ActiveRecord::RecordInvalid: Validation failed: Key doesn't match the certificate> with backtrace:7396 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:120:in `block in write_using_load_balancer'7397 # ./lib/gitlab/database/load_balancing/load_balancer.rb:122:in `block in read_write'7398 # ./lib/gitlab/database/load_balancing/load_balancer.rb:193:in `retry_with_backoff'7399 # ./lib/gitlab/database/load_balancing/load_balancer.rb:118:in `read_write'7400 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:119:in `write_using_load_balancer'7401 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:71:in `transaction'7402 # ./spec/models/factories_spec.rb:98:in `block (7 levels) in <top (required)>'7403 # ./spec/models/factories_spec.rb:98:in `block (6 levels) in <top (required)>'7404 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'7405 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'7406 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'7407 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'7408 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'7409 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'7410 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'7411 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'7412 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'7413 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'7414 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'7415 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'7416 Shared Example Group: "factory" called from ./spec/models/factories_spec.rb:1927417 # ./spec/models/factories_spec.rb:98:in `block (6 levels) in <top (required)>'7418 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'7419 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'7420 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'7421 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'7422 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'7423 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'7424 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'7425 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'7426 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'7427 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'7428 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'7429 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'7430 24) factories with factory defaults behaves like factory pages_domain factory linting :with_missing_chain trait does not raise error when created7431 # Trait skipped linting due to legacy error7432 Failure/Error: expect { create(factory.name, trait_name) }.not_to raise_error7433 expected no Exception, got #<ActiveRecord::RecordInvalid: Validation failed: Key doesn't match the certificate, Certificate misses intermediates> with backtrace:7434 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:120:in `block in write_using_load_balancer'7435 # ./lib/gitlab/database/load_balancing/load_balancer.rb:122:in `block in read_write'7436 # ./lib/gitlab/database/load_balancing/load_balancer.rb:193:in `retry_with_backoff'7437 # ./lib/gitlab/database/load_balancing/load_balancer.rb:118:in `read_write'7438 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:119:in `write_using_load_balancer'7439 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:71:in `transaction'7440 # ./spec/models/factories_spec.rb:98:in `block (7 levels) in <top (required)>'7441 # ./spec/models/factories_spec.rb:98:in `block (6 levels) in <top (required)>'7442 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'7443 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'7444 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'7445 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'7446 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'7447 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'7448 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'7449 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'7450 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'7451 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'7452 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'7453 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'7454 Shared Example Group: "factory" called from ./spec/models/factories_spec.rb:1927455 # ./spec/models/factories_spec.rb:98:in `block (6 levels) in <top (required)>'7456 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'7457 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'7458 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'7459 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'7460 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'7461 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'7462 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'7463 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'7464 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'7465 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'7466 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'7467 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'7468 25) factories with factory defaults behaves like factory pages_domain factory linting :with_trusted_chain trait does not raise error when created7469 # Trait skipped linting due to legacy error7470 Failure/Error: expect { create(factory.name, trait_name) }.not_to raise_error7471 expected no Exception, got #<ActiveRecord::RecordInvalid: Validation failed: Key doesn't match the certificate> with backtrace:7472 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:120:in `block in write_using_load_balancer'7473 # ./lib/gitlab/database/load_balancing/load_balancer.rb:122:in `block in read_write'7474 # ./lib/gitlab/database/load_balancing/load_balancer.rb:193:in `retry_with_backoff'7475 # ./lib/gitlab/database/load_balancing/load_balancer.rb:118:in `read_write'7476 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:119:in `write_using_load_balancer'7477 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:71:in `transaction'7478 # ./spec/models/factories_spec.rb:98:in `block (7 levels) in <top (required)>'7479 # ./spec/models/factories_spec.rb:98:in `block (6 levels) in <top (required)>'7480 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'7481 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'7482 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'7483 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'7484 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'7485 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'7486 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'7487 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'7488 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'7489 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'7490 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'7491 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'7492 Shared Example Group: "factory" called from ./spec/models/factories_spec.rb:1927493 # ./spec/models/factories_spec.rb:98:in `block (6 levels) in <top (required)>'7494 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'7495 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'7496 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'7497 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'7498 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'7499 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'7500 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'7501 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'7502 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'7503 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'7504 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'7505 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'7506 26) factories with factory defaults behaves like factory pages_domain factory linting :with_trusted_expired_chain trait does not raise error when created7507 # Trait skipped linting due to legacy error7508 Failure/Error: expect { create(factory.name, trait_name) }.not_to raise_error7509 expected no Exception, got #<ActiveRecord::RecordInvalid: Validation failed: Key doesn't match the certificate, Certificate misses intermediates> with backtrace:7510 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:120:in `block in write_using_load_balancer'7511 # ./lib/gitlab/database/load_balancing/load_balancer.rb:122:in `block in read_write'7512 # ./lib/gitlab/database/load_balancing/load_balancer.rb:193:in `retry_with_backoff'7513 # ./lib/gitlab/database/load_balancing/load_balancer.rb:118:in `read_write'7514 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:119:in `write_using_load_balancer'7515 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:71:in `transaction'7516 # ./spec/models/factories_spec.rb:98:in `block (7 levels) in <top (required)>'7517 # ./spec/models/factories_spec.rb:98:in `block (6 levels) in <top (required)>'7518 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'7519 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'7520 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'7521 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'7522 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'7523 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'7524 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'7525 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'7526 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'7527 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'7528 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'7529 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'7530 Shared Example Group: "factory" called from ./spec/models/factories_spec.rb:1927531 # ./spec/models/factories_spec.rb:98:in `block (6 levels) in <top (required)>'7532 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'7533 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'7534 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'7535 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'7536 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'7537 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'7538 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'7539 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'7540 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'7541 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'7542 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'7543 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'7544 27) factories with factory defaults behaves like factory pages_domain factory linting :explicit_ecdsa trait does not raise error when created7545 # Trait skipped linting due to legacy error7546 Failure/Error: expect { create(factory.name, trait_name) }.not_to raise_error7547 expected no Exception, got #<ActiveRecord::RecordInvalid: Validation failed: Key ECDSA keys with explicit curves are not supported> with backtrace:7548 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:120:in `block in write_using_load_balancer'7549 # ./lib/gitlab/database/load_balancing/load_balancer.rb:122:in `block in read_write'7550 # ./lib/gitlab/database/load_balancing/load_balancer.rb:193:in `retry_with_backoff'7551 # ./lib/gitlab/database/load_balancing/load_balancer.rb:118:in `read_write'7552 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:119:in `write_using_load_balancer'7553 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:71:in `transaction'7554 # ./spec/models/factories_spec.rb:98:in `block (7 levels) in <top (required)>'7555 # ./spec/models/factories_spec.rb:98:in `block (6 levels) in <top (required)>'7556 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'7557 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'7558 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'7559 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'7560 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'7561 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'7562 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'7563 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'7564 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'7565 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'7566 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'7567 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'7568 Shared Example Group: "factory" called from ./spec/models/factories_spec.rb:1927569 # ./spec/models/factories_spec.rb:98:in `block (6 levels) in <top (required)>'7570 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'7571 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'7572 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'7573 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'7574 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'7575 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'7576 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'7577 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'7578 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'7579 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'7580 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'7581 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'7582 28) factories with factory defaults behaves like factory project_member factory linting :blocked trait does not raise error when created7583 # Trait skipped linting due to legacy error7584 Failure/Error: expect { create(factory.name, trait_name) }.not_to raise_error7585 expected no Exception, got #<FrozenError: can't modify frozen attributes> with backtrace:7586 # ./spec/factories/project_members.rb:26:in `block (4 levels) in <top (required)>'7587 # ./spec/models/factories_spec.rb:98:in `block (7 levels) in <top (required)>'7588 # ./spec/models/factories_spec.rb:98:in `block (6 levels) in <top (required)>'7589 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'7590 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'7591 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'7592 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'7593 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'7594 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'7595 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'7596 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'7597 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'7598 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'7599 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'7600 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'7601 Shared Example Group: "factory" called from ./spec/models/factories_spec.rb:1927602 # ./spec/models/factories_spec.rb:98:in `block (6 levels) in <top (required)>'7603 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'7604 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'7605 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'7606 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'7607 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'7608 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'7609 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'7610 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'7611 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'7612 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'7613 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'7614 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'7615 29) factories with factory defaults behaves like factory project factory linting :with_vulnerabilities trait does not raise error when created7616 # Trait skipped linting due to legacy error7617 Failure/Error: expect { create(factory.name, trait_name) }.not_to raise_error7618 expected no Exception, got #<ActiveRecord::RecordNotUnique: PG::UniqueViolation: ERROR: duplicate key value violates unique con...IL: Key (project_id, fingerprint)=(1, \x52d084cede3db8fafcd6b8ae382ddf1970da3b7f) already exists.7619 > with backtrace:7620 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:120:in `block in write_using_load_balancer'7621 # ./lib/gitlab/database/load_balancing/load_balancer.rb:122:in `block in read_write'7622 # ./lib/gitlab/database/load_balancing/load_balancer.rb:193:in `retry_with_backoff'7623 # ./lib/gitlab/database/load_balancing/load_balancer.rb:118:in `read_write'7624 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:119:in `write_using_load_balancer'7625 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:61:in `block (2 levels) in <class:ConnectionProxy>'7626 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:120:in `block in write_using_load_balancer'7627 # ./lib/gitlab/database/load_balancing/load_balancer.rb:122:in `block in read_write'7628 # ./lib/gitlab/database/load_balancing/load_balancer.rb:193:in `retry_with_backoff'7629 # ./lib/gitlab/database/load_balancing/load_balancer.rb:118:in `read_write'7630 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:119:in `write_using_load_balancer'7631 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:71:in `transaction'7632 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:120:in `block in write_using_load_balancer'7633 # ./lib/gitlab/database/load_balancing/load_balancer.rb:122:in `block in read_write'7634 # ./lib/gitlab/database/load_balancing/load_balancer.rb:193:in `retry_with_backoff'7635 # ./lib/gitlab/database/load_balancing/load_balancer.rb:118:in `read_write'7636 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:119:in `write_using_load_balancer'7637 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:71:in `transaction'7638 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:120:in `block in write_using_load_balancer'7639 # ./lib/gitlab/database/load_balancing/load_balancer.rb:122:in `block in read_write'7640 # ./lib/gitlab/database/load_balancing/load_balancer.rb:193:in `retry_with_backoff'7641 # ./lib/gitlab/database/load_balancing/load_balancer.rb:118:in `read_write'7642 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:119:in `write_using_load_balancer'7643 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:71:in `transaction'7644 # ./ee/spec/factories/projects.rb:38:in `block (4 levels) in <top (required)>'7645 # ./spec/models/factories_spec.rb:98:in `block (7 levels) in <top (required)>'7646 # ./spec/models/factories_spec.rb:98:in `block (6 levels) in <top (required)>'7647 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'7648 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'7649 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'7650 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'7651 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'7652 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'7653 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'7654 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'7655 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'7656 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'7657 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'7658 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'7659 Shared Example Group: "factory" called from ./spec/models/factories_spec.rb:1927660 # ./spec/models/factories_spec.rb:98:in `block (6 levels) in <top (required)>'7661 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'7662 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'7663 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'7664 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'7665 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'7666 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'7667 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'7668 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'7669 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'7670 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'7671 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'7672 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'7673 30) factories with factory defaults behaves like factory remote_mirror factory linting :ssh trait does not raise error when created7674 # Trait skipped linting due to legacy error7675 Failure/Error: expect { create(factory.name, trait_name) }.not_to raise_error7676 expected no Exception, got #<ActiveRecord::RecordInvalid: Validation failed: Url is blocked: URI is invalid> with backtrace:7677 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:120:in `block in write_using_load_balancer'7678 # ./lib/gitlab/database/load_balancing/load_balancer.rb:122:in `block in read_write'7679 # ./lib/gitlab/database/load_balancing/load_balancer.rb:193:in `retry_with_backoff'7680 # ./lib/gitlab/database/load_balancing/load_balancer.rb:118:in `read_write'7681 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:119:in `write_using_load_balancer'7682 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:71:in `transaction'7683 # ./spec/models/factories_spec.rb:98:in `block (7 levels) in <top (required)>'7684 # ./spec/models/factories_spec.rb:98:in `block (6 levels) in <top (required)>'7685 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'7686 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'7687 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'7688 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'7689 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'7690 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'7691 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'7692 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'7693 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'7694 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'7695 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'7696 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'7697 Shared Example Group: "factory" called from ./spec/models/factories_spec.rb:1927698 # ./spec/models/factories_spec.rb:98:in `block (6 levels) in <top (required)>'7699 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'7700 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'7701 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'7702 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'7703 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'7704 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'7705 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'7706 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'7707 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'7708 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'7709 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'7710 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'7711 31) factories with factory defaults behaves like factory user_preference factory linting :only_comments trait does not raise error when created7712 # Trait skipped linting due to legacy error7713 Failure/Error: expect { create(factory.name, trait_name) }.not_to raise_error7714 expected no Exception, got #<NameError: uninitialized constant #<Class:0x00007f6278b46db0>::NOTE_FILTERS7715 Did you mean? UserPreference::NOTES_FILTERS> with backtrace:7716 # ./spec/factories/user_preferences.rb:9:in `block (4 levels) in <top (required)>'7717 # ./spec/models/factories_spec.rb:98:in `block (7 levels) in <top (required)>'7718 # ./spec/models/factories_spec.rb:98:in `block (6 levels) in <top (required)>'7719 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'7720 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'7721 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'7722 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'7723 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'7724 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'7725 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'7726 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'7727 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'7728 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'7729 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'7730 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'7731 Shared Example Group: "factory" called from ./spec/models/factories_spec.rb:1927732 # ./spec/models/factories_spec.rb:98:in `block (6 levels) in <top (required)>'7733 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'7734 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'7735 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'7736 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'7737 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'7738 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'7739 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'7740 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'7741 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'7742 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'7743 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'7744 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'7745 32) factories with factory defaults behaves like factory ee_ci_build factory linting :dependency_scanning_report trait does not raise error when created7746 # Trait skipped linting due to legacy error7747 Failure/Error: expect { create(factory.name, trait_name) }.not_to raise_error7748 expected no Exception, got #<KeyError: Trait not registered: "dependency_scanning_report"> with backtrace:7749 # ./ee/spec/factories/ci/builds.rb:117:in `block (4 levels) in <top (required)>'7750 # ./spec/models/factories_spec.rb:98:in `block (7 levels) in <top (required)>'7751 # ./spec/models/factories_spec.rb:98:in `block (6 levels) in <top (required)>'7752 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'7753 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'7754 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'7755 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'7756 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'7757 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'7758 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'7759 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'7760 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'7761 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'7762 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'7763 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'7764 Shared Example Group: "factory" called from ./spec/models/factories_spec.rb:1927765 # ./spec/models/factories_spec.rb:98:in `block (6 levels) in <top (required)>'7766 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'7767 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'7768 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'7769 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'7770 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'7771 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'7772 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'7773 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'7774 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'7775 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'7776 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'7777 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'7778 33) factories with factory defaults behaves like factory ee_ci_build factory linting :license_scan_v1 trait does not raise error when created7779 # Trait skipped linting due to legacy error7780 Failure/Error: expect { create(factory.name, trait_name) }.not_to raise_error7781 expected no Exception, got #<RuntimeError: /builds/gitlab-org/gitlab/ee/spec/fixtures/security_reports/license_compliance/gl-license-scanning-report-v1.json file does not exist> with backtrace:7782 # ./spec/spec_helper.rb:488:in `initialize_from_file_path'7783 # ./spec/support/factory_bot.rb:12:in `new'7784 # ./spec/support/factory_bot.rb:12:in `fixture_file_upload'7785 # ./ee/spec/factories/ci/job_artifacts.rb:362:in `block (5 levels) in <top (required)>'7786 # ./ee/spec/factories/ci/builds.rb:148:in `block (5 levels) in <top (required)>'7787 # ./spec/models/factories_spec.rb:98:in `block (7 levels) in <top (required)>'7788 # ./spec/models/factories_spec.rb:98:in `block (6 levels) in <top (required)>'7789 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'7790 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'7791 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'7792 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'7793 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'7794 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'7795 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'7796 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'7797 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'7798 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'7799 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'7800 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'7801 Shared Example Group: "factory" called from ./spec/models/factories_spec.rb:1927802 # ./spec/models/factories_spec.rb:98:in `block (6 levels) in <top (required)>'7803 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'7804 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'7805 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'7806 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'7807 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'7808 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'7809 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'7810 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'7811 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'7812 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'7813 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'7814 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'7815 34) factories with factory defaults behaves like factory ee_ci_job_artifact factory linting :v1 trait does not raise error when created7816 # Trait skipped linting due to legacy error7817 Failure/Error: expect { create(factory.name, trait_name) }.not_to raise_error7818 expected no Exception, got #<RuntimeError: /builds/gitlab-org/gitlab/ee/spec/fixtures/security_reports/license_compliance/gl-archive-report-v1.json file does not exist> with backtrace:7819 # ./spec/spec_helper.rb:488:in `initialize_from_file_path'7820 # ./spec/support/factory_bot.rb:12:in `new'7821 # ./spec/support/factory_bot.rb:12:in `fixture_file_upload'7822 # ./ee/spec/factories/ci/job_artifacts.rb:362:in `block (5 levels) in <top (required)>'7823 # ./spec/models/factories_spec.rb:98:in `block (7 levels) in <top (required)>'7824 # ./spec/models/factories_spec.rb:98:in `block (6 levels) in <top (required)>'7825 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'7826 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'7827 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'7828 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'7829 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'7830 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'7831 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'7832 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'7833 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'7834 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'7835 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'7836 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'7837 Shared Example Group: "factory" called from ./spec/models/factories_spec.rb:1927838 # ./spec/models/factories_spec.rb:98:in `block (6 levels) in <top (required)>'7839 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'7840 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'7841 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'7842 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'7843 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'7844 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'7845 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'7846 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'7847 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'7848 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'7849 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'7850 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'7851 35) factories with factory defaults behaves like factory ee_ci_job_artifact factory linting :v1_1 trait does not raise error when created7852 # Trait skipped linting due to legacy error7853 Failure/Error: expect { create(factory.name, trait_name) }.not_to raise_error7854 expected no Exception, got #<RuntimeError: /builds/gitlab-org/gitlab/ee/spec/fixtures/security_reports/license_compliance/gl-archive-report-v1.1.json file does not exist> with backtrace:7855 # ./spec/spec_helper.rb:488:in `initialize_from_file_path'7856 # ./spec/support/factory_bot.rb:12:in `new'7857 # ./spec/support/factory_bot.rb:12:in `fixture_file_upload'7858 # ./ee/spec/factories/ci/job_artifacts.rb:362:in `block (5 levels) in <top (required)>'7859 # ./spec/models/factories_spec.rb:98:in `block (7 levels) in <top (required)>'7860 # ./spec/models/factories_spec.rb:98:in `block (6 levels) in <top (required)>'7861 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'7862 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'7863 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'7864 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'7865 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'7866 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'7867 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'7868 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'7869 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'7870 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'7871 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'7872 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'7873 Shared Example Group: "factory" called from ./spec/models/factories_spec.rb:1927874 # ./spec/models/factories_spec.rb:98:in `block (6 levels) in <top (required)>'7875 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'7876 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'7877 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'7878 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'7879 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'7880 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'7881 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'7882 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'7883 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'7884 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'7885 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'7886 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'7887 36) factories with factory defaults behaves like factory ee_ci_job_artifact factory linting :v2 trait does not raise error when created7888 # Trait skipped linting due to legacy error7889 Failure/Error: expect { create(factory.name, trait_name) }.not_to raise_error7890 expected no Exception, got #<RuntimeError: /builds/gitlab-org/gitlab/ee/spec/fixtures/security_reports/license_compliance/gl-archive-report-v2.json file does not exist> with backtrace:7891 # ./spec/spec_helper.rb:488:in `initialize_from_file_path'7892 # ./spec/support/factory_bot.rb:12:in `new'7893 # ./spec/support/factory_bot.rb:12:in `fixture_file_upload'7894 # ./ee/spec/factories/ci/job_artifacts.rb:362:in `block (5 levels) in <top (required)>'7895 # ./spec/models/factories_spec.rb:98:in `block (7 levels) in <top (required)>'7896 # ./spec/models/factories_spec.rb:98:in `block (6 levels) in <top (required)>'7897 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'7898 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'7899 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'7900 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'7901 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'7902 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'7903 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'7904 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'7905 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'7906 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'7907 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'7908 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'7909 Shared Example Group: "factory" called from ./spec/models/factories_spec.rb:1927910 # ./spec/models/factories_spec.rb:98:in `block (6 levels) in <top (required)>'7911 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'7912 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'7913 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'7914 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'7915 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'7916 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'7917 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'7918 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'7919 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'7920 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'7921 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'7922 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'7923 37) factories with factory defaults behaves like factory ee_ci_job_artifact factory linting :v2_1 trait does not raise error when created7924 # Trait skipped linting due to legacy error7925 Failure/Error: expect { create(factory.name, trait_name) }.not_to raise_error7926 expected no Exception, got #<RuntimeError: /builds/gitlab-org/gitlab/ee/spec/fixtures/security_reports/license_compliance/gl-archive-report-v2.1.json file does not exist> with backtrace:7927 # ./spec/spec_helper.rb:488:in `initialize_from_file_path'7928 # ./spec/support/factory_bot.rb:12:in `new'7929 # ./spec/support/factory_bot.rb:12:in `fixture_file_upload'7930 # ./ee/spec/factories/ci/job_artifacts.rb:362:in `block (5 levels) in <top (required)>'7931 # ./spec/models/factories_spec.rb:98:in `block (7 levels) in <top (required)>'7932 # ./spec/models/factories_spec.rb:98:in `block (6 levels) in <top (required)>'7933 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'7934 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'7935 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'7936 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'7937 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'7938 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'7939 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'7940 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'7941 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'7942 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'7943 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'7944 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'7945 Shared Example Group: "factory" called from ./spec/models/factories_spec.rb:1927946 # ./spec/models/factories_spec.rb:98:in `block (6 levels) in <top (required)>'7947 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'7948 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'7949 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'7950 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'7951 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'7952 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'7953 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'7954 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'7955 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'7956 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'7957 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'7958 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'7959 38) factories with factory defaults behaves like factory dast_profile factory linting :with_dast_site_validation trait does not raise error when created7960 # Trait skipped linting due to legacy error7961 Failure/Error: expect { create(factory.name, trait_name) }.not_to raise_error7962 expected no Exception, got #<NoMethodError: undefined method `dast_site=' for #<Dast::Profile:0x00007f625c3a4858>7963 Did you mean? dast_site_profile=> with backtrace:7964 # ./spec/models/factories_spec.rb:98:in `block (7 levels) in <top (required)>'7965 # ./spec/models/factories_spec.rb:98:in `block (6 levels) in <top (required)>'7966 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'7967 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'7968 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'7969 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'7970 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'7971 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'7972 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'7973 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'7974 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'7975 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'7976 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'7977 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'7978 Shared Example Group: "factory" called from ./spec/models/factories_spec.rb:1927979 # ./spec/models/factories_spec.rb:98:in `block (6 levels) in <top (required)>'7980 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'7981 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'7982 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'7983 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'7984 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'7985 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'7986 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'7987 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'7988 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'7989 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'7990 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'7991 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'7992 39) factories with factory defaults behaves like factory geo_ci_secure_file_state factory does not raise error when built7993 # Factory skipped linting due to legacy error7994 # ./spec/models/factories_spec.rb:777995 40) factories with factory defaults behaves like factory geo_ci_secure_file_state factory does not raise error when created7996 # Factory skipped linting due to legacy error7997 Failure/Error: expect { create(factory.name) }.not_to raise_error # rubocop:disable Rails/SaveBang7998 expected no Exception, got #<ActiveRecord::RecordNotUnique: PG::UniqueViolation: ERROR: duplicate key value violates unique constraint "ci_secure_file_states_pkey"7999 DETAIL: Key (ci_secure_file_id)=(12) already exists.8000 > with backtrace:8001 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:120:in `block in write_using_load_balancer'8002 # ./lib/gitlab/database/load_balancing/load_balancer.rb:122:in `block in read_write'8003 # ./lib/gitlab/database/load_balancing/load_balancer.rb:193:in `retry_with_backoff'8004 # ./lib/gitlab/database/load_balancing/load_balancer.rb:118:in `read_write'8005 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:119:in `write_using_load_balancer'8006 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:61:in `block (2 levels) in <class:ConnectionProxy>'8007 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:120:in `block in write_using_load_balancer'8008 # ./lib/gitlab/database/load_balancing/load_balancer.rb:122:in `block in read_write'8009 # ./lib/gitlab/database/load_balancing/load_balancer.rb:193:in `retry_with_backoff'8010 # ./lib/gitlab/database/load_balancing/load_balancer.rb:118:in `read_write'8011 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:119:in `write_using_load_balancer'8012 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:71:in `transaction'8013 # ./spec/models/factories_spec.rb:88:in `block (5 levels) in <top (required)>'8014 # ./spec/models/factories_spec.rb:88:in `block (4 levels) in <top (required)>'8015 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'8016 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'8017 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'8018 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'8019 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'8020 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'8021 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'8022 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'8023 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'8024 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'8025 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'8026 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'8027 Shared Example Group: "factory" called from ./spec/models/factories_spec.rb:1928028 # ./spec/models/factories_spec.rb:88:in `block (4 levels) in <top (required)>'8029 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'8030 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'8031 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'8032 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'8033 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'8034 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'8035 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'8036 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'8037 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'8038 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'8039 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'8040 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'8041 41) factories with factory defaults behaves like factory geo_ci_secure_file_state factory linting :checksummed trait does not raise error when created8042 # Trait skipped linting due to legacy error8043 Failure/Error: expect { create(factory.name, trait_name) }.not_to raise_error8044 expected no Exception, got #<ActiveRecord::RecordNotUnique: PG::UniqueViolation: ERROR: duplicate key value violates unique constraint "ci_secure_file_states_pkey"8045 DETAIL: Key (ci_secure_file_id)=(13) already exists.8046 > with backtrace:8047 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:120:in `block in write_using_load_balancer'8048 # ./lib/gitlab/database/load_balancing/load_balancer.rb:122:in `block in read_write'8049 # ./lib/gitlab/database/load_balancing/load_balancer.rb:193:in `retry_with_backoff'8050 # ./lib/gitlab/database/load_balancing/load_balancer.rb:118:in `read_write'8051 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:119:in `write_using_load_balancer'8052 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:61:in `block (2 levels) in <class:ConnectionProxy>'8053 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:120:in `block in write_using_load_balancer'8054 # ./lib/gitlab/database/load_balancing/load_balancer.rb:122:in `block in read_write'8055 # ./lib/gitlab/database/load_balancing/load_balancer.rb:193:in `retry_with_backoff'8056 # ./lib/gitlab/database/load_balancing/load_balancer.rb:118:in `read_write'8057 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:119:in `write_using_load_balancer'8058 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:71:in `transaction'8059 # ./spec/models/factories_spec.rb:98:in `block (7 levels) in <top (required)>'8060 # ./spec/models/factories_spec.rb:98:in `block (6 levels) in <top (required)>'8061 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'8062 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'8063 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'8064 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'8065 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'8066 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'8067 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'8068 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'8069 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'8070 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'8071 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'8072 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'8073 Shared Example Group: "factory" called from ./spec/models/factories_spec.rb:1928074 # ./spec/models/factories_spec.rb:98:in `block (6 levels) in <top (required)>'8075 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'8076 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'8077 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'8078 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'8079 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'8080 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'8081 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'8082 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'8083 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'8084 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'8085 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'8086 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'8087 42) factories with factory defaults behaves like factory geo_ci_secure_file_state factory linting :checksum_failure trait does not raise error when created8088 # Trait skipped linting due to legacy error8089 Failure/Error: expect { create(factory.name, trait_name) }.not_to raise_error8090 expected no Exception, got #<ActiveRecord::RecordNotUnique: PG::UniqueViolation: ERROR: duplicate key value violates unique constraint "ci_secure_file_states_pkey"8091 DETAIL: Key (ci_secure_file_id)=(14) already exists.8092 > with backtrace:8093 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:120:in `block in write_using_load_balancer'8094 # ./lib/gitlab/database/load_balancing/load_balancer.rb:122:in `block in read_write'8095 # ./lib/gitlab/database/load_balancing/load_balancer.rb:193:in `retry_with_backoff'8096 # ./lib/gitlab/database/load_balancing/load_balancer.rb:118:in `read_write'8097 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:119:in `write_using_load_balancer'8098 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:61:in `block (2 levels) in <class:ConnectionProxy>'8099 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:120:in `block in write_using_load_balancer'8100 # ./lib/gitlab/database/load_balancing/load_balancer.rb:122:in `block in read_write'8101 # ./lib/gitlab/database/load_balancing/load_balancer.rb:193:in `retry_with_backoff'8102 # ./lib/gitlab/database/load_balancing/load_balancer.rb:118:in `read_write'8103 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:119:in `write_using_load_balancer'8104 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:71:in `transaction'8105 # ./spec/models/factories_spec.rb:98:in `block (7 levels) in <top (required)>'8106 # ./spec/models/factories_spec.rb:98:in `block (6 levels) in <top (required)>'8107 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'8108 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'8109 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'8110 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'8111 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'8112 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'8113 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'8114 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'8115 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'8116 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'8117 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'8118 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'8119 Shared Example Group: "factory" called from ./spec/models/factories_spec.rb:1928120 # ./spec/models/factories_spec.rb:98:in `block (6 levels) in <top (required)>'8121 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'8122 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'8123 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'8124 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'8125 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'8126 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'8127 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'8128 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'8129 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'8130 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'8131 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'8132 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'8133 43) factories with factory defaults behaves like factory geo_event_log factory linting :geo_event trait does not raise error when created8134 # Trait skipped linting due to legacy error8135 Failure/Error: expect { create(factory.name, trait_name) }.not_to raise_error8136 expected no Exception, got #<NoMethodError: undefined method `event=' for #<Geo::EventLog:0x00007f62507fdaa0>8137 Did you mean? event> with backtrace:8138 # ./spec/models/factories_spec.rb:98:in `block (7 levels) in <top (required)>'8139 # ./spec/models/factories_spec.rb:98:in `block (6 levels) in <top (required)>'8140 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'8141 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'8142 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'8143 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'8144 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'8145 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'8146 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'8147 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'8148 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'8149 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'8150 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'8151 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'8152 Shared Example Group: "factory" called from ./spec/models/factories_spec.rb:1928153 # ./spec/models/factories_spec.rb:98:in `block (6 levels) in <top (required)>'8154 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'8155 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'8156 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'8157 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'8158 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'8159 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'8160 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'8161 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'8162 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'8163 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'8164 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'8165 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'8166 44) factories with factory defaults behaves like factory geo_job_artifact_state factory does not raise error when built8167 # Factory skipped linting due to legacy error8168 # ./spec/models/factories_spec.rb:778169 45) factories with factory defaults behaves like factory geo_job_artifact_state factory does not raise error when created8170 # Factory skipped linting due to legacy error8171 Failure/Error: expect { create(factory.name) }.not_to raise_error # rubocop:disable Rails/SaveBang8172 expected no Exception, got #<KeyError: Trait not registered: "job_artifact" referenced within "geo_job_artifact_state" definition> with backtrace:8173 # ./spec/models/factories_spec.rb:88:in `block (5 levels) in <top (required)>'8174 # ./spec/models/factories_spec.rb:88:in `block (4 levels) in <top (required)>'8175 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'8176 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'8177 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'8178 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'8179 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'8180 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'8181 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'8182 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'8183 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'8184 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'8185 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'8186 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'8187 Shared Example Group: "factory" called from ./spec/models/factories_spec.rb:1928188 # ./spec/models/factories_spec.rb:88:in `block (4 levels) in <top (required)>'8189 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'8190 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'8191 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'8192 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'8193 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'8194 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'8195 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'8196 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'8197 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'8198 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'8199 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'8200 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'8201 46) factories with factory defaults behaves like factory geo_job_artifact_state factory linting :checksummed trait does not raise error when created8202 # Trait skipped linting due to legacy error8203 Failure/Error: expect { create(factory.name, trait_name) }.not_to raise_error8204 expected no Exception, got #<KeyError: Trait not registered: "job_artifact" referenced within "geo_job_artifact_state" definition> with backtrace:8205 # ./spec/models/factories_spec.rb:98:in `block (7 levels) in <top (required)>'8206 # ./spec/models/factories_spec.rb:98:in `block (6 levels) in <top (required)>'8207 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'8208 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'8209 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'8210 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'8211 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'8212 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'8213 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'8214 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'8215 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'8216 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'8217 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'8218 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'8219 Shared Example Group: "factory" called from ./spec/models/factories_spec.rb:1928220 # ./spec/models/factories_spec.rb:98:in `block (6 levels) in <top (required)>'8221 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'8222 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'8223 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'8224 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'8225 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'8226 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'8227 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'8228 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'8229 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'8230 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'8231 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'8232 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'8233 47) factories with factory defaults behaves like factory geo_job_artifact_state factory linting :checksum_failure trait does not raise error when created8234 # Trait skipped linting due to legacy error8235 Failure/Error: expect { create(factory.name, trait_name) }.not_to raise_error8236 expected no Exception, got #<KeyError: Trait not registered: "job_artifact" referenced within "geo_job_artifact_state" definition> with backtrace:8237 # ./spec/models/factories_spec.rb:98:in `block (7 levels) in <top (required)>'8238 # ./spec/models/factories_spec.rb:98:in `block (6 levels) in <top (required)>'8239 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'8240 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'8241 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'8242 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'8243 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'8244 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'8245 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'8246 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'8247 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'8248 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'8249 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'8250 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'8251 Shared Example Group: "factory" called from ./spec/models/factories_spec.rb:1928252 # ./spec/models/factories_spec.rb:98:in `block (6 levels) in <top (required)>'8253 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'8254 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'8255 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'8256 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'8257 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'8258 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'8259 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'8260 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'8261 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'8262 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'8263 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'8264 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'8265 48) factories with factory defaults behaves like factory geo_lfs_object_state factory does not raise error when built8266 # Factory skipped linting due to legacy error8267 # ./spec/models/factories_spec.rb:778268 49) factories with factory defaults behaves like factory geo_lfs_object_state factory does not raise error when created8269 # Factory skipped linting due to legacy error8270 Failure/Error: expect { create(factory.name) }.not_to raise_error # rubocop:disable Rails/SaveBang8271 expected no Exception, got #<ActiveRecord::RecordNotUnique: PG::UniqueViolation: ERROR: duplicate key value violates unique constraint "lfs_object_states_pkey"8272 DETAIL: Key (lfs_object_id)=(17) already exists.8273 > with backtrace:8274 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:120:in `block in write_using_load_balancer'8275 # ./lib/gitlab/database/load_balancing/load_balancer.rb:122:in `block in read_write'8276 # ./lib/gitlab/database/load_balancing/load_balancer.rb:193:in `retry_with_backoff'8277 # ./lib/gitlab/database/load_balancing/load_balancer.rb:118:in `read_write'8278 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:119:in `write_using_load_balancer'8279 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:61:in `block (2 levels) in <class:ConnectionProxy>'8280 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:120:in `block in write_using_load_balancer'8281 # ./lib/gitlab/database/load_balancing/load_balancer.rb:122:in `block in read_write'8282 # ./lib/gitlab/database/load_balancing/load_balancer.rb:193:in `retry_with_backoff'8283 # ./lib/gitlab/database/load_balancing/load_balancer.rb:118:in `read_write'8284 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:119:in `write_using_load_balancer'8285 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:71:in `transaction'8286 # ./spec/models/factories_spec.rb:88:in `block (5 levels) in <top (required)>'8287 # ./spec/models/factories_spec.rb:88:in `block (4 levels) in <top (required)>'8288 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'8289 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'8290 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'8291 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'8292 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'8293 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'8294 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'8295 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'8296 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'8297 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'8298 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'8299 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'8300 Shared Example Group: "factory" called from ./spec/models/factories_spec.rb:1928301 # ./spec/models/factories_spec.rb:88:in `block (4 levels) in <top (required)>'8302 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'8303 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'8304 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'8305 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'8306 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'8307 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'8308 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'8309 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'8310 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'8311 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'8312 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'8313 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'8314 50) factories with factory defaults behaves like factory geo_lfs_object_state factory linting :checksummed trait does not raise error when created8315 # Trait skipped linting due to legacy error8316 Failure/Error: expect { create(factory.name, trait_name) }.not_to raise_error8317 expected no Exception, got #<ActiveRecord::RecordNotUnique: PG::UniqueViolation: ERROR: duplicate key value violates unique constraint "lfs_object_states_pkey"8318 DETAIL: Key (lfs_object_id)=(18) already exists.8319 > with backtrace:8320 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:120:in `block in write_using_load_balancer'8321 # ./lib/gitlab/database/load_balancing/load_balancer.rb:122:in `block in read_write'8322 # ./lib/gitlab/database/load_balancing/load_balancer.rb:193:in `retry_with_backoff'8323 # ./lib/gitlab/database/load_balancing/load_balancer.rb:118:in `read_write'8324 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:119:in `write_using_load_balancer'8325 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:61:in `block (2 levels) in <class:ConnectionProxy>'8326 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:120:in `block in write_using_load_balancer'8327 # ./lib/gitlab/database/load_balancing/load_balancer.rb:122:in `block in read_write'8328 # ./lib/gitlab/database/load_balancing/load_balancer.rb:193:in `retry_with_backoff'8329 # ./lib/gitlab/database/load_balancing/load_balancer.rb:118:in `read_write'8330 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:119:in `write_using_load_balancer'8331 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:71:in `transaction'8332 # ./spec/models/factories_spec.rb:98:in `block (7 levels) in <top (required)>'8333 # ./spec/models/factories_spec.rb:98:in `block (6 levels) in <top (required)>'8334 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'8335 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'8336 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'8337 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'8338 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'8339 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'8340 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'8341 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'8342 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'8343 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'8344 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'8345 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'8346 Shared Example Group: "factory" called from ./spec/models/factories_spec.rb:1928347 # ./spec/models/factories_spec.rb:98:in `block (6 levels) in <top (required)>'8348 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'8349 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'8350 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'8351 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'8352 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'8353 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'8354 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'8355 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'8356 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'8357 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'8358 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'8359 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'8360 51) factories with factory defaults behaves like factory geo_lfs_object_state factory linting :checksum_failure trait does not raise error when created8361 # Trait skipped linting due to legacy error8362 Failure/Error: expect { create(factory.name, trait_name) }.not_to raise_error8363 expected no Exception, got #<ActiveRecord::RecordNotUnique: PG::UniqueViolation: ERROR: duplicate key value violates unique constraint "lfs_object_states_pkey"8364 DETAIL: Key (lfs_object_id)=(19) already exists.8365 > with backtrace:8366 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:120:in `block in write_using_load_balancer'8367 # ./lib/gitlab/database/load_balancing/load_balancer.rb:122:in `block in read_write'8368 # ./lib/gitlab/database/load_balancing/load_balancer.rb:193:in `retry_with_backoff'8369 # ./lib/gitlab/database/load_balancing/load_balancer.rb:118:in `read_write'8370 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:119:in `write_using_load_balancer'8371 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:61:in `block (2 levels) in <class:ConnectionProxy>'8372 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:120:in `block in write_using_load_balancer'8373 # ./lib/gitlab/database/load_balancing/load_balancer.rb:122:in `block in read_write'8374 # ./lib/gitlab/database/load_balancing/load_balancer.rb:193:in `retry_with_backoff'8375 # ./lib/gitlab/database/load_balancing/load_balancer.rb:118:in `read_write'8376 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:119:in `write_using_load_balancer'8377 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:71:in `transaction'8378 # ./spec/models/factories_spec.rb:98:in `block (7 levels) in <top (required)>'8379 # ./spec/models/factories_spec.rb:98:in `block (6 levels) in <top (required)>'8380 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'8381 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'8382 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'8383 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'8384 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'8385 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'8386 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'8387 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'8388 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'8389 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'8390 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'8391 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'8392 Shared Example Group: "factory" called from ./spec/models/factories_spec.rb:1928393 # ./spec/models/factories_spec.rb:98:in `block (6 levels) in <top (required)>'8394 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'8395 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'8396 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'8397 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'8398 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'8399 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'8400 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'8401 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'8402 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'8403 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'8404 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'8405 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'8406 52) factories with factory defaults behaves like factory geo_pages_deployment_state factory does not raise error when built8407 # Factory skipped linting due to legacy error8408 # ./spec/models/factories_spec.rb:778409 53) factories with factory defaults behaves like factory geo_pages_deployment_state factory does not raise error when created8410 # Factory skipped linting due to legacy error8411 Failure/Error: expect { create(factory.name) }.not_to raise_error # rubocop:disable Rails/SaveBang8412 expected no Exception, got #<ActiveRecord::RecordNotUnique: PG::UniqueViolation: ERROR: duplicate key value violates unique constraint "pages_deployment_states_pkey"8413 DETAIL: Key (pages_deployment_id)=(8) already exists.8414 > with backtrace:8415 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:120:in `block in write_using_load_balancer'8416 # ./lib/gitlab/database/load_balancing/load_balancer.rb:122:in `block in read_write'8417 # ./lib/gitlab/database/load_balancing/load_balancer.rb:193:in `retry_with_backoff'8418 # ./lib/gitlab/database/load_balancing/load_balancer.rb:118:in `read_write'8419 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:119:in `write_using_load_balancer'8420 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:61:in `block (2 levels) in <class:ConnectionProxy>'8421 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:120:in `block in write_using_load_balancer'8422 # ./lib/gitlab/database/load_balancing/load_balancer.rb:122:in `block in read_write'8423 # ./lib/gitlab/database/load_balancing/load_balancer.rb:193:in `retry_with_backoff'8424 # ./lib/gitlab/database/load_balancing/load_balancer.rb:118:in `read_write'8425 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:119:in `write_using_load_balancer'8426 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:71:in `transaction'8427 # ./spec/models/factories_spec.rb:88:in `block (5 levels) in <top (required)>'8428 # ./spec/models/factories_spec.rb:88:in `block (4 levels) in <top (required)>'8429 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'8430 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'8431 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'8432 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'8433 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'8434 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'8435 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'8436 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'8437 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'8438 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'8439 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'8440 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'8441 Shared Example Group: "factory" called from ./spec/models/factories_spec.rb:1928442 # ./spec/models/factories_spec.rb:88:in `block (4 levels) in <top (required)>'8443 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'8444 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'8445 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'8446 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'8447 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'8448 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'8449 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'8450 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'8451 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'8452 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'8453 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'8454 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'8455 54) factories with factory defaults behaves like factory geo_pages_deployment_state factory linting :checksummed trait does not raise error when created8456 # Trait skipped linting due to legacy error8457 Failure/Error: expect { create(factory.name, trait_name) }.not_to raise_error8458 expected no Exception, got #<ActiveRecord::RecordNotUnique: PG::UniqueViolation: ERROR: duplicate key value violates unique constraint "pages_deployment_states_pkey"8459 DETAIL: Key (pages_deployment_id)=(9) already exists.8460 > with backtrace:8461 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:120:in `block in write_using_load_balancer'8462 # ./lib/gitlab/database/load_balancing/load_balancer.rb:122:in `block in read_write'8463 # ./lib/gitlab/database/load_balancing/load_balancer.rb:193:in `retry_with_backoff'8464 # ./lib/gitlab/database/load_balancing/load_balancer.rb:118:in `read_write'8465 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:119:in `write_using_load_balancer'8466 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:61:in `block (2 levels) in <class:ConnectionProxy>'8467 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:120:in `block in write_using_load_balancer'8468 # ./lib/gitlab/database/load_balancing/load_balancer.rb:122:in `block in read_write'8469 # ./lib/gitlab/database/load_balancing/load_balancer.rb:193:in `retry_with_backoff'8470 # ./lib/gitlab/database/load_balancing/load_balancer.rb:118:in `read_write'8471 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:119:in `write_using_load_balancer'8472 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:71:in `transaction'8473 # ./spec/models/factories_spec.rb:98:in `block (7 levels) in <top (required)>'8474 # ./spec/models/factories_spec.rb:98:in `block (6 levels) in <top (required)>'8475 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'8476 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'8477 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'8478 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'8479 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'8480 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'8481 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'8482 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'8483 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'8484 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'8485 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'8486 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'8487 Shared Example Group: "factory" called from ./spec/models/factories_spec.rb:1928488 # ./spec/models/factories_spec.rb:98:in `block (6 levels) in <top (required)>'8489 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'8490 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'8491 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'8492 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'8493 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'8494 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'8495 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'8496 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'8497 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'8498 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'8499 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'8500 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'8501 55) factories with factory defaults behaves like factory geo_pages_deployment_state factory linting :checksum_failure trait does not raise error when created8502 # Trait skipped linting due to legacy error8503 Failure/Error: expect { create(factory.name, trait_name) }.not_to raise_error8504 expected no Exception, got #<ActiveRecord::RecordNotUnique: PG::UniqueViolation: ERROR: duplicate key value violates unique constraint "pages_deployment_states_pkey"8505 DETAIL: Key (pages_deployment_id)=(10) already exists.8506 > with backtrace:8507 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:120:in `block in write_using_load_balancer'8508 # ./lib/gitlab/database/load_balancing/load_balancer.rb:122:in `block in read_write'8509 # ./lib/gitlab/database/load_balancing/load_balancer.rb:193:in `retry_with_backoff'8510 # ./lib/gitlab/database/load_balancing/load_balancer.rb:118:in `read_write'8511 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:119:in `write_using_load_balancer'8512 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:61:in `block (2 levels) in <class:ConnectionProxy>'8513 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:120:in `block in write_using_load_balancer'8514 # ./lib/gitlab/database/load_balancing/load_balancer.rb:122:in `block in read_write'8515 # ./lib/gitlab/database/load_balancing/load_balancer.rb:193:in `retry_with_backoff'8516 # ./lib/gitlab/database/load_balancing/load_balancer.rb:118:in `read_write'8517 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:119:in `write_using_load_balancer'8518 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:71:in `transaction'8519 # ./spec/models/factories_spec.rb:98:in `block (7 levels) in <top (required)>'8520 # ./spec/models/factories_spec.rb:98:in `block (6 levels) in <top (required)>'8521 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'8522 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'8523 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'8524 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'8525 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'8526 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'8527 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'8528 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'8529 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'8530 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'8531 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'8532 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'8533 Shared Example Group: "factory" called from ./spec/models/factories_spec.rb:1928534 # ./spec/models/factories_spec.rb:98:in `block (6 levels) in <top (required)>'8535 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'8536 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'8537 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'8538 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'8539 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'8540 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'8541 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'8542 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'8543 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'8544 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'8545 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'8546 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'8547 56) factories with factory defaults behaves like factory geo_upload_state factory does not raise error when built8548 # Factory skipped linting due to legacy error8549 # ./spec/models/factories_spec.rb:778550 57) factories with factory defaults behaves like factory geo_upload_state factory does not raise error when created8551 # Factory skipped linting due to legacy error8552 Failure/Error: expect { create(factory.name) }.not_to raise_error # rubocop:disable Rails/SaveBang8553 expected no Exception, got #<ActiveRecord::RecordNotUnique: PG::UniqueViolation: ERROR: duplicate key value violates unique constraint "upload_states_pkey"8554 DETAIL: Key (upload_id)=(36) already exists.8555 > with backtrace:8556 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:120:in `block in write_using_load_balancer'8557 # ./lib/gitlab/database/load_balancing/load_balancer.rb:122:in `block in read_write'8558 # ./lib/gitlab/database/load_balancing/load_balancer.rb:193:in `retry_with_backoff'8559 # ./lib/gitlab/database/load_balancing/load_balancer.rb:118:in `read_write'8560 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:119:in `write_using_load_balancer'8561 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:61:in `block (2 levels) in <class:ConnectionProxy>'8562 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:120:in `block in write_using_load_balancer'8563 # ./lib/gitlab/database/load_balancing/load_balancer.rb:122:in `block in read_write'8564 # ./lib/gitlab/database/load_balancing/load_balancer.rb:193:in `retry_with_backoff'8565 # ./lib/gitlab/database/load_balancing/load_balancer.rb:118:in `read_write'8566 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:119:in `write_using_load_balancer'8567 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:71:in `transaction'8568 # ./spec/models/factories_spec.rb:88:in `block (5 levels) in <top (required)>'8569 # ./spec/models/factories_spec.rb:88:in `block (4 levels) in <top (required)>'8570 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'8571 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'8572 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'8573 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'8574 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'8575 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'8576 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'8577 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'8578 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'8579 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'8580 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'8581 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'8582 Shared Example Group: "factory" called from ./spec/models/factories_spec.rb:1928583 # ./spec/models/factories_spec.rb:88:in `block (4 levels) in <top (required)>'8584 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'8585 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'8586 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'8587 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'8588 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'8589 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'8590 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'8591 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'8592 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'8593 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'8594 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'8595 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'8596 58) factories with factory defaults behaves like factory geo_upload_state factory linting :checksummed trait does not raise error when created8597 # Trait skipped linting due to legacy error8598 Failure/Error: expect { create(factory.name, trait_name) }.not_to raise_error8599 expected no Exception, got #<ActiveRecord::RecordNotUnique: PG::UniqueViolation: ERROR: duplicate key value violates unique constraint "upload_states_pkey"8600 DETAIL: Key (upload_id)=(37) already exists.8601 > with backtrace:8602 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:120:in `block in write_using_load_balancer'8603 # ./lib/gitlab/database/load_balancing/load_balancer.rb:122:in `block in read_write'8604 # ./lib/gitlab/database/load_balancing/load_balancer.rb:193:in `retry_with_backoff'8605 # ./lib/gitlab/database/load_balancing/load_balancer.rb:118:in `read_write'8606 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:119:in `write_using_load_balancer'8607 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:61:in `block (2 levels) in <class:ConnectionProxy>'8608 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:120:in `block in write_using_load_balancer'8609 # ./lib/gitlab/database/load_balancing/load_balancer.rb:122:in `block in read_write'8610 # ./lib/gitlab/database/load_balancing/load_balancer.rb:193:in `retry_with_backoff'8611 # ./lib/gitlab/database/load_balancing/load_balancer.rb:118:in `read_write'8612 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:119:in `write_using_load_balancer'8613 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:71:in `transaction'8614 # ./spec/models/factories_spec.rb:98:in `block (7 levels) in <top (required)>'8615 # ./spec/models/factories_spec.rb:98:in `block (6 levels) in <top (required)>'8616 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'8617 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'8618 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'8619 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'8620 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'8621 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'8622 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'8623 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'8624 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'8625 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'8626 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'8627 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'8628 Shared Example Group: "factory" called from ./spec/models/factories_spec.rb:1928629 # ./spec/models/factories_spec.rb:98:in `block (6 levels) in <top (required)>'8630 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'8631 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'8632 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'8633 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'8634 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'8635 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'8636 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'8637 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'8638 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'8639 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'8640 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'8641 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'8642 59) factories with factory defaults behaves like factory geo_upload_state factory linting :checksum_failure trait does not raise error when created8643 # Trait skipped linting due to legacy error8644 Failure/Error: expect { create(factory.name, trait_name) }.not_to raise_error8645 expected no Exception, got #<ActiveRecord::RecordNotUnique: PG::UniqueViolation: ERROR: duplicate key value violates unique constraint "upload_states_pkey"8646 DETAIL: Key (upload_id)=(38) already exists.8647 > with backtrace:8648 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:120:in `block in write_using_load_balancer'8649 # ./lib/gitlab/database/load_balancing/load_balancer.rb:122:in `block in read_write'8650 # ./lib/gitlab/database/load_balancing/load_balancer.rb:193:in `retry_with_backoff'8651 # ./lib/gitlab/database/load_balancing/load_balancer.rb:118:in `read_write'8652 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:119:in `write_using_load_balancer'8653 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:61:in `block (2 levels) in <class:ConnectionProxy>'8654 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:120:in `block in write_using_load_balancer'8655 # ./lib/gitlab/database/load_balancing/load_balancer.rb:122:in `block in read_write'8656 # ./lib/gitlab/database/load_balancing/load_balancer.rb:193:in `retry_with_backoff'8657 # ./lib/gitlab/database/load_balancing/load_balancer.rb:118:in `read_write'8658 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:119:in `write_using_load_balancer'8659 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:71:in `transaction'8660 # ./spec/models/factories_spec.rb:98:in `block (7 levels) in <top (required)>'8661 # ./spec/models/factories_spec.rb:98:in `block (6 levels) in <top (required)>'8662 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'8663 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'8664 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'8665 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'8666 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'8667 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'8668 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'8669 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'8670 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'8671 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'8672 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'8673 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'8674 Shared Example Group: "factory" called from ./spec/models/factories_spec.rb:1928675 # ./spec/models/factories_spec.rb:98:in `block (6 levels) in <top (required)>'8676 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'8677 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'8678 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'8679 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'8680 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'8681 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'8682 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'8683 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'8684 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'8685 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'8686 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'8687 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'8688 60) factories with factory defaults behaves like factory scan_execution_policy factory linting :with_schedule_and_agent trait does not raise error when created8689 # Trait skipped linting due to legacy error8690 Failure/Error: expect { create(factory.name, trait_name) }.not_to raise_error8691 expected no Exception, got #<NoMethodError: undefined method `name' for "agent-name":String> with backtrace:8692 # ./ee/spec/factories/security/policies.rb:33:in `block (4 levels) in <top (required)>'8693 # ./ee/spec/factories/security/policies.rb:8:in `block (3 levels) in <top (required)>'8694 # ./spec/models/factories_spec.rb:98:in `block (7 levels) in <top (required)>'8695 # ./spec/models/factories_spec.rb:98:in `block (6 levels) in <top (required)>'8696 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'8697 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'8698 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'8699 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'8700 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'8701 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'8702 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'8703 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'8704 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'8705 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'8706 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'8707 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'8708 Shared Example Group: "factory" called from ./spec/models/factories_spec.rb:1928709 # ./spec/models/factories_spec.rb:98:in `block (6 levels) in <top (required)>'8710 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'8711 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'8712 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'8713 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'8714 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'8715 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'8716 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'8717 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'8718 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'8719 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'8720 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'8721 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'8722 61) factories with factory defaults behaves like factory vulnerability factory linting :with_cluster_image_scanning_finding trait does not raise error when created8723 # Trait skipped linting due to legacy error8724 Failure/Error: expect { create(factory.name, trait_name) }.not_to raise_error8725 expected no Exception, got #<ActiveRecord::InvalidForeignKey: PG::ForeignKeyViolation: ERROR: insert or update on table "vulner..._id) DO NOTHING"8726 PL/pgSQL function insert_or_update_vulnerability_reads() line 40 at SQL statement8727 > with backtrace:8728 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:120:in `block in write_using_load_balancer'8729 # ./lib/gitlab/database/load_balancing/load_balancer.rb:122:in `block in read_write'8730 # ./lib/gitlab/database/load_balancing/load_balancer.rb:193:in `retry_with_backoff'8731 # ./lib/gitlab/database/load_balancing/load_balancer.rb:118:in `read_write'8732 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:119:in `write_using_load_balancer'8733 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:61:in `block (2 levels) in <class:ConnectionProxy>'8734 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:120:in `block in write_using_load_balancer'8735 # ./lib/gitlab/database/load_balancing/load_balancer.rb:122:in `block in read_write'8736 # ./lib/gitlab/database/load_balancing/load_balancer.rb:193:in `retry_with_backoff'8737 # ./lib/gitlab/database/load_balancing/load_balancer.rb:118:in `read_write'8738 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:119:in `write_using_load_balancer'8739 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:71:in `transaction'8740 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:120:in `block in write_using_load_balancer'8741 # ./lib/gitlab/database/load_balancing/load_balancer.rb:122:in `block in read_write'8742 # ./lib/gitlab/database/load_balancing/load_balancer.rb:193:in `retry_with_backoff'8743 # ./lib/gitlab/database/load_balancing/load_balancer.rb:118:in `read_write'8744 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:119:in `write_using_load_balancer'8745 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:71:in `transaction'8746 # ./spec/models/factories_spec.rb:98:in `block (7 levels) in <top (required)>'8747 # ./spec/models/factories_spec.rb:98:in `block (6 levels) in <top (required)>'8748 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'8749 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'8750 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'8751 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'8752 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'8753 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'8754 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'8755 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'8756 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'8757 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'8758 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'8759 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'8760 Shared Example Group: "factory" called from ./spec/models/factories_spec.rb:1928761 # ./spec/models/factories_spec.rb:98:in `block (6 levels) in <top (required)>'8762 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'8763 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'8764 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'8765 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'8766 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'8767 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'8768 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'8769 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'8770 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'8771 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'8772 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'8773 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'8774 62) factories with factory defaults behaves like factory vulnerability factory linting :with_findings trait does not raise error when created8775 # Trait skipped linting due to legacy error8776 Failure/Error: expect { create(factory.name, trait_name) }.not_to raise_error8777 expected no Exception, got #<ActiveRecord::RecordNotUnique: PG::UniqueViolation: ERROR: duplicate key value violates unique con...IL: Key (project_id, fingerprint)=(1, \x52d084cede3db8fafcd6b8ae382ddf1970da3b7f) already exists.8778 > with backtrace:8779 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:120:in `block in write_using_load_balancer'8780 # ./lib/gitlab/database/load_balancing/load_balancer.rb:122:in `block in read_write'8781 # ./lib/gitlab/database/load_balancing/load_balancer.rb:193:in `retry_with_backoff'8782 # ./lib/gitlab/database/load_balancing/load_balancer.rb:118:in `read_write'8783 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:119:in `write_using_load_balancer'8784 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:61:in `block (2 levels) in <class:ConnectionProxy>'8785 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:120:in `block in write_using_load_balancer'8786 # ./lib/gitlab/database/load_balancing/load_balancer.rb:122:in `block in read_write'8787 # ./lib/gitlab/database/load_balancing/load_balancer.rb:193:in `retry_with_backoff'8788 # ./lib/gitlab/database/load_balancing/load_balancer.rb:118:in `read_write'8789 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:119:in `write_using_load_balancer'8790 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:71:in `transaction'8791 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:120:in `block in write_using_load_balancer'8792 # ./lib/gitlab/database/load_balancing/load_balancer.rb:122:in `block in read_write'8793 # ./lib/gitlab/database/load_balancing/load_balancer.rb:193:in `retry_with_backoff'8794 # ./lib/gitlab/database/load_balancing/load_balancer.rb:118:in `read_write'8795 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:119:in `write_using_load_balancer'8796 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:71:in `transaction'8797 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:120:in `block in write_using_load_balancer'8798 # ./lib/gitlab/database/load_balancing/load_balancer.rb:122:in `block in read_write'8799 # ./lib/gitlab/database/load_balancing/load_balancer.rb:193:in `retry_with_backoff'8800 # ./lib/gitlab/database/load_balancing/load_balancer.rb:118:in `read_write'8801 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:119:in `write_using_load_balancer'8802 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:71:in `transaction'8803 # ./spec/models/factories_spec.rb:98:in `block (7 levels) in <top (required)>'8804 # ./spec/models/factories_spec.rb:98:in `block (6 levels) in <top (required)>'8805 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'8806 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'8807 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'8808 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'8809 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'8810 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'8811 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'8812 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'8813 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'8814 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'8815 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'8816 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'8817 Shared Example Group: "factory" called from ./spec/models/factories_spec.rb:1928818 # ./spec/models/factories_spec.rb:98:in `block (6 levels) in <top (required)>'8819 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'8820 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'8821 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'8822 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'8823 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'8824 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'8825 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'8826 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'8827 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'8828 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'8829 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'8830 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'8831 63) factories with factory defaults behaves like factory vulnerability_export factory linting :finished trait does not raise error when created8832 # Trait skipped linting due to legacy error8833 Failure/Error: expect { create(factory.name, trait_name) }.not_to raise_error8834 expected no Exception, got #<ActiveRecord::RecordInvalid: Validation failed: File can't be blank> with backtrace:8835 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:120:in `block in write_using_load_balancer'8836 # ./lib/gitlab/database/load_balancing/load_balancer.rb:122:in `block in read_write'8837 # ./lib/gitlab/database/load_balancing/load_balancer.rb:193:in `retry_with_backoff'8838 # ./lib/gitlab/database/load_balancing/load_balancer.rb:118:in `read_write'8839 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:119:in `write_using_load_balancer'8840 # ./lib/gitlab/database/load_balancing/connection_proxy.rb:71:in `transaction'8841 # ./spec/models/factories_spec.rb:98:in `block (7 levels) in <top (required)>'8842 # ./spec/models/factories_spec.rb:98:in `block (6 levels) in <top (required)>'8843 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'8844 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'8845 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'8846 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'8847 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'8848 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'8849 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'8850 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'8851 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'8852 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'8853 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'8854 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'8855 Shared Example Group: "factory" called from ./spec/models/factories_spec.rb:1928856 # ./spec/models/factories_spec.rb:98:in `block (6 levels) in <top (required)>'8857 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'8858 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'8859 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'8860 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'8861 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'8862 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'8863 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'8864 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'8865 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'8866 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'8867 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'8868 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'8869 64) factories without factory defaults behaves like factory issue_customer_relations_contact factory linting :for_contact trait does not raise error when created8870 # Trait skipped linting due to legacy error8871 Failure/Error: expect { create(factory.name, trait_name) }.not_to raise_error8872 expected no Exception, got #<ArgumentError: `contact` is manadatory> with backtrace:8873 # ./spec/factories/customer_relations/issue_customer_relations_contacts.rb:15:in `block (4 levels) in <top (required)>'8874 # ./spec/factories/customer_relations/issue_customer_relations_contacts.rb:18:in `block (5 levels) in <top (required)>'8875 # ./spec/factories/customer_relations/issue_customer_relations_contacts.rb:14:in `block (4 levels) in <top (required)>'8876 # ./spec/models/factories_spec.rb:98:in `block (7 levels) in <top (required)>'8877 # ./spec/models/factories_spec.rb:98:in `block (6 levels) in <top (required)>'8878 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'8879 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'8880 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'8881 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'8882 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'8883 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'8884 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'8885 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'8886 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'8887 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'8888 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'8889 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'8890 Shared Example Group: "factory" called from ./spec/models/factories_spec.rb:1988891 # ./spec/models/factories_spec.rb:98:in `block (6 levels) in <top (required)>'8892 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'8893 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'8894 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'8895 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'8896 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'8897 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'8898 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'8899 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'8900 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'8901 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'8902 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'8903 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'8904 65) factories without factory defaults behaves like factory issue_customer_relations_contact factory linting :for_issue trait does not raise error when created8905 # Trait skipped linting due to legacy error8906 Failure/Error: expect { create(factory.name, trait_name) }.not_to raise_error8907 expected no Exception, got #<ArgumentError: `issue` is manadatory> with backtrace:8908 # ./spec/factories/customer_relations/issue_customer_relations_contacts.rb:23:in `block (4 levels) in <top (required)>'8909 # ./spec/models/factories_spec.rb:98:in `block (7 levels) in <top (required)>'8910 # ./spec/models/factories_spec.rb:98:in `block (6 levels) in <top (required)>'8911 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'8912 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'8913 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'8914 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'8915 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'8916 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'8917 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'8918 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'8919 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'8920 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'8921 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'8922 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'8923 Shared Example Group: "factory" called from ./spec/models/factories_spec.rb:1988924 # ./spec/models/factories_spec.rb:98:in `block (6 levels) in <top (required)>'8925 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'8926 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'8927 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'8928 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'8929 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'8930 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'8931 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'8932 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'8933 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'8934 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'8935 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'8936 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'8937 66) AvatarUploader behaves like builds correct paths #cache_dir behaves like matches the method pattern 8938 # No pattern provided, skipping.8939 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:88940 67) AvatarUploader behaves like builds correct paths #work_dir behaves like matches the method pattern 8941 # No pattern provided, skipping.8942 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:88943 68) AvatarUploader behaves like builds correct paths #relative_path is relative8944 # Path not set, skipping.8945 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:408946 69) AvatarUploader behaves like builds correct paths .base_dir behaves like matches the method pattern 8947 # No pattern provided, skipping.8948 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:88949 70) AvatarUploader object_store is REMOTE behaves like builds correct paths #cache_dir behaves like matches the method pattern 8950 # No pattern provided, skipping.8951 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:88952 71) AvatarUploader object_store is REMOTE behaves like builds correct paths #work_dir behaves like matches the method pattern 8953 # No pattern provided, skipping.8954 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:88955 72) AvatarUploader object_store is REMOTE behaves like builds correct paths #relative_path is relative8956 # Path not set, skipping.8957 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:408958 73) AvatarUploader object_store is REMOTE behaves like builds correct paths .absolute_path behaves like matches the method pattern 8959 # No pattern provided, skipping.8960 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:88961 74) AvatarUploader object_store is REMOTE behaves like builds correct paths .base_dir behaves like matches the method pattern 8962 # No pattern provided, skipping.8963 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:88964 75) Packages::Debian::DistributionReleaseFileUploader Packages::Debian::ProjectDistribution behaves like builds correct paths #upload_path behaves like matches the method pattern 8965 # No pattern provided, skipping.8966 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:88967 76) Packages::Debian::DistributionReleaseFileUploader Packages::Debian::ProjectDistribution behaves like builds correct paths #relative_path is relative8968 # Path not set, skipping.8969 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:408970 77) Packages::Debian::DistributionReleaseFileUploader Packages::Debian::ProjectDistribution behaves like builds correct paths .absolute_path behaves like matches the method pattern 8971 # No pattern provided, skipping.8972 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:88973 78) Packages::Debian::DistributionReleaseFileUploader Packages::Debian::ProjectDistribution behaves like builds correct paths .base_dir behaves like matches the method pattern 8974 # No pattern provided, skipping.8975 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:88976 79) Packages::Debian::DistributionReleaseFileUploader Packages::Debian::ProjectDistribution object store is remote behaves like builds correct paths #upload_path behaves like matches the method pattern 8977 # No pattern provided, skipping.8978 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:88979 80) Packages::Debian::DistributionReleaseFileUploader Packages::Debian::ProjectDistribution object store is remote behaves like builds correct paths #relative_path is relative8980 # Path not set, skipping.8981 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:408982 81) Packages::Debian::DistributionReleaseFileUploader Packages::Debian::ProjectDistribution object store is remote behaves like builds correct paths .absolute_path behaves like matches the method pattern 8983 # No pattern provided, skipping.8984 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:88985 82) Packages::Debian::DistributionReleaseFileUploader Packages::Debian::ProjectDistribution object store is remote behaves like builds correct paths .base_dir behaves like matches the method pattern 8986 # No pattern provided, skipping.8987 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:88988 83) Packages::Debian::DistributionReleaseFileUploader Packages::Debian::GroupDistribution behaves like builds correct paths #upload_path behaves like matches the method pattern 8989 # No pattern provided, skipping.8990 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:88991 84) Packages::Debian::DistributionReleaseFileUploader Packages::Debian::GroupDistribution behaves like builds correct paths #relative_path is relative8992 # Path not set, skipping.8993 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:408994 85) Packages::Debian::DistributionReleaseFileUploader Packages::Debian::GroupDistribution behaves like builds correct paths .absolute_path behaves like matches the method pattern 8995 # No pattern provided, skipping.8996 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:88997 86) Packages::Debian::DistributionReleaseFileUploader Packages::Debian::GroupDistribution behaves like builds correct paths .base_dir behaves like matches the method pattern 8998 # No pattern provided, skipping.8999 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:89000 87) Packages::Debian::DistributionReleaseFileUploader Packages::Debian::GroupDistribution object store is remote behaves like builds correct paths #upload_path behaves like matches the method pattern 9001 # No pattern provided, skipping.9002 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:89003 88) Packages::Debian::DistributionReleaseFileUploader Packages::Debian::GroupDistribution object store is remote behaves like builds correct paths #relative_path is relative9004 # Path not set, skipping.9005 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:409006 89) Packages::Debian::DistributionReleaseFileUploader Packages::Debian::GroupDistribution object store is remote behaves like builds correct paths .absolute_path behaves like matches the method pattern 9007 # No pattern provided, skipping.9008 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:89009 90) Packages::Debian::DistributionReleaseFileUploader Packages::Debian::GroupDistribution object store is remote behaves like builds correct paths .base_dir behaves like matches the method pattern 9010 # No pattern provided, skipping.9011 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:89012Failures:9013 1) Banzai::Filter::References::FeatureFlagReferenceFilter with cross-project URL reference links with adjacent text9014 Failure/Error: expect(doc.to_html).to match(%r{\(<a.+>#{Regexp.escape(feature_flag.to_reference(project))}</a>\.\)})9015 expected "See (<a href=\"http://localhost/cross-reference/project663/-/feature_flags/1/edit.\">http://localhost/cross-reference/project663/-/feature_flags/1/edit.</a>)" to match /\(<a.+>\[feature_flag:cross\-reference\/project663\/1\]<\/a>\.\)/9016 Diff:9017 @@ -1 +1 @@9018 -/\(<a.+>\[feature_flag:cross\-reference\/project663\/1\]<\/a>\.\)/9019 +"See (<a href=\"http://localhost/cross-reference/project663/-/feature_flags/1/edit.\">http://localhost/cross-reference/project663/-/feature_flags/1/edit.</a>)"9020 # ./spec/lib/banzai/filter/references/feature_flag_reference_filter_spec.rb:197:in `block (3 levels) in <top (required)>'9021 # ./spec/spec_helper.rb:416:in `block (3 levels) in <top (required)>'9022 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'9023 # ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'9024 # ./spec/spec_helper.rb:404:in `block (3 levels) in <top (required)>'9025 # ./lib/gitlab/application_context.rb:58:in `with_raw_context'9026 # ./spec/spec_helper.rb:404:in `block (2 levels) in <top (required)>'9027 # ./spec/spec_helper.rb:240:in `block (2 levels) in <top (required)>'9028 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'9029 # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'9030 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'9031 # ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'9032 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'9033Finished in 23 minutes 11 seconds (files took 49.49 seconds to load)90345568 examples, 1 failure, 90 pending9035Failed examples:9036rspec ./spec/lib/banzai/filter/references/feature_flag_reference_filter_spec.rb:194 # Banzai::Filter::References::FeatureFlagReferenceFilter with cross-project URL reference links with adjacent text9037Randomized with seed 465369038[TEST PROF INFO] Time spent in factories: 12:46.155 (54.73% of total time)9039Stopped processing SimpleCov as a previous error not related to SimpleCov has been detected9040RSpec exited with 1.9041Retrying the failing examples in a new RSpec process...9042$ gem install junit_merge --no-document --version 0.1.29043Successfully installed nokogiri-1.13.9-x86_64-linux9044Successfully installed junit_merge-0.1.290452 gems installed9046==> 'gem install junit_merge --no-document --version 0.1.2' succeeded in 1 seconds.9047Running RSpec command: bin/rspec -Ispec -rspec_helper --color --format documentation --format RspecJunitFormatter --out rspec/junit_rspec-retry.xml --only-failures --pattern "spec/{bin,channels,config,db,dependencies,elastic,elastic_integration,experiments,factories,finders,frontend,graphql,haml_lint,helpers,initializers,lib,metrics_server,models,policies,presenters,rack_servers,replicators,routing,rubocop,scripts,serializers,services,sidekiq,sidekiq_cluster,spam,support_specs,tasks,uploaders,validators,views,workers,tooling,components}{,/**/}*_spec.rb"9048Run options: include {:last_run_status=>"failed"}9049Test environment set up in 0.426443017 seconds9050Banzai::Filter::References::FeatureFlagReferenceFilter9051 with cross-project URL reference9052 links with adjacent text9053Finished in 5.38 seconds (files took 46.23 seconds to load)90541 example, 0 failures9055[TEST PROF INFO] Time spent in factories: 00:02.127 (26.22% of total time)9057Not uploading cache ruby-gems-debian-bullseye-ruby-2.7-16 due to policy9058Not uploading cache gitaly-ruby-gems-debian-bullseye-ruby-2.7-16 due to policy9060Uploading artifacts...9061coverage/: found 4 matching files and directories 9062crystalball/: found 2 matching files and directories 9063WARNING: deprecations/: no matching files. Ensure that the artifact path is relative to the working directory 9064knapsack/: found 3 matching files and directories 9065rspec/: found 11 matching files and directories 9066WARNING: tmp/capybara/: no matching files. Ensure that the artifact path is relative to the working directory 9067log/*.log: found 18 matching files and directories 9068WARNING: Upload request redirected location=https://gitlab.com/api/v4/jobs/3275962834/artifacts?artifact_format=zip&artifact_type=archive&expire_in=31d new-url=https://gitlab.com9069WARNING: Retrying... context=artifacts-uploader error=request redirected9070Uploading artifacts as "archive" to coordinator... 201 Created id=3275962834 responseStatus=201 Created token=zWnq-qrs9071Uploading artifacts...9072rspec/junit_rspec.xml: found 1 matching files and directories 9073WARNING: Upload request redirected location=https://gitlab.com/api/v4/jobs/3275962834/artifacts?artifact_format=gzip&artifact_type=junit&expire_in=31d new-url=https://gitlab.com9074WARNING: Retrying... context=artifacts-uploader error=request redirected9075Uploading artifacts as "junit" to coordinator... 201 Created id=3275962834 responseStatus=201 Created token=zWnq-qrs9077Job succeeded