SQL timings in Projects::MergeRequestsController#show.json should be no more than 100ms per request
With the work done on https://gitlab.com/gitlab-org/gitlab-ce/issues/36876, we've significantly reduced query counts and SQL timings on that endpoint. Though, ideally we should be spending less than 100ms on SQL (99th percentile).
Given https://gitlab.com/gitlab-com/infrastructure/issues/3499 is still open, it's hard to monitor the current Mean
, 95th
and 99th
percentile of the JSON endpoint.
Here it follows the latest (10.5 RC9) profiling of gitlab-org/gitlab-ce!12463.json:
irb(main):002:0> Gitlab::Profiler.profile('https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/12463.json', logger: Logger.new(STDOUT), user: User.find_by(username: 'oswaldo'))
Started GET "/api/v4/users" for 127.0.0.1 at 2018-02-19 15:27:10 +0000
Processing by Gitlab::RequestForgeryProtection::Controller#index as HTML
Completed 200 OK in 0ms (ActiveRecord: 0.0ms | Elasticsearch: 0.0ms)
Started GET "/gitlab-org/gitlab-ce/merge_requests/12463.json" for 127.0.0.1 at 2018-02-19 15:27:10 +0000
D, [2018-02-19T15:27:10.651607 #124652] DEBUG -- : Group Load (1.6ms) SELECT "namespaces".* FROM "namespaces" INNER JOIN "routes" ON "routes"."source_id" = "namespaces"."id" AND "routes"."source_type" = 'Namespace' WHERE "namespaces"."type" IN ('Group') AND ((LOWER(routes.path) = LOWER('gitlab-org/gitlab-ce/merge_requests/12463'))) ORDER BY (CASE WHEN routes.path = 'gitlab-org/gitlab-ce/merge_requests/12463' THEN 0 ELSE 1 END) LIMIT 1 [["source_type", "Namespace"]]
D, [2018-02-19T15:27:10.654207 #124652] DEBUG -- : ↳ app/models/concerns/routable.rb:46:in `find_by_full_path'
D, [2018-02-19T15:27:10.654458 #124652] DEBUG -- : ↳ lib/constraints/group_url_constrainer.rb:7:in `matches?'
D, [2018-02-19T15:27:10.663466 #124652] DEBUG -- : Group Load (1.8ms) SELECT "namespaces".* FROM "namespaces" INNER JOIN "redirect_routes" ON "redirect_routes"."source_id" = "namespaces"."id" AND "redirect_routes"."source_type" = 'Namespace' WHERE "namespaces"."type" IN ('Group') AND (LOWER(redirect_routes.path) = LOWER('gitlab-org/gitlab-ce/merge_requests/12463')) LIMIT 1 [["source_type", "Namespace"]]
D, [2018-02-19T15:27:10.668760 #124652] DEBUG -- : ↳ app/models/concerns/routable.rb:51:in `find_by_full_path'
D, [2018-02-19T15:27:10.669026 #124652] DEBUG -- : ↳ lib/constraints/group_url_constrainer.rb:7:in `matches?'
D, [2018-02-19T15:27:10.678418 #124652] DEBUG -- : Project Load (2.5ms) SELECT "projects".* FROM "projects" INNER JOIN "routes" ON "routes"."source_id" = "projects"."id" AND "routes"."source_type" = 'Project' WHERE ((LOWER(routes.path) = LOWER('gitlab-org/gitlab-ce'))) ORDER BY (CASE WHEN routes.path = 'gitlab-org/gitlab-ce' THEN 0 ELSE 1 END) LIMIT 1 [["source_type", "Project"]]
D, [2018-02-19T15:27:10.681241 #124652] DEBUG -- : ↳ app/models/concerns/routable.rb:46:in `find_by_full_path'
D, [2018-02-19T15:27:10.681473 #124652] DEBUG -- : ↳ lib/constraints/project_url_constrainer.rb:11:in `matches?'
I, [2018-02-19T15:27:10.688609 #124652] INFO -- : Processing by Projects::MergeRequestsController#show as JSON
I, [2018-02-19T15:27:10.688817 #124652] INFO -- : Parameters: {"namespace_id"=>"gitlab-org", "project_id"=>"gitlab-ce", "id"=>"12463"}
D, [2018-02-19T15:27:10.694226 #124652] DEBUG -- : PersonalAccessToken Load (1.2ms) SELECT "personal_access_tokens".* FROM "personal_access_tokens" WHERE "personal_access_tokens"."token" = '[FILTERED]' LIMIT 1 [["token", "[FILTERED]"]]
D, [2018-02-19T15:27:10.697085 #124652] DEBUG -- : ↳ lib/gitlab/auth/user_auth_finders.rb:100:in `find_personal_access_token'
D, [2018-02-19T15:27:10.697326 #124652] DEBUG -- : ↳ lib/gitlab/auth/user_auth_finders.rb:88:in `block in access_token'
D, [2018-02-19T15:27:10.697522 #124652] DEBUG -- : ↳ lib/gitlab/utils/strong_memoize.rb:26:in `strong_memoize'
D, [2018-02-19T15:27:10.697709 #124652] DEBUG -- : ↳ lib/gitlab/auth/user_auth_finders.rb:87:in `access_token'
D, [2018-02-19T15:27:10.697895 #124652] DEBUG -- : ↳ lib/gitlab/auth/user_auth_finders.rb:44:in `find_user_from_access_token'
D, [2018-02-19T15:27:10.698105 #124652] DEBUG -- : ↳ lib/gitlab/auth/request_authenticator.rb:19:in `find_sessionless_user'
D, [2018-02-19T15:27:10.698300 #124652] DEBUG -- : ↳ app/controllers/application_controller.rb:104:in `authenticate_sessionless_user!'
D, [2018-02-19T15:27:10.705748 #124652] DEBUG -- : User Load (1.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = 11493 LIMIT 1 [["id", 11493]]
D, [2018-02-19T15:27:10.708807 #124652] DEBUG -- : ↳ lib/gitlab/auth/user_auth_finders.rb:48:in `find_user_from_access_token'
D, [2018-02-19T15:27:10.709042 #124652] DEBUG -- : ↳ lib/gitlab/auth/request_authenticator.rb:19:in `find_sessionless_user'
D, [2018-02-19T15:27:10.709316 #124652] DEBUG -- : ↳ app/controllers/application_controller.rb:104:in `authenticate_sessionless_user!'
D, [2018-02-19T15:27:11.070587 #124652] DEBUG -- : Identity Exists (2.6ms) SELECT 1 AS one FROM "identities" WHERE "identities"."user_id" = 11493 AND (provider LIKE 'ldap%' AND extern_uid IS NOT NULL) LIMIT 1 [["user_id", 11493]]
D, [2018-02-19T15:27:11.073929 #124652] DEBUG -- : ↳ app/models/user.rb:744:in `ldap_user?'
D, [2018-02-19T15:27:11.074318 #124652] DEBUG -- : ↳ app/models/user.rb:667:in `allow_password_authentication_for_web?'
D, [2018-02-19T15:27:11.074536 #124652] DEBUG -- : ↳ app/models/user.rb:663:in `allow_password_authentication?'
D, [2018-02-19T15:27:11.074742 #124652] DEBUG -- : ↳ app/controllers/application_controller.rb:208:in `check_password_expiration'
D, [2018-02-19T15:27:11.098439 #124652] DEBUG -- : Upload Load (2.4ms) SELECT "uploads".* FROM "uploads" WHERE "uploads"."uploader" = 'AvatarUploader' AND "uploads"."model_type" = 'User' AND "uploads"."model_id" = 11493 AND "uploads"."path" IN ('uploads/-/system/user/avatar/11493/avatar.png', 'user/avatar/11493/avatar.png') ORDER BY "uploads"."id" DESC LIMIT 1 [["uploader", "AvatarUploader"]]
D, [2018-02-19T15:27:11.102197 #124652] DEBUG -- : ↳ app/models/concerns/avatarable.rb:52:in `avatar_path'
D, [2018-02-19T15:27:11.102450 #124652] DEBUG -- : ↳ app/models/concerns/avatarable.rb:19:in `avatar_url'
D, [2018-02-19T15:27:11.102680 #124652] DEBUG -- : ↳ lib/gitlab/gon_helper.rb:27:in `add_gon_variables'
D, [2018-02-19T15:27:11.115666 #124652] DEBUG -- : Project Load (2.0ms) SELECT "projects".* FROM "projects" INNER JOIN "routes" ON "routes"."source_id" = "projects"."id" AND "routes"."source_type" = 'Project' WHERE ((LOWER(routes.path) = LOWER('gitlab-org/gitlab-ce'))) ORDER BY (CASE WHEN routes.path = 'gitlab-org/gitlab-ce' THEN 0 ELSE 1 END) LIMIT 1 [["source_type", "Project"]]
D, [2018-02-19T15:27:11.120794 #124652] DEBUG -- : ↳ app/models/concerns/routable.rb:46:in `find_by_full_path'
D, [2018-02-19T15:27:11.121111 #124652] DEBUG -- : ↳ app/controllers/concerns/routable_actions.rb:5:in `find_routable!'
D, [2018-02-19T15:27:11.121368 #124652] DEBUG -- : ↳ app/controllers/projects/application_controller.rb:20:in `project'
D, [2018-02-19T15:27:11.121701 #124652] DEBUG -- : ↳ app/controllers/application_controller.rb:333:in `set_locale'
D, [2018-02-19T15:27:11.140832 #124652] DEBUG -- : Route Load (1.2ms) SELECT "routes".* FROM "routes" WHERE "routes"."source_id" = 13083 AND "routes"."source_type" = 'Project' LIMIT 1 [["source_id", 13083], ["source_type", "Project"]]
D, [2018-02-19T15:27:11.144598 #124652] DEBUG -- : ↳ app/models/concerns/routable.rb:135:in `uncached_full_path'
D, [2018-02-19T15:27:11.144884 #124652] DEBUG -- : ↳ app/models/concerns/routable.rb:107:in `full_path'
D, [2018-02-19T15:27:11.145305 #124652] DEBUG -- : ↳ app/controllers/concerns/routable_actions.rb:30:in `ensure_canonical_path'
D, [2018-02-19T15:27:11.145553 #124652] DEBUG -- : ↳ app/controllers/concerns/routable_actions.rb:8:in `find_routable!'
D, [2018-02-19T15:27:11.145780 #124652] DEBUG -- : ↳ app/controllers/projects/application_controller.rb:20:in `project'
D, [2018-02-19T15:27:11.147259 #124652] DEBUG -- : ↳ app/controllers/application_controller.rb:333:in `set_locale'
D, [2018-02-19T15:27:11.155129 #124652] DEBUG -- : ProjectFeature Load (1.3ms) SELECT "project_features".* FROM "project_features" WHERE "project_features"."project_id" = 13083 LIMIT 1 [["project_id", 13083]]
D, [2018-02-19T15:27:11.159201 #124652] DEBUG -- : ↳ app/models/project.rb:45:in `feature_available?'
D, [2018-02-19T15:27:11.159479 #124652] DEBUG -- : ↳ app/controllers/projects/application_controller.rb:48:in `check_project_feature_available!'
D, [2018-02-19T15:27:11.159718 #124652] DEBUG -- : ↳ app/controllers/projects/application_controller.rb:61:in `method_missing'
D, [2018-02-19T15:27:11.160032 #124652] DEBUG -- : ↳ app/controllers/application_controller.rb:333:in `set_locale'
D, [2018-02-19T15:27:11.174736 #124652] DEBUG -- : MergeRequest Load (3.4ms) SELECT "merge_requests".* FROM "merge_requests" WHERE "merge_requests"."target_project_id" = 13083 AND "merge_requests"."iid" = 12463 LIMIT 1 [["target_project_id", 13083], ["iid", "12463"]]
D, [2018-02-19T15:27:11.178932 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests/application_controller.rb:11:in `merge_request'
D, [2018-02-19T15:27:11.179498 #124652] DEBUG -- : ↳ app/controllers/application_controller.rb:333:in `set_locale'
D, [2018-02-19T15:27:11.196248 #124652] DEBUG -- : Project Load (2.1ms) SELECT "projects".* FROM "projects" WHERE "projects"."id" = 13083 LIMIT 1 [["id", 13083]]
D, [2018-02-19T15:27:11.200430 #124652] DEBUG -- : ↳ app/finders/labels_finder.rb:89:in `project'
D, [2018-02-19T15:27:11.200934 #124652] DEBUG -- : ↳ app/finders/labels_finder.rb:24:in `label_ids'
D, [2018-02-19T15:27:11.201329 #124652] DEBUG -- : ↳ app/finders/labels_finder.rb:11:in `execute'
D, [2018-02-19T15:27:11.201689 #124652] DEBUG -- : ↳ app/controllers/concerns/issuable_actions.rb:106:in `labels'
D, [2018-02-19T15:27:11.202007 #124652] DEBUG -- : ↳ app/controllers/application_controller.rb:333:in `set_locale'
D, [2018-02-19T15:27:11.221884 #124652] DEBUG -- : Group Load (1.7ms) SELECT "namespaces".* FROM "namespaces" WHERE "namespaces"."type" IN ('Group') AND "namespaces"."id" = 9970 AND "namespaces"."type" IN ('Group') AND "namespaces"."type" = 'Group' LIMIT 1 [["id", 9970], ["type", "Group"]]
D, [2018-02-19T15:27:11.226137 #124652] DEBUG -- : ↳ app/finders/labels_finder.rb:25:in `label_ids'
D, [2018-02-19T15:27:11.226848 #124652] DEBUG -- : ↳ app/finders/labels_finder.rb:11:in `execute'
D, [2018-02-19T15:27:11.227306 #124652] DEBUG -- : ↳ app/controllers/concerns/issuable_actions.rb:106:in `labels'
D, [2018-02-19T15:27:11.227985 #124652] DEBUG -- : ↳ app/controllers/application_controller.rb:333:in `set_locale'
D, [2018-02-19T15:27:11.244391 #124652] DEBUG -- : MergeRequestDiff Load (3.4ms) SELECT "merge_request_diffs".* FROM "merge_request_diffs" WHERE "merge_request_diffs"."id" = 6137112 LIMIT 1 [["id", 6137112]]
D, [2018-02-19T15:27:11.248587 #124652] DEBUG -- : ↳ app/models/concerns/manual_inverse_association.rb:7:in `block in manual_inverse_association'
D, [2018-02-19T15:27:11.248900 #124652] DEBUG -- : ↳ app/models/merge_request.rb:43:in `merge_request_diff'
D, [2018-02-19T15:27:11.249185 #124652] DEBUG -- : ↳ app/models/merge_request.rb:1077:in `has_commits?'
D, [2018-02-19T15:27:11.249566 #124652] DEBUG -- : ↳ app/models/merge_request.rb:1081:in `has_no_commits?'
D, [2018-02-19T15:27:11.249817 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:244:in `validates_merge_request'
D, [2018-02-19T15:27:11.250059 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:34:in `show'
D, [2018-02-19T15:27:11.250466 #124652] DEBUG -- : ↳ app/controllers/application_controller.rb:333:in `set_locale'
D, [2018-02-19T15:27:11.260302 #124652] DEBUG -- : Project Load (2.6ms) SELECT "projects".* FROM "projects" WHERE "projects"."id" = 13083 LIMIT 1 [["id", 13083]]
D, [2018-02-19T15:27:11.264194 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:269:in `close_merge_request_without_source_project'
D, [2018-02-19T15:27:11.264542 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:35:in `show'
D, [2018-02-19T15:27:11.265741 #124652] DEBUG -- : ↳ app/controllers/application_controller.rb:333:in `set_locale'
D, [2018-02-19T15:27:11.279436 #124652] DEBUG -- : Project Load (1.9ms) SELECT "projects".* FROM "projects" WHERE "projects"."id" = 13083 LIMIT 1 [["id", 13083]]
D, [2018-02-19T15:27:11.283886 #124652] DEBUG -- : ↳ app/models/merge_request.rb:726:in `project'
D, [2018-02-19T15:27:11.284296 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:327:in `serializer'
D, [2018-02-19T15:27:11.284559 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:62:in `block (2 levels) in show'
D, [2018-02-19T15:27:11.284813 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:41:in `show'
D, [2018-02-19T15:27:11.285193 #124652] DEBUG -- : ↳ app/controllers/application_controller.rb:333:in `set_locale'
D, [2018-02-19T15:27:11.297796 #124652] DEBUG -- : Ci::Pipeline Load (1.6ms) SELECT "ci_pipelines".* FROM "ci_pipelines" WHERE "ci_pipelines"."id" = 10769565 LIMIT 1 [["id", 10769565]]
D, [2018-02-19T15:27:11.302488 #124652] DEBUG -- : ↳ app/serializers/base_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:11.302809 #124652] DEBUG -- : ↳ app/serializers/merge_request_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:11.303087 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:62:in `block (2 levels) in show'
D, [2018-02-19T15:27:11.303372 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:41:in `show'
D, [2018-02-19T15:27:11.303710 #124652] DEBUG -- : ↳ app/controllers/application_controller.rb:333:in `set_locale'
D, [2018-02-19T15:27:11.334864 #124652] DEBUG -- : Ci::Build Load (2.3ms) SELECT "ci_builds".* FROM "ci_builds" WHERE "ci_builds"."type" IN ('Ci::Build') AND "ci_builds"."commit_id" = 10769565 AND "ci_builds"."type" IN ('Ci::Build') AND ("ci_builds"."retried" = 'f' OR "ci_builds"."retried" IS NULL) AND ((artifacts_file IS NOT NULL AND artifacts_file <> '') OR EXISTS (SELECT 1 FROM "ci_job_artifacts" WHERE (ci_builds.id = ci_job_artifacts.job_id))) AND (artifacts_expire_at IS NULL OR artifacts_expire_at > '2018-02-19 15:27:11.315653') AND "ci_builds"."name" IN ('codequality', 'codeclimate') [["commit_id", 10769565]]
D, [2018-02-19T15:27:11.339364 #124652] DEBUG -- : ↳ app/serializers/base_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:11.339671 #124652] DEBUG -- : ↳ app/serializers/merge_request_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:11.339930 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:62:in `block (2 levels) in show'
D, [2018-02-19T15:27:11.340294 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:41:in `show'
D, [2018-02-19T15:27:11.340638 #124652] DEBUG -- : ↳ app/controllers/application_controller.rb:333:in `set_locale'
D, [2018-02-19T15:27:11.363343 #124652] DEBUG -- : Project Load (1.7ms) SELECT "projects".* FROM "projects" WHERE "projects"."id" IN (13083)
D, [2018-02-19T15:27:11.368417 #124652] DEBUG -- : ↳ app/serializers/base_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:11.368747 #124652] DEBUG -- : ↳ app/serializers/merge_request_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:11.369008 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:62:in `block (2 levels) in show'
D, [2018-02-19T15:27:11.369298 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:41:in `show'
D, [2018-02-19T15:27:11.369677 #124652] DEBUG -- : ↳ app/controllers/application_controller.rb:333:in `set_locale'
D, [2018-02-19T15:27:11.388244 #124652] DEBUG -- : Ci::JobArtifact Load (2.0ms) SELECT "ci_job_artifacts".* FROM "ci_job_artifacts" WHERE "ci_job_artifacts"."job_id" = 28940150 AND "ci_job_artifacts"."file_type" = 1 LIMIT 1 [["job_id", 28940150], ["file_type", 1]]
D, [2018-02-19T15:27:11.393808 #124652] DEBUG -- : ↳ app/models/concerns/artifact_migratable.rb:6:in `artifacts_file'
D, [2018-02-19T15:27:11.394160 #124652] DEBUG -- : ↳ app/models/concerns/artifact_migratable.rb:14:in `artifacts?'
D, [2018-02-19T15:27:11.394432 #124652] DEBUG -- : ↳ app/models/concerns/artifact_migratable.rb:18:in `artifacts_metadata?'
D, [2018-02-19T15:27:11.394757 #124652] DEBUG -- : ↳ app/serializers/base_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:11.395158 #124652] DEBUG -- : ↳ app/serializers/merge_request_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:11.395804 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:62:in `block (2 levels) in show'
D, [2018-02-19T15:27:11.396450 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:41:in `show'
D, [2018-02-19T15:27:11.397002 #124652] DEBUG -- : ↳ app/controllers/application_controller.rb:333:in `set_locale'
D, [2018-02-19T15:27:11.413306 #124652] DEBUG -- : Ci::JobArtifact Load (1.5ms) SELECT "ci_job_artifacts".* FROM "ci_job_artifacts" WHERE "ci_job_artifacts"."job_id" = 28940150 AND "ci_job_artifacts"."file_type" = 2 LIMIT 1 [["job_id", 28940150], ["file_type", 2]]
D, [2018-02-19T15:27:11.418884 #124652] DEBUG -- : ↳ app/models/concerns/artifact_migratable.rb:10:in `artifacts_metadata'
D, [2018-02-19T15:27:11.419253 #124652] DEBUG -- : ↳ app/models/concerns/artifact_migratable.rb:18:in `artifacts_metadata?'
D, [2018-02-19T15:27:11.419589 #124652] DEBUG -- : ↳ app/serializers/base_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:11.419890 #124652] DEBUG -- : ↳ app/serializers/merge_request_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:11.420413 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:62:in `block (2 levels) in show'
D, [2018-02-19T15:27:11.420674 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:41:in `show'
D, [2018-02-19T15:27:11.421135 #124652] DEBUG -- : ↳ app/controllers/application_controller.rb:333:in `set_locale'
D, [2018-02-19T15:27:11.437199 #124652] DEBUG -- : Ci::Pipeline Load (3.7ms) SELECT "ci_pipelines".* FROM "ci_pipelines" WHERE "ci_pipelines"."project_id" = 13083 AND "ci_pipelines"."sha" = 'afd6e517e59aa07ab377fc29da45be08918a4f8e' LIMIT 1 [["project_id", 13083], ["sha", "afd6e517e59aa07ab377fc29da45be08918a4f8e"]]
D, [2018-02-19T15:27:11.442204 #124652] DEBUG -- : ↳ app/models/merge_request.rb:1097:in `base_pipeline'
D, [2018-02-19T15:27:11.442697 #124652] DEBUG -- : ↳ app/serializers/base_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:11.442920 #124652] DEBUG -- : ↳ app/serializers/merge_request_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:11.443252 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:62:in `block (2 levels) in show'
D, [2018-02-19T15:27:11.443511 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:41:in `show'
D, [2018-02-19T15:27:11.443802 #124652] DEBUG -- : ↳ app/controllers/application_controller.rb:333:in `set_locale'
D, [2018-02-19T15:27:11.466422 #124652] DEBUG -- : Ci::Build Load (2.1ms) SELECT "ci_builds".* FROM "ci_builds" WHERE "ci_builds"."type" IN ('Ci::Build') AND "ci_builds"."commit_id" = 10763202 AND "ci_builds"."type" IN ('Ci::Build') AND ("ci_builds"."retried" = 'f' OR "ci_builds"."retried" IS NULL) AND ((artifacts_file IS NOT NULL AND artifacts_file <> '') OR EXISTS (SELECT 1 FROM "ci_job_artifacts" WHERE (ci_builds.id = ci_job_artifacts.job_id))) AND (artifacts_expire_at IS NULL OR artifacts_expire_at > '2018-02-19 15:27:11.454335') AND "ci_builds"."name" IN ('codequality', 'codeclimate') [["commit_id", 10763202]]
D, [2018-02-19T15:27:11.471680 #124652] DEBUG -- : ↳ app/serializers/base_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:11.472012 #124652] DEBUG -- : ↳ app/serializers/merge_request_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:11.472377 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:62:in `block (2 levels) in show'
D, [2018-02-19T15:27:11.472665 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:41:in `show'
D, [2018-02-19T15:27:11.473025 #124652] DEBUG -- : ↳ app/controllers/application_controller.rb:333:in `set_locale'
D, [2018-02-19T15:27:11.486999 #124652] DEBUG -- : Project Load (3.8ms) SELECT "projects".* FROM "projects" WHERE "projects"."id" IN (13083)
D, [2018-02-19T15:27:11.493386 #124652] DEBUG -- : ↳ app/serializers/base_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:11.493742 #124652] DEBUG -- : ↳ app/serializers/merge_request_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:11.494029 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:62:in `block (2 levels) in show'
D, [2018-02-19T15:27:11.494376 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:41:in `show'
D, [2018-02-19T15:27:11.494682 #124652] DEBUG -- : ↳ app/controllers/application_controller.rb:333:in `set_locale'
D, [2018-02-19T15:27:11.511500 #124652] DEBUG -- : Ci::JobArtifact Load (1.3ms) SELECT "ci_job_artifacts".* FROM "ci_job_artifacts" WHERE "ci_job_artifacts"."job_id" = 28918574 AND "ci_job_artifacts"."file_type" = 1 LIMIT 1 [["job_id", 28918574], ["file_type", 1]]
D, [2018-02-19T15:27:11.515996 #124652] DEBUG -- : ↳ app/models/concerns/artifact_migratable.rb:6:in `artifacts_file'
D, [2018-02-19T15:27:11.516396 #124652] DEBUG -- : ↳ app/models/concerns/artifact_migratable.rb:14:in `artifacts?'
D, [2018-02-19T15:27:11.516617 #124652] DEBUG -- : ↳ app/models/concerns/artifact_migratable.rb:18:in `artifacts_metadata?'
D, [2018-02-19T15:27:11.516834 #124652] DEBUG -- : ↳ app/serializers/base_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:11.517051 #124652] DEBUG -- : ↳ app/serializers/merge_request_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:11.517297 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:62:in `block (2 levels) in show'
D, [2018-02-19T15:27:11.517718 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:41:in `show'
D, [2018-02-19T15:27:11.518011 #124652] DEBUG -- : ↳ app/controllers/application_controller.rb:333:in `set_locale'
D, [2018-02-19T15:27:11.527893 #124652] DEBUG -- : Ci::JobArtifact Load (1.4ms) SELECT "ci_job_artifacts".* FROM "ci_job_artifacts" WHERE "ci_job_artifacts"."job_id" = 28918574 AND "ci_job_artifacts"."file_type" = 2 LIMIT 1 [["job_id", 28918574], ["file_type", 2]]
D, [2018-02-19T15:27:11.532511 #124652] DEBUG -- : ↳ app/models/concerns/artifact_migratable.rb:10:in `artifacts_metadata'
D, [2018-02-19T15:27:11.532775 #124652] DEBUG -- : ↳ app/models/concerns/artifact_migratable.rb:18:in `artifacts_metadata?'
D, [2018-02-19T15:27:11.532994 #124652] DEBUG -- : ↳ app/serializers/base_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:11.533210 #124652] DEBUG -- : ↳ app/serializers/merge_request_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:11.533422 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:62:in `block (2 levels) in show'
D, [2018-02-19T15:27:11.533667 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:41:in `show'
D, [2018-02-19T15:27:11.534017 #124652] DEBUG -- : ↳ app/controllers/application_controller.rb:333:in `set_locale'
D, [2018-02-19T15:27:11.541565 #124652] DEBUG -- : License Load (1.3ms) SELECT "licenses".* FROM "licenses" ORDER BY "licenses"."id" DESC LIMIT 1
D, [2018-02-19T15:27:11.546905 #124652] DEBUG -- : ↳ app/serializers/base_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:11.547279 #124652] DEBUG -- : ↳ app/serializers/merge_request_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:11.547681 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:62:in `block (2 levels) in show'
D, [2018-02-19T15:27:11.547957 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:41:in `show'
D, [2018-02-19T15:27:11.548330 #124652] DEBUG -- : ↳ app/controllers/application_controller.rb:333:in `set_locale'
D, [2018-02-19T15:27:11.558504 #124652] DEBUG -- : Namespace Load (1.4ms) SELECT "namespaces".* FROM "namespaces" WHERE "namespaces"."id" = 9970 LIMIT 1 [["id", 9970]]
D, [2018-02-19T15:27:11.562847 #124652] DEBUG -- : ↳ app/serializers/base_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:11.563206 #124652] DEBUG -- : ↳ app/serializers/merge_request_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:11.563431 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:62:in `block (2 levels) in show'
D, [2018-02-19T15:27:11.563716 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:41:in `show'
D, [2018-02-19T15:27:11.564350 #124652] DEBUG -- : ↳ app/controllers/application_controller.rb:333:in `set_locale'
D, [2018-02-19T15:27:11.578443 #124652] DEBUG -- : Ci::Build Load (1.8ms) SELECT "ci_builds".* FROM "ci_builds" WHERE "ci_builds"."type" IN ('Ci::Build') AND "ci_builds"."commit_id" = 10769565 AND "ci_builds"."type" IN ('Ci::Build') AND ("ci_builds"."retried" = 'f' OR "ci_builds"."retried" IS NULL) AND ((artifacts_file IS NOT NULL AND artifacts_file <> '') OR EXISTS (SELECT 1 FROM "ci_job_artifacts" WHERE (ci_builds.id = ci_job_artifacts.job_id))) AND (artifacts_expire_at IS NULL OR artifacts_expire_at > '2018-02-19 15:27:11.315653') AND "ci_builds"."name" IN ('performance', 'deploy') [["commit_id", 10769565]]
D, [2018-02-19T15:27:11.583046 #124652] DEBUG -- : ↳ app/serializers/base_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:11.583402 #124652] DEBUG -- : ↳ app/serializers/merge_request_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:11.583635 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:62:in `block (2 levels) in show'
D, [2018-02-19T15:27:11.583964 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:41:in `show'
D, [2018-02-19T15:27:11.584372 #124652] DEBUG -- : ↳ app/controllers/application_controller.rb:333:in `set_locale'
D, [2018-02-19T15:27:11.597876 #124652] DEBUG -- : Ci::Build Load (1.9ms) SELECT "ci_builds".* FROM "ci_builds" WHERE "ci_builds"."type" IN ('Ci::Build') AND "ci_builds"."commit_id" = 10769565 AND "ci_builds"."type" IN ('Ci::Build') AND ("ci_builds"."retried" = 'f' OR "ci_builds"."retried" IS NULL) AND ((artifacts_file IS NOT NULL AND artifacts_file <> '') OR EXISTS (SELECT 1 FROM "ci_job_artifacts" WHERE (ci_builds.id = ci_job_artifacts.job_id))) AND (artifacts_expire_at IS NULL OR artifacts_expire_at > '2018-02-19 15:27:11.315653') AND "ci_builds"."name" = 'sast' [["commit_id", 10769565], ["name", "sast"]]
D, [2018-02-19T15:27:11.601709 #124652] DEBUG -- : ↳ app/serializers/base_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:11.601978 #124652] DEBUG -- : ↳ app/serializers/merge_request_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:11.602359 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:62:in `block (2 levels) in show'
D, [2018-02-19T15:27:11.602654 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:41:in `show'
D, [2018-02-19T15:27:11.602964 #124652] DEBUG -- : ↳ app/controllers/application_controller.rb:333:in `set_locale'
D, [2018-02-19T15:27:11.615374 #124652] DEBUG -- : Ci::Build Load (1.6ms) SELECT "ci_builds".* FROM "ci_builds" WHERE "ci_builds"."type" IN ('Ci::Build') AND "ci_builds"."commit_id" = 10769565 AND "ci_builds"."type" IN ('Ci::Build') AND ("ci_builds"."retried" = 'f' OR "ci_builds"."retried" IS NULL) AND ((artifacts_file IS NOT NULL AND artifacts_file <> '') OR EXISTS (SELECT 1 FROM "ci_job_artifacts" WHERE (ci_builds.id = ci_job_artifacts.job_id))) AND (artifacts_expire_at IS NULL OR artifacts_expire_at > '2018-02-19 15:27:11.315653') AND "ci_builds"."name" = 'sast:container' [["commit_id", 10769565], ["name", "sast:container"]]
D, [2018-02-19T15:27:11.619574 #124652] DEBUG -- : ↳ app/serializers/base_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:11.619978 #124652] DEBUG -- : ↳ app/serializers/merge_request_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:11.620368 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:62:in `block (2 levels) in show'
D, [2018-02-19T15:27:11.620627 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:41:in `show'
D, [2018-02-19T15:27:11.620996 #124652] DEBUG -- : ↳ app/controllers/application_controller.rb:333:in `set_locale'
D, [2018-02-19T15:27:11.634656 #124652] DEBUG -- : Ci::Build Load (1.8ms) SELECT "ci_builds".* FROM "ci_builds" WHERE "ci_builds"."type" IN ('Ci::Build') AND "ci_builds"."commit_id" = 10769565 AND "ci_builds"."type" IN ('Ci::Build') AND ("ci_builds"."retried" = 'f' OR "ci_builds"."retried" IS NULL) AND ((artifacts_file IS NOT NULL AND artifacts_file <> '') OR EXISTS (SELECT 1 FROM "ci_job_artifacts" WHERE (ci_builds.id = ci_job_artifacts.job_id))) AND (artifacts_expire_at IS NULL OR artifacts_expire_at > '2018-02-19 15:27:11.315653') AND "ci_builds"."name" = 'dast' [["commit_id", 10769565], ["name", "dast"]]
D, [2018-02-19T15:27:11.639001 #124652] DEBUG -- : ↳ app/serializers/base_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:11.639314 #124652] DEBUG -- : ↳ app/serializers/merge_request_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:11.639561 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:62:in `block (2 levels) in show'
D, [2018-02-19T15:27:11.639798 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:41:in `show'
D, [2018-02-19T15:27:11.640180 #124652] DEBUG -- : ↳ app/controllers/application_controller.rb:333:in `set_locale'
D, [2018-02-19T15:27:11.652222 #124652] DEBUG -- : Route Load (1.1ms) SELECT "routes".* FROM "routes" WHERE "routes"."source_id" = 9970 AND "routes"."source_type" = 'Namespace' LIMIT 1 [["source_id", 9970], ["source_type", "Namespace"]]
D, [2018-02-19T15:27:11.656655 #124652] DEBUG -- : ↳ app/models/concerns/routable.rb:135:in `uncached_full_path'
D, [2018-02-19T15:27:11.656968 #124652] DEBUG -- : ↳ app/models/concerns/routable.rb:107:in `full_path'
D, [2018-02-19T15:27:11.657233 #124652] DEBUG -- : ↳ app/models/namespace.rb:122:in `to_param'
D, [2018-02-19T15:27:11.657535 #124652] DEBUG -- : ↳ config/application.rb:209:in `block (4 levels) in <class:Application>'
D, [2018-02-19T15:27:11.657792 #124652] DEBUG -- : ↳ app/serializers/base_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:11.658013 #124652] DEBUG -- : ↳ app/serializers/merge_request_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:11.658269 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:62:in `block (2 levels) in show'
D, [2018-02-19T15:27:11.658592 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:41:in `show'
D, [2018-02-19T15:27:11.658902 #124652] DEBUG -- : ↳ app/controllers/application_controller.rb:333:in `set_locale'
D, [2018-02-19T15:27:11.673601 #124652] DEBUG -- : Ci::Build Load (2.2ms) SELECT "ci_builds".* FROM "ci_builds" WHERE "ci_builds"."type" IN ('Ci::Build') AND "ci_builds"."commit_id" = 10769565 AND "ci_builds"."type" IN ('Ci::Build') AND ("ci_builds"."retried" = 'f' OR "ci_builds"."retried" IS NULL) AND ((artifacts_file IS NOT NULL AND artifacts_file <> '') OR EXISTS (SELECT 1 FROM "ci_job_artifacts" WHERE (ci_builds.id = ci_job_artifacts.job_id))) AND (artifacts_expire_at IS NULL OR artifacts_expire_at > '2018-02-19 15:27:11.315653') AND "ci_builds"."name" IN ('codequality', 'codeclimate') [["commit_id", 10769565]]
D, [2018-02-19T15:27:11.677856 #124652] DEBUG -- : ↳ app/serializers/base_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:11.678141 #124652] DEBUG -- : ↳ app/serializers/merge_request_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:11.678387 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:62:in `block (2 levels) in show'
D, [2018-02-19T15:27:11.678672 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:41:in `show'
D, [2018-02-19T15:27:11.679070 #124652] DEBUG -- : ↳ app/controllers/application_controller.rb:333:in `set_locale'
D, [2018-02-19T15:27:11.690430 #124652] DEBUG -- : Project Load (1.8ms) SELECT "projects".* FROM "projects" WHERE "projects"."id" IN (13083)
D, [2018-02-19T15:27:11.694976 #124652] DEBUG -- : ↳ app/serializers/base_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:11.695279 #124652] DEBUG -- : ↳ app/serializers/merge_request_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:11.695534 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:62:in `block (2 levels) in show'
D, [2018-02-19T15:27:11.695818 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:41:in `show'
D, [2018-02-19T15:27:11.696169 #124652] DEBUG -- : ↳ app/controllers/application_controller.rb:333:in `set_locale'
D, [2018-02-19T15:27:11.710141 #124652] DEBUG -- : Ci::JobArtifact Load (1.4ms) SELECT "ci_job_artifacts".* FROM "ci_job_artifacts" WHERE "ci_job_artifacts"."job_id" = 28940150 AND "ci_job_artifacts"."file_type" = 1 LIMIT 1 [["job_id", 28940150], ["file_type", 1]]
D, [2018-02-19T15:27:11.714933 #124652] DEBUG -- : ↳ app/models/concerns/artifact_migratable.rb:6:in `artifacts_file'
D, [2018-02-19T15:27:11.715214 #124652] DEBUG -- : ↳ app/models/concerns/artifact_migratable.rb:14:in `artifacts?'
D, [2018-02-19T15:27:11.715493 #124652] DEBUG -- : ↳ app/models/concerns/artifact_migratable.rb:18:in `artifacts_metadata?'
D, [2018-02-19T15:27:11.715720 #124652] DEBUG -- : ↳ app/serializers/base_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:11.715940 #124652] DEBUG -- : ↳ app/serializers/merge_request_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:11.716189 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:62:in `block (2 levels) in show'
D, [2018-02-19T15:27:11.716516 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:41:in `show'
D, [2018-02-19T15:27:11.716834 #124652] DEBUG -- : ↳ app/controllers/application_controller.rb:333:in `set_locale'
D, [2018-02-19T15:27:11.726742 #124652] DEBUG -- : Ci::JobArtifact Load (1.4ms) SELECT "ci_job_artifacts".* FROM "ci_job_artifacts" WHERE "ci_job_artifacts"."job_id" = 28940150 AND "ci_job_artifacts"."file_type" = 2 LIMIT 1 [["job_id", 28940150], ["file_type", 2]]
D, [2018-02-19T15:27:11.731412 #124652] DEBUG -- : ↳ app/models/concerns/artifact_migratable.rb:10:in `artifacts_metadata'
D, [2018-02-19T15:27:11.731726 #124652] DEBUG -- : ↳ app/models/concerns/artifact_migratable.rb:18:in `artifacts_metadata?'
D, [2018-02-19T15:27:11.731967 #124652] DEBUG -- : ↳ app/serializers/base_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:11.732260 #124652] DEBUG -- : ↳ app/serializers/merge_request_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:11.732494 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:62:in `block (2 levels) in show'
D, [2018-02-19T15:27:11.732705 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:41:in `show'
D, [2018-02-19T15:27:11.733045 #124652] DEBUG -- : ↳ app/controllers/application_controller.rb:333:in `set_locale'
D, [2018-02-19T15:27:11.753662 #124652] DEBUG -- : Ci::Build Load (2.7ms) SELECT "ci_builds".* FROM "ci_builds" WHERE "ci_builds"."type" IN ('Ci::Build') AND "ci_builds"."commit_id" = 10763202 AND "ci_builds"."type" IN ('Ci::Build') AND ("ci_builds"."retried" = 'f' OR "ci_builds"."retried" IS NULL) AND ((artifacts_file IS NOT NULL AND artifacts_file <> '') OR EXISTS (SELECT 1 FROM "ci_job_artifacts" WHERE (ci_builds.id = ci_job_artifacts.job_id))) AND (artifacts_expire_at IS NULL OR artifacts_expire_at > '2018-02-19 15:27:11.454335') AND "ci_builds"."name" IN ('codequality', 'codeclimate') [["commit_id", 10763202]]
D, [2018-02-19T15:27:11.757700 #124652] DEBUG -- : ↳ app/serializers/base_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:11.758099 #124652] DEBUG -- : ↳ app/serializers/merge_request_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:11.758342 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:62:in `block (2 levels) in show'
D, [2018-02-19T15:27:11.758575 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:41:in `show'
D, [2018-02-19T15:27:11.758898 #124652] DEBUG -- : ↳ app/controllers/application_controller.rb:333:in `set_locale'
D, [2018-02-19T15:27:11.769686 #124652] DEBUG -- : Project Load (1.7ms) SELECT "projects".* FROM "projects" WHERE "projects"."id" IN (13083)
D, [2018-02-19T15:27:11.774176 #124652] DEBUG -- : ↳ app/serializers/base_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:11.774510 #124652] DEBUG -- : ↳ app/serializers/merge_request_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:11.774789 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:62:in `block (2 levels) in show'
D, [2018-02-19T15:27:11.775003 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:41:in `show'
D, [2018-02-19T15:27:11.775591 #124652] DEBUG -- : ↳ app/controllers/application_controller.rb:333:in `set_locale'
D, [2018-02-19T15:27:11.791637 #124652] DEBUG -- : Ci::JobArtifact Load (2.2ms) SELECT "ci_job_artifacts".* FROM "ci_job_artifacts" WHERE "ci_job_artifacts"."job_id" = 28918574 AND "ci_job_artifacts"."file_type" = 1 LIMIT 1 [["job_id", 28918574], ["file_type", 1]]
D, [2018-02-19T15:27:11.796848 #124652] DEBUG -- : ↳ app/models/concerns/artifact_migratable.rb:6:in `artifacts_file'
D, [2018-02-19T15:27:11.797188 #124652] DEBUG -- : ↳ app/models/concerns/artifact_migratable.rb:14:in `artifacts?'
D, [2018-02-19T15:27:11.797416 #124652] DEBUG -- : ↳ app/models/concerns/artifact_migratable.rb:18:in `artifacts_metadata?'
D, [2018-02-19T15:27:11.797659 #124652] DEBUG -- : ↳ app/serializers/base_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:11.797927 #124652] DEBUG -- : ↳ app/serializers/merge_request_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:11.798213 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:62:in `block (2 levels) in show'
D, [2018-02-19T15:27:11.798462 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:41:in `show'
D, [2018-02-19T15:27:11.798774 #124652] DEBUG -- : ↳ app/controllers/application_controller.rb:333:in `set_locale'
D, [2018-02-19T15:27:11.810028 #124652] DEBUG -- : Ci::JobArtifact Load (1.3ms) SELECT "ci_job_artifacts".* FROM "ci_job_artifacts" WHERE "ci_job_artifacts"."job_id" = 28918574 AND "ci_job_artifacts"."file_type" = 2 LIMIT 1 [["job_id", 28918574], ["file_type", 2]]
D, [2018-02-19T15:27:11.815317 #124652] DEBUG -- : ↳ app/models/concerns/artifact_migratable.rb:10:in `artifacts_metadata'
D, [2018-02-19T15:27:11.815581 #124652] DEBUG -- : ↳ app/models/concerns/artifact_migratable.rb:18:in `artifacts_metadata?'
D, [2018-02-19T15:27:11.815841 #124652] DEBUG -- : ↳ app/serializers/base_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:11.816234 #124652] DEBUG -- : ↳ app/serializers/merge_request_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:11.816502 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:62:in `block (2 levels) in show'
D, [2018-02-19T15:27:11.816754 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:41:in `show'
D, [2018-02-19T15:27:11.817229 #124652] DEBUG -- : ↳ app/controllers/application_controller.rb:333:in `set_locale'
D, [2018-02-19T15:27:11.836141 #124652] DEBUG -- : Ci::Build Load (2.2ms) SELECT "ci_builds".* FROM "ci_builds" WHERE "ci_builds"."type" IN ('Ci::Build') AND "ci_builds"."commit_id" = 10769565 AND "ci_builds"."type" IN ('Ci::Build') AND ("ci_builds"."retried" = 'f' OR "ci_builds"."retried" IS NULL) AND ((artifacts_file IS NOT NULL AND artifacts_file <> '') OR EXISTS (SELECT 1 FROM "ci_job_artifacts" WHERE (ci_builds.id = ci_job_artifacts.job_id))) AND (artifacts_expire_at IS NULL OR artifacts_expire_at > '2018-02-19 15:27:11.315653') AND "ci_builds"."name" IN ('codequality', 'codeclimate') [["commit_id", 10769565]]
D, [2018-02-19T15:27:11.840567 #124652] DEBUG -- : ↳ app/serializers/base_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:11.840842 #124652] DEBUG -- : ↳ app/serializers/merge_request_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:11.841071 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:62:in `block (2 levels) in show'
D, [2018-02-19T15:27:11.841389 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:41:in `show'
D, [2018-02-19T15:27:11.841937 #124652] DEBUG -- : ↳ app/controllers/application_controller.rb:333:in `set_locale'
D, [2018-02-19T15:27:11.855138 #124652] DEBUG -- : Project Load (1.8ms) SELECT "projects".* FROM "projects" WHERE "projects"."id" IN (13083)
D, [2018-02-19T15:27:11.859731 #124652] DEBUG -- : ↳ app/serializers/base_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:11.860155 #124652] DEBUG -- : ↳ app/serializers/merge_request_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:11.860484 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:62:in `block (2 levels) in show'
D, [2018-02-19T15:27:11.860833 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:41:in `show'
D, [2018-02-19T15:27:11.861233 #124652] DEBUG -- : ↳ app/controllers/application_controller.rb:333:in `set_locale'
D, [2018-02-19T15:27:11.876965 #124652] DEBUG -- : Ci::JobArtifact Load (1.4ms) SELECT "ci_job_artifacts".* FROM "ci_job_artifacts" WHERE "ci_job_artifacts"."job_id" = 28940150 AND "ci_job_artifacts"."file_type" = 1 LIMIT 1 [["job_id", 28940150], ["file_type", 1]]
D, [2018-02-19T15:27:11.881374 #124652] DEBUG -- : ↳ app/models/concerns/artifact_migratable.rb:6:in `artifacts_file'
D, [2018-02-19T15:27:11.881670 #124652] DEBUG -- : ↳ app/models/concerns/artifact_migratable.rb:14:in `artifacts?'
D, [2018-02-19T15:27:11.881896 #124652] DEBUG -- : ↳ app/models/concerns/artifact_migratable.rb:18:in `artifacts_metadata?'
D, [2018-02-19T15:27:11.882136 #124652] DEBUG -- : ↳ app/serializers/base_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:11.882361 #124652] DEBUG -- : ↳ app/serializers/merge_request_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:11.882577 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:62:in `block (2 levels) in show'
D, [2018-02-19T15:27:11.882791 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:41:in `show'
D, [2018-02-19T15:27:11.883174 #124652] DEBUG -- : ↳ app/controllers/application_controller.rb:333:in `set_locale'
D, [2018-02-19T15:27:11.894585 #124652] DEBUG -- : Ci::JobArtifact Load (1.2ms) SELECT "ci_job_artifacts".* FROM "ci_job_artifacts" WHERE "ci_job_artifacts"."job_id" = 28940150 AND "ci_job_artifacts"."file_type" = 2 LIMIT 1 [["job_id", 28940150], ["file_type", 2]]
D, [2018-02-19T15:27:11.899067 #124652] DEBUG -- : ↳ app/models/concerns/artifact_migratable.rb:10:in `artifacts_metadata'
D, [2018-02-19T15:27:11.899384 #124652] DEBUG -- : ↳ app/models/concerns/artifact_migratable.rb:18:in `artifacts_metadata?'
D, [2018-02-19T15:27:11.899668 #124652] DEBUG -- : ↳ app/serializers/base_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:11.899929 #124652] DEBUG -- : ↳ app/serializers/merge_request_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:11.900239 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:62:in `block (2 levels) in show'
D, [2018-02-19T15:27:11.900581 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:41:in `show'
D, [2018-02-19T15:27:11.901034 #124652] DEBUG -- : ↳ app/controllers/application_controller.rb:333:in `set_locale'
D, [2018-02-19T15:27:11.909259 #124652] DEBUG -- : Namespace Load (1.2ms) SELECT "namespaces".* FROM "namespaces" WHERE "namespaces"."id" = 9970 LIMIT 1 [["id", 9970]]
D, [2018-02-19T15:27:11.913413 #124652] DEBUG -- : ↳ config/application.rb:209:in `block (4 levels) in <class:Application>'
D, [2018-02-19T15:27:11.913763 #124652] DEBUG -- : ↳ app/serializers/base_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:11.914007 #124652] DEBUG -- : ↳ app/serializers/merge_request_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:11.914268 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:62:in `block (2 levels) in show'
D, [2018-02-19T15:27:11.914502 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:41:in `show'
D, [2018-02-19T15:27:11.914910 #124652] DEBUG -- : ↳ app/controllers/application_controller.rb:333:in `set_locale'
D, [2018-02-19T15:27:11.929148 #124652] DEBUG -- : Ci::Build Load (1.9ms) SELECT "ci_builds".* FROM "ci_builds" WHERE "ci_builds"."type" IN ('Ci::Build') AND "ci_builds"."commit_id" = 10763202 AND "ci_builds"."type" IN ('Ci::Build') AND ("ci_builds"."retried" = 'f' OR "ci_builds"."retried" IS NULL) AND ((artifacts_file IS NOT NULL AND artifacts_file <> '') OR EXISTS (SELECT 1 FROM "ci_job_artifacts" WHERE (ci_builds.id = ci_job_artifacts.job_id))) AND (artifacts_expire_at IS NULL OR artifacts_expire_at > '2018-02-19 15:27:11.454335') AND "ci_builds"."name" IN ('codequality', 'codeclimate') [["commit_id", 10763202]]
D, [2018-02-19T15:27:11.933279 #124652] DEBUG -- : ↳ app/serializers/base_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:11.933594 #124652] DEBUG -- : ↳ app/serializers/merge_request_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:11.933839 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:62:in `block (2 levels) in show'
D, [2018-02-19T15:27:11.934120 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:41:in `show'
D, [2018-02-19T15:27:11.934472 #124652] DEBUG -- : ↳ app/controllers/application_controller.rb:333:in `set_locale'
D, [2018-02-19T15:27:11.945707 #124652] DEBUG -- : Project Load (1.6ms) SELECT "projects".* FROM "projects" WHERE "projects"."id" IN (13083)
D, [2018-02-19T15:27:11.950836 #124652] DEBUG -- : ↳ app/serializers/base_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:11.951124 #124652] DEBUG -- : ↳ app/serializers/merge_request_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:11.951369 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:62:in `block (2 levels) in show'
D, [2018-02-19T15:27:11.951654 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:41:in `show'
D, [2018-02-19T15:27:11.952159 #124652] DEBUG -- : ↳ app/controllers/application_controller.rb:333:in `set_locale'
D, [2018-02-19T15:27:11.967752 #124652] DEBUG -- : Ci::JobArtifact Load (1.2ms) SELECT "ci_job_artifacts".* FROM "ci_job_artifacts" WHERE "ci_job_artifacts"."job_id" = 28918574 AND "ci_job_artifacts"."file_type" = 1 LIMIT 1 [["job_id", 28918574], ["file_type", 1]]
D, [2018-02-19T15:27:11.973928 #124652] DEBUG -- : ↳ app/models/concerns/artifact_migratable.rb:6:in `artifacts_file'
D, [2018-02-19T15:27:11.974339 #124652] DEBUG -- : ↳ app/models/concerns/artifact_migratable.rb:14:in `artifacts?'
D, [2018-02-19T15:27:11.974665 #124652] DEBUG -- : ↳ app/models/concerns/artifact_migratable.rb:18:in `artifacts_metadata?'
D, [2018-02-19T15:27:11.975002 #124652] DEBUG -- : ↳ app/serializers/base_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:11.975315 #124652] DEBUG -- : ↳ app/serializers/merge_request_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:11.975578 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:62:in `block (2 levels) in show'
D, [2018-02-19T15:27:11.975886 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:41:in `show'
D, [2018-02-19T15:27:11.976301 #124652] DEBUG -- : ↳ app/controllers/application_controller.rb:333:in `set_locale'
D, [2018-02-19T15:27:11.986729 #124652] DEBUG -- : Ci::JobArtifact Load (1.4ms) SELECT "ci_job_artifacts".* FROM "ci_job_artifacts" WHERE "ci_job_artifacts"."job_id" = 28918574 AND "ci_job_artifacts"."file_type" = 2 LIMIT 1 [["job_id", 28918574], ["file_type", 2]]
D, [2018-02-19T15:27:11.991620 #124652] DEBUG -- : ↳ app/models/concerns/artifact_migratable.rb:10:in `artifacts_metadata'
D, [2018-02-19T15:27:11.991951 #124652] DEBUG -- : ↳ app/models/concerns/artifact_migratable.rb:18:in `artifacts_metadata?'
D, [2018-02-19T15:27:11.992269 #124652] DEBUG -- : ↳ app/serializers/base_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:11.992547 #124652] DEBUG -- : ↳ app/serializers/merge_request_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:11.992787 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:62:in `block (2 levels) in show'
D, [2018-02-19T15:27:11.993044 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:41:in `show'
D, [2018-02-19T15:27:11.993378 #124652] DEBUG -- : ↳ app/controllers/application_controller.rb:333:in `set_locale'
D, [2018-02-19T15:27:12.006121 #124652] DEBUG -- : (1.2ms) SELECT "features"."key" FROM "features"
D, [2018-02-19T15:27:12.010088 #124652] DEBUG -- : ↳ lib/feature.rb:8:in `feature_names'
D, [2018-02-19T15:27:12.010407 #124652] DEBUG -- : ↳ lib/feature.rb:29:in `persisted_names'
D, [2018-02-19T15:27:12.010706 #124652] DEBUG -- : ↳ lib/feature.rb:39:in `persisted?'
D, [2018-02-19T15:27:12.010974 #124652] DEBUG -- : ↳ lib/gitlab/gitaly_client.rb:188:in `feature_enabled?'
D, [2018-02-19T15:27:12.011351 #124652] DEBUG -- : ↳ lib/gitlab/gitaly_client.rb:221:in `migrate'
D, [2018-02-19T15:27:12.011582 #124652] DEBUG -- : ↳ lib/gitlab/git/repository.rb:1338:in `gitaly_migrate'
D, [2018-02-19T15:27:12.011836 #124652] DEBUG -- : ↳ lib/gitlab/git/repository.rb:1216:in `rebase_in_progress?'
D, [2018-02-19T15:27:12.012163 #124652] DEBUG -- : ↳ app/models/repository.rb:482:in `method_missing'
D, [2018-02-19T15:27:12.012648 #124652] DEBUG -- : ↳ app/models/merge_request.rb:171:in `block in rebase_in_progress?'
D, [2018-02-19T15:27:12.012918 #124652] DEBUG -- : ↳ lib/gitlab/utils/strong_memoize.rb:26:in `strong_memoize'
D, [2018-02-19T15:27:12.013182 #124652] DEBUG -- : ↳ app/models/merge_request.rb:167:in `rebase_in_progress?'
D, [2018-02-19T15:27:12.013563 #124652] DEBUG -- : ↳ app/serializers/base_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:12.013838 #124652] DEBUG -- : ↳ app/serializers/merge_request_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:12.014050 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:62:in `block (2 levels) in show'
D, [2018-02-19T15:27:12.014350 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:41:in `show'
D, [2018-02-19T15:27:12.014655 #124652] DEBUG -- : ↳ app/controllers/application_controller.rb:333:in `set_locale'
D, [2018-02-19T15:27:12.035379 #124652] DEBUG -- : MergeRequest::Metrics Load (1.4ms) SELECT "merge_request_metrics".* FROM "merge_request_metrics" WHERE "merge_request_metrics"."merge_request_id" = 3985770 LIMIT 1 [["merge_request_id", 3985770]]
D, [2018-02-19T15:27:12.039607 #124652] DEBUG -- : ↳ app/serializers/merge_request_widget_entity.rb:231:in `build_metrics'
D, [2018-02-19T15:27:12.039937 #124652] DEBUG -- : ↳ app/serializers/merge_request_widget_entity.rb:40:in `block in <class:MergeRequestWidgetEntity>'
D, [2018-02-19T15:27:12.040332 #124652] DEBUG -- : ↳ app/serializers/base_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:12.040596 #124652] DEBUG -- : ↳ app/serializers/merge_request_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:12.040921 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:62:in `block (2 levels) in show'
D, [2018-02-19T15:27:12.041297 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:41:in `show'
D, [2018-02-19T15:27:12.041881 #124652] DEBUG -- : ↳ app/controllers/application_controller.rb:333:in `set_locale'
D, [2018-02-19T15:27:12.053074 #124652] DEBUG -- : User Load (1.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = 443319 LIMIT 1 [["id", 443319]]
D, [2018-02-19T15:27:12.057282 #124652] DEBUG -- : ↳ app/serializers/merge_request_widget_entity.rb:42:in `block in <class:MergeRequestWidgetEntity>'
D, [2018-02-19T15:27:12.057608 #124652] DEBUG -- : ↳ app/serializers/base_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:12.057840 #124652] DEBUG -- : ↳ app/serializers/merge_request_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:12.058067 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:62:in `block (2 levels) in show'
D, [2018-02-19T15:27:12.058340 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:41:in `show'
D, [2018-02-19T15:27:12.058695 #124652] DEBUG -- : ↳ app/controllers/application_controller.rb:333:in `set_locale'
D, [2018-02-19T15:27:12.073585 #124652] DEBUG -- : Upload Load (2.0ms) SELECT "uploads".* FROM "uploads" WHERE "uploads"."uploader" = 'AvatarUploader' AND "uploads"."model_type" = 'User' AND "uploads"."model_id" = 443319 AND "uploads"."path" IN ('uploads/-/system/user/avatar/443319/avatar.png', 'user/avatar/443319/avatar.png') ORDER BY "uploads"."id" DESC LIMIT 1 [["uploader", "AvatarUploader"]]
D, [2018-02-19T15:27:12.112190 #124652] DEBUG -- : ↳ app/models/concerns/avatarable.rb:52:in `avatar_path'
D, [2018-02-19T15:27:12.112531 #124652] DEBUG -- : ↳ app/models/concerns/avatarable.rb:19:in `avatar_url'
D, [2018-02-19T15:27:12.112784 #124652] DEBUG -- : ↳ lib/api/entities.rb:21:in `block in <class:UserBasic>'
D, [2018-02-19T15:27:12.113124 #124652] DEBUG -- : ↳ app/serializers/merge_request_widget_entity.rb:42:in `block in <class:MergeRequestWidgetEntity>'
D, [2018-02-19T15:27:12.113406 #124652] DEBUG -- : ↳ app/serializers/base_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:12.113652 #124652] DEBUG -- : ↳ app/serializers/merge_request_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:12.113893 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:62:in `block (2 levels) in show'
D, [2018-02-19T15:27:12.114188 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:41:in `show'
D, [2018-02-19T15:27:12.114534 #124652] DEBUG -- : ↳ app/controllers/application_controller.rb:333:in `set_locale'
D, [2018-02-19T15:27:12.142990 #124652] DEBUG -- : User Load (1.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = 209240 LIMIT 1 [["id", 209240]]
D, [2018-02-19T15:27:12.147303 #124652] DEBUG -- : ↳ app/models/merge_request.rb:749:in `closes_issues'
D, [2018-02-19T15:27:12.147600 #124652] DEBUG -- : ↳ app/models/merge_request.rb:815:in `merge_commit_message'
D, [2018-02-19T15:27:12.148219 #124652] DEBUG -- : ↳ app/serializers/base_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:12.148477 #124652] DEBUG -- : ↳ app/serializers/merge_request_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:12.148722 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:62:in `block (2 levels) in show'
D, [2018-02-19T15:27:12.149013 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:41:in `show'
D, [2018-02-19T15:27:12.149415 #124652] DEBUG -- : ↳ app/controllers/application_controller.rb:333:in `set_locale'
D, [2018-02-19T15:27:12.479085 #124652] DEBUG -- : MergeRequestDiffCommit Load (2.0ms) SELECT "merge_request_diff_commits".* FROM "merge_request_diff_commits" WHERE "merge_request_diff_commits"."merge_request_diff_id" = 6137112 ORDER BY "merge_request_diff_commits"."merge_request_diff_id" ASC, "merge_request_diff_commits"."relative_order" ASC [["merge_request_diff_id", 6137112]]
D, [2018-02-19T15:27:12.483545 #124652] DEBUG -- : ↳ app/models/merge_request_diff.rb:241:in `load_commits'
D, [2018-02-19T15:27:12.483924 #124652] DEBUG -- : ↳ app/models/merge_request_diff.rb:96:in `commits'
D, [2018-02-19T15:27:12.484285 #124652] DEBUG -- : ↳ app/models/merge_request.rb:302:in `commits'
D, [2018-02-19T15:27:12.484518 #124652] DEBUG -- : ↳ app/models/merge_request.rb:752:in `closes_issues'
D, [2018-02-19T15:27:12.484748 #124652] DEBUG -- : ↳ app/models/merge_request.rb:815:in `merge_commit_message'
D, [2018-02-19T15:27:12.485268 #124652] DEBUG -- : ↳ app/serializers/base_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:12.485513 #124652] DEBUG -- : ↳ app/serializers/merge_request_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:12.485861 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:62:in `block (2 levels) in show'
D, [2018-02-19T15:27:12.486151 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:41:in `show'
D, [2018-02-19T15:27:12.486470 #124652] DEBUG -- : ↳ app/controllers/application_controller.rb:333:in `set_locale'
D, [2018-02-19T15:27:12.501479 #124652] DEBUG -- : GitlabIssueTrackerService Load (1.8ms) SELECT "services".* FROM "services" WHERE "services"."type" IN ('GitlabIssueTrackerService') AND "services"."project_id" = 13083 LIMIT 1 [["project_id", 13083]]
D, [2018-02-19T15:27:12.505473 #124652] DEBUG -- : ↳ app/models/project.rb:819:in `default_issue_tracker'
D, [2018-02-19T15:27:12.505758 #124652] DEBUG -- : ↳ app/models/project.rb:826:in `issues_tracker'
D, [2018-02-19T15:27:12.505996 #124652] DEBUG -- : ↳ app/models/project.rb:932:in `jira_tracker?'
D, [2018-02-19T15:27:12.506296 #124652] DEBUG -- : ↳ lib/gitlab/reference_extractor.rb:35:in `issues'
D, [2018-02-19T15:27:12.506646 #124652] DEBUG -- : ↳ lib/gitlab/closing_issue_extractor.rb:25:in `closed_by_message'
D, [2018-02-19T15:27:12.506876 #124652] DEBUG -- : ↳ app/models/merge_request.rb:755:in `closes_issues'
D, [2018-02-19T15:27:12.507129 #124652] DEBUG -- : ↳ app/models/merge_request.rb:815:in `merge_commit_message'
D, [2018-02-19T15:27:12.507486 #124652] DEBUG -- : ↳ app/serializers/base_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:12.507714 #124652] DEBUG -- : ↳ app/serializers/merge_request_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:12.507939 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:62:in `block (2 levels) in show'
D, [2018-02-19T15:27:12.508456 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:41:in `show'
D, [2018-02-19T15:27:12.508783 #124652] DEBUG -- : ↳ app/controllers/application_controller.rb:333:in `set_locale'
D, [2018-02-19T15:27:12.528980 #124652] DEBUG -- : Project Load (2.3ms) SELECT "projects".* FROM "projects" WHERE "projects"."id" = 13083 LIMIT 1 [["id", 13083]]
D, [2018-02-19T15:27:12.534009 #124652] DEBUG -- : ↳ app/policies/ci/pipeline_policy.rb:3:in `block in <class:PipelinePolicy>'
D, [2018-02-19T15:27:12.534355 #124652] DEBUG -- : ↳ lib/declarative_policy/base.rb:310:in `instance_eval'
D, [2018-02-19T15:27:12.534630 #124652] DEBUG -- : ↳ lib/declarative_policy/base.rb:310:in `block in delegated_policies'
D, [2018-02-19T15:27:12.536058 #124652] DEBUG -- : ↳ lib/declarative_policy/base.rb:309:in `delegated_policies'
D, [2018-02-19T15:27:12.536522 #124652] DEBUG -- : ↳ lib/declarative_policy/base.rb:266:in `runner'
D, [2018-02-19T15:27:12.536781 #124652] DEBUG -- : ↳ lib/declarative_policy/base.rb:215:in `block in allowed?'
D, [2018-02-19T15:27:12.537036 #124652] DEBUG -- : ↳ lib/declarative_policy/base.rb:215:in `each'
D, [2018-02-19T15:27:12.537370 #124652] DEBUG -- : ↳ lib/declarative_policy/base.rb:215:in `all?'
D, [2018-02-19T15:27:12.537613 #124652] DEBUG -- : ↳ lib/declarative_policy/base.rb:215:in `allowed?'
D, [2018-02-19T15:27:12.537854 #124652] DEBUG -- : ↳ lib/declarative_policy/base.rb:207:in `can?'
D, [2018-02-19T15:27:12.538113 #124652] DEBUG -- : ↳ app/models/ability.rb:48:in `allowed?'
D, [2018-02-19T15:27:12.538482 #124652] DEBUG -- : ↳ lib/gitlab/allowable.rb:4:in `can?'
D, [2018-02-19T15:27:12.538725 #124652] DEBUG -- : ↳ app/serializers/pipeline_entity.rb:67:in `can_retry?'
D, [2018-02-19T15:27:12.538961 #124652] DEBUG -- : ↳ app/serializers/pipeline_entity.rb:54:in `block in <class:PipelineEntity>'
D, [2018-02-19T15:27:12.539244 #124652] DEBUG -- : ↳ app/serializers/base_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:12.539485 #124652] DEBUG -- : ↳ app/serializers/merge_request_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:12.539753 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:62:in `block (2 levels) in show'
D, [2018-02-19T15:27:12.539996 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:41:in `show'
D, [2018-02-19T15:27:12.540376 #124652] DEBUG -- : ↳ app/controllers/application_controller.rb:333:in `set_locale'
D, [2018-02-19T15:27:12.562869 #124652] DEBUG -- : ProtectedBranch Load (1.4ms) SELECT "protected_branches"."name" FROM "protected_branches" WHERE "protected_branches"."project_id" = 13083 [["project_id", 13083]]
D, [2018-02-19T15:27:12.568496 #124652] DEBUG -- : ↳ app/models/protected_ref_matcher.rb:13:in `matching'
D, [2018-02-19T15:27:12.568800 #124652] DEBUG -- : ↳ app/models/concerns/protected_ref.rb:52:in `matching'
D, [2018-02-19T15:27:12.569049 #124652] DEBUG -- : ↳ app/models/protected_branch.rb:14:in `protected?'
D, [2018-02-19T15:27:12.569529 #124652] DEBUG -- : ↳ lib/gitlab/user_access.rb:117:in `protected?'
D, [2018-02-19T15:27:12.569803 #124652] DEBUG -- : ↳ lib/gitlab/cache/request_cache.rb:76:in `block (3 levels) in request_cache'
D, [2018-02-19T15:27:12.570067 #124652] DEBUG -- : ↳ lib/gitlab/cache/request_cache.rb:76:in `fetch'
D, [2018-02-19T15:27:12.570371 #124652] DEBUG -- : ↳ lib/gitlab/cache/request_cache.rb:76:in `block (2 levels) in request_cache'
D, [2018-02-19T15:27:12.570666 #124652] DEBUG -- : ↳ lib/gitlab/user_access.rb:67:in `can_push_to_branch?'
D, [2018-02-19T15:27:12.570933 #124652] DEBUG -- : ↳ lib/gitlab/cache/request_cache.rb:76:in `block (3 levels) in request_cache'
D, [2018-02-19T15:27:12.571246 #124652] DEBUG -- : ↳ lib/gitlab/cache/request_cache.rb:76:in `fetch'
D, [2018-02-19T15:27:12.571495 #124652] DEBUG -- : ↳ lib/gitlab/cache/request_cache.rb:76:in `block (2 levels) in request_cache'
D, [2018-02-19T15:27:12.571775 #124652] DEBUG -- : ↳ lib/gitlab/user_access.rb:61:in `can_update_branch?'
D, [2018-02-19T15:27:12.572251 #124652] DEBUG -- : ↳ app/policies/ci/pipeline_policy.rb:15:in `ref_protected?'
D, [2018-02-19T15:27:12.573287 #124652] DEBUG -- : ↳ app/policies/ci/pipeline_policy.rb:5:in `block in <class:PipelinePolicy>'
D, [2018-02-19T15:27:12.573979 #124652] DEBUG -- : ↳ lib/declarative_policy/condition.rb:21:in `instance_eval'
D, [2018-02-19T15:27:12.574332 #124652] DEBUG -- : ↳ lib/declarative_policy/condition.rb:21:in `compute'
D, [2018-02-19T15:27:12.574627 #124652] DEBUG -- : ↳ lib/declarative_policy/condition.rb:42:in `block in pass?'
D, [2018-02-19T15:27:12.574883 #124652] DEBUG -- : ↳ lib/declarative_policy/base.rb:280:in `cache'
D, [2018-02-19T15:27:12.575147 #124652] DEBUG -- : ↳ lib/declarative_policy/condition.rb:42:in `pass?'
D, [2018-02-19T15:27:12.575400 #124652] DEBUG -- : ↳ lib/declarative_policy/rule.rb:79:in `pass?'
D, [2018-02-19T15:27:12.575645 #124652] DEBUG -- : ↳ lib/declarative_policy/step.rb:79:in `pass?'
D, [2018-02-19T15:27:12.576161 #124652] DEBUG -- : ↳ lib/declarative_policy/runner.rb:98:in `block in run'
D, [2018-02-19T15:27:12.576429 #124652] DEBUG -- : ↳ lib/declarative_policy/runner.rb:177:in `block in steps_by_score'
D, [2018-02-19T15:27:12.576680 #124652] DEBUG -- : ↳ lib/declarative_policy/runner.rb:146:in `loop'
D, [2018-02-19T15:27:12.576924 #124652] DEBUG -- : ↳ lib/declarative_policy/runner.rb:146:in `steps_by_score'
D, [2018-02-19T15:27:12.577325 #124652] DEBUG -- : ↳ lib/declarative_policy/runner.rb:79:in `run'
D, [2018-02-19T15:27:12.577580 #124652] DEBUG -- : ↳ lib/declarative_policy/runner.rb:57:in `pass?'
D, [2018-02-19T15:27:12.577832 #124652] DEBUG -- : ↳ lib/declarative_policy/base.rb:215:in `block in allowed?'
D, [2018-02-19T15:27:12.578093 #124652] DEBUG -- : ↳ lib/declarative_policy/base.rb:215:in `each'
D, [2018-02-19T15:27:12.578353 #124652] DEBUG -- : ↳ lib/declarative_policy/base.rb:215:in `all?'
D, [2018-02-19T15:27:12.578602 #124652] DEBUG -- : ↳ lib/declarative_policy/base.rb:215:in `allowed?'
D, [2018-02-19T15:27:12.578849 #124652] DEBUG -- : ↳ lib/declarative_policy/base.rb:207:in `can?'
D, [2018-02-19T15:27:12.579169 #124652] DEBUG -- : ↳ app/models/ability.rb:48:in `allowed?'
D, [2018-02-19T15:27:12.579756 #124652] DEBUG -- : ↳ lib/gitlab/allowable.rb:4:in `can?'
D, [2018-02-19T15:27:12.580136 #124652] DEBUG -- : ↳ app/serializers/pipeline_entity.rb:67:in `can_retry?'
D, [2018-02-19T15:27:12.580427 #124652] DEBUG -- : ↳ app/serializers/pipeline_entity.rb:54:in `block in <class:PipelineEntity>'
D, [2018-02-19T15:27:12.580689 #124652] DEBUG -- : ↳ app/serializers/base_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:12.580936 #124652] DEBUG -- : ↳ app/serializers/merge_request_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:12.581268 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:62:in `block (2 levels) in show'
D, [2018-02-19T15:27:12.581518 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:41:in `show'
D, [2018-02-19T15:27:12.581923 #124652] DEBUG -- : ↳ app/controllers/application_controller.rb:333:in `set_locale'
D, [2018-02-19T15:27:12.601874 #124652] DEBUG -- : (1.1ms) SELECT MAX("project_authorizations"."access_level") AS maximum_access_level, "project_authorizations"."user_id" AS project_authorizations_user_id FROM "project_authorizations" WHERE "project_authorizations"."project_id" = 13083 AND "project_authorizations"."user_id" = 11493 GROUP BY "project_authorizations"."user_id" [["project_id", 13083]]
D, [2018-02-19T15:27:12.606968 #124652] DEBUG -- : ↳ app/models/project_team.rb:156:in `block in max_member_access_for_user_ids'
D, [2018-02-19T15:27:12.607285 #124652] DEBUG -- : ↳ app/models/concerns/bulk_member_access_load.rb:27:in `max_member_access_for_resource_ids'
D, [2018-02-19T15:27:12.607544 #124652] DEBUG -- : ↳ app/models/project_team.rb:152:in `max_member_access_for_user_ids'
D, [2018-02-19T15:27:12.607798 #124652] DEBUG -- : ↳ app/models/project_team.rb:161:in `max_member_access'
D, [2018-02-19T15:27:12.608048 #124652] DEBUG -- : ↳ app/policies/project_policy.rb:335:in `team_access_level'
D, [2018-02-19T15:27:12.608363 #124652] DEBUG -- : ↳ app/policies/project_policy.rb:34:in `block in <class:ProjectPolicy>'
D, [2018-02-19T15:27:12.608613 #124652] DEBUG -- : ↳ lib/declarative_policy/condition.rb:21:in `instance_eval'
D, [2018-02-19T15:27:12.608859 #124652] DEBUG -- : ↳ lib/declarative_policy/condition.rb:21:in `compute'
D, [2018-02-19T15:27:12.609134 #124652] DEBUG -- : ↳ lib/declarative_policy/condition.rb:42:in `block in pass?'
D, [2018-02-19T15:27:12.609388 #124652] DEBUG -- : ↳ lib/declarative_policy/base.rb:280:in `cache'
D, [2018-02-19T15:27:12.609634 #124652] DEBUG -- : ↳ lib/declarative_policy/condition.rb:42:in `pass?'
D, [2018-02-19T15:27:12.609879 #124652] DEBUG -- : ↳ lib/declarative_policy/rule.rb:79:in `pass?'
D, [2018-02-19T15:27:12.610159 #124652] DEBUG -- : ↳ lib/declarative_policy/step.rb:79:in `pass?'
D, [2018-02-19T15:27:12.610413 #124652] DEBUG -- : ↳ lib/declarative_policy/runner.rb:89:in `block in run'
D, [2018-02-19T15:27:12.610658 #124652] DEBUG -- : ↳ lib/declarative_policy/runner.rb:177:in `block in steps_by_score'
D, [2018-02-19T15:27:12.610904 #124652] DEBUG -- : ↳ lib/declarative_policy/runner.rb:146:in `loop'
D, [2018-02-19T15:27:12.611181 #124652] DEBUG -- : ↳ lib/declarative_policy/runner.rb:146:in `steps_by_score'
D, [2018-02-19T15:27:12.611432 #124652] DEBUG -- : ↳ lib/declarative_policy/runner.rb:79:in `run'
D, [2018-02-19T15:27:12.611674 #124652] DEBUG -- : ↳ lib/declarative_policy/runner.rb:57:in `pass?'
D, [2018-02-19T15:27:12.611928 #124652] DEBUG -- : ↳ lib/declarative_policy/base.rb:215:in `block in allowed?'
D, [2018-02-19T15:27:12.612231 #124652] DEBUG -- : ↳ lib/declarative_policy/base.rb:215:in `each'
D, [2018-02-19T15:27:12.612483 #124652] DEBUG -- : ↳ lib/declarative_policy/base.rb:215:in `all?'
D, [2018-02-19T15:27:12.612729 #124652] DEBUG -- : ↳ lib/declarative_policy/base.rb:215:in `allowed?'
D, [2018-02-19T15:27:12.612979 #124652] DEBUG -- : ↳ lib/declarative_policy/base.rb:207:in `can?'
D, [2018-02-19T15:27:12.613320 #124652] DEBUG -- : ↳ app/models/ability.rb:48:in `allowed?'
D, [2018-02-19T15:27:12.613687 #124652] DEBUG -- : ↳ app/models/user.rb:691:in `can?'
D, [2018-02-19T15:27:12.613935 #124652] DEBUG -- : ↳ lib/gitlab/user_access.rb:72:in `can_push_to_branch?'
D, [2018-02-19T15:27:12.614221 #124652] DEBUG -- : ↳ lib/gitlab/cache/request_cache.rb:76:in `block (3 levels) in request_cache'
D, [2018-02-19T15:27:12.614476 #124652] DEBUG -- : ↳ lib/gitlab/cache/request_cache.rb:76:in `fetch'
D, [2018-02-19T15:27:12.614721 #124652] DEBUG -- : ↳ lib/gitlab/cache/request_cache.rb:76:in `block (2 levels) in request_cache'
D, [2018-02-19T15:27:12.614968 #124652] DEBUG -- : ↳ lib/gitlab/user_access.rb:61:in `can_update_branch?'
D, [2018-02-19T15:27:12.615246 #124652] DEBUG -- : ↳ app/policies/ci/pipeline_policy.rb:15:in `ref_protected?'
D, [2018-02-19T15:27:12.615487 #124652] DEBUG -- : ↳ app/policies/ci/pipeline_policy.rb:5:in `block in <class:PipelinePolicy>'
D, [2018-02-19T15:27:12.615738 #124652] DEBUG -- : ↳ lib/declarative_policy/condition.rb:21:in `instance_eval'
D, [2018-02-19T15:27:12.615999 #124652] DEBUG -- : ↳ lib/declarative_policy/condition.rb:21:in `compute'
D, [2018-02-19T15:27:12.616301 #124652] DEBUG -- : ↳ lib/declarative_policy/condition.rb:42:in `block in pass?'
D, [2018-02-19T15:27:12.616559 #124652] DEBUG -- : ↳ lib/declarative_policy/base.rb:280:in `cache'
D, [2018-02-19T15:27:12.616808 #124652] DEBUG -- : ↳ lib/declarative_policy/condition.rb:42:in `pass?'
D, [2018-02-19T15:27:12.617085 #124652] DEBUG -- : ↳ lib/declarative_policy/rule.rb:79:in `pass?'
D, [2018-02-19T15:27:12.617341 #124652] DEBUG -- : ↳ lib/declarative_policy/step.rb:79:in `pass?'
D, [2018-02-19T15:27:12.617593 #124652] DEBUG -- : ↳ lib/declarative_policy/runner.rb:98:in `block in run'
D, [2018-02-19T15:27:12.617828 #124652] DEBUG -- : ↳ lib/declarative_policy/runner.rb:177:in `block in steps_by_score'
D, [2018-02-19T15:27:12.618075 #124652] DEBUG -- : ↳ lib/declarative_policy/runner.rb:146:in `loop'
D, [2018-02-19T15:27:12.618354 #124652] DEBUG -- : ↳ lib/declarative_policy/runner.rb:146:in `steps_by_score'
D, [2018-02-19T15:27:12.618599 #124652] DEBUG -- : ↳ lib/declarative_policy/runner.rb:79:in `run'
D, [2018-02-19T15:27:12.618848 #124652] DEBUG -- : ↳ lib/declarative_policy/runner.rb:57:in `pass?'
D, [2018-02-19T15:27:12.619133 #124652] DEBUG -- : ↳ lib/declarative_policy/base.rb:215:in `block in allowed?'
D, [2018-02-19T15:27:12.619387 #124652] DEBUG -- : ↳ lib/declarative_policy/base.rb:215:in `each'
D, [2018-02-19T15:27:12.619826 #124652] DEBUG -- : ↳ lib/declarative_policy/base.rb:215:in `all?'
D, [2018-02-19T15:27:12.620120 #124652] DEBUG -- : ↳ lib/declarative_policy/base.rb:215:in `allowed?'
D, [2018-02-19T15:27:12.620380 #124652] DEBUG -- : ↳ lib/declarative_policy/base.rb:207:in `can?'
D, [2018-02-19T15:27:12.620629 #124652] DEBUG -- : ↳ app/models/ability.rb:48:in `allowed?'
D, [2018-02-19T15:27:12.621000 #124652] DEBUG -- : ↳ lib/gitlab/allowable.rb:4:in `can?'
D, [2018-02-19T15:27:12.621278 #124652] DEBUG -- : ↳ app/serializers/pipeline_entity.rb:67:in `can_retry?'
D, [2018-02-19T15:27:12.621551 #124652] DEBUG -- : ↳ app/serializers/pipeline_entity.rb:54:in `block in <class:PipelineEntity>'
D, [2018-02-19T15:27:12.621799 #124652] DEBUG -- : ↳ app/serializers/base_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:12.622047 #124652] DEBUG -- : ↳ app/serializers/merge_request_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:12.622328 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:62:in `block (2 levels) in show'
D, [2018-02-19T15:27:12.622576 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:41:in `show'
D, [2018-02-19T15:27:12.623052 #124652] DEBUG -- : ↳ app/controllers/application_controller.rb:333:in `set_locale'
D, [2018-02-19T15:27:12.648901 #124652] DEBUG -- : Ci::Build Exists (7.9ms) SELECT 1 AS one FROM "ci_builds" LEFT OUTER JOIN "projects" ON "projects"."id" = "ci_builds"."project_id" WHERE "ci_builds"."type" IN ('Ci::Build') AND "ci_builds"."commit_id" = 10769565 AND "ci_builds"."type" IN ('Ci::Build') AND ("ci_builds"."retried" = 'f' OR "ci_builds"."retried" IS NULL) AND "ci_builds"."status" IN ('failed', 'canceled') LIMIT 1 [["commit_id", 10769565]]
D, [2018-02-19T15:27:12.653370 #124652] DEBUG -- : ↳ app/models/ci/pipeline.rb:320:in `retryable?'
D, [2018-02-19T15:27:12.653781 #124652] DEBUG -- : ↳ app/serializers/pipeline_entity.rb:68:in `can_retry?'
D, [2018-02-19T15:27:12.654039 #124652] DEBUG -- : ↳ app/serializers/pipeline_entity.rb:54:in `block in <class:PipelineEntity>'
D, [2018-02-19T15:27:12.654326 #124652] DEBUG -- : ↳ app/serializers/base_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:12.654577 #124652] DEBUG -- : ↳ app/serializers/merge_request_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:12.654828 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:62:in `block (2 levels) in show'
D, [2018-02-19T15:27:12.655096 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:41:in `show'
D, [2018-02-19T15:27:12.655489 #124652] DEBUG -- : ↳ app/controllers/application_controller.rb:333:in `set_locale'
D, [2018-02-19T15:27:12.669947 #124652] DEBUG -- : CommitStatus Exists (3.0ms) SELECT 1 AS one FROM "ci_builds" WHERE "ci_builds"."commit_id" = 10769565 AND "ci_builds"."status" IN ('running', 'pending', 'created') LIMIT 1 [["commit_id", 10769565]]
D, [2018-02-19T15:27:12.675007 #124652] DEBUG -- : ↳ app/models/ci/pipeline.rb:324:in `cancelable?'
D, [2018-02-19T15:27:12.675486 #124652] DEBUG -- : ↳ app/serializers/pipeline_entity.rb:73:in `can_cancel?'
D, [2018-02-19T15:27:12.675750 #124652] DEBUG -- : ↳ app/serializers/pipeline_entity.rb:58:in `block in <class:PipelineEntity>'
D, [2018-02-19T15:27:12.676155 #124652] DEBUG -- : ↳ app/serializers/base_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:12.676419 #124652] DEBUG -- : ↳ app/serializers/merge_request_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:12.676681 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:62:in `block (2 levels) in show'
D, [2018-02-19T15:27:12.677631 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:41:in `show'
D, [2018-02-19T15:27:12.677993 #124652] DEBUG -- : ↳ app/controllers/application_controller.rb:333:in `set_locale'
D, [2018-02-19T15:27:12.685638 #124652] DEBUG -- : User Load (1.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = 209240 LIMIT 1 [["id", 209240]]
D, [2018-02-19T15:27:12.690739 #124652] DEBUG -- : ↳ app/serializers/base_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:12.691028 #124652] DEBUG -- : ↳ app/serializers/merge_request_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:12.691311 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:62:in `block (2 levels) in show'
D, [2018-02-19T15:27:12.691562 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:41:in `show'
D, [2018-02-19T15:27:12.691894 #124652] DEBUG -- : ↳ app/controllers/application_controller.rb:333:in `set_locale'
D, [2018-02-19T15:27:12.717253 #124652] DEBUG -- : CommitStatus Load (7.2ms) SELECT "ci_builds".* FROM "ci_builds" WHERE "ci_builds"."commit_id" = 10769565 AND ("ci_builds"."retried" = 'f' OR "ci_builds"."retried" IS NULL) [["commit_id", 10769565]]
D, [2018-02-19T15:27:12.721908 #124652] DEBUG -- : ↳ app/models/ci/pipeline.rb:368:in `coverage'
D, [2018-02-19T15:27:12.722315 #124652] DEBUG -- : ↳ app/serializers/base_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:12.722687 #124652] DEBUG -- : ↳ app/serializers/merge_request_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:12.723010 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:62:in `block (2 levels) in show'
D, [2018-02-19T15:27:12.723342 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:41:in `show'
D, [2018-02-19T15:27:12.723879 #124652] DEBUG -- : ↳ app/controllers/application_controller.rb:333:in `set_locale'
D, [2018-02-19T15:27:12.756521 #124652] DEBUG -- : Namespace Load (1.4ms) SELECT "namespaces".* FROM "namespaces" WHERE "namespaces"."id" = 9970 LIMIT 1 [["id", 9970]]
D, [2018-02-19T15:27:12.760986 #124652] DEBUG -- : ↳ config/application.rb:209:in `block (4 levels) in <class:Application>'
D, [2018-02-19T15:27:12.761313 #124652] DEBUG -- : ↳ app/serializers/pipeline_entity.rb:13:in `block in <class:PipelineEntity>'
D, [2018-02-19T15:27:12.761716 #124652] DEBUG -- : ↳ app/serializers/base_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:12.762043 #124652] DEBUG -- : ↳ app/serializers/merge_request_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:12.762385 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:62:in `block (2 levels) in show'
D, [2018-02-19T15:27:12.762701 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:41:in `show'
D, [2018-02-19T15:27:12.763227 #124652] DEBUG -- : ↳ app/controllers/application_controller.rb:333:in `set_locale'
D, [2018-02-19T15:27:12.906239 #124652] DEBUG -- : Ci::Build Load (2.0ms) SELECT "ci_builds".* FROM "ci_builds" WHERE "ci_builds"."type" IN ('Ci::Build') AND "ci_builds"."commit_id" = 10769565 AND "ci_builds"."type" IN ('Ci::Build') AND "ci_builds"."status" = 'pending' [["commit_id", 10769565], ["status", "pending"]]
D, [2018-02-19T15:27:12.910931 #124652] DEBUG -- : ↳ app/models/ci/pipeline.rb:316:in `stuck?'
D, [2018-02-19T15:27:12.911410 #124652] DEBUG -- : ↳ app/serializers/base_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:12.911675 #124652] DEBUG -- : ↳ app/serializers/merge_request_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:12.911943 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:62:in `block (2 levels) in show'
D, [2018-02-19T15:27:12.912236 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:41:in `show'
D, [2018-02-19T15:27:12.912582 #124652] DEBUG -- : ↳ app/controllers/application_controller.rb:333:in `set_locale'
D, [2018-02-19T15:27:12.929955 #124652] DEBUG -- : Ci::Build Exists (2.7ms) SELECT 1 AS one FROM "ci_builds" LEFT OUTER JOIN "projects" ON "projects"."id" = "ci_builds"."project_id" WHERE "ci_builds"."type" IN ('Ci::Build') AND "ci_builds"."commit_id" = 10769565 AND "ci_builds"."type" IN ('Ci::Build') AND ("ci_builds"."retried" = 'f' OR "ci_builds"."retried" IS NULL) AND "ci_builds"."status" IN ('failed', 'canceled') LIMIT 1 [["commit_id", 10769565]]
D, [2018-02-19T15:27:12.934439 #124652] DEBUG -- : ↳ app/models/ci/pipeline.rb:320:in `retryable?'
D, [2018-02-19T15:27:12.934873 #124652] DEBUG -- : ↳ app/serializers/pipeline_entity.rb:68:in `can_retry?'
D, [2018-02-19T15:27:12.935166 #124652] DEBUG -- : ↳ app/serializers/base_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:12.935436 #124652] DEBUG -- : ↳ app/serializers/merge_request_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:12.935717 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:62:in `block (2 levels) in show'
D, [2018-02-19T15:27:12.935981 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:41:in `show'
D, [2018-02-19T15:27:12.936400 #124652] DEBUG -- : ↳ app/controllers/application_controller.rb:333:in `set_locale'
D, [2018-02-19T15:27:12.946048 #124652] DEBUG -- : CommitStatus Exists (3.1ms) SELECT 1 AS one FROM "ci_builds" WHERE "ci_builds"."commit_id" = 10769565 AND "ci_builds"."status" IN ('running', 'pending', 'created') LIMIT 1 [["commit_id", 10769565]]
D, [2018-02-19T15:27:12.950492 #124652] DEBUG -- : ↳ app/models/ci/pipeline.rb:324:in `cancelable?'
D, [2018-02-19T15:27:12.950985 #124652] DEBUG -- : ↳ app/serializers/pipeline_entity.rb:73:in `can_cancel?'
D, [2018-02-19T15:27:12.951284 #124652] DEBUG -- : ↳ app/serializers/base_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:12.951617 #124652] DEBUG -- : ↳ app/serializers/merge_request_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:12.951947 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:62:in `block (2 levels) in show'
D, [2018-02-19T15:27:12.952366 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:41:in `show'
D, [2018-02-19T15:27:12.952838 #124652] DEBUG -- : ↳ app/controllers/application_controller.rb:333:in `set_locale'
D, [2018-02-19T15:27:12.973760 #124652] DEBUG -- : (1.6ms) SELECT COUNT(*) FROM "ci_builds" WHERE "ci_builds"."type" IN ('Ci::Build') AND "ci_builds"."commit_id" = 10769565 AND ("ci_builds"."retried" = 'f' OR "ci_builds"."retried" IS NULL) AND "ci_builds"."allow_failure" = 't' AND "ci_builds"."status" IN ('failed', 'canceled') [["commit_id", 10769565], ["allow_failure", true]]
D, [2018-02-19T15:27:12.978110 #124652] DEBUG -- : ↳ app/models/ci/pipeline.rb:393:in `has_warnings?'
D, [2018-02-19T15:27:12.978556 #124652] DEBUG -- : ↳ lib/gitlab/ci/status/success_warning.rb:26:in `matches?'
D, [2018-02-19T15:27:12.978827 #124652] DEBUG -- : ↳ lib/gitlab/ci/status/factory.rb:36:in `block (2 levels) in extended_statuses'
D, [2018-02-19T15:27:12.979112 #124652] DEBUG -- : ↳ lib/gitlab/ci/status/factory.rb:36:in `each'
D, [2018-02-19T15:27:12.979384 #124652] DEBUG -- : ↳ lib/gitlab/ci/status/factory.rb:36:in `find'
D, [2018-02-19T15:27:12.979644 #124652] DEBUG -- : ↳ lib/gitlab/ci/status/factory.rb:36:in `block in extended_statuses'
D, [2018-02-19T15:27:12.980147 #124652] DEBUG -- : ↳ lib/gitlab/ci/status/factory.rb:35:in `map'
D, [2018-02-19T15:27:12.980445 #124652] DEBUG -- : ↳ lib/gitlab/ci/status/factory.rb:35:in `extended_statuses'
D, [2018-02-19T15:27:12.980728 #124652] DEBUG -- : ↳ lib/gitlab/ci/status/factory.rb:12:in `fabricate!'
D, [2018-02-19T15:27:12.980990 #124652] DEBUG -- : ↳ app/models/ci/pipeline.rb:527:in `detailed_status'
D, [2018-02-19T15:27:12.981277 #124652] DEBUG -- : ↳ app/serializers/pipeline_entity.rb:77:in `detailed_status'
D, [2018-02-19T15:27:12.981547 #124652] DEBUG -- : ↳ app/serializers/base_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:12.981807 #124652] DEBUG -- : ↳ app/serializers/merge_request_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:12.982067 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:62:in `block (2 levels) in show'
D, [2018-02-19T15:27:12.982354 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:41:in `show'
D, [2018-02-19T15:27:12.982830 #124652] DEBUG -- : ↳ app/controllers/application_controller.rb:333:in `set_locale'
D, [2018-02-19T15:27:13.036486 #124652] DEBUG -- : (8.3ms) SELECT sg.stage, (CASE
WHEN (SELECT count(*) FROM "ci_builds" WHERE "ci_builds"."commit_id" = 10769565 AND ("ci_builds"."retried" = 'f' OR "ci_builds"."retried" IS NULL) AND (stage=sg.stage) AND (allow_failure = 'f' OR status IN ('created','pending','running','success','skipped')))=(SELECT count(*) FROM "ci_builds" WHERE "ci_builds"."commit_id" = 10769565 AND ("ci_builds"."retried" = 'f' OR "ci_builds"."retried" IS NULL) AND (stage=sg.stage) AND (allow_failure = 'f' OR status IN ('created','pending','running','success','skipped')) AND "ci_builds"."status" = 'skipped') AND (SELECT count(*) > 0 FROM "ci_builds" WHERE "ci_builds"."commit_id" = 10769565 AND ("ci_builds"."retried" = 'f' OR "ci_builds"."retried" IS NULL) AND (stage=sg.stage) AND "ci_builds"."allow_failure" = 't' AND "ci_builds"."status" IN ('failed', 'canceled')) THEN 'success'
WHEN (SELECT count(*) FROM "ci_builds" WHERE "ci_builds"."commit_id" = 10769565 AND ("ci_builds"."retried" = 'f' OR "ci_builds"."retried" IS NULL) AND (stage=sg.stage) AND (allow_failure = 'f' OR status IN ('created','pending','running','success','skipped')))=(SELECT count(*) FROM "ci_builds" WHERE "ci_builds"."commit_id" = 10769565 AND ("ci_builds"."retried" = 'f' OR "ci_builds"."retried" IS NULL) AND (stage=sg.stage) AND (allow_failure = 'f' OR status IN ('created','pending','running','success','skipped')) AND "ci_builds"."status" = 'skipped') THEN 'skipped'
WHEN (SELECT count(*) FROM "ci_builds" WHERE "ci_builds"."commit_id" = 10769565 AND ("ci_builds"."retried" = 'f' OR "ci_builds"."retried" IS NULL) AND (stage=sg.stage) AND (allow_failure = 'f' OR status IN ('created','pending','running','success','skipped')))=(SELECT count(*) FROM "ci_builds" WHERE "ci_builds"."commit_id" = 10769565 AND ("ci_builds"."retried" = 'f' OR "ci_builds"."retried" IS NULL) AND (stage=sg.stage) AND (allow_failure = 'f' OR status IN ('created','pending','running','success','skipped')) AND "ci_builds"."status" = 'success') THEN 'success'
WHEN (SELECT count(*) FROM "ci_builds" WHERE "ci_builds"."commit_id" = 10769565 AND ("ci_builds"."retried" = 'f' OR "ci_builds"."retried" IS NULL) AND (stage=sg.stage) AND (allow_failure = 'f' OR status IN ('created','pending','running','success','skipped')))=(SELECT count(*) FROM "ci_builds" WHERE "ci_builds"."commit_id" = 10769565 AND ("ci_builds"."retried" = 'f' OR "ci_builds"."retried" IS NULL) AND (stage=sg.stage) AND (allow_failure = 'f' OR status IN ('created','pending','running','success','skipped')) AND "ci_builds"."status" = 'created') THEN 'created'
WHEN (SELECT count(*) FROM "ci_builds" WHERE "ci_builds"."commit_id" = 10769565 AND ("ci_builds"."retried" = 'f' OR "ci_builds"."retried" IS NULL) AND (stage=sg.stage) AND (allow_failure = 'f' OR status IN ('created','pending','running','success','skipped')))=(SELECT count(*) FROM "ci_builds" WHERE "ci_builds"."commit_id" = 10769565 AND ("ci_builds"."retried" = 'f' OR "ci_builds"."retried" IS NULL) AND (stage=sg.stage) AND (allow_failure = 'f' OR status IN ('created','pending','running','success','skipped')) AND "ci_builds"."status" = 'success')+(SELECT count(*) FROM "ci_builds" WHERE "ci_builds"."commit_id" = 10769565 AND ("ci_builds"."retried" = 'f' OR "ci_builds"."retried" IS NULL) AND (stage=sg.stage) AND (allow_failure = 'f' OR status IN ('created','pending','running','success','skipped')) AND "ci_builds"."status" = 'skipped') THEN 'success'
WHEN (SELECT count(*) FROM "ci_builds" WHERE "ci_builds"."commit_id" = 10769565 AND ("ci_builds"."retried" = 'f' OR "ci_builds"."retried" IS NULL) AND (stage=sg.stage) AND (allow_failure = 'f' OR status IN ('created','pending','running','success','skipped')))=(SELECT count(*) FROM "ci_builds" WHERE "ci_builds"."commit_id" = 10769565 AND ("ci_builds"."retried" = 'f' OR "ci_builds"."retried" IS NULL) AND (stage=sg.stage) AND (allow_failure = 'f' OR status IN ('created','pending','running','success','skipped')) AND "ci_builds"."status" = 'success')+(SELECT count(*) FROM "ci_builds" WHERE "ci_builds"."commit_id" = 10769565 AND ("ci_builds"."retried" = 'f' OR "ci_builds"."retried" IS NULL) AND (stage=sg.stage) AND (allow_failure = 'f' OR status IN ('created','pending','running','success','skipped')) AND "ci_builds"."status" = 'skipped')+(SELECT count(*) FROM "ci_builds" WHERE "ci_builds"."commit_id" = 10769565 AND ("ci_builds"."retried" = 'f' OR "ci_builds"."retried" IS NULL) AND (stage=sg.stage) AND (allow_failure = 'f' OR status IN ('created','pending','running','success','skipped')) AND "ci_builds"."status" = 'canceled') THEN 'canceled'
WHEN (SELECT count(*) FROM "ci_builds" WHERE "ci_builds"."commit_id" = 10769565 AND ("ci_builds"."retried" = 'f' OR "ci_builds"."retried" IS NULL) AND (stage=sg.stage) AND (allow_failure = 'f' OR status IN ('created','pending','running','success','skipped')))=(SELECT count(*) FROM "ci_builds" WHERE "ci_builds"."commit_id" = 10769565 AND ("ci_builds"."retried" = 'f' OR "ci_builds"."retried" IS NULL) AND (stage=sg.stage) AND (allow_failure = 'f' OR status IN ('created','pending','running','success','skipped')) AND "ci_builds"."status" = 'created')+(SELECT count(*) FROM "ci_builds" WHERE "ci_builds"."commit_id" = 10769565 AND ("ci_builds"."retried" = 'f' OR "ci_builds"."retried" IS NULL) AND (stage=sg.stage) AND (allow_failure = 'f' OR status IN ('created','pending','running','success','skipped')) AND "ci_builds"."status" = 'skipped')+(SELECT count(*) FROM "ci_builds" WHERE "ci_builds"."commit_id" = 10769565 AND ("ci_builds"."retried" = 'f' OR "ci_builds"."retried" IS NULL) AND (stage=sg.stage) AND (allow_failure = 'f' OR status IN ('created','pending','running','success','skipped')) AND "ci_builds"."status" = 'pending') THEN 'pending'
WHEN (SELECT count(*) FROM "ci_builds" WHERE "ci_builds"."commit_id" = 10769565 AND ("ci_builds"."retried" = 'f' OR "ci_builds"."retried" IS NULL) AND (stage=sg.stage) AND (allow_failure = 'f' OR status IN ('created','pending','running','success','skipped')) AND "ci_builds"."status" = 'running')+(SELECT count(*) FROM "ci_builds" WHERE "ci_builds"."commit_id" = 10769565 AND ("ci_builds"."retried" = 'f' OR "ci_builds"."retried" IS NULL) AND (stage=sg.stage) AND (allow_failure = 'f' OR status IN ('created','pending','running','success','skipped')) AND "ci_builds"."status" = 'pending')>0 THEN 'running'
WHEN (SELECT count(*) FROM "ci_builds" WHERE "ci_builds"."commit_id" = 10769565 AND ("ci_builds"."retried" = 'f' OR "ci_builds"."retried" IS NULL) AND (stage=sg.stage) AND (allow_failure = 'f' OR status IN ('created','pending','running','success','skipped')) AND "ci_builds"."status" = 'manual')>0 THEN 'manual'
WHEN (SELECT count(*) FROM "ci_builds" WHERE "ci_builds"."commit_id" = 10769565 AND ("ci_builds"."retried" = 'f' OR "ci_builds"."retried" IS NULL) AND (stage=sg.stage) AND (allow_failure = 'f' OR status IN ('created','pending','running','success','skipped')) AND "ci_builds"."status" = 'created')>0 THEN 'running'
ELSE 'failed'
END), (SELECT COUNT(*) FROM "ci_builds" WHERE "ci_builds"."commit_id" = 10769565 AND ("ci_builds"."retried" = 'f' OR "ci_builds"."retried" IS NULL) AND (stage=sg.stage) AND "ci_builds"."allow_failure" = 't' AND "ci_builds"."status" IN ('failed', 'canceled')) FROM (SELECT "ci_builds"."stage" FROM "ci_builds" WHERE "ci_builds"."commit_id" = 10769565 GROUP BY "ci_builds"."stage" ORDER BY max(stage_idx)) sg [["commit_id", 10769565]]
D, [2018-02-19T15:27:13.041291 #124652] DEBUG -- : ↳ app/models/ci/pipeline.rb:270:in `legacy_stages'
D, [2018-02-19T15:27:13.041762 #124652] DEBUG -- : ↳ app/serializers/base_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:13.042025 #124652] DEBUG -- : ↳ app/serializers/merge_request_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:13.042315 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:62:in `block (2 levels) in show'
D, [2018-02-19T15:27:13.042583 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:41:in `show'
D, [2018-02-19T15:27:13.042926 #124652] DEBUG -- : ↳ app/controllers/application_controller.rb:333:in `set_locale'
D, [2018-02-19T15:27:13.080904 #124652] DEBUG -- : Ci::Build Load (2.1ms) SELECT "ci_builds".* FROM "ci_builds" WHERE "ci_builds"."type" IN ('Ci::Build') AND "ci_builds"."commit_id" = 10769565 AND "ci_builds"."type" IN ('Ci::Build') AND ("ci_builds"."retried" = 'f' OR "ci_builds"."retried" IS NULL) AND ((artifacts_file IS NOT NULL AND artifacts_file <> '') OR EXISTS (SELECT 1 FROM "ci_job_artifacts" WHERE (ci_builds.id = ci_job_artifacts.job_id))) AND (artifacts_expire_at IS NULL OR artifacts_expire_at > '2018-02-19 15:27:11.315653') [["commit_id", 10769565]]
D, [2018-02-19T15:27:13.085973 #124652] DEBUG -- : ↳ app/serializers/base_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:13.086390 #124652] DEBUG -- : ↳ app/serializers/merge_request_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:13.086669 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:62:in `block (2 levels) in show'
D, [2018-02-19T15:27:13.086936 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:41:in `show'
D, [2018-02-19T15:27:13.087326 #124652] DEBUG -- : ↳ app/controllers/application_controller.rb:333:in `set_locale'
D, [2018-02-19T15:27:13.099407 #124652] DEBUG -- : Project Load (1.8ms) SELECT "projects".* FROM "projects" WHERE "projects"."id" IN (13083)
D, [2018-02-19T15:27:13.104761 #124652] DEBUG -- : ↳ app/serializers/base_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:13.105106 #124652] DEBUG -- : ↳ app/serializers/merge_request_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:13.105405 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:62:in `block (2 levels) in show'
D, [2018-02-19T15:27:13.105714 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:41:in `show'
D, [2018-02-19T15:27:13.106092 #124652] DEBUG -- : ↳ app/controllers/application_controller.rb:333:in `set_locale'
D, [2018-02-19T15:27:13.119939 #124652] DEBUG -- : Namespace Load (1.4ms) SELECT "namespaces".* FROM "namespaces" WHERE "namespaces"."id" = 9970 LIMIT 1 [["id", 9970]]
D, [2018-02-19T15:27:13.125136 #124652] DEBUG -- : ↳ config/application.rb:209:in `block (4 levels) in <class:Application>'
D, [2018-02-19T15:27:13.125479 #124652] DEBUG -- : ↳ app/serializers/build_artifact_entity.rb:12:in `block in <class:BuildArtifactEntity>'
D, [2018-02-19T15:27:13.125809 #124652] DEBUG -- : ↳ app/serializers/base_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:13.126161 #124652] DEBUG -- : ↳ app/serializers/merge_request_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:13.126488 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:62:in `block (2 levels) in show'
D, [2018-02-19T15:27:13.126804 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:41:in `show'
D, [2018-02-19T15:27:13.127291 #124652] DEBUG -- : ↳ app/controllers/application_controller.rb:333:in `set_locale'
D, [2018-02-19T15:27:13.148558 #124652] DEBUG -- : Ci::Build Load (1.8ms) SELECT "ci_builds".* FROM "ci_builds" WHERE "ci_builds"."type" IN ('Ci::Build') AND "ci_builds"."commit_id" = 10769565 AND "ci_builds"."type" IN ('Ci::Build') AND ("ci_builds"."retried" = 'f' OR "ci_builds"."retried" IS NULL) AND "ci_builds"."when" = 'manual' AND "ci_builds"."status" IN ('success', 'failed', 'canceled', 'skipped', 'manual') [["commit_id", 10769565], ["when", :manual]]
D, [2018-02-19T15:27:13.153839 #124652] DEBUG -- : ↳ app/serializers/base_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:13.154318 #124652] DEBUG -- : ↳ app/serializers/merge_request_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:13.154779 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:62:in `block (2 levels) in show'
D, [2018-02-19T15:27:13.155262 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:41:in `show'
D, [2018-02-19T15:27:13.155773 #124652] DEBUG -- : ↳ app/controllers/application_controller.rb:333:in `set_locale'
D, [2018-02-19T15:27:13.168350 #124652] DEBUG -- : Project Load (2.1ms) SELECT "projects".* FROM "projects" WHERE "projects"."id" IN (13083)
D, [2018-02-19T15:27:13.173579 #124652] DEBUG -- : ↳ app/serializers/base_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:13.173912 #124652] DEBUG -- : ↳ app/serializers/merge_request_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:13.174266 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:62:in `block (2 levels) in show'
D, [2018-02-19T15:27:13.174585 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:41:in `show'
D, [2018-02-19T15:27:13.175016 #124652] DEBUG -- : ↳ app/controllers/application_controller.rb:333:in `set_locale'
D, [2018-02-19T15:27:13.186821 #124652] DEBUG -- : Namespace Load (1.3ms) SELECT "namespaces".* FROM "namespaces" WHERE "namespaces"."id" = 9970 LIMIT 1 [["id", 9970]]
D, [2018-02-19T15:27:13.191510 #124652] DEBUG -- : ↳ config/application.rb:209:in `block (4 levels) in <class:Application>'
D, [2018-02-19T15:27:13.191851 #124652] DEBUG -- : ↳ app/serializers/build_action_entity.rb:9:in `block in <class:BuildActionEntity>'
D, [2018-02-19T15:27:13.192226 #124652] DEBUG -- : ↳ app/serializers/base_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:13.192550 #124652] DEBUG -- : ↳ app/serializers/merge_request_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:13.192859 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:62:in `block (2 levels) in show'
D, [2018-02-19T15:27:13.193156 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:41:in `show'
D, [2018-02-19T15:27:13.193519 #124652] DEBUG -- : ↳ app/controllers/application_controller.rb:333:in `set_locale'
D, [2018-02-19T15:27:13.235245 #124652] DEBUG -- : User Load (3.3ms) SELECT "users".* FROM (SELECT "users".* FROM "users" WHERE "users"."email" = 'yorickpeterse@gmail.com'
UNION
SELECT "users".* FROM "users" INNER JOIN "emails" ON "emails"."user_id" = "users"."id" WHERE "emails"."email" = 'yorickpeterse@gmail.com') users LIMIT 1
D, [2018-02-19T15:27:13.240814 #124652] DEBUG -- : ↳ app/models/user.rb:284:in `find_by_any_email'
D, [2018-02-19T15:27:13.241297 #124652] DEBUG -- : ↳ app/models/commit.rb:217:in `author'
D, [2018-02-19T15:27:13.241634 #124652] DEBUG -- : ↳ lib/gitlab/cache/request_cache.rb:76:in `block (3 levels) in request_cache'
D, [2018-02-19T15:27:13.241958 #124652] DEBUG -- : ↳ lib/gitlab/cache/request_cache.rb:76:in `fetch'
D, [2018-02-19T15:27:13.242265 #124652] DEBUG -- : ↳ lib/gitlab/cache/request_cache.rb:76:in `block (2 levels) in request_cache'
D, [2018-02-19T15:27:13.242543 #124652] DEBUG -- : ↳ app/serializers/base_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:13.242866 #124652] DEBUG -- : ↳ app/serializers/merge_request_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:13.243193 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:62:in `block (2 levels) in show'
D, [2018-02-19T15:27:13.243469 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:41:in `show'
D, [2018-02-19T15:27:13.243830 #124652] DEBUG -- : ↳ app/controllers/application_controller.rb:333:in `set_locale'
D, [2018-02-19T15:27:13.271340 #124652] DEBUG -- : Ci::Pipeline Load (1.7ms) SELECT "ci_pipelines".* FROM "ci_pipelines" INNER JOIN "ci_sources_pipelines" ON "ci_pipelines"."id" = "ci_sources_pipelines"."source_pipeline_id" WHERE "ci_sources_pipelines"."pipeline_id" = 10769565 LIMIT 1 [["pipeline_id", 10769565]]
D, [2018-02-19T15:27:13.276114 #124652] DEBUG -- : ↳ app/serializers/base_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:13.276446 #124652] DEBUG -- : ↳ app/serializers/merge_request_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:13.276732 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:62:in `block (2 levels) in show'
D, [2018-02-19T15:27:13.277008 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:41:in `show'
D, [2018-02-19T15:27:13.277501 #124652] DEBUG -- : ↳ app/controllers/application_controller.rb:333:in `set_locale'
D, [2018-02-19T15:27:13.291470 #124652] DEBUG -- : Ci::Pipeline Load (3.7ms) SELECT "ci_pipelines".* FROM "ci_pipelines" INNER JOIN "ci_sources_pipelines" ON "ci_pipelines"."id" = "ci_sources_pipelines"."pipeline_id" WHERE "ci_sources_pipelines"."source_pipeline_id" = 10769565 [["source_pipeline_id", 10769565]]
D, [2018-02-19T15:27:13.296154 #124652] DEBUG -- : ↳ app/serializers/base_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:13.296547 #124652] DEBUG -- : ↳ app/serializers/merge_request_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:13.296848 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:62:in `block (2 levels) in show'
D, [2018-02-19T15:27:13.297325 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:41:in `show'
D, [2018-02-19T15:27:13.297860 #124652] DEBUG -- : ↳ app/controllers/application_controller.rb:333:in `set_locale'
D, [2018-02-19T15:27:13.313632 #124652] DEBUG -- : (1.3ms) SELECT COUNT(*) FROM "approvals" WHERE "approvals"."merge_request_id" = 3985770 [["merge_request_id", 3985770]]
D, [2018-02-19T15:27:13.317925 #124652] DEBUG -- : ↳ app/models/merge_request.rb:642:in `mergeable?'
D, [2018-02-19T15:27:13.318294 #124652] DEBUG -- : ↳ app/serializers/base_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:13.318641 #124652] DEBUG -- : ↳ app/serializers/merge_request_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:13.318967 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:62:in `block (2 levels) in show'
D, [2018-02-19T15:27:13.319336 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:41:in `show'
D, [2018-02-19T15:27:13.319870 #124652] DEBUG -- : ↳ app/controllers/application_controller.rb:333:in `set_locale'
D, [2018-02-19T15:27:13.331836 #124652] DEBUG -- : Approver Load (1.3ms) SELECT "approvers".* FROM "approvers" WHERE "approvers"."target_id" = 3985770 AND "approvers"."target_type" = 'MergeRequest' [["target_id", 3985770], ["target_type", "MergeRequest"]]
D, [2018-02-19T15:27:13.336343 #124652] DEBUG -- : ↳ app/models/merge_request.rb:642:in `mergeable?'
D, [2018-02-19T15:27:13.336692 #124652] DEBUG -- : ↳ app/serializers/base_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:13.336990 #124652] DEBUG -- : ↳ app/serializers/merge_request_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:13.337379 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:62:in `block (2 levels) in show'
D, [2018-02-19T15:27:13.337705 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:41:in `show'
D, [2018-02-19T15:27:13.338125 #124652] DEBUG -- : ↳ app/controllers/application_controller.rb:333:in `set_locale'
D, [2018-02-19T15:27:13.347443 #124652] DEBUG -- : ApproverGroup Load (1.5ms) SELECT "approver_groups".* FROM "approver_groups" WHERE "approver_groups"."target_id" = 3985770 AND "approver_groups"."target_type" = 'MergeRequest' [["target_id", 3985770], ["target_type", "MergeRequest"]]
D, [2018-02-19T15:27:13.351743 #124652] DEBUG -- : ↳ app/models/merge_request.rb:642:in `mergeable?'
D, [2018-02-19T15:27:13.352104 #124652] DEBUG -- : ↳ app/serializers/base_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:13.352427 #124652] DEBUG -- : ↳ app/serializers/merge_request_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:13.352753 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:62:in `block (2 levels) in show'
D, [2018-02-19T15:27:13.353053 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:41:in `show'
D, [2018-02-19T15:27:13.353504 #124652] DEBUG -- : ↳ app/controllers/application_controller.rb:333:in `set_locale'
D, [2018-02-19T15:27:13.365015 #124652] DEBUG -- : Approver Load (1.5ms) SELECT "approvers".* FROM "approvers" WHERE "approvers"."target_id" = 13083 AND "approvers"."target_type" = 'Project' AND ("approvers"."user_id" != 209240) [["target_id", 13083], ["target_type", "Project"], ["user_id", 209240]]
D, [2018-02-19T15:27:13.369275 #124652] DEBUG -- : ↳ app/models/merge_request.rb:642:in `mergeable?'
D, [2018-02-19T15:27:13.369608 #124652] DEBUG -- : ↳ app/serializers/base_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:13.369902 #124652] DEBUG -- : ↳ app/serializers/merge_request_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:13.370254 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:62:in `block (2 levels) in show'
D, [2018-02-19T15:27:13.370582 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:41:in `show'
D, [2018-02-19T15:27:13.370959 #124652] DEBUG -- : ↳ app/controllers/application_controller.rb:333:in `set_locale'
D, [2018-02-19T15:27:13.397662 #124652] DEBUG -- : ApproverGroup Load (17.6ms) SELECT "approver_groups".* FROM "approver_groups" WHERE "approver_groups"."target_id" = 13083 AND "approver_groups"."target_type" = 'Project' [["target_id", 13083], ["target_type", "Project"]]
D, [2018-02-19T15:27:13.402228 #124652] DEBUG -- : ↳ app/models/merge_request.rb:642:in `mergeable?'
D, [2018-02-19T15:27:13.402580 #124652] DEBUG -- : ↳ app/serializers/base_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:13.402909 #124652] DEBUG -- : ↳ app/serializers/merge_request_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:13.403245 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:62:in `block (2 levels) in show'
D, [2018-02-19T15:27:13.403544 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:41:in `show'
D, [2018-02-19T15:27:13.403962 #124652] DEBUG -- : ↳ app/controllers/application_controller.rb:333:in `set_locale'
D, [2018-02-19T15:27:13.442299 #124652] DEBUG -- : (4.1ms) SELECT COUNT(*) FROM "users" WHERE ("users"."state" IN ('active')) AND ("users"."ghost" = 'f' OR "users"."ghost" IS NULL) AND ("users"."support_bot" = 'f' OR "users"."support_bot" IS NULL) AND ("users"."id" NOT IN (SELECT "approvals"."user_id" FROM "approvals" WHERE "approvals"."merge_request_id" = 3985770)) AND ("users"."id" != 209240) AND "users"."id" IN (SELECT "project_authorizations"."user_id" FROM "project_authorizations" WHERE "project_authorizations"."project_id" = 13083 AND (access_level > 20)) [["merge_request_id", 3985770], ["id", 209240], ["project_id", 13083]]
D, [2018-02-19T15:27:13.447489 #124652] DEBUG -- : ↳ app/models/merge_request.rb:642:in `mergeable?'
D, [2018-02-19T15:27:13.448014 #124652] DEBUG -- : ↳ app/serializers/base_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:13.448551 #124652] DEBUG -- : ↳ app/serializers/merge_request_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:13.449017 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:62:in `block (2 levels) in show'
D, [2018-02-19T15:27:13.449554 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:41:in `show'
D, [2018-02-19T15:27:13.450250 #124652] DEBUG -- : ↳ app/controllers/application_controller.rb:333:in `set_locale'
D, [2018-02-19T15:27:13.470562 #124652] DEBUG -- : (1.8ms) SELECT COUNT(*) FROM "ci_builds" WHERE "ci_builds"."type" IN ('Ci::Build') AND "ci_builds"."commit_id" = 10769565 AND ("ci_builds"."retried" = 'f' OR "ci_builds"."retried" IS NULL) AND "ci_builds"."allow_failure" = 't' AND "ci_builds"."status" IN ('failed', 'canceled') [["commit_id", 10769565], ["allow_failure", true]]
D, [2018-02-19T15:27:13.475134 #124652] DEBUG -- : ↳ app/models/ci/pipeline.rb:393:in `has_warnings?'
D, [2018-02-19T15:27:13.475770 #124652] DEBUG -- : ↳ app/presenters/merge_request_presenter.rb:13:in `ci_status'
D, [2018-02-19T15:27:13.476201 #124652] DEBUG -- : ↳ app/serializers/merge_request_widget_entity.rb:100:in `block in <class:MergeRequestWidgetEntity>'
D, [2018-02-19T15:27:13.476512 #124652] DEBUG -- : ↳ app/serializers/base_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:13.476841 #124652] DEBUG -- : ↳ app/serializers/merge_request_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:13.477216 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:62:in `block (2 levels) in show'
D, [2018-02-19T15:27:13.477520 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:41:in `show'
D, [2018-02-19T15:27:13.477934 #124652] DEBUG -- : ↳ app/controllers/application_controller.rb:333:in `set_locale'
D, [2018-02-19T15:27:14.708074 #124652] DEBUG -- : User Load (3.2ms) SELECT "users".* FROM (SELECT "users".* FROM "users" WHERE "users"."email" = 'sean@mcgivern.me.uk'
UNION
SELECT "users".* FROM "users" INNER JOIN "emails" ON "emails"."user_id" = "users"."id" WHERE "emails"."email" = 'sean@mcgivern.me.uk') users LIMIT 1
D, [2018-02-19T15:27:14.713790 #124652] DEBUG -- : ↳ app/models/user.rb:284:in `find_by_any_email'
D, [2018-02-19T15:27:14.714542 #124652] DEBUG -- : ↳ app/models/commit.rb:217:in `author'
D, [2018-02-19T15:27:14.714880 #124652] DEBUG -- : ↳ lib/gitlab/cache/request_cache.rb:76:in `block (3 levels) in request_cache'
D, [2018-02-19T15:27:14.715244 #124652] DEBUG -- : ↳ lib/gitlab/cache/request_cache.rb:76:in `fetch'
D, [2018-02-19T15:27:14.715646 #124652] DEBUG -- : ↳ lib/gitlab/cache/request_cache.rb:76:in `block (2 levels) in request_cache'
D, [2018-02-19T15:27:14.715974 #124652] DEBUG -- : ↳ app/models/concerns/mentionable.rb:60:in `block in all_references'
D, [2018-02-19T15:27:14.716430 #124652] DEBUG -- : ↳ app/models/concerns/mentionable.rb:56:in `each'
D, [2018-02-19T15:27:14.716798 #124652] DEBUG -- : ↳ app/models/concerns/mentionable.rb:56:in `all_references'
D, [2018-02-19T15:27:14.717412 #124652] DEBUG -- : ↳ app/models/commit.rb:354:in `has_been_reverted?'
D, [2018-02-19T15:27:14.717850 #124652] DEBUG -- : ↳ app/models/merge_request.rb:1031:in `can_be_reverted?'
D, [2018-02-19T15:27:14.718905 #124652] DEBUG -- : ↳ app/presenters/merge_request_presenter.rb:176:in `block in cached_can_be_reverted?'
D, [2018-02-19T15:27:14.719394 #124652] DEBUG -- : ↳ lib/gitlab/utils/strong_memoize.rb:26:in `strong_memoize'
D, [2018-02-19T15:27:14.719762 #124652] DEBUG -- : ↳ app/presenters/merge_request_presenter.rb:175:in `cached_can_be_reverted?'
D, [2018-02-19T15:27:14.720208 #124652] DEBUG -- : ↳ app/presenters/merge_request_presenter.rb:161:in `can_revert_on_current_merge_request?'
D, [2018-02-19T15:27:14.720643 #124652] DEBUG -- : ↳ app/serializers/merge_request_widget_entity.rb:131:in `block (2 levels) in <class:MergeRequestWidgetEntity>'
D, [2018-02-19T15:27:14.721073 #124652] DEBUG -- : ↳ app/serializers/base_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:14.721422 #124652] DEBUG -- : ↳ app/serializers/merge_request_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:14.721750 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:62:in `block (2 levels) in show'
D, [2018-02-19T15:27:14.722099 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:41:in `show'
D, [2018-02-19T15:27:14.722739 #124652] DEBUG -- : ↳ app/controllers/application_controller.rb:333:in `set_locale'
D, [2018-02-19T15:27:14.742029 #124652] DEBUG -- : Note Load (3.4ms) SELECT "notes".* FROM "notes" WHERE "notes"."noteable_id" = 3985770 AND "notes"."noteable_type" = 'MergeRequest' AND (created_at >= '2017-08-11 14:39:06.285828') AND "notes"."system" = 't' [["noteable_id", 3985770], ["noteable_type", "MergeRequest"], ["system", true]]
D, [2018-02-19T15:27:14.747918 #124652] DEBUG -- : ↳ app/models/commit.rb:357:in `has_been_reverted?'
D, [2018-02-19T15:27:14.748466 #124652] DEBUG -- : ↳ app/models/merge_request.rb:1031:in `can_be_reverted?'
D, [2018-02-19T15:27:14.749156 #124652] DEBUG -- : ↳ app/presenters/merge_request_presenter.rb:176:in `block in cached_can_be_reverted?'
D, [2018-02-19T15:27:14.749494 #124652] DEBUG -- : ↳ lib/gitlab/utils/strong_memoize.rb:26:in `strong_memoize'
D, [2018-02-19T15:27:14.749819 #124652] DEBUG -- : ↳ app/presenters/merge_request_presenter.rb:175:in `cached_can_be_reverted?'
D, [2018-02-19T15:27:14.750236 #124652] DEBUG -- : ↳ app/presenters/merge_request_presenter.rb:161:in `can_revert_on_current_merge_request?'
D, [2018-02-19T15:27:14.750571 #124652] DEBUG -- : ↳ app/serializers/merge_request_widget_entity.rb:131:in `block (2 levels) in <class:MergeRequestWidgetEntity>'
D, [2018-02-19T15:27:14.750895 #124652] DEBUG -- : ↳ app/serializers/base_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:14.751265 #124652] DEBUG -- : ↳ app/serializers/merge_request_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:14.751591 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:62:in `block (2 levels) in show'
D, [2018-02-19T15:27:14.751912 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:41:in `show'
D, [2018-02-19T15:27:14.752717 #124652] DEBUG -- : ↳ app/controllers/application_controller.rb:333:in `set_locale'
D, [2018-02-19T15:27:14.785839 #124652] DEBUG -- : User Load (2.4ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (209240, 419655, 1169139, 443319, 508743, 829774, 128633)
D, [2018-02-19T15:27:14.792301 #124652] DEBUG -- : ↳ app/models/commit.rb:357:in `has_been_reverted?'
D, [2018-02-19T15:27:14.792754 #124652] DEBUG -- : ↳ app/models/merge_request.rb:1031:in `can_be_reverted?'
D, [2018-02-19T15:27:14.793475 #124652] DEBUG -- : ↳ app/presenters/merge_request_presenter.rb:176:in `block in cached_can_be_reverted?'
D, [2018-02-19T15:27:14.793808 #124652] DEBUG -- : ↳ lib/gitlab/utils/strong_memoize.rb:26:in `strong_memoize'
D, [2018-02-19T15:27:14.794314 #124652] DEBUG -- : ↳ app/presenters/merge_request_presenter.rb:175:in `cached_can_be_reverted?'
D, [2018-02-19T15:27:14.794702 #124652] DEBUG -- : ↳ app/presenters/merge_request_presenter.rb:161:in `can_revert_on_current_merge_request?'
D, [2018-02-19T15:27:14.795034 #124652] DEBUG -- : ↳ app/serializers/merge_request_widget_entity.rb:131:in `block (2 levels) in <class:MergeRequestWidgetEntity>'
D, [2018-02-19T15:27:14.795403 #124652] DEBUG -- : ↳ app/serializers/base_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:14.795721 #124652] DEBUG -- : ↳ app/serializers/merge_request_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:14.796204 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:62:in `block (2 levels) in show'
D, [2018-02-19T15:27:14.796549 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:41:in `show'
D, [2018-02-19T15:27:14.797027 #124652] DEBUG -- : ↳ app/controllers/application_controller.rb:333:in `set_locale'
D, [2018-02-19T15:27:14.837914 #124652] DEBUG -- : AwardEmoji Load (1.7ms) SELECT "award_emoji".* FROM "award_emoji" WHERE "award_emoji"."awardable_type" = 'Note' AND "award_emoji"."awardable_id" IN (41753120, 41750503, 40870006, 40702062, 40645189, 38422903, 38358255, 38060653, 37733253, 37724639, 37723789, 37389697, 37376661, 37369767, 38889153, 38060489, 37695230, 37374415, 37369763, 37369729) ORDER BY "award_emoji"."id" ASC
D, [2018-02-19T15:27:14.843963 #124652] DEBUG -- : ↳ app/models/commit.rb:357:in `has_been_reverted?'
D, [2018-02-19T15:27:14.844565 #124652] DEBUG -- : ↳ app/models/merge_request.rb:1031:in `can_be_reverted?'
D, [2018-02-19T15:27:14.845041 #124652] DEBUG -- : ↳ app/presenters/merge_request_presenter.rb:176:in `block in cached_can_be_reverted?'
D, [2018-02-19T15:27:14.845424 #124652] DEBUG -- : ↳ lib/gitlab/utils/strong_memoize.rb:26:in `strong_memoize'
D, [2018-02-19T15:27:14.845750 #124652] DEBUG -- : ↳ app/presenters/merge_request_presenter.rb:175:in `cached_can_be_reverted?'
D, [2018-02-19T15:27:14.846099 #124652] DEBUG -- : ↳ app/presenters/merge_request_presenter.rb:161:in `can_revert_on_current_merge_request?'
D, [2018-02-19T15:27:14.846452 #124652] DEBUG -- : ↳ app/serializers/merge_request_widget_entity.rb:131:in `block (2 levels) in <class:MergeRequestWidgetEntity>'
D, [2018-02-19T15:27:14.846757 #124652] DEBUG -- : ↳ app/serializers/base_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:14.847058 #124652] DEBUG -- : ↳ app/serializers/merge_request_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:14.847383 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:62:in `block (2 levels) in show'
D, [2018-02-19T15:27:14.847706 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:41:in `show'
D, [2018-02-19T15:27:14.848326 #124652] DEBUG -- : ↳ app/controllers/application_controller.rb:333:in `set_locale'
D, [2018-02-19T15:27:14.932674 #124652] DEBUG -- : Project Load (1.9ms) SELECT "projects".* FROM "projects" WHERE "projects"."id" = 13083
D, [2018-02-19T15:27:14.940451 #124652] DEBUG -- : ↳ lib/banzai/reference_parser/base_parser.rb:171:in `collection_objects_for_ids'
D, [2018-02-19T15:27:14.940936 #124652] DEBUG -- : ↳ lib/banzai/reference_parser/base_parser.rb:134:in `grouped_objects_for_nodes'
D, [2018-02-19T15:27:14.941421 #124652] DEBUG -- : ↳ lib/banzai/reference_parser/base_parser.rb:214:in `projects_for_nodes'
D, [2018-02-19T15:27:14.942012 #124652] DEBUG -- : ↳ lib/banzai/reference_parser/base_parser.rb:60:in `block in nodes_visible_to_user'
D, [2018-02-19T15:27:14.942370 #124652] DEBUG -- : ↳ lib/gitlab/lazy.rb:31:in `__evaluate__'
D, [2018-02-19T15:27:14.942682 #124652] DEBUG -- : ↳ lib/gitlab/lazy.rb:17:in `method_missing'
D, [2018-02-19T15:27:14.943029 #124652] DEBUG -- : ↳ lib/banzai/reference_parser/base_parser.rb:65:in `block in nodes_visible_to_user'
D, [2018-02-19T15:27:14.943382 #124652] DEBUG -- : ↳ lib/banzai/reference_parser/base_parser.rb:63:in `select'
D, [2018-02-19T15:27:14.943704 #124652] DEBUG -- : ↳ lib/banzai/reference_parser/base_parser.rb:63:in `nodes_visible_to_user'
D, [2018-02-19T15:27:14.944224 #124652] DEBUG -- : ↳ lib/banzai/reference_parser/base_parser.rb:201:in `gather_references'
D, [2018-02-19T15:27:14.944681 #124652] DEBUG -- : ↳ lib/banzai/reference_parser/base_parser.rb:195:in `process'
D, [2018-02-19T15:27:14.945445 #124652] DEBUG -- : ↳ lib/banzai/reference_extractor.rb:16:in `references'
D, [2018-02-19T15:27:14.945766 #124652] DEBUG -- : ↳ lib/gitlab/reference_extractor.rb:20:in `references'
D, [2018-02-19T15:27:14.946269 #124652] DEBUG -- : ↳ lib/gitlab/reference_extractor.rb:30:in `block (2 levels) in <class:ReferenceExtractor>'
D, [2018-02-19T15:27:14.946727 #124652] DEBUG -- : ↳ app/models/commit.rb:361:in `has_been_reverted?'
D, [2018-02-19T15:27:14.947045 #124652] DEBUG -- : ↳ app/models/merge_request.rb:1031:in `can_be_reverted?'
D, [2018-02-19T15:27:14.947521 #124652] DEBUG -- : ↳ app/presenters/merge_request_presenter.rb:176:in `block in cached_can_be_reverted?'
D, [2018-02-19T15:27:14.947911 #124652] DEBUG -- : ↳ lib/gitlab/utils/strong_memoize.rb:26:in `strong_memoize'
D, [2018-02-19T15:27:14.948497 #124652] DEBUG -- : ↳ app/presenters/merge_request_presenter.rb:175:in `cached_can_be_reverted?'
D, [2018-02-19T15:27:14.948824 #124652] DEBUG -- : ↳ app/presenters/merge_request_presenter.rb:161:in `can_revert_on_current_merge_request?'
D, [2018-02-19T15:27:14.949179 #124652] DEBUG -- : ↳ app/serializers/merge_request_widget_entity.rb:131:in `block (2 levels) in <class:MergeRequestWidgetEntity>'
D, [2018-02-19T15:27:14.949592 #124652] DEBUG -- : ↳ app/serializers/base_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:14.949916 #124652] DEBUG -- : ↳ app/serializers/merge_request_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:14.950267 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:62:in `block (2 levels) in show'
D, [2018-02-19T15:27:14.950583 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:41:in `show'
D, [2018-02-19T15:27:14.951001 #124652] DEBUG -- : ↳ app/controllers/application_controller.rb:333:in `set_locale'
D, [2018-02-19T15:27:15.011240 #124652] DEBUG -- : Project Load (1.9ms) SELECT "projects".* FROM "projects" WHERE "projects"."id" = 13083 LIMIT 1 [["id", 13083]]
D, [2018-02-19T15:27:15.017224 #124652] DEBUG -- : ↳ app/finders/issuable_finder.rb:144:in `project'
D, [2018-02-19T15:27:15.017785 #124652] DEBUG -- : ↳ app/finders/issuable_finder.rb:151:in `projects'
D, [2018-02-19T15:27:15.018502 #124652] DEBUG -- : ↳ app/finders/issuable_finder.rb:310:in `by_project'
D, [2018-02-19T15:27:15.018996 #124652] DEBUG -- : ↳ app/finders/issuable_finder.rb:81:in `execute'
D, [2018-02-19T15:27:15.019476 #124652] DEBUG -- : ↳ app/finders/issuable_finder.rb:90:in `find_by'
D, [2018-02-19T15:27:15.019996 #124652] DEBUG -- : ↳ app/models/commit.rb:453:in `merged_merge_request_no_cache'
D, [2018-02-19T15:27:15.020366 #124652] DEBUG -- : ↳ app/models/commit.rb:347:in `block in merged_merge_request'
D, [2018-02-19T15:27:15.020749 #124652] DEBUG -- : ↳ app/models/commit.rb:350:in `merged_merge_request'
D, [2018-02-19T15:27:15.021061 #124652] DEBUG -- : ↳ app/models/commit.rb:449:in `merged_merge_request?'
D, [2018-02-19T15:27:15.021532 #124652] DEBUG -- : ↳ app/models/commit.rb:325:in `revert_description'
D, [2018-02-19T15:27:15.021856 #124652] DEBUG -- : ↳ app/models/commit.rb:337:in `reverts_commit?'
D, [2018-02-19T15:27:15.022213 #124652] DEBUG -- : ↳ app/models/commit.rb:361:in `block in has_been_reverted?'
D, [2018-02-19T15:27:15.022536 #124652] DEBUG -- : ↳ app/models/commit.rb:361:in `any?'
D, [2018-02-19T15:27:15.022847 #124652] DEBUG -- : ↳ app/models/commit.rb:361:in `has_been_reverted?'
D, [2018-02-19T15:27:15.023182 #124652] DEBUG -- : ↳ app/models/merge_request.rb:1031:in `can_be_reverted?'
D, [2018-02-19T15:27:15.023637 #124652] DEBUG -- : ↳ app/presenters/merge_request_presenter.rb:176:in `block in cached_can_be_reverted?'
D, [2018-02-19T15:27:15.023949 #124652] DEBUG -- : ↳ lib/gitlab/utils/strong_memoize.rb:26:in `strong_memoize'
D, [2018-02-19T15:27:15.024319 #124652] DEBUG -- : ↳ app/presenters/merge_request_presenter.rb:175:in `cached_can_be_reverted?'
D, [2018-02-19T15:27:15.024672 #124652] DEBUG -- : ↳ app/presenters/merge_request_presenter.rb:161:in `can_revert_on_current_merge_request?'
D, [2018-02-19T15:27:15.025025 #124652] DEBUG -- : ↳ app/serializers/merge_request_widget_entity.rb:131:in `block (2 levels) in <class:MergeRequestWidgetEntity>'
D, [2018-02-19T15:27:15.025442 #124652] DEBUG -- : ↳ app/serializers/base_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:15.025909 #124652] DEBUG -- : ↳ app/serializers/merge_request_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:15.026278 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:62:in `block (2 levels) in show'
D, [2018-02-19T15:27:15.026625 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:41:in `show'
D, [2018-02-19T15:27:15.027054 #124652] DEBUG -- : ↳ app/controllers/application_controller.rb:333:in `set_locale'
D, [2018-02-19T15:27:15.057920 #124652] DEBUG -- : MergeRequest Load (4.4ms) SELECT "merge_requests".* FROM "merge_requests" WHERE "merge_requests"."target_project_id" = 13083 AND "merge_requests"."merge_commit_sha" = 'e80a893ff0ea8466099f6478183631af55933db2' ORDER BY "merge_requests"."id" DESC LIMIT 1 [["merge_commit_sha", "e80a893ff0ea8466099f6478183631af55933db2"]]
D, [2018-02-19T15:27:15.063541 #124652] DEBUG -- : ↳ app/finders/issuable_finder.rb:90:in `find_by'
D, [2018-02-19T15:27:15.064042 #124652] DEBUG -- : ↳ app/models/commit.rb:453:in `merged_merge_request_no_cache'
D, [2018-02-19T15:27:15.064454 #124652] DEBUG -- : ↳ app/models/commit.rb:347:in `block in merged_merge_request'
D, [2018-02-19T15:27:15.064792 #124652] DEBUG -- : ↳ app/models/commit.rb:350:in `merged_merge_request'
D, [2018-02-19T15:27:15.065168 #124652] DEBUG -- : ↳ app/models/commit.rb:449:in `merged_merge_request?'
D, [2018-02-19T15:27:15.065518 #124652] DEBUG -- : ↳ app/models/commit.rb:325:in `revert_description'
D, [2018-02-19T15:27:15.065870 #124652] DEBUG -- : ↳ app/models/commit.rb:337:in `reverts_commit?'
D, [2018-02-19T15:27:15.066265 #124652] DEBUG -- : ↳ app/models/commit.rb:361:in `block in has_been_reverted?'
D, [2018-02-19T15:27:15.066617 #124652] DEBUG -- : ↳ app/models/commit.rb:361:in `any?'
D, [2018-02-19T15:27:15.067224 #124652] DEBUG -- : ↳ app/models/commit.rb:361:in `has_been_reverted?'
D, [2018-02-19T15:27:15.067596 #124652] DEBUG -- : ↳ app/models/merge_request.rb:1031:in `can_be_reverted?'
D, [2018-02-19T15:27:15.068317 #124652] DEBUG -- : ↳ app/presenters/merge_request_presenter.rb:176:in `block in cached_can_be_reverted?'
D, [2018-02-19T15:27:15.068731 #124652] DEBUG -- : ↳ lib/gitlab/utils/strong_memoize.rb:26:in `strong_memoize'
D, [2018-02-19T15:27:15.069126 #124652] DEBUG -- : ↳ app/presenters/merge_request_presenter.rb:175:in `cached_can_be_reverted?'
D, [2018-02-19T15:27:15.069555 #124652] DEBUG -- : ↳ app/presenters/merge_request_presenter.rb:161:in `can_revert_on_current_merge_request?'
D, [2018-02-19T15:27:15.069963 #124652] DEBUG -- : ↳ app/serializers/merge_request_widget_entity.rb:131:in `block (2 levels) in <class:MergeRequestWidgetEntity>'
D, [2018-02-19T15:27:15.070388 #124652] DEBUG -- : ↳ app/serializers/base_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:15.070736 #124652] DEBUG -- : ↳ app/serializers/merge_request_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:15.071121 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:62:in `block (2 levels) in show'
D, [2018-02-19T15:27:15.071478 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:41:in `show'
D, [2018-02-19T15:27:15.072219 #124652] DEBUG -- : ↳ app/controllers/application_controller.rb:333:in `set_locale'
D, [2018-02-19T15:27:15.088897 #124652] DEBUG -- : Project Load (1.9ms) SELECT "projects".* FROM "projects" WHERE "projects"."id" = 13083 LIMIT 1 [["id", 13083]]
D, [2018-02-19T15:27:15.095125 #124652] DEBUG -- : ↳ app/models/merge_request.rb:726:in `project'
D, [2018-02-19T15:27:15.095492 #124652] DEBUG -- : ↳ app/models/merge_request.rb:297:in `to_reference'
D, [2018-02-19T15:27:15.096259 #124652] DEBUG -- : ↳ app/models/commit.rb:326:in `revert_description'
D, [2018-02-19T15:27:15.096599 #124652] DEBUG -- : ↳ app/models/commit.rb:337:in `reverts_commit?'
D, [2018-02-19T15:27:15.096929 #124652] DEBUG -- : ↳ app/models/commit.rb:361:in `block in has_been_reverted?'
D, [2018-02-19T15:27:15.097307 #124652] DEBUG -- : ↳ app/models/commit.rb:361:in `any?'
D, [2018-02-19T15:27:15.097654 #124652] DEBUG -- : ↳ app/models/commit.rb:361:in `has_been_reverted?'
D, [2018-02-19T15:27:15.097982 #124652] DEBUG -- : ↳ app/models/merge_request.rb:1031:in `can_be_reverted?'
D, [2018-02-19T15:27:15.098482 #124652] DEBUG -- : ↳ app/presenters/merge_request_presenter.rb:176:in `block in cached_can_be_reverted?'
D, [2018-02-19T15:27:15.098819 #124652] DEBUG -- : ↳ lib/gitlab/utils/strong_memoize.rb:26:in `strong_memoize'
D, [2018-02-19T15:27:15.099197 #124652] DEBUG -- : ↳ app/presenters/merge_request_presenter.rb:175:in `cached_can_be_reverted?'
D, [2018-02-19T15:27:15.099554 #124652] DEBUG -- : ↳ app/presenters/merge_request_presenter.rb:161:in `can_revert_on_current_merge_request?'
D, [2018-02-19T15:27:15.099908 #124652] DEBUG -- : ↳ app/serializers/merge_request_widget_entity.rb:131:in `block (2 levels) in <class:MergeRequestWidgetEntity>'
D, [2018-02-19T15:27:15.100508 #124652] DEBUG -- : ↳ app/serializers/base_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:15.100871 #124652] DEBUG -- : ↳ app/serializers/merge_request_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:15.101245 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:62:in `block (2 levels) in show'
D, [2018-02-19T15:27:15.101595 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:41:in `show'
D, [2018-02-19T15:27:15.102008 #124652] DEBUG -- : ↳ app/controllers/application_controller.rb:333:in `set_locale'
D, [2018-02-19T15:27:15.148774 #124652] DEBUG -- : ProtectedBranch Load (1.7ms) SELECT "protected_branches"."name" FROM "protected_branches" WHERE "protected_branches"."project_id" = 13083 [["project_id", 13083]]
D, [2018-02-19T15:27:15.156249 #124652] DEBUG -- : ↳ app/models/protected_ref_matcher.rb:13:in `matching'
D, [2018-02-19T15:27:15.156657 #124652] DEBUG -- : ↳ app/models/concerns/protected_ref.rb:52:in `matching'
D, [2018-02-19T15:27:15.156987 #124652] DEBUG -- : ↳ app/models/protected_branch.rb:14:in `protected?'
D, [2018-02-19T15:27:15.157471 #124652] DEBUG -- : ↳ lib/gitlab/user_access.rb:117:in `protected?'
D, [2018-02-19T15:27:15.157800 #124652] DEBUG -- : ↳ lib/gitlab/cache/request_cache.rb:76:in `block (3 levels) in request_cache'
D, [2018-02-19T15:27:15.158396 #124652] DEBUG -- : ↳ lib/gitlab/cache/request_cache.rb:76:in `fetch'
D, [2018-02-19T15:27:15.158724 #124652] DEBUG -- : ↳ lib/gitlab/cache/request_cache.rb:76:in `block (2 levels) in request_cache'
D, [2018-02-19T15:27:15.159048 #124652] DEBUG -- : ↳ lib/gitlab/user_access.rb:67:in `can_push_to_branch?'
D, [2018-02-19T15:27:15.159411 #124652] DEBUG -- : ↳ lib/gitlab/cache/request_cache.rb:76:in `block (3 levels) in request_cache'
D, [2018-02-19T15:27:15.159732 #124652] DEBUG -- : ↳ lib/gitlab/cache/request_cache.rb:76:in `fetch'
D, [2018-02-19T15:27:15.160050 #124652] DEBUG -- : ↳ lib/gitlab/cache/request_cache.rb:76:in `block (2 levels) in request_cache'
D, [2018-02-19T15:27:15.160947 #124652] DEBUG -- : ↳ app/models/merge_request.rb:883:in `can_be_merged_by?'
D, [2018-02-19T15:27:15.161288 #124652] DEBUG -- : ↳ app/models/merge_request.rb:669:in `can_cancel_merge_when_pipeline_succeeds?'
D, [2018-02-19T15:27:15.161982 #124652] DEBUG -- : ↳ app/presenters/merge_request_presenter.rb:23:in `cancel_merge_when_pipeline_succeeds_path'
D, [2018-02-19T15:27:15.162336 #124652] DEBUG -- : ↳ app/serializers/merge_request_widget_entity.rb:164:in `block in <class:MergeRequestWidgetEntity>'
D, [2018-02-19T15:27:15.162663 #124652] DEBUG -- : ↳ app/serializers/base_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:15.162984 #124652] DEBUG -- : ↳ app/serializers/merge_request_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:15.163435 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:62:in `block (2 levels) in show'
D, [2018-02-19T15:27:15.164006 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:41:in `show'
D, [2018-02-19T15:27:15.164522 #124652] DEBUG -- : ↳ app/controllers/application_controller.rb:333:in `set_locale'
D, [2018-02-19T15:27:15.173627 #124652] DEBUG -- : ProtectedBranch Load (1.7ms) SELECT "protected_branches".* FROM "protected_branches" WHERE "protected_branches"."project_id" = 13083 [["project_id", 13083]]
D, [2018-02-19T15:27:15.179853 #124652] DEBUG -- : ↳ app/models/protected_ref_matcher.rb:13:in `matching'
D, [2018-02-19T15:27:15.180303 #124652] DEBUG -- : ↳ app/models/concerns/protected_ref.rb:52:in `matching'
D, [2018-02-19T15:27:15.180725 #124652] DEBUG -- : ↳ app/models/concerns/protected_ref.rb:47:in `access_levels_for_ref'
D, [2018-02-19T15:27:15.181116 #124652] DEBUG -- : ↳ app/models/concerns/protected_ref.rb:35:in `protected_ref_accessible_to?'
D, [2018-02-19T15:27:15.181462 #124652] DEBUG -- : ↳ lib/gitlab/user_access.rb:103:in `protected_branch_accessible_to?'
D, [2018-02-19T15:27:15.182010 #124652] DEBUG -- : ↳ lib/gitlab/user_access.rb:70:in `can_push_to_branch?'
D, [2018-02-19T15:27:15.182369 #124652] DEBUG -- : ↳ lib/gitlab/cache/request_cache.rb:76:in `block (3 levels) in request_cache'
D, [2018-02-19T15:27:15.182711 #124652] DEBUG -- : ↳ lib/gitlab/cache/request_cache.rb:76:in `fetch'
D, [2018-02-19T15:27:15.183102 #124652] DEBUG -- : ↳ lib/gitlab/cache/request_cache.rb:76:in `block (2 levels) in request_cache'
D, [2018-02-19T15:27:15.183464 #124652] DEBUG -- : ↳ app/models/merge_request.rb:883:in `can_be_merged_by?'
D, [2018-02-19T15:27:15.183797 #124652] DEBUG -- : ↳ app/models/merge_request.rb:669:in `can_cancel_merge_when_pipeline_succeeds?'
D, [2018-02-19T15:27:15.184216 #124652] DEBUG -- : ↳ app/presenters/merge_request_presenter.rb:23:in `cancel_merge_when_pipeline_succeeds_path'
D, [2018-02-19T15:27:15.184558 #124652] DEBUG -- : ↳ app/serializers/merge_request_widget_entity.rb:164:in `block in <class:MergeRequestWidgetEntity>'
D, [2018-02-19T15:27:15.184906 #124652] DEBUG -- : ↳ app/serializers/base_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:15.185267 #124652] DEBUG -- : ↳ app/serializers/merge_request_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:15.185737 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:62:in `block (2 levels) in show'
D, [2018-02-19T15:27:15.186092 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:41:in `show'
D, [2018-02-19T15:27:15.186521 #124652] DEBUG -- : ↳ app/controllers/application_controller.rb:333:in `set_locale'
D, [2018-02-19T15:27:15.199483 #124652] DEBUG -- : ProtectedBranch::PushAccessLevel Load (1.7ms) SELECT "protected_branch_push_access_levels".* FROM "protected_branch_push_access_levels" WHERE "protected_branch_push_access_levels"."protected_branch_id" = 2661863 [["protected_branch_id", 2661863]]
D, [2018-02-19T15:27:15.204899 #124652] DEBUG -- : ↳ app/models/concerns/protected_ref.rb:48:in `flatten'
D, [2018-02-19T15:27:15.205316 #124652] DEBUG -- : ↳ app/models/concerns/protected_ref.rb:48:in `access_levels_for_ref'
D, [2018-02-19T15:27:15.205661 #124652] DEBUG -- : ↳ app/models/concerns/protected_ref.rb:35:in `protected_ref_accessible_to?'
D, [2018-02-19T15:27:15.206150 #124652] DEBUG -- : ↳ lib/gitlab/user_access.rb:103:in `protected_branch_accessible_to?'
D, [2018-02-19T15:27:15.206492 #124652] DEBUG -- : ↳ lib/gitlab/user_access.rb:70:in `can_push_to_branch?'
D, [2018-02-19T15:27:15.206817 #124652] DEBUG -- : ↳ lib/gitlab/cache/request_cache.rb:76:in `block (3 levels) in request_cache'
D, [2018-02-19T15:27:15.207216 #124652] DEBUG -- : ↳ lib/gitlab/cache/request_cache.rb:76:in `fetch'
D, [2018-02-19T15:27:15.207550 #124652] DEBUG -- : ↳ lib/gitlab/cache/request_cache.rb:76:in `block (2 levels) in request_cache'
D, [2018-02-19T15:27:15.207883 #124652] DEBUG -- : ↳ app/models/merge_request.rb:883:in `can_be_merged_by?'
D, [2018-02-19T15:27:15.208272 #124652] DEBUG -- : ↳ app/models/merge_request.rb:669:in `can_cancel_merge_when_pipeline_succeeds?'
D, [2018-02-19T15:27:15.208617 #124652] DEBUG -- : ↳ app/presenters/merge_request_presenter.rb:23:in `cancel_merge_when_pipeline_succeeds_path'
D, [2018-02-19T15:27:15.208956 #124652] DEBUG -- : ↳ app/serializers/merge_request_widget_entity.rb:164:in `block in <class:MergeRequestWidgetEntity>'
D, [2018-02-19T15:27:15.209307 #124652] DEBUG -- : ↳ app/serializers/base_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:15.209637 #124652] DEBUG -- : ↳ app/serializers/merge_request_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:15.209987 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:62:in `block (2 levels) in show'
D, [2018-02-19T15:27:15.210351 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:41:in `show'
D, [2018-02-19T15:27:15.211173 #124652] DEBUG -- : ↳ app/controllers/application_controller.rb:333:in `set_locale'
D, [2018-02-19T15:27:15.231929 #124652] DEBUG -- : ProjectFeature Load (1.6ms) SELECT "project_features".* FROM "project_features" WHERE "project_features"."project_id" = 13083 LIMIT 1 [["project_id", 13083]]
D, [2018-02-19T15:27:15.237906 #124652] DEBUG -- : ↳ app/models/project.rb:45:in `issues_enabled?'
D, [2018-02-19T15:27:15.238336 #124652] DEBUG -- : ↳ app/presenters/merge_request_presenter.rb:29:in `create_issue_to_resolve_discussions_path'
D, [2018-02-19T15:27:15.238670 #124652] DEBUG -- : ↳ app/serializers/merge_request_widget_entity.rb:168:in `block in <class:MergeRequestWidgetEntity>'
D, [2018-02-19T15:27:15.238996 #124652] DEBUG -- : ↳ app/serializers/base_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:15.239361 #124652] DEBUG -- : ↳ app/serializers/merge_request_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:15.239689 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:62:in `block (2 levels) in show'
D, [2018-02-19T15:27:15.240013 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:41:in `show'
D, [2018-02-19T15:27:15.240498 #124652] DEBUG -- : ↳ app/controllers/application_controller.rb:333:in `set_locale'
D, [2018-02-19T15:27:15.271174 #124652] DEBUG -- : Namespace Load (2.4ms) SELECT "namespaces".* FROM "namespaces" WHERE "namespaces"."owner_id" = 11493 AND "namespaces"."type" IS NULL LIMIT 1 [["owner_id", 11493]]
D, [2018-02-19T15:27:15.277012 #124652] DEBUG -- : ↳ app/presenters/merge_request_presenter.rb:69:in `cherry_pick_in_fork_path'
D, [2018-02-19T15:27:15.277454 #124652] DEBUG -- : ↳ app/serializers/merge_request_widget_entity.rb:176:in `block in <class:MergeRequestWidgetEntity>'
D, [2018-02-19T15:27:15.277818 #124652] DEBUG -- : ↳ app/serializers/base_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:15.278162 #124652] DEBUG -- : ↳ app/serializers/merge_request_serializer.rb:14:in `represent'
D, [2018-02-19T15:27:15.278479 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:62:in `block (2 levels) in show'
D, [2018-02-19T15:27:15.279035 #124652] DEBUG -- : ↳ app/controllers/projects/merge_requests_controller.rb:41:in `show'
D, [2018-02-19T15:27:15.279546 #124652] DEBUG -- : ↳ app/controllers/application_controller.rb:333:in `set_locale'
I, [2018-02-19T15:27:15.336769 #124652] INFO -- : Completed 200 OK in 4647ms (Views: 16.3ms | ActiveRecord: 239.5ms | Elasticsearch: 0.0ms)
I, [2018-02-19T15:27:16.427687 #124652] INFO -- : Project total: 35.4ms
I, [2018-02-19T15:27:16.427793 #124652] INFO -- : Build total: 26.4ms
I, [2018-02-19T15:27:16.427866 #124652] INFO -- : ApproverGroup total: 19.1ms
I, [2018-02-19T15:27:16.427926 #124652] INFO -- : JobArtifact total: 17.7ms
I, [2018-02-19T15:27:16.427982 #124652] INFO -- : User total: 15.2ms
I, [2018-02-19T15:27:16.428034 #124652] INFO -- : Pipeline total: 10.7ms
I, [2018-02-19T15:27:16.428150 #124652] INFO -- : Namespace total: 9.1ms
I, [2018-02-19T15:27:16.428209 #124652] INFO -- : MergeRequest total: 7.8ms
I, [2018-02-19T15:27:16.428265 #124652] INFO -- : CommitStatus total: 7.2ms
I, [2018-02-19T15:27:16.428330 #124652] INFO -- : Group total: 5.1ms
I, [2018-02-19T15:27:16.428382 #124652] INFO -- : ProtectedBranch total: 4.8ms
I, [2018-02-19T15:27:16.428433 #124652] INFO -- : Upload total: 4.4ms
I, [2018-02-19T15:27:16.428493 #124652] INFO -- : Note total: 3.4ms
I, [2018-02-19T15:27:16.428550 #124652] INFO -- : MergeRequestDiff total: 3.4ms
I, [2018-02-19T15:27:16.428604 #124652] INFO -- : ProjectFeature total: 2.9ms
I, [2018-02-19T15:27:16.428658 #124652] INFO -- : Approver total: 2.8ms
I, [2018-02-19T15:27:16.429118 #124652] INFO -- : Route total: 2.3ms
I, [2018-02-19T15:27:16.429177 #124652] INFO -- : MergeRequestDiffCommit total: 2.0ms
I, [2018-02-19T15:27:16.429245 #124652] INFO -- : GitlabIssueTrackerService total: 1.8ms
I, [2018-02-19T15:27:16.429297 #124652] INFO -- : PushAccessLevel total: 1.7ms
I, [2018-02-19T15:27:16.429347 #124652] INFO -- : AwardEmoji total: 1.7ms
I, [2018-02-19T15:27:16.429399 #124652] INFO -- : Metrics total: 1.4ms
I, [2018-02-19T15:27:16.429449 #124652] INFO -- : License total: 1.3ms
I, [2018-02-19T15:27:16.429498 #124652] INFO -- : PersonalAccessToken total: 1.2ms
Edited by Yorick Peterse