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

Shinya Maeda
1Running with gitlab-runner 11.8.0 (4745a6f3)2 on docker-auto-scale-com 1d6b581d3Using 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-1d6b581d-project-13083-concurrent-0 via runner-1d6b581d-gsrm-1551253959-f1abc336...
00:01
14 Fetching changes for persist-source-sha-and-target-sha-for-pipelines with git depth set to 20...
00:06
15HEAD is now at 752926e6 Remove tests for labels dropdown from gfm_autocomplete_spec.rb17 * [new branch] persist-source-sha-and-target-sha-for-pipelines -> origin/persist-source-sha-and-target-sha-for-pipelines18Checking out 314062fe as persist-source-sha-and-target-sha-for-pipelines...19Skipping Git submodules setup21Downloading cache.zip from https://storage.googleapis.com/gitlab-com-runners-cache/project/13083/debian-stretch-ruby-2.5.3-node-10.x-3 22Successfully extracted cache24Downloading artifacts from coordinator... ok id=168352919 responseStatus=200 OK token=sN8wDMNo25Downloading artifacts for compile-assets (168352920)...26Downloading artifacts from coordinator... ok id=168352920 responseStatus=200 OK token=wRVGbMyT27Downloading artifacts for setup-test-env (168352921)...28Downloading artifacts from coordinator... ok id=168352921 responseStatus=200 OK token=6jTozWCb29WARNING: tmp/tests/gitlab-shell/.gitlab_shell_secret: chmod tmp/tests/gitlab-shell/.gitlab_shell_secret: no such file or directory (suppressing repeats) 31Bundler version 1.17.232$ date33Wed Feb 27 08:23:44 UTC 201934$ source scripts/utils.sh35$ date36Wed Feb 27 08:23:44 UTC 201937$ source scripts/prepare_build.sh38Warning: 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`.39The Gemfile's dependencies are satisfied40Successfully installed knapsack-1.17.1411 gem installed42CREATE ROLE43GRANT44Dropped database 'gitlabhq_test'45Created database 'gitlabhq_test'46-- enable_extension("plpgsql")47 -> 0.0174s48-- enable_extension("pg_trgm")49 -> 0.0341s50-- create_table("abuse_reports", {:force=>:cascade})51 -> 3.1957s52-- create_table("appearances", {:force=>:cascade})53 -> 2.8757s54-- create_table("application_setting_terms", {:force=>:cascade})55 -> 2.7132s56-- create_table("application_settings", {:force=>:cascade})57 -> 32.5047s58-- create_table("audit_events", {:force=>:cascade})59 -> 0.0340s60-- create_table("award_emoji", {:force=>:cascade})61 -> 0.0464s62-- create_table("badges", {:force=>:cascade})63 -> 0.0456s64-- create_table("board_group_recent_visits", {:id=>:bigserial, :force=>:cascade})65 -> 0.0589s66-- create_table("board_project_recent_visits", {:id=>:bigserial, :force=>:cascade})67 -> 0.0600s68-- create_table("boards", {:force=>:cascade})69 -> 0.0360s70-- create_table("broadcast_messages", {:force=>:cascade})71 -> 0.0337s72-- create_table("chat_names", {:force=>:cascade})73 -> 0.0470s74-- create_table("chat_teams", {:force=>:cascade})75 -> 0.0340s76-- create_table("ci_build_trace_chunks", {:id=>:bigserial, :force=>:cascade})77 -> 0.0340s78-- create_table("ci_build_trace_section_names", {:force=>:cascade})79 -> 0.0333s80-- create_table("ci_build_trace_sections", {:force=>:cascade})81 -> 0.0477s82-- create_table("ci_builds", {:force=>:cascade})83 -> 0.2493s84-- create_table("ci_builds_metadata", {:force=>:cascade})85 -> 0.0469s86-- create_table("ci_builds_runner_session", {:id=>:bigserial, :force=>:cascade})87 -> 0.0351s88-- create_table("ci_group_variables", {:force=>:cascade})89 -> 0.0348s90-- create_table("ci_job_artifacts", {:force=>:cascade})91 -> 0.0701s92-- create_table("ci_pipeline_chat_data", {:id=>:bigserial, :force=>:cascade})93 -> 0.0456s94-- create_table("ci_pipeline_schedule_variables", {:force=>:cascade})95 -> 0.0338s96-- create_table("ci_pipeline_schedules", {:force=>:cascade})97 -> 0.0569s98-- create_table("ci_pipeline_variables", {:force=>:cascade})99 -> 0.0334s100-- create_table("ci_pipelines", {:force=>:cascade})101 -> 0.1651s102-- create_table("ci_runner_namespaces", {:force=>:cascade})103 -> 0.0356s104-- create_table("ci_runner_projects", {:force=>:cascade})105 -> 0.0354s106-- create_table("ci_runners", {:force=>:cascade})107 -> 0.0824s108-- create_table("ci_stages", {:force=>:cascade})109 -> 0.0694s110-- create_table("ci_trigger_requests", {:force=>:cascade})111 -> 0.0454s112-- create_table("ci_triggers", {:force=>:cascade})113 -> 0.0454s114-- create_table("ci_variables", {:force=>:cascade})115 -> 0.0343s116-- create_table("cluster_groups", {:force=>:cascade})117 -> 0.0360s118-- create_table("cluster_platforms_kubernetes", {:force=>:cascade})119 -> 0.0339s120-- create_table("cluster_projects", {:force=>:cascade})121 -> 0.0360s122-- create_table("cluster_providers_gcp", {:force=>:cascade})123 -> 0.0343s124-- create_table("clusters", {:force=>:cascade})125 -> 0.0384s126-- create_table("clusters_applications_cert_managers", {:force=>:cascade})127 -> 0.0336s128-- create_table("clusters_applications_helm", {:force=>:cascade})129 -> 0.0333s130-- create_table("clusters_applications_ingress", {:force=>:cascade})131 -> 0.0333s132-- create_table("clusters_applications_jupyter", {:force=>:cascade})133 -> 0.0454s134-- create_table("clusters_applications_knative", {:force=>:cascade})135 -> 0.0335s136-- create_table("clusters_applications_prometheus", {:force=>:cascade})137 -> 0.0333s138-- create_table("clusters_applications_runners", {:force=>:cascade})139 -> 0.0455s140-- create_table("clusters_kubernetes_namespaces", {:id=>:bigserial, :force=>:cascade})141 -> 0.0689s142-- create_table("container_repositories", {:force=>:cascade})143 -> 0.0454s144-- create_table("conversational_development_index_metrics", {:force=>:cascade})145 -> 0.0173s146-- create_table("deploy_keys_projects", {:force=>:cascade})147 -> 0.0248s148-- create_table("deploy_tokens", {:force=>:cascade})149 -> 0.0465s150-- create_table("deployments", {:force=>:cascade})151 -> 0.1273s152-- create_table("emails", {:force=>:cascade})153 -> 0.0566s154-- create_table("environments", {:force=>:cascade})155 -> 0.0455s156-- create_table("events", {:force=>:cascade})157 -> 0.0804s158-- create_table("feature_gates", {:force=>:cascade})159 -> 0.0334s160-- create_table("features", {:force=>:cascade})161 -> 0.0330s162-- create_table("fork_network_members", {:force=>:cascade})163 -> 0.0469s164-- create_table("fork_networks", {:force=>:cascade})165 -> 0.0328s166-- create_table("forked_project_links", {:force=>:cascade})167 -> 0.0241s168-- create_table("gpg_key_subkeys", {:force=>:cascade})169 -> 0.0570s170-- create_table("gpg_keys", {:force=>:cascade})171 -> 0.0565s172-- create_table("gpg_signatures", {:force=>:cascade})173 -> 0.0803s174-- create_table("group_custom_attributes", {:force=>:cascade})175 -> 0.0453s176-- create_table("identities", {:force=>:cascade})177 -> 0.0332s178-- create_table("import_export_uploads", {:force=>:cascade})179 -> 0.0447s180-- create_table("internal_ids", {:id=>:bigserial, :force=>:cascade})181 -> 0.0588s182-- create_table("issue_assignees", {:id=>false, :force=>:cascade})183 -> 0.0291s184-- create_table("issue_metrics", {:force=>:cascade})185 -> 0.0259s186-- create_table("issues", {:force=>:cascade})187 -> 0.1947s188-- create_table("keys", {:force=>:cascade})189 -> 0.0482s190-- create_table("label_links", {:force=>:cascade})191 -> 0.0474s192-- create_table("label_priorities", {:force=>:cascade})193 -> 0.0513s194-- create_table("labels", {:force=>:cascade})195 -> 0.0858s196-- create_table("lfs_file_locks", {:force=>:cascade})197 -> 0.0483s198-- create_table("lfs_objects", {:force=>:cascade})199 -> 0.0479s200-- create_table("lfs_objects_projects", {:force=>:cascade})201 -> 0.0281s202-- create_table("lists", {:force=>:cascade})203 -> 0.0523s204-- create_table("members", {:force=>:cascade})205 -> 0.0849s206-- create_table("merge_request_diff_commits", {:id=>false, :force=>:cascade})207 -> 0.0386s208-- create_table("merge_request_diff_files", {:id=>false, :force=>:cascade})209 -> 0.0258s210-- create_table("merge_request_diffs", {:force=>:cascade})211 -> 0.0360s212-- create_table("merge_request_metrics", {:force=>:cascade})213 -> 0.0799s214-- create_table("merge_requests", {:force=>:cascade})215 -> 0.2499s216-- create_table("merge_requests_closing_issues", {:force=>:cascade})217 -> 0.0388s218-- create_table("milestones", {:force=>:cascade})219 -> 0.0816s220-- create_table("namespaces", {:force=>:cascade})221 -> 0.1344s222-- create_table("note_diff_files", {:force=>:cascade})223 -> 0.0354s224-- create_table("notes", {:force=>:cascade})225 -> 0.1299s226-- create_table("notification_settings", {:force=>:cascade})227 -> 0.0617s228-- create_table("oauth_access_grants", {:force=>:cascade})229 -> 0.0351s230-- create_table("oauth_access_tokens", {:force=>:cascade})231 -> 0.0610s232-- create_table("oauth_applications", {:force=>:cascade})233 -> 0.0490s234-- create_table("oauth_openid_requests", {:force=>:cascade})235 -> 0.0353s236-- create_table("pages_domains", {:force=>:cascade})237 -> 0.0871s238-- create_table("personal_access_tokens", {:force=>:cascade})239 -> 0.0499s240-- create_table("pool_repositories", {:id=>:bigserial, :force=>:cascade})241 -> 0.0608s242-- create_table("programming_languages", {:force=>:cascade})243 -> 0.0365s244-- create_table("project_authorizations", {:id=>false, :force=>:cascade})245 -> 0.0279s246-- create_table("project_auto_devops", {:force=>:cascade})247 -> 0.0358s248-- create_table("project_ci_cd_settings", {:force=>:cascade})249 -> 0.0266s250-- create_table("project_custom_attributes", {:force=>:cascade})251 -> 0.0488s252-- create_table("project_deploy_tokens", {:force=>:cascade})253 -> 0.0390s254-- create_table("project_error_tracking_settings", {:primary_key=>"project_id", :id=>:integer, :force=>:cascade})255 -> 0.0221s256-- create_table("project_features", {:force=>:cascade})257 -> 0.0272s258-- create_table("project_group_links", {:force=>:cascade})259 -> 0.0387s260-- create_table("project_import_data", {:force=>:cascade})261 -> 0.0345s262-- create_table("project_mirror_data", {:force=>:cascade})263 -> 0.0609s264-- create_table("project_repositories", {:id=>:bigserial, :force=>:cascade})265 -> 0.0591s266-- create_table("project_statistics", {:force=>:cascade})267 -> 0.0401s268-- create_table("projects", {:force=>:cascade})269 -> 0.2509s270-- create_table("prometheus_metrics", {:force=>:cascade})271 -> 0.0819s272-- create_table("protected_branch_merge_access_levels", {:force=>:cascade})273 -> 0.0269s274-- create_table("protected_branch_push_access_levels", {:force=>:cascade})275 -> 0.0265s276-- create_table("protected_branches", {:force=>:cascade})277 -> 0.0351s278-- create_table("protected_tag_create_access_levels", {:force=>:cascade})279 -> 0.0507s280-- create_table("protected_tags", {:force=>:cascade})281 -> 0.0480s282-- create_table("push_event_payloads", {:id=>false, :force=>:cascade})283 -> 0.0263s284-- create_table("redirect_routes", {:force=>:cascade})285 -> 0.0492s286-- create_table("release_links", {:id=>:bigserial, :force=>:cascade})287 -> 0.0484s288-- create_table("releases", {:force=>:cascade})289 -> 0.0589s290-- create_table("remote_mirrors", {:force=>:cascade})291 -> 0.0462s292-- create_table("repository_languages", {:id=>false, :force=>:cascade})293 -> 0.0135s294-- create_table("resource_label_events", {:id=>:bigserial, :force=>:cascade})295 -> 0.0612s296-- create_table("routes", {:force=>:cascade})297 -> 0.0567s298-- create_table("sent_notifications", {:force=>:cascade})299 -> 0.0343s300-- create_table("services", {:force=>:cascade})301 -> 0.0618s302-- create_table("shards", {:force=>:cascade})303 -> 0.0337s304-- create_table("snippets", {:force=>:cascade})305 -> 0.0743s306-- create_table("spam_logs", {:force=>:cascade})307 -> 0.0223s308-- create_table("subscriptions", {:force=>:cascade})309 -> 0.0446s310-- create_table("suggestions", {:id=>:bigserial, :force=>:cascade})311 -> 0.0335s312-- create_table("system_note_metadata", {:force=>:cascade})313 -> 0.0333s314-- create_table("taggings", {:force=>:cascade})315 -> 0.0684s316-- create_table("tags", {:force=>:cascade})317 -> 0.0348s318-- create_table("term_agreements", {:force=>:cascade})319 -> 0.0487s320-- create_table("timelogs", {:force=>:cascade})321 -> 0.0472s322-- create_table("todos", {:force=>:cascade})323 -> 0.1279s324-- create_table("trending_projects", {:force=>:cascade})325 -> 0.0239s326-- create_table("u2f_registrations", {:force=>:cascade})327 -> 0.0455s328-- create_table("uploads", {:force=>:cascade})329 -> 0.0707s330-- create_table("user_agent_details", {:force=>:cascade})331 -> 0.0334s332-- create_table("user_callouts", {:force=>:cascade})333 -> 0.0354s334-- create_table("user_custom_attributes", {:force=>:cascade})335 -> 0.0449s336-- create_table("user_interacted_projects", {:id=>false, :force=>:cascade})337 -> 0.0257s338-- create_table("user_preferences", {:force=>:cascade})339 -> 0.0346s340-- create_table("user_statuses", {:primary_key=>"user_id", :force=>:cascade})341 -> 0.0335s342-- create_table("user_synced_attributes_metadata", {:force=>:cascade})343 -> 0.0344s344-- create_table("users", {:force=>:cascade})345 -> 0.1806s346-- create_table("users_star_projects", {:force=>:cascade})347 -> 0.0357s348-- create_table("web_hook_logs", {:force=>:cascade})349 -> 0.0450s350-- create_table("web_hooks", {:force=>:cascade})351 -> 0.0484s352-- add_foreign_key("application_settings", "users", {:column=>"usage_stats_set_by_user_id", :name=>"fk_964370041d", :on_delete=>:nullify})353 -> 0.0040s354-- add_foreign_key("badges", "namespaces", {:column=>"group_id", :on_delete=>:cascade})355 -> 0.0024s356-- add_foreign_key("badges", "projects", {:on_delete=>:cascade})357 -> 0.0027s358-- add_foreign_key("board_group_recent_visits", "boards", {:on_delete=>:cascade})359 -> 0.0019s360-- add_foreign_key("board_group_recent_visits", "namespaces", {:column=>"group_id", :on_delete=>:cascade})361 -> 0.0024s362-- add_foreign_key("board_group_recent_visits", "users", {:on_delete=>:cascade})363 -> 0.0018s364-- add_foreign_key("board_project_recent_visits", "boards", {:on_delete=>:cascade})365 -> 0.0017s366-- add_foreign_key("board_project_recent_visits", "projects", {:on_delete=>:cascade})367 -> 0.0017s368-- add_foreign_key("board_project_recent_visits", "users", {:on_delete=>:cascade})369 -> 0.0018s370-- add_foreign_key("boards", "namespaces", {:column=>"group_id", :on_delete=>:cascade})371 -> 0.0016s372-- add_foreign_key("boards", "projects", {:name=>"fk_f15266b5f9", :on_delete=>:cascade})373 -> 0.0018s374-- add_foreign_key("chat_teams", "namespaces", {:on_delete=>:cascade})375 -> 0.0017s376-- add_foreign_key("ci_build_trace_chunks", "ci_builds", {:column=>"build_id", :on_delete=>:cascade})377 -> 0.0025s378-- add_foreign_key("ci_build_trace_section_names", "projects", {:on_delete=>:cascade})379 -> 0.0021s380-- add_foreign_key("ci_build_trace_sections", "ci_build_trace_section_names", {:column=>"section_name_id", :name=>"fk_264e112c66", :on_delete=>:cascade})381 -> 0.0018s382-- add_foreign_key("ci_build_trace_sections", "ci_builds", {:column=>"build_id", :name=>"fk_4ebe41f502", :on_delete=>:cascade})383 -> 0.0018s384-- add_foreign_key("ci_build_trace_sections", "projects", {:on_delete=>:cascade})385 -> 0.0019s386-- add_foreign_key("ci_builds", "ci_pipelines", {:column=>"auto_canceled_by_id", :name=>"fk_a2141b1522", :on_delete=>:nullify})387 -> 0.0023s388-- add_foreign_key("ci_builds", "ci_pipelines", {:column=>"commit_id", :name=>"fk_d3130c9a7f", :on_delete=>:cascade})389 -> 0.0019s390-- add_foreign_key("ci_builds", "ci_stages", {:column=>"stage_id", :name=>"fk_3a9eaa254d", :on_delete=>:cascade})391 -> 0.0019s392-- add_foreign_key("ci_builds", "projects", {:name=>"fk_befce0568a", :on_delete=>:cascade})393 -> 0.0020s394-- add_foreign_key("ci_builds_metadata", "ci_builds", {:column=>"build_id", :on_delete=>:cascade})395 -> 0.0019s396-- add_foreign_key("ci_builds_metadata", "projects", {:on_delete=>:cascade})397 -> 0.0019s398-- add_foreign_key("ci_builds_runner_session", "ci_builds", {:column=>"build_id", :on_delete=>:cascade})399 -> 0.0020s400-- add_foreign_key("ci_group_variables", "namespaces", {:column=>"group_id", :name=>"fk_33ae4d58d8", :on_delete=>:cascade})401 -> 0.0018s402-- add_foreign_key("ci_job_artifacts", "ci_builds", {:column=>"job_id", :on_delete=>:cascade})403 -> 0.0020s404-- add_foreign_key("ci_job_artifacts", "projects", {:on_delete=>:cascade})405 -> 0.0021s406-- add_foreign_key("ci_pipeline_chat_data", "chat_names", {:on_delete=>:cascade})407 -> 0.0020s408-- add_foreign_key("ci_pipeline_chat_data", "ci_pipelines", {:column=>"pipeline_id", :on_delete=>:cascade})409 -> 0.0017s410-- add_foreign_key("ci_pipeline_schedule_variables", "ci_pipeline_schedules", {:column=>"pipeline_schedule_id", :name=>"fk_41c35fda51", :on_delete=>:cascade})411 -> 0.0020s412-- add_foreign_key("ci_pipeline_schedules", "projects", {:name=>"fk_8ead60fcc4", :on_delete=>:cascade})413 -> 0.0018s414-- add_foreign_key("ci_pipeline_schedules", "users", {:column=>"owner_id", :name=>"fk_9ea99f58d2", :on_delete=>:nullify})415 -> 0.0020s416-- add_foreign_key("ci_pipeline_variables", "ci_pipelines", {:column=>"pipeline_id", :name=>"fk_f29c5f4380", :on_delete=>:cascade})417 -> 0.0017s418-- add_foreign_key("ci_pipelines", "ci_pipeline_schedules", {:column=>"pipeline_schedule_id", :name=>"fk_3d34ab2e06", :on_delete=>:nullify})419 -> 0.0017s420-- add_foreign_key("ci_pipelines", "ci_pipelines", {:column=>"auto_canceled_by_id", :name=>"fk_262d4c2d19", :on_delete=>:nullify})421 -> 0.0018s422-- add_foreign_key("ci_pipelines", "merge_requests", {:name=>"fk_a23be95014", :on_delete=>:cascade})423 -> 0.0028s424-- add_foreign_key("ci_pipelines", "projects", {:name=>"fk_86635dbd80", :on_delete=>:cascade})425 -> 0.0020s426-- add_foreign_key("ci_runner_namespaces", "ci_runners", {:column=>"runner_id", :on_delete=>:cascade})427 -> 0.0020s428-- add_foreign_key("ci_runner_namespaces", "namespaces", {:on_delete=>:cascade})429 -> 0.0017s430-- add_foreign_key("ci_runner_projects", "projects", {:name=>"fk_4478a6f1e4", :on_delete=>:cascade})431 -> 0.0021s432-- add_foreign_key("ci_stages", "ci_pipelines", {:column=>"pipeline_id", :name=>"fk_fb57e6cc56", :on_delete=>:cascade})433 -> 0.0018s434-- add_foreign_key("ci_stages", "projects", {:name=>"fk_2360681d1d", :on_delete=>:cascade})435 -> 0.0019s436-- add_foreign_key("ci_trigger_requests", "ci_triggers", {:column=>"trigger_id", :name=>"fk_b8ec8b7245", :on_delete=>:cascade})437 -> 0.0018s438-- add_foreign_key("ci_triggers", "projects", {:name=>"fk_e3e63f966e", :on_delete=>:cascade})439 -> 0.0019s440-- add_foreign_key("ci_triggers", "users", {:column=>"owner_id", :name=>"fk_e8e10d1964", :on_delete=>:cascade})441 -> 0.0020s442-- add_foreign_key("ci_variables", "projects", {:name=>"fk_ada5eb64b3", :on_delete=>:cascade})443 -> 0.0021s444-- add_foreign_key("cluster_groups", "clusters", {:on_delete=>:cascade})445 -> 0.0019s446-- add_foreign_key("cluster_groups", "namespaces", {:column=>"group_id", :on_delete=>:cascade})447 -> 0.0016s448-- add_foreign_key("cluster_platforms_kubernetes", "clusters", {:on_delete=>:cascade})449 -> 0.0018s450-- add_foreign_key("cluster_projects", "clusters", {:on_delete=>:cascade})451 -> 0.0020s452-- add_foreign_key("cluster_projects", "projects", {:on_delete=>:cascade})453 -> 0.0019s454-- add_foreign_key("cluster_providers_gcp", "clusters", {:on_delete=>:cascade})455 -> 0.0017s456-- add_foreign_key("clusters", "users", {:on_delete=>:nullify})457 -> 0.0020s458-- add_foreign_key("clusters_applications_cert_managers", "clusters", {:on_delete=>:cascade})459 -> 0.0017s460-- add_foreign_key("clusters_applications_helm", "clusters", {:on_delete=>:cascade})461 -> 0.0018s462-- add_foreign_key("clusters_applications_ingress", "clusters", {:name=>"fk_753a7b41c1", :on_delete=>:cascade})463 -> 0.0026s464-- add_foreign_key("clusters_applications_jupyter", "clusters", {:on_delete=>:cascade})465 -> 0.0019s466-- add_foreign_key("clusters_applications_jupyter", "oauth_applications", {:on_delete=>:nullify})467 -> 0.0019s468-- add_foreign_key("clusters_applications_knative", "clusters", {:on_delete=>:cascade})469 -> 0.0018s470-- add_foreign_key("clusters_applications_prometheus", "clusters", {:name=>"fk_557e773639", :on_delete=>:cascade})471 -> 0.0016s472-- add_foreign_key("clusters_applications_runners", "ci_runners", {:column=>"runner_id", :name=>"fk_02de2ded36", :on_delete=>:nullify})473 -> 0.0018s474-- add_foreign_key("clusters_applications_runners", "clusters", {:on_delete=>:cascade})475 -> 0.0016s476-- add_foreign_key("clusters_kubernetes_namespaces", "cluster_projects", {:on_delete=>:nullify})477 -> 0.0019s478-- add_foreign_key("clusters_kubernetes_namespaces", "clusters", {:on_delete=>:cascade})479 -> 0.0016s480-- add_foreign_key("clusters_kubernetes_namespaces", "projects", {:on_delete=>:nullify})481 -> 0.0019s482-- add_foreign_key("container_repositories", "projects")483 -> 0.0020s484-- add_foreign_key("deploy_keys_projects", "projects", {:name=>"fk_58a901ca7e", :on_delete=>:cascade})485 -> 0.0020s486-- add_foreign_key("deployments", "projects", {:name=>"fk_b9a3851b82", :on_delete=>:cascade})487 -> 0.0026s488-- add_foreign_key("environments", "projects", {:name=>"fk_d1c8c1da6a", :on_delete=>:cascade})489 -> 0.0021s490-- add_foreign_key("events", "projects", {:on_delete=>:cascade})491 -> 0.0020s492-- add_foreign_key("events", "users", {:column=>"author_id", :name=>"fk_edfd187b6f", :on_delete=>:cascade})493 -> 0.0019s494-- add_foreign_key("fork_network_members", "fork_networks", {:on_delete=>:cascade})495 -> 0.0017s496-- add_foreign_key("fork_network_members", "projects", {:column=>"forked_from_project_id", :name=>"fk_b01280dae4", :on_delete=>:nullify})497 -> 0.0016s498-- add_foreign_key("fork_network_members", "projects", {:on_delete=>:cascade})499 -> 0.0018s500-- add_foreign_key("fork_networks", "projects", {:column=>"root_project_id", :name=>"fk_e7b436b2b5", :on_delete=>:nullify})501 -> 0.0016s502-- add_foreign_key("forked_project_links", "projects", {:column=>"forked_to_project_id", :name=>"fk_434510edb0", :on_delete=>:cascade})503 -> 0.0017s504-- add_foreign_key("gpg_key_subkeys", "gpg_keys", {:on_delete=>:cascade})505 -> 0.0017s506-- add_foreign_key("gpg_keys", "users", {:on_delete=>:cascade})507 -> 0.0018s508-- add_foreign_key("gpg_signatures", "gpg_key_subkeys", {:on_delete=>:nullify})509 -> 0.0018s510-- add_foreign_key("gpg_signatures", "gpg_keys", {:on_delete=>:nullify})511 -> 0.0016s512-- add_foreign_key("gpg_signatures", "projects", {:on_delete=>:cascade})513 -> 0.0020s514-- add_foreign_key("group_custom_attributes", "namespaces", {:column=>"group_id", :on_delete=>:cascade})515 -> 0.0019s516-- add_foreign_key("import_export_uploads", "projects", {:on_delete=>:cascade})517 -> 0.0019s518-- add_foreign_key("internal_ids", "namespaces", {:name=>"fk_162941d509", :on_delete=>:cascade})519 -> 0.0018s520-- add_foreign_key("internal_ids", "projects", {:on_delete=>:cascade})521 -> 0.0018s522-- add_foreign_key("issue_assignees", "issues", {:name=>"fk_b7d881734a", :on_delete=>:cascade})523 -> 0.0021s524-- add_foreign_key("issue_assignees", "users", {:name=>"fk_5e0c8d9154", :on_delete=>:cascade})525 -> 0.0018s526-- add_foreign_key("issue_metrics", "issues", {:on_delete=>:cascade})527 -> 0.0018s528-- add_foreign_key("issues", "issues", {:column=>"moved_to_id", :name=>"fk_a194299be1", :on_delete=>:nullify})529 -> 0.0016s530-- add_foreign_key("issues", "milestones", {:name=>"fk_96b1dd429c", :on_delete=>:nullify})531 -> 0.0021s532-- add_foreign_key("issues", "projects", {:name=>"fk_899c8f3231", :on_delete=>:cascade})533 -> 0.0020s534-- add_foreign_key("issues", "users", {:column=>"author_id", :name=>"fk_05f1e72feb", :on_delete=>:nullify})535 -> 0.0019s536-- add_foreign_key("issues", "users", {:column=>"closed_by_id", :name=>"fk_c63cbf6c25", :on_delete=>:nullify})537 -> 0.0019s538-- add_foreign_key("issues", "users", {:column=>"updated_by_id", :name=>"fk_ffed080f01", :on_delete=>:nullify})539 -> 0.0019s540-- add_foreign_key("label_links", "labels", {:name=>"fk_d97dd08678", :on_delete=>:cascade})541 -> 0.0021s542-- add_foreign_key("label_priorities", "labels", {:on_delete=>:cascade})543 -> 0.0017s544-- add_foreign_key("label_priorities", "projects", {:on_delete=>:cascade})545 -> 0.0018s546-- add_foreign_key("labels", "namespaces", {:column=>"group_id", :on_delete=>:cascade})547 -> 0.0017s548-- add_foreign_key("labels", "projects", {:name=>"fk_7de4989a69", :on_delete=>:cascade})549 -> 0.0018s550-- add_foreign_key("lfs_file_locks", "projects", {:on_delete=>:cascade})551 -> 0.0020s552-- add_foreign_key("lfs_file_locks", "users", {:on_delete=>:cascade})553 -> 0.0018s554-- add_foreign_key("lists", "boards", {:name=>"fk_0d3f677137", :on_delete=>:cascade})555 -> 0.0020s556-- add_foreign_key("lists", "labels", {:name=>"fk_7a5553d60f", :on_delete=>:cascade})557 -> 0.0019s558-- add_foreign_key("members", "users", {:name=>"fk_2e88fb7ce9", :on_delete=>:cascade})559 -> 0.0022s560-- add_foreign_key("merge_request_diff_commits", "merge_request_diffs", {:on_delete=>:cascade})561 -> 0.0019s562-- add_foreign_key("merge_request_diff_files", "merge_request_diffs", {:on_delete=>:cascade})563 -> 0.0017s564-- add_foreign_key("merge_request_diffs", "merge_requests", {:name=>"fk_8483f3258f", :on_delete=>:cascade})565 -> 0.0018s566-- add_foreign_key("merge_request_metrics", "ci_pipelines", {:column=>"pipeline_id", :on_delete=>:cascade})567 -> 0.0020s568-- add_foreign_key("merge_request_metrics", "merge_requests", {:on_delete=>:cascade})569 -> 0.0025s570-- add_foreign_key("merge_request_metrics", "users", {:column=>"latest_closed_by_id", :name=>"fk_ae440388cc", :on_delete=>:nullify})571 -> 0.0018s572-- add_foreign_key("merge_request_metrics", "users", {:column=>"merged_by_id", :name=>"fk_7f28d925f3", :on_delete=>:nullify})573 -> 0.0017s574-- add_foreign_key("merge_requests", "ci_pipelines", {:column=>"head_pipeline_id", :name=>"fk_fd82eae0b9", :on_delete=>:nullify})575 -> 0.0019s576-- add_foreign_key("merge_requests", "merge_request_diffs", {:column=>"latest_merge_request_diff_id", :name=>"fk_06067f5644", :on_delete=>:nullify})577 -> 0.0016s578-- add_foreign_key("merge_requests", "milestones", {:name=>"fk_6a5165a692", :on_delete=>:nullify})579 -> 0.0018s580-- add_foreign_key("merge_requests", "projects", {:column=>"source_project_id", :name=>"fk_3308fe130c", :on_delete=>:nullify})581 -> 0.0021s582-- add_foreign_key("merge_requests", "projects", {:column=>"target_project_id", :name=>"fk_a6963e8447", :on_delete=>:cascade})583 -> 0.0020s584-- add_foreign_key("merge_requests", "users", {:column=>"assignee_id", :name=>"fk_6149611a04", :on_delete=>:nullify})585 -> 0.0019s586-- add_foreign_key("merge_requests", "users", {:column=>"author_id", :name=>"fk_e719a85f8a", :on_delete=>:nullify})587 -> 0.0020s588-- add_foreign_key("merge_requests", "users", {:column=>"merge_user_id", :name=>"fk_ad525e1f87", :on_delete=>:nullify})589 -> 0.0020s590-- add_foreign_key("merge_requests", "users", {:column=>"updated_by_id", :name=>"fk_641731faff", :on_delete=>:nullify})591 -> 0.0021s592-- add_foreign_key("merge_requests_closing_issues", "issues", {:on_delete=>:cascade})593 -> 0.0018s594-- add_foreign_key("merge_requests_closing_issues", "merge_requests", {:on_delete=>:cascade})595 -> 0.0017s596-- add_foreign_key("milestones", "namespaces", {:column=>"group_id", :name=>"fk_95650a40d4", :on_delete=>:cascade})597 -> 0.0017s598-- add_foreign_key("milestones", "projects", {:name=>"fk_9bd0a0c791", :on_delete=>:cascade})599 -> 0.0019s600-- add_foreign_key("note_diff_files", "notes", {:column=>"diff_note_id", :on_delete=>:cascade})601 -> 0.0020s602-- add_foreign_key("notes", "projects", {:name=>"fk_99e097b079", :on_delete=>:cascade})603 -> 0.0020s604-- add_foreign_key("notification_settings", "users", {:name=>"fk_0c95e91db7", :on_delete=>:cascade})605 -> 0.0022s606-- add_foreign_key("oauth_openid_requests", "oauth_access_grants", {:column=>"access_grant_id", :name=>"fk_oauth_openid_requests_oauth_access_grants_access_grant_id"})607 -> 0.0019s608-- add_foreign_key("pages_domains", "projects", {:name=>"fk_ea2f6dfc6f", :on_delete=>:cascade})609 -> 0.0023s610-- add_foreign_key("personal_access_tokens", "users")611 -> 0.0020s612-- add_foreign_key("pool_repositories", "projects", {:column=>"source_project_id", :on_delete=>:nullify})613 -> 0.0021s614-- add_foreign_key("pool_repositories", "shards", {:on_delete=>:restrict})615 -> 0.0018s616-- add_foreign_key("project_authorizations", "projects", {:on_delete=>:cascade})617 -> 0.0019s618-- add_foreign_key("project_authorizations", "users", {:on_delete=>:cascade})619 -> 0.0019s620-- add_foreign_key("project_auto_devops", "projects", {:on_delete=>:cascade})621 -> 0.0019s622-- add_foreign_key("project_ci_cd_settings", "projects", {:name=>"fk_24c15d2f2e", :on_delete=>:cascade})623 -> 0.0019s624-- add_foreign_key("project_custom_attributes", "projects", {:on_delete=>:cascade})625 -> 0.0019s626-- add_foreign_key("project_deploy_tokens", "deploy_tokens", {:on_delete=>:cascade})627 -> 0.0020s628-- add_foreign_key("project_deploy_tokens", "projects", {:on_delete=>:cascade})629 -> 0.0020s630-- add_foreign_key("project_error_tracking_settings", "projects", {:on_delete=>:cascade})631 -> 0.0018s632-- add_foreign_key("project_features", "projects", {:name=>"fk_18513d9b92", :on_delete=>:cascade})633 -> 0.0019s634-- add_foreign_key("project_group_links", "projects", {:name=>"fk_daa8cee94c", :on_delete=>:cascade})635 -> 0.0019s636-- add_foreign_key("project_import_data", "projects", {:name=>"fk_ffb9ee3a10", :on_delete=>:cascade})637 -> 0.0019s638-- add_foreign_key("project_mirror_data", "projects", {:on_delete=>:cascade})639 -> 0.0021s640-- add_foreign_key("project_repositories", "projects", {:on_delete=>:cascade})641 -> 0.0019s642-- add_foreign_key("project_repositories", "shards", {:on_delete=>:restrict})643 -> 0.0016s644-- add_foreign_key("project_statistics", "projects", {:on_delete=>:cascade})645 -> 0.0020s646-- add_foreign_key("projects", "pool_repositories", {:name=>"fk_6e5c14658a", :on_delete=>:nullify})647 -> 0.0019s648-- add_foreign_key("prometheus_metrics", "projects", {:on_delete=>:cascade})649 -> 0.0021s650-- add_foreign_key("protected_branch_merge_access_levels", "protected_branches", {:name=>"fk_8a3072ccb3", :on_delete=>:cascade})651 -> 0.0017s652-- add_foreign_key("protected_branch_push_access_levels", "protected_branches", {:name=>"fk_9ffc86a3d9", :on_delete=>:cascade})653 -> 0.0017s654-- add_foreign_key("protected_branches", "projects", {:name=>"fk_7a9c6d93e7", :on_delete=>:cascade})655 -> 0.0019s656-- add_foreign_key("protected_tag_create_access_levels", "namespaces", {:column=>"group_id"})657 -> 0.0020s658-- add_foreign_key("protected_tag_create_access_levels", "protected_tags", {:name=>"fk_f7dfda8c51", :on_delete=>:cascade})659 -> 0.0017s660-- add_foreign_key("protected_tag_create_access_levels", "users")661 -> 0.0019s662-- add_foreign_key("protected_tags", "projects", {:name=>"fk_8e4af87648", :on_delete=>:cascade})663 -> 0.0018s664-- add_foreign_key("push_event_payloads", "events", {:name=>"fk_36c74129da", :on_delete=>:cascade})665 -> 0.0019s666-- add_foreign_key("release_links", "releases", {:on_delete=>:cascade})667 -> 0.0019s668-- add_foreign_key("releases", "projects", {:name=>"fk_47fe2a0596", :on_delete=>:cascade})669 -> 0.0018s670-- add_foreign_key("releases", "users", {:column=>"author_id", :name=>"fk_8e4456f90f", :on_delete=>:nullify})671 -> 0.0019s672-- add_foreign_key("remote_mirrors", "projects", {:on_delete=>:cascade})673 -> 0.0021s674-- add_foreign_key("repository_languages", "projects", {:on_delete=>:cascade})675 -> 0.0019s676-- add_foreign_key("resource_label_events", "issues", {:on_delete=>:cascade})677 -> 0.0020s678-- add_foreign_key("resource_label_events", "labels", {:on_delete=>:nullify})679 -> 0.0018s680-- add_foreign_key("resource_label_events", "merge_requests", {:on_delete=>:cascade})681 -> 0.0020s682-- add_foreign_key("resource_label_events", "users", {:on_delete=>:nullify})683 -> 0.0019s684-- add_foreign_key("services", "projects", {:name=>"fk_71cce407f9", :on_delete=>:cascade})685 -> 0.0021s686-- add_foreign_key("snippets", "projects", {:name=>"fk_be41fd4bb7", :on_delete=>:cascade})687 -> 0.0021s688-- add_foreign_key("subscriptions", "projects", {:on_delete=>:cascade})689 -> 0.0020s690-- add_foreign_key("suggestions", "notes", {:on_delete=>:cascade})691 -> 0.0019s692-- add_foreign_key("system_note_metadata", "notes", {:name=>"fk_d83a918cb1", :on_delete=>:cascade})693 -> 0.0018s694-- add_foreign_key("term_agreements", "application_setting_terms", {:column=>"term_id"})695 -> 0.0020s696-- add_foreign_key("term_agreements", "users", {:on_delete=>:cascade})697 -> 0.0019s698-- add_foreign_key("timelogs", "issues", {:name=>"fk_timelogs_issues_issue_id", :on_delete=>:cascade})699 -> 0.0026s700-- add_foreign_key("timelogs", "merge_requests", {:name=>"fk_timelogs_merge_requests_merge_request_id", :on_delete=>:cascade})701 -> 0.0018s702-- add_foreign_key("todos", "namespaces", {:column=>"group_id", :on_delete=>:cascade})703 -> 0.0020s704-- add_foreign_key("todos", "notes", {:name=>"fk_91d1f47b13", :on_delete=>:cascade})705 -> 0.0017s706-- add_foreign_key("todos", "projects", {:name=>"fk_45054f9c45", :on_delete=>:cascade})707 -> 0.0020s708-- add_foreign_key("todos", "users", {:column=>"author_id", :name=>"fk_ccf0373936", :on_delete=>:cascade})709 -> 0.0018s710-- add_foreign_key("todos", "users", {:name=>"fk_d94154aa95", :on_delete=>:cascade})711 -> 0.0020s712-- add_foreign_key("trending_projects", "projects", {:on_delete=>:cascade})713 -> 0.0020s714-- add_foreign_key("u2f_registrations", "users")715 -> 0.0021s716-- add_foreign_key("user_callouts", "users", {:on_delete=>:cascade})717 -> 0.0021s718-- add_foreign_key("user_custom_attributes", "users", {:on_delete=>:cascade})719 -> 0.0020s720-- add_foreign_key("user_interacted_projects", "projects", {:name=>"fk_722ceba4f7", :on_delete=>:cascade})721 -> 0.0020s722-- add_foreign_key("user_interacted_projects", "users", {:name=>"fk_0894651f08", :on_delete=>:cascade})723 -> 0.0020s724-- add_foreign_key("user_preferences", "users", {:on_delete=>:cascade})725 -> 0.0020s726-- add_foreign_key("user_statuses", "users", {:on_delete=>:cascade})727 -> 0.0019s728-- add_foreign_key("user_synced_attributes_metadata", "users", {:on_delete=>:cascade})729 -> 0.0020s730-- add_foreign_key("users", "application_setting_terms", {:column=>"accepted_term_id", :name=>"fk_789cd90b35", :on_delete=>:cascade})731 -> 0.0019s732-- add_foreign_key("users_star_projects", "projects", {:name=>"fk_22cd27ddfc", :on_delete=>:cascade})733 -> 0.0019s734-- add_foreign_key("web_hook_logs", "web_hooks", {:on_delete=>:cascade})735 -> 0.0018s736-- add_foreign_key("web_hooks", "projects", {:name=>"fk_0c8ca6d9d1", :on_delete=>:cascade})737 -> 0.0020s738-- initialize_schema_migrations_table()739 -> 0.0281s740$ date741Wed Feb 27 08:25:13 UTC 2019742$ JOB_NAME=( $CI_JOB_NAME )743$ TEST_TOOL=${JOB_NAME[0]}744$ export KNAPSACK_REPORT_PATH=knapsack/${CI_PROJECT_NAME}/${TEST_TOOL}_node_${CI_NODE_INDEX}_${CI_NODE_TOTAL}_report.json745$ export KNAPSACK_GENERATE_REPORT=true746$ export SUITE_FLAKY_RSPEC_REPORT_PATH=${FLAKY_RSPEC_SUITE_REPORT_PATH}747$ export FLAKY_RSPEC_REPORT_PATH=rspec_flaky/all_${TEST_TOOL}_${CI_NODE_INDEX}_${CI_NODE_TOTAL}_report.json748$ export NEW_FLAKY_RSPEC_REPORT_PATH=rspec_flaky/new_${TEST_TOOL}_${CI_NODE_INDEX}_${CI_NODE_TOTAL}_report.json749$ export FLAKY_RSPEC_GENERATE_REPORT=true750$ export CACHE_CLASSES=true751$ cp ${KNAPSACK_RSPEC_SUITE_REPORT_PATH} ${KNAPSACK_REPORT_PATH}752$ [[ -f $FLAKY_RSPEC_REPORT_PATH ]] || echo "{}" > ${FLAKY_RSPEC_REPORT_PATH}753$ [[ -f $NEW_FLAKY_RSPEC_REPORT_PATH ]] || echo "{}" > ${NEW_FLAKY_RSPEC_REPORT_PATH}754$ scripts/gitaly-test-spawn755Checking gitaly-ruby bundle...756Warning: 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`.757The Gemfile's dependencies are satisfied758Trying to connect to gitaly: .... OK759$ knapsack rspec "--color --format documentation --format RspecJunitFormatter --out junit_rspec.xml"760Knapsack report generator started!761==> Setting up GitLab Shell...762 GitLab Shell set up in 0.144349508 seconds...763==> Setting up Gitaly...764 Gitaly set up in 8.0407e-05 seconds...765NotificationService766 #async767 returns an Async object with the correct parent768 when receiving a public method769 schedules a MailScheduler::NotificationServiceWorker770 when receiving a private method771 raises NoMethodError772 when recieving a non-existent method773 raises NoMethodError774 Keys775 #new_key776 should be truthy777 never emails the ghost user778 should be empty779 GpgKeys780 #new_gpg_key781 should be truthy782 sends email to key owner783 Notes784 issue note785 #new_note786 should eq 0787 emails the note author if they've opted into notifications about their activity788 filters out "mentioned in" notes789 participating790 by note791 should eq 0792 new note on issue in project that belongs to a group793 behaves like new note notifications794 should eq 0795 which is a subgroup796 overrides child objects with global level797 behaves like new note notifications798 should eq 0799 confidential issue note800 filters out users that can not read the issue801 on project that belongs to subgroup802 when user is group guest member803 does not email guest user804 issue note mention805 #new_note806 notifies the team members807 notifies parent group members with mention level808 filters out "mentioned in" notes809 project snippet note810 #new_note811 notifies the team members812 personal snippet note813 #new_note814 notifies the participants815 commit note816 #new_note, #perform_enqueued_jobs817 should eq 0818 should eq 0819 should eq 0820 merge request diff note821 #new_note822 records sent notifications823 Issues824 #new_issue825 should eq 0826 should eq 0827 properly prioritizes notification reason828 adds "assigned" reason for assignees if any829 emails any mentioned users with the mention level830 emails the author if they've opted into notifications about their activity831 doesn't email the author if they haven't opted into notifications about their activity832 emails subscribers of the issue's labels833 confidential issues834 emails subscribers of the issue's labels that can read the issue835 #new_mentions_in_issue836 sends no emails when no new mentions are present837 emails new mentions with a watch level higher than mention838 does not email new mentions with a watch level equal to or less than mention839 emails new mentions despite being unsubscribed840 sends the proper notification reason header841 #reassigned_issue842 emails new assignee843 adds "assigned" reason for new assignee844 emails previous assignee even if he has the "on mention" notif level845 emails new assignee even if he has the "on mention" notif level846 emails new assignee847 does not email new assignee if they are the current user848 behaves like participating notifications849 it should behave like participating by note notification850 emails the participant851 for subgroups852 emails the participant853 it should behave like participating by author notification854 emails the participant855 it should behave like participating by assignee notification856 emails the participant857 #relabeled_issue858 emails the current user if they've opted into notifications about their activity859 doesn't email the current user if they haven't opted into notifications about their activity860 doesn't send email to anyone but subscribers of the given labels861 doesn't send multiple email when a user is subscribed to multiple given labels862 confidential issues863 emails subscribers of the issue's labels that can read the issue864 #removed_milestone_issue865 behaves like altered milestone notification on issue866 sends the email to the correct people867 confidential issues868 emails subscribers of the issue's milestone that can read the issue869 #changed_milestone_issue870 behaves like altered milestone notification on issue871 sends the email to the correct people872 confidential issues873 emails subscribers of the issue's milestone that can read the issue874 #close_issue875 sends email to issue assignee and issue author876 behaves like participating notifications877 it should behave like participating by note notification878 emails the participant879 for subgroups880 emails the participant881 it should behave like participating by author notification882 emails the participant883 it should behave like participating by assignee notification884 emails the participant885 #reopen_issue886 sends email to issue notification recipients887 behaves like participating notifications888 it should behave like participating by note notification889 emails the participant890 for subgroups891 emails the participant892 it should behave like participating by author notification893 emails the participant894 it should behave like participating by assignee notification895 emails the participant896 #issue_moved897 sends email to issue notification recipients898 behaves like participating notifications899 it should behave like participating by note notification900 emails the participant901 for subgroups902 emails the participant903 it should behave like participating by author notification904 emails the participant905 it should behave like participating by assignee notification906 emails the participant907 #issue_due908 sends email to issue notification recipients, excluding watchers909 sends the email from the author910 behaves like participating notifications911 it should behave like participating by note notification912 emails the participant913 for subgroups914 emails the participant915 it should behave like participating by author notification916 emails the participant917 it should behave like participating by assignee notification918 emails the participant919 Merge Requests920 #new_merge_request921 should eq 0922 adds "assigned" reason for assignee, if any923 emails any mentioned users with the mention level924 emails the author if they've opted into notifications about their activity925 doesn't email the author if they haven't opted into notifications about their activity926 emails subscribers of the merge request's labels927 participating928 it should behave like participating by assignee notification929 emails the participant930 it should behave like participating by note notification931 emails the participant932 for subgroups933 emails the participant934 by author935 should eq 0936 #new_mentions_in_merge_request937 sends no emails when no new mentions are present938 emails new mentions with a watch level higher than mention939 does not email new mentions with a watch level equal to or less than mention940 emails new mentions despite being unsubscribed941 sends the proper notification reason header942 #reassigned_merge_request943 should eq 0944 adds "assigned" reason for new assignee945 behaves like participating notifications946 it should behave like participating by note notification947 emails the participant948 for subgroups949 emails the participant950 it should behave like participating by author notification951 emails the participant952 it should behave like participating by assignee notification953 emails the participant954 #push_to_merge_request955 should eq 0956 behaves like participating notifications957 it should behave like participating by note notification958 emails the participant959 for subgroups960 emails the participant961 it should behave like participating by author notification962 emails the participant963 it should behave like participating by assignee notification964 emails the participant965 #relabel_merge_request966 doesn't send email to anyone but subscribers of the given labels967 #removed_milestone_merge_request968 behaves like altered milestone notification on merge request969 sends the email to the correct people970 #changed_milestone_merge_request971 behaves like altered milestone notification on merge request972 sends the email to the correct people973 #merge_request_unmergeable974 sends email to merge request author975 when merge_when_pipeline_succeeds is true976 sends email to merge request author and merge_user977 #closed_merge_request978 should eq 0979 behaves like participating notifications980 it should behave like participating by note notification981 emails the participant982 for subgroups983 emails the participant984 it should behave like participating by author notification985 emails the participant986 it should behave like participating by assignee notification987 emails the participant988 #merged_merge_request989 should eq 0990 notifies the merger when the pipeline succeeds is true991 does not notify the merger when the pipeline succeeds is false992 notifies the merger when the pipeline succeeds is false but they've opted into notifications about their activity993 behaves like participating notifications994 it should behave like participating by note notification995 emails the participant996 for subgroups997 emails the participant998 it should behave like participating by author notification999 emails the participant1000 it should behave like participating by assignee notification1001 emails the participant1002 #reopen_merge_request1003 should eq 01004 behaves like participating notifications1005 it should behave like participating by note notification1006 emails the participant1007 for subgroups1008 emails the participant1009 it should behave like participating by author notification1010 emails the participant1011 it should behave like participating by assignee notification1012 emails the participant1013 #resolve_all_discussions1014 should eq 01015 behaves like participating notifications1016 it should behave like participating by note notification1017 emails the participant1018 for subgroups1019 emails the participant1020 it should behave like participating by author notification1021 emails the participant1022 it should behave like participating by assignee notification1023 emails the participant1024 Projects1025 #project_was_moved1026 should eq 01027 users not having access to the new location1028 does not send email1029 user with notifications disabled1030 #project_exported1031 should be empty1032 #project_not_exported1033 should be empty1034 user with notifications enabled1035 #project_exported1036 should eq 11037 #project_not_exported1038 should eq 11039 GroupMember1040 #new_access_request1041 sends notification to group owners_and_maintainers1042 #decline_group_invite1043 should change `ActionMailer::Base.deliveries.size` by 11044 #new_group_member1045 sends a notification1046 when notifications are disabled1047 does not send a notification1048 ProjectMember1049 #new_access_request1050 for a project in a user namespace1051 sends notification to project owners_and_maintainers1052 for a project in a group1053 sends notification to group owners_and_maintainers1054 #decline_group_invite1055 should change `ActionMailer::Base.deliveries.size` by 11056 #new_project_member1057 should eq 11058 when notifications are disabled1059 should be empty1060 guest user in private project1061 filters out guests when new note is created1062 filters out guests when new merge request is created1063 filters out guests when merge request is closed1064 filters out guests when merge request is reopened1065 filters out guests when merge request is merged1066 Pipelines1067 #pipeline_finished1068 with a successful pipeline1069 when the creator has default settings1070 notifies nobody1071 when the creator has watch set1072 notifies nobody1073 when the creator has custom notifications, but without any set1074 notifies nobody1075 when the creator has custom notifications disabled1076 notifies nobody1077 when the creator has custom notifications enabled1078 emails only the creator1079 with a failed pipeline1080 when the creator has no custom notification set1081 emails only the creator1082 when the creator has watch set1083 emails only the creator1084 when the creator has custom notifications, but without any set1085 emails only the creator1086 when the creator has custom notifications disabled1087 notifies nobody1088 when the creator has custom notifications set1089 emails only the creator1090 when the creator has no read_build access1091 does not send emails1092 Pages domains1093 #pages_domain_enabled1094 emails current watching maintainers1095 emails nobody if the project is missing1096 #pages_domain_disabled1097 emails current watching maintainers1098 emails nobody if the project is missing1099 #pages_domain_verification_succeeded1100 emails current watching maintainers1101 emails nobody if the project is missing1102 #pages_domain_verification_failed1103 emails current watching maintainers1104 emails nobody if the project is missing1105 #pages_domain_verification_failed1106 emails current watching maintainers1107 #pages_domain_enabled1108 emails current watching maintainers1109 #pages_domain_disabled1110 emails current watching maintainers1111 Auto DevOps notifications1112 #autodevops_disabled1113 emails project owner and user that triggered the pipeline1114 Repository cleanup1115 #repository_cleanup_success1116 emails the specified user only1117 #repository_cleanup_failure1118 emails the specified user only1119 Remote mirror notifications1120 #remote_mirror_update_failed1121 emails current watching maintainers1122Ci::RegisterJobService1123 #execute1124 runner follow tag list1125 picks build with the same tag1126 does not pick build with different tag1127 picks build without tag1128 does not pick build with tag1129 pick build without tag1130 deleted projects1131 for shared runners1132 does not pick a build1133 for specific runner1134 does not pick a build1135 allow shared runners1136 for multiple builds1137 prefers projects without builds first1138 equalises number of running builds1139 shared runner1140 should be a kind of Ci::Build(id: integer, status: string, finished_at: datetime, trace: text, created_at: datetime, upda...ed: boolean, failure_reason: integer, scheduled_at: datetime_with_timezone, token_encrypted: string)1141 should be valid1142 should be running1143 should eq #<Ci::Runner id: 37, token: "s_zbb7qkyzkzE-9x-nKu", created_at: "2019-02-27 08:33:12", updated_at: "2..., runner_type: "instance_type", token_encrypted: "JvAjtqw+0YTR/ZffwR1ao49gyLIA8HEfjOS8EuBvjkN+4cF0">1144 specific runner1145 should be a kind of Ci::Build(id: integer, status: string, finished_at: datetime, trace: text, created_at: datetime, upda...ed: boolean, failure_reason: integer, scheduled_at: datetime_with_timezone, token_encrypted: string)1146 should be valid1147 should be running1148 should eq #<Ci::Runner id: 50, token: "DWMqz4sPdnU-sgmL2ztQ", created_at: "2019-02-27 08:33:13", updated_at: "2...l, runner_type: "project_type", token_encrypted: "EfgUpbQ907/M6amI91cOl5B095aFf+R1LY4j3ZfV2Y0Fgsma">1149 disallow shared runners1150 shared runner1151 should be nil1152 specific runner1153 should be a kind of Ci::Build(id: integer, status: string, finished_at: datetime, trace: text, created_at: datetime, upda...ed: boolean, failure_reason: integer, scheduled_at: datetime_with_timezone, token_encrypted: string)1154 should be valid1155 should be running1156 should eq #<Ci::Runner id: 65, token: "ysgfRnvyRjwvWFZAsTZE", created_at: "2019-02-27 08:33:15", updated_at: "2...l, runner_type: "project_type", token_encrypted: "LNw+spxn1pb67YvT03Y5mtFa2YJpPLCy9mQWAi4wHcLskTNI">1157 disallow when builds are disabled1158 and uses shared runner1159 should be nil1160 and uses group runner1161 should be nil1162 and uses project runner1163 should be nil1164 allow group runners1165 for multiple builds1166 does not consider builds from other group runners1167 group runner1168 should be a kind of Ci::Build(id: integer, status: string, finished_at: datetime, trace: text, created_at: datetime, upda...ed: boolean, failure_reason: integer, scheduled_at: datetime_with_timezone, token_encrypted: string)1169 should be valid1170 should be running1171 should eq #<Ci::Runner id: 91, token: "PnPQfJd-2KQB432GTsk5", created_at: "2019-02-27 08:33:19", updated_at: "2...nil, runner_type: "group_type", token_encrypted: "BcEJhahDxMKazK3nsANRnPZ96PKyxqO1yNy3OwUpXUNPVeA1">1172 disallow group runners1173 group runner1174 should be nil1175 when first build is stalled1176 with multiple builds are in queue1177 receives second build from the queue1178 when single build is in queue1179 does not receive any valid result1180 when there is no build in queue1181 does not receive builds but result is valid1182 when access_level of runner is not_protected1183 when a job is protected1184 picks the job1185 when a job is unprotected1186 picks the job1187 when protected attribute of a job is nil1188 picks the job1189 when access_level of runner is ref_protected1190 when a job is protected1191 picks the job1192 when a job is unprotected1193 does not pick the job1194 when protected attribute of a job is nil1195 does not pick the job1196 runner feature set is verified1197 when feature is missing by runner1198 does not pick the build and drops the build1199 when feature is supported by runner1200 does pick job1201 when "dependencies" keyword is specified1202 when validates for dependencies is enabled1203 behaves like validation is active1204 when depended job has not been completed yet1205 should eq #<Ci::Build id: 60, status: "pending", finished_at: nil, trace: nil, created_at: "2019-02-27 08:50:29...reason: nil, scheduled_at: nil, token_encrypted: "Ld46oqow9p7M7Z/d8wZOotpD6upFn/NxMnFxE133YlcW7Ta2">1206 when artifacts of depended job has been expired1207 behaves like not pick1208 does not pick the build and drops the build1209 when artifacts of depended job has been erased1210 behaves like not pick1211 does not pick the build and drops the build1212 when job object is staled1213 does not drop nor pick1214 when validates for dependencies is disabled1215 behaves like validation is not active1216 when depended job has not been completed yet1217 should eq #<Ci::Build id: 68, status: "pending", finished_at: nil, trace: nil, created_at: "2019-02-27 08:50:29...reason: nil, scheduled_at: nil, token_encrypted: "Fso0kKc654jQsp7GzlUXk8dg8qFHobahfmxfZJPoPyxb4bWl">1218 when artifacts of depended job has been expired1219 should eq #<Ci::Build id: 70, status: "pending", finished_at: nil, trace: nil, created_at: "2019-02-27 08:50:29...reason: nil, scheduled_at: nil, token_encrypted: "P+E7rYlu4Zvks83c0koVjvtW8537n032M1quToHKFSLih2R1">1220 when artifacts of depended job has been erased1221 should eq #<Ci::Build id: 72, status: "pending", finished_at: nil, trace: nil, created_at: "2019-02-27 08:50:29...reason: nil, scheduled_at: nil, token_encrypted: "MsI65fp8097B87f68Fs3o9o255V68rS5VZOlELeOG7Q2W8ir">1222 when build is degenerated1223 does not pick the build and drops the build1224 #register_success1225 when shared runner is used1226 behaves like metrics collector1227 behaves like attempt counter collector1228 increments attempt counter1229 behaves like jobs queueing time histogram collector1230 counts job queuing time histogram with expected labels1231 when project already has running jobs1232 counts job queuing time histogram with expected labels1233 when pending job with queued_at=nil is used1234 doesn't count job queuing time histogram1235 behaves like attempt counter collector1236 increments attempt counter1237 when specific runner is used1238 behaves like metrics collector1239 behaves like attempt counter collector1240 increments attempt counter1241 behaves like jobs queueing time histogram collector1242 counts job queuing time histogram with expected labels1243 when project already has running jobs1244 counts job queuing time histogram with expected labels1245 when runner_session params are1246 present sets runner session configuration in the build1247 not present it does not configure the runner session1248Members::RequestAccessService1249 when source is nil1250 behaves like a service raising Gitlab::Access::AccessDeniedError1251 raises Gitlab::Access::AccessDeniedError1252 when current user cannot request access to the project1253 behaves like a service raising Gitlab::Access::AccessDeniedError1254 raises Gitlab::Access::AccessDeniedError1255 behaves like a service raising Gitlab::Access::AccessDeniedError1256 raises Gitlab::Access::AccessDeniedError1257 when access requests are disabled1258 behaves like a service raising Gitlab::Access::AccessDeniedError1259 raises Gitlab::Access::AccessDeniedError1260 behaves like a service raising Gitlab::Access::AccessDeniedError1261 raises Gitlab::Access::AccessDeniedError1262 when current user can request access to the project1263 behaves like a service creating a access request1264 succeeds1265 returns a <Source>Member1266 behaves like a service creating a access request1267 succeeds1268 returns a <Source>Member1269Gitlab::HTTP1270 allow_local_requests_from_hooks_and_services is1271 disabled1272 deny requests to localhost1273 deny requests to private network1274 if allow_local_requests set to true1275 override the global value and allow requests to localhost or private network1276 enabled1277 allow requests to localhost1278 allow requests to private network1279 if allow_local_requests set to false1280 override the global value and ban requests to localhost or private network1281 handle redirect loops1282 handles GET requests1283 handles POST requests1284 handles PUT requests1285 handles DELETE requests1286 handles HEAD requests1287Gitlab::Chat::Responder::Base1288 #pipeline1289 returns the pipeline1290 #project1291 returns the project1292 #success1293 raises NotImplementedError1294 #failure1295 raises NotImplementedError1296 #send_response1297 raises NotImplementedError1298 #scheduled_output1299 raises NotImplementedError1300GitHelper1301 #short_sha1302 should eq "d4e043f6"1303Knapsack report was generated. Preview:1304{1305 "spec/services/notification_service_spec.rb": 452.79082202911377,1306 "spec/services/ci/register_job_service_spec.rb": 22.646732807159424,1307 "spec/services/members/request_access_service_spec.rb": 0.9828581809997559,1308 "spec/lib/gitlab/http_spec.rb": 0.06383252143859863,1309 "spec/lib/gitlab/chat/responder/base_spec.rb": 0.00940251350402832,1310 "spec/helpers/git_helper_spec.rb": 0.0035912990570068361311}1312Knapsack global time execution for tests: 07m 56s1313Finished in 8 minutes 5 seconds (files took 10.73 seconds to load)1314267 examples, 0 failures1316$ date1317Wed Feb 27 08:33:41 UTC 20191320coverage/: found 5 matching files 1321knapsack/: found 4 matching files 1322rspec_flaky/: found 4 matching files 1323WARNING: tmp/capybara/: no matching files 1324Uploading artifacts to coordinator... ok id=168352925 responseStatus=201 Created token=o8xxYQZ_1325Uploading artifacts...1326junit_rspec.xml: found 1 matching files 1327Uploading artifacts to coordinator... ok id=168352925 responseStatus=201 Created token=o8xxYQZ_1328Job succeeded