GitLab issueshttps://gitlab.com/gitlab-org/gitlab/-/issues2023-12-12T09:48:18Zhttps://gitlab.com/gitlab-org/gitlab/-/issues/417140GitLab CI YAML Parser doesn't allow intentionally insecure variables2023-12-12T09:48:18ZPerry NaseckGitLab CI YAML Parser doesn't allow intentionally insecure variablesWhen adding an unhashed, intentionally insecure variable to `.gitlab-ci.yml`, GitLab CI complains: `variables config should be a hash of key value pairs`. However, this should be supported and there is an [example in the docs](https://do...When adding an unhashed, intentionally insecure variable to `.gitlab-ci.yml`, GitLab CI complains: `variables config should be a hash of key value pairs`. However, this should be supported and there is an [example in the docs](https://docs.gitlab.com/ce/ci/variables/README.html#yaml-defined-variables). I followed the same syntax:
```yaml
variables:
- DEP1_BRANCH: "master"
- DEP2_VERSION: "1.2.3"
```https://gitlab.com/gitlab-org/gitlab/-/issues/18213400 Bad Request on viewing a directory with space in its name.2024-01-22T00:40:22ZSorab Pithawala400 Bad Request on viewing a directory with space in its name.### Summary
400 Bad Request on viewing a directory with space in its name.
### Steps to reproduce
Create a directory "Images 2" inside a repo and try accessing it through web interface
### What is the current *bug* behavior?
Returns...### Summary
400 Bad Request on viewing a directory with space in its name.
### Steps to reproduce
Create a directory "Images 2" inside a repo and try accessing it through web interface
### What is the current *bug* behavior?
Returns a 400 Bad Request
### What is the expected *correct* behavior?
The contents of that directory
### Relevant logs and/or screenshots
Apache log shows the request but gitlab production log does not
### Output of checks
This bug happens on Gitlab CE 9.1.4 Omnibus Installation
#### Results of GitLab environment info
<details>
<summary>Expand for output related to GitLab environment info</summary>
<pre>
Starting Chef Client, version 12.12.15
resolving cookbooks for run list: ["gitlab"]
Synchronizing Cookbooks:
- runit (0.14.2)
- package (0.0.0)
- gitlab (0.0.1)
Installing Cookbook Gems:
Compiling Cookbooks...
Recipe: gitlab::default
* directory[/etc/gitlab] action create (up to date)
init (upstart 1.12.1)
Converging 345 resources
* directory[/etc/gitlab] action create (up to date)
* directory[Create /var/opt/gitlab] action create (up to date)
* directory[/opt/gitlab/embedded/etc] action create (up to date)
* template[/opt/gitlab/embedded/etc/gitconfig] action create (up to date)
Recipe: gitlab::web-server
* group[Webserver user and group] action create (up to date)
* user[Webserver user and group] action create (up to date)
Recipe: gitlab::users
* directory[/var/opt/gitlab] action create (up to date)
* group[GitLab user and group] action create (up to date)
* user[GitLab user and group] action create (up to date)
* template[/var/opt/gitlab/.gitconfig] action create (up to date)
Recipe: gitlab::gitlab-shell
* ruby_block[directory resource: /var/opt/gitlab/git-data] action run (skipped due to not_if)
* ruby_block[directory resource: /var/opt/gitlab/git-data/repositories] action run (skipped due to not_if)
* ruby_block[directory resource: /var/opt/gitlab/.ssh] action run (skipped due to not_if)
* directory[/var/log/gitlab/gitlab-shell/] action create (up to date)
* directory[/var/opt/gitlab/gitlab-shell] action create (up to date)
* templatesymlink[Create a config.yml and create a symlink to Rails root] action create
* template[/var/opt/gitlab/gitlab-shell/config.yml] action create (up to date)
* link[Link /opt/gitlab/embedded/service/gitlab-shell/config.yml to /var/opt/gitlab/gitlab-shell/config.yml] action create (up to date)
(up to date)
* link[/opt/gitlab/embedded/service/gitlab-shell/.gitlab_shell_secret] action create (up to date)
* execute[/opt/gitlab/embedded/service/gitlab-shell/bin/gitlab-keys check-permissions] action run
- execute /opt/gitlab/embedded/service/gitlab-shell/bin/gitlab-keys check-permissions
* bash[Set proper security context on ssh files for selinux] action run (skipped due to only_if)
Recipe: gitlab::gitlab-rails
* directory[/var/log/gitlab] action create (up to date)
* ruby_block[directory resource: /var/opt/gitlab/gitlab-rails/shared] action run (skipped due to not_if)
* ruby_block[directory resource: /var/opt/gitlab/gitlab-rails/shared/artifacts] action run (skipped due to not_if)
* ruby_block[directory resource: /var/opt/gitlab/gitlab-rails/shared/lfs-objects] action run (skipped due to not_if)
* ruby_block[directory resource: /var/opt/gitlab/gitlab-rails/uploads] action run (skipped due to not_if)
* ruby_block[directory resource: /var/opt/gitlab/gitlab-ci/builds] action run (skipped due to not_if)
* ruby_block[directory resource: /var/opt/gitlab/gitlab-rails/shared/pages] action run (skipped due to not_if)
* directory[create /var/opt/gitlab/gitlab-rails/etc] action create (up to date)
* directory[create /opt/gitlab/etc/gitlab-rails] action create (up to date)
* directory[create /var/opt/gitlab/gitlab-rails/working] action create (up to date)
* directory[create /var/opt/gitlab/gitlab-rails/tmp] action create (up to date)
* directory[create /var/opt/gitlab/gitlab-rails/upgrade-status] action create (up to date)
* directory[create /var/log/gitlab/gitlab-rails] action create (up to date)
* directory[/var/opt/gitlab/backups] action create (up to date)
* directory[/var/opt/gitlab/gitlab-rails] action create (up to date)
* directory[/var/opt/gitlab/gitlab-ci] action create (up to date)
* template[/opt/gitlab/etc/gitlab-rails/gitlab-rails-rc] action create (up to date)
* file[/opt/gitlab/embedded/service/gitlab-rails/.secret] action delete (up to date)
* file[/var/opt/gitlab/gitlab-rails/etc/secret] action delete (up to date)
* templatesymlink[Create a database.yml and create a symlink to Rails root] action create
* template[/var/opt/gitlab/gitlab-rails/etc/database.yml] action create (up to date)
* link[Link /opt/gitlab/embedded/service/gitlab-rails/config/database.yml to /var/opt/gitlab/gitlab-rails/etc/database.yml] action create (up to date)
(up to date)
* templatesymlink[Create a secrets.yml and create a symlink to Rails root] action create
* template[/var/opt/gitlab/gitlab-rails/etc/secrets.yml] action create (up to date)
* link[Link /opt/gitlab/embedded/service/gitlab-rails/config/secrets.yml to /var/opt/gitlab/gitlab-rails/etc/secrets.yml] action create (up to date)
(up to date)
* templatesymlink[Create a resque.yml and create a symlink to Rails root] action create
* template[/var/opt/gitlab/gitlab-rails/etc/resque.yml] action create (up to date)
* link[Link /opt/gitlab/embedded/service/gitlab-rails/config/resque.yml to /var/opt/gitlab/gitlab-rails/etc/resque.yml] action create (up to date)
(up to date)
* templatesymlink[Create a aws.yml and create a symlink to Rails root] action delete
* template[/var/opt/gitlab/gitlab-rails/etc/aws.yml] action delete (up to date)
* link[Link /opt/gitlab/embedded/service/gitlab-rails/config/aws.yml to /var/opt/gitlab/gitlab-rails/etc/aws.yml] action delete (up to date)
(up to date)
* templatesymlink[Create a smtp_settings.rb and create a symlink to Rails root] action delete
* template[/var/opt/gitlab/gitlab-rails/etc/smtp_settings.rb] action delete (up to date)
* link[Link /opt/gitlab/embedded/service/gitlab-rails/config/initializers/smtp_settings.rb to /var/opt/gitlab/gitlab-rails/etc/smtp_settings.rb] action delete (up to date)
(up to date)
* templatesymlink[Create a relative_url.rb and create a symlink to Rails root] action delete
* template[/var/opt/gitlab/gitlab-rails/etc/relative_url.rb] action delete (up to date)
* link[Link /opt/gitlab/embedded/service/gitlab-rails/config/initializers/relative_url.rb to /var/opt/gitlab/gitlab-rails/etc/relative_url.rb] action delete (up to date)
(up to date)
* templatesymlink[Create a gitlab.yml and create a symlink to Rails root] action create
* template[/var/opt/gitlab/gitlab-rails/etc/gitlab.yml] action create (up to date)
* link[Link /opt/gitlab/embedded/service/gitlab-rails/config/gitlab.yml to /var/opt/gitlab/gitlab-rails/etc/gitlab.yml] action create (up to date)
(up to date)
* templatesymlink[Create a rack_attack.rb and create a symlink to Rails root] action create
* template[/var/opt/gitlab/gitlab-rails/etc/rack_attack.rb] action create (up to date)
* link[Link /opt/gitlab/embedded/service/gitlab-rails/config/initializers/rack_attack.rb to /var/opt/gitlab/gitlab-rails/etc/rack_attack.rb] action create (up to date)
(up to date)
* templatesymlink[Create a gitlab_workhorse_secret and create a symlink to Rails root] action create
* template[/var/opt/gitlab/gitlab-rails/etc/gitlab_workhorse_secret] action create (up to date)
* link[Link /opt/gitlab/embedded/service/gitlab-rails/.gitlab_workhorse_secret to /var/opt/gitlab/gitlab-rails/etc/gitlab_workhorse_secret] action create (up to date)
(up to date)
* templatesymlink[Create a gitlab_shell_secret and create a symlink to Rails root] action create
* template[/var/opt/gitlab/gitlab-rails/etc/gitlab_shell_secret] action create (up to date)
* link[Link /opt/gitlab/embedded/service/gitlab-rails/.gitlab_shell_secret to /var/opt/gitlab/gitlab-rails/etc/gitlab_shell_secret] action create (up to date)
(up to date)
* directory[/opt/gitlab/etc/gitlab-rails/env] action create (up to date)
* file[/opt/gitlab/etc/gitlab-rails/env/HOME] action create (up to date)
* file[/opt/gitlab/etc/gitlab-rails/env/RAILS_ENV] action create (up to date)
* file[/opt/gitlab/etc/gitlab-rails/env/LD_PRELOAD] action create (up to date)
* file[/opt/gitlab/etc/gitlab-rails/env/SIDEKIQ_MEMORY_KILLER_MAX_RSS] action create (up to date)
* file[/opt/gitlab/etc/gitlab-rails/env/BUNDLE_GEMFILE] action create (up to date)
* file[/opt/gitlab/etc/gitlab-rails/env/PATH] action create (up to date)
* file[/opt/gitlab/etc/gitlab-rails/env/ICU_DATA] action create (up to date)
* file[/opt/gitlab/etc/gitlab-rails/env/PYTHONPATH] action create (up to date)
* file[/opt/gitlab/etc/gitlab-rails/env/EXECJS_RUNTIME] action create (up to date)
* link[/opt/gitlab/embedded/service/gitlab-rails/tmp] action create (up to date)
* link[/opt/gitlab/embedded/service/gitlab-rails/public/uploads] action create (up to date)
* link[/opt/gitlab/embedded/service/gitlab-rails/log] action create (up to date)
* link[/var/log/gitlab/gitlab-rails/sidekiq.log] action create (skipped due to not_if)
* file[/opt/gitlab/embedded/service/gitlab-rails/db/schema.rb] action create (up to date)
* remote_file[/var/opt/gitlab/gitlab-rails/VERSION] action create (up to date)
* remote_file[/var/opt/gitlab/gitlab-rails/REVISION] action create (up to date)
* file[/var/opt/gitlab/gitlab-rails/RUBY_VERSION] action create (up to date)
* execute[chown -R root:root /opt/gitlab/embedded/service/gitlab-rails/public] action run
- execute chown -R root:root /opt/gitlab/embedded/service/gitlab-rails/public
* execute[clear the gitlab-rails cache] action nothing (skipped due to action :nothing)
* file[/var/opt/gitlab/gitlab-rails/config.ru] action delete (up to date)
Recipe: gitlab::add_trusted_certs
* directory[/etc/gitlab/trusted-certs] action create (up to date)
* directory[/opt/gitlab/embedded/ssl/certs] action create (up to date)
* file[/opt/gitlab/embedded/ssl/certs/README] action create (up to date)
* ruby_block[Move existing certs and link to /opt/gitlab/embedded/ssl/certs] action run (skipped due to only_if)
Recipe: gitlab::default
* service[create a temporary unicorn service] action nothing (skipped due to action :nothing)
* service[create a temporary sidekiq service] action nothing (skipped due to action :nothing)
* service[create a temporary mailroom service] action nothing (skipped due to action :nothing)
Recipe: runit::upstart
* cookbook_file[/etc/init/gitlab-runsvdir.conf] action create (up to date)
* execute[initctl reload-configuration] action run
- execute initctl reload-configuration
* execute[initctl status gitlab-runsvdir] action run
[execute] gitlab-runsvdir start/running, process 1019
- execute initctl status gitlab-runsvdir
* execute[initctl start gitlab-runsvdir] action run (skipped due to only_if)
Recipe: gitlab::redis
* group[user and group for redis] action create (up to date)
* user[user and group for redis] action create (up to date)
* group[Socket group] action create (up to date)
* directory[/var/opt/gitlab/redis] action create (up to date)
* directory[/var/log/gitlab/redis] action create (up to date)
* template[/var/opt/gitlab/redis/redis.conf] action create (up to date)
* directory[/opt/gitlab/sv/redis] action create (up to date)
* directory[/opt/gitlab/sv/redis/log] action create (up to date)
* directory[/opt/gitlab/sv/redis/log/main] action create (up to date)
* template[/opt/gitlab/sv/redis/run] action create (up to date)
* template[/opt/gitlab/sv/redis/log/run] action create (up to date)
* template[/var/log/gitlab/redis/config] action create (up to date)
* ruby_block[reload redis svlogd configuration] action nothing (skipped due to action :nothing)
* file[/opt/gitlab/sv/redis/down] action delete (up to date)
* link[/opt/gitlab/init/redis] action create (up to date)
* link[/opt/gitlab/service/redis] action create (up to date)
* ruby_block[supervise_redis_sleep] action run (skipped due to not_if)
* service[redis] action nothing (skipped due to action :nothing)
Recipe: gitlab::postgresql
* group[Postgresql user and group] action create (up to date)
* user[Postgresql user and group] action create (up to date)
* directory[/var/opt/gitlab/postgresql] action create (up to date)
* directory[/var/opt/gitlab/postgresql/data] action create (up to date)
* directory[/var/log/gitlab/postgresql] action create (up to date)
* link[/var/opt/gitlab/postgresql/data] action create (skipped due to not_if)
* file[/var/opt/gitlab/postgresql/.profile] action create (up to date)
* directory[create /etc/sysctl.d for kernel.shmmax] action create (up to date)
* file[create /opt/gitlab/embedded/etc/90-omnibus-gitlab-kernel.shmmax.conf kernel.shmmax] action create (up to date)
* link[/etc/sysctl.d/90-omnibus-gitlab-kernel.shmmax.conf] action create (up to date)
* file[delete /etc/sysctl.d/90-postgresql.conf kernel.shmmax] action delete (skipped due to only_if)
* file[delete /etc/sysctl.d/90-unicorn.conf kernel.shmmax] action delete (skipped due to only_if)
* file[delete /opt/gitlab/embedded/etc/90-omnibus-gitlab.conf kernel.shmmax] action delete (skipped due to only_if)
* file[delete /etc/sysctl.d/90-omnibus-gitlab.conf kernel.shmmax] action delete (skipped due to only_if)
* execute[load sysctl conf kernel.shmmax] action nothing (skipped due to action :nothing)
* directory[create /etc/sysctl.d for kernel.shmall] action create (up to date)
* file[create /opt/gitlab/embedded/etc/90-omnibus-gitlab-kernel.shmall.conf kernel.shmall] action create (up to date)
* link[/etc/sysctl.d/90-omnibus-gitlab-kernel.shmall.conf] action create (up to date)
* file[delete /etc/sysctl.d/90-postgresql.conf kernel.shmall] action delete (skipped due to only_if)
* file[delete /etc/sysctl.d/90-unicorn.conf kernel.shmall] action delete (skipped due to only_if)
* file[delete /opt/gitlab/embedded/etc/90-omnibus-gitlab.conf kernel.shmall] action delete (skipped due to only_if)
* file[delete /etc/sysctl.d/90-omnibus-gitlab.conf kernel.shmall] action delete (skipped due to only_if)
* execute[load sysctl conf kernel.shmall] action nothing (skipped due to action :nothing)
* directory[create /etc/sysctl.d for kernel.sem] action create (up to date)
* file[create /opt/gitlab/embedded/etc/90-omnibus-gitlab-kernel.sem.conf kernel.sem] action create (up to date)
* link[/etc/sysctl.d/90-omnibus-gitlab-kernel.sem.conf] action create (up to date)
* file[delete /etc/sysctl.d/90-postgresql.conf kernel.sem] action delete (skipped due to only_if)
* file[delete /etc/sysctl.d/90-unicorn.conf kernel.sem] action delete (skipped due to only_if)
* file[delete /opt/gitlab/embedded/etc/90-omnibus-gitlab.conf kernel.sem] action delete (skipped due to only_if)
* file[delete /etc/sysctl.d/90-omnibus-gitlab.conf kernel.sem] action delete (skipped due to only_if)
* execute[load sysctl conf kernel.sem] action nothing (skipped due to action :nothing)
* execute[/opt/gitlab/embedded/bin/initdb -D /var/opt/gitlab/postgresql/data -E UTF8] action run (skipped due to not_if)
* template[/var/opt/gitlab/postgresql/data/postgresql.conf] action create (up to date)
* template[/var/opt/gitlab/postgresql/data/pg_hba.conf] action create (up to date)
* template[/var/opt/gitlab/postgresql/data/pg_ident.conf] action create (up to date)
* directory[/opt/gitlab/sv/postgresql] action create (up to date)
* directory[/opt/gitlab/sv/postgresql/log] action create (up to date)
* directory[/opt/gitlab/sv/postgresql/log/main] action create (up to date)
* template[/opt/gitlab/sv/postgresql/run] action create (up to date)
* template[/opt/gitlab/sv/postgresql/log/run] action create (up to date)
* template[/var/log/gitlab/postgresql/config] action create (up to date)
* ruby_block[reload postgresql svlogd configuration] action nothing (skipped due to action :nothing)
* file[/opt/gitlab/sv/postgresql/down] action delete (up to date)
* directory[/opt/gitlab/sv/postgresql/control] action create (up to date)
* template[/opt/gitlab/sv/postgresql/control/t] action create (up to date)
* link[/opt/gitlab/init/postgresql] action create (up to date)
* link[/opt/gitlab/service/postgresql] action create (up to date)
* ruby_block[supervise_postgresql_sleep] action run (skipped due to not_if)
* service[postgresql] action nothing (skipped due to action :nothing)
Recipe: gitlab::postgresql-bin
* ruby_block[Link postgresql bin files to the correct version] action run (skipped due to only_if)
Recipe: gitlab::postgresql
* template[/opt/gitlab/etc/gitlab-psql-rc] action create (up to date)
* execute[create gitlab database user] action run (skipped due to not_if)
* execute[create gitlabhq_production database] action run (skipped due to not_if)
* execute[create gitlab_replicator replication user] action run (skipped due to not_if)
* execute[enable pg_trgm extension] action nothing (skipped due to action :nothing)
Recipe: gitlab::database_migrations
* bash[migrate gitlab-rails database] action run (skipped due to not_if)
* bash[migrate gitlab-rails database] action run (skipped due to not_if)
Recipe: gitlab::logrotate_folders_and_configs
* directory[/var/opt/gitlab/logrotate] action create (up to date)
* directory[/var/opt/gitlab/logrotate/logrotate.d] action create (up to date)
* directory[/var/log/gitlab/logrotate] action create (up to date)
* template[/var/opt/gitlab/logrotate/logrotate.conf] action create (up to date)
* template[/var/opt/gitlab/logrotate/logrotate.d/nginx] action create (up to date)
* template[/var/opt/gitlab/logrotate/logrotate.d/unicorn] action create (up to date)
* template[/var/opt/gitlab/logrotate/logrotate.d/gitlab-rails] action create (up to date)
* template[/var/opt/gitlab/logrotate/logrotate.d/gitlab-shell] action create (up to date)
* template[/var/opt/gitlab/logrotate/logrotate.d/gitlab-workhorse] action create (up to date)
* template[/var/opt/gitlab/logrotate/logrotate.d/gitlab-pages] action create (up to date)
Recipe: gitlab::unicorn
* directory[/var/log/gitlab/unicorn] action create (up to date)
* directory[/opt/gitlab/var/unicorn] action create (up to date)
* directory[/var/opt/gitlab/gitlab-rails/sockets] action create (up to date)
* directory[/var/opt/gitlab/gitlab-rails/etc] action create (up to date)
* template[/var/opt/gitlab/gitlab-rails/etc/unicorn.rb] action create (up to date)
* directory[/opt/gitlab/sv/unicorn] action create (up to date)
* directory[/opt/gitlab/sv/unicorn/log] action create (up to date)
* directory[/opt/gitlab/sv/unicorn/log/main] action create (up to date)
* template[/opt/gitlab/sv/unicorn/run] action create (up to date)
* template[/opt/gitlab/sv/unicorn/log/run] action create (up to date)
* template[/var/log/gitlab/unicorn/config] action create (up to date)
* ruby_block[reload unicorn svlogd configuration] action nothing (skipped due to action :nothing)
* file[/opt/gitlab/sv/unicorn/down] action delete (up to date)
* directory[/opt/gitlab/sv/unicorn/control] action create (up to date)
* template[/opt/gitlab/sv/unicorn/control/t] action create (up to date)
* link[/opt/gitlab/init/unicorn] action create (up to date)
* link[/opt/gitlab/service/unicorn] action create (up to date)
* ruby_block[supervise_unicorn_sleep] action run (skipped due to not_if)
* service[unicorn] action nothing (skipped due to action :nothing)
* directory[create /etc/sysctl.d for net.core.somaxconn] action create (up to date)
* file[create /opt/gitlab/embedded/etc/90-omnibus-gitlab-net.core.somaxconn.conf net.core.somaxconn] action create (up to date)
* link[/etc/sysctl.d/90-omnibus-gitlab-net.core.somaxconn.conf] action create (up to date)
* file[delete /etc/sysctl.d/90-postgresql.conf net.core.somaxconn] action delete (skipped due to only_if)
* file[delete /etc/sysctl.d/90-unicorn.conf net.core.somaxconn] action delete (skipped due to only_if)
* file[delete /opt/gitlab/embedded/etc/90-omnibus-gitlab.conf net.core.somaxconn] action delete (skipped due to only_if)
* file[delete /etc/sysctl.d/90-omnibus-gitlab.conf net.core.somaxconn] action delete (skipped due to only_if)
* execute[load sysctl conf net.core.somaxconn] action nothing (skipped due to action :nothing)
Recipe: gitlab::sidekiq
* directory[/var/log/gitlab/sidekiq] action create (up to date)
* directory[/opt/gitlab/sv/sidekiq] action create (up to date)
* directory[/opt/gitlab/sv/sidekiq/log] action create (up to date)
* directory[/opt/gitlab/sv/sidekiq/log/main] action create (up to date)
* template[/opt/gitlab/sv/sidekiq/run] action create (up to date)
* template[/opt/gitlab/sv/sidekiq/log/run] action create (up to date)
* template[/var/log/gitlab/sidekiq/config] action create (up to date)
* ruby_block[reload sidekiq svlogd configuration] action nothing (skipped due to action :nothing)
* file[/opt/gitlab/sv/sidekiq/down] action delete (up to date)
* link[/opt/gitlab/init/sidekiq] action create (up to date)
* link[/opt/gitlab/service/sidekiq] action create (up to date)
* ruby_block[supervise_sidekiq_sleep] action run (skipped due to not_if)
* service[sidekiq] action nothing (skipped due to action :nothing)
Recipe: gitlab::gitaly
* directory[/var/opt/gitlab/gitaly] action create (up to date)
* directory[/var/log/gitlab/gitaly] action create (up to date)
* directory[/opt/gitlab/etc/gitaly] action create (up to date)
* file[/opt/gitlab/etc/gitaly/PATH] action create (up to date)
* file[/opt/gitlab/etc/gitaly/HOME] action create (up to date)
* template[Create Gitaly config.toml] action create (up to date)
* directory[/opt/gitlab/sv/gitaly] action create (up to date)
* directory[/opt/gitlab/sv/gitaly/log] action create (up to date)
* directory[/opt/gitlab/sv/gitaly/log/main] action create (up to date)
* template[/opt/gitlab/sv/gitaly/run] action create (up to date)
* template[/opt/gitlab/sv/gitaly/log/run] action create (up to date)
* template[/var/log/gitlab/gitaly/config] action create (up to date)
* ruby_block[reload gitaly svlogd configuration] action nothing (skipped due to action :nothing)
* file[/opt/gitlab/sv/gitaly/down] action delete (up to date)
* link[/opt/gitlab/init/gitaly] action create (up to date)
* link[/opt/gitlab/service/gitaly] action create (up to date)
* ruby_block[supervise_gitaly_sleep] action run (skipped due to not_if)
* service[gitaly] action nothing (skipped due to action :nothing)
Recipe: gitlab::gitlab-workhorse
* directory[/var/opt/gitlab/gitlab-workhorse] action create (up to date)
* directory[/var/log/gitlab/gitlab-workhorse] action create (up to date)
* directory[/opt/gitlab/etc/gitlab-workhorse] action create (up to date)
* directory[/opt/gitlab/etc/gitlab-workhorse/env] action create (up to date)
* file[/opt/gitlab/etc/gitlab-workhorse/env/PATH] action create (up to date)
* file[/opt/gitlab/etc/gitlab-workhorse/env/HOME] action create (up to date)
* directory[/opt/gitlab/sv/gitlab-workhorse] action create (up to date)
* directory[/opt/gitlab/sv/gitlab-workhorse/log] action create (up to date)
* directory[/opt/gitlab/sv/gitlab-workhorse/log/main] action create (up to date)
* template[/opt/gitlab/sv/gitlab-workhorse/run] action create (up to date)
* template[/opt/gitlab/sv/gitlab-workhorse/log/run] action create (up to date)
* template[/var/log/gitlab/gitlab-workhorse/config] action create (up to date)
* ruby_block[reload gitlab-workhorse svlogd configuration] action nothing (skipped due to action :nothing)
* file[/opt/gitlab/sv/gitlab-workhorse/down] action delete (up to date)
* link[/opt/gitlab/init/gitlab-workhorse] action create (up to date)
* link[/opt/gitlab/service/gitlab-workhorse] action create (up to date)
* ruby_block[supervise_gitlab-workhorse_sleep] action run (skipped due to not_if)
* service[gitlab-workhorse] action nothing (skipped due to action :nothing)
* file[/var/opt/gitlab/gitlab-workhorse/VERSION] action create (up to date)
* template[/var/opt/gitlab/gitlab-workhorse/config.toml] action create (up to date)
Recipe: gitlab::mailroom_disable
* link[/opt/gitlab/service/mailroom] action delete (up to date)
* directory[/opt/gitlab/sv/mailroom] action delete (up to date)
Recipe: gitlab::nginx_disable
* link[/opt/gitlab/service/nginx] action delete (up to date)
* directory[/opt/gitlab/sv/nginx] action delete (up to date)
Recipe: gitlab::remote-syslog_disable
* link[/opt/gitlab/service/remote-syslog] action delete (up to date)
* directory[/opt/gitlab/sv/remote-syslog] action delete (up to date)
Recipe: gitlab::logrotate
* directory[/opt/gitlab/sv/logrotate] action create (up to date)
* directory[/opt/gitlab/sv/logrotate/log] action create (up to date)
* directory[/opt/gitlab/sv/logrotate/log/main] action create (up to date)
* template[/opt/gitlab/sv/logrotate/run] action create (up to date)
* template[/opt/gitlab/sv/logrotate/log/run] action create (up to date)
* template[/var/log/gitlab/logrotate/config] action create (up to date)
* ruby_block[reload logrotate svlogd configuration] action nothing (skipped due to action :nothing)
* file[/opt/gitlab/sv/logrotate/down] action delete (up to date)
* directory[/opt/gitlab/sv/logrotate/control] action create (up to date)
* template[/opt/gitlab/sv/logrotate/control/t] action create (up to date)
* link[/opt/gitlab/init/logrotate] action create (up to date)
* link[/opt/gitlab/service/logrotate] action create (up to date)
* ruby_block[supervise_logrotate_sleep] action run (skipped due to not_if)
* service[logrotate] action nothing (skipped due to action :nothing)
Recipe: gitlab::mattermost_disable
* link[/opt/gitlab/service/mattermost] action delete (up to date)
* directory[/opt/gitlab/sv/mattermost] action delete (up to date)
Recipe: gitlab::gitlab-pages_disable
* link[/opt/gitlab/service/gitlab-pages] action delete (up to date)
* directory[/opt/gitlab/sv/gitlab-pages] action delete (up to date)
Recipe: gitlab::registry_disable
* link[/opt/gitlab/service/registry] action delete (up to date)
* directory[/opt/gitlab/sv/registry] action delete (up to date)
Recipe: gitlab::gitlab-healthcheck
* template[/opt/gitlab/etc/gitlab-healthcheck-rc] action create (up to date)
Recipe: gitlab::prometheus_user
* group[Prometheus user and group] action create (up to date)
* user[Prometheus user and group] action create (up to date)
Recipe: gitlab::prometheus
* directory[/var/opt/gitlab/prometheus] action create (up to date)
* directory[/var/log/gitlab/prometheus] action create (up to date)
* template[Prometheus template] action create (up to date)
* directory[/opt/gitlab/sv/prometheus] action create (up to date)
* directory[/opt/gitlab/sv/prometheus/log] action create (up to date)
* directory[/opt/gitlab/sv/prometheus/log/main] action create (up to date)
* template[/opt/gitlab/sv/prometheus/run] action create (up to date)
* template[/opt/gitlab/sv/prometheus/log/run] action create (up to date)
* template[/var/log/gitlab/prometheus/config] action create (up to date)
* ruby_block[reload prometheus svlogd configuration] action nothing (skipped due to action :nothing)
* file[/opt/gitlab/sv/prometheus/down] action delete (up to date)
* link[/opt/gitlab/init/prometheus] action create (up to date)
* link[/opt/gitlab/service/prometheus] action create (up to date)
* ruby_block[supervise_prometheus_sleep] action run (skipped due to not_if)
* service[prometheus] action nothing (skipped due to action :nothing)
Recipe: gitlab::node-exporter
* directory[/var/log/gitlab/node-exporter] action create (up to date)
* directory[/var/opt/gitlab/node-exporter/textfile_collector] action create (up to date)
* directory[/opt/gitlab/sv/node-exporter] action create (up to date)
* directory[/opt/gitlab/sv/node-exporter/log] action create (up to date)
* directory[/opt/gitlab/sv/node-exporter/log/main] action create (up to date)
* template[/opt/gitlab/sv/node-exporter/run] action create (up to date)
* template[/opt/gitlab/sv/node-exporter/log/run] action create (up to date)
* template[/var/log/gitlab/node-exporter/config] action create (up to date)
* ruby_block[reload node-exporter svlogd configuration] action nothing (skipped due to action :nothing)
* file[/opt/gitlab/sv/node-exporter/down] action delete (up to date)
* link[/opt/gitlab/init/node-exporter] action create (up to date)
* link[/opt/gitlab/service/node-exporter] action create (up to date)
* ruby_block[supervise_node-exporter_sleep] action run (skipped due to not_if)
* service[node-exporter] action nothing (skipped due to action :nothing)
Recipe: gitlab::redis-exporter
* directory[/var/log/gitlab/redis-exporter] action create (up to date)
* directory[/opt/gitlab/sv/redis-exporter] action create (up to date)
* directory[/opt/gitlab/sv/redis-exporter/log] action create (up to date)
* directory[/opt/gitlab/sv/redis-exporter/log/main] action create (up to date)
* template[/opt/gitlab/sv/redis-exporter/run] action create (up to date)
* template[/opt/gitlab/sv/redis-exporter/log/run] action create (up to date)
* template[/var/log/gitlab/redis-exporter/config] action create (up to date)
* ruby_block[reload redis-exporter svlogd configuration] action nothing (skipped due to action :nothing)
* file[/opt/gitlab/sv/redis-exporter/down] action delete (up to date)
* link[/opt/gitlab/init/redis-exporter] action create (up to date)
* link[/opt/gitlab/service/redis-exporter] action create (up to date)
* ruby_block[supervise_redis-exporter_sleep] action run (skipped due to not_if)
* service[redis-exporter] action nothing (skipped due to action :nothing)
Recipe: gitlab::postgres-exporter
* directory[/var/log/gitlab/postgres-exporter] action create (up to date)
* directory[/opt/gitlab/etc/postgres-exporter/env] action create (up to date)
* file[/opt/gitlab/etc/postgres-exporter/env/DATA_SOURCE_NAME] action create (up to date)
* directory[/opt/gitlab/sv/postgres-exporter] action create (up to date)
* directory[/opt/gitlab/sv/postgres-exporter/log] action create (up to date)
* directory[/opt/gitlab/sv/postgres-exporter/log/main] action create (up to date)
* template[/opt/gitlab/sv/postgres-exporter/run] action create (up to date)
* template[/opt/gitlab/sv/postgres-exporter/log/run] action create (up to date)
* template[/var/log/gitlab/postgres-exporter/config] action create (up to date)
* ruby_block[reload postgres-exporter svlogd configuration] action nothing (skipped due to action :nothing)
* file[/opt/gitlab/sv/postgres-exporter/down] action delete (up to date)
* link[/opt/gitlab/init/postgres-exporter] action create (up to date)
* link[/opt/gitlab/service/postgres-exporter] action create (up to date)
* ruby_block[supervise_postgres-exporter_sleep] action run (skipped due to not_if)
* service[postgres-exporter] action nothing (skipped due to action :nothing)
Recipe: gitlab::gitlab-monitor
* directory[/var/opt/gitlab/gitlab-monitor] action create (up to date)
* directory[/var/log/gitlab/gitlab-monitor] action create (up to date)
* template[/var/opt/gitlab/gitlab-monitor/gitlab-monitor.yml] action create (up to date)
* directory[/opt/gitlab/sv/gitlab-monitor] action create (up to date)
* directory[/opt/gitlab/sv/gitlab-monitor/log] action create (up to date)
* directory[/opt/gitlab/sv/gitlab-monitor/log/main] action create (up to date)
* template[/opt/gitlab/sv/gitlab-monitor/run] action create (up to date)
* template[/opt/gitlab/sv/gitlab-monitor/log/run] action create (up to date)
* template[/var/log/gitlab/gitlab-monitor/config] action create (up to date)
* ruby_block[reload gitlab-monitor svlogd configuration] action nothing (skipped due to action :nothing)
* file[/opt/gitlab/sv/gitlab-monitor/down] action delete (up to date)
* link[/opt/gitlab/init/gitlab-monitor] action create (up to date)
* link[/opt/gitlab/service/gitlab-monitor] action create (up to date)
* ruby_block[supervise_gitlab-monitor_sleep] action run (skipped due to not_if)
* service[gitlab-monitor] action nothing (skipped due to action :nothing)
Recipe: gitlab::default
* link[/opt/gitlab/service/gitlab-git-http-server] action delete (up to date)
* directory[/opt/gitlab/sv/gitlab-git-http-server] action delete (up to date)
Running handlers:
Running handlers complete
Chef Client finished, 4/369 resources updated in 04 seconds
gitlab Reconfigured!
eduisfun@EduisFun-LocalServer:/var/log/apache2$ sudo gitlab-rake gitlab:env:info
System information
System: Ubuntu 14.04
Current User: git
Using RVM: no
Ruby Version: 2.3.3p222
Gem Version: 2.6.6
Bundler Version:1.13.7
Rake Version: 10.5.0
Redis Version: 3.2.5
Git Version: 2.11.1
Sidekiq Version:4.2.7
GitLab information
Version: 9.1.4
Revision: gitlab-ce@fed799ae87ba5a95cf46d8426e96ad621940d0a7
Directory: /opt/gitlab/embedded/service/gitlab-rails
DB Adapter: postgresql
Using LDAP: no
Using Omniauth: no
GitLab Shell
Version: 5.0.2
Repository storage paths:
- default: /var/opt/gitlab/git-data/repositories
Hooks: /opt/gitlab/embedded/service/gitlab-shell/hooks
Git: /opt/gitlab/embedded/bin/git
</pre>
</details>
#### Results of GitLab application Check
<details>
<summary>Expand for output related to the GitLab application check</summary>
<pre>
Checking GitLab Shell ...
GitLab Shell version >= 5.0.2 ? ... OK (5.0.2)
Repo base directory exists?
default... yes
Repo storage directories are symlinks?
default... no
Repo paths owned by git:git?
default... yes
Repo paths access is drwxrws---?
default... yes
hooks directories in repos are links: ...
4/8 ... ok
4/9 ... ok
5/10 ... ok
2/11 ... ok
2/12 ... ok
2/17 ... ok
2/18 ... ok
2/19 ... repository is empty
2/20 ... repository is empty
2/21 ... ok
2/22 ... ok
2/23 ... ok
2/24 ... ok
2/25 ... ok
2/26 ... ok
2/27 ... ok
2/28 ... ok
2/29 ... ok
2/30 ... ok
2/31 ... repository is empty
2/32 ... repository is empty
2/33 ... ok
2/34 ... repository is empty
2/35 ... repository is empty
2/36 ... repository is empty
2/37 ... repository is empty
2/38 ... repository is empty
2/39 ... repository is empty
3/40 ... ok
2/41 ... ok
3/42 ... ok
13/46 ... repository is empty
5/48 ... ok
3/49 ... ok
2/50 ... ok
2/51 ... ok
2/52 ... ok
2/53 ... ok
2/54 ... ok
2/55 ... ok
2/56 ... ok
2/57 ... ok
2/58 ... ok
2/59 ... ok
2/60 ... ok
2/61 ... ok
2/62 ... ok
2/63 ... ok
2/64 ... ok
2/65 ... ok
3/66 ... ok
2/67 ... ok
2/69 ... ok
2/70 ... ok
2/71 ... ok
2/72 ... ok
2/73 ... ok
2/74 ... ok
2/75 ... ok
2/76 ... ok
2/77 ... ok
2/78 ... ok
2/79 ... ok
2/80 ... ok
2/81 ... ok
2/82 ... ok
2/83 ... ok
2/84 ... ok
2/85 ... ok
2/86 ... ok
2/87 ... ok
2/88 ... ok
2/89 ... ok
2/90 ... ok
2/91 ... ok
2/92 ... ok
2/93 ... ok
2/94 ... ok
2/95 ... ok
2/96 ... ok
2/97 ... ok
2/98 ... ok
2/99 ... ok
2/100 ... ok
2/101 ... ok
2/102 ... ok
2/103 ... ok
2/104 ... ok
2/105 ... ok
2/107 ... ok
2/108 ... ok
2/109 ... ok
2/111 ... ok
2/112 ... ok
2/113 ... ok
2/114 ... ok
4/115 ... repository is empty
4/116 ... ok
2/117 ... ok
2/118 ... ok
2/119 ... ok
4/120 ... ok
2/121 ... ok
2/122 ... repository is empty
2/123 ... ok
2/124 ... ok
2/125 ... ok
2/126 ... ok
2/127 ... ok
2/128 ... ok
2/129 ... ok
2/130 ... ok
2/131 ... ok
2/132 ... ok
2/133 ... ok
2/134 ... ok
2/135 ... ok
3/136 ... ok
2/137 ... ok
2/138 ... ok
2/139 ... ok
Running /opt/gitlab/embedded/service/gitlab-shell/bin/check
Check GitLab API access: OK
Access to /var/opt/gitlab/.ssh/authorized_keys: OK
Send ping to redis server: OK
gitlab-shell self-check successful
Checking GitLab Shell ... Finished
Checking Sidekiq ...
Running? ... yes
Number of Sidekiq processes ... 1
Checking Sidekiq ... Finished
Checking Reply by email ...
Reply by email is disabled in config/gitlab.yml
Checking Reply by email ... Finished
Checking LDAP ...
LDAP is disabled in config/gitlab.yml
Checking LDAP ... Finished
Checking GitLab ...
Git configured with autocrlf=input? ... yes
Database config exists? ... yes
All migrations up? ... yes
Database contains orphaned GroupMembers? ... no
GitLab config exists? ... yes
GitLab config outdated? ... no
Log directory writable? ... yes
Tmp directory writable? ... yes
Uploads directory setup correctly? ... skipped (no tmp uploads folder yet)
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: ...
4/8 ... yes
4/9 ... yes
5/10 ... yes
2/11 ... yes
2/12 ... yes
2/17 ... yes
2/18 ... yes
2/19 ... yes
2/20 ... yes
2/21 ... yes
2/22 ... yes
2/23 ... yes
2/24 ... yes
2/25 ... yes
2/26 ... yes
2/27 ... yes
2/28 ... yes
2/29 ... yes
2/30 ... yes
2/31 ... yes
2/32 ... yes
2/33 ... yes
2/34 ... yes
2/35 ... yes
2/36 ... yes
2/37 ... yes
2/38 ... yes
2/39 ... yes
3/40 ... yes
2/41 ... yes
3/42 ... yes
13/46 ... yes
5/48 ... yes
3/49 ... yes
2/50 ... yes
2/51 ... yes
2/52 ... yes
2/53 ... yes
2/54 ... yes
2/55 ... yes
2/56 ... yes
2/57 ... yes
2/58 ... yes
2/59 ... yes
2/60 ... yes
2/61 ... yes
2/62 ... yes
2/63 ... yes
2/64 ... yes
2/65 ... yes
3/66 ... yes
2/67 ... yes
2/69 ... yes
2/70 ... yes
2/71 ... yes
2/72 ... yes
2/73 ... yes
2/74 ... yes
2/75 ... yes
2/76 ... yes
2/77 ... yes
2/78 ... yes
2/79 ... yes
2/80 ... yes
2/81 ... yes
2/82 ... yes
2/83 ... yes
2/84 ... yes
2/85 ... yes
2/86 ... yes
2/87 ... yes
2/88 ... yes
2/89 ... yes
2/90 ... yes
2/91 ... yes
2/92 ... yes
2/93 ... yes
2/94 ... yes
2/95 ... yes
2/96 ... yes
2/97 ... yes
2/98 ... yes
2/99 ... yes
2/100 ... yes
2/101 ... yes
2/102 ... yes
2/103 ... yes
2/104 ... yes
2/105 ... yes
2/107 ... yes
2/108 ... yes
2/109 ... yes
2/111 ... yes
2/112 ... yes
2/113 ... yes
2/114 ... yes
4/115 ... yes
4/116 ... yes
2/117 ... yes
2/118 ... yes
2/119 ... yes
4/120 ... yes
2/121 ... yes
2/122 ... yes
2/123 ... yes
2/124 ... yes
2/125 ... yes
2/126 ... yes
2/127 ... yes
2/128 ... yes
2/129 ... yes
2/130 ... yes
2/131 ... yes
2/132 ... yes
2/133 ... yes
2/134 ... yes
2/135 ... yes
3/136 ... yes
2/137 ... yes
2/138 ... yes
2/139 ... yes
Redis version >= 2.8.0? ... yes
Ruby version >= 2.1.0 ? ... yes (2.3.3)
Your git bin path is "/opt/gitlab/embedded/bin/git"
Git version >= 2.7.3 ? ... yes (2.11.1)
Active users: 9
Checking GitLab ... Finished
</pre>
</details>
### Other Notes
My apache conf is same as omnibus apache 24 (https://gitlab.com/gitlab-org/gitlab-recipes/blob/master/web-server/apache/gitlab-omnibus-apache24.conf) with the YOUR_SERVER_FQDN changedhttps://gitlab.com/gitlab-org/gitlab/-/issues/4419Gitlab omnibus backup not working for AWS2023-01-12T14:52:11ZJoao CostaGitlab omnibus backup not working for AWSHi,
I am using the following configuration:
```ruby
gitlab_rails['backup_upload_connection'] = {
'provider' => 'AWS',
'region' => 'ams3',
'aws_access_key_id' => 'XXXXXX',
...Hi,
I am using the following configuration:
```ruby
gitlab_rails['backup_upload_connection'] = {
'provider' => 'AWS',
'region' => 'ams3',
'aws_access_key_id' => 'XXXXXX',
'aws_secret_access_key' => 'XXXXXX',
'endpoint' => 'https://ams3.digitaloceanspaces.com'
}
gitlab_rails['backup_upload_remote_directory'] = 'XXXXXX'
gitlab_rails['backup_multipart_chunk_size'] = 104857600
```
so basically when I execute the backup command: `gitlab-rake gitlab:backup:create --trace`
I receive a strange exception related to missing Length:
```shell
Excon::Error::LengthRequired: Expected(200) <=> Actual(411 Length Required)
excon.error.response
:body => "<?xml version=\"1.0\" encoding=\"UTF-8\"?><Error><Code>MissingContentLength</Code><BucketName>XXXXXX</BucketName><RequestId>tx0000000000000212200e0-005a3c0854-ae42-ams3a</RequestId><HostId>ae42-ams3a-ams3</HostId></Error>"
:cookies => [
]
:headers => {
"Accept-Ranges" => "bytes"
"Content-Length" => "215"
"Content-Type" => "application/xml"
"Date" => "Thu, 21 Dec 2017 19:15:32 GMT"
"Strict-Transport-Security" => "max-age=15552000; includeSubDomains; preload"
"x-amz-request-id" => "tx0000000000000212200e0-005a3c0854-ae42-ams3a"
}
:host => "XXXXXXX.ams3.digitaloceanspaces.com"
:local_address => "192.168.38.79"
:local_port => 49840
:path => "/1513883731_2017_12_21_10.2.5-ee_gitlab_backup.tar"
:port => 443
:reason_phrase => "Length Required"
:remote_ip => "5.101.110.225"
:status => 411
:status_line => "HTTP/1.1 411 Length Required\r\n"
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/excon-0.57.1/lib/excon/middlewares/expects.rb:7:in `response_call'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/excon-0.57.1/lib/excon/middlewares/response_parser.rb:9:in `response_call'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/excon-0.57.1/lib/excon/connection.rb:388:in `response'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/excon-0.57.1/lib/excon/connection.rb:252:in `request'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/fog-core-1.44.3/lib/fog/core/connection.rb:81:in `request'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/fog-xml-0.1.3/lib/fog/xml/connection.rb:9:in `request'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/fog-aws-1.4.0/lib/fog/aws/storage.rb:612:in `_request'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/fog-aws-1.4.0/lib/fog/aws/storage.rb:607:in `request'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/fog-aws-1.4.0/lib/fog/aws/requests/storage/put_object.rb:47:in `put_object'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/fog-aws-1.4.0/lib/fog/aws/models/storage/file.rb:219:in `save'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/fog-core-1.44.3/lib/fog/core/collection.rb:50:in `create'
/opt/gitlab/embedded/service/gitlab-rails/lib/backup/manager.rb:42:in `upload'
/opt/gitlab/embedded/service/gitlab-rails/lib/backup/manager.rb:27:in `block in pack'
/opt/gitlab/embedded/service/gitlab-rails/lib/backup/manager.rb:11:in `chdir'
/opt/gitlab/embedded/service/gitlab-rails/lib/backup/manager.rb:11:in `pack'
/opt/gitlab/embedded/service/gitlab-rails/lib/tasks/gitlab/backup.rake:21:in `block (3 levels) in <top (required)>'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/rake-12.1.0/lib/rake/task.rb:251:in `block in execute'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/rake-12.1.0/lib/rake/task.rb:251:in `each'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/rake-12.1.0/lib/rake/task.rb:251:in `execute'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/rake-12.1.0/lib/rake/task.rb:195:in `block in invoke_with_call_chain'
/opt/gitlab/embedded/lib/ruby/2.3.0/monitor.rb:214:in `mon_synchronize'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/rake-12.1.0/lib/rake/task.rb:188:in `invoke_with_call_chain'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/rake-12.1.0/lib/rake/task.rb:181:in `invoke'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/rake-12.1.0/lib/rake/application.rb:153:in `invoke_task'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/rake-12.1.0/lib/rake/application.rb:109:in `block (2 levels) in top_level'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/rake-12.1.0/lib/rake/application.rb:109:in `each'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/rake-12.1.0/lib/rake/application.rb:109:in `block in top_level'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/rake-12.1.0/lib/rake/application.rb:118:in `run_with_threads'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/rake-12.1.0/lib/rake/application.rb:103:in `top_level'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/rake-12.1.0/lib/rake/application.rb:81:in `block in run'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/rake-12.1.0/lib/rake/application.rb:179:in `standard_exception_handling'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/rake-12.1.0/lib/rake/application.rb:78:in `run'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/rake-12.1.0/exe/rake:27:in `<top (required)>'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/redis-rack-2.0.3/bin/rake:17:in `load'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/redis-rack-2.0.3/bin/rake:17:in `<top (required)>'
/opt/gitlab/embedded/bin/rake:23:in `load'
/opt/gitlab/embedded/bin/rake:23:in `<top (required)>'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/bundler-1.13.7/lib/bundler/cli/exec.rb:74:in `load'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/bundler-1.13.7/lib/bundler/cli/exec.rb:74:in `kernel_load'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/bundler-1.13.7/lib/bundler/cli/exec.rb:27:in `run'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/bundler-1.13.7/lib/bundler/cli.rb:332:in `exec'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/bundler-1.13.7/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/bundler-1.13.7/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/bundler-1.13.7/lib/bundler/vendor/thor/lib/thor.rb:359:in `dispatch'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/bundler-1.13.7/lib/bundler/cli.rb:20:in `dispatch'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/bundler-1.13.7/lib/bundler/vendor/thor/lib/thor/base.rb:440:in `start'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/bundler-1.13.7/lib/bundler/cli.rb:11:in `start'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/bundler-1.13.7/exe/bundle:34:in `block in <top (required)>'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/bundler-1.13.7/lib/bundler/friendly_errors.rb:100:in `with_friendly_errors'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/bundler-1.13.7/exe/bundle:26:in `<top (required)>'
/opt/gitlab/embedded/bin/bundle:23:in `load'
/opt/gitlab/embedded/bin/bundle:23:in `<main>'
Tasks: TOP => gitlab:backup:create
```
I am using the latest docker image and commercial EE product, but may be applied to Community version as well.
Please check what is happening.
```
root@gitlab-1596860584-p1pq4:/# gitlab-rake gitlab:env:info
System information
System:
Proxy: no
Current User: git
Using RVM: no
Ruby Version: 2.3.5p376
Gem Version: 2.6.13
Bundler Version:1.13.7
Rake Version: 12.1.0
Redis Version: 3.2.5
Git Version: 2.13.6
Sidekiq Version:5.0.4
Go Version: unknown
GitLab information
Version: 10.2.5-ee
Revision: 3ec4b67
Directory: /opt/gitlab/embedded/service/gitlab-rails
DB Adapter: postgresql
DB Version: 9.6.6
URL: https://dockerhost.gitlab-889663.c66.me
HTTP Clone URL: https://dockerhost.gitlab-889663.c66.me/some-group/some-project.git
SSH Clone URL: git@dockerhost.gitlab-889663.c66.me:some-group/some-project.git
Elasticsearch: no
Geo: no
Using LDAP: no
Using Omniauth: no
GitLab Shell
Version: 5.10.0
Repository storage paths:
- default: /var/opt/gitlab/git-data/repositories
Hooks: /opt/gitlab/embedded/service/gitlab-shell/hooks
Git: /opt/gitlab/embedded/bin/git
```https://gitlab.com/gitlab-org/gitlab/-/issues/20684Error on cluster creation (trial period)2023-07-24T06:02:17Zvalentin bancarelbancarel.valentin@gmail.comError on cluster creation (trial period)### Summary
Now gitlab-ce#42014 is closed and OK. I still cannot create a cluster. It may be due to the fact I'm in trial period on google cloud engine.
### What is the current *bug* behavior?
Error mesage: We could not verify that on...### Summary
Now gitlab-ce#42014 is closed and OK. I still cannot create a cluster. It may be due to the fact I'm in trial period on google cloud engine.
### What is the current *bug* behavior?
Error mesage: We could not verify that one of your projects on GCP has billing enabled. Please try again.
### What is the expected *correct* behavior?
Cluster created
### Relevant logs and/or screenshots
![Screen_Shot_2018-01-15_at_6.55.41_PM](/uploads/d17d18a998503b53beed45e5188e4869/Screen_Shot_2018-01-15_at_6.55.41_PM.png)Backloghttps://gitlab.com/gitlab-org/gitlab/-/issues/20929ActionController::RoutingError (No route matches [POST] "/ci/api/v1/builds/re...2019-11-05T18:43:36ZThanh TranActionController::RoutingError (No route matches [POST] "/ci/api/v1/builds/register.json")I got a lot of below messages from production logs on GitLab CE 10.4.2 on CentOS.
`ActionController::RoutingError (No route matches [POST] "/ci/api/v1/builds/register.json"):
lib/gitlab/request_context.rb:18:in 'call'
lib/gitlab/metrics...I got a lot of below messages from production logs on GitLab CE 10.4.2 on CentOS.
`ActionController::RoutingError (No route matches [POST] "/ci/api/v1/builds/register.json"):
lib/gitlab/request_context.rb:18:in 'call'
lib/gitlab/metrics/requests_rack_middleware.rb:27:in 'call'
`
I have enabled rack attack and added all own company's IPs.https://gitlab.com/gitlab-org/gitlab/-/issues/21778GitLab Apache proxy and LetsEncrypt git clone with https 500 error2019-11-05T18:41:36ZNorbert JászayGitLab Apache proxy and LetsEncrypt git clone with https 500 errorOS: CentOS 7
> git.exe clone --progress -v "https://gitlab.bobnet.hu/bobesz/teszt2.git" "C:\Work\BNN\Keys\bobesz\freeipa\teszt2"
>
> Cloning into 'C:\Work\BNN\Keys\bobesz\freeipa\teszt2'...
> fatal: unable to access 'https://gitlab.bob...OS: CentOS 7
> git.exe clone --progress -v "https://gitlab.bobnet.hu/bobesz/teszt2.git" "C:\Work\BNN\Keys\bobesz\freeipa\teszt2"
>
> Cloning into 'C:\Work\BNN\Keys\bobesz\freeipa\teszt2'...
> fatal: unable to access 'https://gitlab.bobnet.hu/bobesz/teszt2.git/': The requested URL returned error: 500
>
> git did not exit cleanly (exit code 128) (2532 ms @ 4/6/2018 3:02:49 AM)[gitlab.conf](/uploads/c1a003610fd3505f026a5eaa639d195c/gitlab.conf)
[gitlab.rb](/uploads/1bfb3b6ae74d8a3ac094e0d9b7fa54cf/gitlab.rb)
[gitlab-le-ssl.conf](/uploads/89260abfb44005347207b7944bf69d8b/gitlab-le-ssl.conf)https://gitlab.com/gitlab-org/gitlab/-/issues/21816got error "standard_init_linux.go:195: exec user process caused "exec format ...2019-11-05T18:41:32Zxnathanhgot error "standard_init_linux.go:195: exec user process caused "exec format error"" when run gitlab by docker`runing script:`
```
#!/bin/sh
sudo docker run -d
--publish 30008:30008
--publish 30009:22
--name gitlab
--restart always
--volume /home/rock64/docker_gitlab/config:/etc/gitlab
--volume /home/rock64/docker_gitlab/logs:/var/log/gitla...`runing script:`
```
#!/bin/sh
sudo docker run -d
--publish 30008:30008
--publish 30009:22
--name gitlab
--restart always
--volume /home/rock64/docker_gitlab/config:/etc/gitlab
--volume /home/rock64/docker_gitlab/logs:/var/log/gitlab
--volume /home/rock64/docker_gitlab/data:/var/opt/gitlab
--env GITLAB_OMNIBUS_CONFIG=" gitlab_rails['gitlab_shell_ssh_port']=30009;"
gitlab/gitlab-ce:latest
```
`os info:`
```
root@R1:/home/rock64# uname -a
Linux R1 4.4.77-rockchip-ayufan-136 #1 SMP Thu Oct 12 09:14:48 UTC 2017 aarch64 aarch64 aarch64 GNU/Linux
root@R1:/home/rock64# cat /proc/version
Linux version 4.4.77-rockchip-ayufan-136 (root@713b8312374e) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.4) ) #1 SMP Thu Oct 12 09:14:48 UTC 2017
root@R1:/home/rock64# cat /etc/issue
Ubuntu 16.04.3 LTS \n \l
root@R1:/home/rock64# file /bin/ls
/bin/ls: ELF 64-bit LSB executable, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-aarch64.so.1, for GNU/Linux 3.7.0, BuildID[sha1]=2ddaf2fd4461aedced3da6b946139afc66738025, stripped
```
`docker info:`
```
root@R1:/home/rock64#
docker info
Containers: 1
Running: 0
Paused: 0
Stopped: 1
Images: 1
Server Version: 17.12.0-ce
Storage Driver: overlay2
Backing Filesystem: extfs
Supports d_type: true
Native Overlay Diff: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: bridge host macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file logentries splunk syslog
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 89623f28b87a6004d4b785663257362d1658a729
runc version: b2567b37d7b75eb4cf325b77297b140ea686ce8f
init version: 949e6fa
Security Options:
seccomp
Profile: default
Kernel Version: 4.4.77-rockchip-ayufan-136
Operating System: Ubuntu 16.04.3 LTS
OSType: linux
Architecture: aarch64
CPUs: 4
Total Memory: 3.833GiB
Name: R1
ID: AWYP:CJI6:AKW5:4L5X:R5MQ:73K2:T5B6:MXFO:QX2C:SJFR:4EA7:PGWS
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
Labels:
Experimental: false
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: false
```
docker version:
```
root@R1:/home/rock64# docker version
Client:
Version: 17.12.0-ce
API version: 1.35
Go version: go1.9.2
Git commit: c97c6d6
Built: Wed Dec 27 20:07:05 2017
OS/Arch: linux/arm64
Server:
Engine:
Version: 17.12.0-ce
API version: 1.35 (minimum version 1.12)
Go version: go1.9.2
Git commit: c97c6d6
Built: Wed Dec 27 20:05:10 2017
OS/Arch: linux/arm64
Experimental: false
```
`docker inspect:`
```
root@R1:/home/rock64# docker inspect 5d8ab6b06918
[
{
"Id": "sha256:5d8ab6b06918324513046b37467019d81d3994b8694234db177fcf47b7da8dde",
"RepoTags": [
"gitlab/gitlab-ce:latest"
],
"RepoDigests": [
"gitlab/gitlab-ce@sha256:4dcb6fc5cc75442dcf041c304d9b940f65bf1c0cdd06a7394201fec886fbd50e"
],
"Parent": "",
"Comment": "",
"Created": "2018-04-03T16:57:19.588723941Z",
"Container": "97625459f673be91b73f0066e714891207e08085f77736319d355c49ba148968",
"ContainerConfig": {
"Hostname": "97625459f673",
"Domainname": "",
"User": "",
"AttachStdin": false,
"AttachStdout": false,
"AttachStderr": false,
"ExposedPorts": {
"22/tcp": {},
"443/tcp": {},
"80/tcp": {}
},
"Tty": false,
"OpenStdin": false,
"StdinOnce": false,
"Env": [
"PATH=/opt/gitlab/embedded/bin:/opt/gitlab/bin:/assets:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"TERM=xterm"
],
"Cmd": [
"/bin/sh",
"-c",
"#(nop) ",
"HEALTHCHECK &{["CMD-SHELL" "/opt/gitlab/bin/gitlab-healthcheck --fail"] "1m0s" "30s" "0s" '\x05'}"
],
"Healthcheck": {
"Test": [
"CMD-SHELL",
"/opt/gitlab/bin/gitlab-healthcheck --fail"
],
"Interval": 60000000000,
"Timeout": 30000000000,
"Retries": 5
},
"ArgsEscaped": true,
"Image": "sha256:d4830a3f9d0bae0137c4f08688698ca0b031ccf2820d54e40b179a60d639d1b5",
"Volumes": {
"/etc/gitlab": {},
"/var/log/gitlab": {},
"/var/opt/gitlab": {}
},
"WorkingDir": "",
"Entrypoint": null,
"OnBuild": null,
"Labels": {},
"Shell": [
"/bin/sh",
"-c"
]
},
"DockerVersion": "18.03.0-ce",
"Author": "GitLab Inc. support@gitlab.com",
"Config": {
"Hostname": "",
"Domainname": "",
"User": "",
"AttachStdin": false,
"AttachStdout": false,
"AttachStderr": false,
"ExposedPorts": {
"22/tcp": {},
"443/tcp": {},
"80/tcp": {}
},
"Tty": false,
"OpenStdin": false,
"StdinOnce": false,
"Env": [
"PATH=/opt/gitlab/embedded/bin:/opt/gitlab/bin:/assets:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"TERM=xterm"
],
"Cmd": [
"/assets/wrapper"
],
"Healthcheck": {
"Test": [
"CMD-SHELL",
"/opt/gitlab/bin/gitlab-healthcheck --fail"
],
"Interval": 60000000000,
"Timeout": 30000000000,
"Retries": 5
},
"ArgsEscaped": true,
"Image": "sha256:d4830a3f9d0bae0137c4f08688698ca0b031ccf2820d54e40b179a60d639d1b5",
"Volumes": {
"/etc/gitlab": {},
"/var/log/gitlab": {},
"/var/opt/gitlab": {}
},
"WorkingDir": "",
"Entrypoint": null,
"OnBuild": null,
"Labels": null,
"Shell": [
"/bin/sh",
"-c"
]
},
"Architecture": "amd64",
"Os": "linux",
"Size": 1432825730,
"VirtualSize": 1432825730,
"GraphDriver": {
"Data": {
"LowerDir": "/var/lib/docker/overlay2/5946920efbd43f2233707a239bccc95364b360dc0fe0f97b1fcd75986b2fc473/diff:/var/lib/docker/overlay2/7f1d5989329deb30b6e407aae30dbcf457495b4877f1ff7cd47fad1c64454f89/diff:/var/lib/docker/overlay2/9d7b87f67d6b08a4a0c378f9fa5d2720dfc76fa5f6b89b9fe578f5d5c32b7015/diff:/var/lib/docker/overlay2/15ee97ec37e4ae5204d79329489d75036743a3f2689f7670689012d2e900d547/diff:/var/lib/docker/overlay2/981f017f379824a9fb4cc780dc4693a7798f3f81bdebd31b7ecbb49d0cd1ca22/diff:/var/lib/docker/overlay2/d016d87d04d76092ed76fdc2e60d4dc43246e47f6e74566fd32be23c8ed17127/diff:/var/lib/docker/overlay2/8a2a5f2c2efdc03c806fc3543f6d877abf2be807b83690eba6142b9d955e980f/diff:/var/lib/docker/overlay2/472ef38148dcdddad40f415bd43c9b31635d17b97f1044624253ef59974c21d7/diff:/var/lib/docker/overlay2/5b8d1ec53e699e52970718aa656188d6ed4d3fae5d72395496c9568b582beb50/diff:/var/lib/docker/overlay2/4a6a20adfbed0002f610750db40bf79b19873e775f72bb44c7c9478e52ecb4cd/diff",
"MergedDir": "/var/lib/docker/overlay2/10f384698bf0dadd78cf3d2356cae49d70783b4510dcb6f1e9ecc33ade4f20fa/merged",
"UpperDir": "/var/lib/docker/overlay2/10f384698bf0dadd78cf3d2356cae49d70783b4510dcb6f1e9ecc33ade4f20fa/diff",
"WorkDir": "/var/lib/docker/overlay2/10f384698bf0dadd78cf3d2356cae49d70783b4510dcb6f1e9ecc33ade4f20fa/work"
},
"Name": "overlay2"
},
"RootFS": {
"Type": "layers",
"Layers": [
"sha256:a94e0d5a7c404d0e6fa15d8cd4010e69663bd8813b5117fbad71365a73656df9",
"sha256:88888b9b1b5b7bce5db41267e669e6da63ee95736cb904485f96f29be648bfda",
"sha256:52f389ea437ebf419d1c9754d0184b57edb45c951666ee86951d9f6afd26035e",
"sha256:52a7ea2bb533dc2a91614795760a67fb807561e8a588204c4858a300074c082b",
"sha256:db584c622b50c3b8f9b8b94c270cc5fe235e5f23ec4aacea8ce67a8c16e0fbad",
"sha256:548d2f3a8e505a5b1dec6d3bb963f8b21d61078103b1e1ef5d2f709435406666",
"sha256:7a3c9d06807d32550e2f758f41a23d62513173ff63b33b22a9737a4d15a38c60",
"sha256:abcc0971e3bc15b6647ad82a77a96dff10ebb24f28507998f1cb26b1e8689879",
"sha256:7ec39eb738898ce3ff37aacf96ed9afb453ece7cc007eaf5fcd8873e2c9aeb68",
"sha256:b654d3fb5f57f51e38dc7979aa8c620d21778cfc109ca1c304711e22bbf83119",
"sha256:1c5b7dff198f70a3155ceeb496f998583c3bbff59d40fc5c64ce980416dea1a2"
]
},
"Metadata": {
"LastTagTime": "0001-01-01T00:00:00Z"
}
}
]
```https://gitlab.com/gitlab-org/gitlab/-/issues/21867Random 403 behind nginx proxy2019-11-05T18:41:25ZGuillaumeRandom 403 behind nginx proxy### Summary
I run a Gitlab CE server behind Nginx proxy, and regularly after 3 or 4 builds, the server would stop accepting me by throwing 403 to every request I do. If I try to connect with any other user it would work, but even as an a...### Summary
I run a Gitlab CE server behind Nginx proxy, and regularly after 3 or 4 builds, the server would stop accepting me by throwing 403 to every request I do. If I try to connect with any other user it would work, but even as an admin user, if I impersonate my user it would give me white page. After a day or two, things would go back to normal.
### Steps to reproduce
Gitlab CE (up to date) behind nginx (1.13.12) over HTTP/2
Run multiple pipelines (with some of them failing) within a few hours
Maybe other steps but I'm not sure as the problem is not really straightforward
### Example Project
Not possible as I never had the problem on gitlab.com on the same projects
### What is the current *bug* behavior?
White page (underlying 403) for all pages as long as I'm connected (if I delete the session cookie, I can access the website until I connect again)
### What is the expected *correct* behavior?
The actual Gitlab service
### Relevant logs and/or screenshots
production.log
```
Started GET "/" for <my-ip> at 2018-04-12 16:21:53 +0200
Processing by RootController#index as HTML
Completed 403 Forbidden in 5ms (ActiveRecord: 0.9ms)
```
production_json.log
```
{"method":"GET","path":"/","format":"html","controller":"RootController","action":"index","status":403,"duration":5.89,"view":0.0,"db":0.89,"time":"2018-04-12T14:21:53.535Z","params":[],"remote_ip":"<my-ip>","user_id":3,"username":"grobert"}
```
nginx access.log
```
<my-ip> - - [12/Apr/2018:16:21:53 +0200] "GET / HTTP/2.0" 403 0 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:59.0) Gecko/20100101 Firefox/59.0"
```
### Output of checks
#### Results of GitLab environment info
<details>
<summary>Expand for output related to GitLab environment info</summary>
<pre>
System information
System: Debian 8
Current User: gitlab
Using RVM: no
Ruby Version: 2.3.6p384
Gem Version: 2.6.13
Bundler Version:1.13.7
Rake Version: 12.3.0
Redis Version: 3.2.11
Git Version: 2.14.3
Sidekiq Version:5.0.5
Go Version: unknown
GitLab information
Version: 10.6.4
Revision: dee2c87
Directory: /opt/gitlab/embedded/service/gitlab-rails
DB Adapter: postgresql
URL: https://gitlab.minesouls.fr
HTTP Clone URL: https://gitlab.minesouls.fr/some-group/some-project.git
SSH Clone URL: gitlab@ssh.minesouls.fr:some-group/some-project.git
Using LDAP: no
Using Omniauth: no
GitLab Shell
Version: 6.0.4
Repository storage paths:
- default: /home/gitlab/git-data/repositories
Hooks: /opt/gitlab/embedded/service/gitlab-shell/hooks
Git: /opt/gitlab/embedded/bin/git
</pre>
</details>
#### Results of GitLab application Check
<details>
<summary>Expand for output related to the GitLab application check</summary>
<pre>
Checking GitLab Shell ...
GitLab Shell version >= 6.0.4 ? ... OK (6.0.4)
Repo base directory exists?
default... yes
Repo storage directories are symlinks?
default... no
Repo paths owned by gitlab:root, or gitlab:gitlab?
default... yes
Repo paths access is drwxrws---?
default... yes
hooks directories in repos are links: ...
4/3 ... ok
5/6 ... ok
4/9 ... ok
4/10 ... ok
4/11 ... ok
4/12 ... ok
3/13 ... ok
3/15 ... ok
3/16 ... ok
3/17 ... ok
2/18 ... ok
2/19 ... ok
3/20 ... ok
3/21 ... ok
2/22 ... ok
2/23 ... ok
15/25 ... ok
16/26 ... ok
18/27 ... ok
19/28 ... ok
20/29 ... ok
20/30 ... ok
3/31 ... ok
15/33 ... ok
15/34 ... ok
19/35 ... ok
26/36 ... ok
26/37 ... ok
26/38 ... ok
26/39 ... ok
27/41 ... ok
27/42 ... ok
3/43 ... ok
3/44 ... ok
3/45 ... 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
Checking Reply by email ...
IMAP server credentials are correct? ... yes
Init.d configured correctly? ... skipped
MailRoom running? ... skipped
Checking Reply by email ... Finished
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: ...
4/3 ... yes
5/6 ... yes
4/9 ... yes
4/10 ... yes
4/11 ... yes
4/12 ... yes
3/13 ... yes
3/15 ... yes
3/16 ... yes
3/17 ... yes
2/18 ... yes
2/19 ... yes
3/20 ... yes
3/21 ... yes
2/22 ... yes
2/23 ... yes
15/25 ... yes
16/26 ... yes
18/27 ... yes
19/28 ... yes
20/29 ... yes
20/30 ... yes
3/31 ... yes
15/33 ... yes
15/34 ... yes
19/35 ... yes
26/36 ... yes
26/37 ... yes
26/38 ... yes
26/39 ... yes
27/41 ... yes
27/42 ... yes
3/43 ... yes
3/44 ... yes
3/45 ... yes
Redis version >= 2.8.0? ... yes
Ruby version >= 2.3.5 ? ... yes (2.3.6)
Git version >= 2.9.5 ? ... yes (2.14.3)
Git user has default SSH configuration? ... yes
Active users: ... 12
Checking GitLab ... Finished
</pre>
</details>
Feel free to ask if you need any more informationhttps://gitlab.com/gitlab-org/gitlab/-/issues/21915After a period of inactivity gitlab becomes unresponsive to the point of lock...2023-05-02T10:42:34ZRAJKOMAR RyanAfter a period of inactivity gitlab becomes unresponsive to the point of locking the server completely### Summary
I have a self-hosted Gitlab-CE omnibus install on my server.
While it works fine for several days at a time, after a few days (best estimate is around 10-15 days) of inactivity, the server becomes completely unresponsive to ...### Summary
I have a self-hosted Gitlab-CE omnibus install on my server.
While it works fine for several days at a time, after a few days (best estimate is around 10-15 days) of inactivity, the server becomes completely unresponsive to the point that I can't even ssh to it...
The only way to fix the issue so far has been restarting the server
### Steps to reproduce
Install a omnibus Gitlab CE on a proxmox vm
with the following configuration :
4 CPUS (2 sockets, 2 cores)
16 GB of RAM available
64GB hard disk drive
FYI, the issue has been happening over several versions.
### What is the current *bug* behavior?
Server becomes unresponsive, can't even ssh to it to restart gitlab
### What is the expected *correct* behavior?
server should remain available at all times
#### Results of GitLab environment info
<details>
<summary>Expand for output related to GitLab environment info</summary>
<pre>
System information
System: Debian 8.10
Current User: git
Using RVM: no
Ruby Version: 2.3.6p384
Gem Version: 2.6.13
Bundler Version:1.13.7
Rake Version: 12.3.0
Redis Version: 3.2.11
Git Version: 2.14.3
Sidekiq Version:5.0.5
Go Version: unknown
GitLab information
Version: 10.6.4
Revision: dee2c87
Directory: /opt/gitlab/embedded/service/gitlab-rails
DB Adapter: postgresql
URL: https://gitlab.itspire.fr
HTTP Clone URL: https://gitlab.itspire.fr/some-group/some-project.git
SSH Clone URL: git@gitlab.itspire.fr:some-group/some-project.git
Using LDAP: no
Using Omniauth: no
GitLab Shell
Version: 6.0.4
Repository storage paths:
- default: /opt/gitlab/git-data/repositories
Hooks: /opt/gitlab/embedded/service/gitlab-shell/hooks
Git: /opt/gitlab/embedded/bin/git
</pre>
</details>
#### Results of GitLab application Check
<details>
<summary>Expand for output related to the GitLab application check</summary>
<pre>
Checking GitLab Shell ...
GitLab Shell version >= 6.0.4 ? ... OK (6.0.4)
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: ...
4/1 ... ok
4/2 ... ok
4/3 ... ok
4/4 ... ok
4/5 ... ok
4/8 ... ok
4/9 ... ok
4/10 ... ok
4/15 ... ok
4/16 ... ok
5/19 ... ok
5/20 ... ok
4/21 ... ok
5/22 ... ok
5/23 ... ok
5/24 ... ok
5/25 ... ok
5/26 ... ok
5/27 ... ok
5/28 ... ok
4/31 ... ok
5/32 ... ok
6/34 ... ok
6/36 ... ok
5/37 ... ok
5/38 ... 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: ...
4/1 ... yes
4/2 ... yes
4/3 ... yes
4/4 ... yes
4/5 ... yes
4/8 ... yes
4/9 ... yes
4/10 ... yes
4/15 ... yes
4/16 ... yes
5/19 ... yes
5/20 ... yes
4/21 ... yes
5/22 ... yes
5/23 ... yes
5/24 ... yes
5/25 ... yes
5/26 ... yes
5/27 ... yes
5/28 ... yes
4/31 ... yes
5/32 ... yes
6/34 ... yes
6/36 ... yes
5/37 ... yes
5/38 ... yes
Redis version >= 2.8.0? ... yes
Ruby version >= 2.3.5 ? ... yes (2.3.6)
Git version >= 2.9.5 ? ... yes (2.14.3)
Git user has default SSH configuration? ... yes
Active users: ... 2
Checking GitLab ... Finished
</pre>
</details>https://gitlab.com/gitlab-org/gitlab/-/issues/21921external ci integration2023-03-13T19:42:06ZMathias Schüpanyexternal ci integrationThere are many ways to do a CI build in gitlab.
1. Gitlab-CI - This internally uses the pipline object to store the whole information about the ci build
2. Pushing commit status via the API (POST /projects/:id/statuses/:sha) - This inter...There are many ways to do a CI build in gitlab.
1. Gitlab-CI - This internally uses the pipline object to store the whole information about the ci build
2. Pushing commit status via the API (POST /projects/:id/statuses/:sha) - This internally also wraps the whole status information sent by the CI system into a pipline object
3. Gitlab Integrations (e.g. Teamcity-Integration) - This is implemented completely different than the first two. It uses a reactive cache to cache the results for the ui. Also the information that is passed to the ui is different. e.g. only the ci status is passed and for example the ci result url is missing.
Now my question. Why are Gitlab Integrations handled in another way than the API Requests?Awaiting further demandhttps://gitlab.com/gitlab-org/gitlab/-/issues/22072Sending Signature as a query string in SAML requests2023-10-16T20:57:22Z(╯°□°)╯︵ uᴉǝssnH ɐɟɐʇsoWSending Signature as a query string in SAML requestsWe have an idP where we need to enable signature validation in authentication requests and logout requests. The validation works by checking if there is a signature parameter in the url as it validates through HTTP-Redirect. but i couldn...We have an idP where we need to enable signature validation in authentication requests and logout requests. The validation works by checking if there is a signature parameter in the url as it validates through HTTP-Redirect. but i couldn't figure out how i make Gitlab sends the `Signature` in the querystring along with `SigAlg` parameter. This is the current saml configuration:
```ruby
gitlab_rails['omniauth_enabled'] = true
gitlab_rails['omniauth_allow_single_sign_on'] = ['saml']
gitlab_rails['omniauth_block_auto_created_users'] = true
gitlab_rails['omniauth_auto_link_saml_user'] = true
gitlab_rails['omniauth_providers'] = [
{
name: 'saml',
args: {
assertion_consumer_service_url: 'https://gitlab-ce-host/users/auth/saml/callback',
idp_cert_fingerprint: 'xxxxxxxxxxxxxx',
idp_cert_fingerprint_algorithm: 'http://www.w3.org/2000/09/xmldsig#sha1',
idp_sso_target_url: 'https://idp-host/samlsso',
idp_sso_target_binding: 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST',
issuer: 'https://gitlab-ce-host',
name_identifier_format: 'urn:oasis:names:tc:SAML:2.0:nameid-format:persistent',
certificate: 'xxxxxxxxxxxxxxxxx',
private_key: 'xxxxxxxxxxxxxxxxx'
},
label: 'Login' # optional label for SAML login button, defaults to "Saml"
}
```
```https://gitlab.com/gitlab-org/gitlab/-/issues/22307Gitlab import fails, sidekiq terminating busy threads2019-11-05T18:40:43ZMark NordineGitlab import fails, sidekiq terminating busy threads### Summary
Large repo (3GB with LFS objects) Gitlab import fails, sidekiq appears to terminate busy threads
### Steps to reproduce
Attempt to import a largish Gitlab export.
### What is the current *bug* behavior?
After some time (3...### Summary
Large repo (3GB with LFS objects) Gitlab import fails, sidekiq appears to terminate busy threads
### Steps to reproduce
Attempt to import a largish Gitlab export.
### What is the current *bug* behavior?
After some time (30 mins?), import fails with error message in web UI:
```
Error importing repository into user/project - tar (child): [REPO EXPORT PATH]/uploads/774b8ad292120fb51165dd8274873e75: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
, Unable to decompress [REPO EXPORT PATH]/uploads/774b8ad292120fb51165dd8274873e75 into [REPO EXPORT PATH]/user/project/47bdd9b6c42711ad4bbe804c138c90d5
```
Attempting to import the exact same Gitlab export will result in same error, just with a different upload hash.
### What is the expected *correct* behavior?
Import succeeds without error.
### Relevant logs and/or screenshots
sidekiq.log:
```
2018-05-17_23:27:18.00258 2018-05-17T23:27:18.002Z 521 TID-ouiu3j9c0 INFO: Booting Sidekiq 5.0.5 with redis options {:host=>"gitlab-gitlab-redis", :port=>6379, :password=>nil, :namespace=>"resque:gitlab", :id=>"Sidekiq-server-PID-521", :url=>nil}
2018-05-17_23:27:18.14629 2018-05-17T23:27:18.146Z 521 TID-ouiu3j9c0 INFO: Cron Jobs - add job with name: stuck_ci_jobs_worker
2018-05-17_23:27:18.14974 2018-05-17T23:27:18.149Z 521 TID-ouiu3j9c0 INFO: Cron Jobs - add job with name: expire_build_artifacts_worker
2018-05-17_23:27:18.15390 2018-05-17T23:27:18.153Z 521 TID-ouiu3j9c0 INFO: Cron Jobs - add job with name: pipeline_schedule_worker
2018-05-17_23:27:18.15863 2018-05-17T23:27:18.158Z 521 TID-ouiu3j9c0 INFO: Cron Jobs - add job with name: repository_check_worker
2018-05-17_23:27:18.16131 2018-05-17T23:27:18.161Z 521 TID-ouiu3j9c0 INFO: Cron Jobs - add job with name: admin_email_worker
2018-05-17_23:27:18.16482 2018-05-17T23:27:18.164Z 521 TID-ouiu3j9c0 INFO: Cron Jobs - add job with name: repository_archive_cache_worker
2018-05-17_23:27:18.16704 2018-05-17T23:27:18.166Z 521 TID-ouiu3j9c0 INFO: Cron Jobs - add job with name: pages_domain_verification_cron_worker
2018-05-17_23:27:18.17018 2018-05-17T23:27:18.170Z 521 TID-ouiu3j9c0 INFO: Cron Jobs - add job with name: import_export_project_cleanup_worker
2018-05-17_23:27:18.17283 2018-05-17T23:27:18.172Z 521 TID-ouiu3j9c0 INFO: Cron Jobs - add job with name: requests_profiles_worker
2018-05-17_23:27:18.17533 2018-05-17T23:27:18.175Z 521 TID-ouiu3j9c0 INFO: Cron Jobs - add job with name: remove_expired_members_worker
2018-05-17_23:27:18.17822 2018-05-17T23:27:18.178Z 521 TID-ouiu3j9c0 INFO: Cron Jobs - add job with name: remove_expired_group_links_worker
2018-05-17_23:27:18.18049 2018-05-17T23:27:18.180Z 521 TID-ouiu3j9c0 INFO: Cron Jobs - add job with name: prune_old_events_worker
2018-05-17_23:27:18.18263 2018-05-17T23:27:18.182Z 521 TID-ouiu3j9c0 INFO: Cron Jobs - add job with name: trending_projects_worker
2018-05-17_23:27:18.18679 2018-05-17T23:27:18.186Z 521 TID-ouiu3j9c0 INFO: Cron Jobs - add job with name: remove_unreferenced_lfs_objects_worker
2018-05-17_23:27:18.19104 2018-05-17T23:27:18.190Z 521 TID-ouiu3j9c0 INFO: Cron Jobs - add job with name: stuck_import_jobs_worker
2018-05-17_23:27:18.19463 2018-05-17T23:27:18.194Z 521 TID-ouiu3j9c0 INFO: Cron Jobs - add job with name: gitlab_usage_ping_worker
2018-05-17_23:27:18.19830 2018-05-17T23:27:18.198Z 521 TID-ouiu3j9c0 INFO: Cron Jobs - add job with name: schedule_update_user_activity_worker
2018-05-17_23:27:18.20235 2018-05-17T23:27:18.202Z 521 TID-ouiu3j9c0 INFO: Cron Jobs - add job with name: remove_old_web_hook_logs_worker
2018-05-17_23:27:18.20487 2018-05-17T23:27:18.204Z 521 TID-ouiu3j9c0 INFO: Cron Jobs - add job with name: stuck_merge_jobs_worker
2018-05-17_23:27:33.02752 2018-05-17T23:27:33.027Z 521 TID-ouiu3j9c0 INFO: Running in ruby 2.3.6p384 (2017-12-14 revision 61254) [x86_64-linux]
2018-05-17_23:27:33.02755 2018-05-17T23:27:33.027Z 521 TID-ouiu3j9c0 INFO: See LICENSE and the LGPL-3.0 for licensing details.
2018-05-17_23:27:33.02756 2018-05-17T23:27:33.027Z 521 TID-ouiu3j9c0 INFO: Upgrade to Sidekiq Pro for more features and support: http://sidekiq.org
2018-05-17_23:27:33.02923 2018-05-17T23:27:33.029Z 521 TID-ouiu3j9c0 INFO: Starting processing, hit Ctrl-C to stop
2018-05-17_23:27:33.03352 2018-05-17T23:27:33.033Z 521 TID-ouiu3j9c0 INFO: Listening on queues ["authorized_projects", "background_migration", "create_gpg_signature", "cronjob", "cronjob:admin_email", "cronjob:expire_build_artifacts", "cronjob:gitlab_usage_ping", "cronjob:import_export_project_cleanup", "cronjob:pages_domain_verification_cron", "cronjob:pipeline_schedule", "cronjob:prune_old_events", "cronjob:remove_expired_group_links", "cronjob:remove_expired_members", "cronjob:remove_old_web_hook_logs", "cronjob:remove_unreferenced_lfs_objects", "cronjob:repository_archive_cache", "cronjob:repository_check_batch", "cronjob:requests_profiles", "cronjob:schedule_update_user_activity", "cronjob:stuck_ci_jobs", "cronjob:stuck_import_jobs", "cronjob:stuck_merge_jobs", "cronjob:trending_projects", "default", "delete_merged_branches", "delete_user", "email_receiver", "emails_on_push", "expire_build_instance_artifacts", "gcp_cluster", "gcp_cluster:check_gcp_project_billing", "gcp_cluster:cluster_install_app", "gcp_cluster:cluster_provision", "gcp_cluster:cluster_wait_for_app_installation", "gcp_cluster:cluster_wait_for_ingress_ip_address", "gcp_cluster:wait_for_cluster_creation", "git_garbage_collect", "github_import_advance_stage", "github_importer", "github_importer:github_import_import_diff_note", "github_importer:github_import_import_issue", "github_importer:github_import_import_note", "github_importer:github_import_import_pull_request", "github_importer:github_import_refresh_import_jid", "github_importer:github_import_stage_finish_import", "github_importer:github_import_stage_import_base_data", "github_importer:github_import_stage_import_issues_and_diff_notes", "github_importer:github_import_stage_import_notes", "github_importer:github_import_stage_import_pull_requests", "github_importer:github_import_stage_import_repository", "gitlab_shell", "group_destroy", "invalid_gpg_signature_update", "irker", "mailers", "merge", "namespaceless_project_destroy", "new_issue", "new_merge_request", "new_note", "object_storage", "object_storage:object_storage_background_move", "object_storage:object_storage_migrate_uploads", "object_storage_upload", "pages", "pages_domain_verification", "pipeline_background", "pipeline_background:archive_trace", "pipeline_cache", "pipeline_cache:expire_job_cache", "pipeline_cache:expire_pipeline_cache", "pipeline_creation", "pipeline_creation:create_pipeline", "pipeline_creation:run_pipeline_schedule", "pipeline_default", "pipeline_default:build_coverage", "pipeline_default:build_trace_sections", "pipeline_default:pipeline_metrics", "pipeline_default:pipeline_notification", "pipeline_hooks", "pipeline_hooks:build_hooks", "pipeline_hooks:pipeline_hooks", "pipeline_processing", "pipeline_processing:build_finished", "pipeline_processing:build_queue", "pipeline_processing:build_success", "pipeline_processing:pipeline_process", "pipeline_processing:pipeline_success", "pipeline_processing:pipeline_update", "pipeline_processing:stage_update", "pipeline_processing:update_head_pipeline_for_merge_request", "plugin", "post_receive", "process_commit", "project_cache", "project_destroy", "project_export", "project_migrate_hashed_storage", "project_service", "propagate_service_template", "reactive_caching", "rebase", "repository_check", "repository_check:repository_check_clear", "repository_check:repository_check_single_repository", "repository_fork", "repository_import", "storage_migrator", "system_hook_push", "update_merge_requests", "update_user_activity", "upload_checksum", "web_hook"]
2018-05-17_23:29:22.19449 2018-05-17T23:29:22.194Z 521 TID-ouiovnnxo ProjectDestroyWorker JID-980c83aaa9422ade3c9f0547 INFO: start
2018-05-17_23:29:24.00046 2018-05-17T23:29:24.000Z 521 TID-ouiovnnxo ProjectDestroyWorker JID-980c83aaa9422ade3c9f0547 INFO: done: 1.806 sec
2018-05-17_23:30:07.35368 2018-05-17T23:30:07.352Z 521 TID-ouio6clsw PagesDomainVerificationCronWorker JID-9c3a23ea63f0508ceb21f70f INFO: start
2018-05-17_23:30:07.38390 2018-05-17T23:30:07.383Z 521 TID-ouio6clsw PagesDomainVerificationCronWorker JID-9c3a23ea63f0508ceb21f70f INFO: done: 0.031 sec
2018-05-17_23:34:26.32227 2018-05-17T23:34:26.321Z 521 TID-ouiovnn48 GitlabShellWorker JID-fb23ec6b3d1a4daa7797dfc2 INFO: start
2018-05-17_23:34:26.32685 2018-05-17T23:34:26.326Z 521 TID-ouiovnme4 GitlabShellWorker JID-f60e499f30e614f74276a35e INFO: start
2018-05-17_23:34:26.34162 2018-05-17T23:34:26.341Z 521 TID-ouiovnn48 GitlabShellWorker JID-fb23ec6b3d1a4daa7797dfc2 INFO: done: 0.02 sec
2018-05-17_23:34:26.37708 2018-05-17T23:34:26.376Z 521 TID-ouiovnme4 GitlabShellWorker JID-f60e499f30e614f74276a35e INFO: done: 0.05 sec
2018-05-17_23:45:42.38729 2018-05-17T23:45:42.386Z 521 TID-ouiovjlo4 PagesDomainVerificationCronWorker JID-ae898e28bc462e0e08f70eb9 INFO: start
2018-05-17_23:45:42.41058 2018-05-17T23:45:42.410Z 521 TID-ouiovjlo4 PagesDomainVerificationCronWorker JID-ae898e28bc462e0e08f70eb9 INFO: done: 0.024 sec
2018-05-17_23:50:25.45650 2018-05-17T23:50:25.454Z 521 TID-ouio6cgiw ExpireBuildArtifactsWorker JID-e614f063da13f520acf5418e INFO: start
2018-05-17_23:50:25.49995 2018-05-17T23:50:25.499Z 521 TID-ouio6cgiw ExpireBuildArtifactsWorker JID-e614f063da13f520acf5418e INFO: done: 0.045 sec
2018-05-18_00:00:16.66200 2018-05-18T00:00:16.661Z 521 TID-ouiovnoqk StuckCiJobsWorker JID-c9e6c93a4dfb73a444a4d535 INFO: start
2018-05-18_00:00:16.68024 2018-05-18T00:00:16.679Z 521 TID-ouiovno88 RequestsProfilesWorker JID-f7321810932718d7336f2ffb INFO: start
2018-05-18_00:00:16.68680 2018-05-18T00:00:16.686Z 521 TID-ouiovno88 RequestsProfilesWorker JID-f7321810932718d7336f2ffb INFO: done: 0.007 sec
2018-05-18_00:00:16.68802 2018-05-18T00:00:16.687Z 521 TID-ouio6cl8c PagesDomainVerificationCronWorker JID-2c125747c2233c49746abdd1 INFO: start
2018-05-18_00:00:16.69121 2018-05-18T00:00:16.690Z 521 TID-ouiovnoqk StuckCiJobsWorker JID-c9e6c93a4dfb73a444a4d535 INFO: done: 0.029 sec
2018-05-18_00:00:16.69792 2018-05-18T00:00:16.697Z 521 TID-ouiovnnos RepositoryArchiveCacheWorker JID-9c2c9f8c60c95a2de730fe8d INFO: start
2018-05-18_00:00:16.70644 2018-05-18T00:00:16.706Z 521 TID-ouiovnnos RepositoryArchiveCacheWorker JID-9c2c9f8c60c95a2de730fe8d INFO: done: 0.008 sec
2018-05-18_00:00:16.70808 2018-05-18T00:00:16.707Z 521 TID-ouio6cl8c PagesDomainVerificationCronWorker JID-2c125747c2233c49746abdd1 INFO: done: 0.02 sec
2018-05-18_00:00:16.70989 2018-05-18T00:00:16.709Z 521 TID-ouio6cl7s StuckMergeJobsWorker JID-0ca4069e86f8ee7e3e2ba99b INFO: start
2018-05-18_00:00:16.71640 2018-05-18T00:00:16.716Z 521 TID-ouio6clsw ImportExportProjectCleanupWorker JID-c338939296e3a63ceef7f2de INFO: start
2018-05-18_00:00:16.72426 2018-05-18T00:00:16.723Z 521 TID-ouio6ci6w PruneOldEventsWorker JID-5fa598c2be49f4d114e0b946 INFO: start
2018-05-18_00:00:16.73620 2018-05-18T00:00:16.735Z 521 TID-ouio6cl7s StuckMergeJobsWorker JID-0ca4069e86f8ee7e3e2ba99b INFO: done: 0.026 sec
2018-05-18_00:00:16.74656 2018-05-18T00:00:16.746Z 521 TID-ouio6ci6w PruneOldEventsWorker JID-5fa598c2be49f4d114e0b946 INFO: done: 0.023 sec
2018-05-18_00:00:16.80780 2018-05-18T00:00:16.807Z 521 TID-ouio6clsw ImportExportProjectCleanupWorker JID-c338939296e3a63ceef7f2de INFO: done: 0.091 sec
2018-05-18_00:10:03.29029 2018-05-18T00:10:03.290Z 521 TID-ouiovnnos RemoveExpiredGroupLinksWorker JID-593d37613bd99465aeaee897 INFO: start
2018-05-18_00:10:03.30253 2018-05-18T00:10:03.302Z 521 TID-ouiovnoqk RemoveExpiredMembersWorker JID-b5162d4ea9e7a25a53f8990f INFO: start
2018-05-18_00:10:03.33223 2018-05-18T00:10:03.331Z 521 TID-ouiovnnos RemoveExpiredGroupLinksWorker JID-593d37613bd99465aeaee897 INFO: done: 0.041 sec
2018-05-18_00:10:03.33863 2018-05-18T00:10:03.338Z 521 TID-ouiovnoqk RemoveExpiredMembersWorker JID-b5162d4ea9e7a25a53f8990f INFO: done: 0.036 sec
2018-05-18_00:15:12.31278 2018-05-18T00:15:12.312Z 521 TID-ouio6cgiw PagesDomainVerificationCronWorker JID-a5e9de6ca06605e9bbb8ac1a INFO: start
2018-05-18_00:15:12.33327 2018-05-18T00:15:12.332Z 521 TID-ouiovnoyw StuckImportJobsWorker JID-cfcb4ff2d658a3033423ea89 INFO: start
2018-05-18_00:15:12.34425 2018-05-18T00:15:12.344Z 521 TID-ouio6cgiw PagesDomainVerificationCronWorker JID-a5e9de6ca06605e9bbb8ac1a INFO: done: 0.031 sec
2018-05-18_00:15:12.35137 2018-05-18T00:15:12.350Z 521 TID-ouiovnoyw StuckImportJobsWorker JID-cfcb4ff2d658a3033423ea89 INFO: done: 0.018 sec
2018-05-18_00:19:31.59070 2018-05-18T00:19:31.589Z 521 TID-ouio6clm8 PipelineScheduleWorker JID-b42c1e02ec0ed59b3d8451d2 INFO: start
2018-05-18_00:19:31.62145 2018-05-18T00:19:31.621Z 521 TID-ouio6clm8 PipelineScheduleWorker JID-b42c1e02ec0ed59b3d8451d2 INFO: done: 0.032 sec
2018-05-18_00:20:12.47841 2018-05-18T00:20:12.477Z 521 TID-ouiovnmsk RemoveUnreferencedLfsObjectsWorker JID-1fc123d7efc0829bf82b345b INFO: start
2018-05-18_00:20:12.50386 2018-05-18T00:20:12.503Z 521 TID-ouio6cl7s RepositoryCheck::BatchWorker JID-815799975c72f33ff527a444 INFO: start
2018-05-18_00:20:12.51131 2018-05-18T00:20:12.511Z 521 TID-ouiovnmsk RemoveUnreferencedLfsObjectsWorker JID-1fc123d7efc0829bf82b345b INFO: done: 0.034 sec
2018-05-18_00:20:12.52131 2018-05-18T00:20:12.521Z 521 TID-ouio6cl7s RepositoryCheck::BatchWorker JID-815799975c72f33ff527a444 INFO: done: 0.017 sec
2018-05-18_00:30:14.07492 2018-05-18T00:30:14.074Z 521 TID-ouiovnme4 ScheduleUpdateUserActivityWorker JID-669788ff1bb0d7373972d9af INFO: start
2018-05-18_00:30:14.07843 2018-05-18T00:30:14.077Z 521 TID-ouiovnmlc UpdateUserActivityWorker JID-c9fe60d649d0f82c69eb49b6 INFO: start
2018-05-18_00:30:14.09621 2018-05-18T00:30:14.095Z 521 TID-ouiovnme4 ScheduleUpdateUserActivityWorker JID-669788ff1bb0d7373972d9af INFO: done: 0.021 sec
2018-05-18_00:30:14.09817 2018-05-18T00:30:14.098Z 521 TID-ouiovnmsk PagesDomainVerificationCronWorker JID-11b58d80dd71fa1bb1cb8d66 INFO: start
2018-05-18_00:30:14.12637 2018-05-18T00:30:14.126Z 521 TID-ouiovnmsk PagesDomainVerificationCronWorker JID-11b58d80dd71fa1bb1cb8d66 INFO: done: 0.028 sec
2018-05-18_00:30:14.12742 2018-05-18T00:30:14.127Z 521 TID-ouiovnmlc UpdateUserActivityWorker JID-c9fe60d649d0f82c69eb49b6 INFO: done: 0.05 sec
2018-05-18_00:40:03.86376 2018-05-18T00:40:03.863Z 521 TID-ouiovnoyw RemoveOldWebHookLogsWorker JID-a88e714f62d3eb8d03cd6162 INFO: start
2018-05-18_00:40:03.88575 2018-05-18T00:40:03.885Z 521 TID-ouiovnoyw RemoveOldWebHookLogsWorker JID-a88e714f62d3eb8d03cd6162 INFO: done: 0.022 sec
2018-05-18_00:43:39.96083 2018-05-18T00:43:39.959Z 521 TID-ouiovjlo4 RepositoryImportWorker JID-34358f3b2c874d694e2397e8 INFO: start
2018-05-18_00:45:12.48419 2018-05-18T00:45:12.482Z 521 TID-ouio6cl8c PagesDomainVerificationCronWorker JID-af57f8f5409e9c8b69560800 INFO: start
2018-05-18_00:45:12.52041 2018-05-18T00:45:12.520Z 521 TID-ouio6cl8c PagesDomainVerificationCronWorker JID-af57f8f5409e9c8b69560800 INFO: done: 0.038 sec
2018-05-18_00:45:12.52149 2018-05-18T00:45:12.520Z 521 TID-ouig9l82c WARN: Sidekiq worker PID-521 shutting down because of current RSS 1133704 exceeds maximum RSS 1000000 after job PagesDomainVerificationCronWorker JID-af57f8f5409e9c8b69560800
2018-05-18_00:45:12.52168 2018-05-18T00:45:12.521Z 521 TID-ouig9l82c WARN: Sidekiq worker PID-521 will stop fetching new jobs in 900 seconds, and will be shut down 30 seconds later
2018-05-18_00:45:12.52169 2018-05-18T00:45:12.521Z 521 TID-ouig9l82c WARN: waiting 900 seconds before sending Sidekiq worker PID-521 SIGTSTP (stop fetching new jobs)
2018-05-18_00:50:15.21161 2018-05-18T00:50:15.211Z 521 TID-ouiovnme4 ExpireBuildArtifactsWorker JID-867dae6b46b13a4d247dfdb1 INFO: start
2018-05-18_00:50:15.27810 2018-05-18T00:50:15.277Z 521 TID-ouiovnme4 ExpireBuildArtifactsWorker JID-867dae6b46b13a4d247dfdb1 INFO: done: 0.066 sec
2018-05-18_01:00:12.70044 2018-05-18T01:00:12.700Z 521 TID-ouig9l82c WARN: sending Sidekiq worker PID-521 SIGTSTP (stop fetching new jobs)
2018-05-18_01:00:12.70056 2018-05-18T01:00:12.700Z 521 TID-ouig9l82c WARN: waiting 30 seconds before sending Sidekiq worker PID-521 SIGTERM (gracefully shut down)
2018-05-18_01:00:12.78228 2018-05-18T01:00:12.781Z 521 TID-ouiu3j9c0 INFO: Received TSTP, no longer accepting new work
2018-05-18_01:00:12.78231 2018-05-18T01:00:12.781Z 521 TID-ouio6ckjw INFO: Scheduler exiting...
2018-05-18_01:00:12.78302 2018-05-18T01:00:12.782Z 521 TID-ouiu3j9c0 INFO: Terminating quiet workers
2018-05-18_01:00:12.78304 2018-05-18T01:00:12.782Z 521 TID-ouiovjlvw INFO: Scheduler exiting...
2018-05-18_01:00:42.70246 2018-05-18T01:00:42.702Z 521 TID-ouig9l82c WARN: sending Sidekiq worker PID-521 SIGTERM (gracefully shut down)
2018-05-18_01:00:42.70251 2018-05-18T01:00:42.702Z 521 TID-ouig9l82c WARN: waiting 6 seconds before sending Sidekiq worker PID-521 SIGKILL (die)
2018-05-18_01:00:42.80324 2018-05-18T01:00:42.802Z 521 TID-ouiu3j9c0 INFO: Shutting down
2018-05-18_01:00:43.30366 2018-05-18T01:00:43.303Z 521 TID-ouiu3j9c0 INFO: Pausing to allow workers to finish...
2018-05-18_01:00:46.30871 2018-05-18T01:00:46.308Z 521 TID-ouiu3j9c0 WARN: Terminating 1 busy worker threads
2018-05-18_01:00:46.30996 2018-05-18T01:00:46.309Z 521 TID-ouiu3j9c0 WARN: Work still in progress [#<struct Sidekiq::BasicFetch::UnitOfWork queue="queue:repository_import", job="{\"retry\":false,\"args\":[35],\"class\":\"RepositoryImportWorker\",\"queue\":\"repository_import\",\"backtrace\":5,\"status_expiration\":54000,\"jid\":\"34358f3b2c874d694e2397e8\",\"created_at\":1526604219.9575596,\"enqueued_at\":1526604219.9584177}">]
2018-05-18_01:00:46.31077 2018-05-18T01:00:46.310Z 521 TID-ouiu3j9c0 INFO: Pushed 1 jobs back to Redis
2018-05-18_01:00:46.31182 2018-05-18T01:00:46.311Z 521 TID-ouiu3j9c0 INFO: Bye!
2018-05-18_01:01:16.25432 2018-05-18T01:01:16.254Z 12031 TID-ouuscaneo INFO: Booting Sidekiq 5.0.5 with redis options {:host=>"gitlab-gitlab-redis", :port=>6379, :password=>nil, :namespace=>"resque:gitlab", :id=>"Sidekiq-server-PID-12031", :url=>nil}
2018-05-18_01:01:16.34813 2018-05-18T01:01:16.348Z 12031 TID-ouuscaneo INFO: Cron Jobs - add job with name: stuck_ci_jobs_worker
2018-05-18_01:01:16.35094 2018-05-18T01:01:16.350Z 12031 TID-ouuscaneo INFO: Cron Jobs - add job with name: expire_build_artifacts_worker
2018-05-18_01:01:16.35317 2018-05-18T01:01:16.352Z 12031 TID-ouuscaneo INFO: Cron Jobs - add job with name: pipeline_schedule_worker
2018-05-18_01:01:16.35520 2018-05-18T01:01:16.355Z 12031 TID-ouuscaneo INFO: Cron Jobs - add job with name: repository_check_worker
2018-05-18_01:01:16.35691 2018-05-18T01:01:16.356Z 12031 TID-ouuscaneo INFO: Cron Jobs - add job with name: admin_email_worker
2018-05-18_01:01:16.35969 2018-05-18T01:01:16.359Z 12031 TID-ouuscaneo INFO: Cron Jobs - add job with name: repository_archive_cache_worker
2018-05-18_01:01:16.36156 2018-05-18T01:01:16.361Z 12031 TID-ouuscaneo INFO: Cron Jobs - add job with name: pages_domain_verification_cron_worker
2018-05-18_01:01:16.36456 2018-05-18T01:01:16.364Z 12031 TID-ouuscaneo INFO: Cron Jobs - add job with name: import_export_project_cleanup_worker
2018-05-18_01:01:16.36663 2018-05-18T01:01:16.366Z 12031 TID-ouuscaneo INFO: Cron Jobs - add job with name: requests_profiles_worker
2018-05-18_01:01:16.36899 2018-05-18T01:01:16.368Z 12031 TID-ouuscaneo INFO: Cron Jobs - add job with name: remove_expired_members_worker
2018-05-18_01:01:16.37136 2018-05-18T01:01:16.371Z 12031 TID-ouuscaneo INFO: Cron Jobs - add job with name: remove_expired_group_links_worker
2018-05-18_01:01:16.37296 2018-05-18T01:01:16.372Z 12031 TID-ouuscaneo INFO: Cron Jobs - add job with name: prune_old_events_worker
2018-05-18_01:01:16.37635 2018-05-18T01:01:16.376Z 12031 TID-ouuscaneo INFO: Cron Jobs - add job with name: trending_projects_worker
2018-05-18_01:01:16.37886 2018-05-18T01:01:16.378Z 12031 TID-ouuscaneo INFO: Cron Jobs - add job with name: remove_unreferenced_lfs_objects_worker
2018-05-18_01:01:16.38060 2018-05-18T01:01:16.380Z 12031 TID-ouuscaneo INFO: Cron Jobs - add job with name: stuck_import_jobs_worker
2018-05-18_01:01:16.38302 2018-05-18T01:01:16.382Z 12031 TID-ouuscaneo INFO: Cron Jobs - add job with name: gitlab_usage_ping_worker
2018-05-18_01:01:16.38583 2018-05-18T01:01:16.385Z 12031 TID-ouuscaneo INFO: Cron Jobs - add job with name: schedule_update_user_activity_worker
2018-05-18_01:01:16.38892 2018-05-18T01:01:16.388Z 12031 TID-ouuscaneo INFO: Cron Jobs - add job with name: remove_old_web_hook_logs_worker
2018-05-18_01:01:16.39065 2018-05-18T01:01:16.390Z 12031 TID-ouuscaneo INFO: Cron Jobs - add job with name: stuck_merge_jobs_worker
2018-05-18_01:01:28.64023 2018-05-18T01:01:28.640Z 12031 TID-ouuscaneo INFO: Running in ruby 2.3.6p384 (2017-12-14 revision 61254) [x86_64-linux]
2018-05-18_01:01:28.64029 2018-05-18T01:01:28.640Z 12031 TID-ouuscaneo INFO: See LICENSE and the LGPL-3.0 for licensing details.
2018-05-18_01:01:28.64030 2018-05-18T01:01:28.640Z 12031 TID-ouuscaneo INFO: Upgrade to Sidekiq Pro for more features and support: http://sidekiq.org
2018-05-18_01:01:28.64184 2018-05-18T01:01:28.641Z 12031 TID-ouuscaneo INFO: Starting processing, hit Ctrl-C to stop
2018-05-18_01:01:28.64586 2018-05-18T01:01:28.645Z 12031 TID-ouuscaneo INFO: Listening on queues ["authorized_projects", "background_migration", "create_gpg_signature", "cronjob", "cronjob:admin_email", "cronjob:expire_build_artifacts", "cronjob:gitlab_usage_ping", "cronjob:import_export_project_cleanup", "cronjob:pages_domain_verification_cron", "cronjob:pipeline_schedule", "cronjob:prune_old_events", "cronjob:remove_expired_group_links", "cronjob:remove_expired_members", "cronjob:remove_old_web_hook_logs", "cronjob:remove_unreferenced_lfs_objects", "cronjob:repository_archive_cache", "cronjob:repository_check_batch", "cronjob:requests_profiles", "cronjob:schedule_update_user_activity", "cronjob:stuck_ci_jobs", "cronjob:stuck_import_jobs", "cronjob:stuck_merge_jobs", "cronjob:trending_projects", "default", "delete_merged_branches", "delete_user", "email_receiver", "emails_on_push", "expire_build_instance_artifacts", "gcp_cluster", "gcp_cluster:check_gcp_project_billing", "gcp_cluster:cluster_install_app", "gcp_cluster:cluster_provision", "gcp_cluster:cluster_wait_for_app_installation", "gcp_cluster:cluster_wait_for_ingress_ip_address", "gcp_cluster:wait_for_cluster_creation", "git_garbage_collect", "github_import_advance_stage", "github_importer", "github_importer:github_import_import_diff_note", "github_importer:github_import_import_issue", "github_importer:github_import_import_note", "github_importer:github_import_import_pull_request", "github_importer:github_import_refresh_import_jid", "github_importer:github_import_stage_finish_import", "github_importer:github_import_stage_import_base_data", "github_importer:github_import_stage_import_issues_and_diff_notes", "github_importer:github_import_stage_import_notes", "github_importer:github_import_stage_import_pull_requests", "github_importer:github_import_stage_import_repository", "gitlab_shell", "group_destroy", "invalid_gpg_signature_update", "irker", "mailers", "merge", "namespaceless_project_destroy", "new_issue", "new_merge_request", "new_note", "object_storage", "object_storage:object_storage_background_move", "object_storage:object_storage_migrate_uploads", "object_storage_upload", "pages", "pages_domain_verification", "pipeline_background", "pipeline_background:archive_trace", "pipeline_cache", "pipeline_cache:expire_job_cache", "pipeline_cache:expire_pipeline_cache", "pipeline_creation", "pipeline_creation:create_pipeline", "pipeline_creation:run_pipeline_schedule", "pipeline_default", "pipeline_default:build_coverage", "pipeline_default:build_trace_sections", "pipeline_default:pipeline_metrics", "pipeline_default:pipeline_notification", "pipeline_hooks", "pipeline_hooks:build_hooks", "pipeline_hooks:pipeline_hooks", "pipeline_processing", "pipeline_processing:build_finished", "pipeline_processing:build_queue", "pipeline_processing:build_success", "pipeline_processing:pipeline_process", "pipeline_processing:pipeline_success", "pipeline_processing:pipeline_update", "pipeline_processing:stage_update", "pipeline_processing:update_head_pipeline_for_merge_request", "plugin", "post_receive", "process_commit", "project_cache", "project_destroy", "project_export", "project_migrate_hashed_storage", "project_service", "propagate_service_template", "reactive_caching", "rebase", "repository_check", "repository_check:repository_check_clear", "repository_check:repository_check_single_repository", "repository_fork", "repository_import", "storage_migrator", "system_hook_push", "update_merge_requests", "update_user_activity", "upload_checksum", "web_hook"]
2018-05-18_01:01:28.76193 2018-05-18T01:01:28.761Z 12031 TID-ouup29898 RepositoryImportWorker JID-34358f3b2c874d694e2397e8 INFO: start
```
It appears sidekiq terminates jobs due to lack of RAM, but machine has 14.7GB of RAM, should that happen?
### Output of checks
#### Results of GitLab environment info
<details>
<summary>Expand for output related to GitLab environment info</summary>
<pre>
System information
System:
Current User: git
Using RVM: no
Ruby Version: 2.3.6p384
Gem Version: 2.6.13
Bundler Version:1.13.7
Rake Version: 12.3.0
Redis Version: 3.2.11
Git Version: 2.14.3
Sidekiq Version:5.0.5
Go Version: unknown
GitLab information
Version: 10.7.3
Revision: 2555d6c
Directory: /opt/gitlab/embedded/service/gitlab-rails
DB Adapter: postgresql
URL: https://gitlab.company.com
HTTP Clone URL: https://gitlab.company.com/some-group/some-project.git
SSH Clone URL: git@gitlab.company.com:some-group/some-project.git
Using LDAP: no
Using Omniauth: no
GitLab Shell
Version: 7.1.2
Repository storage paths:
- default: /gitlab-data/git-data/repositories
Hooks: /opt/gitlab/embedded/service/gitlab-shell/hooks
Git: /opt/gitlab/embedded/bin/git
</pre>
</details>
#### Results of GitLab application Check
<details>
<summary>Expand for output related to the GitLab application check</summary>
<pre>
Checking GitLab Shell ...
GitLab Shell version >= 7.1.2 ? ... OK (7.1.2)
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: ...
8/4 ... ok
8/11 ... ok
8/12 ... ok
8/15 ... ok
8/18 ... ok
8/21 ... ok
8/23 ... ok
8/27 ... ok
7/35 ... repository is empty
Running /opt/gitlab/embedded/service/gitlab-shell/bin/check
Check GitLab API access: OK
Redis available via internal API: OK
Access to /gitlab-data/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: ...
8/4 ... yes
8/11 ... yes
8/12 ... yes
8/15 ... yes
8/18 ... yes
8/21 ... yes
8/23 ... yes
8/27 ... yes
7/35 ... yes
Redis version >= 2.8.0? ... yes
Ruby version >= 2.3.5 ? ... yes (2.3.6)
Git version >= 2.9.5 ? ... yes (2.14.3)
Git user has default SSH configuration? ... yes
Active users: ... 4
Checking GitLab ... Finished
</pre>
</details>
### Possible fixes
(If you can, link to the line of code that might be responsible for the problem)https://gitlab.com/gitlab-org/gitlab/-/issues/22349Cloning/fetching fails with: "pthread_create failed: Resource temporarily una...2019-11-05T18:40:38ZDotan SpectorCloning/fetching fails with: "pthread_create failed: Resource temporarily unavailable"<!---
Please read this!
Before opening a new issue, make sure to search for keywords in the issues
filtered by the "regression" or "bug" label.
For the Community Edition issue tracker:
- https://gitlab.com/gitlab-org/gitlab-ce...<!---
Please read this!
Before opening a new issue, make sure to search for keywords in the issues
filtered by the "regression" or "bug" label.
For the Community Edition issue tracker:
- https://gitlab.com/gitlab-org/gitlab-ce/issues?label_name%5B%5D=regression
- https://gitlab.com/gitlab-org/gitlab-ce/issues?label_name%5B%5D=bug
For the Enterprise Edition issue tracker:
- https://gitlab.com/gitlab-org/gitlab-ee/issues?label_name%5B%5D=regression
- https://gitlab.com/gitlab-org/gitlab-ee/issues?label_name%5B%5D=bug
and verify the issue you're about to submit isn't a duplicate.
--->
### Summary
After upgrading from GitLab 9.3.5 to 10.7.3, we're getting
"runtime/cgo: pthread_create failed: Resource temporarily unavailable"
### Steps to reproduce
fetch ~80 different projects in parallel
### What is the current *bug* behavior?
We're getting the following error from git client (Jenkins):
```
13:30:35 [WS-CLEANUP] Deleting project workspace...
13:30:35 Cloning the remote Git repository
13:30:35 Cloning repository ssh://git@gitlabsrv/someproject/someproject.git
13:30:35 > /usr/bin/git init /jenkinsws/workspace/workspace/someproject-DEV-BFB-AsyncJobMgmt # timeout=10
13:30:35 Fetching upstream changes from ssh://git@gitlabsrv/someproject/someproject.git
13:30:35 > /usr/bin/git --version # timeout=10
13:30:35 using GIT_SSH to set credentials git lab server
13:30:35 > /usr/bin/git fetch --tags --progress ssh://git@gitlabsrv/someproject/someproject.git +refs/heads/*:refs/remotes/Platform/*
13:30:44 ERROR: Error cloning remote repo 'Platform'
13:30:44 hudson.plugins.git.GitException: Command "/usr/bin/git fetch --tags --progress ssh://git@gitlabsrv/someproject/someproject.git +refs/heads/*:refs/remotes/Platform/*" returned status code 128:
13:30:44 stdout:
13:30:44 stderr: remote: Counting objects: 1
remote: Counting objects: 189678
remote: Counting objects: 489752, done.
13:30:44 remote: Compressing objects: 0% (1/143981)
remote: Compressing objects: 1% (1440/143981)
remote: Compressing objects: 2% (2880/143981)
remote: Compressing objects: 3% (4320/143981)
...
remote: Compressing objects: 99% (142542/143981)
remote: Compressing objects: 100% (143981/143981)
remote: Compressing objects: 100% (143981/143981), done.
13:30:44 Receiving objects: 0% (1/489752)
Receiving objects: 1% (4898/489752)
runtime/cgo: pthread_create failed: Resource temporarily unavailable
13:30:44 SIGABRT: abort
13:30:44 PC=0x3549c32625 m=11 sigcode=18446744073709551610
13:30:44
13:30:44 goroutine 0 [idle]:
13:30:44
13:30:44 goroutine 1 [running]:
13:30:44 runtime.systemstack_switch()
13:30:44 /usr/local/go/src/runtime/asm_amd64.s:298 fp=0xc420057488 sp=0xc420057480 pc=0x456ab0
13:30:44 runtime.gcStart(0x0, 0x1, 0x0, 0x7ff300000000)
13:30:44 /usr/local/go/src/runtime/mgc.go:1314 +0x2b3 fp=0xc4200574a8 sp=0xc420057488 pc=0x419be3
13:30:44 runtime.mallocgc(0x2500, 0x86d760, 0xc420074801, 0xc420074840)
13:30:44 /usr/local/go/src/runtime/malloc.go:804 +0x3f5 fp=0xc420057550 sp=0xc4200574a8 pc=0x411f45
13:30:44 runtime.makeslice(0x86d760, 0x2005, 0x2005, 0x0, 0xc42020e318, 0xc42005782c)
13:30:44 /usr/local/go/src/runtime/slice.go:54 +0x77 fp=0xc420057580 sp=0xc420057550 pc=0x442567
13:30:44 gitlab.com/gitlab-org/gitlab-shell/go/vendor/github.com/golang/protobuf/proto.(*Buffer).DecodeRawBytes(0xc4201ec0d8, 0x1, 0x3, 0xc420057828, 0x3, 0x100, 0xc420066550)
13:30:44 /var/cache/omnibus/src/gitlab-shell/go_build/src/gitlab.com/gitlab-org/gitlab-shell/go/vendor/github.com/golang/protobuf/proto/decode.go:298 +0x16b fp=0xc420057610 sp=0xc420057580 pc=0x5f567b
13:30:44 gitlab.com/gitlab-org/gitlab-shell/go/vendor/github.com/golang/protobuf/proto.(*Buffer).dec_slice_byte(0xc4201ec0d8, 0xc42021c000, 0xc4201d8880, 0x0, 0xc4200576b0)
13:30:44 /var/cache/omnibus/src/gitlab-shell/go_build/src/gitlab.com/gitlab-org/gitlab-shell/go/vendor/github.com/golang/protobuf/proto/decode.go:674 +0x34 fp=0xc420057658 sp=0xc420057610 pc=0x5f81f4
13:30:44 gitlab.com/gitlab-org/gitlab-shell/go/vendor/github.com/golang/protobuf/proto.(*Buffer).unmarshalType(0xc4201ec0d8, 0xc0fce0, 0x8d9920, 0xc420216000, 0xc4201d8800, 0xc4201d8880, 0x0, 0xc4201ec0d0)
13:30:44 /var/cache/omnibus/src/gitlab-shell/go_build/src/gitlab.com/gitlab-org/gitlab-shell/go/vendor/github.com/golang/protobuf/proto/decode.go:537 +0x1dd fp=0xc4200579a8 sp=0xc420057658 pc=0x5f679d
13:30:44 gitlab.com/gitlab-org/gitlab-shell/go/vendor/github.com/golang/protobuf/proto.(*Buffer).Unmarshal(0xc4201ec0d8, 0xc083c0, 0xc4201d8880, 0x0, 0x0)
13:30:44 /var/cache/omnibus/src/gitlab-shell/go_build/src/gitlab.com/gitlab-org/gitlab-shell/go/vendor/github.com/golang/protobuf/proto/decode.go:452 +0x1c5 fp=0xc420057a20 sp=0xc4200579a8 pc=0x5f6585
13:30:44 gitlab.com/gitlab-org/gitlab-shell/go/vendor/google.golang.org/grpc.protoCodec.Unmarshal(0xc4203eb900, 0x2008, 0x2008, 0x8e97e0, 0xc4201d8880, 0x0, 0x0)
13:30:44 /var/cache/omnibus/src/gitlab-shell/go_build/src/gitlab.com/gitlab-org/gitlab-shell/go/vendor/google.golang.org/grpc/codec.go:97 +0x136 fp=0xc420057a98 sp=0xc420057a20 pc=0x77d306
13:30:44 gitlab.com/gitlab-org/gitlab-shell/go/vendor/google.golang.org/grpc.(*protoCodec).Unmarshal(0xc6f828, 0xc4203eb900, 0x2008, 0x2008, 0x8e97e0, 0xc4201d8880, 0x0, 0x0)
13:30:44 <autogenerated>:1 +0x66 fp=0xc420057ae0 sp=0xc420057a98 pc=0x79b876
13:30:44 gitlab.com/gitlab-org/gitlab-shell/go/vendor/google.golang.org/grpc.recv(0xc4201509a0, 0xc09ac0, 0xc6f828, 0xc4200d8780, 0x0, 0x0, 0x8e97e0, 0xc4201d8880, 0x400000, 0x0, ...)
13:30:44 /var/cache/omnibus/src/gitlab-shell/go_build/src/gitlab.com/gitlab-org/gitlab-shell/go/vendor/google.golang.org/grpc/rpc_util.go:430 +0x2e1 fp=0xc420057be8 sp=0xc420057ae0 pc=0x786e71
13:30:44 gitlab.com/gitlab-org/gitlab-shell/go/vendor/google.golang.org/grpc.(*clientStream).RecvMsg(0xc420164d80, 0x8e97e0, 0xc4201d8880, 0x0, 0x0)
13:30:44 /var/cache/omnibus/src/gitlab-shell/go_build/src/gitlab.com/gitlab-org/gitlab-shell/go/vendor/google.golang.org/grpc/stream.go:442 +0x10c fp=0xc420057cc8 sp=0xc420057be8 pc=0x792b7c
13:30:44 gitlab.com/gitlab-org/gitlab-shell/go/vendor/gitlab.com/gitlab-org/gitaly-proto/go.(*sSHServiceSSHUploadPackClient).Recv(0xc42004d310, 0xc4201d8840, 0x0, 0x0)
13:30:44 /var/cache/omnibus/src/gitlab-shell/go_build/src/gitlab.com/gitlab-org/gitlab-shell/go/vendor/gitlab.com/gitlab-org/gitaly-proto/go/ssh.pb.go:301 +0x62 fp=0xc420057d08 sp=0xc420057cc8 pc=0x7bc402
13:30:44 gitlab.com/gitlab-org/gitlab-shell/go/vendor/gitlab.com/gitlab-org/gitaly/client.UploadPack.func2(0xc42000e018, 0xc420596500, 0x2005, 0x2005)
13:30:44 /var/cache/omnibus/src/gitlab-shell/go_build/src/gitlab.com/gitlab-org/gitlab-shell/go/vendor/gitlab.com/gitlab-org/gitaly/client/upload_pack.go:34 +0x2f fp=0xc420057d38 sp=0xc420057d08 pc=0x7c83af
13:30:44 gitlab.com/gitlab-org/gitlab-shell/go/vendor/gitlab.com/gitlab-org/gitaly/client.streamHandler(0xc420057e60, 0xc420066800, 0xc00880, 0xc42000e018, 0xc00880, 0xc42000e020, 0xc0c860, 0xc42004d310, 0x0)
13:30:44 /var/cache/omnibus/src/gitlab-shell/go_build/src/gitlab.com/gitlab-org/gitlab-shell/go/vendor/gitlab.com/gitlab-org/gitaly/client/std_stream.go:28 +0x84 fp=0xc420057dd0 sp=0xc420057d38 pc=0x7c7a84
13:30:44 gitlab.com/gitlab-org/gitlab-shell/go/vendor/gitlab.com/gitlab-org/gitaly/client.UploadPack(0x7ff36b4a6110, 0xc420066500, 0xc420099680, 0xc00840, 0xc42000e010, 0xc00880, 0xc42000e018, 0xc00880, 0xc42000e020, 0xc420066380, ...)
13:30:44 /var/cache/omnibus/src/gitlab-shell/go_build/src/gitlab.com/gitlab-org/gitlab-shell/go/vendor/gitlab.com/gitlab-org/gitaly/client/upload_pack.go:33 +0x2f4 fp=0xc420057e88 sp=0xc420057dd0 pc=0x7c8084
13:30:44 gitlab.com/gitlab-org/gitlab-shell/go/internal/handler.UploadPack(0x7fff45da0dde, 0x29, 0xc420066380, 0x0, 0x0, 0x0)
13:30:44 /var/cache/omnibus/src/gitlab-shell/go_build/src/gitlab.com/gitlab-org/gitlab-shell/go/internal/handler/upload_pack.go:25 +0x1c7 fp=0xc420057f18 sp=0xc420057e88 pc=0x819857
13:30:44 main.main()
13:30:44 /var/cache/omnibus/src/gitlab-shell/go_build/src/gitlab.com/gitlab-org/gitlab-shell/go/cmd/gitaly-upload-pack/main.go:32 +0x11d fp=0xc420057f80 sp=0xc420057f18 pc=0x819b8d
13:30:44 runtime.main()
13:30:44 /usr/local/go/src/runtime/proc.go:195 +0x226 fp=0xc420057fe0 sp=0xc420057f80 pc=0x42d356
13:30:44 runtime.goexit()
13:30:44 /usr/local/go/src/runtime/asm_amd64.s:2337 +0x1 fp=0xc420057fe8 sp=0xc420057fe0 pc=0x4596c1
13:30:44
13:30:44 goroutine 5 [select]:
13:30:44 gitlab.com/gitlab-org/gitlab-shell/go/vendor/google.golang.org/grpc.(*ccResolverWrapper).watcher(0xc420188360)
13:30:44 /var/cache/omnibus/src/gitlab-shell/go_build/src/gitlab.com/gitlab-org/gitlab-shell/go/vendor/google.golang.org/grpc/resolver_conn_wrapper.go:110 +0x1ac
13:30:44 created by gitlab.com/gitlab-org/gitlab-shell/go/vendor/google.golang.org/grpc.(*ccResolverWrapper).start
13:30:44 /var/cache/omnibus/src/gitlab-shell/go_build/src/gitlab.com/gitlab-org/gitlab-shell/go/vendor/google.golang.org/grpc/resolver_conn_wrapper.go:96 +0x3f
13:30:44
13:30:44 goroutine 6 [select]:
13:30:44 gitlab.com/gitlab-org/gitlab-shell/go/vendor/google.golang.org/grpc.(*ccBalancerWrapper).watcher(0xc4200665c0)
13:30:44 /var/cache/omnibus/src/gitlab-shell/go_build/src/gitlab.com/gitlab-org/gitlab-shell/go/vendor/google.golang.org/grpc/balancer_conn_wrappers.go:122 +0x156
13:30:44 created by gitlab.com/gitlab-org/gitlab-shell/go/vendor/google.golang.org/grpc.newCCBalancerWrapper
13:30:44 /var/cache/omnibus/src/gitlab-shell/go_build/src/gitlab.com/gitlab-org/gitlab-shell/go/vendor/google.golang.org/grpc/balancer_conn_wrappers.go:113 +0x197
13:30:44
13:30:44 goroutine 7 [select]:
13:30:44 gitlab.com/gitlab-org/gitlab-shell/go/vendor/google.golang.org/grpc.(*addrConn).transportMonitor(0xc420099900)
13:30:44 /var/cache/omnibus/src/gitlab-shell/go_build/src/gitlab.com/gitlab-org/gitlab-shell/go/vendor/google.golang.org/grpc/clientconn.go:1234 +0x25f
13:30:44 gitlab.com/gitlab-org/gitlab-shell/go/vendor/google.golang.org/grpc.(*addrConn).connect.func1(0xc420099900)
13:30:44 /var/cache/omnibus/src/gitlab-shell/go_build/src/gitlab.com/gitlab-org/gitlab-shell/go/vendor/google.golang.org/grpc/clientconn.go:837 +0x1ce
13:30:44 created by gitlab.com/gitlab-org/gitlab-shell/go/vendor/google.golang.org/grpc.(*addrConn).connect
13:30:44 /var/cache/omnibus/src/gitlab-shell/go_build/src/gitlab.com/gitlab-org/gitlab-shell/go/vendor/google.golang.org/grpc/clientconn.go:828 +0xeb
13:30:44
13:30:44 goroutine 9 [IO wait]:
13:30:44 internal/poll.runtime_pollWait(0x7ff36b4a1f70, 0x72, 0x0)
13:30:44 /usr/local/go/src/runtime/netpoll.go:173 +0x57
13:30:44 internal/poll.(*pollDesc).wait(0xc420012418, 0x72, 0xffffffffffffff00, 0xc02180, 0xbfd620)
13:30:44 /usr/local/go/src/internal/poll/fd_poll_runtime.go:85 +0xae
13:30:44 internal/poll.(*pollDesc).waitRead(0xc420012418, 0xc420196000, 0x8000, 0x8000)
13:30:44 /usr/local/go/src/internal/poll/fd_poll_runtime.go:90 +0x3d
13:30:44 internal/poll.(*FD).Read(0xc420012400, 0xc420196000, 0x8000, 0x8000, 0x0, 0x0, 0x0)
13:30:44 /usr/local/go/src/internal/poll/fd_unix.go:126 +0x18a
13:30:44 net.(*netFD).Read(0xc420012400, 0xc420196000, 0x8000, 0x8000, 0xc420044c78, 0x412eed, 0xc42006b360)
13:30:44 /usr/local/go/src/net/fd_unix.go:202 +0x52
13:30:44 net.(*conn).Read(0xc42000e0b0, 0xc420196000, 0x8000, 0x8000, 0x0, 0x0, 0x0)
13:30:44 /usr/local/go/src/net/net.go:176 +0x6d
13:30:44 bufio.(*Reader).Read(0xc42006b320, 0xc4201a6038, 0x9, 0x9, 0x0, 0x7ff36a01c728, 0x1)
13:30:44 /usr/local/go/src/bufio/bufio.go:213 +0x30b
13:30:44 io.ReadAtLeast(0xbfee40, 0xc42006b320, 0xc4201a6038, 0x9, 0x9, 0x9, 0x1, 0x412e56, 0xc420044dd0)
13:30:44 /usr/local/go/src/io/io.go:309 +0x86
13:30:44 io.ReadFull(0xbfee40, 0xc42006b320, 0xc4201a6038, 0x9, 0x9, 0xc4201a6028, 0x0, 0xc41362c57e)
13:30:44 /usr/local/go/src/io/io.go:327 +0x58
13:30:44 gitlab.com/gitlab-org/gitlab-shell/go/vendor/golang.org/x/net/http2.readFrameHeader(0xc4201a6038, 0x9, 0x9, 0xbfee40, 0xc42006b320, 0x0, 0x100000000, 0xc500c0, 0xbeb91a3513619134)
13:30:44 /var/cache/omnibus/src/gitlab-shell/go_build/src/gitlab.com/gitlab-org/gitlab-shell/go/vendor/golang.org/x/net/http2/frame.go:237 +0x7b
13:30:44 gitlab.com/gitlab-org/gitlab-shell/go/vendor/golang.org/x/net/http2.(*Framer).ReadFrame(0xc4201a6000, 0xc420512000, 0xc420512000, 0x0, 0x0)
13:30:44 /var/cache/omnibus/src/gitlab-shell/go_build/src/gitlab.com/gitlab-org/gitlab-shell/go/vendor/golang.org/x/net/http2/frame.go:492 +0xa4
13:30:44 gitlab.com/gitlab-org/gitlab-shell/go/vendor/google.golang.org/grpc/transport.(*http2Client).reader(0xc420001b00)
13:30:44 /var/cache/omnibus/src/gitlab-shell/go_build/src/gitlab.com/gitlab-org/gitlab-shell/go/vendor/google.golang.org/grpc/transport/http2_client.go:1170 +0xe1
13:30:44 created by gitlab.com/gitlab-org/gitlab-shell/go/vendor/google.golang.org/grpc/transport.newHTTP2Client
13:30:44 /var/cache/omnibus/src/gitlab-shell/go_build/src/gitlab.com/gitlab-org/gitlab-shell/go/vendor/google.golang.org/grpc/transport/http2_client.go:273 +0xc73
13:30:44
13:30:44 goroutine 10 [select]:
13:30:44 gitlab.com/gitlab-org/gitlab-shell/go/vendor/google.golang.org/grpc/transport.loopyWriter(0x7ff36b4a6110, 0xc4200666c0, 0xc4201886c0, 0xc4201e0fb8)
13:30:44 /var/cache/omnibus/src/gitlab-shell/go_build/src/gitlab.com/gitlab-org/gitlab-shell/go/vendor/google.golang.org/grpc/transport/transport.go:727 +0x3c6
13:30:44 gitlab.com/gitlab-org/gitlab-shell/go/vendor/google.golang.org/grpc/transport.newHTTP2Client.func3(0xc420001b00)
13:30:44 /var/cache/omnibus/src/gitlab-shell/go_build/src/gitlab.com/gitlab-org/gitlab-shell/go/vendor/google.golang.org/grpc/transport/http2_client.go:305 +0x5e
13:30:44 created by gitlab.com/gitlab-org/gitlab-shell/go/vendor/google.golang.org/grpc/transport.newHTTP2Client
13:30:44 /var/cache/omnibus/src/gitlab-shell/go_build/src/gitlab.com/gitlab-org/gitlab-shell/go/vendor/google.golang.org/grpc/transport/http2_client.go:304 +0xdc4
13:30:44
13:30:44 goroutine 11 [select]:
13:30:44 gitlab.com/gitlab-org/gitlab-shell/go/vendor/google.golang.org/grpc.newClientStream.func4(0xc0c980, 0xc420001b00, 0xc420099680, 0xc420164d80, 0xc4200d8780)
13:30:44 /var/cache/omnibus/src/gitlab-shell/go_build/src/gitlab.com/gitlab-org/gitlab-shell/go/vendor/google.golang.org/grpc/stream.go:284 +0x1cd
13:30:44 created by gitlab.com/gitlab-org/gitlab-shell/go/vendor/google.golang.org/grpc.newClientStream
13:30:44 /var/cache/omnibus/src/gitlab-shell/go_build/src/gitlab.com/gitlab-org/gitlab-shell/go/vendor/google.golang.org/grpc/stream.go:283 +0xaaa
13:30:44
13:30:44 goroutine 12 [syscall]:
13:30:44 syscall.Syscall(0x0, 0x0, 0xc4201aa000, 0x20000, 0x7926d7, 0xc420045d98, 0xc420164d80)
13:30:44 /usr/local/go/src/syscall/asm_linux_amd64.s:18 +0x5
13:30:44 syscall.read(0x0, 0xc4201aa000, 0x20000, 0x20000, 0xc420045c01, 0x0, 0x0)
13:30:44 /usr/local/go/src/syscall/zsyscall_linux_amd64.go:756 +0x55
13:30:44 syscall.Read(0x0, 0xc4201aa000, 0x20000, 0x20000, 0x2241, 0x2500, 0xc4201d8a40)
13:30:44 /usr/local/go/src/syscall/syscall_unix.go:162 +0x49
13:30:44 internal/poll.(*FD).Read(0xc420088000, 0xc4201aa000, 0x20000, 0x20000, 0x0, 0x0, 0x0)
13:30:44 /usr/local/go/src/internal/poll/fd_unix.go:122 +0x125
13:30:44 os.(*File).read(0xc42000e010, 0xc4201aa000, 0x20000, 0x20000, 0xc420045df0, 0x7c832a, 0xc42004d310)
13:30:44 /usr/local/go/src/os/file_unix.go:216 +0x4e
13:30:44 os.(*File).Read(0xc42000e010, 0xc4201aa000, 0x20000, 0x20000, 0x0, 0x0, 0x0)
13:30:44 /usr/local/go/src/os/file.go:103 +0x6d
13:30:44 gitlab.com/gitlab-org/gitlab-shell/go/vendor/gitlab.com/gitlab-org/gitaly/streamio.(*sendWriter).ReadFrom(0xc42000e0b8, 0xc00840, 0xc42000e010, 0x7ff36b4a64a0, 0xc42000e0b8, 0x1)
13:30:44 /var/cache/omnibus/src/gitlab-shell/go_build/src/gitlab.com/gitlab-org/gitlab-shell/go/vendor/gitlab.com/gitlab-org/gitaly/streamio/stream.go:124 +0xfa
13:30:44 io.copyBuffer(0xbff600, 0xc42000e0b8, 0xc00840, 0xc42000e010, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
13:30:44 /usr/local/go/src/io/io.go:386 +0x2bb
13:30:44 io.Copy(0xbff600, 0xc42000e0b8, 0xc00840, 0xc42000e010, 0x0, 0x0, 0x0)
13:30:44 /usr/local/go/src/io/io.go:362 +0x68
13:30:44 gitlab.com/gitlab-org/gitlab-shell/go/vendor/gitlab.com/gitlab-org/gitaly/client.UploadPack.func3(0xc42006b5c0)
13:30:44 /var/cache/omnibus/src/gitlab-shell/go_build/src/gitlab.com/gitlab-org/gitlab-shell/go/vendor/gitlab.com/gitlab-org/gitaly/client/upload_pack.go:36 +0x5b
13:30:44 created by gitlab.com/gitlab-org/gitlab-shell/go/vendor/gitlab.com/gitlab-org/gitaly/client.streamHandler
13:30:44 /var/cache/omnibus/src/gitlab-shell/go_build/src/gitlab.com/gitlab-org/gitlab-shell/go/vendor/gitlab.com/gitlab-org/gitaly/client/std_stream.go:25 +0x6b
13:30:44
13:30:44 rax 0x0
13:30:44 rbx 0x3549f8ed98
13:30:44 rcx 0xffffffffffffffff
13:30:44 rdx 0x6
13:30:44 rdi 0xa50d
13:30:44 rsi 0xac80
13:30:44 rbp 0x9a182a
13:30:44 rsp 0x7ff35b5fd9a8
13:30:44 r8 0xa
13:30:44 r9 0x7ff35b5fe700
13:30:44 r10 0x8
13:30:44 r11 0x202
13:30:44 r12 0x7ff3540008c0
13:30:44 r13 0xf1
13:30:44 r14 0x11
13:30:44 r15 0x0
13:30:44 rip 0x3549c32625
13:30:44 rflags 0x202
13:30:44 cs 0x33
13:30:44 fs 0x0
13:30:44 gs 0x0
13:30:44 Receiving objects: 2% (9796/489752), 1.61 MiB | 3.19 MiB/s
fatal: The remote end hung up unexpectedly
13:30:44 fatal: early EOF
13:30:44 fatal: index-pack failed
13:30:44
13:30:44 at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1640)
13:30:44 at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1388)
13:30:44 at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$300(CliGitAPIImpl.java:62)
13:30:44 at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:313)
13:30:44 at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(CliGitAPIImpl.java:505)
13:30:44 at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:152)
13:30:44 at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:145)
13:30:44 at hudson.remoting.UserRequest.perform(UserRequest.java:120)
13:30:44 at hudson.remoting.UserRequest.perform(UserRequest.java:48)
13:30:44 at hudson.remoting.Request$2.run(Request.java:326)
13:30:44 at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
13:30:44 at java.util.concurrent.FutureTask.run(FutureTask.java:266)
13:30:44 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
13:30:44 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
13:30:44 at java.lang.Thread.run(Thread.java:748)
13:30:44 at ......remote call to ILJENKINSS20(Native Method)
13:30:44 at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1416)
13:30:44 at hudson.remoting.UserResponse.retrieve(UserRequest.java:220)
13:30:44 at hudson.remoting.Channel.call(Channel.java:781)
13:30:44 at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.execute(RemoteGitImpl.java:145)
13:30:44 at sun.reflect.GeneratedMethodAccessor838.invoke(Unknown Source)
13:30:44 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
13:30:44 at java.lang.reflect.Method.invoke(Method.java:497)
13:30:44 at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.invoke(RemoteGitImpl.java:131)
13:30:44 at com.sun.proxy.$Proxy98.execute(Unknown Source)
13:30:44 at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1003)
13:30:44 at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1043)
13:30:44 at org.jenkinsci.plugins.multiplescms.MultiSCM.checkout(MultiSCM.java:129)
13:30:44 at hudson.scm.SCM.checkout(SCM.java:485)
13:30:44 at hudson.model.AbstractProject.checkout(AbstractProject.java:1276)
13:30:44 at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:607)
13:30:44 at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
13:30:44 at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:529)
13:30:44 at hudson.model.Run.execute(Run.java:1738)
13:30:44 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
13:30:44 at hudson.model.ResourceController.execute(ResourceController.java:98)
13:30:44 at hudson.model.Executor.run(Executor.java:410)
13:30:44 ERROR: null
13:30:44 Retrying after 10 seconds
13:30:54 > /usr/bin/git rev-parse --is-inside-work-tree # timeout=10
13:30:54 Fetching changes from the remote Git repository
13:30:54 > /usr/bin/git config remote.Platform.url ssh://git@gitlabsrv/someproject/someproject.git # timeout=10
13:30:54 Fetching upstream changes from ssh://git@gitlabsrv/someproject/someproject.git
13:30:54 > /usr/bin/git --version # timeout=10
13:30:54 using GIT_SSH to set credentials git lab server
13:30:54 > /usr/bin/git fetch --tags --progress ssh://git@gitlabsrv/someproject/someproject.git +refs/heads/*:refs/remotes/Platform/*
13:30:55 ERROR: Error fetching remote repo 'Platform'
13:30:55 hudson.plugins.git.GitException: Failed to fetch from ssh://git@gitlabsrv/someproject/someproject.git
13:30:55 at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:763)
13:30:55 at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1012)
13:30:55 at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1043)
13:30:55 at org.jenkinsci.plugins.multiplescms.MultiSCM.checkout(MultiSCM.java:129)
13:30:55 at hudson.scm.SCM.checkout(SCM.java:485)
13:30:55 at hudson.model.AbstractProject.checkout(AbstractProject.java:1276)
13:30:55 at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:607)
13:30:55 at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
13:30:55 at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:529)
13:30:55 at hudson.model.Run.execute(Run.java:1738)
13:30:55 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
13:30:55 at hudson.model.ResourceController.execute(ResourceController.java:98)
13:30:55 at hudson.model.Executor.run(Executor.java:410)
13:30:55 Caused by: hudson.plugins.git.GitException: Command "/usr/bin/git fetch --tags --progress ssh://git@gitlabsrv/someproject/someproject.git +refs/heads/*:refs/remotes/Platform/*" returned status code 128:
13:30:55 stdout:
13:30:55 stderr: GitLab: Failed to authorize your Git request: internal API unreachable
13:30:55 fatal: The remote end hung up unexpectedly
13:30:55
13:30:55 at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1640)
13:30:55 at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1388)
13:30:55 at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$300(CliGitAPIImpl.java:62)
13:30:55 at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:313)
13:30:55 at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:152)
13:30:55 at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:145)
13:30:55 at hudson.remoting.UserRequest.perform(UserRequest.java:120)
13:30:55 at hudson.remoting.UserRequest.perform(UserRequest.java:48)
13:30:55 at hudson.remoting.Request$2.run(Request.java:326)
13:30:55 at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
13:30:55 at java.util.concurrent.FutureTask.run(FutureTask.java:266)
13:30:55 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
13:30:55 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
13:30:55 at java.lang.Thread.run(Thread.java:748)
13:30:55 at ......remote call to ILJENKINSS20(Native Method)
13:30:55 at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1416)
13:30:55 at hudson.remoting.UserResponse.retrieve(UserRequest.java:220)
13:30:55 at hudson.remoting.Channel.call(Channel.java:781)
13:30:55 at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.execute(RemoteGitImpl.java:145)
13:30:55 at sun.reflect.GeneratedMethodAccessor233.invoke(Unknown Source)
13:30:55 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
13:30:55 at java.lang.reflect.Method.invoke(Method.java:497)
13:30:55 at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.invoke(RemoteGitImpl.java:131)
13:30:55 at com.sun.proxy.$Proxy78.execute(Unknown Source)
13:30:55 at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:761)
13:30:55 ... 12 more
13:30:55 ERROR: null
13:30:55 Retrying after 10 seconds
13:31:05 > /usr/bin/git rev-parse --is-inside-work-tree # timeout=10
13:31:05 Fetching changes from the remote Git repository
13:31:05 > /usr/bin/git config remote.Platform.url ssh://git@gitlabsrv/someproject/someproject.git # timeout=10
13:31:05 Fetching upstream changes from ssh://git@gitlabsrv/someproject/someproject.git
13:31:05 > /usr/bin/git --version # timeout=10
13:31:05 using GIT_SSH to set credentials git lab server
13:31:05 > /usr/bin/git fetch --tags --progress ssh://git@gitlabsrv/someproject/someproject.git +refs/heads/*:refs/remotes/Platform/*
13:31:05 ERROR: Error fetching remote repo 'Platform'
13:31:05 hudson.plugins.git.GitException: Failed to fetch from ssh://git@gitlabsrv/someproject/someproject.git
13:31:05 at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:763)
13:31:05 at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1012)
13:31:05 at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1043)
13:31:05 at org.jenkinsci.plugins.multiplescms.MultiSCM.checkout(MultiSCM.java:129)
13:31:05 at hudson.scm.SCM.checkout(SCM.java:485)
13:31:05 at hudson.model.AbstractProject.checkout(AbstractProject.java:1276)
13:31:05 at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:607)
13:31:05 at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
13:31:05 at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:529)
13:31:05 at hudson.model.Run.execute(Run.java:1738)
13:31:05 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
13:31:05 at hudson.model.ResourceController.execute(ResourceController.java:98)
13:31:05 at hudson.model.Executor.run(Executor.java:410)
13:31:05 Caused by: hudson.plugins.git.GitException: Command "/usr/bin/git fetch --tags --progress ssh://git@gitlabsrv/someproject/someproject.git +refs/heads/*:refs/remotes/Platform/*" returned status code 128:
13:31:05 stdout:
13:31:05 stderr: Connection to gitlabsrv closed by remote host.
13:31:05 fatal: The remote end hung up unexpectedly
13:31:05
13:31:05 at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1640)
13:31:05 at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1388)
13:31:05 at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$300(CliGitAPIImpl.java:62)
13:31:05 at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:313)
13:31:05 at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:152)
13:31:05 at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:145)
13:31:05 at hudson.remoting.UserRequest.perform(UserRequest.java:120)
13:31:05 at hudson.remoting.UserRequest.perform(UserRequest.java:48)
13:31:05 at hudson.remoting.Request$2.run(Request.java:326)
13:31:05 at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
13:31:05 at java.util.concurrent.FutureTask.run(FutureTask.java:266)
13:31:05 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
13:31:05 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
13:31:05 at java.lang.Thread.run(Thread.java:748)
13:31:05 at ......remote call to ILJENKINSS20(Native Method)
13:31:05 at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1416)
13:31:05 at hudson.remoting.UserResponse.retrieve(UserRequest.java:220)
13:31:05 at hudson.remoting.Channel.call(Channel.java:781)
13:31:05 at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.execute(RemoteGitImpl.java:145)
13:31:05 at sun.reflect.GeneratedMethodAccessor233.invoke(Unknown Source)
13:31:05 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
13:31:05 at java.lang.reflect.Method.invoke(Method.java:497)
13:31:05 at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.invoke(RemoteGitImpl.java:131)
13:31:05 at com.sun.proxy.$Proxy78.execute(Unknown Source)
13:31:05 at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:761)
13:31:05 ... 12 more
13:31:05 ERROR: null
13:31:05 Performing Post build task...
13:31:05 Finished: FAILURE
```
### What is the expected *correct* behavior?
Successfull Cloning/fetching
/label gitlab-ce~2278648
https://gitlab.com/gitlab-org/gitlab/-/issues/22357Kubernetes Log2019-11-05T18:40:37ZAnwesh(Aka Hari)Kubernetes Log### Description
Is there a log for Kubernetes in `gitlab-ctl tail` ??
### Links / references### Description
Is there a log for Kubernetes in `gitlab-ctl tail` ??
### Links / referenceshttps://gitlab.com/gitlab-org/gitlab/-/issues/22569Use one line per URI Scope is not listed in Git UI [ GitLab 8.7.0 ee ( JIRA...2019-11-05T18:40:18ZprasannaUse one line per URI Scope is not listed in Git UI [ GitLab 8.7.0 ee ( JIRA-GitLab integration -DVCS acconts) how to configur ??Before raising an issue to the GitLab Community Edition issue tracker, please read through our guide for finding help to determine the best place to post:
* https://about.gitlab.com/getting-help/
If you are experiencing an issue when u...Before raising an issue to the GitLab Community Edition issue tracker, please read through our guide for finding help to determine the best place to post:
* https://about.gitlab.com/getting-help/
If you are experiencing an issue when using GitLab.com, your first port of call should be the GitLab.com Support Tracker. Your issue may have already been reported there by another user. Please check:
* https://gitlab.com/gitlab-com/support-forum/issues
If you feel that your issue can be categorised as a reproducible bug or a feature proposal, please use one of the issue templates provided and include as much information as possible.
Thank you for helping to make GitLab a better product.https://gitlab.com/gitlab-org/gitlab/-/issues/22818visible user group membership inconsistencies2019-11-05T18:39:37ZToralf Förstervisible user group membership inconsistenciesIn 10.6.4 we do have a user, which has no group shown using:
https://gitlab/admin/users/<USER>/projects
He is however shown as a member of group XYZ using:
https://gitlab/groups/XYZ/-/group_members
And he is listed to be a member of g...In 10.6.4 we do have a user, which has no group shown using:
https://gitlab/admin/users/<USER>/projects
He is however shown as a member of group XYZ using:
https://gitlab/groups/XYZ/-/group_members
And he is listed to be a member of group XZY using:
https://gitlab/admin/users/<USER>/projectshttps://gitlab.com/gitlab-org/gitlab/-/issues/22906Status messages: Sync with Slack2023-05-08T10:58:44ZAndreas KämmerleStatus messages: Sync with Slack### Problem to solve
We'll soon have user status messages in GitLab via https://gitlab.com/gitlab-org/gitlab-ce/issues/35463, including API endpoints.
Let's explore if we can find a way to ship an integration that allows syncing of t...### Problem to solve
We'll soon have user status messages in GitLab via https://gitlab.com/gitlab-org/gitlab-ce/issues/35463, including API endpoints.
Let's explore if we can find a way to ship an integration that allows syncing of this status with Slack, as this idea was inspired by their cool feature.
### Proposal
If a Slack integration is set up, Slack status messages should sync with GitLab status messages in both directions.
* When I add/delete a status in Slack, it is synced to GitLab.
* When I change/overwrite/delete the status in GitLab, it is synced back to Slack as well.
* This integration detail can be enabled/disabled on Admin-level.
### What does success look like, and how can we measure that?
(If no way to measure success, link to an issue that will implement a way to measure this)Backloghttps://gitlab.com/gitlab-org/gitlab/-/issues/6602performance jobs for more general benchmarks?2019-11-05T18:39:28ZAndreas Fuchsperformance jobs for more general benchmarks?I just stumbled across the [browser performance testing](https://docs.gitlab.com/ee/user/project/merge_requests/browser_performance_testing.html) feature, and it looks super cool! This is exactly what I've always wanted from a CI/code re...I just stumbled across the [browser performance testing](https://docs.gitlab.com/ee/user/project/merge_requests/browser_performance_testing.html) feature, and it looks super cool! This is exactly what I've always wanted from a CI/code review system: it should make it possible to see any performance implications of a change, alongside correctness/style and the others. But sadly, I make precious few frontend applications, so I would love if it were possible to run a benchmark against my library in the `performance` job that generates a working `performance.json` artifact. So, my questions:
* Are there docs for the format/grammar of `performance.json`?
* How stable is that format? (:
Thanks!https://gitlab.com/gitlab-org/gitlab/-/issues/22963Install From Source Failing on OSX2020-08-14T15:51:19ZPatrick BuchheitInstall From Source Failing on OSX### Summary
I'm currently trying to update to gitlab 10.8 from source on a development server running osx 10.11.6 (el capitan). I installed ruby and bundler as per the instructions here: https://gitlab.com/gitlab-org/gitlab-ce/blob/70bf...### Summary
I'm currently trying to update to gitlab 10.8 from source on a development server running osx 10.11.6 (el capitan). I installed ruby and bundler as per the instructions here: https://gitlab.com/gitlab-org/gitlab-ce/blob/70bf08b5d34e71bb67d3a71a9f6aae553f0d9f4a/doc/update/10.7-to-10.8.md
When attempting to install the dependencies using 'bundle install' the build fails with the error
```
An error occurred while installing kgio (2.10.0), and Bundler cannot continue.
Make sure that `gem install kgio -v '2.10.0' --source 'https://rubygems.org/'` succeeds before bundling.
In Gemfile:
unicorn-worker-killer was resolved to 0.4.4, which depends on
unicorn was resolved to 5.1.0, which depends on
kgio
```
I ran into a similar issue before with rugged and was able to get around it with the '--use-system-libraries' flag. I tried the same thing with this gem with no success. Is there some other library that needs to be installed manually for osx?
### Steps to reproduce
1. Install ruby 2.3.7
2. Install bundler
3. navigate to the gitlab install directory (/Users/<user>/gitlab)
4. Run the command 'bundle install'
### What is the current *bug* behavior?
bundle install fails when attempting to install kgio
### Relevant logs and/or screenshots
```
Fetching kgio 2.10.0
Installing kgio 2.10.0 with native extensions
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
current directory: /Users/git/gitlab/vendor/bundle/ruby/2.3.0/gems/kgio-2.10.0/ext/kgio
/usr/local/bin/ruby -r ./siteconf20180625-17588-km9spc.rb extconf.rb --use-system-libraries
checking for CLOCK_MONOTONIC in time.h... no
checking for CLOCK_MONOTONIC() in time.h... no
checking for clockid_t in time.h... no
checking for clock_gettime() in -lrt... no
checking for t_open() in -lnsl... no
checking for socket() in -lsocket... no
checking for poll() in poll.h... yes
checking for getaddrinfo() in sys/types.h,sys/socket.h,netdb.h... yes
checking for getnameinfo() in sys/types.h,sys/socket.h,netdb.h... yes
checking for struct sockaddr_storage in sys/types.h,sys/socket.h... yes
checking for accept4() in sys/socket.h... no
checking for sys/select.h... yes
checking for writev() in sys/uio.h... yes
checking for ruby/io.h... yes
checking for rb_io_t.fd in ruby.h,ruby/io.h... yes
checking for rb_io_t.mode in ruby.h,ruby/io.h... yes
checking for rb_io_t.pathv in ruby.h,ruby/io.h... yes
checking for struct RFile in ruby.h,ruby/io.h... yes
checking size of struct RFile in ruby.h,ruby/io.h... *** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers. Check the mkmf.log file for more details. You may
need configuration options.
Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/usr/local/bin/$(RUBY_BASE_NAME)
--with-rtlib
--without-rtlib
--with-nsllib
--without-nsllib
--with-socketlib
--without-socketlib
/usr/local/lib/ruby/2.3.0/mkmf.rb:728:in `Integer': can't convert nil into Integer (TypeError)
from /usr/local/lib/ruby/2.3.0/mkmf.rb:728:in `block in try_constant'
from /usr/local/lib/ruby/2.3.0/mkmf.rb:408:in `popen'
from /usr/local/lib/ruby/2.3.0/mkmf.rb:408:in `block in xpopen'
from /usr/local/lib/ruby/2.3.0/mkmf.rb:320:in `open'
from /usr/local/lib/ruby/2.3.0/mkmf.rb:401:in `xpopen'
from /usr/local/lib/ruby/2.3.0/mkmf.rb:727:in `try_constant'
from /usr/local/lib/ruby/2.3.0/mkmf.rb:1333:in `block in check_sizeof'
from /usr/local/lib/ruby/2.3.0/mkmf.rb:942:in `block in checking_for'
from /usr/local/lib/ruby/2.3.0/mkmf.rb:350:in `block (2 levels) in postpone'
from /usr/local/lib/ruby/2.3.0/mkmf.rb:320:in `open'
from /usr/local/lib/ruby/2.3.0/mkmf.rb:350:in `block in postpone'
from /usr/local/lib/ruby/2.3.0/mkmf.rb:320:in `open'
from /usr/local/lib/ruby/2.3.0/mkmf.rb:346:in `postpone'
from /usr/local/lib/ruby/2.3.0/mkmf.rb:941:in `checking_for'
from /usr/local/lib/ruby/2.3.0/mkmf.rb:1332:in `check_sizeof'
from extconf.rb:42:in `<main>'
To see why this extension failed to compile, please check the mkmf.log which can be found here:
/Users/git/gitlab/vendor/bundle/ruby/2.3.0/extensions/x86_64-darwin-15/2.3.0-static/kgio-2.10.0/mkmf.log
extconf failed, exit code 1
Gem files will remain installed in /Users/git/gitlab/vendor/bundle/ruby/2.3.0/gems/kgio-2.10.0 for inspection.
Results logged to /Users/git/gitlab/vendor/bundle/ruby/2.3.0/extensions/x86_64-darwin-15/2.3.0-static/kgio-2.10.0/gem_make.out
```
#### Results of GitLab environment info
```
Could not find kgio-2.10.0 in any of the sources
Run `bundle install` to install missing gems.
```
</pre>
</details>https://gitlab.com/gitlab-org/gitlab/-/issues/23499System does not gracefully recover after missing secrets file2024-02-13T15:27:37ZDmytro Bogatovdmytro@dbogatov.orgSystem does not gracefully recover after missing secrets file### Summary
I have just restored from backup (everything was smooth, except that I did not have secrets file) and now having trouble with CI in some projects.
Specifically, when I run pipeline manually or after commit, the jobs seem to ...### Summary
I have just restored from backup (everything was smooth, except that I did not have secrets file) and now having trouble with CI in some projects.
Specifically, when I run pipeline manually or after commit, the jobs seem to start, but terminal log never shows anything.
It stuck for forever.
Even worse, when I go to CI settings for a project, it shows 500 error page.
**I suspect that it is because I did not have a secrets file.**
It looks like the affected projects are the ones with secret variables.
And it looks like gitlab is trying to load them from file and file does not have them (500 is not human friendly :( )
Just in case, to have 2FA reset I used this command `sudo gitlab-rails runner 'User.update_all(otp_required_for_login: false, encrypted_otp_secret: nil)'`
### Steps to reproduce
Restore backup without `gitlab-secrets.json` file.
### Example Project
N/A
### What is the current *bug* behavior?
500 page in CI settings and forever-stuck builds.
### What is the expected *correct* behavior?
Obviously, regular settings page and running builds.
### Relevant logs and/or screenshots
![Screen_Shot_2018-07-31_at_02.38.43](/uploads/c4a48e275271ba895819b9f81e1afbf5/Screen_Shot_2018-07-31_at_02.38.43.png)
### Output of checks
`sudo gitlab-rake gitlab:check SANITIZE=true` does not show any errors.
#### Results of GitLab environment info
<details>
<summary>Expand for output related to GitLab environment info</summary>
<pre>
System information
System: Ubuntu 18.04
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.17.1
Sidekiq Version:5.1.3
Go Version: unknown
GitLab information
Version: 11.1.2-ee
Revision: f5babb03520
Directory: /opt/gitlab/embedded/service/gitlab-rails
DB Adapter: postgresql
DB Version: 9.6.8
URL: https://git.dbogatov.org
HTTP Clone URL: https://git.dbogatov.org/some-group/some-project.git
SSH Clone URL: git@git.dbogatov.org:some-group/some-project.git
Elasticsearch: yes
Geo: no
Using LDAP: no
Using Omniauth: yes
Omniauth Providers: github, bitbucket, gitlab, google_oauth2, facebook, twitter
GitLab Shell
Version: 7.1.4
Repository storage paths:
default: /var/opt/gitlab/git-data/repositories
Hooks: /opt/gitlab/embedded/service/gitlab-shell/hooks
Git: /opt/gitlab/embedded/bin/git
</pre>
</details>
#### Results of GitLab application Check
<details>
<summary>Expand for output related to the GitLab application check</summary>
<pre>
Checking GitLab Shell ...
GitLab Shell version >= 7.1.4 ? ... OK (7.1.4)
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: ...
13/2 ... ok
2/3 ... ok
2/4 ... ok
2/5 ... ok
2/6 ... ok
2/7 ... ok
2/8 ... ok
2/9 ... ok
2/11 ... ok
2/13 ... ok
2/15 ... ok
2/16 ... ok
2/17 ... ok
2/22 ... ok
2/23 ... ok
2/24 ... repository is empty
2/25 ... ok
2/26 ... ok
2/27 ... ok
14/28 ... ok
2/29 ... ok
2/30 ... ok
2/31 ... ok
2/32 ... ok
2/33 ... ok
14/34 ... ok
2/35 ... ok
2/36 ... ok
2/37 ... ok
2/38 ... ok
2/39 ... ok
2/40 ... ok
26/41 ... ok
26/42 ... ok
2/44 ... ok
2/47 ... ok
2/49 ... ok
29/50 ... ok
29/53 ... ok
2/54 ... ok
30/55 ... ok
30/56 ... ok
2/59 ... ok
19/60 ... ok
19/61 ... ok
39/62 ... ok
30/63 ... ok
39/64 ... repository is empty
39/65 ... ok
30/66 ... ok
2/67 ... ok
42/68 ... ok
42/69 ... ok
30/70 ... ok
45/71 ... ok
26/72 ... ok
30/73 ... ok
55/74 ... ok
45/75 ... ok
30/76 ... ok
2/77 ... ok
45/78 ... ok
2/79 ... ok
2/80 ... ok
26/81 ... ok
26/82 ... ok
54/83 ... repository is empty
54/84 ... ok
55/86 ... ok
54/87 ... 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
Checking Reply by email ...
IMAP server credentials are correct? ... yes
Init.d configured correctly? ... skipped
MailRoom running? ... skipped
Checking Reply by email ... Finished
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: ...
13/2 ... yes
2/3 ... yes
2/4 ... yes
2/5 ... yes
2/6 ... yes
2/7 ... yes
2/8 ... yes
2/9 ... yes
2/11 ... yes
2/13 ... yes
2/15 ... yes
2/16 ... yes
2/17 ... yes
2/22 ... yes
2/23 ... yes
2/24 ... yes
2/25 ... yes
2/26 ... yes
2/27 ... yes
14/28 ... yes
2/29 ... yes
2/30 ... yes
2/31 ... yes
2/32 ... yes
2/33 ... yes
14/34 ... yes
2/35 ... yes
2/36 ... yes
2/37 ... yes
2/38 ... yes
2/39 ... yes
2/40 ... yes
26/41 ... yes
26/42 ... yes
2/44 ... yes
2/47 ... yes
2/49 ... yes
29/50 ... yes
29/53 ... yes
2/54 ... yes
30/55 ... yes
30/56 ... yes
2/59 ... yes
19/60 ... yes
19/61 ... yes
39/62 ... yes
30/63 ... yes
39/64 ... yes
39/65 ... yes
30/66 ... yes
2/67 ... yes
42/68 ... yes
42/69 ... yes
30/70 ... yes
45/71 ... yes
26/72 ... yes
30/73 ... yes
55/74 ... yes
45/75 ... yes
30/76 ... yes
2/77 ... yes
45/78 ... yes
2/79 ... yes
2/80 ... yes
26/81 ... yes
26/82 ... yes
54/83 ... yes
54/84 ... yes
55/86 ... yes
54/87 ... yes
Redis version >= 2.8.0? ... yes
Ruby version >= 2.3.5 ? ... yes (2.4.4)
Git version >= 2.9.5 ? ... yes (2.17.1)
Git user has default SSH configuration? ... yes
Active users: ... 15
Elasticsearch version 5.1 - 5.5? ... yes (5.5.3)
Checking GitLab ... Finished
</pre>
</details>
### Possible fixes
Handle the case when secret variables are not in the secrets file.Backlog