Several bugs with GPG signed commits
Summary
While trying to create a merge requests using the web interface like two weeks ago, one of our developers received the error code 500. A few minutes later, it worked, without anyone changing anything. At that time, I had no idea, what the cause might be.
A week ago, it happened again, this time without it magically resolving itself. I "fixed" it, by creating the merge request using the API, which worked perfectly fine.
Today, the problem occurred again and due to time constrains, I wasn't able to use my workaround. The dev that reported the problem also noticed, that he wasn't able push to the repo in which he was trying to create the MR.
After studying the logs for a few minutes and reproducing the problem, we noticed that he has GPG signed commits which seems to be the culprit.
Steps to reproduce
We are — right now — only able to reproduce this in our own instance.
What is the current bug behavior?
Developers can only sometimes push to repositories with GPG signed commits and those repositories merge requests do not always work.
What is the expected correct behavior?
MRs and pushes to repositories with GPG signed commits should work fine.
Relevant logs and/or screenshots
While pushing to the repository, the user received the following error:
$ git push origin branch-name
Enumerating objects: 2, done.
Counting objects: 100% (2/2), done.
Delta compression using up to 8 threads.
Compressing objects: 100% (2/2), done.
Writing objects: 100% (2/2), 1.04 KiB | 1.04 MiB/s, done.
Total 2 (delta 0), reused 0 (delta 0)
remote: GitLab: API is not accessible
To git.url.com:project/repo.git
! [remote rejected] branch-name -> branch-name (pre-receive hook declined)
error: failed to push some refs to 'git@git.url.com:project/repo.git'
This error was accompanied by the following trace in the logs of GitLab:
==> /var/log/gitlab/gitlab-rails/production.log <==
Started POST "/api/v4/jobs/request" for 10.143.58.86 at 2018-09-13 09:19:57 +0000
GRPC::DeadlineExceeded (4:Deadline Exceeded):
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/grpc-1.11.0-x86_64-linux/src/ruby/lib/grpc/generic/active_call.rb:31:in `check_status'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/grpc-1.11.0-x86_64-linux/src/ruby/lib/grpc/generic/active_call.rb:180:in `attach_status_results_and_complete_call'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/grpc-1.11.0-x86_64-linux/src/ruby/lib/grpc/generic/active_call.rb:169:in `receive_and_check_status'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/grpc-1.11.0-x86_64-linux/src/ruby/lib/grpc/generic/active_call.rb:328:in `block in each_remote_read_then_finish'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/grpc-1.11.0-x86_64-linux/src/ruby/lib/grpc/generic/active_call.rb:325:in `loop'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/grpc-1.11.0-x86_64-linux/src/ruby/lib/grpc/generic/active_call.rb:325:in `each_remote_read_then_finish'
/opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/gitaly_client/blob_service.rb:107:in `each'
/opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/gitaly_client/blob_service.rb:107:in `flat_map'
/opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/gitaly_client/blob_service.rb:107:in `map_lfs_pointers'
/opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/gitaly_client/blob_service.rb:90:in `get_new_lfs_pointers'
/opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/git/lfs_changes.rb:10:in `new_pointers'
/opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/checks/lfs_integrity.rb:13:in `objects_missing?'
/opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/checks/change_access.rb:199:in `lfs_objects_exist_check'
/opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/checks/change_access.rb:43:in `exec'
/opt/gitlab/embedded/service/gitlab-rails/ee/lib/ee/gitlab/checks/change_access.rb:20:in `exec'
/opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/git_access.rb:292:in `check_single_change_access'
/opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/git_access.rb:272:in `block in check_change_access!'
/opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/git_access.rb:267:in `each'
/opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/git_access.rb:267:in `with_index'
/opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/git_access.rb:267:in `check_change_access!'
/opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/git_access.rb:255:in `check_push_access!'
/opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/git_access.rb:68:in `check'
/opt/gitlab/embedded/service/gitlab-rails/ee/lib/ee/gitlab/git_access.rb:11:in `check'
/opt/gitlab/embedded/service/gitlab-rails/lib/api/internal.rb:53:in `block (2 levels) in <class:Internal>'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/grape-1.0.3/lib/grape/endpoint.rb:57:in `call'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/grape-1.0.3/lib/grape/endpoint.rb:57:in `block (2 levels) in generate_api_method'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:166:in `instrument'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/grape-1.0.3/lib/grape/endpoint.rb:56:in `block in generate_api_method'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/grape-1.0.3/lib/grape/endpoint.rb:262:in `block in run'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:166:in `instrument'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/grape-1.0.3/lib/grape/endpoint.rb:243:in `run'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/grape-1.0.3/lib/grape/endpoint.rb:313:in `block in build_stack'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/grape-1.0.3/lib/grape/middleware/base.rb:31:in `call!'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/grape-1.0.3/lib/grape/middleware/base.rb:24:in `call'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/grape-1.0.3/lib/grape/middleware/base.rb:31:in `call!'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/grape-1.0.3/lib/grape/middleware/base.rb:24:in `call'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/rack-oauth2-1.2.3/lib/rack/oauth2/server/resource.rb:20:in `call'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/rack-oauth2-1.2.3/lib/rack/oauth2/server/resource/bearer.rb:8:in `call'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/grape-1.0.3/lib/grape/middleware/error.rb:37:in `block in call!'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/grape-1.0.3/lib/grape/middleware/error.rb:36:in `catch'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/grape-1.0.3/lib/grape/middleware/error.rb:36:in `call!'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/grape-1.0.3/lib/grape/middleware/base.rb:24:in `call'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/grape_logging-1.7.0/lib/grape_logging/middleware/request_logger.rb:60:in `block in call!'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/grape_logging-1.7.0/lib/grape_logging/middleware/request_logger.rb:58:in `catch'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/grape_logging-1.7.0/lib/grape_logging/middleware/request_logger.rb:58:in `call!'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/grape-1.0.3/lib/grape/middleware/base.rb:24:in `call'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/rack-1.6.10/lib/rack/head.rb:13:in `call'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/grape-1.0.3/lib/grape/endpoint.rb:227:in `call!'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/grape-1.0.3/lib/grape/endpoint.rb:221:in `call'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/grape-1.0.3/lib/grape/router/route.rb:72:in `exec'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/grape-1.0.3/lib/grape/router.rb:121:in `process_route'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/grape-1.0.3/lib/grape/router.rb:74:in `block in identity'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/grape-1.0.3/lib/grape/router.rb:93:in `transaction'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/grape-1.0.3/lib/grape/router.rb:72:in `identity'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/grape-1.0.3/lib/grape/router.rb:57:in `block in call'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/grape-1.0.3/lib/grape/router.rb:137:in `with_optimization'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/grape-1.0.3/lib/grape/router.rb:56:in `call'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/grape-1.0.3/lib/grape/api.rb:119:in `call'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/grape-1.0.3/lib/grape/api.rb:45:in `call!'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/grape-1.0.3/lib/grape/api.rb:40:in `call'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/mapper.rb:51:in `serve'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:43:in `block in serve'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in `each'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in `serve'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:817:in `call'
/opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/middleware/multipart.rb:97:in `call'
/opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/request_profiler/middleware.rb:14:in `call'
/opt/gitlab/embedded/service/gitlab-rails/ee/lib/gitlab/jira/middleware.rb:15:in `call'
/opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/middleware/go.rb:17:in `call'
/opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/etag_caching/middleware.rb:11:in `call'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/batch-loader-1.2.1/lib/batch_loader/middleware.rb:11:in `call'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/rack-attack-4.4.1/lib/rack/attack.rb:107:in `call'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/rack-cors-1.0.2/lib/rack/cors.rb:97:in `call'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/rack-1.6.10/lib/rack/etag.rb:24:in `call'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/rack-1.6.10/lib/rack/conditionalget.rb:38:in `call'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/rack-1.6.10/lib/rack/head.rb:13:in `call'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/params_parser.rb:27:in `call'
/opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/middleware/read_only/controller.rb:40:in `call'
/opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/middleware/read_only.rb:16:in `call'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/flash.rb:260:in `call'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/rack-1.6.10/lib/rack/session/abstract/id.rb:225:in `context'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/rack-1.6.10/lib/rack/session/abstract/id.rb:220:in `call'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/cookies.rb:560:in `call'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/activerecord-4.2.10/lib/active_record/query_cache.rb:36:in `call'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:88:in `__run_callbacks__'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in `_run_call_callbacks'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in `run_callbacks'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
/opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/middleware/basic_health_check.rb:25:in `call'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:38:in `call_app'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `block in call'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in `block in tagged'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:26:in `tagged'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in `tagged'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `call'
/opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/request_context.rb:18:in `call'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/request_store-1.3.1/lib/request_store/middleware.rb:9:in `call'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/request_id.rb:21:in `call'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/rack-1.6.10/lib/rack/methodoverride.rb:22:in `call'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/rack-1.6.10/lib/rack/runtime.rb:18:in `call'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/rack-1.6.10/lib/rack/lock.rb:17:in `call'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/rack-1.6.10/lib/rack/sendfile.rb:113:in `call'
/opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/metrics/requests_rack_middleware.rb:27:in `call'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/sentry-raven-2.7.2/lib/raven/integrations/rack.rb:51:in `call'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/railties-4.2.10/lib/rails/engine.rb:518:in `call'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/railties-4.2.10/lib/rails/application.rb:165:in `call'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/railties-4.2.10/lib/rails/railtie.rb:194:in `public_send'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/railties-4.2.10/lib/rails/railtie.rb:194:in `method_missing'
/opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/middleware/release_env.rb:10:in `call'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/rack-1.6.10/lib/rack/urlmap.rb:66:in `block in call'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/rack-1.6.10/lib/rack/urlmap.rb:50:in `each'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/rack-1.6.10/lib/rack/urlmap.rb:50:in `call'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/unicorn-5.1.0/lib/unicorn/http_server.rb:562:in `process_client'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/unicorn-worker-killer-0.4.4/lib/unicorn/worker_killer.rb:52:in `process_client'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/unicorn-5.1.0/lib/unicorn/http_server.rb:658:in `worker_loop'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/unicorn-5.1.0/lib/unicorn/http_server.rb:508:in `spawn_missing_workers'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/unicorn-5.1.0/lib/unicorn/http_server.rb:132:in `start'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/unicorn-5.1.0/bin/unicorn:126:in `<top (required)>'
/opt/gitlab/embedded/bin/unicorn:23:in `load'
/opt/gitlab/embedded/bin/unicorn:23:in `<top (required)>'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/bundler-1.16.2/lib/bundler/cli/exec.rb:74:in `load'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/bundler-1.16.2/lib/bundler/cli/exec.rb:74:in `kernel_load'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/bundler-1.16.2/lib/bundler/cli/exec.rb:28:in `run'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/bundler-1.16.2/lib/bundler/cli.rb:424:in `exec'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/bundler-1.16.2/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/bundler-1.16.2/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/bundler-1.16.2/lib/bundler/vendor/thor/lib/thor.rb:387:in `dispatch'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/bundler-1.16.2/lib/bundler/cli.rb:27:in `dispatch'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/bundler-1.16.2/lib/bundler/vendor/thor/lib/thor/base.rb:466:in `start'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/bundler-1.16.2/lib/bundler/cli.rb:18:in `start'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/bundler-1.16.2/exe/bundle:30:in `block in <top (required)>'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/bundler-1.16.2/lib/bundler/friendly_errors.rb:124:in `with_friendly_errors'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/bundler-1.16.2/exe/bundle:22:in `<top (required)>'
/opt/gitlab/embedded/bin/bundle:23:in `load'
/opt/gitlab/embedded/bin/bundle:23:in `<main>'
Started POST "/api/v4/jobs/request" for 10.143.57.200 at 2018-09-13 09:19:57 +0000
Started POST "/api/v4/jobs/request" for 10.143.57.200 at 2018-09-13 09:19:57 +0000
Started GET "/frontend/companyname/merge_requests/302/ci_environments_status" for 10.143.57.200 at 2018-09-13 09:19:57 +0000
Processing by Projects::MergeRequestsController#ci_environments_status as JSON
Parameters: {"namespace_id"=>"frontend", "project_id"=>"companyname", "id"=>"302"}
Completed 200 OK in 284ms (Views: 0.2ms | ActiveRecord: 21.7ms | Elasticsearch: 0.0ms)
While trying to create the merge request, this is the error we saw in the logs:
==> /var/log/gitlab/gitlab-rails/production.log <==
Completed 500 Internal Server Error in 16866ms (ActiveRecord: 224.7ms | Elasticsearch: 0.0ms)
ActionView::Template::Error (4:Deadline Exceeded):
1: - if commit.has_signature?
2: %a{ href: 'javascript:void(0)', tabindex: 0, class: commit_signature_badge_classes('js-loading-gpg-badge'), data: { toggle: 'tooltip', placement: 'top', title: 'GPG signature (loading...)', 'commit-sha' => commit.sha } }
lib/gitlab/gitaly_client/commit_service.rb:338:in `each'
lib/gitlab/gitaly_client/commit_service.rb:338:in `get_commit_signatures'
lib/gitlab/git/commit.rb:176:in `batch_signature_extraction'
lib/gitlab/git/commit.rb:166:in `block (2 levels) in extract_signature_lazily'
lib/gitlab/git/commit.rb:163:in `each'
lib/gitlab/git/commit.rb:163:in `block in extract_signature_lazily'
lib/gitlab/gpg/commit.rb:15:in `block in signature_text'
lib/gitlab/utils/strong_memoize.rb:26:in `strong_memoize'
lib/gitlab/gpg/commit.rb:14:in `signature_text'
lib/gitlab/gpg/commit.rb:26:in `has_signature?'
app/models/commit.rb:333:in `has_signature?'
app/views/projects/commit/_ajax_signature.html.haml:1:in `_app_views_projects_commit__ajax_signature_html_haml__3689445665790694413_69864700953860'
app/views/projects/commits/_commit.html.haml:61:in `block in _app_views_projects_commits__commit_html_haml__452985760522698660_69864702679320'
app/views/projects/commits/_commit.html.haml:22:in `_app_views_projects_commits__commit_html_haml__452985760522698660_69864702679320'
app/views/projects/commits/_commits.html.haml:14:in `block in _app_views_projects_commits__commits_html_haml__617985166806486029_69864704119840'
app/views/projects/commits/_commits.html.haml:7:in `<<'
app/views/projects/commits/_commits.html.haml:7:in `each'
app/views/projects/commits/_commits.html.haml:7:in `each'
app/views/projects/commits/_commits.html.haml:7:in `each'
app/views/projects/commits/_commits.html.haml:7:in `_app_views_projects_commits__commits_html_haml__617985166806486029_69864704119840'
app/views/projects/merge_requests/_commits.html.haml:8:in `_app_views_projects_merge_requests__commits_html_haml___1071331412533112321_69864703779100'
app/views/projects/merge_requests/creations/_new_submit.html.haml:49:in `_app_views_projects_merge_requests_creations__new_submit_html_haml__1013111099793660904_69864697547460'
app/views/projects/merge_requests/creations/new.html.haml:5:in `_app_views_projects_merge_requests_creations_new_html_haml__2205923387745103174_69864697788900'
lib/gitlab/i18n.rb:51:in `with_locale'
lib/gitlab/i18n.rb:57:in `with_user_locale'
app/controllers/application_controller.rb:409:in `set_locale'
lib/gitlab/middleware/multipart.rb:97:in `call'
lib/gitlab/request_profiler/middleware.rb:14:in `call'
ee/lib/gitlab/jira/middleware.rb:15:in `call'
lib/gitlab/middleware/go.rb:17:in `call'
lib/gitlab/etag_caching/middleware.rb:11:in `call'
lib/gitlab/middleware/read_only/controller.rb:40:in `call'
lib/gitlab/middleware/read_only.rb:16:in `call'
lib/gitlab/middleware/basic_health_check.rb:25:in `call'
lib/gitlab/request_context.rb:18:in `call'
lib/gitlab/metrics/requests_rack_middleware.rb:27:in `call'
lib/gitlab/middleware/release_env.rb:10:in `call'
Started POST "/api/v4/jobs/request" for 10.143.57.200 at 2018-09-13 09:22:05 +0000
Results of GitLab environment info
Expand for output related to GitLab environment info
System information System: Proxy: no Current User: git Using RVM: no Ruby Version: 2.4.4p296 Gem Version: 2.7.6 Bundler Version:1.16.2 Rake Version: 12.3.1 Redis Version: 3.2.11 Git Version: 2.18.0 Sidekiq Version:5.1.3 Go Version: unknown
GitLab information Version: 11.2.3-ee Revision: aadca99 Directory: /opt/gitlab/embedded/service/gitlab-rails DB Adapter: postgresql DB Version: 9.6.6 URL: https://git.url.com HTTP Clone URL: https://git.url.com/some-group/some-project.git SSH Clone URL: git@git.url.com:some-group/some-project.git Elasticsearch: no Geo: no Using LDAP: no Using Omniauth: no
GitLab Shell Version: 8.1.1 Repository storage paths:
- default: /var/opt/gitlab/git-data/repositories Hooks: /opt/gitlab/embedded/service/gitlab-shell/hooks Git: /opt/gitlab/embedded/bin/git
Results of GitLab application Check
Expand for output related to the GitLab application check
Checking GitLab Shell ...
GitLab Shell version >= 8.1.1 ? ... OK (8.1.1) Repo base directory exists? default... yes Repo storage directories are symlinks? default... no Repo paths owned by git:root, or git:git? default... yes Repo paths access is drwxrws---? default... yes hooks directories in repos are links: ... 10/1 ... ok 10/4 ... ok 16/9 ... ok 16/10 ... ok 13/11 ... ok 12/12 ... ok 17/16 ... ok 12/17 ... ok 13/18 ... ok 16/19 ... ok 20/20 ... ok 20/21 ... ok 12/22 ... ok 10/23 ... ok 12/24 ... ok 12/25 ... ok 12/26 ... ok 10/28 ... ok 12/29 ... ok 12/30 ... ok 12/31 ... ok 22/32 ... ok 16/33 ... ok 16/34 ... ok 13/35 ... ok 20/36 ... ok 25/38 ... ok 25/39 ... ok 10/40 ... ok 16/41 ... ok 25/42 ... ok 27/43 ... ok 28/44 ... ok 28/45 ... ok 12/46 ... ok 13/47 ... ok 8/48 ... ok 17/49 ... ok 31/53 ... ok 16/54 ... ok 27/55 ... ok 13/56 ... ok 27/57 ... ok 17/58 ... ok 10/59 ... ok 10/60 ... ok 13/63 ... ok 31/64 ... ok 27/65 ... ok 35/66 ... ok 34/67 ... ok 27/68 ... ok 50/69 ... ok 27/70 ... ok 50/71 ... ok 13/72 ... ok 33/73 ... ok 33/74 ... ok 27/75 ... ok 13/76 ... ok 33/77 ... ok 38/78 ... ok 39/80 ... ok 36/81 ... ok 17/82 ... repository is empty 36/83 ... ok 33/85 ... ok 34/86 ... ok 52/87 ... ok 38/88 ... ok 50/89 ... ok 38/91 ... ok 41/92 ... ok 52/93 ... ok 52/94 ... ok 52/96 ... ok 52/97 ... ok 38/98 ... ok 38/99 ... ok 10/101 ... ok 51/102 ... ok 52/103 ... ok 47/104 ... ok 13/105 ... ok 27/106 ... ok 33/107 ... ok 27/108 ... ok 34/109 ... ok 28/111 ... ok 54/112 ... ok 48/113 ... ok 27/114 ... ok 27/115 ... ok 51/116 ... ok 50/117 ... ok 50/118 ... ok 51/119 ... ok 50/120 ... ok 13/121 ... ok 49/122 ... ok 50/123 ... ok 13/124 ... ok 28/126 ... ok 12/127 ... ok 27/128 ... ok 50/129 ... ok 48/130 ... ok 28/131 ... ok 33/132 ... ok 52/133 ... ok 54/135 ... ok 55/136 ... repository is empty 27/137 ... ok 70/138 ... ok 55/139 ... ok 17/142 ... ok 49/143 ... ok 55/144 ... repository is empty 12/147 ... ok 49/148 ... ok 33/149 ... ok 13/150 ... ok 17/151 ... ok 62/153 ... ok 10/154 ... ok 27/155 ... ok 48/156 ... ok 27/157 ... ok 48/158 ... ok 70/159 ... ok 27/160 ... ok 66/161 ... ok 70/162 ... ok 66/166 ... ok 66/167 ... ok 49/168 ... repository is empty 17/169 ... ok 69/170 ... ok 17/171 ... ok 27/172 ... repository is empty 50/173 ... ok 50/174 ... ok 17/176 ... ok 17/177 ... ok 66/179 ... ok 66/180 ... ok 66/181 ... ok 66/182 ... ok 66/183 ... ok 66/184 ... ok 66/185 ... ok 66/186 ... ok 66/187 ... ok 66/188 ... ok 10/189 ... ok 50/190 ... ok 71/191 ... ok 16/192 ... ok 73/193 ... ok 12/194 ... ok 62/195 ... ok 39/196 ... ok Running /opt/gitlab/embedded/service/gitlab-shell/bin/check Check GitLab API access: OK Redis available via internal API: OK
Access to /var/opt/gitlab/.ssh/authorized_keys: OK gitlab-shell self-check successful
Checking GitLab Shell ... Finished
Checking Sidekiq ...
Running? ... yes Number of Sidekiq processes ... 1
Checking Sidekiq ... Finished
Reply by email is disabled in config/gitlab.yml Checking LDAP ...
LDAP is disabled in config/gitlab.yml
Checking LDAP ... Finished
Checking GitLab ...
Git configured correctly? ... yes Database config exists? ... yes All migrations up? ... yes Database contains orphaned GroupMembers? ... no GitLab config exists? ... yes GitLab config up to date? ... yes Log directory writable? ... yes Tmp directory writable? ... yes Uploads directory exists? ... yes Uploads directory has correct permissions? ... yes Uploads directory tmp has correct permissions? ... yes Init script exists? ... skipped (omnibus-gitlab has no init script) Init script up-to-date? ... skipped (omnibus-gitlab has no init script) Projects have namespace: ... 10/1 ... yes 10/4 ... yes 16/9 ... yes 16/10 ... yes 13/11 ... yes 12/12 ... yes 17/16 ... yes 12/17 ... yes 13/18 ... yes 16/19 ... yes 20/20 ... yes 20/21 ... yes 12/22 ... yes 10/23 ... yes 12/24 ... yes 12/25 ... yes 12/26 ... yes 10/28 ... yes 12/29 ... yes 12/30 ... yes 12/31 ... yes 22/32 ... yes 16/33 ... yes 16/34 ... yes 13/35 ... yes 20/36 ... yes 25/38 ... yes 25/39 ... yes 10/40 ... yes 16/41 ... yes 25/42 ... yes 27/43 ... yes 28/44 ... yes 28/45 ... yes 12/46 ... yes 13/47 ... yes 8/48 ... yes 17/49 ... yes 31/53 ... yes 16/54 ... yes 27/55 ... yes 13/56 ... yes 27/57 ... yes 17/58 ... yes 10/59 ... yes 10/60 ... yes 13/63 ... yes 31/64 ... yes 27/65 ... yes 35/66 ... yes 34/67 ... yes 27/68 ... yes 50/69 ... yes 27/70 ... yes 50/71 ... yes 13/72 ... yes 33/73 ... yes 33/74 ... yes 27/75 ... yes 13/76 ... yes 33/77 ... yes 38/78 ... yes 39/80 ... yes 36/81 ... yes 17/82 ... yes 36/83 ... yes 33/85 ... yes 34/86 ... yes 52/87 ... yes 38/88 ... yes 50/89 ... yes 38/91 ... yes 41/92 ... yes 52/93 ... yes 52/94 ... yes 52/96 ... yes 52/97 ... yes 38/98 ... yes 38/99 ... yes 10/101 ... yes 51/102 ... yes 52/103 ... yes 47/104 ... yes 13/105 ... yes 27/106 ... yes 33/107 ... yes 27/108 ... yes 34/109 ... yes 28/111 ... yes 54/112 ... yes 48/113 ... yes 27/114 ... yes 27/115 ... yes 51/116 ... yes 50/117 ... yes 50/118 ... yes 51/119 ... yes 50/120 ... yes 13/121 ... yes 49/122 ... yes 50/123 ... yes 13/124 ... yes 28/126 ... yes 12/127 ... yes 27/128 ... yes 50/129 ... yes 48/130 ... yes 28/131 ... yes 33/132 ... yes 52/133 ... yes 54/135 ... yes 55/136 ... yes 27/137 ... yes 70/138 ... yes 55/139 ... yes 17/142 ... yes 49/143 ... yes 55/144 ... yes 12/147 ... yes 49/148 ... yes 33/149 ... yes 13/150 ... yes 17/151 ... yes 62/153 ... yes 10/154 ... yes 27/155 ... yes 48/156 ... yes 27/157 ... yes 48/158 ... yes 70/159 ... yes 27/160 ... yes 66/161 ... yes 70/162 ... yes 66/166 ... yes 66/167 ... yes 49/168 ... yes 17/169 ... yes 69/170 ... yes 17/171 ... yes 27/172 ... yes 50/173 ... yes 50/174 ... yes 17/176 ... yes 17/177 ... yes 66/179 ... yes 66/180 ... yes 66/181 ... yes 66/182 ... yes 66/183 ... yes 66/184 ... yes 66/185 ... yes 66/186 ... yes 66/187 ... yes 66/188 ... yes 10/189 ... yes 50/190 ... yes 71/191 ... yes 16/192 ... yes 73/193 ... yes 12/194 ... yes 62/195 ... yes 39/196 ... yes Redis version >= 2.8.0? ... yes Ruby version >= 2.3.5 ? ... yes (2.4.4) Git version >= 2.9.5 ? ... yes (2.18.0) Git user has default SSH configuration? ... yes Active users: ... 32 Elasticsearch version 5.1 - 5.5? ... skipped (elasticsearch is disabled)
Checking GitLab ... Finished
Possible fixes
While I am not an expert, this might be related/responsible for the MR: _ajax_signature.html.haml