job logs missing from failed pipeline notification emails
Summary
Notification emails regarding failed pipelines do not include the job log. (Per job logs documentation, they should be included in email notifications.) The emails look otherwise normal and complete.
Steps to reproduce
- Run CI job which exits with non-zero exit code.
- Receive notification email.
Example Project
What is the current bug behavior?
I run two separate self-hosted instances. This is occurring on both, and started after upgrading them to 13.5. They had previously been on 12.8 and 12.10. Prior to the upgrade, a notification email for a failed pipeline would include the last portion of the log for the failed job. Since the upgrade, the emails no longer include any log. This occurs across all known pipelines and across all runners.
What is the expected correct behavior?
Job log (or at least last portion of it) should be included in the email.
Relevant logs and/or screenshots
Output of checks
Results of GitLab environment info
Expand for output related to GitLab environment info
System information System: Current User: git Using RVM: no Ruby Version: 2.6.6p146 Gem Version: 2.7.10 Bundler Version:1.17.3 Rake Version: 12.3.3 Redis Version: 5.0.9 Git Version: 2.28.0 Sidekiq Version:5.2.9 Go Version: unknown GitLab information Version: 13.5.3 Revision: eaa194f15e6 Directory: /opt/gitlab/embedded/service/gitlab-rails DB Adapter: PostgreSQL DB Version: 11.9 URL: https://[REDACTED] HTTP Clone URL: https://[REDACTED]/some-group/some-project.git SSH Clone URL: [git@[REDACTED]]:some-group/some-project.git Using LDAP: yes Using Omniauth: yes Omniauth Providers: GitLab Shell Version: 13.11.0 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
Checking GitLab subtasks ...
Checking GitLab Shell ...
GitLab Shell: ... GitLab Shell version >= 13.11.0 ? ... OK (13.11.0) 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 not verifying SSL hostname of LDAPS server '[REDACTED]' 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: ... Server: ldapmain LDAP authentication... Success LDAP users with access to your GitLab server (only showing the first 100 results) User output sanitized. Found 100 users of 100 limit.
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: ... 3/1 ... yes 9/26 ... yes 3/29 ... yes 9/30 ... yes 9/33 ... yes 4/34 ... yes 2/35 ... yes 11/36 ... yes 12/37 ... yes 3/38 ... yes 9/40 ... yes 11/41 ... yes 3/42 ... yes 39/43 ... yes 40/45 ... yes 2/46 ... yes 41/47 ... yes 43/48 ... yes 42/50 ... yes 43/51 ... yes 42/52 ... yes 41/53 ... yes 41/54 ... yes 41/55 ... yes 46/56 ... yes 47/57 ... yes 47/58 ... yes 49/59 ... yes 50/60 ... yes 40/61 ... yes 50/63 ... yes 13/70 ... yes 13/71 ... yes 13/79 ... yes 13/83 ... yes 61/86 ... yes 2/88 ... yes 106/111 ... yes 107/112 ... yes 58/120 ... yes 120/123 ... yes 13/124 ... yes 54/130 ... yes 124/132 ... yes 127/143 ... yes 127/148 ... yes 127/150 ... yes 131/151 ... yes 131/152 ... yes 131/153 ... yes 127/158 ... yes 13/160 ... yes 127/161 ... yes 132/165 ... yes 132/166 ... yes 132/167 ... yes 132/168 ... yes 127/171 ... yes 132/172 ... yes 127/173 ... yes 127/174 ... yes 133/175 ... yes 127/176 ... yes 127/179 ... yes 127/180 ... yes 127/181 ... yes 127/182 ... yes 127/183 ... yes 127/184 ... yes 50/185 ... yes 127/186 ... yes 50/187 ... yes 50/188 ... yes 127/189 ... yes 54/191 ... yes 13/192 ... yes 132/193 ... yes 2/195 ... yes 2/196 ... yes 2/197 ... yes 2/198 ... yes 2/199 ... yes 11/200 ... yes 140/201 ... yes 2/202 ... yes 2/203 ... yes 142/204 ... yes 142/205 ... yes 142/206 ... yes 142/207 ... yes 142/208 ... yes 142/209 ... yes 142/210 ... yes 142/211 ... yes 142/212 ... yes 142/213 ... yes 142/214 ... yes 142/215 ... yes 142/216 ... yes 142/217 ... yes 142/218 ... yes 142/219 ... yes 143/220 ... yes 143/221 ... yes 143/222 ... yes 149/223 ... yes 149/224 ... yes 149/225 ... yes 144/226 ... yes 144/227 ... yes 145/228 ... yes 145/229 ... yes 145/230 ... yes 145/231 ... yes 146/232 ... yes 146/233 ... yes 146/234 ... yes 147/235 ... yes 148/236 ... yes 148/237 ... yes 148/238 ... yes 148/239 ... yes 148/240 ... yes 148/241 ... yes 148/242 ... yes 149/243 ... yes 149/244 ... yes 149/245 ... yes 150/246 ... yes 151/247 ... yes 152/248 ... yes 152/249 ... yes 152/250 ... yes 148/251 ... yes 149/252 ... yes 148/253 ... yes 149/254 ... yes 154/255 ... yes 144/256 ... yes 154/257 ... yes 156/258 ... yes 153/259 ... yes 155/260 ... yes 155/261 ... yes 155/262 ... yes 155/263 ... yes 155/264 ... yes 155/265 ... yes 148/266 ... yes 20/267 ... yes 20/268 ... yes 20/269 ... yes 14/270 ... yes 14/271 ... yes 14/272 ... yes 145/273 ... yes 145/274 ... yes 145/275 ... yes 145/276 ... yes 153/277 ... yes 159/278 ... yes 13/279 ... yes 13/280 ... yes 120/281 ... yes 120/282 ... yes 120/284 ... yes 120/285 ... yes 120/286 ... yes 120/287 ... yes 2/289 ... yes 120/291 ... yes 13/292 ... yes 2/293 ... yes 120/294 ... yes 120/295 ... yes 2/296 ... yes 153/297 ... yes 120/298 ... yes 120/299 ... yes 120/300 ... yes Redis version >= 4.0.0? ... yes Ruby version >= 2.5.3 ? ... yes (2.6.6) Git version >= 2.24.0 ? ... yes (2.28.0) Git user has default SSH configuration? ... yes Active users: ... 47 Is authorized keys file accessible? ... yes GitLab configured to store new projects in hashed storage? ... yes All projects are in hashed storage? ... yes
Checking GitLab App ... Finished
Checking GitLab subtasks ... Finished