rspec-pg 10/50
Passed Started
by
@shinya.maeda

Shinya Maeda
1Running with gitlab-runner 11.8.0 (4745a6f3)2 on docker-auto-scale-com 9538b0ab3Using 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:aee5bfb5ec09669f4c90d9cbab577884843a3194dfc1e87bd0531b82c3fc4b71 for postgres:9.6 ...7Starting service redis:alpine ...8Pulling docker image redis:alpine ...9Using docker image sha256:a5cff96d7b8f5d3332b43922e424d448172f68b118e0e32cb26270227faec083 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:8549e7bd358f073fedbedd50233e032161adc31370d879d41f164c7a77068e91 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-9538b0ab-project-13083-concurrent-0 via runner-9538b0ab-gsrm-1551253755-a7e2655c...
00:02
14 Cloning repository for persist-source-sha-and-target-sha-for-pipelines with git depth set to 20...
00:10
15Cloning into '/builds/gitlab-org/gitlab-ce'...16Checking out 314062fe as persist-source-sha-and-target-sha-for-pipelines...17Skipping Git submodules setup19Downloading cache.zip from https://storage.googleapis.com/gitlab-com-runners-cache/project/13083/debian-stretch-ruby-2.5.3-node-10.x-3 20Successfully extracted cache22Downloading artifacts from coordinator... ok id=168352919 responseStatus=200 OK token=sN8wDMNo23Downloading artifacts for compile-assets (168352920)...24Downloading artifacts from coordinator... ok id=168352920 responseStatus=200 OK token=wRVGbMyT25Downloading artifacts for setup-test-env (168352921)...26Downloading artifacts from coordinator... ok id=168352921 responseStatus=200 OK token=6jTozWCb27WARNING: tmp/tests/gitlab-shell/.gitlab_shell_secret: chmod tmp/tests/gitlab-shell/.gitlab_shell_secret: no such file or directory (suppressing repeats) 29Bundler version 1.17.230$ date31Wed Feb 27 08:24:39 UTC 201932$ source scripts/utils.sh33$ date34Wed Feb 27 08:24:39 UTC 201935$ source scripts/prepare_build.sh36Warning: 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`.37The Gemfile's dependencies are satisfied38Successfully installed knapsack-1.17.1391 gem installed40CREATE ROLE41GRANT42Dropped database 'gitlabhq_test'43Created database 'gitlabhq_test'44-- enable_extension("plpgsql")45 -> 0.0265s46-- enable_extension("pg_trgm")47 -> 0.0219s48-- create_table("abuse_reports", {:force=>:cascade})49 -> 0.0299s50-- create_table("appearances", {:force=>:cascade})51 -> 0.0286s52-- create_table("application_setting_terms", {:force=>:cascade})53 -> 0.0280s54-- create_table("application_settings", {:force=>:cascade})55 -> 0.1017s56-- create_table("audit_events", {:force=>:cascade})57 -> 0.0443s58-- create_table("award_emoji", {:force=>:cascade})59 -> 0.0596s60-- create_table("badges", {:force=>:cascade})61 -> 0.0608s62-- create_table("board_group_recent_visits", {:id=>:bigserial, :force=>:cascade})63 -> 0.0872s64-- create_table("board_project_recent_visits", {:id=>:bigserial, :force=>:cascade})65 -> 0.0838s66-- create_table("boards", {:force=>:cascade})67 -> 0.0500s68-- create_table("broadcast_messages", {:force=>:cascade})69 -> 0.0453s70-- create_table("chat_names", {:force=>:cascade})71 -> 0.0622s72-- create_table("chat_teams", {:force=>:cascade})73 -> 0.0439s74-- create_table("ci_build_trace_chunks", {:id=>:bigserial, :force=>:cascade})75 -> 0.0440s76-- create_table("ci_build_trace_section_names", {:force=>:cascade})77 -> 0.0444s78-- create_table("ci_build_trace_sections", {:force=>:cascade})79 -> 0.0667s80-- create_table("ci_builds", {:force=>:cascade})81 -> 0.3374s82-- create_table("ci_builds_metadata", {:force=>:cascade})83 -> 0.0592s84-- create_table("ci_builds_runner_session", {:id=>:bigserial, :force=>:cascade})85 -> 0.0442s86-- create_table("ci_group_variables", {:force=>:cascade})87 -> 0.0457s88-- create_table("ci_job_artifacts", {:force=>:cascade})89 -> 0.0868s90-- create_table("ci_pipeline_chat_data", {:id=>:bigserial, :force=>:cascade})91 -> 0.0605s92-- create_table("ci_pipeline_schedule_variables", {:force=>:cascade})93 -> 0.0528s94-- create_table("ci_pipeline_schedules", {:force=>:cascade})95 -> 0.0793s96-- create_table("ci_pipeline_variables", {:force=>:cascade})97 -> 0.0451s98-- create_table("ci_pipelines", {:force=>:cascade})99 -> 0.2268s100-- create_table("ci_runner_namespaces", {:force=>:cascade})101 -> 0.0476s102-- create_table("ci_runner_projects", {:force=>:cascade})103 -> 0.0471s104-- create_table("ci_runners", {:force=>:cascade})105 -> 0.1097s106-- create_table("ci_stages", {:force=>:cascade})107 -> 0.0903s108-- create_table("ci_trigger_requests", {:force=>:cascade})109 -> 0.0586s110-- create_table("ci_triggers", {:force=>:cascade})111 -> 0.0585s112-- create_table("ci_variables", {:force=>:cascade})113 -> 0.0441s114-- create_table("cluster_groups", {:force=>:cascade})115 -> 0.0488s116-- create_table("cluster_platforms_kubernetes", {:force=>:cascade})117 -> 0.0442s118-- create_table("cluster_projects", {:force=>:cascade})119 -> 0.0535s120-- create_table("cluster_providers_gcp", {:force=>:cascade})121 -> 0.0448s122-- create_table("clusters", {:force=>:cascade})123 -> 0.0648s124-- create_table("clusters_applications_cert_managers", {:force=>:cascade})125 -> 0.0434s126-- create_table("clusters_applications_helm", {:force=>:cascade})127 -> 0.0420s128-- create_table("clusters_applications_ingress", {:force=>:cascade})129 -> 0.0442s130-- create_table("clusters_applications_jupyter", {:force=>:cascade})131 -> 0.0605s132-- create_table("clusters_applications_knative", {:force=>:cascade})133 -> 0.0436s134-- create_table("clusters_applications_prometheus", {:force=>:cascade})135 -> 0.0435s136-- create_table("clusters_applications_runners", {:force=>:cascade})137 -> 0.0612s138-- create_table("clusters_kubernetes_namespaces", {:id=>:bigserial, :force=>:cascade})139 -> 0.0942s140-- create_table("container_repositories", {:force=>:cascade})141 -> 0.0603s142-- create_table("conversational_development_index_metrics", {:force=>:cascade})143 -> 0.0244s144-- create_table("deploy_keys_projects", {:force=>:cascade})145 -> 0.0341s146-- create_table("deploy_tokens", {:force=>:cascade})147 -> 0.0637s148-- create_table("deployments", {:force=>:cascade})149 -> 0.1842s150-- create_table("emails", {:force=>:cascade})151 -> 0.0803s152-- create_table("environments", {:force=>:cascade})153 -> 0.0636s154-- create_table("events", {:force=>:cascade})155 -> 0.1081s156-- create_table("feature_gates", {:force=>:cascade})157 -> 0.0458s158-- create_table("features", {:force=>:cascade})159 -> 0.0451s160-- create_table("fork_network_members", {:force=>:cascade})161 -> 0.0665s162-- create_table("fork_networks", {:force=>:cascade})163 -> 0.0452s164-- create_table("forked_project_links", {:force=>:cascade})165 -> 0.0337s166-- create_table("gpg_key_subkeys", {:force=>:cascade})167 -> 0.0766s168-- create_table("gpg_keys", {:force=>:cascade})169 -> 0.0770s170-- create_table("gpg_signatures", {:force=>:cascade})171 -> 0.1122s172-- create_table("group_custom_attributes", {:force=>:cascade})173 -> 0.0609s174-- create_table("identities", {:force=>:cascade})175 -> 0.0432s176-- create_table("import_export_uploads", {:force=>:cascade})177 -> 0.0593s178-- create_table("internal_ids", {:id=>:bigserial, :force=>:cascade})179 -> 0.0805s180-- create_table("issue_assignees", {:id=>false, :force=>:cascade})181 -> 0.0370s182-- create_table("issue_metrics", {:force=>:cascade})183 -> 0.0331s184-- create_table("issues", {:force=>:cascade})185 -> 0.2577s186-- create_table("keys", {:force=>:cascade})187 -> 0.0629s188-- create_table("label_links", {:force=>:cascade})189 -> 0.0604s190-- create_table("label_priorities", {:force=>:cascade})191 -> 0.0666s192-- create_table("labels", {:force=>:cascade})193 -> 0.1088s194-- create_table("lfs_file_locks", {:force=>:cascade})195 -> 0.0623s196-- create_table("lfs_objects", {:force=>:cascade})197 -> 0.0634s198-- create_table("lfs_objects_projects", {:force=>:cascade})199 -> 0.0333s200-- create_table("lists", {:force=>:cascade})201 -> 0.0703s202-- create_table("members", {:force=>:cascade})203 -> 0.1111s204-- create_table("merge_request_diff_commits", {:id=>false, :force=>:cascade})205 -> 0.0476s206-- create_table("merge_request_diff_files", {:id=>false, :force=>:cascade})207 -> 0.0319s208-- create_table("merge_request_diffs", {:force=>:cascade})209 -> 0.0432s210-- create_table("merge_request_metrics", {:force=>:cascade})211 -> 0.0987s212-- create_table("merge_requests", {:force=>:cascade})213 -> 0.3219s214-- create_table("merge_requests_closing_issues", {:force=>:cascade})215 -> 0.0506s216-- create_table("milestones", {:force=>:cascade})217 -> 0.1038s218-- create_table("namespaces", {:force=>:cascade})219 -> 0.1719s220-- create_table("note_diff_files", {:force=>:cascade})221 -> 0.0440s222-- create_table("notes", {:force=>:cascade})223 -> 0.1704s224-- create_table("notification_settings", {:force=>:cascade})225 -> 0.0806s226-- create_table("oauth_access_grants", {:force=>:cascade})227 -> 0.0450s228-- create_table("oauth_access_tokens", {:force=>:cascade})229 -> 0.0795s230-- create_table("oauth_applications", {:force=>:cascade})231 -> 0.0654s232-- create_table("oauth_openid_requests", {:force=>:cascade})233 -> 0.0446s234-- create_table("pages_domains", {:force=>:cascade})235 -> 0.1090s236-- create_table("personal_access_tokens", {:force=>:cascade})237 -> 0.0622s238-- create_table("pool_repositories", {:id=>:bigserial, :force=>:cascade})239 -> 0.0761s240-- create_table("programming_languages", {:force=>:cascade})241 -> 0.0439s242-- create_table("project_authorizations", {:id=>false, :force=>:cascade})243 -> 0.0360s244-- create_table("project_auto_devops", {:force=>:cascade})245 -> 0.0440s246-- create_table("project_ci_cd_settings", {:force=>:cascade})247 -> 0.0329s248-- create_table("project_custom_attributes", {:force=>:cascade})249 -> 0.0580s250-- create_table("project_deploy_tokens", {:force=>:cascade})251 -> 0.0471s252-- create_table("project_error_tracking_settings", {:primary_key=>"project_id", :id=>:integer, :force=>:cascade})253 -> 0.0258s254-- create_table("project_features", {:force=>:cascade})255 -> 0.0330s256-- create_table("project_group_links", {:force=>:cascade})257 -> 0.0448s258-- create_table("project_import_data", {:force=>:cascade})259 -> 0.0388s260-- create_table("project_mirror_data", {:force=>:cascade})261 -> 0.0688s262-- create_table("project_repositories", {:id=>:bigserial, :force=>:cascade})263 -> 0.0686s264-- create_table("project_statistics", {:force=>:cascade})265 -> 0.0473s266-- create_table("projects", {:force=>:cascade})267 -> 0.2932s268-- create_table("prometheus_metrics", {:force=>:cascade})269 -> 0.0856s270-- create_table("protected_branch_merge_access_levels", {:force=>:cascade})271 -> 0.0301s272-- create_table("protected_branch_push_access_levels", {:force=>:cascade})273 -> 0.0298s274-- create_table("protected_branches", {:force=>:cascade})275 -> 0.0406s276-- create_table("protected_tag_create_access_levels", {:force=>:cascade})277 -> 0.0604s278-- create_table("protected_tags", {:force=>:cascade})279 -> 0.0543s280-- create_table("push_event_payloads", {:id=>false, :force=>:cascade})281 -> 0.0290s282-- create_table("redirect_routes", {:force=>:cascade})283 -> 0.0557s284-- create_table("release_links", {:id=>:bigserial, :force=>:cascade})285 -> 0.0561s286-- create_table("releases", {:force=>:cascade})287 -> 0.0715s288-- create_table("remote_mirrors", {:force=>:cascade})289 -> 0.0579s290-- create_table("repository_languages", {:id=>false, :force=>:cascade})291 -> 0.0176s292-- create_table("resource_label_events", {:id=>:bigserial, :force=>:cascade})293 -> 0.0834s294-- create_table("routes", {:force=>:cascade})295 -> 0.0690s296-- create_table("sent_notifications", {:force=>:cascade})297 -> 0.0395s298-- create_table("services", {:force=>:cascade})299 -> 0.0792s300-- create_table("shards", {:force=>:cascade})301 -> 0.0395s302-- create_table("snippets", {:force=>:cascade})303 -> 0.0896s304-- create_table("spam_logs", {:force=>:cascade})305 -> 0.0258s306-- create_table("subscriptions", {:force=>:cascade})307 -> 0.0532s308-- create_table("suggestions", {:id=>:bigserial, :force=>:cascade})309 -> 0.0390s310-- create_table("system_note_metadata", {:force=>:cascade})311 -> 0.0397s312-- create_table("taggings", {:force=>:cascade})313 -> 0.0825s314-- create_table("tags", {:force=>:cascade})315 -> 0.0394s316-- create_table("term_agreements", {:force=>:cascade})317 -> 0.0568s318-- create_table("timelogs", {:force=>:cascade})319 -> 0.0564s320-- create_table("todos", {:force=>:cascade})321 -> 0.1518s322-- create_table("trending_projects", {:force=>:cascade})323 -> 0.0294s324-- create_table("u2f_registrations", {:force=>:cascade})325 -> 0.0529s326-- create_table("uploads", {:force=>:cascade})327 -> 0.0835s328-- create_table("user_agent_details", {:force=>:cascade})329 -> 0.0402s330-- create_table("user_callouts", {:force=>:cascade})331 -> 0.0444s332-- create_table("user_custom_attributes", {:force=>:cascade})333 -> 0.0779s334-- create_table("user_interacted_projects", {:id=>false, :force=>:cascade})335 -> 0.0308s336-- create_table("user_preferences", {:force=>:cascade})337 -> 0.0405s338-- create_table("user_statuses", {:primary_key=>"user_id", :force=>:cascade})339 -> 0.0397s340-- create_table("user_synced_attributes_metadata", {:force=>:cascade})341 -> 0.0412s342-- create_table("users", {:force=>:cascade})343 -> 0.2290s344-- create_table("users_star_projects", {:force=>:cascade})345 -> 0.0431s346-- create_table("web_hook_logs", {:force=>:cascade})347 -> 0.0535s348-- create_table("web_hooks", {:force=>:cascade})349 -> 0.0606s350-- add_foreign_key("application_settings", "users", {:column=>"usage_stats_set_by_user_id", :name=>"fk_964370041d", :on_delete=>:nullify})351 -> 0.0060s352-- add_foreign_key("badges", "namespaces", {:column=>"group_id", :on_delete=>:cascade})353 -> 0.0036s354-- add_foreign_key("badges", "projects", {:on_delete=>:cascade})355 -> 0.0043s356-- add_foreign_key("board_group_recent_visits", "boards", {:on_delete=>:cascade})357 -> 0.0032s358-- add_foreign_key("board_group_recent_visits", "namespaces", {:column=>"group_id", :on_delete=>:cascade})359 -> 0.0027s360-- add_foreign_key("board_group_recent_visits", "users", {:on_delete=>:cascade})361 -> 0.0031s362-- add_foreign_key("board_project_recent_visits", "boards", {:on_delete=>:cascade})363 -> 0.0027s364-- add_foreign_key("board_project_recent_visits", "projects", {:on_delete=>:cascade})365 -> 0.0030s366-- add_foreign_key("board_project_recent_visits", "users", {:on_delete=>:cascade})367 -> 0.0029s368-- add_foreign_key("boards", "namespaces", {:column=>"group_id", :on_delete=>:cascade})369 -> 0.0024s370-- add_foreign_key("boards", "projects", {:name=>"fk_f15266b5f9", :on_delete=>:cascade})371 -> 0.0027s372-- add_foreign_key("chat_teams", "namespaces", {:on_delete=>:cascade})373 -> 0.0028s374-- add_foreign_key("ci_build_trace_chunks", "ci_builds", {:column=>"build_id", :on_delete=>:cascade})375 -> 0.0033s376-- add_foreign_key("ci_build_trace_section_names", "projects", {:on_delete=>:cascade})377 -> 0.0041s378-- add_foreign_key("ci_build_trace_sections", "ci_build_trace_section_names", {:column=>"section_name_id", :name=>"fk_264e112c66", :on_delete=>:cascade})379 -> 0.0025s380-- add_foreign_key("ci_build_trace_sections", "ci_builds", {:column=>"build_id", :name=>"fk_4ebe41f502", :on_delete=>:cascade})381 -> 0.0029s382-- add_foreign_key("ci_build_trace_sections", "projects", {:on_delete=>:cascade})383 -> 0.0033s384-- add_foreign_key("ci_builds", "ci_pipelines", {:column=>"auto_canceled_by_id", :name=>"fk_a2141b1522", :on_delete=>:nullify})385 -> 0.0035s386-- add_foreign_key("ci_builds", "ci_pipelines", {:column=>"commit_id", :name=>"fk_d3130c9a7f", :on_delete=>:cascade})387 -> 0.0029s388-- add_foreign_key("ci_builds", "ci_stages", {:column=>"stage_id", :name=>"fk_3a9eaa254d", :on_delete=>:cascade})389 -> 0.0030s390-- add_foreign_key("ci_builds", "projects", {:name=>"fk_befce0568a", :on_delete=>:cascade})391 -> 0.0033s392-- add_foreign_key("ci_builds_metadata", "ci_builds", {:column=>"build_id", :on_delete=>:cascade})393 -> 0.0030s394-- add_foreign_key("ci_builds_metadata", "projects", {:on_delete=>:cascade})395 -> 0.0029s396-- add_foreign_key("ci_builds_runner_session", "ci_builds", {:column=>"build_id", :on_delete=>:cascade})397 -> 0.0030s398-- add_foreign_key("ci_group_variables", "namespaces", {:column=>"group_id", :name=>"fk_33ae4d58d8", :on_delete=>:cascade})399 -> 0.0026s400-- add_foreign_key("ci_job_artifacts", "ci_builds", {:column=>"job_id", :on_delete=>:cascade})401 -> 0.0029s402-- add_foreign_key("ci_job_artifacts", "projects", {:on_delete=>:cascade})403 -> 0.0029s404-- add_foreign_key("ci_pipeline_chat_data", "chat_names", {:on_delete=>:cascade})405 -> 0.0027s406-- add_foreign_key("ci_pipeline_chat_data", "ci_pipelines", {:column=>"pipeline_id", :on_delete=>:cascade})407 -> 0.0025s408-- add_foreign_key("ci_pipeline_schedule_variables", "ci_pipeline_schedules", {:column=>"pipeline_schedule_id", :name=>"fk_41c35fda51", :on_delete=>:cascade})409 -> 0.0023s410-- add_foreign_key("ci_pipeline_schedules", "projects", {:name=>"fk_8ead60fcc4", :on_delete=>:cascade})411 -> 0.0026s412-- add_foreign_key("ci_pipeline_schedules", "users", {:column=>"owner_id", :name=>"fk_9ea99f58d2", :on_delete=>:nullify})413 -> 0.0025s414-- add_foreign_key("ci_pipeline_variables", "ci_pipelines", {:column=>"pipeline_id", :name=>"fk_f29c5f4380", :on_delete=>:cascade})415 -> 0.0026s416-- add_foreign_key("ci_pipelines", "ci_pipeline_schedules", {:column=>"pipeline_schedule_id", :name=>"fk_3d34ab2e06", :on_delete=>:nullify})417 -> 0.0022s418-- add_foreign_key("ci_pipelines", "ci_pipelines", {:column=>"auto_canceled_by_id", :name=>"fk_262d4c2d19", :on_delete=>:nullify})419 -> 0.0032s420-- add_foreign_key("ci_pipelines", "merge_requests", {:name=>"fk_a23be95014", :on_delete=>:cascade})421 -> 0.0037s422-- add_foreign_key("ci_pipelines", "projects", {:name=>"fk_86635dbd80", :on_delete=>:cascade})423 -> 0.0033s424-- add_foreign_key("ci_runner_namespaces", "ci_runners", {:column=>"runner_id", :on_delete=>:cascade})425 -> 0.0032s426-- add_foreign_key("ci_runner_namespaces", "namespaces", {:on_delete=>:cascade})427 -> 0.0030s428-- add_foreign_key("ci_runner_projects", "projects", {:name=>"fk_4478a6f1e4", :on_delete=>:cascade})429 -> 0.0033s430-- add_foreign_key("ci_stages", "ci_pipelines", {:column=>"pipeline_id", :name=>"fk_fb57e6cc56", :on_delete=>:cascade})431 -> 0.0026s432-- add_foreign_key("ci_stages", "projects", {:name=>"fk_2360681d1d", :on_delete=>:cascade})433 -> 0.0029s434-- add_foreign_key("ci_trigger_requests", "ci_triggers", {:column=>"trigger_id", :name=>"fk_b8ec8b7245", :on_delete=>:cascade})435 -> 0.0026s436-- add_foreign_key("ci_triggers", "projects", {:name=>"fk_e3e63f966e", :on_delete=>:cascade})437 -> 0.0028s438-- add_foreign_key("ci_triggers", "users", {:column=>"owner_id", :name=>"fk_e8e10d1964", :on_delete=>:cascade})439 -> 0.0030s440-- add_foreign_key("ci_variables", "projects", {:name=>"fk_ada5eb64b3", :on_delete=>:cascade})441 -> 0.0031s442-- add_foreign_key("cluster_groups", "clusters", {:on_delete=>:cascade})443 -> 0.0033s444-- add_foreign_key("cluster_groups", "namespaces", {:column=>"group_id", :on_delete=>:cascade})445 -> 0.0031s446-- add_foreign_key("cluster_platforms_kubernetes", "clusters", {:on_delete=>:cascade})447 -> 0.0034s448-- add_foreign_key("cluster_projects", "clusters", {:on_delete=>:cascade})449 -> 0.0034s450-- add_foreign_key("cluster_projects", "projects", {:on_delete=>:cascade})451 -> 0.0033s452-- add_foreign_key("cluster_providers_gcp", "clusters", {:on_delete=>:cascade})453 -> 0.0029s454-- add_foreign_key("clusters", "users", {:on_delete=>:nullify})455 -> 0.0033s456-- add_foreign_key("clusters_applications_cert_managers", "clusters", {:on_delete=>:cascade})457 -> 0.0026s458-- add_foreign_key("clusters_applications_helm", "clusters", {:on_delete=>:cascade})459 -> 0.0028s460-- add_foreign_key("clusters_applications_ingress", "clusters", {:name=>"fk_753a7b41c1", :on_delete=>:cascade})461 -> 0.0026s462-- add_foreign_key("clusters_applications_jupyter", "clusters", {:on_delete=>:cascade})463 -> 0.0027s464-- add_foreign_key("clusters_applications_jupyter", "oauth_applications", {:on_delete=>:nullify})465 -> 0.0032s466-- add_foreign_key("clusters_applications_knative", "clusters", {:on_delete=>:cascade})467 -> 0.0023s468-- add_foreign_key("clusters_applications_prometheus", "clusters", {:name=>"fk_557e773639", :on_delete=>:cascade})469 -> 0.0026s470-- add_foreign_key("clusters_applications_runners", "ci_runners", {:column=>"runner_id", :name=>"fk_02de2ded36", :on_delete=>:nullify})471 -> 0.0026s472-- add_foreign_key("clusters_applications_runners", "clusters", {:on_delete=>:cascade})473 -> 0.0026s474-- add_foreign_key("clusters_kubernetes_namespaces", "cluster_projects", {:on_delete=>:nullify})475 -> 0.0026s476-- add_foreign_key("clusters_kubernetes_namespaces", "clusters", {:on_delete=>:cascade})477 -> 0.0025s478-- add_foreign_key("clusters_kubernetes_namespaces", "projects", {:on_delete=>:nullify})479 -> 0.0029s480-- add_foreign_key("container_repositories", "projects")481 -> 0.0034s482-- add_foreign_key("deploy_keys_projects", "projects", {:name=>"fk_58a901ca7e", :on_delete=>:cascade})483 -> 0.0039s484-- add_foreign_key("deployments", "projects", {:name=>"fk_b9a3851b82", :on_delete=>:cascade})485 -> 0.0051s486-- add_foreign_key("environments", "projects", {:name=>"fk_d1c8c1da6a", :on_delete=>:cascade})487 -> 0.0045s488-- add_foreign_key("events", "projects", {:on_delete=>:cascade})489 -> 0.0037s490-- add_foreign_key("events", "users", {:column=>"author_id", :name=>"fk_edfd187b6f", :on_delete=>:cascade})491 -> 0.0032s492-- add_foreign_key("fork_network_members", "fork_networks", {:on_delete=>:cascade})493 -> 0.0037s494-- add_foreign_key("fork_network_members", "projects", {:column=>"forked_from_project_id", :name=>"fk_b01280dae4", :on_delete=>:nullify})495 -> 0.0026s496-- add_foreign_key("fork_network_members", "projects", {:on_delete=>:cascade})497 -> 0.0030s498-- add_foreign_key("fork_networks", "projects", {:column=>"root_project_id", :name=>"fk_e7b436b2b5", :on_delete=>:nullify})499 -> 0.0027s500-- add_foreign_key("forked_project_links", "projects", {:column=>"forked_to_project_id", :name=>"fk_434510edb0", :on_delete=>:cascade})501 -> 0.0029s502-- add_foreign_key("gpg_key_subkeys", "gpg_keys", {:on_delete=>:cascade})503 -> 0.0026s504-- add_foreign_key("gpg_keys", "users", {:on_delete=>:cascade})505 -> 0.0030s506-- add_foreign_key("gpg_signatures", "gpg_key_subkeys", {:on_delete=>:nullify})507 -> 0.0027s508-- add_foreign_key("gpg_signatures", "gpg_keys", {:on_delete=>:nullify})509 -> 0.0027s510-- add_foreign_key("gpg_signatures", "projects", {:on_delete=>:cascade})511 -> 0.0033s512-- add_foreign_key("group_custom_attributes", "namespaces", {:column=>"group_id", :on_delete=>:cascade})513 -> 0.0026s514-- add_foreign_key("import_export_uploads", "projects", {:on_delete=>:cascade})515 -> 0.0030s516-- add_foreign_key("internal_ids", "namespaces", {:name=>"fk_162941d509", :on_delete=>:cascade})517 -> 0.0028s518-- add_foreign_key("internal_ids", "projects", {:on_delete=>:cascade})519 -> 0.0028s520-- add_foreign_key("issue_assignees", "issues", {:name=>"fk_b7d881734a", :on_delete=>:cascade})521 -> 0.0033s522-- add_foreign_key("issue_assignees", "users", {:name=>"fk_5e0c8d9154", :on_delete=>:cascade})523 -> 0.0029s524-- add_foreign_key("issue_metrics", "issues", {:on_delete=>:cascade})525 -> 0.0026s526-- add_foreign_key("issues", "issues", {:column=>"moved_to_id", :name=>"fk_a194299be1", :on_delete=>:nullify})527 -> 0.0023s528-- add_foreign_key("issues", "milestones", {:name=>"fk_96b1dd429c", :on_delete=>:nullify})529 -> 0.0029s530-- add_foreign_key("issues", "projects", {:name=>"fk_899c8f3231", :on_delete=>:cascade})531 -> 0.0030s532-- add_foreign_key("issues", "users", {:column=>"author_id", :name=>"fk_05f1e72feb", :on_delete=>:nullify})533 -> 0.0029s534-- add_foreign_key("issues", "users", {:column=>"closed_by_id", :name=>"fk_c63cbf6c25", :on_delete=>:nullify})535 -> 0.0029s536-- add_foreign_key("issues", "users", {:column=>"updated_by_id", :name=>"fk_ffed080f01", :on_delete=>:nullify})537 -> 0.0028s538-- add_foreign_key("label_links", "labels", {:name=>"fk_d97dd08678", :on_delete=>:cascade})539 -> 0.0030s540-- add_foreign_key("label_priorities", "labels", {:on_delete=>:cascade})541 -> 0.0030s542-- add_foreign_key("label_priorities", "projects", {:on_delete=>:cascade})543 -> 0.0033s544-- add_foreign_key("labels", "namespaces", {:column=>"group_id", :on_delete=>:cascade})545 -> 0.0027s546-- add_foreign_key("labels", "projects", {:name=>"fk_7de4989a69", :on_delete=>:cascade})547 -> 0.0030s548-- add_foreign_key("lfs_file_locks", "projects", {:on_delete=>:cascade})549 -> 0.0036s550-- add_foreign_key("lfs_file_locks", "users", {:on_delete=>:cascade})551 -> 0.0028s552-- add_foreign_key("lists", "boards", {:name=>"fk_0d3f677137", :on_delete=>:cascade})553 -> 0.0031s554-- add_foreign_key("lists", "labels", {:name=>"fk_7a5553d60f", :on_delete=>:cascade})555 -> 0.0028s556-- add_foreign_key("members", "users", {:name=>"fk_2e88fb7ce9", :on_delete=>:cascade})557 -> 0.0034s558-- add_foreign_key("merge_request_diff_commits", "merge_request_diffs", {:on_delete=>:cascade})559 -> 0.0031s560-- add_foreign_key("merge_request_diff_files", "merge_request_diffs", {:on_delete=>:cascade})561 -> 0.0028s562-- add_foreign_key("merge_request_diffs", "merge_requests", {:name=>"fk_8483f3258f", :on_delete=>:cascade})563 -> 0.0030s564-- add_foreign_key("merge_request_metrics", "ci_pipelines", {:column=>"pipeline_id", :on_delete=>:cascade})565 -> 0.0034s566-- add_foreign_key("merge_request_metrics", "merge_requests", {:on_delete=>:cascade})567 -> 0.0030s568-- add_foreign_key("merge_request_metrics", "users", {:column=>"latest_closed_by_id", :name=>"fk_ae440388cc", :on_delete=>:nullify})569 -> 0.0030s570-- add_foreign_key("merge_request_metrics", "users", {:column=>"merged_by_id", :name=>"fk_7f28d925f3", :on_delete=>:nullify})571 -> 0.0030s572-- add_foreign_key("merge_requests", "ci_pipelines", {:column=>"head_pipeline_id", :name=>"fk_fd82eae0b9", :on_delete=>:nullify})573 -> 0.0031s574-- add_foreign_key("merge_requests", "merge_request_diffs", {:column=>"latest_merge_request_diff_id", :name=>"fk_06067f5644", :on_delete=>:nullify})575 -> 0.0026s576-- add_foreign_key("merge_requests", "milestones", {:name=>"fk_6a5165a692", :on_delete=>:nullify})577 -> 0.0028s578-- add_foreign_key("merge_requests", "projects", {:column=>"source_project_id", :name=>"fk_3308fe130c", :on_delete=>:nullify})579 -> 0.0032s580-- add_foreign_key("merge_requests", "projects", {:column=>"target_project_id", :name=>"fk_a6963e8447", :on_delete=>:cascade})581 -> 0.0029s582-- add_foreign_key("merge_requests", "users", {:column=>"assignee_id", :name=>"fk_6149611a04", :on_delete=>:nullify})583 -> 0.0032s584-- add_foreign_key("merge_requests", "users", {:column=>"author_id", :name=>"fk_e719a85f8a", :on_delete=>:nullify})585 -> 0.0033s586-- add_foreign_key("merge_requests", "users", {:column=>"merge_user_id", :name=>"fk_ad525e1f87", :on_delete=>:nullify})587 -> 0.0028s588-- add_foreign_key("merge_requests", "users", {:column=>"updated_by_id", :name=>"fk_641731faff", :on_delete=>:nullify})589 -> 0.0031s590-- add_foreign_key("merge_requests_closing_issues", "issues", {:on_delete=>:cascade})591 -> 0.0031s592-- add_foreign_key("merge_requests_closing_issues", "merge_requests", {:on_delete=>:cascade})593 -> 0.0027s594-- add_foreign_key("milestones", "namespaces", {:column=>"group_id", :name=>"fk_95650a40d4", :on_delete=>:cascade})595 -> 0.0031s596-- add_foreign_key("milestones", "projects", {:name=>"fk_9bd0a0c791", :on_delete=>:cascade})597 -> 0.0030s598-- add_foreign_key("note_diff_files", "notes", {:column=>"diff_note_id", :on_delete=>:cascade})599 -> 0.0028s600-- add_foreign_key("notes", "projects", {:name=>"fk_99e097b079", :on_delete=>:cascade})601 -> 0.0030s602-- add_foreign_key("notification_settings", "users", {:name=>"fk_0c95e91db7", :on_delete=>:cascade})603 -> 0.0034s604-- add_foreign_key("oauth_openid_requests", "oauth_access_grants", {:column=>"access_grant_id", :name=>"fk_oauth_openid_requests_oauth_access_grants_access_grant_id"})605 -> 0.0036s606-- add_foreign_key("pages_domains", "projects", {:name=>"fk_ea2f6dfc6f", :on_delete=>:cascade})607 -> 0.0033s608-- add_foreign_key("personal_access_tokens", "users")609 -> 0.0037s610-- add_foreign_key("pool_repositories", "projects", {:column=>"source_project_id", :on_delete=>:nullify})611 -> 0.0034s612-- add_foreign_key("pool_repositories", "shards", {:on_delete=>:restrict})613 -> 0.0031s614-- add_foreign_key("project_authorizations", "projects", {:on_delete=>:cascade})615 -> 0.0029s616-- add_foreign_key("project_authorizations", "users", {:on_delete=>:cascade})617 -> 0.0030s618-- add_foreign_key("project_auto_devops", "projects", {:on_delete=>:cascade})619 -> 0.0031s620-- add_foreign_key("project_ci_cd_settings", "projects", {:name=>"fk_24c15d2f2e", :on_delete=>:cascade})621 -> 0.0030s622-- add_foreign_key("project_custom_attributes", "projects", {:on_delete=>:cascade})623 -> 0.0028s624-- add_foreign_key("project_deploy_tokens", "deploy_tokens", {:on_delete=>:cascade})625 -> 0.0030s626-- add_foreign_key("project_deploy_tokens", "projects", {:on_delete=>:cascade})627 -> 0.0029s628-- add_foreign_key("project_error_tracking_settings", "projects", {:on_delete=>:cascade})629 -> 0.0029s630-- add_foreign_key("project_features", "projects", {:name=>"fk_18513d9b92", :on_delete=>:cascade})631 -> 0.0030s632-- add_foreign_key("project_group_links", "projects", {:name=>"fk_daa8cee94c", :on_delete=>:cascade})633 -> 0.0029s634-- add_foreign_key("project_import_data", "projects", {:name=>"fk_ffb9ee3a10", :on_delete=>:cascade})635 -> 0.0030s636-- add_foreign_key("project_mirror_data", "projects", {:on_delete=>:cascade})637 -> 0.0031s638-- add_foreign_key("project_repositories", "projects", {:on_delete=>:cascade})639 -> 0.0031s640-- add_foreign_key("project_repositories", "shards", {:on_delete=>:restrict})641 -> 0.0027s642-- add_foreign_key("project_statistics", "projects", {:on_delete=>:cascade})643 -> 0.0029s644-- add_foreign_key("projects", "pool_repositories", {:name=>"fk_6e5c14658a", :on_delete=>:nullify})645 -> 0.0029s646-- add_foreign_key("prometheus_metrics", "projects", {:on_delete=>:cascade})647 -> 0.0033s648-- add_foreign_key("protected_branch_merge_access_levels", "protected_branches", {:name=>"fk_8a3072ccb3", :on_delete=>:cascade})649 -> 0.0027s650-- add_foreign_key("protected_branch_push_access_levels", "protected_branches", {:name=>"fk_9ffc86a3d9", :on_delete=>:cascade})651 -> 0.0023s652-- add_foreign_key("protected_branches", "projects", {:name=>"fk_7a9c6d93e7", :on_delete=>:cascade})653 -> 0.0028s654-- add_foreign_key("protected_tag_create_access_levels", "namespaces", {:column=>"group_id"})655 -> 0.0028s656-- add_foreign_key("protected_tag_create_access_levels", "protected_tags", {:name=>"fk_f7dfda8c51", :on_delete=>:cascade})657 -> 0.0028s658-- add_foreign_key("protected_tag_create_access_levels", "users")659 -> 0.0027s660-- add_foreign_key("protected_tags", "projects", {:name=>"fk_8e4af87648", :on_delete=>:cascade})661 -> 0.0028s662-- add_foreign_key("push_event_payloads", "events", {:name=>"fk_36c74129da", :on_delete=>:cascade})663 -> 0.0026s664-- add_foreign_key("release_links", "releases", {:on_delete=>:cascade})665 -> 0.0042s666-- add_foreign_key("releases", "projects", {:name=>"fk_47fe2a0596", :on_delete=>:cascade})667 -> 0.0036s668-- add_foreign_key("releases", "users", {:column=>"author_id", :name=>"fk_8e4456f90f", :on_delete=>:nullify})669 -> 0.0032s670-- add_foreign_key("remote_mirrors", "projects", {:on_delete=>:cascade})671 -> 0.0031s672-- add_foreign_key("repository_languages", "projects", {:on_delete=>:cascade})673 -> 0.0032s674-- add_foreign_key("resource_label_events", "issues", {:on_delete=>:cascade})675 -> 0.0032s676-- add_foreign_key("resource_label_events", "labels", {:on_delete=>:nullify})677 -> 0.0027s678-- add_foreign_key("resource_label_events", "merge_requests", {:on_delete=>:cascade})679 -> 0.0027s680-- add_foreign_key("resource_label_events", "users", {:on_delete=>:nullify})681 -> 0.0028s682-- add_foreign_key("services", "projects", {:name=>"fk_71cce407f9", :on_delete=>:cascade})683 -> 0.0029s684-- add_foreign_key("snippets", "projects", {:name=>"fk_be41fd4bb7", :on_delete=>:cascade})685 -> 0.0033s686-- add_foreign_key("subscriptions", "projects", {:on_delete=>:cascade})687 -> 0.0028s688-- add_foreign_key("suggestions", "notes", {:on_delete=>:cascade})689 -> 0.0029s690-- add_foreign_key("system_note_metadata", "notes", {:name=>"fk_d83a918cb1", :on_delete=>:cascade})691 -> 0.0026s692-- add_foreign_key("term_agreements", "application_setting_terms", {:column=>"term_id"})693 -> 0.0025s694-- add_foreign_key("term_agreements", "users", {:on_delete=>:cascade})695 -> 0.0029s696-- add_foreign_key("timelogs", "issues", {:name=>"fk_timelogs_issues_issue_id", :on_delete=>:cascade})697 -> 0.0028s698-- add_foreign_key("timelogs", "merge_requests", {:name=>"fk_timelogs_merge_requests_merge_request_id", :on_delete=>:cascade})699 -> 0.0031s700-- add_foreign_key("todos", "namespaces", {:column=>"group_id", :on_delete=>:cascade})701 -> 0.0034s702-- add_foreign_key("todos", "notes", {:name=>"fk_91d1f47b13", :on_delete=>:cascade})703 -> 0.0031s704-- add_foreign_key("todos", "projects", {:name=>"fk_45054f9c45", :on_delete=>:cascade})705 -> 0.0034s706-- add_foreign_key("todos", "users", {:column=>"author_id", :name=>"fk_ccf0373936", :on_delete=>:cascade})707 -> 0.0034s708-- add_foreign_key("todos", "users", {:name=>"fk_d94154aa95", :on_delete=>:cascade})709 -> 0.0033s710-- add_foreign_key("trending_projects", "projects", {:on_delete=>:cascade})711 -> 0.0033s712-- add_foreign_key("u2f_registrations", "users")713 -> 0.0032s714-- add_foreign_key("user_callouts", "users", {:on_delete=>:cascade})715 -> 0.0033s716-- add_foreign_key("user_custom_attributes", "users", {:on_delete=>:cascade})717 -> 0.0030s718-- add_foreign_key("user_interacted_projects", "projects", {:name=>"fk_722ceba4f7", :on_delete=>:cascade})719 -> 0.0031s720-- add_foreign_key("user_interacted_projects", "users", {:name=>"fk_0894651f08", :on_delete=>:cascade})721 -> 0.0029s722-- add_foreign_key("user_preferences", "users", {:on_delete=>:cascade})723 -> 0.0031s724-- add_foreign_key("user_statuses", "users", {:on_delete=>:cascade})725 -> 0.0032s726-- add_foreign_key("user_synced_attributes_metadata", "users", {:on_delete=>:cascade})727 -> 0.0040s728-- add_foreign_key("users", "application_setting_terms", {:column=>"accepted_term_id", :name=>"fk_789cd90b35", :on_delete=>:cascade})729 -> 0.0029s730-- add_foreign_key("users_star_projects", "projects", {:name=>"fk_22cd27ddfc", :on_delete=>:cascade})731 -> 0.0031s732-- add_foreign_key("web_hook_logs", "web_hooks", {:on_delete=>:cascade})733 -> 0.0035s734-- add_foreign_key("web_hooks", "projects", {:name=>"fk_0c8ca6d9d1", :on_delete=>:cascade})735 -> 0.0030s736-- initialize_schema_migrations_table()737 -> 0.0265s738$ date739Wed Feb 27 08:25:20 UTC 2019740$ JOB_NAME=( $CI_JOB_NAME )741$ TEST_TOOL=${JOB_NAME[0]}742$ export KNAPSACK_REPORT_PATH=knapsack/${CI_PROJECT_NAME}/${TEST_TOOL}_node_${CI_NODE_INDEX}_${CI_NODE_TOTAL}_report.json743$ export KNAPSACK_GENERATE_REPORT=true744$ export SUITE_FLAKY_RSPEC_REPORT_PATH=${FLAKY_RSPEC_SUITE_REPORT_PATH}745$ export FLAKY_RSPEC_REPORT_PATH=rspec_flaky/all_${TEST_TOOL}_${CI_NODE_INDEX}_${CI_NODE_TOTAL}_report.json746$ export NEW_FLAKY_RSPEC_REPORT_PATH=rspec_flaky/new_${TEST_TOOL}_${CI_NODE_INDEX}_${CI_NODE_TOTAL}_report.json747$ export FLAKY_RSPEC_GENERATE_REPORT=true748$ export CACHE_CLASSES=true749$ cp ${KNAPSACK_RSPEC_SUITE_REPORT_PATH} ${KNAPSACK_REPORT_PATH}750$ [[ -f $FLAKY_RSPEC_REPORT_PATH ]] || echo "{}" > ${FLAKY_RSPEC_REPORT_PATH}751$ [[ -f $NEW_FLAKY_RSPEC_REPORT_PATH ]] || echo "{}" > ${NEW_FLAKY_RSPEC_REPORT_PATH}752$ scripts/gitaly-test-spawn753Checking gitaly-ruby bundle...754Warning: 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`.755The Gemfile's dependencies are satisfied756Trying to connect to gitaly: ..... OK757$ knapsack rspec "--color --format documentation --format RspecJunitFormatter --out junit_rspec.xml"758Knapsack report generator started!759==> Setting up GitLab Shell...760 GitLab Shell set up in 0.066677601 seconds...761==> Setting up Gitaly...762 Gitaly set up in 0.000110505 seconds...763Project764 returns valid url to repo765 behaves like having unique enum values766 has unique values in "auto_cancel_pending_pipelines"767 associations768 should belong to group769 should belong to namespace770 should belong to creator class_name => User771 should belong to pool_repository772 should have many users773 should have many services774 should have many events775 should have many merge_requests776 should have many issues777 should have many milestones778 should have many project_members dependent => delete_all779 should have many users through project_members780 should have many requesters dependent => delete_all781 should have many notes782 should have many snippets class_name => ProjectSnippet783 should have many deploy_keys_projects784 should have many deploy_keys785 should have many hooks786 should have many protected_branches787 should have one slack_service788 should have one microsoft_teams_service789 should have one mattermost_service790 should have one hangouts_chat_service791 should have one packagist_service792 should have one pushover_service793 should have one asana_service794 should have many boards795 should have one campfire_service796 should have one discord_service797 should have one drone_ci_service798 should have one emails_on_push_service799 should have one pipelines_email_service800 should have one irker_service801 should have one pivotaltracker_service802 should have one flowdock_service803 should have one assembla_service804 should have one slack_slash_commands_service805 should have one mattermost_slash_commands_service806 should have one buildkite_service807 should have one bamboo_service808 should have one teamcity_service809 should have one jira_service810 should have one redmine_service811 should have one youtrack_service812 should have one custom_issue_tracker_service813 should have one bugzilla_service814 should have one gitlab_issue_tracker_service815 should have one external_wiki_service816 should have one project_feature817 should have one project_repository818 should have one statistics class_name => ProjectStatistics819 should have one import_data class_name => ProjectImportData820 should have one last_event class_name => Event821 should have one forked_from_project through fork_network_member822 should have one auto_devops class_name => ProjectAutoDevops823 should have one error_tracking_setting class_name => ErrorTracking::ProjectErrorTrackingSetting824 should have many commit_statuses825 should have many ci_pipelines826 should have many builds827 should have many build_trace_section_names828 should have many runner_projects829 should have many runners830 should have many variables831 should have many triggers832 should have many pages_domains833 should have many labels class_name => ProjectLabel834 should have many users_star_projects835 should have many repository_languages836 should have many environments837 should have many deployments838 should have many todos839 should have many releases840 should have many lfs_objects_projects841 should have many project_group_links842 should have many notification_settings dependent => delete_all843 should have many forked_to_members class_name => ForkNetworkMember844 should have many forks through forked_to_members845 should have many uploads846 should have many pipeline_schedules847 should have many members_and_requesters848 should have many clusters849 should have many kubernetes_namespaces850 should have many custom_attributes class_name => ProjectCustomAttribute851 should have many project_badges class_name => ProjectBadge852 should have many lfs_file_locks853 should have many project_deploy_tokens854 should have many deploy_tokens through project_deploy_tokens855 has an inverse relationship with merge requests856 after initialized857 has a project_feature858 when creating a new project859 automatically creates a CI/CD settings row860 updating cd_cd_settings861 does not raise an error862 #members & #requesters863 behaves like members and requesters associations864 #members_and_requesters865 includes members and requesters866 #members867 includes members and exclude requesters868 #requesters869 does not include requesters870 #boards871 raises an error when attempting to add more than one board to the project872 ci_pipelines association873 returns only pipelines from ci_sources874 modules875 should includes the Gitlab::ConfigHelper module876 should includes the Gitlab::ShellAdapter module877 should includes the Gitlab::VisibilityLevel module878 should includes the Referable module879 should includes the Sortable module880 .missing_kubernetes_namespace881 should contain exactly #<Project id:6 namespace6/project6>882 kubernetes namespace exists883 should be empty884 validation885 should validate that :name cannot be empty/falsy886 should validate that :name is case-sensitively unique within the scope of :namespace_id887 should validate that the length of :name is at most 255888 should validate that :path cannot be empty/falsy889 should validate that the length of :path is at most 255890 should validate that the length of :description is at most 2000891 should validate that the length of :ci_config_path is at most 255892 should allow :ci_config_path to be ‹""›893 should not allow :ci_config_path to be ‹"test/../foo"›894 should not allow :ci_config_path to be ‹"/test/foo"›895 should validate that :creator cannot be empty/falsy896 should validate that :namespace cannot be empty/falsy897 should validate that :repository_storage cannot be empty/falsy898 validates build timeout constraints899 does not allow new projects beyond user limits900 wiki path conflict901 when the new path has been used by the wiki of other Project902 has an error on the name attribute903 when the new wiki path has been used by the path of other Project904 has an error on the name attribute905 repository storages inclusion906 does not allow repository storages that don't match a label in the configuration907 import_url908 does not allow an invalid URI as import_url909 does allow a SSH URI as import_url for persisted projects910 does not allow a SSH URI as import_url for new projects911 does allow a valid URI as import_url912 allows an empty URI913 does not produce import data on an empty URI914 does not produce import data on an invalid URI915 does not allow import_url pointing to localhost916 does not allow import_url pointing to the local network917 does not allow import_url with invalid ports for new projects918 does not allow import_url with invalid ports for persisted projects919 does not allow import_url with invalid user920 does not allow urls with CR or LF characters921 project pending deletion922 contains errors related to the project being deleted923 path validation924 allows paths reserved on the root namespace925 rejects paths reserved on another level926 rejects nested paths927 allows a reserved group name928 allows a path ending in a period929 #all_pipelines930 has all pipelines931 when builds are disabled932 should return .external pipelines933 #ci_pipelines934 has ci pipelines935 when builds are disabled936 should return .external pipelines937 project token938 sets an random token if none provided939 does not set an random token if one provided940 Respond to941 should respond to #url_to_repo942 should respond to #repo_exists?943 should respond to #execute_hooks944 should respond to #owner945 should respond to #path_with_namespace946 should respond to #full_path947 delegation948 should delegate #add_guest to #team object949 should delegate #add_reporter to #team object950 should delegate #add_developer to #team object951 should delegate #add_maintainer to #team object952 should delegate #add_user to #team object953 should delegate #add_users to #team object954 should delegate #team_members to #team object as #members955 should delegate #owner_name to #owner object passing arguments [{:allow_nil=>true}] as #name956 should delegate #group_clusters_enabled? to #group object passing arguments [{:allow_nil=>true}]957 should delegate #root_ancestor to #namespace object passing arguments [{:allow_nil=>true}]958 should delegate #last_pipeline to #commit object passing arguments [{:allow_nil=>true}]959 #to_reference_with_postfix960 returns the full path with reference_postfix961 #to_reference962 when nil argument963 returns nil964 when full is true965 returns complete path to the project966 when same project argument967 returns nil968 when cross namespace project argument969 returns complete path to the project970 when same namespace / cross-project argument971 returns path to the project972 when different namespace / cross-project argument973 returns full path to the project974 when argument is a namespace975 with same project path976 returns path to the project977 with different project path978 returns full path to the project979 #to_human_reference980 when nil argument981 returns nil982 when same project argument983 returns nil984 when cross namespace project argument985 returns complete name with namespace of the project986 when same namespace / cross-project argument987 returns name of the project988 #merge_method989 ff: true, rebase: true, method: :ff990 should eq :ff991 ff: true, rebase: false, method: :ff992 should eq :ff993 ff: false, rebase: true, method: :rebase_merge994 should eq :rebase_merge995 ff: false, rebase: false, method: :merge996 should eq :merge997 #web_url998 returns the full web URL for this repo999 #readme_url1000 with a non-existing repository1001 returns nil1002 with an existing repository1003 when no README exists1004 returns nil1005 when a README exists1006 returns the README1007 #new_issuable_address1008 incoming email enabled1009 returns the address to create a new issue1010 returns the address to create a new merge request1011 returns nil with invalid address type1012 incoming email disabled1013 returns nil1014 returns nil1015 last_activity methods1016 last_activity1017 alias last_activity to last_event1018 last_activity_date1019 returns the creation date of the project's last event if present1020 returns the project's last update date if it has no events1021 returns the most recent timestamp1022 #get_issue1023 with default issues tracker1024 returns an issue1025 returns count of open issues1026 returns nil when no issue found1027 returns nil when user doesn't have access1028 with external issues tracker1029 when internal issues are enabled1030 returns interlan issue1031 returns an ExternalIssue when internal issue does not exists1032 when internal issues are disabled1033 returns always an External issues1034 returns an ExternalIssue when internal issue does not exists1035 #issue_exists?1036 is truthy when issue exists1037 is falsey when issue does not exist1038 #to_param1039 with namespace1040 should eq "gitlabhq"1041 with invalid path1042 returns previous path to keep project suitable for use in URLs when persisted1043 returns current path when new record1044 #repository1045 returns valid repo1046 #default_issues_tracker?1047 is true if used internal tracker1048 is false if used other tracker1049 #empty_repo?1050 when the repo does not exist1051 returns true1052 when the repo exists1053 should equal true1054 should equal false1055 #external_issue_tracker1056 returns nil and does not query services when there is no external issue tracker1057 retrieves external_issue_tracker querying services and cache it when there is external issue tracker1058 on existing projects with no value for has_external_issue_tracker1059 updates the has_external_issue_tracker boolean1060 #cache_has_external_issue_tracker1061 stores true if there is any external_issue_tracker1062 stores false if there is no external_issue_tracker1063 does not cache data when in a read-only GitLab instance1064 #cache_has_external_wiki1065 stores true if there is any external_wikis1066 stores false if there is no external_wikis1067 does not cache data when in a read-only GitLab instance1068 #has_wiki?1069 returns true if project is wiki enabled or has external wiki1070 #external_wiki1071 with an active external wiki1072 sets :has_external_wiki as true1073 sets :has_external_wiki as false if an external wiki service is destroyed later1074 with an inactive external wiki1075 sets :has_external_wiki as false1076 with no external wiki1077 sets :has_external_wiki as false1078 sets :has_external_wiki as true if an external wiki service is created later1079 #star_count1080 counts stars from multiple users1081 counts stars on the right project1082 #avatar_type1083 is true if avatar is image1084 is false if avatar is html page1085 #avatar_url1086 when avatar file is uploaded1087 shows correct url1088 when avatar file in git1089 should eq "http://localhost/namespace144/project146/avatar"1090 when git repo is empty1091 should eq nil1092 #pipeline_for1093 with explicit sha1094 behaves like giving the correct pipeline1095 should eq #<Ci::Pipeline id: 9, ref: "master", sha: "b83d6e391c22777fca1ed3012fce84f633d7fed0", before_sha: nil...tected: false, failure_reason: nil, iid: 1, merge_request_id: nil, source_sha: nil, target_sha: nil>1096 return latest1097 should eq #<Ci::Pipeline id: 11, ref: "master", sha: "b83d6e391c22777fca1ed3012fce84f633d7fed0", before_sha: ni...tected: false, failure_reason: nil, iid: 2, merge_request_id: nil, source_sha: nil, target_sha: nil>1098 with implicit sha1099 behaves like giving the correct pipeline1100 should eq #<Ci::Pipeline id: 12, ref: "master", sha: "b83d6e391c22777fca1ed3012fce84f633d7fed0", before_sha: ni...tected: false, failure_reason: nil, iid: 1, merge_request_id: nil, source_sha: nil, target_sha: nil>1101 return latest1102 should eq #<Ci::Pipeline id: 14, ref: "master", sha: "b83d6e391c22777fca1ed3012fce84f633d7fed0", before_sha: ni...tected: false, failure_reason: nil, iid: 2, merge_request_id: nil, source_sha: nil, target_sha: nil>1103 #builds_enabled1104 should be truthy1105 .sort_by_attribute1106 reorders the input relation by start count desc1107 .with_shared_runners1108 when shared runners are enabled for project1109 returns a project1110 when shared runners are disabled for project1111 returns an empty array1112 .cached_count1113 returns total project count1114 .trending1115 sorts projects by the amount of notes in descending order1116 does not take system notes into account1117 .starred_by1118 returns only projects starred by the given user1119 .visible_to_user1120 when a user has access to a project1121 should eq [#<Project id:147 namespace165/project167>]1122 when a user does not have access to any projects1123 should eq []1124 repository storage by default1125 picks storage from ApplicationSetting1126 shared runners by default1127 are enabled1128 should be truthy1129 are disabled1130 should be falsey1131 #any_runners?1132 shared runners1133 for shared runners disabled1134 has no runners available1135 has a specific runner1136 has a shared runner, but they are prohibited to use1137 checks the presence of specific runner1138 returns false if match cannot be found1139 for shared runners enabled1140 has a shared runner1141 checks the presence of shared runner1142 returns false if match cannot be found1143 group runners1144 for group runners disabled1145 has no runners available1146 has a group runner, but they are prohibited to use1147 for group runners enabled1148 has a group runner1149 checks the presence of group runner1150 returns false if match cannot be found1151 #shared_runners1152 when shared runners are enabled for project1153 returns a list of shared runners1154 when shared runners are disabled for project1155 returns a empty list1156 #visibility_level1157 by default1158 should eq 01159 when set to INTERNAL in application settings1160 should eq 101161 #visibility_level_allowed?1162 when checking on non-forked project1163 should be truthy1164 should be truthy1165 should be truthy1166 when checking on forked project1167 should be truthy1168 should be truthy1169 should be falsey1170 #pages_deployed?1171 if public folder does exist1172 should be truthy1173 if public folder doesn't exist1174 should be falsey1175 #pages_url1176 group page1177 should eq "http://group.example.com"1178 project page1179 should eq "http://group.example.com/project"1180 #pages_group_url1181 group page1182 should eq "http://group.example.com:1234"1183 project page1184 should eq "http://group.example.com:1234"1185 .search1186 returns projects with a matching name1187 returns projects with a partially matching name1188 returns projects with a matching name regardless of the casing1189 returns projects with a matching description1190 returns projects with a partially matching description1191 returns projects with a matching description regardless of the casing1192 returns projects with a matching path1193 returns projects with a partially matching path1194 returns projects with a matching path regardless of the casing1195 with pending_delete project1196 shows pending deletion project1197 .optionally_search1198 searches for projects matching the query if one is given1199 returns the current relation if no search query is given1200 .paginate_in_descending_order_using_id1201 orders the relation in descending order1202 applies a limit to the relation1203 limits projects by and ID when given1204 .including_namespace_and_owner1205 eager loads the namespace and namespace owner1206 #expire_caches_before_rename1207 expires the caches of the repository and wiki1208 .search_by_title1209 returns projects with a matching name1210 returns projects with a partially matching name1211 returns projects with a matching name regardless of the casing1212 when checking projects from groups1213 when group is private project can not be internal1214 should be falsey1215 when group is internal project can not be public1216 should be falsey1217 #track_project_repository1218 with projects on legacy storage1219 behaves like tracks storage location1220 when a project repository entry does not exist1221 creates a new entry1222 tracks the project storage location1223 when a tracking entry exists1224 does not create a new entry in the database1225 updates the project storage location1226 with projects on hashed storage1227 behaves like tracks storage location1228 when a project repository entry does not exist1229 creates a new entry1230 tracks the project storage location1231 when a tracking entry exists1232 does not create a new entry in the database1233 updates the project storage location1234 #create_repository1235 using a regular repository1236 creates the repository1237 adds an error if the repository could not be created1238 using a forked repository1239 does nothing1240 #ensure_repository1241 creates the repository if it not exist1242 does not create the repository if it exists1243 creates the repository if it is a fork1244 handling import URL1245 returns the sanitized URL1246 #container_registry_url1247 for enabled registry1248 should not be nil1249 for disabled registry1250 should be nil1251 #has_container_registry_tags?1252 when container registry is enabled1253 when tags are present for multi-level registries1254 should have image tags1255 when tags are present for root repository1256 should have image tags1257 when there are no tags at all1258 should not have image tags1259 when container registry is disabled1260 should not have image tags1261 should not check root repository tags1262 should iterate through container repositories1263 #ci_config_path=1264 sets nil1265 sets a string1266 sets a string but removes all null characters1267 #latest_successful_build_for1268 with many builds1269 gives the latest builds from latest pipeline1270 with succeeded pipeline1271 standalone pipeline1272 returns builds for ref for default_branch1273 returns empty relation if the build cannot be found1274 with some pending pipeline1275 gives the latest build from latest pipeline1276 with pending pipeline1277 returns empty relation1278 #latest_successful_build_for!1279 with many builds1280 gives the latest builds from latest pipeline1281 with succeeded pipeline1282 standalone pipeline1283 returns builds for ref for default_branch1284 returns exception if the build cannot be found1285 with some pending pipeline1286 gives the latest build from latest pipeline1287 with pending pipeline1288 returns empty relation1289 #import_status1290 with import_state1291 returns the right status1292 without import_state1293 returns none1294 #human_import_status_name1295 with import_state1296 returns the right human import status1297 without import_state1298 returns none1299 #add_import_job1300 forked1301 schedules a RepositoryForkWorker job1302 not forked1303 schedules a RepositoryImportWorker job1304 #gitlab_project_import?1305 should equal true1306 #gitea_import?1307 should equal true1308 #has_remote_mirror?1309 returns true when a remote mirror is enabled1310 returns false when remote mirror is disabled1311 #update_remote_mirrors1312 syncs enabled remote mirror1313 does nothing when remote mirror is disabled globally and not overridden1314 does not sync disabled remote mirrors1315 #remote_mirror_available?1316 when remote mirror global setting is enabled1317 returns true1318 when remote mirror global setting is disabled1319 returns true when overridden1320 returns false when not overridden1321 #ancestors_upto1322 returns all ancestors when no namespace is given1323 includes ancestors upto but excluding the given ancestor1324 with hierarchy_order1325 returns ancestors ordered by descending hierarchy1326 can be used with upto option1327 #root_ancestor1328 should eq #<Namespace id: 379, name: "namespace273", path: "namespace273", owner_id: 329, created_at: "2019-02-...grace_period: 48, cached_markdown_version: 917504, runners_token: nil, runners_token_encrypted: nil>1329 in a group1330 should eq #<Group id:380 @group31>1331 in a nested group1332 should eq #<Group id:383 @group32>1333 #lfs_enabled?1334 LFS disabled in group1335 behaves like project overrides group1336 returns true when enabled in project1337 returns false when disabled in project1338 returns the value from the namespace, when no value is set in project1339 LFS enabled in group1340 behaves like project overrides group1341 returns true when enabled in project1342 returns false when disabled in project1343 returns the value from the namespace, when no value is set in project1344 LFS disabled globally1345 when no values are set1346 behaves like it always returns false1347 should be falsey1348 when all values are set to true1349 behaves like it always returns false1350 should be falsey1351 #change_head1352 returns error if branch does not exist1353 calls the before_change_head and after_change_head methods1354 copies the gitattributes1355 reloads the default branch1356 forks1357 #fork_network1358 includes a fork of the project1359 includes a fork of a fork1360 includes sibling forks1361 includes the base project1362 #in_fork_network_of?1363 is true for a real fork1364 is true for a fork of a fork1365 is true for sibling forks1366 is false when another project is given1367 #fork_source1368 returns the direct source if it exists1369 returns the root of the fork network when the directs source was deleted1370 returns nil if it is the root of the fork network1371 #forks1372 includes direct forks of the project1373 #lfs_storage_project1374 returns self for non-forks1375 returns the fork network root for forks1376 returns self when fork_source is nil1377 #all_lfs_objects1378 returns the lfs object for a project1379 returns the lfs object for a fork1380 #set_repository_read_only!1381 returns true when there is no existing git transfer in progress1382 returns false when there is an existing git transfer in progress1383 #set_repository_writable!1384 sets repository_read_only to false1385 #pushes_since_gc1386 without any pushes1387 returns 01388 with a number of pushes1389 returns the number of pushes1390 #increment_pushes_since_gc1391 increments the number of pushes since the last GC1392 #reset_pushes_since_gc1393 resets the number of pushes since the last GC1394 #deployment_variables1395 when project has no deployment service1396 returns an empty array1397 when project uses mock deployment service1398 returns an empty array1399 when project has a deployment service1400 when user configured kubernetes from Integration > Kubernetes1401 behaves like same behavior between KubernetesService and Platform::Kubernetes1402 returns variables from this service1403 when user configured kubernetes from CI/CD > Clusters and KubernetesNamespace migration has not been executed1404 behaves like same behavior between KubernetesService and Platform::Kubernetes1405 returns variables from this service1406 when user configured kubernetes from CI/CD > Clusters and KubernetesNamespace migration has been executed1407 should return token from kubernetes namespace1408 #default_environment1409 returns production environment when it exists1410 returns first environment when no production environment exists1411 returns nil when no available environment exists1412 #ci_variables_for1413 when the ref is not protected1414 contains only the CI variables1415 when the ref is a protected branch1416 behaves like ref is protected1417 contains all the variables1418 when the ref is a protected tag1419 behaves like ref is protected1420 contains all the variables1421 #any_lfs_file_locks?1422 returns false when there are no LFS file locks1423 returns a cached true when there are LFS file locks1424 #protected_for?1425 when ref is nil1426 returns false1427 when ref is ref name1428 when ref is ambiguous1429 raises an error1430 when the ref is not protected1431 behaves like ref is not protected1432 returns false1433 when the ref is a protected branch1434 behaves like ref is protected branch1435 returns true1436 when the ref is a protected tag1437 behaves like ref is protected tag1438 returns true1439 when ref does not exist1440 returns false1441 when ref is full ref1442 when the ref is not protected1443 behaves like ref is not protected1444 returns false1445 when the ref is a protected branch1446 behaves like ref is protected branch1447 returns true1448 when the ref is a protected tag1449 behaves like ref is protected tag1450 returns true1451 when branch ref name is a full tag ref1452 when ref is not protected1453 returns false1454 when ref is a protected branch1455 returns true1456 when ref does not exist1457 returns false1458 #update_project_statistics1459 is called after creation1460 copies the namespace_id1461 updates the namespace_id when changed1462 inside_path1463 returns correct project1464 #route_map_for1465 when there is a .gitlab/route-map.yml at the commit1466 when the route map is valid1467 returns a route map1468 when the route map is invalid1469 returns nil1470 when there is no .gitlab/route-map.yml at the commit1471 returns nil1472 #public_path_for_source_path1473 when there is a route map1474 when the source path is mapped1475 returns the public path1476 when the source path is not mapped1477 returns nil1478 when there is no route map1479 returns nil1480 #parent1481 should eq #<Namespace id: 519, name: "namespace352", path: "namespace352", owner_id: 441, created_at: "2019-02-...grace_period: 48, cached_markdown_version: 917504, runners_token: nil, runners_token_encrypted: nil>1482 #parent_id1483 should eq 5201484 #parent_changed?1485 should be truthy1486 #pages_url1487 top-level group1488 group page1489 should eq "http://group.example.com"1490 project page1491 should eq "http://group.example.com/project"1492 nested group1493 group page1495 project page1496 should eq "http://group.example.com/group60/project"1497 #http_url_to_repo1498 returns the url to the repo without a username1499 #lfs_http_url_to_repo1500 returns the url to the repo without a username1501 #pipeline_status1502 builds a pipeline status1503 hase a loaded pipeline status1504 #append_or_update_attribute1505 shows full error updating an invalid MR1506 updates the project successfully1507 #update1508 validates the visibility1509 does not validate the visibility1510 #last_repository_updated_at1511 sets to created_at upon creation1512 .public_or_visible_to_user1513 with a user1514 includes projects the user has access to1515 includes projects the user can see1516 without a user1517 only includes public projects1518 .with_feature_available_for_user1519 when user has access to project1520 when public project1521 when feature is public1522 returns project1523 when feature is private1524 returns project when user has access to the feature1525 does not return project when user does not have the minimum access level required1526 when private project1527 returns project when user has access to the feature1528 does not return project when user does not have the minimum access level required1529 when user does not have access to project1530 does not return project when user cant access project1531 #pages_available?1532 when the project is in a top level namespace1533 should equal true1534 when the project is in a subgroup1535 should equal true1536 #remove_private_deploy_keys1537 for a private deploy key1538 when the key is not linked to another project1539 removes the key1540 when the key is linked to another project1541 does not remove the key1542 for a public deploy key1543 does not remove the key1544 #remove_pages1545 removes the pages directory1546 is a no-op when there is no namespace1547 is run when the project is destroyed1548 #remove_export1549 removes the export1550 #forks_count1551 returns the number of forks1552 #git_transfer_in_progress?1553 returns false when repo_reference_count and wiki_reference_count are 01554 returns true when repo_reference_count is > 01555 returns true when wiki_reference_count is > 01556 legacy storage1557 #base_dir1558 returns base_dir based on namespace only1559 #disk_path1560 returns disk_path based on namespace and project path1561 #ensure_storage_path_exists1562 delegates to gitlab_shell to ensure namespace is created1563 #legacy_storage?1564 returns true when storage_version is nil1565 returns true when the storage_version is 01566 #hashed_storage?1567 returns false1568 #pages_path1569 returns a path where pages are stored1570 #migrate_to_hashed_storage!15712019-02-27T08:27:38.054Z 101 TID-gnb8b4sr1 INFO: Skipped attachments migration from '/builds/gitlab-org/gitlab-ce/tmp/tests/public/uploads/namespace391/project396' to '/builds/gitlab-org/gitlab-ce/tmp/tests/public/uploads/@hashed/d2/6e/d26eae87829adde551bf4b852f9da6b8c3c2db9b65b8b68870632a2db5f53e00', source path doesn't exist or is not a directory (PROJECT_ID=403)1572 returns true15732019-02-27T08:27:38.374Z 101 TID-gnb8b4sr1 INFO: Skipped attachments migration from '/builds/gitlab-org/gitlab-ce/tmp/tests/public/uploads/namespace392/project397' to '/builds/gitlab-org/gitlab-ce/tmp/tests/public/uploads/@hashed/6b/3c/6b3c238ebcf1f3c07cf0e556faa82c6b8fe96840ff4b6b7e9962a2d855843a0b', source path doesn't exist or is not a directory (PROJECT_ID=404)1574 does not run validation1575 schedules ProjectMigrateHashedStorageWorker with delayed start when the project repo is in use1576 schedules ProjectMigrateHashedStorageWorker with delayed start when the wiki repo is in use1577 schedules ProjectMigrateHashedStorageWorker1578 hashed storage1579 #legacy_storage?1580 returns false1581 #hashed_storage?1582 returns true if rolled out1583 returns false when not rolled out yet1584 #base_dir1585 returns base_dir based on hash of project id1586 #disk_path1587 returns disk_path based on hash of project id1588 #ensure_storage_path_exists1589 delegates to gitlab_shell to ensure namespace is created1590 #pages_path1591 returns a path where pages are stored1592 #migrate_to_hashed_storage!1593 returns nil1594 does not flag as read-only1595 when partially migrated1596 enqueues a job1597 #gl_repository1598 delegates to Gitlab::GlRepository.gl_repository1599 #has_ci?1600 when has .gitlab-ci.yml1601 CI is available1602 when there is no .gitlab-ci.yml1603 CI is available1604 when auto devops is disabled1605 CI is not available1606 #auto_devops_enabled?1607 when enabled in settings1608 should be truthy1609 when explicitly enabled1610 should be truthy1611 when explicitly disabled1612 should be falsey1613 when disabled in settings1614 should be falsey1615 when explicitly enabled1616 should be truthy1617 when force_autodevops_on_by_default is enabled for the project1618 should be truthy1619 #has_auto_devops_implicitly_enabled?1620 when disabled in settings1621 does not have auto devops implicitly disabled1622 when enabled in settings1623 auto devops is implicitly disabled1624 when explicitly disabled1625 does not have auto devops implicitly disabled1626 when explicitly enabled1627 does not have auto devops implicitly disabled1628 #has_auto_devops_implicitly_disabled?1629 when enabled in settings1630 does not have auto devops implicitly disabled1631 when disabled in settings1632 auto devops is implicitly disabled1633 when force_autodevops_on_by_default is enabled for the project1634 does not have auto devops implicitly disabled1635 when explicitly disabled1636 does not have auto devops implicitly disabled1637 when explicitly enabled1638 does not have auto devops implicitly disabled1639 #api_variables1640 exposes API v4 URL1641 contains a URL variable for every supported API version1642 #auto_devops_variables1643 when enabled in instance settings1644 when domain is empty1645 variables does not include AUTO_DEVOPS_DOMAIN1646 when domain is configured1647 variables includes AUTO_DEVOPS_DOMAIN1648 when explicitly enabled1649 when domain is empty1650 variables does not include AUTO_DEVOPS_DOMAIN1651 when domain is configured1652 variables includes AUTO_DEVOPS_DOMAIN1653 #latest_successful_builds_for1654 without a ref1655 returns a pipeline for the default branch1656 with the ref set to the default branch1657 returns a pipeline for the default branch1658 with a ref that is not the default branch1659 returns the latest successful pipeline for the given ref1660 #check_repository_path_availability1661 skips gitlab-shell exists?1662 #latest_successful_pipeline_for_default_branch1663 memoizes and returns the latest successful pipeline for the default branch1664 #after_import1665 runs the correct hooks1666 branch protection1667 does not protect when branch protection is disabled1668 gives developer access to push when branch protection is set to 'developers can push'1669 gives developer access to merge when branch protection is set to 'developers can merge'1670 protects default branch1671 #update_project_counter_caches1672 updates all project counter caches1673 #wiki_repository_exists?1674 returns true when the wiki repository exists1675 returns false when the wiki repository does not exist1676 #write_repository_config1677 writes full path in .git/config when key is missing1678 updates full path in .git/config when key is present1679 does not raise an error with an empty repository1680 #execute_hooks1681 executes active projects hooks with the specified scope1682 does not execute project hooks that dont match the specified scope1683 does not execute project hooks which are not active1684 executes the system hooks with the specified scope1685 executes the system hooks when inside a transaction1686 #badges1687 returns the project and the project group badges1688 with nested_groups1689 returns the project and the project nested groups badges1690 with cross project merge requests1691 #merge_requests_allowing_push_to_user1692 returns open merge requests for which the user has developer access to the target project1693 does not include closed merge requests1694 does not include merge requests for guest users1695 does not include the merge request for other users1696 is empty when no user is passed1697 #any_branch_allows_collaboration?1698 allows access when there are merge requests open allowing collaboration1699 does not allow access when there are no merge requests open allowing collaboration1700 #branch_allows_collaboration?1701 allows access if the user can merge the merge request1702 does not allow guest users access1703 does not allow access to branches for which the merge request was closed1704 does not allow access if the user cannot merge the merge request1705 when the requeststore is active1706 only queries per project across instances1707 #pages_https_only?1708 when HTTPS pages are disabled1709 should not be pages https only1710 when HTTPS pages are enabled1711 should be pages https only1712 #pages_https_only? validation1713 when no domains are associated1714 should be valid1715 when domains including keys and certificates are associated1716 should be valid1717 when domains including no keys or certificates are associated1718 should not be valid1719 #toggle_ci_cd_settings!1720 toggles the value on #settings1721 #gitlab_deploy_token1722 when there is a gitlab deploy token associated1723 should eq #<DeployToken id: 7, revoked: false, read_repository: true, read_registry: true, expires_at: "2019-03...28:32", name: "gitlab-deploy-token", token: "7ae06a7e3f3e96fcbe9090937691e4c0dce0b75f5c93a75feb...">1724 when there is no a gitlab deploy token associated1725 should be nil1726 when there is a gitlab deploy token associated but is has been revoked1727 should be nil1728 when there is a gitlab deploy token associated but it is expired1729 should be nil1730 when there is a deploy token associated with a different name1731 should be nil1732 when there is a deploy token associated to a different project1733 should be nil1734 with uploads1735 behaves like model with uploads1736 .destroy1737 with mounted uploader1738 deletes remote uploads1739 with not mounted uploads1740 with local files1741 deletes any FileUploader uploads which are not mounted1742 deletes local files1743 with remote files1744 deletes any FileUploader uploads which are not mounted1745 deletes remote files1746 #commits_by1747 retrieves several commits from the repository by oid1748 #members_among1749 when users is an Array1750 returns project members among the users1751 maintains input order1752 returns empty array if users is empty1753 when users is a relation1754 returns project members among the users1755 returns empty relation if users is empty1756 #find_or_initialize_services1757 returns only enabled services1758 #find_or_initialize_service1759 avoids N+1 database queries1760 returns nil if service is disabled1761 .find_without_deleted1762 returns nil if the project is about to be removed1763 returns a project when it is not about to be removed1764 .for_group1765 returns the projects for a given group1766 .deployments1767 when there is a deployment record with created status1768 does not return the record1769 when there is a deployment record with running status1770 does not return the record1771 when there is a deployment record with success status1772 returns the record1773 #snippets_visible?1774 returns true when a logged in user can read snippets1775 returns true when an anonymous user can read snippets1776 returns false when a user can not read snippets1777 #all_clusters1778 returns project level cluster1779 project belongs to a group1780 returns clusters for groups of this project1781 #object_pool_params1782 when the objects cannot be pooled1783 should be empty1784 when a pool is created1785 returns that pool repository1786 #git_objects_poolable?1787 when the feature flag is turned off1788 should not be git objects poolable1789 when the feature flag is enabled1790 when not using hashed storage1791 should not be git objects poolable1792 when the project is not public1793 should not be git objects poolable1794 when objects are poolable1795 should be git objects poolable1796 #leave_pool_repository1797 removes the membership1798 #check_personal_projects_limit1799 when creating a project for a group1800 does nothing1801 when the user is not allowed to create a personal project1802 when the project limit is zero1803 adds a validation error1804 when the project limit is greater than zero1805 adds a validation error1806 when the user is allowed to create personal projects1807 does nothing1808 #has_pool_repsitory?1809 returns false when it does not have a pool repository1810 returns true when it has a pool repository1811MergeRequests::RefreshService1812 #execute1813 push to origin repo source branch1814 executes hooks with update action1815 reloads source branch MRs memoization1816 when source branch ref does not exists1817 closes MRs without source branch ref1818 does not change the merge request diff1819 when pipeline exists for the source branch1820 updates the head_pipeline_id for @merge_request1821 does not update the head_pipeline_id for @fork_merge_request1822 Merge request pipelines1823 when .gitlab-ci.yml has merge_requests keywords1824 create merge request pipeline with commits1825 when branch pipeline was created before a merge request pipline has been created1826 sets the latest merge request pipeline as a head pipeline1827 returns pipelines in correct order1828 when MergeRequestUpdateWorker is retried by an exception1829 does not re-create a duplicate merge request pipeline1830 when the 'ci_merge_request_pipeline' feature flag is disabled1831 does not create a merge request pipeline1832 when .gitlab-ci.yml does not have merge_requests keywords1833 does not create a merge request pipeline1834 push to origin repo source branch when an MR was reopened1835 executes hooks with update action1836 push to origin repo target branch1837 when all MRs to the target branch had diffs1838 updates the merge state1839 when an MR to be closed was empty already1840 only updates the non-empty MRs1841 manual merge of source branch1842 updates the merge state1843 push to fork repo source branch1844 open fork merge request1845 executes hooks with update action1846 closed fork merge request1847 do not execute hooks with update action1848 updates merge request to closed state1849 push to fork repo target branch1850 changes to merge requests1851 updates the merge request state1852 merge request diff1853 does not reload the diff of the merge request made from fork1854 forked projects with the same source branch name as target branch1855 should reload a new diff for a push to the forked project1856 should reload a new diff for a force push to the source branch1857 should reload a new diff for a force push to the target branch1858 should reload a new diff for a push to the target project that contains a commit in the MR1859 should not increase the diff count for a new push to target branch1860 push to origin repo target branch after fork project was removed1861 updates the merge request state1862 push new branch that exists in a merge request1863 refreshes the merge request1864 merge request metrics1865 when the merge request is sourced from the same project1866 creates a `MergeRequestsClosingIssues` record for each issue closed by a commit1867 when the merge request is sourced from a different project1868 creates a `MergeRequestsClosingIssues` record for each issue closed by a commit1869 marking the merge request as work in progress1870 marks the merge request as work in progress from fixup commits1871 references the commit that caused the Work in Progress status1872 does not mark as WIP based on commits that do not belong to an MR1873 updating merge_commit1874 feature enabled1875 updates merge requests' merge_commits1876 when feature is disabled1877 does not trigger analysis1878Projects::JobsController1879 GET index1880 when scope is pending1881 has only pending builds1882 when scope is running1883 has only running jobs1884 when scope is finished1885 has only finished jobs1886 when page is specified1887 when page number is eligible1888 redirects to the page1889 number of queries1890 verifies number of queries1891 GET show1892 when requesting HTML1893 when job exists1894 has a job1895 has the correct build collection1896 when job does not exist1897 renders not_found1898 when requesting JSON1899 exposes the stage the job belongs to1900 when job failed1901 exposes needed information1902 when job is running1903 job is cancelable1904 cancel_path is present with correct redirect1905 with web terminal1906 exposes the terminal path1907 when job has artifacts1908 with not expiry date1909 exposes needed information1910 with expiry date1911 exposes needed information1912 when job passed with no trace1913 exposes empty state illustrations1914 with no deployment1915 does not exposes the deployment information1916 with deployment1917 exposes the deployment information1918 when user can edit runner1919 that belongs to the project1920 user can edit runner1921 that belongs to group1922 user can not edit runner1923 that belongs to instance1924 user can not edit runner1925 when no runners are available1926 exposes needed information1927 when no runner is online1928 exposes needed information1929 settings_path1930 when user is developer1931 settings_path is not available1932 when user is maintainer1933 settings_path is available1934 when no trace is available1935 has_trace is false1936 when job has trace1937 has_trace is true1938 when requesting JSON job is triggered1939 with no variables1940 exposes trigger information1941 with variables1942 user is a maintainer1943 returns a job_detail1944 exposes trigger information and variables1945 exposes correct variable properties1946 user is not a mantainer1947 returns a job_detail1948 exposes trigger information and variables1949 exposes correct variable properties1950 GET trace.json1951 when job has a trace artifact1952 returns a trace1953 when job has a trace1954 returns a trace1955 when job has no traces1956 returns no traces1957 when job has a trace with ANSI sequence and Unicode1958 returns a trace with Unicode1959 when trace artifact is in ObjectStorage1960 when there are no network issues1961 returns a trace1962 when there is a network issue1963 returns a trace1964 GET status.json1965 return a detailed job status in json1966 POST retry1967 when job is retryable1968 redirects to the retried job page1969 when job is not retryable1970 renders unprocessable_entity1971 POST play1972 when job is playable1973 redirects to the played job page1974 transits to pending1975 when job is not playable1976 renders unprocessable_entity1977 POST cancel1978 when continue url is present1979 when continue to is a safe url1980 redirects to the continue url1981 transits to canceled1982 when continue to is not a safe url1983WARNING: Using the `raise_error` matcher without providing a specific error or message risks false positives, since `raise_error` will match when Ruby raises a `NoMethodError`, `NameError` or `ArgumentError`, potentially allowing the expectation to pass without even executing the method you are intending to call. Actual error raised was #<NoMethodError: undefined method `cancel_with_redirect' for #<RSpec::ExampleGroups::ProjectsJobsCont...resent::WhenContinueToIsNotASafeUrl:0x0000556dabaca4b8>1984Did you mean? cancel_project_pipeline_path>. Instead consider providing a specific error class or message. This message can be suppressed by setting: `RSpec::Expectations.configuration.on_potential_false_positives = :nothing`. Called from /builds/gitlab-org/gitlab-ce/spec/controllers/projects/jobs_controller_spec.rb:692:in `block (5 levels) in <top (required)>'.1985 raises an error1986 when continue url is not present1987 when job is cancelable1988 redirects to the builds page1989 transits to canceled1990 when job is not cancelable1991 returns unprocessable_entity1992 POST unschedule1993 when job is scheduled1994 redirects to the unscheduled job page1995 transits to manual1996 when job is not scheduled1997 renders unprocessable_entity1998 POST erase1999 when job is erasable2000 redirects to the erased job page2001 erases artifacts2002 erases trace2003 when job is not erasable2004 returns unprocessable_entity2005 when user is developer2006 when triggered by same user2007 has successful status2008 when triggered by different user2009 does not have successful status2010 GET raw2011 when job has a trace artifact2012 sets Gitlab-Workhorse-Detect-Content-Type header2013 when job has a trace file2014 sends a trace file2015 when job has a trace in database2016 sends a trace file2017 when trace format is not text/plain2018 sets content disposition to attachment2019 when job does not have a trace file2020 returns not_found2021 when the trace artifact is in ObjectStorage2022 redirect to the trace file url2023 GET #terminal2024 when job exists2025 and it has a terminal2026 has a job2027 and does not have a terminal2028 returns not_found2029 when job does not exist2030 renders not_found2031 GET #terminal_websocket_authorize2032 with valid workhorse signature2033 and valid id2034 returns the terminal for the job2035 and invalid id2036 returns 4042037 with invalid workhorse signature2038 aborts with an exception2039Protected Tags2040Starting the Capybara driver server...2041 explicit protected tags2042 allows creating explicit protected tags2043 displays the last commit on the matching tag if it exists2044 displays an error message if the named tag does not exist2045 wildcard protected tags2046 allows creating protected tags with a wildcard2047 displays the number of matching tags2048 displays all the tags matching the wildcard2049 access control2050 allows creating protected tags that Maintainers can create2051 allows updating protected tags so that Maintainers can create them2052 allows creating protected tags that Developers + Maintainers can create2053 allows updating protected tags so that Developers + Maintainers can create them2054 allows creating protected tags that No one can create2055 allows updating protected tags so that No one can create them2056User activates Jira2057 user sets and activates Jira Service2058 when Jira connection test succeeds2059 activates the JIRA service2060 shows the JIRA link in the menu2061 when Jira connection test fails2062 shows errors when some required fields are not filled in2063 activates the JIRA service2064 user sets Jira Service but keeps it disabled2065 saves but does not activate the JIRA service2066 does not show the JIRA link in the menu2067Group milestones2068 create a milestone2069 renders description preview2070 creates milestone with start date2071 description input does not support autocomplete2072 milestones list2073 when no milestones2074 renders no milestones text2075 when milestones exists2076 counts milestones correctly2077 lists legacy group milestones and group milestones2078 shows milestone detail and supports its edit2079 renders milestones2080 renders group milestone details2081 labels2082 renders labels2083 renders labels list2084Projects > Files > Project owner creates a license file2085 project maintainer creates a license file manually from a template2086 project maintainer creates a license file from the "Add license" link2087Group merge requests page2088 public access level2089 group member2090 should text "this is my created issuable"2091 non-member2092 should text "this is my created issuable"2093 private access level2094 group member2095 should text "this is my created issuable"2096 non-member2097 should not text "this is my created issuable"2098 archived issuable2099 hides archived merge requests2100 ignores archived merge request count badges in navbar2101 ignores archived merge request count badges in state-filters2102 when merge request assignee to user2103 should text "this is my created issuable"2104 group filtered search2105 filters by assignee only group users2106 new merge request dropdown2107 shows projects only with merge requests feature enabled2108User comments on a diff2109 single suggestion note2110 suggestion is presented2111 suggestion is appliable2112 multiple suggestions in a single note2113 suggestions are presented2114Gitlab::Ci::Status::Pipeline::Factory2115 when pipeline has a core status2116 when core status is created2117 matches correct core status for created2118 does not match extended statuses2119 fabricates a core status created2120 extends core status with common pipeline methods2121 when core status is pending2122 matches correct core status for pending2123 does not match extended statuses2124 fabricates a core status pending2125 extends core status with common pipeline methods2126 when core status is running2127 matches correct core status for running2128 does not match extended statuses2129 fabricates a core status running2130 extends core status with common pipeline methods2131 when core status is success2132 matches correct core status for success2133 does not match extended statuses2134 fabricates a core status success2135 extends core status with common pipeline methods2136 when core status is failed2137 matches correct core status for failed2138 does not match extended statuses2139 fabricates a core status failed2140 extends core status with common pipeline methods2141 when core status is canceled2142 matches correct core status for canceled2143 does not match extended statuses2144 fabricates a core status canceled2145 extends core status with common pipeline methods2146 when core status is skipped2147 matches correct core status for skipped2148 does not match extended statuses2149 fabricates a core status skipped2150 extends core status with common pipeline methods2151 when core status is manual2152 matches manual core status2153 matches a correct extended statuses2154 extends core status with common pipeline methods2155 when core status is scheduled2156 matches scheduled core status2157 matches a correct extended statuses2158 extends core status with common pipeline methods2159 when pipeline has warnings2160 matches correct core status2161 matches correct extended statuses2162 fabricates extended "success with warnings" status2163 extends core status with common pipeline method2164User views releases2165 sees the release2166 when there is a link as an asset2167 sees the link2168 when url points to external resource2169 sees that the link is external resource2170Dashboard Archived Project2171 renders non archived projects2172 renders all projects2173 renders only archived projects2174 searches archived projects2175UsersController2176 GET #show2177 with rendered views2178 when logged in2179 renders the show template2180 when logged out2181 renders the show template2182 when public visibility level is restricted2183 when logged out2184 redirects to login page2185 when logged in2186 renders show2187 when a user by that username does not exist2188 when logged out2189 redirects to login page2190 when logged in2191 renders 4042192 json with events2193 loads events2194 hides events if the user cannot read cross project2195 hides events if the user has a private profile2196 GET #calendar2197 for user2198 with public profile2199 renders calendar2200 with private profile2201 does not render calendar2202 forked project2203 includes forked projects2204 GET #calendar_activities2205 assigns @calendar_date2206 for user2207 with public profile2208 renders calendar_activities2209 with private profile2210 does not render calendar_activities2211 GET #contributed2212 with public profile2213 renders contributed projects2214 with private profile2215 does not render contributed projects2216 GET #snippets2217 format html2218 renders snippets page2219 format json2220 response with snippets json data2221 GET #exists2222 when user exists2223 returns JSON indicating the user exists2224 when the casing is different2225 returns JSON indicating the user exists2226 when the user does not exist2227 returns JSON indicating the user does not exist2228 when a user changed their username2229 returns JSON indicating a user by that username does not exist2230 #ensure_canonical_path2231 for a GET request2232 when requesting users at the root path2233 when requesting the canonical path2234 with exactly matching casing2235 responds with success2236 with different casing2237 redirects to the correct casing2238 when requesting a redirected path2239 redirects to the canonical path2240 when the old path is a substring of the scheme or host2241 does not modify the requested host2242 when the old path is substring of users2243 redirects to the canonical path2244 when requesting users under the /users path2245 when requesting the canonical path2246 with exactly matching casing2247 responds with success2248 with different casing2249 redirects to the correct casing2250 when requesting a redirected path2251 redirects to the canonical path2252 when the old path is a substring of the scheme or host2253 does not modify the requested host2254 when the old path is substring of users2255 does not modify the /users part of the path2256 token authentication2257 behaves like authenticates sessionless user2258 when the 'personal_access_token' param is populated with the personal access token2259 logs the user in2260 does not log the user in if page is public2261 when the 'PERSONAL_ACCESS_TOKEN' header is populated with the personal access token2262 logs the user in2263PersonalProjectsFinder2264 without a current user2265 should eq [#<Project id:791 user1178/project753>]2266 with a current user2267 normal user2268 should eq [#<Project id:794 user1180/project756>, #<Project id:796 user1180/C>, #<Project id:795 user1180/mepmep>]2269 external2270 should eq [#<Project id:797 user1182/project759>, #<Project id:798 user1182/mepmep>]2271Resolvers::MergeRequestsResolver2272 #resolve2273 batch-resolves by target project full path and individual IID2274 batch-resolves by target project full path and IIDS2275 can batch-resolve merge requests from different projects2276 resolves an unknown iid to be empty2277 resolves empty iids to be empty2278Gitlab::CycleAnalytics::TestStage2279 behaves like base stage2280 has the median data value2281 has the median data stage2282 has the median data description2283 has the title2284 has the events2285ProviderRepoSerializer2286 represents ProviderRepoEntity entities2287Gitlab::Ci::Status::Extended2288 requires subclass to implement matcher2289Knapsack report was generated. Preview:2290{2291 "spec/models/project_spec.rb": 177.26233863830566,2292 "spec/services/merge_requests/refresh_service_spec.rb": 110.96525597572327,2293 "spec/controllers/projects/jobs_controller_spec.rb": 63.95248222351074,2294 "spec/features/protected_tags_spec.rb": 59.8949670791626,2295 "spec/features/projects/services/user_activates_jira_spec.rb": 28.72406005859375,2296 "spec/features/groups/milestone_spec.rb": 23.65199851989746,2297 "spec/features/projects/files/project_owner_creates_license_file_spec.rb": 26.015624523162842,2298 "spec/features/groups/merge_requests_spec.rb": 19.349756956100464,2299 "spec/features/merge_request/user_suggests_changes_on_diff_spec.rb": 19.594295024871826,2300 "spec/lib/gitlab/ci/status/pipeline/factory_spec.rb": 13.541324377059937,2301 "spec/features/projects/releases/user_views_releases_spec.rb": 12.167645454406738,2302 "spec/features/dashboard/archived_projects_spec.rb": 8.812965631484985,2303 "spec/controllers/users_controller_spec.rb": 9.137015104293823,2304 "spec/finders/personal_projects_finder_spec.rb": 2.4247372150421143,2305 "spec/graphql/resolvers/merge_requests_resolver_spec.rb": 0.2146158218383789,2306 "spec/lib/gitlab/cycle_analytics/test_stage_spec.rb": 0.036135196685791016,2307 "spec/serializers/provider_repo_serializer_spec.rb": 0.0051839351654052734,2308 "spec/lib/gitlab/ci/status/extended_spec.rb": 0.00459694862365722662309}2310Knapsack global time execution for tests: 09m 35s2311Finished in 10 minutes 1 second (files took 12.63 seconds to load)2312851 examples, 0 failures2314$ date2315Wed Feb 27 08:35:57 UTC 20192318coverage/: found 5 matching files 2319knapsack/: found 4 matching files 2320rspec_flaky/: found 4 matching files 2321WARNING: tmp/capybara/: no matching files 2322Uploading artifacts to coordinator... ok id=168352934 responseStatus=201 Created token=KWyLxXHU2323Uploading artifacts...2324junit_rspec.xml: found 1 matching files 2325Uploading artifacts to coordinator... ok id=168352934 responseStatus=201 Created token=KWyLxXHU2326Job succeeded