rspec-pg 16/50
Passed Started
by
@eread

Evan Read
1Running with gitlab-runner 11.8.0 (4745a6f3)2 on docker-auto-scale-com 8a6210b83Using Docker executor with image dev.gitlab.org:5005/gitlab/gitlab-build-images:ruby-2.5.3-golang-1.11-git-2.18-chrome-71.0-node-10.x-yarn-1.12-postgresql-9.6-graphicsmagick-1.3.29 ...4Starting service postgres:9.6 ...5Pulling docker image postgres:9.6 ...6Using docker image sha256:5e8319b0f67bf0c214dd4e43a1155a69ecbfdcd6ce2739da155a81e6d15ab303 for postgres:9.6 ...7Starting service redis:alpine ...8Pulling docker image redis:alpine ...9Using docker image sha256:3d2a373f46ae28f3376c356d27210759aa9348fd94c517cf77e9df2a2c41c37f for redis:alpine ...10Waiting for services to be up and running...11Pulling docker image dev.gitlab.org:5005/gitlab/gitlab-build-images:ruby-2.5.3-golang-1.11-git-2.18-chrome-71.0-node-10.x-yarn-1.12-postgresql-9.6-graphicsmagick-1.3.29 ...12Using docker image sha256:ac6482d398ed0ce8bef4327b0bb15dfe815331f073f5b6ba3e04c5cd8317402d for dev.gitlab.org:5005/gitlab/gitlab-build-images:ruby-2.5.3-golang-1.11-git-2.18-chrome-71.0-node-10.x-yarn-1.12-postgresql-9.6-graphicsmagick-1.3.29 ... 13 Running on runner-8a6210b8-project-13083-concurrent-0 via runner-8a6210b8-gsrm-1552527172-2d7ba57b...
00:01
15Removing .gitlab_shell_secret16Removing .gitlab_workhorse_secret17Removing config/database.yml18Removing config/gitlab.yml19Removing config/redis.cache.yml20Removing config/redis.queues.yml21Removing config/redis.shared_state.yml22Removing config/resque.yml23Removing config/secrets.yml24Removing coverage/25Removing junit_rspec.xml26Removing knapsack/27Removing log/api_json.log28Removing log/application.log29Removing log/audit_json.log30Removing log/gitaly-test.log31Removing log/githost.log32Removing log/grpc.log33Removing log/test_json.log34Removing node_modules/35Removing public/assets/36Removing rspec_flaky/37Removing rspec_profiling/38Removing shared/lfs-objects/6c/39Removing shared/lfs-objects/fb/40Removing shared/lfs-objects/tmp/41Removing tmp/cache/42Removing tmp/prometheus_multiproc_dir/counter_process_id_102-0.db43Removing tmp/prometheus_multiproc_dir/histogram_process_id_102-0.db44Removing tmp/tests/45Removing vendor/gitaly-ruby/46Removing vendor/ruby/47HEAD is now at 756fedb5 Fixes jupyter installation randomly failing49 * [new branch] master -> origin/master50Checking out ae8cbffa as master...51Skipping Git submodules setup53Downloading cache.zip from https://storage.googleapis.com/gitlab-com-runners-cache/project/13083/debian-stretch-ruby-2.5.3-node-10.x-3 54Successfully extracted cache56Downloading artifacts from coordinator... ok id=177320529 responseStatus=200 OK token=X8zvZUGm57Downloading artifacts for compile-assets (177320531)...58Downloading artifacts from coordinator... ok id=177320531 responseStatus=200 OK token=LucBTJi359Downloading artifacts for setup-test-env (177320533)...60Downloading artifacts from coordinator... ok id=177320533 responseStatus=200 OK token=GssumYh361WARNING: tmp/tests/gitlab-shell/.gitlab_shell_secret: chmod tmp/tests/gitlab-shell/.gitlab_shell_secret: no such file or directory (suppressing repeats) 63Bundler version 1.17.264$ date65Thu Mar 14 02:15:33 UTC 201966$ source scripts/utils.sh67$ date68Thu Mar 14 02:15:33 UTC 201969$ source scripts/prepare_build.sh70Warning: the running version of Bundler (1.17.2) is older than the version that created the lockfile (1.17.3). We suggest you upgrade to the latest version of Bundler by running `gem install bundler`.71The Gemfile's dependencies are satisfied72Successfully installed knapsack-1.17.1731 gem installed74CREATE ROLE75GRANT76Dropped database 'gitlabhq_test'77Created database 'gitlabhq_test'78-- enable_extension("plpgsql")79 -> 0.0230s80-- enable_extension("pg_trgm")81 -> 0.0165s82-- create_table("abuse_reports", {:force=>:cascade})83 -> 0.0137s84-- create_table("appearances", {:force=>:cascade})85 -> 0.0116s86-- create_table("application_setting_terms", {:force=>:cascade})87 -> 0.0099s88-- create_table("application_settings", {:force=>:cascade})89 -> 0.0634s90-- create_table("audit_events", {:force=>:cascade})91 -> 0.0158s92-- create_table("award_emoji", {:force=>:cascade})93 -> 0.0237s94-- create_table("badges", {:force=>:cascade})95 -> 0.0362s96-- create_table("board_group_recent_visits", {:id=>:bigserial, :force=>:cascade})97 -> 0.0309s98-- create_table("board_project_recent_visits", {:id=>:bigserial, :force=>:cascade})99 -> 0.0309s100-- create_table("boards", {:force=>:cascade})101 -> 0.0186s102-- create_table("broadcast_messages", {:force=>:cascade})103 -> 0.0153s104-- create_table("chat_names", {:force=>:cascade})105 -> 0.0226s106-- create_table("chat_teams", {:force=>:cascade})107 -> 0.0165s108-- create_table("ci_build_trace_chunks", {:id=>:bigserial, :force=>:cascade})109 -> 0.0157s110-- create_table("ci_build_trace_section_names", {:force=>:cascade})111 -> 0.0155s112-- create_table("ci_build_trace_sections", {:force=>:cascade})113 -> 0.0240s114-- create_table("ci_builds", {:force=>:cascade})115 -> 0.1315s116-- create_table("ci_builds_metadata", {:force=>:cascade})117 -> 0.0229s118-- create_table("ci_builds_runner_session", {:id=>:bigserial, :force=>:cascade})119 -> 0.0156s120-- create_table("ci_group_variables", {:force=>:cascade})121 -> 0.0169s122-- create_table("ci_job_artifacts", {:force=>:cascade})123 -> 0.0339s124-- create_table("ci_pipeline_chat_data", {:id=>:bigserial, :force=>:cascade})125 -> 0.0215s126-- create_table("ci_pipeline_schedule_variables", {:force=>:cascade})127 -> 0.0164s128-- create_table("ci_pipeline_schedules", {:force=>:cascade})129 -> 0.0282s130-- create_table("ci_pipeline_variables", {:force=>:cascade})131 -> 0.0159s132-- create_table("ci_pipelines", {:force=>:cascade})133 -> 0.0878s134-- create_table("ci_runner_namespaces", {:force=>:cascade})135 -> 0.0190s136-- create_table("ci_runner_projects", {:force=>:cascade})137 -> 0.0198s138-- create_table("ci_runners", {:force=>:cascade})139 -> 0.0553s140-- create_table("ci_stages", {:force=>:cascade})141 -> 0.0371s142-- create_table("ci_trigger_requests", {:force=>:cascade})143 -> 0.0246s144-- create_table("ci_triggers", {:force=>:cascade})145 -> 0.0238s146-- create_table("ci_variables", {:force=>:cascade})147 -> 0.0190s148-- create_table("cluster_groups", {:force=>:cascade})149 -> 0.0195s150-- create_table("cluster_platforms_kubernetes", {:force=>:cascade})151 -> 0.0176s152-- create_table("cluster_projects", {:force=>:cascade})153 -> 0.0198s154-- create_table("cluster_providers_gcp", {:force=>:cascade})155 -> 0.0176s156-- create_table("clusters", {:force=>:cascade})157 -> 0.0275s158-- create_table("clusters_applications_cert_managers", {:force=>:cascade})159 -> 0.0172s160-- create_table("clusters_applications_helm", {:force=>:cascade})161 -> 0.0169s162-- create_table("clusters_applications_ingress", {:force=>:cascade})163 -> 0.0173s164-- create_table("clusters_applications_jupyter", {:force=>:cascade})165 -> 0.0239s166-- create_table("clusters_applications_knative", {:force=>:cascade})167 -> 0.0183s168-- create_table("clusters_applications_prometheus", {:force=>:cascade})169 -> 0.0188s170-- create_table("clusters_applications_runners", {:force=>:cascade})171 -> 0.0268s172-- create_table("clusters_kubernetes_namespaces", {:id=>:bigserial, :force=>:cascade})173 -> 0.0416s174-- create_table("container_repositories", {:force=>:cascade})175 -> 0.0243s176-- create_table("conversational_development_index_metrics", {:force=>:cascade})177 -> 0.0136s178-- create_table("deploy_keys_projects", {:force=>:cascade})179 -> 0.0143s180-- create_table("deploy_tokens", {:force=>:cascade})181 -> 0.0269s182-- create_table("deployments", {:force=>:cascade})183 -> 0.0764s184-- create_table("emails", {:force=>:cascade})185 -> 0.0294s186-- create_table("environments", {:force=>:cascade})187 -> 0.0249s188-- create_table("events", {:force=>:cascade})189 -> 0.0420s190-- create_table("feature_gates", {:force=>:cascade})191 -> 0.0178s192-- create_table("features", {:force=>:cascade})193 -> 0.0164s194-- create_table("fork_network_members", {:force=>:cascade})195 -> 0.0250s196-- create_table("fork_networks", {:force=>:cascade})197 -> 0.0163s198-- create_table("forked_project_links", {:force=>:cascade})199 -> 0.0132s200-- create_table("gpg_key_subkeys", {:force=>:cascade})201 -> 0.0294s202-- create_table("gpg_keys", {:force=>:cascade})203 -> 0.0299s204-- create_table("gpg_signatures", {:force=>:cascade})205 -> 0.0455s206-- create_table("group_custom_attributes", {:force=>:cascade})207 -> 0.0227s208-- create_table("identities", {:force=>:cascade})209 -> 0.0155s210-- create_table("import_export_uploads", {:force=>:cascade})211 -> 0.0213s212-- create_table("internal_ids", {:id=>:bigserial, :force=>:cascade})213 -> 0.0302s214-- create_table("issue_assignees", {:id=>false, :force=>:cascade})215 -> 0.0151s216-- create_table("issue_metrics", {:force=>:cascade})217 -> 0.0142s218-- create_table("issues", {:force=>:cascade})219 -> 0.1142s220-- create_table("keys", {:force=>:cascade})221 -> 0.0260s222-- create_table("label_links", {:force=>:cascade})223 -> 0.0247s224-- create_table("label_priorities", {:force=>:cascade})225 -> 0.0284s226-- create_table("labels", {:force=>:cascade})227 -> 0.0469s228-- create_table("lfs_file_locks", {:force=>:cascade})229 -> 0.0240s230-- create_table("lfs_objects", {:force=>:cascade})231 -> 0.0251s232-- create_table("lfs_objects_projects", {:force=>:cascade})233 -> 0.0139s234-- create_table("lists", {:force=>:cascade})235 -> 0.0273s236-- create_table("members", {:force=>:cascade})237 -> 0.0438s238-- create_table("merge_request_diff_commits", {:id=>false, :force=>:cascade})239 -> 0.0213s240-- create_table("merge_request_diff_files", {:id=>false, :force=>:cascade})241 -> 0.0133s242-- create_table("merge_request_diffs", {:force=>:cascade})243 -> 0.0180s244-- create_table("merge_request_metrics", {:force=>:cascade})245 -> 0.0422s246-- create_table("merge_requests", {:force=>:cascade})247 -> 0.1333s248-- create_table("merge_requests_closing_issues", {:force=>:cascade})249 -> 0.0206s250-- create_table("milestones", {:force=>:cascade})251 -> 0.0467s252-- create_table("namespaces", {:force=>:cascade})253 -> 0.0849s254-- create_table("note_diff_files", {:force=>:cascade})255 -> 0.0174s256-- create_table("notes", {:force=>:cascade})257 -> 0.0673s258-- create_table("notification_settings", {:force=>:cascade})259 -> 0.0331s260-- create_table("oauth_access_grants", {:force=>:cascade})261 -> 0.0175s262-- create_table("oauth_access_tokens", {:force=>:cascade})263 -> 0.0305s264-- create_table("oauth_applications", {:force=>:cascade})265 -> 0.0245s266-- create_table("oauth_openid_requests", {:force=>:cascade})267 -> 0.0172s268-- create_table("pages_domains", {:force=>:cascade})269 -> 0.0479s270-- create_table("personal_access_tokens", {:force=>:cascade})271 -> 0.0279s272-- create_table("pool_repositories", {:id=>:bigserial, :force=>:cascade})273 -> 0.0326s274-- create_table("programming_languages", {:force=>:cascade})275 -> 0.0172s276-- create_table("project_authorizations", {:id=>false, :force=>:cascade})277 -> 0.0173s278-- create_table("project_auto_devops", {:force=>:cascade})279 -> 0.0190s280-- create_table("project_ci_cd_settings", {:force=>:cascade})281 -> 0.0156s282-- create_table("project_custom_attributes", {:force=>:cascade})283 -> 0.0247s284-- create_table("project_daily_statistics", {:id=>:bigserial, :force=>:cascade})285 -> 0.0139s286-- create_table("project_deploy_tokens", {:force=>:cascade})287 -> 0.0221s288-- create_table("project_error_tracking_settings", {:primary_key=>"project_id", :id=>:integer, :force=>:cascade})289 -> 0.0110s290-- create_table("project_features", {:force=>:cascade})291 -> 0.0191s292-- create_table("project_group_links", {:force=>:cascade})293 -> 0.0229s294-- create_table("project_import_data", {:force=>:cascade})295 -> 0.0180s296-- create_table("project_mirror_data", {:force=>:cascade})297 -> 0.0326s298-- create_table("project_repositories", {:id=>:bigserial, :force=>:cascade})299 -> 0.0339s300-- create_table("project_statistics", {:force=>:cascade})301 -> 0.0258s302-- create_table("projects", {:force=>:cascade})303 -> 0.1563s304-- create_table("prometheus_metrics", {:force=>:cascade})305 -> 0.0374s306-- create_table("protected_branch_merge_access_levels", {:force=>:cascade})307 -> 0.0142s308-- create_table("protected_branch_push_access_levels", {:force=>:cascade})309 -> 0.0144s310-- create_table("protected_branches", {:force=>:cascade})311 -> 0.0173s312-- create_table("protected_tag_create_access_levels", {:force=>:cascade})313 -> 0.0284s314-- create_table("protected_tags", {:force=>:cascade})315 -> 0.0237s316-- create_table("push_event_payloads", {:id=>false, :force=>:cascade})317 -> 0.0140s318-- create_table("redirect_routes", {:force=>:cascade})319 -> 0.0237s320-- create_table("release_links", {:id=>:bigserial, :force=>:cascade})321 -> 0.0246s322-- create_table("releases", {:force=>:cascade})323 -> 0.0311s324-- create_table("remote_mirrors", {:force=>:cascade})325 -> 0.0265s326-- create_table("repository_languages", {:id=>false, :force=>:cascade})327 -> 0.0104s328-- create_table("resource_label_events", {:id=>:bigserial, :force=>:cascade})329 -> 0.0379s330-- create_table("routes", {:force=>:cascade})331 -> 0.0316s332-- create_table("sent_notifications", {:force=>:cascade})333 -> 0.0182s334-- create_table("services", {:force=>:cascade})335 -> 0.0407s336-- create_table("shards", {:force=>:cascade})337 -> 0.0172s338-- create_table("snippets", {:force=>:cascade})339 -> 0.0520s340-- create_table("spam_logs", {:force=>:cascade})341 -> 0.0138s342-- create_table("subscriptions", {:force=>:cascade})343 -> 0.0261s344-- create_table("suggestions", {:id=>:bigserial, :force=>:cascade})345 -> 0.0188s346-- create_table("system_note_metadata", {:force=>:cascade})347 -> 0.0180s348-- create_table("taggings", {:force=>:cascade})349 -> 0.0399s350-- create_table("tags", {:force=>:cascade})351 -> 0.0233s352-- create_table("term_agreements", {:force=>:cascade})353 -> 0.0282s354-- create_table("timelogs", {:force=>:cascade})355 -> 0.0289s356-- create_table("todos", {:force=>:cascade})357 -> 0.0946s358-- create_table("trending_projects", {:force=>:cascade})359 -> 0.0158s360-- create_table("u2f_registrations", {:force=>:cascade})361 -> 0.0252s362-- create_table("uploads", {:force=>:cascade})363 -> 0.0629s364-- create_table("user_agent_details", {:force=>:cascade})365 -> 0.0203s366-- create_table("user_callouts", {:force=>:cascade})367 -> 0.0223s368-- create_table("user_custom_attributes", {:force=>:cascade})369 -> 0.0275s370-- create_table("user_interacted_projects", {:id=>false, :force=>:cascade})371 -> 0.0176s372-- create_table("user_preferences", {:force=>:cascade})373 -> 0.0221s374-- create_table("user_statuses", {:primary_key=>"user_id", :force=>:cascade})375 -> 0.0197s376-- create_table("user_synced_attributes_metadata", {:force=>:cascade})377 -> 0.0186s378-- create_table("users", {:force=>:cascade})379 -> 0.1254s380-- create_table("users_star_projects", {:force=>:cascade})381 -> 0.0206s382-- create_table("web_hook_logs", {:force=>:cascade})383 -> 0.0236s384-- create_table("web_hooks", {:force=>:cascade})385 -> 0.0317s386-- add_foreign_key("application_settings", "users", {:column=>"usage_stats_set_by_user_id", :name=>"fk_964370041d", :on_delete=>:nullify})387 -> 0.0056s388-- add_foreign_key("badges", "namespaces", {:column=>"group_id", :on_delete=>:cascade})389 -> 0.0039s390-- add_foreign_key("badges", "projects", {:on_delete=>:cascade})391 -> 0.0044s392-- add_foreign_key("board_group_recent_visits", "boards", {:on_delete=>:cascade})393 -> 0.0033s394-- add_foreign_key("board_group_recent_visits", "namespaces", {:column=>"group_id", :on_delete=>:cascade})395 -> 0.0027s396-- add_foreign_key("board_group_recent_visits", "users", {:on_delete=>:cascade})397 -> 0.0033s398-- add_foreign_key("board_project_recent_visits", "boards", {:on_delete=>:cascade})399 -> 0.0031s400-- add_foreign_key("board_project_recent_visits", "projects", {:on_delete=>:cascade})401 -> 0.0032s402-- add_foreign_key("board_project_recent_visits", "users", {:on_delete=>:cascade})403 -> 0.0035s404-- add_foreign_key("boards", "namespaces", {:column=>"group_id", :on_delete=>:cascade})405 -> 0.0031s406-- add_foreign_key("boards", "projects", {:name=>"fk_f15266b5f9", :on_delete=>:cascade})407 -> 0.0036s408-- add_foreign_key("chat_teams", "namespaces", {:on_delete=>:cascade})409 -> 0.0030s410-- add_foreign_key("ci_build_trace_chunks", "ci_builds", {:column=>"build_id", :on_delete=>:cascade})411 -> 0.0039s412-- add_foreign_key("ci_build_trace_section_names", "projects", {:on_delete=>:cascade})413 -> 0.0034s414-- add_foreign_key("ci_build_trace_sections", "ci_build_trace_section_names", {:column=>"section_name_id", :name=>"fk_264e112c66", :on_delete=>:cascade})415 -> 0.0029s416-- add_foreign_key("ci_build_trace_sections", "ci_builds", {:column=>"build_id", :name=>"fk_4ebe41f502", :on_delete=>:cascade})417 -> 0.0029s418-- add_foreign_key("ci_build_trace_sections", "projects", {:on_delete=>:cascade})419 -> 0.0030s420-- add_foreign_key("ci_builds", "ci_pipelines", {:column=>"auto_canceled_by_id", :name=>"fk_a2141b1522", :on_delete=>:nullify})421 -> 0.0037s422-- add_foreign_key("ci_builds", "ci_pipelines", {:column=>"commit_id", :name=>"fk_d3130c9a7f", :on_delete=>:cascade})423 -> 0.0032s424-- add_foreign_key("ci_builds", "ci_stages", {:column=>"stage_id", :name=>"fk_3a9eaa254d", :on_delete=>:cascade})425 -> 0.0033s426-- add_foreign_key("ci_builds", "projects", {:name=>"fk_befce0568a", :on_delete=>:cascade})427 -> 0.0036s428-- add_foreign_key("ci_builds_metadata", "ci_builds", {:column=>"build_id", :on_delete=>:cascade})429 -> 0.0033s430-- add_foreign_key("ci_builds_metadata", "projects", {:on_delete=>:cascade})431 -> 0.0038s432-- add_foreign_key("ci_builds_runner_session", "ci_builds", {:column=>"build_id", :on_delete=>:cascade})433 -> 0.0034s434-- add_foreign_key("ci_group_variables", "namespaces", {:column=>"group_id", :name=>"fk_33ae4d58d8", :on_delete=>:cascade})435 -> 0.0032s436-- add_foreign_key("ci_job_artifacts", "ci_builds", {:column=>"job_id", :on_delete=>:cascade})437 -> 0.0036s438-- add_foreign_key("ci_job_artifacts", "projects", {:on_delete=>:cascade})439 -> 0.0038s440-- add_foreign_key("ci_pipeline_chat_data", "chat_names", {:on_delete=>:cascade})441 -> 0.0033s442-- add_foreign_key("ci_pipeline_chat_data", "ci_pipelines", {:column=>"pipeline_id", :on_delete=>:cascade})443 -> 0.0029s444-- add_foreign_key("ci_pipeline_schedule_variables", "ci_pipeline_schedules", {:column=>"pipeline_schedule_id", :name=>"fk_41c35fda51", :on_delete=>:cascade})445 -> 0.0032s446-- add_foreign_key("ci_pipeline_schedules", "projects", {:name=>"fk_8ead60fcc4", :on_delete=>:cascade})447 -> 0.0035s448-- add_foreign_key("ci_pipeline_schedules", "users", {:column=>"owner_id", :name=>"fk_9ea99f58d2", :on_delete=>:nullify})449 -> 0.0034s450-- add_foreign_key("ci_pipeline_variables", "ci_pipelines", {:column=>"pipeline_id", :name=>"fk_f29c5f4380", :on_delete=>:cascade})451 -> 0.0034s452-- add_foreign_key("ci_pipelines", "ci_pipeline_schedules", {:column=>"pipeline_schedule_id", :name=>"fk_3d34ab2e06", :on_delete=>:nullify})453 -> 0.0030s454-- add_foreign_key("ci_pipelines", "ci_pipelines", {:column=>"auto_canceled_by_id", :name=>"fk_262d4c2d19", :on_delete=>:nullify})455 -> 0.0028s456-- add_foreign_key("ci_pipelines", "merge_requests", {:name=>"fk_a23be95014", :on_delete=>:cascade})457 -> 0.0046s458-- add_foreign_key("ci_pipelines", "projects", {:name=>"fk_86635dbd80", :on_delete=>:cascade})459 -> 0.0036s460-- add_foreign_key("ci_runner_namespaces", "ci_runners", {:column=>"runner_id", :on_delete=>:cascade})461 -> 0.0032s462-- add_foreign_key("ci_runner_namespaces", "namespaces", {:on_delete=>:cascade})463 -> 0.0029s464-- add_foreign_key("ci_runner_projects", "projects", {:name=>"fk_4478a6f1e4", :on_delete=>:cascade})465 -> 0.0040s466-- add_foreign_key("ci_stages", "ci_pipelines", {:column=>"pipeline_id", :name=>"fk_fb57e6cc56", :on_delete=>:cascade})467 -> 0.0031s468-- add_foreign_key("ci_stages", "projects", {:name=>"fk_2360681d1d", :on_delete=>:cascade})469 -> 0.0037s470-- add_foreign_key("ci_trigger_requests", "ci_triggers", {:column=>"trigger_id", :name=>"fk_b8ec8b7245", :on_delete=>:cascade})471 -> 0.0030s472-- add_foreign_key("ci_triggers", "projects", {:name=>"fk_e3e63f966e", :on_delete=>:cascade})473 -> 0.0044s474-- add_foreign_key("ci_triggers", "users", {:column=>"owner_id", :name=>"fk_e8e10d1964", :on_delete=>:cascade})475 -> 0.0035s476-- add_foreign_key("ci_variables", "projects", {:name=>"fk_ada5eb64b3", :on_delete=>:cascade})477 -> 0.0032s478-- add_foreign_key("cluster_groups", "clusters", {:on_delete=>:cascade})479 -> 0.0035s480-- add_foreign_key("cluster_groups", "namespaces", {:column=>"group_id", :on_delete=>:cascade})481 -> 0.0030s482-- add_foreign_key("cluster_platforms_kubernetes", "clusters", {:on_delete=>:cascade})483 -> 0.0035s484-- add_foreign_key("cluster_projects", "clusters", {:on_delete=>:cascade})485 -> 0.0031s486-- add_foreign_key("cluster_projects", "projects", {:on_delete=>:cascade})487 -> 0.0034s488-- add_foreign_key("cluster_providers_gcp", "clusters", {:on_delete=>:cascade})489 -> 0.0040s490-- add_foreign_key("clusters", "users", {:on_delete=>:nullify})491 -> 0.0041s492-- add_foreign_key("clusters_applications_cert_managers", "clusters", {:on_delete=>:cascade})493 -> 0.0035s494-- add_foreign_key("clusters_applications_helm", "clusters", {:on_delete=>:cascade})495 -> 0.0039s496-- add_foreign_key("clusters_applications_ingress", "clusters", {:name=>"fk_753a7b41c1", :on_delete=>:cascade})497 -> 0.0035s498-- add_foreign_key("clusters_applications_jupyter", "clusters", {:on_delete=>:cascade})499 -> 0.0042s500-- add_foreign_key("clusters_applications_jupyter", "oauth_applications", {:on_delete=>:nullify})501 -> 0.0037s502-- add_foreign_key("clusters_applications_knative", "clusters", {:on_delete=>:cascade})503 -> 0.0031s504-- add_foreign_key("clusters_applications_prometheus", "clusters", {:name=>"fk_557e773639", :on_delete=>:cascade})505 -> 0.0034s506-- add_foreign_key("clusters_applications_runners", "ci_runners", {:column=>"runner_id", :name=>"fk_02de2ded36", :on_delete=>:nullify})507 -> 0.0029s508-- add_foreign_key("clusters_applications_runners", "clusters", {:on_delete=>:cascade})509 -> 0.0033s510-- add_foreign_key("clusters_kubernetes_namespaces", "cluster_projects", {:on_delete=>:nullify})511 -> 0.0032s512-- add_foreign_key("clusters_kubernetes_namespaces", "clusters", {:on_delete=>:cascade})513 -> 0.0029s514-- add_foreign_key("clusters_kubernetes_namespaces", "projects", {:on_delete=>:nullify})515 -> 0.0049s516-- add_foreign_key("container_repositories", "projects")517 -> 0.0038s518-- add_foreign_key("deploy_keys_projects", "projects", {:name=>"fk_58a901ca7e", :on_delete=>:cascade})519 -> 0.0036s520-- add_foreign_key("deployments", "projects", {:name=>"fk_b9a3851b82", :on_delete=>:cascade})521 -> 0.0042s522-- add_foreign_key("environments", "projects", {:name=>"fk_d1c8c1da6a", :on_delete=>:cascade})523 -> 0.0039s524-- add_foreign_key("events", "projects", {:on_delete=>:cascade})525 -> 0.0036s526-- add_foreign_key("events", "users", {:column=>"author_id", :name=>"fk_edfd187b6f", :on_delete=>:cascade})527 -> 0.0036s528-- add_foreign_key("fork_network_members", "fork_networks", {:on_delete=>:cascade})529 -> 0.0033s530-- add_foreign_key("fork_network_members", "projects", {:column=>"forked_from_project_id", :name=>"fk_b01280dae4", :on_delete=>:nullify})531 -> 0.0035s532-- add_foreign_key("fork_network_members", "projects", {:on_delete=>:cascade})533 -> 0.0034s534-- add_foreign_key("fork_networks", "projects", {:column=>"root_project_id", :name=>"fk_e7b436b2b5", :on_delete=>:nullify})535 -> 0.0034s536-- add_foreign_key("forked_project_links", "projects", {:column=>"forked_to_project_id", :name=>"fk_434510edb0", :on_delete=>:cascade})537 -> 0.0032s538-- add_foreign_key("gpg_key_subkeys", "gpg_keys", {:on_delete=>:cascade})539 -> 0.0031s540-- add_foreign_key("gpg_keys", "users", {:on_delete=>:cascade})541 -> 0.0034s542-- add_foreign_key("gpg_signatures", "gpg_key_subkeys", {:on_delete=>:nullify})543 -> 0.0033s544-- add_foreign_key("gpg_signatures", "gpg_keys", {:on_delete=>:nullify})545 -> 0.0030s546-- add_foreign_key("gpg_signatures", "projects", {:on_delete=>:cascade})547 -> 0.0036s548-- add_foreign_key("group_custom_attributes", "namespaces", {:column=>"group_id", :on_delete=>:cascade})549 -> 0.0034s550-- add_foreign_key("import_export_uploads", "projects", {:on_delete=>:cascade})551 -> 0.0035s552-- add_foreign_key("internal_ids", "namespaces", {:name=>"fk_162941d509", :on_delete=>:cascade})553 -> 0.0036s554-- add_foreign_key("internal_ids", "projects", {:on_delete=>:cascade})555 -> 0.0035s556-- add_foreign_key("issue_assignees", "issues", {:name=>"fk_b7d881734a", :on_delete=>:cascade})557 -> 0.0040s558-- add_foreign_key("issue_assignees", "users", {:name=>"fk_5e0c8d9154", :on_delete=>:cascade})559 -> 0.0031s560-- add_foreign_key("issue_metrics", "issues", {:on_delete=>:cascade})561 -> 0.0031s562-- add_foreign_key("issues", "issues", {:column=>"moved_to_id", :name=>"fk_a194299be1", :on_delete=>:nullify})563 -> 0.0030s564-- add_foreign_key("issues", "milestones", {:name=>"fk_96b1dd429c", :on_delete=>:nullify})565 -> 0.0039s566-- add_foreign_key("issues", "projects", {:name=>"fk_899c8f3231", :on_delete=>:cascade})567 -> 0.0037s568-- add_foreign_key("issues", "users", {:column=>"author_id", :name=>"fk_05f1e72feb", :on_delete=>:nullify})569 -> 0.0034s570-- add_foreign_key("issues", "users", {:column=>"closed_by_id", :name=>"fk_c63cbf6c25", :on_delete=>:nullify})571 -> 0.0037s572-- add_foreign_key("issues", "users", {:column=>"updated_by_id", :name=>"fk_ffed080f01", :on_delete=>:nullify})573 -> 0.0045s574-- add_foreign_key("label_links", "labels", {:name=>"fk_d97dd08678", :on_delete=>:cascade})575 -> 0.0036s576-- add_foreign_key("label_priorities", "labels", {:on_delete=>:cascade})577 -> 0.0033s578-- add_foreign_key("label_priorities", "projects", {:on_delete=>:cascade})579 -> 0.0036s580-- add_foreign_key("labels", "namespaces", {:column=>"group_id", :on_delete=>:cascade})581 -> 0.0034s582-- add_foreign_key("labels", "projects", {:name=>"fk_7de4989a69", :on_delete=>:cascade})583 -> 0.0038s584-- add_foreign_key("lfs_file_locks", "projects", {:on_delete=>:cascade})585 -> 0.0040s586-- add_foreign_key("lfs_file_locks", "users", {:on_delete=>:cascade})587 -> 0.0034s588-- add_foreign_key("lists", "boards", {:name=>"fk_0d3f677137", :on_delete=>:cascade})589 -> 0.0035s590-- add_foreign_key("lists", "labels", {:name=>"fk_7a5553d60f", :on_delete=>:cascade})591 -> 0.0029s592-- add_foreign_key("members", "users", {:name=>"fk_2e88fb7ce9", :on_delete=>:cascade})593 -> 0.0035s594-- add_foreign_key("merge_request_diff_commits", "merge_request_diffs", {:on_delete=>:cascade})595 -> 0.0037s596-- add_foreign_key("merge_request_diff_files", "merge_request_diffs", {:on_delete=>:cascade})597 -> 0.0037s598-- add_foreign_key("merge_request_diffs", "merge_requests", {:name=>"fk_8483f3258f", :on_delete=>:cascade})599 -> 0.0032s600-- add_foreign_key("merge_request_metrics", "ci_pipelines", {:column=>"pipeline_id", :on_delete=>:cascade})601 -> 0.0037s602-- add_foreign_key("merge_request_metrics", "merge_requests", {:on_delete=>:cascade})603 -> 0.0040s604-- add_foreign_key("merge_request_metrics", "users", {:column=>"latest_closed_by_id", :name=>"fk_ae440388cc", :on_delete=>:nullify})605 -> 0.0034s606-- add_foreign_key("merge_request_metrics", "users", {:column=>"merged_by_id", :name=>"fk_7f28d925f3", :on_delete=>:nullify})607 -> 0.0033s608-- add_foreign_key("merge_requests", "ci_pipelines", {:column=>"head_pipeline_id", :name=>"fk_fd82eae0b9", :on_delete=>:nullify})609 -> 0.0034s610-- add_foreign_key("merge_requests", "merge_request_diffs", {:column=>"latest_merge_request_diff_id", :name=>"fk_06067f5644", :on_delete=>:nullify})611 -> 0.0031s612-- add_foreign_key("merge_requests", "milestones", {:name=>"fk_6a5165a692", :on_delete=>:nullify})613 -> 0.0030s614-- add_foreign_key("merge_requests", "projects", {:column=>"source_project_id", :name=>"fk_3308fe130c", :on_delete=>:nullify})615 -> 0.0034s616-- add_foreign_key("merge_requests", "projects", {:column=>"target_project_id", :name=>"fk_a6963e8447", :on_delete=>:cascade})617 -> 0.0034s618-- add_foreign_key("merge_requests", "users", {:column=>"assignee_id", :name=>"fk_6149611a04", :on_delete=>:nullify})619 -> 0.0034s620-- add_foreign_key("merge_requests", "users", {:column=>"author_id", :name=>"fk_e719a85f8a", :on_delete=>:nullify})621 -> 0.0035s622-- add_foreign_key("merge_requests", "users", {:column=>"merge_user_id", :name=>"fk_ad525e1f87", :on_delete=>:nullify})623 -> 0.0035s624-- add_foreign_key("merge_requests", "users", {:column=>"updated_by_id", :name=>"fk_641731faff", :on_delete=>:nullify})625 -> 0.0036s626-- add_foreign_key("merge_requests_closing_issues", "issues", {:on_delete=>:cascade})627 -> 0.0031s628-- add_foreign_key("merge_requests_closing_issues", "merge_requests", {:on_delete=>:cascade})629 -> 0.0035s630-- add_foreign_key("milestones", "namespaces", {:column=>"group_id", :name=>"fk_95650a40d4", :on_delete=>:cascade})631 -> 0.0029s632-- add_foreign_key("milestones", "projects", {:name=>"fk_9bd0a0c791", :on_delete=>:cascade})633 -> 0.0040s634-- add_foreign_key("note_diff_files", "notes", {:column=>"diff_note_id", :on_delete=>:cascade})635 -> 0.0039s636-- add_foreign_key("notes", "projects", {:name=>"fk_99e097b079", :on_delete=>:cascade})637 -> 0.0035s638-- add_foreign_key("notification_settings", "users", {:name=>"fk_0c95e91db7", :on_delete=>:cascade})639 -> 0.0039s640-- add_foreign_key("oauth_openid_requests", "oauth_access_grants", {:column=>"access_grant_id", :name=>"fk_oauth_openid_requests_oauth_access_grants_access_grant_id"})641 -> 0.0030s642-- add_foreign_key("pages_domains", "projects", {:name=>"fk_ea2f6dfc6f", :on_delete=>:cascade})643 -> 0.0042s644-- add_foreign_key("personal_access_tokens", "users")645 -> 0.0036s646-- add_foreign_key("pool_repositories", "projects", {:column=>"source_project_id", :on_delete=>:nullify})647 -> 0.0034s648-- add_foreign_key("pool_repositories", "shards", {:on_delete=>:restrict})649 -> 0.0029s650-- add_foreign_key("project_authorizations", "projects", {:on_delete=>:cascade})651 -> 0.0030s652-- add_foreign_key("project_authorizations", "users", {:on_delete=>:cascade})653 -> 0.0029s654-- add_foreign_key("project_auto_devops", "projects", {:on_delete=>:cascade})655 -> 0.0030s656-- add_foreign_key("project_ci_cd_settings", "projects", {:name=>"fk_24c15d2f2e", :on_delete=>:cascade})657 -> 0.0029s658-- add_foreign_key("project_custom_attributes", "projects", {:on_delete=>:cascade})659 -> 0.0031s660-- add_foreign_key("project_daily_statistics", "projects", {:on_delete=>:cascade})661 -> 0.0032s662-- add_foreign_key("project_deploy_tokens", "deploy_tokens", {:on_delete=>:cascade})663 -> 0.0029s664-- add_foreign_key("project_deploy_tokens", "projects", {:on_delete=>:cascade})665 -> 0.0031s666-- add_foreign_key("project_error_tracking_settings", "projects", {:on_delete=>:cascade})667 -> 0.0031s668-- add_foreign_key("project_features", "projects", {:name=>"fk_18513d9b92", :on_delete=>:cascade})669 -> 0.0030s670-- add_foreign_key("project_group_links", "projects", {:name=>"fk_daa8cee94c", :on_delete=>:cascade})671 -> 0.0030s672-- add_foreign_key("project_import_data", "projects", {:name=>"fk_ffb9ee3a10", :on_delete=>:cascade})673 -> 0.0030s674-- add_foreign_key("project_mirror_data", "projects", {:on_delete=>:cascade})675 -> 0.0031s676-- add_foreign_key("project_repositories", "projects", {:on_delete=>:cascade})677 -> 0.0031s678-- add_foreign_key("project_repositories", "shards", {:on_delete=>:restrict})679 -> 0.0025s680-- add_foreign_key("project_statistics", "projects", {:on_delete=>:cascade})681 -> 0.0032s682-- add_foreign_key("projects", "pool_repositories", {:name=>"fk_6e5c14658a", :on_delete=>:nullify})683 -> 0.0030s684-- add_foreign_key("prometheus_metrics", "projects", {:on_delete=>:cascade})685 -> 0.0031s686-- add_foreign_key("protected_branch_merge_access_levels", "protected_branches", {:name=>"fk_8a3072ccb3", :on_delete=>:cascade})687 -> 0.0028s688-- add_foreign_key("protected_branch_push_access_levels", "protected_branches", {:name=>"fk_9ffc86a3d9", :on_delete=>:cascade})689 -> 0.0027s690-- add_foreign_key("protected_branches", "projects", {:name=>"fk_7a9c6d93e7", :on_delete=>:cascade})691 -> 0.0030s692-- add_foreign_key("protected_tag_create_access_levels", "namespaces", {:column=>"group_id"})693 -> 0.0028s694-- add_foreign_key("protected_tag_create_access_levels", "protected_tags", {:name=>"fk_f7dfda8c51", :on_delete=>:cascade})695 -> 0.0026s696-- add_foreign_key("protected_tag_create_access_levels", "users")697 -> 0.0032s698-- add_foreign_key("protected_tags", "projects", {:name=>"fk_8e4af87648", :on_delete=>:cascade})699 -> 0.0032s700-- add_foreign_key("push_event_payloads", "events", {:name=>"fk_36c74129da", :on_delete=>:cascade})701 -> 0.0026s702-- add_foreign_key("release_links", "releases", {:on_delete=>:cascade})703 -> 0.0034s704-- add_foreign_key("releases", "projects", {:name=>"fk_47fe2a0596", :on_delete=>:cascade})705 -> 0.0031s706-- add_foreign_key("releases", "users", {:column=>"author_id", :name=>"fk_8e4456f90f", :on_delete=>:nullify})707 -> 0.0030s708-- add_foreign_key("remote_mirrors", "projects", {:on_delete=>:cascade})709 -> 0.0033s710-- add_foreign_key("repository_languages", "projects", {:on_delete=>:cascade})711 -> 0.0030s712-- add_foreign_key("resource_label_events", "issues", {:on_delete=>:cascade})713 -> 0.0030s714-- add_foreign_key("resource_label_events", "labels", {:on_delete=>:nullify})715 -> 0.0024s716-- add_foreign_key("resource_label_events", "merge_requests", {:on_delete=>:cascade})717 -> 0.0027s718-- add_foreign_key("resource_label_events", "users", {:on_delete=>:nullify})719 -> 0.0032s720-- add_foreign_key("services", "projects", {:name=>"fk_71cce407f9", :on_delete=>:cascade})721 -> 0.0033s722-- add_foreign_key("snippets", "projects", {:name=>"fk_be41fd4bb7", :on_delete=>:cascade})723 -> 0.0033s724-- add_foreign_key("subscriptions", "projects", {:on_delete=>:cascade})725 -> 0.0034s726-- add_foreign_key("suggestions", "notes", {:on_delete=>:cascade})727 -> 0.0028s728-- add_foreign_key("system_note_metadata", "notes", {:name=>"fk_d83a918cb1", :on_delete=>:cascade})729 -> 0.0031s730-- add_foreign_key("term_agreements", "application_setting_terms", {:column=>"term_id"})731 -> 0.0028s732-- add_foreign_key("term_agreements", "users", {:on_delete=>:cascade})733 -> 0.0031s734-- add_foreign_key("timelogs", "issues", {:name=>"fk_timelogs_issues_issue_id", :on_delete=>:cascade})735 -> 0.0029s736-- add_foreign_key("timelogs", "merge_requests", {:name=>"fk_timelogs_merge_requests_merge_request_id", :on_delete=>:cascade})737 -> 0.0030s738-- add_foreign_key("todos", "namespaces", {:column=>"group_id", :on_delete=>:cascade})739 -> 0.0037s740-- add_foreign_key("todos", "notes", {:name=>"fk_91d1f47b13", :on_delete=>:cascade})741 -> 0.0040s742-- add_foreign_key("todos", "projects", {:name=>"fk_45054f9c45", :on_delete=>:cascade})743 -> 0.0035s744-- add_foreign_key("todos", "users", {:column=>"author_id", :name=>"fk_ccf0373936", :on_delete=>:cascade})745 -> 0.0031s746-- add_foreign_key("todos", "users", {:name=>"fk_d94154aa95", :on_delete=>:cascade})747 -> 0.0031s748-- add_foreign_key("trending_projects", "projects", {:on_delete=>:cascade})749 -> 0.0035s750-- add_foreign_key("u2f_registrations", "users")751 -> 0.0036s752-- add_foreign_key("user_callouts", "users", {:on_delete=>:cascade})753 -> 0.0030s754-- add_foreign_key("user_custom_attributes", "users", {:on_delete=>:cascade})755 -> 0.0031s756-- add_foreign_key("user_interacted_projects", "projects", {:name=>"fk_722ceba4f7", :on_delete=>:cascade})757 -> 0.0032s758-- add_foreign_key("user_interacted_projects", "users", {:name=>"fk_0894651f08", :on_delete=>:cascade})759 -> 0.0031s760-- add_foreign_key("user_preferences", "users", {:on_delete=>:cascade})761 -> 0.0031s762-- add_foreign_key("user_statuses", "users", {:on_delete=>:cascade})763 -> 0.0031s764-- add_foreign_key("user_synced_attributes_metadata", "users", {:on_delete=>:cascade})765 -> 0.0035s766-- add_foreign_key("users", "application_setting_terms", {:column=>"accepted_term_id", :name=>"fk_789cd90b35", :on_delete=>:cascade})767 -> 0.0032s768-- add_foreign_key("users_star_projects", "projects", {:name=>"fk_22cd27ddfc", :on_delete=>:cascade})769 -> 0.0033s770-- add_foreign_key("web_hook_logs", "web_hooks", {:on_delete=>:cascade})771 -> 0.0030s772-- add_foreign_key("web_hooks", "projects", {:name=>"fk_0c8ca6d9d1", :on_delete=>:cascade})773 -> 0.0035s774-- initialize_schema_migrations_table()775 -> 0.0131s776$ date777Thu Mar 14 02:16:00 UTC 2019778$ JOB_NAME=( $CI_JOB_NAME )779$ TEST_TOOL=${JOB_NAME[0]}780$ export KNAPSACK_REPORT_PATH=knapsack/${CI_PROJECT_NAME}/${TEST_TOOL}_node_${CI_NODE_INDEX}_${CI_NODE_TOTAL}_report.json781$ export KNAPSACK_GENERATE_REPORT=true782$ export SUITE_FLAKY_RSPEC_REPORT_PATH=${FLAKY_RSPEC_SUITE_REPORT_PATH}783$ export FLAKY_RSPEC_REPORT_PATH=rspec_flaky/all_${TEST_TOOL}_${CI_NODE_INDEX}_${CI_NODE_TOTAL}_report.json784$ export NEW_FLAKY_RSPEC_REPORT_PATH=rspec_flaky/new_${TEST_TOOL}_${CI_NODE_INDEX}_${CI_NODE_TOTAL}_report.json785$ export FLAKY_RSPEC_GENERATE_REPORT=true786$ export CACHE_CLASSES=true787$ cp ${KNAPSACK_RSPEC_SUITE_REPORT_PATH} ${KNAPSACK_REPORT_PATH}788$ [[ -f $FLAKY_RSPEC_REPORT_PATH ]] || echo "{}" > ${FLAKY_RSPEC_REPORT_PATH}789$ [[ -f $NEW_FLAKY_RSPEC_REPORT_PATH ]] || echo "{}" > ${NEW_FLAKY_RSPEC_REPORT_PATH}790$ scripts/gitaly-test-spawn791Checking gitaly-ruby bundle...792Warning: the running version of Bundler (1.17.2) is older than the version that created the lockfile (1.17.3). We suggest you upgrade to the latest version of Bundler by running `gem install bundler`.793The Gemfile's dependencies are satisfied794Trying to connect to gitaly: ...... OK795$ knapsack rspec "--color --format documentation --format RspecJunitFormatter --out junit_rspec.xml"796RSpec's reporter has already been initialized with #<IO:<STDERR>> as the deprecation stream, so your change to `deprecation_stream` will be ignored. You should configure it earlier for it to take effect, or use the `--deprecation-out` CLI option. (Called from /builds/gitlab-org/gitlab-ce/spec/support/rspec.rb:8:in `block in <top (required)>')797Knapsack report generator started!798==> Setting up GitLab Shell...799 GitLab Shell set up in 0.088250149 seconds...800==> Setting up Gitaly...801 Gitaly set up in 0.000128997 seconds...802MergeRequest803 associations804 should belong to target_project class_name => Project805 should belong to source_project class_name => Project806 should belong to merge_user class_name => User807 should belong to assignee808 should have many merge_request_diffs809 for forks810 does not load another project due to inverse relationship811 finds the associated merge request812 #squash_in_progress?813Preparing worktree (detached HEAD b83d6e3)814HEAD is now at b83d6e3 Merge branch 'branch-merged' into 'master'815 returns true when there is a current squash directory816Preparing worktree (detached HEAD b83d6e3)817HEAD is now at b83d6e3 Merge branch 'branch-merged' into 'master'818 returns false when there is no squash directory819Preparing worktree (detached HEAD b83d6e3)820HEAD is now at b83d6e3 Merge branch 'branch-merged' into 'master'821 returns false when the squash directory has expired822Preparing worktree (detached HEAD b83d6e3)823HEAD is now at b83d6e3 Merge branch 'branch-merged' into 'master'824 returns false when the source project has been removed825 #squash?826 disabled in database827 should be falsy828 enabled in database829 should be truthy830 #default_squash_commit_message831 returns the oldest multiline commit message832 returns the merge request title if there are no multiline commits833 modules834 should includes the Issuable module835 should includes the Referable module836 should includes the Sortable module837 should includes the Taskable module838 behaves like AtomicInternalId839 .has_internal_id840 Module inclusion841 should includes the AtomicInternalId module842 Validation843 when presence validation is required844 validates presence845 when presence validation is not required846 does not validate presence (PENDING: No reason given)847 Creating an instance848 saves a new instance properly849 internal id generation850 calls InternalId.generate_next and sets internal id attribute851 does not overwrite an existing internal id852 when the instance has an internal ID set853 calls InternalId.update_last_value and sets the `last_value` to that of the instance854 validation855 should validate that :target_branch cannot be empty/falsy856 should validate that :source_branch cannot be empty/falsy857 Validation of merge user with Merge When Pipeline Succeeds858 allows user to be nil when the feature is disabled859 is invalid without merge user860 is valid with merge user861 for forks862 allows merge requests for sibling-forks863 callbacks864 #ensure_merge_request_metrics865 creates metrics after saving866 does not duplicate metrics for a merge request867 respond to868 should respond to #unchecked?869 should respond to #can_be_merged?870 should respond to #cannot_be_merged?871 should respond to #merge_params872 should respond to #merge_when_pipeline_succeeds873 .by_commit_sha874 with sha contained in latest merge request diff875 returns merge requests876 with sha contained not in latest merge request diff877 returns empty requests878 with sha not contained in879 returns empty result880 .in_projects881 returns the merge requests for a set of projects882 .set_latest_merge_request_diff_ids!883 sets IDs for merge requests, whether they are already set or not884 .recent_target_branches885 returns target branches sort by updated at desc886 #target_branch_sha887 returns memoized value888 when the target branch does not exist889 returns nil890 #card_attributes891 includes the author name892 includes the assignee name893 #assignee_ids894 returns an array of the assigned user id895 #assignee_ids=896 sets assignee_id to the last id in the array897 #assignee_or_author?898 returns true for a user that is assigned to a merge request899 returns true for a user that is the author of a merge request900 returns false for a user that is not the assignee or author901 #visible_closing_issues_for902 shows only allowed issues to guest903 shows only allowed issues to developer904 when external issue tracker is enabled905 calls non #closes_issues to retrieve data906 #cache_merge_request_closes_issues!907 caches closed issues908 does not cache closed issues when merge request is closed909 does not cache closed issues when merge request is merged910 when both internal and external issue trackers are enabled911 does not cache issues from external trackers912 caches an internal issue913 when only external issue tracker enabled914 does not cache issues from external trackers915 does not cache an internal issue916 #source_branch_sha917 returns memoized value918 with diffs919 returns the sha of the source branch last commit920 without diffs921 returns the sha of the source branch last commit922 when there is a tag name matching the branch name923 returns the sha of the source branch last commit924 when the merge request is being created925 returns nil926 #to_reference927 returns a String reference to the object928 supports a cross-project reference929 returns a String reference with the full path930 #raw_diffs931 when there are MR diffs932 delegates to the MR diffs933 when there are no MR diffs934 delegates to the compare object935 #diffs936 when there are MR diffs937 delegates to the MR diffs938 when there are no MR diffs939 delegates to the compare object, setting expanded: true940 #preload_discussions_diff_highlight941 with commit diff note942 preloads diff highlighting943 with merge request diff note944 preloads diff highlighting945 #diff_size946 when there are MR diffs947 returns the correct count948 returns the correct overflow count949 does not perform highlighting950 when there are no MR diffs951 returns the correct count952 returns the correct overflow count953 does not perform highlighting954 #modified_paths955 when past_merge_request_diff is specified956 returns affected file paths from specified past_merge_request_diff957 when compare is present958 returns affected file paths from compare959 when no arguments provided960 returns affected file paths for merge_request_diff961 #related_notes962 includes notes for commits963 includes notes for commits from target project as well964 #for_fork?965 returns true if the merge request is for a fork966 returns false if is not for a fork967 #closes_issues968 accesses the set of issues that will be closed on acceptance969 only lists issues as to be closed if it targets the default branch970 #issues_mentioned_but_not_closing971 detects issues mentioned in description but not closed972 when the project has an external issue tracker973 detects issues mentioned in description but not closed974 #work_in_progress?975 detects the 'WIP ' prefix976 detects the 'WIP:' prefix977 detects the 'WIP: ' prefix978 detects the '[WIP]' prefix979 detects the '[WIP] ' prefix980 detects the ' [WIP] WIP [WIP] WIP: WIP ' prefix981 doesn't detect WIP for words starting with WIP982 doesn't detect WIP for words containing with WIP983 doesn't detect WIP by default984 #wipless_title985 removes the 'WIP ' prefix986 is satisfies the #work_in_progress? method987 removes the 'WIP:' prefix988 is satisfies the #work_in_progress? method989 removes the 'WIP: ' prefix990 is satisfies the #work_in_progress? method991 removes the '[WIP]' prefix992 is satisfies the #work_in_progress? method993 removes the '[WIP] ' prefix994 is satisfies the #work_in_progress? method995 removes the '[WIP] WIP [WIP] WIP: WIP ' prefix996 is satisfies the #work_in_progress? method997 #wip_title998 adds the WIP: prefix to the title999 does not add the WIP: prefix multiple times1000 is satisfies the #work_in_progress? method1001 #can_remove_source_branch?1002 can't be removed when its a protected branch1003 can't remove a root ref1004 is unable to remove the source branch for a project the user cannot push to1005 can be removed if the last commit is the head of the source branch1006 cannot be removed if the last commit is not also the head of the source branch1007 #default_merge_commit_message1008 includes merge information as the title1009 includes its title in the body1010 includes its closed issues in the body1011 includes its reference in the body1012 excludes multiple linebreak runs when description is blank1013 includes its description in the body1014 does not includes its description in the body1015 #reset_merge_when_pipeline_succeeds1016 sets the item to false1017 #commit_authors1018 returns all the authors of every commit in the merge request1019 returns an empty array if no author is associated with a user1020 #authors1021 returns a list with all the commit authors in the merge request and author1022 returns only the author if no committer is associated with a user1023 #hook_attrs1024 delegates to Gitlab::HookData::MergeRequestBuilder#build1025 #diverged_commits_count1026 when the target branch does not exist anymore1027 does not crash1028 returns 01029 diverged on same repository1030 counts commits that are on target branch but not on source branch1031 diverged on fork1032 counts commits that are on target branch but not on source branch1033 rebased on fork1034 counts commits that are on target branch but not on source branch1035 caching1036 caches the output1037 invalidates the cache when the source sha changes1038 invalidates the cache when the target sha changes1039 behaves like an editable mentionable1040 creates new cross-reference notes when the mentionable text is edited1041 behaves like a mentionable1042 generates a descriptive back-reference1043 extracts references from its reference property1044 creates cross-reference notes1045 behaves like a Taskable1046 with multiple tasks1047 returns the correct task status1048 #tasks?1049 returns true when object has tasks1050 returns false when object has no tasks1051 with nested tasks1052 returns the correct task status1053 with an incomplete task1054 returns the correct task status1055 with tasks that are not formatted correctly1056 returns the correct task status1057 with a complete task1058 returns the correct task status1059 #commit_shas1060 delegates to merge request diff1061 head pipeline1062 #head_pipeline1063 returns nil for MR without head_pipeline_id1064 when the source project does not exist1065 returns nil1066 #actual_head_pipeline1067 returns nil for MR with old pipeline1068 returns the pipeline for MR with recent pipeline1069 returns nil when source project does not exist1070 #merge_pipeline1071 returns nil when not merged1072 when the MR is merged1073 returns the post-merge pipeline1074 #has_ci?1075 has ci1076 returns true if MR has head_pipeline_id and commits1077 returns true if MR has any pipeline and commits1078 returns true if MR has CI service and commits1079 has no ci1080 returns false if MR has no CI service nor pipeline, and no commits1081 #all_pipelines1082 with single merge_request_diffs1083 behaves like returning pipelines with proper ordering1084 returns all pipelines1085 with multiple irrelevant merge_request_diffs1086 behaves like returning pipelines with proper ordering1087 returns all pipelines1088 with unsaved merge request1089 returns pipelines from diff_head_sha1090 when pipelines exist for the branch and merge request1091 returns merge request pipeline first1092 when there are a branch pipeline and a merge request pipeline1093 returns merge request pipelines first1094 when there are multiple merge request pipelines from the same branch1095 returns only related merge request pipelines1096 when detached merge request pipeline is run on head ref of the merge request1097 sets the head ref of the merge request to the pipeline ref1098 includes the detached merge request pipeline even though the ref is custom path1099 #update_head_pipeline1100 when there is a pipeline with the diff head sha1101 updates the head pipeline1102 when merge request has already had head pipeline1103 when failed to find an actual head pipeline1104 does not update the current head pipeline1105 when detached merge request pipeline is run on head ref of the merge request1106 sets the head ref of the merge request to the pipeline ref1107 updates correctly even though the target branch name of the merge request is different from the pipeline ref1108 when sha is not HEAD of the source branch1109 does not update head pipeline1110 when there are no pipelines with the diff head sha1111 does not update the head pipeline1112 #has_test_reports?1113 when head pipeline has test reports1114 should be truthy1115 when head pipeline does not have test reports1116 should be falsey1117 #calculate_reactive_cache1118 when given an unknown service class name1119 raises a NameError exception1120 when given a known service class name1121 does not raises a NameError exception1122 #compare_test_reports1123 when head pipeline has test reports1124 when reactive cache worker is parsing asynchronously1125 returns status1126 when reactive cache worker is inline1127 returns status and data1128 when cached results is not latest1129 raises and InvalidateReactiveCache error1130 when head pipeline does not have test reports1131 returns status and error message1132 #all_commit_shas1133 when merge request is persisted1134 with a completely different branch1135 behaves like returning all SHA1136 returns all SHAs from all merge_request_diffs1137 with a branch having no difference1138 behaves like returning all SHA1139 returns all SHAs from all merge_request_diffs1140 when merge request is not persisted1141 when compare commits are set in the service1142 returns commits from compare commits temporary data1143 when compare commits are not set in the service1144 returns array with diff head sha element only1145 #short_merge_commit_sha1146 returns short id when there is a merge_commit_sha1147 returns nil when there is no merge_commit_sha1148 #can_be_reverted?1149 when there is no merge_commit for the MR1150 returns false1151 when the MR has been merged1152 when there is no revert commit1153 returns true1154 when there is no merged_at for the MR1155 returns true1156 when there is a revert commit1157 but merged at timestamp cannot be found1158 returns false1159 when the revert commit is mentioned in a note after the MR was merged1160 returns false1161 when there is no merged_at for the MR1162 returns false1163 when the revert commit is mentioned in a note just before the MR was merged1164 returns false1165 when the revert commit is mentioned in a note long before the MR was merged1166 returns true1167 #merged_at1168 when MR is not merged1169 returns nil1170 when metrics has merged_at data1171 returns metrics merged_at1172 when merged event is persisted, but no metrics merged_at is persisted1173 returns merged event creation date1174 when merging note is persisted, but no metrics or merge event exists1175 returns merging note creation date1176 #participants1177 includes the merge request author1178 includes the authors of the notes1179 cached counts1180 updates when assignees change1181 #merge_async1182 enqueues MergeWorker job and updates merge_jid1183 #check_if_can_be_merged1184 when merge_status is unchecked1185 behaves like checking if can be merged1186 when it is not broken and has no conflicts1187 is marked as mergeable1188 when broken1189 becomes unmergeable1190 when it has conflicts1191 becomes unmergeable1192 when merge_status is unchecked1193 behaves like checking if can be merged1194 when it is not broken and has no conflicts1195 is marked as mergeable1196 when broken1197 becomes unmergeable1198 when it has conflicts1199 becomes unmergeable1200 #mergeable?1201 returns false if #mergeable_state? is false1202 return true if #mergeable_state? is true and the MR #can_be_merged? is true1203 #mergeable_state?1204 checks if merge request can be merged1205 when not open1206 returns false1207 when working in progress1208 returns false1209 when broken1210 returns false1211 when failed1212 when #mergeable_ci_state? is false1213 returns false1214 when #mergeable_discussions_state? is false1215 returns false1216 returns true when skipping discussions check1217 #mergeable_ci_state?1218 when it is only allowed to merge when build is green1219 and a failed pipeline is associated1220 should be falsey1221 and a successful pipeline is associated1222 should be truthy1223 and a skipped pipeline is associated1224 should be truthy1225 when no pipeline is associated1226 should be truthy1227 when merges are not restricted to green builds1228 and a failed pipeline is associated1229 should be truthy1230 when no pipeline is associated1231 should be truthy1232 #mergeable_discussions_state?1233 when project.only_allow_merge_if_all_discussions_are_resolved == true1234 with all discussions resolved1235 returns true1236 with unresolved discussions1237 returns false1238 with no discussions1239 returns true1240 when project.only_allow_merge_if_all_discussions_are_resolved == false1241 with unresolved discussions1242 returns true1243 #environments_for1244 with multiple environments1245 selects deployed environments1246 with environments on source project1247 selects deployed environments1248 with environments on target project1249 selects deployed environments1250 without a diff_head_commit1251 returns an empty array1252 #reload_diff1253 calls MergeRequests::ReloadDiffsService#execute with correct params1254 when using the after_update hook to update1255 when the branches are updated1256 uses the new heads to generate the diff1257 #update_diff_discussion_positions1258 updates diff discussion positions1259 when resolve_outdated_diff_discussions is set1260 calls MergeRequests::ResolvedDiscussionNotificationService1261 #branch_merge_base_commit1262 source and target branch exist1263 should eq "ae73cb07c9eeaf35924a10f713b364d32b2dd34f"1264 should be a kind of Commit1265 when the target branch does not exist1266 returns nil1267 #diff_refs1268 with diffs1269 does not touch the repository1270 returns expected diff_refs1271 #source_project_missing?1272 when the fork exists1273 should be falsey1274 when the source project is the same as the target project1275 should be falsey1276 when the fork does not exist1277 returns true1278 #merge_ongoing?1279 returns true when the merge request is locked1280 returns true when merge_id, MR is not merged and it has no running job1281 returns false when merge_jid is nil1282 returns false if MR is merged1283 returns false if there is no merge job running1284 #closed_without_fork?1285 when the merge request is closed1286 returns false if the fork exist1287 returns true if the fork does not exist1288 when the merge request is open1289 returns false1290 #reopenable?1291 when the merge request is closed1292 returns true1293 forked project1294 returns false if unforked1295 returns false if the source project is deleted1296 returns false if the merge request is merged1297 when the merge request is opened1298 returns false1299 #mergeable_with_quick_action?1300 when autocomplete_precheck is set to true1301 is mergeable by developer1302 is not mergeable by normal user1303 when autocomplete_precheck is set to false1304 is mergeable by developer1305 is not mergeable by normal user1306 closed MR1307 is not mergeable1308 MR with WIP1309 is not mergeable1310 sha differs from the MR diff_head_sha1311 is not mergeable1312 sha is not provided1313 is not mergeable1314 with pipeline ok1315 is mergeable1316 with failing pipeline1317 is not mergeable1318 with running pipeline1319 is mergeable1320 #base_pipeline1321 returns latest pipeline for the target branch1322 #has_commits?1323 returns true when merge request diff has commits1324 #has_no_commits?1325 returns true when merge request diff has 0 commits1326 #merge_request_diff_for1327 runs a single query on the initial call, and none afterwards1328 with diff refs1329 returns the diffs1330 with a commit SHA1331 returns the diffs1332 #version_params_for1333 when the diff refs are for an older merge request version1334 returns the diff ID for the version to show1335 when the diff refs are for a comparison between merge request versions1336 returns the diff ID and start sha of the versions to compare1337 when the diff refs are not for a merge request version1338 returns nil1339 #fetch_ref!1340 fetches the ref correctly1341 removing a merge request1342 refreshes the number of open merge requests of the target project1343 behaves like throttled touch1344 #touch1345 updates the updated_at timestamp1346 updates the object at most once per minute1347 state machine transitions1348 #unlock_mr1349 updates merge request head pipeline and sets merge_jid to nil1350 transition to cannot_be_merged1351 opened1352 notifies conflict, but does not notify again if rechecking still results in cannot_be_merged1353 notifies conflict, whenever newly unmergeable1354 does not notify whenever merge request is newly unmergeable due to other reasons1355 locked1356 notifies conflict, but does not notify again if rechecking still results in cannot_be_merged1357 notifies conflict, whenever newly unmergeable1358 does not notify whenever merge request is newly unmergeable due to other reasons1359 closed1360 does not notify1361 merged1362 does not notify1363 source branch is missing1364 does not raise error1365 check_state?1366 indicates whether MR is still checking for mergeability1367 #should_be_rebased?1368 returns false for the same source and target branches1369 #allow_collaboration1370 is false when pushing by a maintainer is not possible1371 is true when pushing by a maintainer is possible1372 #collaborative_push_possible?1373 does not allow maintainer to push if the source project is the same as the target1374 allows maintainer to push when both source and target are public1375 is not available for protected branches1376 #includes_any_commits?1377 returns false1378 returns false1379 returns true1380 returns true even when there is a non-existent comit1381 unpersisted merge request1382 returns false1383 returns true1384 #can_allow_collaboration?1385 is false if the user does not have push access to the source project1386 is true when the user has push access to the source project1387 #merge_participants1388 contains author1389 when merge_when_pipeline_succeeds? is true1390 when merge user is author1391 contains author only1392 when merge user and author are different users1393 contains author and merge user1394API::Runners1395 GET /runners1396 authorized user1397 returns response status and headers1398 returns user available runners1399 filters runners by scope1400 avoids filtering if scope is invalid1401 filters runners by type1402 does not filter by invalid type1403 filters runners by status1404 does not filter by invalid status1405 filters runners by tag_list1406 unauthorized user1407 does not return runners1408 GET /runners/all1409 authorized user1410 with admin privileges1411 returns response status and headers1412 returns all runners1413 filters runners by scope1414 filters runners by scope1415 avoids filtering if scope is invalid1416 filters runners by type1417 does not filter by invalid type1418 filters runners by status1419 does not filter by invalid status1420 filters runners by tag_list1421 without admin privileges1422 does not return runners list1423 unauthorized user1424 does not return runners1425 GET /runners/:id1426 admin user1427 returns 404 if runner does not exists1428 when runner is shared1429 returns runner's details1430 when runner is not shared1431 returns runner's details1432 returns the project's details for a project runner1433 when unused runner is present1434 deletes unused runner1435 runner project's administrative user1436 when runner is not shared1437 returns runner's details1438 when runner is shared1439 returns runner's details1440 other authorized user1441 does not return project runner's details1442 unauthorized user1443 does not return project runner's details1444 PUT /runners/:id1445 admin user1446 returns 404 if runner does not exists1447 single parameter update1448 runner description1449 runner active state1450 runner tag list1451 runner untagged flag1452 runner unlocked flag1453 runner access level1454 runner maximum timeout1455 fails with no parameters1456 when runner is shared1457 updates runner1458 when runner is not shared1459 updates runner1460 authorized user1461 when runner is shared1462 does not update runner1463 when runner is not shared1464 does not update project runner without access to it1465 updates project runner with access to it1466 unauthorized user1467 does not delete project runner1468 DELETE /runners/:id1469 admin user1470 returns 404 if runner does not exists1471 when runner is shared1472 deletes runner1473 behaves like 412 response1474 for a modified ressource1475 returns 4121476 for an unmodified ressource1477 returns accepted1478 when runner is not shared1479 deletes used project runner1480 authorized user1481 when runner is shared1482 does not delete runner1483 when runner is not shared1484 does not delete runner without access to it1485 does not delete project runner with more than one associated project1486 deletes project runner for one owned project1487 behaves like 412 response1488 for a modified ressource1489 returns 4121490 for an unmodified ressource1491 returns accepted1492 unauthorized user1493 does not delete project runner1494 GET /runners/:id/jobs1495 admin user1496 when runner exists1497 when runner is shared1498 return jobs1499 when runner is specific1500 return jobs1501 when valid status is provided1502 return filtered jobs1503 when invalid status is provided1504 return 4001505 when runner doesn't exist1506 returns 4041507 runner project's administrative user1508 when runner exists1509 when runner is shared1510 returns 4031511 when runner is specific1512 return jobs1513 when valid status is provided1514 return filtered jobs1515 when invalid status is provided1516 return 4001517 when runner doesn't exist1518 returns 4041519 other authorized user1520 does not return jobs1521 unauthorized user1522 does not return jobs1523 GET /projects/:id/runners1524 authorized user with maintainer privileges1525 returns response status and headers1526 returns all runners1527 filters runners by scope1528 avoids filtering if scope is invalid1529 filters runners by type1530 does not filter by invalid type1531 filters runners by status1532 does not filter by invalid status1533 filters runners by tag_list1534 authorized user without maintainer privileges1535 does not return project's runners1536 unauthorized user1537 does not return project's runners1538 POST /projects/:id/runners1539 authorized user1540 enables specific runner1541 avoids changes when enabling already enabled runner1542 does not enable locked runner1543 does not enable shared runner1544 does not enable group runner1545 raises an error when no runner_id param is provided1546 user is admin1547 enables a instance type runner1548 when project runner is used1549 enables any specific runner1550 user is not admin1551 does not enable runner without access to1552 authorized user without permissions1553 does not enable runner1554 unauthorized user1555 does not enable runner1556 DELETE /projects/:id/runners/:runner_id1557 authorized user1558 returns 404 is runner is not found1559 when runner have more than one associated projects1560 disables project's runner1561 behaves like 412 response1562 for a modified ressource1563 returns 4121564 for an unmodified ressource1565 returns accepted1566 when runner have one associated projects1567 does not disable project's runner1568 authorized user without permissions1569 does not disable project's runner1570 unauthorized user1571 does not disable project's runner1572Milestone Milestoneish1573 #sorted_issues1574 sorts issues by label priority1575 attributes visibility1576 #issue_participants_visible_by_user1577 visibility: :public, user_role: nil, result: [:member]1578 returns the proper participants1579 visibility: :public, user_role: :non_member, result: [:member]1580 returns the proper participants1581 visibility: :public, user_role: :guest, result: [:member]1582 returns the proper participants1583 visibility: :public, user_role: :member, result: [:member, :assignee]1584 returns the proper participants1585 visibility: :internal, user_role: nil, result: []1586 returns the proper participants1587 visibility: :internal, user_role: :non_member, result: [:member]1588 returns the proper participants1589 visibility: :internal, user_role: :guest, result: [:member]1590 returns the proper participants1591 visibility: :internal, user_role: :member, result: [:member, :assignee]1592 returns the proper participants1593 visibility: :private, user_role: nil, result: []1594 returns the proper participants1595 visibility: :private, user_role: :non_member, result: []1596 returns the proper participants1597 visibility: :private, user_role: :guest, result: [:member]1598 returns the proper participants1599 visibility: :private, user_role: :member, result: [:member, :assignee]1600 returns the proper participants1601 #issue_labels_visible_by_user1602 visibility: :public, user_role: nil, result: [:label1]1603 returns the proper participants1604 visibility: :public, user_role: :non_member, result: [:label1]1605 returns the proper participants1606 visibility: :public, user_role: :guest, result: [:label1]1607 returns the proper participants1608 visibility: :public, user_role: :member, result: [:label1, :label2]1609 returns the proper participants1610 visibility: :internal, user_role: nil, result: []1611 returns the proper participants1612 visibility: :internal, user_role: :non_member, result: [:label1]1613 returns the proper participants1614 visibility: :internal, user_role: :guest, result: [:label1]1615 returns the proper participants1616 visibility: :internal, user_role: :member, result: [:label1, :label2]1617 returns the proper participants1618 visibility: :private, user_role: nil, result: []1619 returns the proper participants1620 visibility: :private, user_role: :non_member, result: []1621 returns the proper participants1622 visibility: :private, user_role: :guest, result: [:label1]1623 returns the proper participants1624 visibility: :private, user_role: :member, result: [:label1, :label2]1625 returns the proper participants1626 #sorted_merge_requests1627 sorts merge requests by label priority1628 #merge_requests_visible_to_user1629 when project is private1630 does not return any merge request for a non member1631 returns milestone merge requests for a member1632 when project is public1633 when merge requests are available to anyone1634 returns milestone merge requests for a non member1635 when merge requests are available to project members1636 does not return any merge request for a non member1637 returns milestone merge requests for a member1638 #closed_items_count1639 does not count confidential issues for non project members1640 does not count confidential issues for project members with guest role1641 counts confidential issues for author1642 counts confidential issues for assignee1643 counts confidential issues for project members1644 counts all issues for admin1645 #total_items_count1646 does not count confidential issues for non project members1647 does not count confidential issues for project members with guest role1648 counts confidential issues for author1649 counts confidential issues for assignee1650 counts confidential issues for project members1651 counts all issues for admin1652 #complete?1653 returns false when has items opened1654 returns true when all items are closed1655 #percent_complete1656 does not count confidential issues for non project members1657 does not count confidential issues for project members with guest role1658 counts confidential issues for author1659 counts confidential issues for assignee1660 counts confidential issues for project members1661 counts confidential issues for admin1662 #remaining_days1663 shows 0 if no due date1664 shows 0 if expired1665 shows correct remaining days1666 #elapsed_days1667 shows 0 if no start_date set1668 shows 0 if start_date is a future1669 shows correct amount of days1670 #total_issue_time_spent1671 calculates total issue time spent1672 #human_total_issue_time_spent1673 returns nil if no time has been spent1674API::Releases1675 GET /projects/:id/releases1676 when there are two releases1677 returns 200 HTTP status1678 returns releases ordered by created_at1679 matches response schema1680 when tag does not exist in git repository1681 returns the tag1682 when user is not a project member1683 cannot find the project1684 when project is public1685 allows the request1686 GET /projects/:id/releases/:tag_name1687 when there is a release1688 returns 200 HTTP status1689 returns a release entry1690 matches response schema1691 contains source information as assets1692 when release description contains confidential issue's link1693 does not expose confidential issue's title1694 when release has link asset1695 contains link information as assets1696 when link is internal1697 has external false1698 when specified tag is not found in the project1699 cannot find the release entry1700 when user is not a project member1701 cannot find the project1702 when project is public1703 allows the request1704 POST /projects/:id/releases1705 accepts the request1706 creates a new release1707 matches response schema1708 does not create a new tag1709 when description is empty1710 returns an error as validation failure1711 when user is a reporter1712 forbids the request1713 when user is not a project member1714 forbids the request1715 when project is public1716 forbids the request1717 when create assets altogether1718 when create one asset1719 accepts the request1720 creates an asset with specified parameters1721 matches response schema1722 when create two assets1723 creates two assets with specified parameters1724 when link names are duplicates1725 recognizes as a bad request1726 when tag does not exist in git repository1727 creates a new tag1728 creates a new release1729 when tag name is HEAD1730 returns an error as failure on tag creation1731 when tag name is empty1732 returns an error as failure on tag creation1733 when release already exists1734 returns an error as conflicted request1735 PUT /projects/:id/releases/:tag_name1736 accepts the request1737 updates the description1738 does not change other attributes1739 matches response schema1740 when user tries to update sha1741 does not allow the request1742 when params is empty1743 does not allow the request1744 when there are no corresponding releases1745 forbids the request1746 when user is a reporter1747 forbids the request1748 when user is not a project member1749 forbids the request1750 when project is public1751 forbids the request1752 DELETE /projects/:id/releases/:tag_name1753 accepts the request1754 destroys the release1755 does not remove a tag in repository1756 matches response schema1757 when there are no corresponding releases1758 forbids the request1759 when user is a reporter1760 forbids the request1761 when user is not a project member1762 forbids the request1763 when project is public1764 forbids the request1765Issue1766 Associations1767 should belong to milestone1768 should have many assignees1769 modules1770 should includes the Issuable module1771 should includes the Referable module1772 should includes the Sortable module1773 should includes the Taskable module1774 behaves like AtomicInternalId1775 .has_internal_id1776 Module inclusion1777 should includes the AtomicInternalId module1778 Validation1779 when presence validation is required1780 validates presence1781 when presence validation is not required1782 does not validate presence (PENDING: No reason given)1783 Creating an instance1784 saves a new instance properly1785 internal id generation1786 calls InternalId.generate_next and sets internal id attribute1787 does not overwrite an existing internal id1788 when the instance has an internal ID set1789 calls InternalId.update_last_value and sets the `last_value` to that of the instance1790 callbacks1791 #ensure_metrics1792 creates metrics after saving1793 does not create duplicate metrics for an issue1794 records current metrics1795 #order_by_position_and_priority1796 returns ordered list1797 #card_attributes1798 includes the author name1799 includes the assignee name1800 #close1801 sets closed_at to Time.now when an issue is closed1802 changes the state to closed1803 #reopen1804 sets closed_at to nil when an issue is reopend1805 sets closed_by to nil when an issue is reopend1806 changes the state to opened1807 #to_reference1808 supports a cross-project reference1809 when nil argument1810 returns issue id1811 when full is true1812 returns complete path to the issue1813 when same project argument1814 returns issue id1815 when cross namespace project argument1816 returns complete path to the issue1817 when same namespace / cross-project argument1818 returns path to the issue with the project name1819 when different namespace / cross-project argument1820 returns full path to the issue1821 when argument is a namespace1822 with same project path1823 returns path to the issue with the project name1824 with different project path1825 returns full path to the issue1826 #assignee_or_author?1827 returns true for a user that is assigned to an issue1828 returns true for a user that is the author of an issue1829 returns false for a user that is not the assignee or author1830 #can_move?1831 user is not a member of project issue belongs to1832 should eq false1833 user is reporter in project issue belongs to1834 should eq true1835 issue not persisted1836 should eq false1837 checking destination project also1838 destination project allowed1839 should eq true1840 destination project not allowed1841 should eq false1842 #moved?1843 issue not moved1844 should eq false1845 issue already moved1846 should eq true1847 #suggested_branch_name1848 #to_branch_name does not exists1849 returns #to_branch_name1850 #to_branch_name exists not ending with -index1851 returns #to_branch_name ending with -21852 #to_branch_name exists ending with -index1853 returns #to_branch_name ending with max index + 11854 #has_related_branch?1855 branch found1856 should eq true1857 branch not found1858 should eq false1859 behaves like an editable mentionable1860 creates new cross-reference notes when the mentionable text is edited1861 behaves like a mentionable1862 generates a descriptive back-reference1863 extracts references from its reference property1864 creates cross-reference notes1865 behaves like a Taskable1866 with multiple tasks1867 returns the correct task status1868 #tasks?1869 returns true when object has tasks1870 returns false when object has no tasks1871 with nested tasks1872 returns the correct task status1873 with an incomplete task1874 returns the correct task status1875 with tasks that are not formatted correctly1876 returns the correct task status1877 with a complete task1878 returns the correct task status1879 #to_branch_name1880 starts with the issue iid1881 contains the issue title if not confidential1882 does not contain the issue title if confidential1883 #can_be_worked_on?1884 should be can be worked on1885 is closed1886 should not be can be worked on1887 project is forked1888 should not be can be worked on1889 #participants1890 using a public project1891 includes the issue author1892 includes the authors of the notes1893 using a private project1894 does not include mentioned users that do not have access to the project1895 cached counts1896 updates when assignees change1897 #visible_to_user?1898 without a user1899 returns true when the issue is publicly visible1900 returns false when the issue is not publicly visible1901 with a user1902 returns true when the issue is readable1903 returns false when the issue is not readable1904 returns false when feature is disabled1905 returns false when restricted for members1906 with a regular user that is not a team member1907 using a public project1908 returns true for a regular issue1909 returns false for a confidential issue1910 using an internal project1911 using an internal user1912 returns true for a regular issue1913 returns false for a confidential issue1914 using an external user1915 returns false for a regular issue1916 returns false for a confidential issue1917 using a private project1918 returns false for a regular issue1919 returns false for a confidential issue1920 when the user is the project owner1921 returns true for a regular issue1922 returns true for a confidential issue1923 with a regular user that is a team member1924 using a public project1925 returns true for a regular issue1926 returns true for a confidential issue1927 using an internal project1928 returns true for a regular issue1929 returns true for a confidential issue1930 using a private project1931 returns true for a regular issue1932 returns true for a confidential issue1933 with an admin user1934 returns true for a regular issue1935 returns true for a confidential issue1936 #publicly_visible?1937 using a public project1938 returns true for a regular issue1939 returns false for a confidential issue1940 using an internal project1941 returns false for a regular issue1942 returns false for a confidential issue1943 using a private project1944 returns false for a regular issue1945 returns false for a confidential issue1946 #hook_attrs1947 delegates to Gitlab::HookData::IssueBuilder#build1948 #check_for_spam?1949 visibility_level: 20, confidential: false, new_attributes: {:description=>"woo"}, check_for_spam?: true1950 checks for spam on issues that can be seen anonymously1951 visibility_level: 20, confidential: false, new_attributes: {:title=>"woo"}, check_for_spam?: true1952 checks for spam on issues that can be seen anonymously1953 visibility_level: 20, confidential: true, new_attributes: {:confidential=>false}, check_for_spam?: true1954 checks for spam on issues that can be seen anonymously1955 visibility_level: 20, confidential: true, new_attributes: {:description=>"woo"}, check_for_spam?: false1956 checks for spam on issues that can be seen anonymously1957 visibility_level: 20, confidential: false, new_attributes: {:title=>"woo", :confidential=>true}, check_for_spam?: false1958 checks for spam on issues that can be seen anonymously1959 visibility_level: 20, confidential: false, new_attributes: {:description=>"original description"}, check_for_spam?: false1960 checks for spam on issues that can be seen anonymously1961 visibility_level: 10, confidential: false, new_attributes: {:description=>"woo"}, check_for_spam?: false1962 checks for spam on issues that can be seen anonymously1963 visibility_level: 0, confidential: false, new_attributes: {:description=>"woo"}, check_for_spam?: false1964 checks for spam on issues that can be seen anonymously1965 removing an issue1966 refreshes the number of open issues of the project1967 .public_only1968 only returns public issues1969 .confidential_only1970 only returns confidential_only issues1971 behaves like throttled touch1972 #touch1973 updates the updated_at timestamp1974 updates the object at most once per minute1975Discussion Comments Commit1976Starting the Capybara driver server...1977 behaves like discussion comments1978 clicking "Comment" will post a comment1979 when the toggle is clicked1980 has a "Comment" item (selected by default) and "Start discussion" item1981 closes the menu when clicking the toggle or body1982 clicking the ul padding or divider should not change the text1983 when selecting "Start discussion"1984 updates the submit button text and closes the dropdown1985 creating a discussion1986 clicking "Start discussion" will post a discussion1987 when opening the menu1988 should have "Start discussion" selected1989 when selecting "Comment"1990 updates the submit button text and closes the dropdown1991 should have "Comment" selected when opening the menu1992Group merge requests page1993 public access level1994 group member1995 should text "this is my created issuable"1996 non-member1997 should text "this is my created issuable"1998 private access level1999 group member2000 should text "this is my created issuable"2001 non-member2002 should not text "this is my created issuable"2003 archived issuable2004 hides archived merge requests2005 ignores archived merge request count badges in navbar2006 ignores archived merge request count badges in state-filters2007 when merge request assignee to user2008 should text "this is my created issuable"2009 group filtered search2010 filters by assignee only group users2011 new merge request dropdown2012 shows projects only with merge requests feature enabled2013Dashboard Issues2014 issues2015 shows issues assigned to current user2016 shows issues when current user is author2017 state filter tabs work2018 behaves like it has an RSS button with current_user's feed token2019 shows the RSS button with current_user's feed token2020 behaves like an autodiscoverable RSS feed with current_user's feed token2021 has an RSS autodiscovery link tag with current_user's feed token2022 new issue dropdown2023 shows projects only with issues feature enabled2024 shows the new issue page2025KubernetesService2026 Associations2027 should belong to project2028 Validations2029 when service is active2030 should not validate that :namespace cannot be empty/falsy2031 should validate that :api_url cannot be empty/falsy2032 should validate that :token cannot be empty/falsy2033 namespace format2034 validates foo as valid2035 validates 1foo as valid2036 validates foo1 as valid2037 validates foo-bar as valid2038 validates -foo as invalid2039 validates foo- as invalid2040 validates aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa as valid2041 validates aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa as invalid2042 validates a.b as invalid2043 validates a*b as invalid2044 validates FOO as valid2045 when service is inactive2046 should not validate that :api_url cannot be empty/falsy2047 should not validate that :token cannot be empty/falsy2048 with a deprecated service2049 should not update attributes2050 should include an error with a deprecation message2051 with a non-deprecated service2052 should update attributes2053 with an active and deprecated service2054 should deactive the service2055 should not include a deprecation message as error2056 should update attributes2057 with a template service2058 should update attributes2059 #initialize_properties2060 without a project2061 leaves the namespace unset2062 #fields2063 as template2064 sets the namespace to the default2065 with associated project2066 sets the namespace to the default2067 #actual_namespace2068 behaves like a correctly formatted namespace2069 returns a valid Kubernetes namespace name2070 when the project path contains forbidden characters2071 behaves like a correctly formatted namespace2072 returns a valid Kubernetes namespace name2073 when namespace is specified2074 behaves like a correctly formatted namespace2075 returns a valid Kubernetes namespace name2076 when service is not assigned to project2077 does not return namespace2078 #test2079 with path prefix in api_url2080 tests with the prefix2081 with custom CA certificate2082 is added to the certificate store2083 success2084 reads the discovery endpoint2085 failure2086 fails to read the discovery endpoint2087 #predefined_variable2088 namespace is provided2089 behaves like setting variables2090 sets the variables2091 no namespace provided2092 sets the KUBE_NAMESPACE2093 behaves like setting variables2094 sets the variables2095 #terminals2096 with invalid pods2097 returns no terminals2098 with valid pods2099 returns terminals2100 uses max session time from settings2101 #calculate_reactive_cache2102 when service is inactive2103 should be nil2104 when kubernetes responds with valid pods2105 should eq {:pods=>[{"metadata"=>{"name"=>"kube-pod", "generate_name"=>"generated-name-with-suffix", "creationTi..."containers"=>[{"name"=>"container-0"}, {"name"=>"container-1"}]}, "status"=>{"phase"=>"Running"}}]}2106 when kubernetes responds with 500s2107 should raise Kubeclient::HttpError2108 when kubernetes responds with 404s2109 should eq {:pods=>[]}2110 #deprecated?2111 with an active kubernetes service2112 should return false2113 with a inactive kubernetes service2114 should return true2115 #deprecation_message2116 should indicate the service is deprecated2117 if the services is active2118 should return a message2119 if the service is not active2120 should return a message2121MergeRequestPresenter2122 #ci_status2123 when no head pipeline2124 return status using CiService2125 when head pipeline present2126 success with warnings2127 returns "success_with_warnings"2128 pipeline HAS status AND its not success with warnings2129 returns pipeline status2130 pipeline has NO status AND its not success with warnings2131 returns "preparing"2132 #conflict_resolution_path2133 when MR cannot be resolved in UI2134 does not return conflict resolution path2135 when conflicts cannot be resolved by user2136 does not return conflict resolution path2137 when able to access conflict resolution UI2138 does return conflict resolution path2139 issues links2140 #closing_issues_links2141 presents closing issues links2142 does not present related issues links2143 appends status when closing issue is already closed2144 #mentioned_issues_links2145 presents related issues links2146 does not present closing issues links2147 appends status when mentioned issue is already closed2148 #assign_to_closing_issues_link2149 single closing issue2150 returns correct link with correct text2151 multiple closing issues2152 returns correct link with correct text2153 no closing issue2154 returns correct link with correct text2155 #cancel_merge_when_pipeline_succeeds_path2156 when can cancel mwps2157 returns path2158 when cannot cancel mwps2159 returns nil2160 #merge_path2161 when can be merged by user2162 returns path2163 when cannot be merged by user2164 returns nil2165 #create_issue_to_resolve_discussions_path2166 when can create issue and issues enabled2167 returns path2168 when cannot create issue2169 returns nil2170 when issues disabled2171 returns nil2172 #remove_wip_path2173 when merge request enabled and has permission2174 has remove_wip_path2175 when has no permission2176 returns nil2177 #target_branch_commits_path2178 when target branch exists2179 returns path2180 when target branch does not exist2181 returns nil2182 #target_branch_tree_path2183 when target branch exists2184 returns path2185 when target branch does not exist2186 returns nil2187 #source_branch_path2188 when source branch exists2189 returns path2190 when source branch does not exist2191 returns nil2192 #target_branch_path2193 when target branch exists2194 returns path2195 when target branch does not exist2196 returns nil2197 #source_branch_with_namespace_link2198 returns link2199 escapes html, when source_branch does not exist2200 #rebase_path2201 when can rebase2202 returns path2203 when cannot rebase2204 when rebase in progress2205 returns nil2206 when user cannot merge2207 returns nil2208 should not be rebased2209 returns nil2210Functions2211 when user does not have a cluster and visits the serverless page2212 sees an empty state2213 when the user does have a cluster and visits the serverless page2214 sees an empty state2215 when the user has a cluster and knative installed and visits the serverless page2216 sees an empty listing of serverless functions2217Clusters::ClusterPresenter2218 inherits from Gitlab::View::Presenter::Delegated2219 #initialize2220 takes a cluster and optional params2221 exposes cluster2222 forwards missing methods to cluster2223 #item_link2224 for a group cluster2225 for a project clusterable2226 returns the group name and the link for cluster2227 is html safe2228 ancestor clusters2229 top level group cluster2230 returns full group names and link for cluster2231 is html safe2232 first level group cluster2233 returns full group names and link for cluster2234 is html safe2235 second level group cluster2236 returns clipped group names and link for cluster2237 is html safe2238 for the group clusterable for the cluster2239 returns link for cluster2240 is html safe2241 ancestor clusters2242 top level group cluster2243 returns full group names and link for cluster2244 is html safe2245 first level group cluster2246 returns full group names and link for cluster2247 is html safe2248 second level group cluster2249 returns clipped group names and link for cluster2250 is html safe2251 for a project cluster2252 for the project clusterable2253 returns link for cluster2254 #gke_cluster_url2255 should include "us-central1-a"2256 should include "test-cluster"2257 #can_toggle_cluster2258 when user can update2259 when cluster is created2260 should eq true2261 when cluster is not created2262 should eq false2263 when user can not update2264 should eq false2265 #cluster_type_description2266 project_type cluster2267 should eq "Project cluster"2268 group_type cluster2269 should eq "Group cluster"2270 #show_path2271 project_type cluster2272 should eq "/namespace1006/project1005/clusters/53"2273 group_type cluster2274 should eq "/groups/group131/-/clusters/56"2275SessionsController2276 #new2277 when auto sign-in is enabled2278 and no auto_sign_in param is passed2279 redirects to :omniauth_authorize_path2280 and auto_sign_in=false param is passed2281 responds with 2002282 #create2283 when using standard authentications2284 invalid password2285 does not authenticate user2286 when using valid password2287 authenticates user correctly2288 creates an audit log record2289 allows user authenticating from the same ip2290 blocks user authenticating from two distinct ips2291 updates the user activity2292 when reCAPTCHA is enabled2293 displays an error when the reCAPTCHA is not solved2294 successfully logs in a user when reCAPTCHA is solved2295 when using two-factor authentication via OTP2296 creates an audit log record2297 remember_me field2298 sets a remember_user_token cookie when enabled2299 does nothing when disabled2300 when authenticating with login and OTP of another user2301 when another user has 2FA enabled2302 when OTP is valid for another user2303 does not authenticate2304 when OTP is invalid for another user2305 does not authenticate2306 when authenticating with OTP2307 when OTP is valid2308 authenticates correctly2309 when OTP is invalid2310 does not authenticate2311 warns about invalid OTP code2312 when the user is on their last attempt2313 when OTP is valid2314 authenticates correctly2315 when OTP is invalid2316 does not authenticate2317 warns about invalid login2318 locks the user2319 keeps the user locked on future login attempts2320 when another user does not have 2FA enabled2321 does not leak that 2FA is disabled for another user2322 when using two-factor authentication via U2F device2323 creates an audit log record2324 remember_me field2325 sets a remember_user_token cookie when enabled2326 does nothing when disabled2327 #new2328 redirects correctly for referer on same host with params2329Gitlab::Conflict::File2330 #resolve_lines2331 raises ResolutionError when passed a hash without resolutions for all sections2332 when resolving everything to the same side2333 has the correct number of lines2334 has content matching the chosen lines2335 with mixed resolutions2336 has the correct number of lines2337 returns a file containing only the chosen parts of the resolved sections2338 #highlight_lines!2339 is called implicitly when rich_text is accessed on a line2340 sets the rich_text of the lines matching the text content2341 highlights the lines correctly2342 #sections2343 only inserts match lines when there is a gap between sections2344 sets conflict to false for sections with only unchanged lines2345 only includes a maximum of CONTEXT_LINES (plus an optional match line) in context sections2346 sets conflict to true for sections with only changed lines2347 adds unique IDs to conflict sections, and not to other sections2348 with an example file2349 sets the correct match line headers2350 does not add match lines where they are not needed2351 creates context sections of the correct length2352 #as_json2353 includes the blob path for the file2354 includes the blob icon for the file2355 with the full_content option passed2356 includes the full content of the conflict2357User edits a comment on a commit2358 edits comment2359Dashboard::TodosController2360 GET #index2361 project authorization2362 renders 404 when user does not have read access on given project2363 renders 404 when given project does not exists2364 renders 200 when filtering for "any project" todos2365 renders 200 when user has access on given project2366 group authorization2367 renders 404 when user does not have read access on given group2368 when using pagination2369 redirects to last_page if page number is larger than number of pages2370 goes to the correct page2371 does not redirect to external sites when provided a host field2372 when providing no filters2373 does not perform a query to get the page count, but gets that from the user2374 when providing filters2375 performs a query to get the correct page count2376 PATCH #restore2377 restores the todo to pending state2378 PATCH #bulk_restore2379 restores the todos to pending state2380ExternalDiffUploader2381 behaves like builds correct paths2382 #store_dir2383 behaves like matches the method pattern2384 should match /merge_request_diffs\/mr-\d+/2385 #cache_dir2386 behaves like matches the method pattern2387 should match /\/external-diffs\/tmp\/cache/2388 #work_dir2389 behaves like matches the method pattern2390 should match /\/external-diffs\/tmp\/work/2391 #upload_path2392 behaves like matches the method pattern2393 example at ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:6 (PENDING: No pattern provided, skipping.)2394 #relative_path2395 is relative (PENDING: Path not set, skipping.)2396 .absolute_path2397 behaves like matches the method pattern2398 example at ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:6 (PENDING: No pattern provided, skipping.)2399 .base_dir2400 behaves like matches the method pattern2401 example at ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:6 (PENDING: No pattern provided, skipping.)2402 object store is REMOTE2403 behaves like builds correct paths2404 #store_dir2405 behaves like matches the method pattern2406 should match /merge_request_diffs\/mr-\d+/2407 #cache_dir2408 behaves like matches the method pattern2409 example at ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:6 (PENDING: No pattern provided, skipping.)2410 #work_dir2411 behaves like matches the method pattern2412 example at ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:6 (PENDING: No pattern provided, skipping.)2413 #upload_path2414 behaves like matches the method pattern2415 example at ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:6 (PENDING: No pattern provided, skipping.)2416 #relative_path2417 is relative (PENDING: Path not set, skipping.)2418 .absolute_path2419 behaves like matches the method pattern2420 example at ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:6 (PENDING: No pattern provided, skipping.)2421 .base_dir2422 behaves like matches the method pattern2423 example at ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:6 (PENDING: No pattern provided, skipping.)2424 migration to object storage2425 with object storage disabled2426 is skipped2427 with object storage enabled2428 is scheduled to run after creation2429 remote file2430 with object storage enabled2431 can store file remotely2432Projects > Members > Maintainer adds member with expiration date2433 expiration date is displayed in the members list2434 change expiration date2435Gitlab::BackgroundMigration::FixCrossProjectLabelLinks2436/builds/gitlab-org/gitlab-ce/db/post_migrate/20190301081611_migrate_project_migrate_sidekiq_queue.rb:8: warning: already initialized constant MigrateProjectMigrateSidekiqQueue::DOWNTIME2437/builds/gitlab-org/gitlab-ce/db/post_migrate/20190301081611_migrate_project_migrate_sidekiq_queue.rb:6: warning: previous definition of DOWNTIME was here2438 resource is Issue2439 behaves like resource with cross-project labels2440 updates only cross-project label links which exist in the local project or group2441 ignores cross-project label links if label color is different2442 ignores cross-project label links if label name is different2443 with nested group2444 ignores label links referencing ancestor group labels2445 checks also issues and MRs in subgroups2446 resource is Merge Request2447 behaves like resource with cross-project labels2448 updates only cross-project label links which exist in the local project or group2449 ignores cross-project label links if label color is different2450 ignores cross-project label links if label name is different2451 with nested group2452 ignores label links referencing ancestor group labels2453 checks also issues and MRs in subgroups2454Arel performing automatic type casting is deprecated, and will be removed in Arel 8.0. If you are seeing this, it is because you are manually passing a value to an Arel predicate, and the `Arel::Table` object was constructed manually. The easiest way to remove this warning is to use an `Arel::Table` object returned from calling `arel_table` on an ActiveRecord::Base subclass.2455If you're certain the value is already of the right type, change `attribute.eq(value)` to `attribute.eq(Arel::Nodes::Quoted.new(value))` (you will be able to remove that in Arel 8.0, it is only required to silence this deprecation warning).2456You can also silence this warning globally by setting `$arel_silence_type_casting_deprecation` to `true`. (Do NOT do this if you are a library author)2457If you are passing user input to a predicate, you must either give an appropriate type caster object to the `Arel::Table`, or manually cast the value before passing it to Arel.2458DEPRECATION WARNING: Passing a column to `quote` has been deprecated. It is only used for type casting, which should be handled elsewhere. See https://github.com/rails/arel/commit/6160bfbda1d1781c3b08a33ec4955f170e95be11 for more information. (called from update_column_in_batches at /builds/gitlab-org/gitlab-ce/lib/gitlab/database/migration_helpers.rb:335)2459Arel performing automatic type casting is deprecated, and will be removed in Arel 8.0. If you are seeing this, it is because you are manually passing a value to an Arel predicate, and the `Arel::Table` object was constructed manually. The easiest way to remove this warning is to use an `Arel::Table` object returned from calling `arel_table` on an ActiveRecord::Base subclass.2460If you're certain the value is already of the right type, change `attribute.eq(value)` to `attribute.eq(Arel::Nodes::Quoted.new(value))` (you will be able to remove that in Arel 8.0, it is only required to silence this deprecation warning).2461You can also silence this warning globally by setting `$arel_silence_type_casting_deprecation` to `true`. (Do NOT do this if you are a library author)2462If you are passing user input to a predicate, you must either give an appropriate type caster object to the `Arel::Table`, or manually cast the value before passing it to Arel.2463DEPRECATION WARNING: Passing a column to `quote` has been deprecated. It is only used for type casting, which should be handled elsewhere. See https://github.com/rails/arel/commit/6160bfbda1d1781c3b08a33ec4955f170e95be11 for more information. (called from update_column_in_batches at /builds/gitlab-org/gitlab-ce/lib/gitlab/database/migration_helpers.rb:335)2464Arel performing automatic type casting is deprecated, and will be removed in Arel 8.0. If you are seeing this, it is because you are manually passing a value to an Arel predicate, and the `Arel::Table` object was constructed manually. The easiest way to remove this warning is to use an `Arel::Table` object returned from calling `arel_table` on an ActiveRecord::Base subclass.2465If you're certain the value is already of the right type, change `attribute.eq(value)` to `attribute.eq(Arel::Nodes::Quoted.new(value))` (you will be able to remove that in Arel 8.0, it is only required to silence this deprecation warning).2466You can also silence this warning globally by setting `$arel_silence_type_casting_deprecation` to `true`. (Do NOT do this if you are a library author)2467If you are passing user input to a predicate, you must either give an appropriate type caster object to the `Arel::Table`, or manually cast the value before passing it to Arel.2468DEPRECATION WARNING: Passing a column to `quote` has been deprecated. It is only used for type casting, which should be handled elsewhere. See https://github.com/rails/arel/commit/6160bfbda1d1781c3b08a33ec4955f170e95be11 for more information. (called from update_column_in_batches at /builds/gitlab-org/gitlab-ce/lib/gitlab/database/migration_helpers.rb:335)2469Arel performing automatic type casting is deprecated, and will be removed in Arel 8.0. If you are seeing this, it is because you are manually passing a value to an Arel predicate, and the `Arel::Table` object was constructed manually. The easiest way to remove this warning is to use an `Arel::Table` object returned from calling `arel_table` on an ActiveRecord::Base subclass.2470If you're certain the value is already of the right type, change `attribute.eq(value)` to `attribute.eq(Arel::Nodes::Quoted.new(value))` (you will be able to remove that in Arel 8.0, it is only required to silence this deprecation warning).2471You can also silence this warning globally by setting `$arel_silence_type_casting_deprecation` to `true`. (Do NOT do this if you are a library author)2472If you are passing user input to a predicate, you must either give an appropriate type caster object to the `Arel::Table`, or manually cast the value before passing it to Arel.2473DEPRECATION WARNING: Passing a column to `quote` has been deprecated. It is only used for type casting, which should be handled elsewhere. See https://github.com/rails/arel/commit/6160bfbda1d1781c3b08a33ec4955f170e95be11 for more information. (called from update_column_in_batches at /builds/gitlab-org/gitlab-ce/lib/gitlab/database/migration_helpers.rb:335)2474Arel performing automatic type casting is deprecated, and will be removed in Arel 8.0. If you are seeing this, it is because you are manually passing a value to an Arel predicate, and the `Arel::Table` object was constructed manually. The easiest way to remove this warning is to use an `Arel::Table` object returned from calling `arel_table` on an ActiveRecord::Base subclass.2475If you're certain the value is already of the right type, change `attribute.eq(value)` to `attribute.eq(Arel::Nodes::Quoted.new(value))` (you will be able to remove that in Arel 8.0, it is only required to silence this deprecation warning).2476You can also silence this warning globally by setting `$arel_silence_type_casting_deprecation` to `true`. (Do NOT do this if you are a library author)2477If you are passing user input to a predicate, you must either give an appropriate type caster object to the `Arel::Table`, or manually cast the value before passing it to Arel.2478DEPRECATION WARNING: Passing a column to `quote` has been deprecated. It is only used for type casting, which should be handled elsewhere. See https://github.com/rails/arel/commit/6160bfbda1d1781c3b08a33ec4955f170e95be11 for more information. (called from update_column_in_batches at /builds/gitlab-org/gitlab-ce/lib/gitlab/database/migration_helpers.rb:335)2479Arel performing automatic type casting is deprecated, and will be removed in Arel 8.0. If you are seeing this, it is because you are manually passing a value to an Arel predicate, and the `Arel::Table` object was constructed manually. The easiest way to remove this warning is to use an `Arel::Table` object returned from calling `arel_table` on an ActiveRecord::Base subclass.2480If you're certain the value is already of the right type, change `attribute.eq(value)` to `attribute.eq(Arel::Nodes::Quoted.new(value))` (you will be able to remove that in Arel 8.0, it is only required to silence this deprecation warning).2481You can also silence this warning globally by setting `$arel_silence_type_casting_deprecation` to `true`. (Do NOT do this if you are a library author)2482If you are passing user input to a predicate, you must either give an appropriate type caster object to the `Arel::Table`, or manually cast the value before passing it to Arel.2483DEPRECATION WARNING: Passing a column to `quote` has been deprecated. It is only used for type casting, which should be handled elsewhere. See https://github.com/rails/arel/commit/6160bfbda1d1781c3b08a33ec4955f170e95be11 for more information. (called from update_column_in_batches at /builds/gitlab-org/gitlab-ce/lib/gitlab/database/migration_helpers.rb:335)2484Arel performing automatic type casting is deprecated, and will be removed in Arel 8.0. If you are seeing this, it is because you are manually passing a value to an Arel predicate, and the `Arel::Table` object was constructed manually. The easiest way to remove this warning is to use an `Arel::Table` object returned from calling `arel_table` on an ActiveRecord::Base subclass.2485If you're certain the value is already of the right type, change `attribute.eq(value)` to `attribute.eq(Arel::Nodes::Quoted.new(value))` (you will be able to remove that in Arel 8.0, it is only required to silence this deprecation warning).2486You can also silence this warning globally by setting `$arel_silence_type_casting_deprecation` to `true`. (Do NOT do this if you are a library author)2487If you are passing user input to a predicate, you must either give an appropriate type caster object to the `Arel::Table`, or manually cast the value before passing it to Arel.2488DEPRECATION WARNING: Passing a column to `quote` has been deprecated. It is only used for type casting, which should be handled elsewhere. See https://github.com/rails/arel/commit/6160bfbda1d1781c3b08a33ec4955f170e95be11 for more information. (called from update_column_in_batches at /builds/gitlab-org/gitlab-ce/lib/gitlab/database/migration_helpers.rb:335)2489Arel performing automatic type casting is deprecated, and will be removed in Arel 8.0. If you are seeing this, it is because you are manually passing a value to an Arel predicate, and the `Arel::Table` object was constructed manually. The easiest way to remove this warning is to use an `Arel::Table` object returned from calling `arel_table` on an ActiveRecord::Base subclass.2490If you're certain the value is already of the right type, change `attribute.eq(value)` to `attribute.eq(Arel::Nodes::Quoted.new(value))` (you will be able to remove that in Arel 8.0, it is only required to silence this deprecation warning).2491You can also silence this warning globally by setting `$arel_silence_type_casting_deprecation` to `true`. (Do NOT do this if you are a library author)2492If you are passing user input to a predicate, you must either give an appropriate type caster object to the `Arel::Table`, or manually cast the value before passing it to Arel.2493DEPRECATION WARNING: Passing a column to `quote` has been deprecated. It is only used for type casting, which should be handled elsewhere. See https://github.com/rails/arel/commit/6160bfbda1d1781c3b08a33ec4955f170e95be11 for more information. (called from update_column_in_batches at /builds/gitlab-org/gitlab-ce/lib/gitlab/database/migration_helpers.rb:335)2494Groups > Members > List members2495 show members from current group and parent2496 show user once if member of both current group and parent2497 showing status of members2498 behaves like showing user status2499 shows the status2500API::AccessRequests2501 behaves like GET /:sources/:id/access_requests2502 with :sources == projects2503 behaves like a 404 response when source is private2504 returns 4042505 when authenticated as a non-maintainer/owner2506 as a developer2507 returns 4032508 as a access_requester2509 returns 4032510 as a stranger2511 returns 4032512 when authenticated as a maintainer/owner2513 returns access requesters2514 behaves like GET /:sources/:id/access_requests2515 with :sources == groups2516 behaves like a 404 response when source is private2517 returns 4042518 when authenticated as a non-maintainer/owner2519 as a developer2520 returns 4032521 as a access_requester2522 returns 4032523 as a stranger2524 returns 4032525 when authenticated as a maintainer/owner2526 returns access requesters2527 behaves like POST /:sources/:id/access_requests2528 with :sources == projects2529 behaves like a 404 response when source is private2530 returns 4042531 when authenticated as a member2532 as a developer2533 returns 4032534 as a maintainer2535 returns 4032536 when authenticated as an access requester2537 returns 4002538 when authenticated as a stranger2539 returns 2012540 when access request is disabled for the project2541 returns 4032542 behaves like POST /:sources/:id/access_requests2543 with :sources == groups2544 behaves like a 404 response when source is private2545 returns 4042546 when authenticated as a member2547 as a developer2548 returns 4032549 as a maintainer2550 returns 4032551 when authenticated as an access requester2552 returns 4002553 when authenticated as a stranger2554 returns 2012555 when access request is disabled for the group2556 returns 4032557 behaves like PUT /:sources/:id/access_requests/:user_id/approve2558 with :sources == projects2559 behaves like a 404 response when source is private2560 returns 4042561 when authenticated as a non-maintainer/owner2562 as a developer2563 returns 4032564 as a access_requester2565 returns 4032566 as a stranger2567 returns 4032568 when authenticated as a maintainer/owner2569 returns 2012570 user_id does not match an existing access requester2571 returns 4042572 behaves like PUT /:sources/:id/access_requests/:user_id/approve2573 with :sources == groups2574 behaves like a 404 response when source is private2575 returns 4042576 when authenticated as a non-maintainer/owner2577 as a developer2578 returns 4032579 as a access_requester2580 returns 4032581 as a stranger2582 returns 4032583 when authenticated as a maintainer/owner2584 returns 2012585 user_id does not match an existing access requester2586 returns 4042587 behaves like DELETE /:sources/:id/access_requests/:user_id2588 with :sources == projects2589 behaves like a 404 response when source is private2590 returns 4042591 when authenticated as a non-maintainer/owner2592 as a developer2593 returns 4032594 as a stranger2595 returns 4032596 when authenticated as the access requester2597 deletes the access requester2598 when authenticated as a maintainer/owner2599 deletes the access requester2600 user_id matches a member, not an access requester2601 returns 4042602 user_id does not match an existing access requester2603 returns 4042604 behaves like DELETE /:sources/:id/access_requests/:user_id2605 with :sources == groups2606 behaves like a 404 response when source is private2607 returns 4042608 when authenticated as a non-maintainer/owner2609 as a developer2610 returns 4032611 as a stranger2612 returns 4032613 when authenticated as the access requester2614 deletes the access requester2615 when authenticated as a maintainer/owner2616 deletes the access requester2617 user_id matches a member, not an access requester2618 returns 4042619 user_id does not match an existing access requester2620 returns 4042621Ci::UpdateBuildQueueService2622 when updating specific runners2623 when there is a runner that can pick build2624 ticks runner queue value2625 when there is no runner that can pick build2626 does not tick runner queue value2627 when updating shared runners2628 when there is no runner that can pick build2629 ticks runner queue value2630 when there is no runner that can pick build due to tag mismatch2631 does not tick runner queue value2632 when there is no runner that can pick build due to being disabled on project2633 does not tick runner queue value2634 when updating group runners2635 when there is a runner that can pick build2636 ticks runner queue value2637 when there is no runner that can pick build due to tag mismatch2638 does not tick runner queue value2639 when there is no runner that can pick build due to being disabled on project2640 does not tick runner queue value2641UserCalloutsHelper2642 .show_gke_cluster_integration_callout?2643 when user can create a cluster2644 when user has not dismissed2645 should equal true2646 when user dismissed2647 should equal false2648 when user can not create a cluster2649 should equal false2650 .render_flash_user_callout2651 renders the flash_user_callout partial2652Gitlab::Email::Handler2653 .for2654 picks issue handler if there is not merge request prefix2655 picks merge request handler if there is merge request key2656 returns nil if no handler is found2657 regexps are set properly2658 picks each handler at least once2659 can pick exactly one handler for each address2660Gitlab::Git::PreReceiveError2661 makes its message HTML-friendly2662Knapsack report was generated. Preview:2663{2664 "spec/models/merge_request_spec.rb": 187.9656925201416,2665 "spec/requests/api/runners_spec.rb": 131.73052144050598,2666 "spec/models/concerns/milestoneish_spec.rb": 66.10717916488647,2667 "spec/requests/api/releases_spec.rb": 41.319950342178345,2668 "spec/models/issue_spec.rb": 38.75415325164795,2669 "spec/features/discussion_comments/commit_spec.rb": 31.88121747970581,2670 "spec/features/groups/merge_requests_spec.rb": 20.901294708251953,2671 "spec/features/dashboard/issues_spec.rb": 19.73053216934204,2672 "spec/models/project_services/kubernetes_service_spec.rb": 18.58833146095276,2673 "spec/presenters/merge_request_presenter_spec.rb": 17.337790727615356,2674 "spec/features/projects/serverless/functions_spec.rb": 11.48790955543518,2675 "spec/presenters/clusters/cluster_presenter_spec.rb": 11.900686264038086,2676 "spec/controllers/sessions_controller_spec.rb": 8.971943140029907,2677 "spec/lib/gitlab/conflict/file_spec.rb": 8.336747169494629,2678 "spec/features/projects/commit/comments/user_edits_comments_spec.rb": 5.665350437164307,2679 "spec/controllers/dashboard/todos_controller_spec.rb": 6.73712682723999,2680 "spec/uploaders/external_diff_uploader_spec.rb": 7.41036319732666,2681 "spec/features/projects/members/master_adds_member_with_expiration_date_spec.rb": 6.74693489074707,2682 "spec/lib/gitlab/background_migration/fix_cross_project_label_links_spec.rb": 5.0972511768341064,2683 "spec/features/groups/members/list_members_spec.rb": 2.964181423187256,2684 "spec/requests/api/access_requests_spec.rb": 3.473661422729492,2685 "spec/services/ci/update_build_queue_service_spec.rb": 3.3140103816986084,2686 "spec/helpers/user_callouts_helper_spec.rb": 0.6824185848236084,2687 "spec/lib/gitlab/email/handler_spec.rb": 0.02228999137878418,2688 "spec/lib/gitlab/git/pre_receive_error_spec.rb": 0.0029389858245849612689}2690Knapsack global time execution for tests: 10m 57s2691Pending: (Failures listed here are expected and do not affect your suite's status)2692 1) MergeRequest modules behaves like AtomicInternalId .has_internal_id Validation when presence validation is not required does not validate presence2693 # No reason given2694 # ./spec/support/shared_examples/models/atomic_internal_id_spec.rb:332695 2) Issue modules behaves like AtomicInternalId .has_internal_id Validation when presence validation is not required does not validate presence2696 # No reason given2697 # ./spec/support/shared_examples/models/atomic_internal_id_spec.rb:332698 3) ExternalDiffUploader behaves like builds correct paths #upload_path behaves like matches the method pattern 2699 # No pattern provided, skipping.2700 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:62701 4) ExternalDiffUploader behaves like builds correct paths #relative_path is relative2702 # Path not set, skipping.2703 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:372704 5) ExternalDiffUploader behaves like builds correct paths .absolute_path behaves like matches the method pattern 2705 # No pattern provided, skipping.2706 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:62707 6) ExternalDiffUploader behaves like builds correct paths .base_dir behaves like matches the method pattern 2708 # No pattern provided, skipping.2709 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:62710 7) ExternalDiffUploader object store is REMOTE behaves like builds correct paths #cache_dir behaves like matches the method pattern 2711 # No pattern provided, skipping.2712 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:62713 8) ExternalDiffUploader object store is REMOTE behaves like builds correct paths #work_dir behaves like matches the method pattern 2714 # No pattern provided, skipping.2715 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:62716 9) ExternalDiffUploader object store is REMOTE behaves like builds correct paths #upload_path behaves like matches the method pattern 2717 # No pattern provided, skipping.2718 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:62719 10) ExternalDiffUploader object store is REMOTE behaves like builds correct paths #relative_path is relative2720 # Path not set, skipping.2721 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:372722 11) ExternalDiffUploader object store is REMOTE behaves like builds correct paths .absolute_path behaves like matches the method pattern 2723 # No pattern provided, skipping.2724 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:62725 12) ExternalDiffUploader object store is REMOTE behaves like builds correct paths .base_dir behaves like matches the method pattern 2726 # No pattern provided, skipping.2727 # ./spec/support/shared_examples/uploaders/gitlab_uploader_shared_examples.rb:62728Finished in 12 minutes 21 seconds (files took 13.87 seconds to load)2729947 examples, 0 failures, 12 pending2731$ date2732Thu Mar 14 02:28:56 UTC 20192735coverage/: found 5 matching files 2736knapsack/: found 4 matching files 2737rspec_flaky/: found 4 matching files 2738rspec_profiling/: found 2 matching files 2739WARNING: tmp/capybara/: no matching files 2740Uploading artifacts to coordinator... ok id=177320567 responseStatus=201 Created token=U4k5DixR2741Uploading artifacts...2742junit_rspec.xml: found 1 matching files 2743Uploading artifacts to coordinator... ok id=177320567 responseStatus=201 Created token=U4k5DixR2744Job succeeded