Pipeline job logs skip a line number on each step
Summary
Pipeline job logs are missing one line number when starting each step.
Steps to reproduce
- Open any CI pipeline job log
- See that there are line numbers missing
Example Project
You can see this issue happening in e.g. here: https://gitlab.com/gitlab-org/gitlab/-/jobs/1089071429
Just look at the last lines of the job log. Though there seems to be an exception for example on line 3928, where the next line correctly is numbered 3929.
What is the current bug behavior?
One line number is skipped on each step.
What is the expected correct behavior?
No line numbers skipped.
Relevant logs and/or screenshots
Here you can see line numbers 4, 7, 10 and 18 missing:
Here you can see line numbers 3932, 3935 and 3941 missing:
Output of checks
Results of GitLab environment info
Expand for output related to GitLab environment info
(For installations with omnibus-gitlab package run and paste the output of: `sudo gitlab-rake gitlab:env:info`) (For installations from source run and paste the output of: `sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production`) System information System: Ubuntu 20.04 Proxy: no Current User: git Using RVM: no Ruby Version: 2.7.2p137 Gem Version: 3.1.4 Bundler Version:2.1.4 Rake Version: 13.0.3 Redis Version: 6.0.10 Git Version: 2.29.0 Sidekiq Version:5.2.9 Go Version: unknown GitLab information Version: 13.9.2-ee Revision: 2817b49bf5d Directory: /opt/gitlab/embedded/service/gitlab-rails DB Adapter: PostgreSQL DB Version: 12.5 URL: https://xxx HTTP Clone URL: https://xxx/some-group/some-project.git SSH Clone URL: git@xxx:some-group/some-project.git Elasticsearch: no Geo: no Using LDAP: no Using Omniauth: yes Omniauth Providers: GitLab Shell Version: 13.16.1 Repository storage paths: - default: /var/opt/gitlab/git-data/repositories GitLab Shell path: /opt/gitlab/embedded/service/gitlab-shell Git: /opt/gitlab/embedded/bin/git
Results of GitLab application Check
Expand for output related to the GitLab application check
(For installations with omnibus-gitlab package run and paste the output of:
sudo gitlab-rake gitlab:check SANITIZE=true
)(For installations from source run and paste the output of:
sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production SANITIZE=true
)(we will only investigate if the tests are passing)
Checking GitLab subtasks ...
Checking GitLab Shell ...
GitLab Shell: ... GitLab Shell version >= 13.16.1 ? ... OK (13.16.1) Running /opt/gitlab/embedded/service/gitlab-shell/bin/check Internal API available: OK Redis available via internal API: OK gitlab-shell self-check successful
Checking GitLab Shell ... Finished
Checking Gitaly ...
Gitaly: ... default ... OK
Checking Gitaly ... Finished
Checking Sidekiq ...
Sidekiq: ... Running? ... yes Number of Sidekiq processes ... 1
Checking Sidekiq ... Finished
Checking Incoming Email ...
Incoming Email: ... Reply by email is disabled in config/gitlab.yml
Checking Incoming Email ... Finished
Checking LDAP ...
LDAP: ... LDAP is disabled in config/gitlab.yml
Checking LDAP ... Finished
Checking GitLab App ...
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 17/12 ... yes 15/13 ... yes 23/17 ... yes 23/18 ... yes 17/19 ... yes 20/23 ... yes 20/24 ... yes 26/25 ... yes 27/26 ... yes 20/27 ... yes 17/28 ... yes 15/29 ... yes 23/30 ... yes 23/31 ... yes 30/33 ... yes 27/34 ... yes 30/35 ... yes 31/36 ... yes 31/37 ... yes 32/39 ... yes 32/40 ... yes 27/41 ... yes 33/42 ... yes 17/43 ... yes 17/44 ... yes 23/45 ... yes 15/46 ... yes 23/47 ... yes 17/48 ... yes 23/49 ... yes 23/50 ... yes 15/51 ... yes 15/52 ... yes 23/53 ... yes 23/54 ... yes 23/55 ... yes 18/56 ... yes 18/58 ... yes 18/59 ... yes 18/60 ... yes 21/61 ... yes 18/62 ... yes 21/63 ... yes 20/64 ... yes 34/65 ... yes 23/66 ... yes 17/67 ... yes 17/68 ... yes 27/71 ... yes 27/72 ... yes 23/73 ... yes 23/74 ... yes 18/75 ... yes 23/76 ... yes 27/77 ... yes 23/78 ... yes 36/79 ... yes 30/80 ... yes 30/81 ... yes 15/82 ... yes 27/83 ... yes 37/84 ... yes 37/85 ... yes 23/86 ... yes 41/87 ... yes 34/88 ... yes 42/89 ... yes 23/90 ... yes 42/91 ... yes 44/92 ... yes 45/93 ... yes 45/94 ... yes 45/95 ... yes 45/96 ... yes 47/97 ... yes 48/98 ... yes 48/99 ... yes 46/100 ... yes 48/101 ... yes 42/102 ... yes 50/104 ... yes 41/105 ... yes 23/106 ... yes 52/107 ... yes 52/108 ... yes 53/109 ... yes 54/110 ... yes 51/111 ... yes 20/112 ... yes 17/113 ... yes 20/114 ... yes 19/115 ... yes 19/116 ... yes 23/117 ... yes 42/118 ... yes 45/119 ... yes 20/120 ... yes 48/121 ... yes 56/122 ... yes 57/123 ... yes 27/124 ... yes 45/125 ... yes 27/126 ... yes 58/127 ... yes 20/128 ... yes 37/129 ... yes 59/130 ... yes 48/131 ... yes 48/132 ... yes 48/133 ... yes 45/134 ... yes 48/135 ... yes 43/136 ... yes 20/138 ... yes 41/139 ... yes 17/140 ... yes 48/141 ... yes 48/142 ... yes 63/143 ... yes 18/144 ... yes 18/145 ... yes 50/147 ... yes 42/148 ... yes 8/149 ... yes 38/150 ... yes 50/151 ... yes 8/152 ... yes Redis version >= 4.0.0? ... yes Ruby version >= 2.7.2 ? ... yes (2.7.2) Git version >= 2.29.0 ? ... yes (2.29.0) Git user has default SSH configuration? ... yes Active users: ... 22 Is authorized keys file accessible? ... yes GitLab configured to store new projects in hashed storage? ... yes All projects are in hashed storage? ... yes Elasticsearch version 7.x (6.4 - 6.x deprecated to be removed in 13.8)? ... skipped (elasticsearch is disabled)
Checking GitLab App ... Finished
Checking GitLab subtasks ... Finished