500 error when viewing failed builds
I'm using Gitlab 8.3.0 from gitlab-ce_8.3.0-ce.0_amd64.deb with multi-runner 0.7.2 (also tried with 0.5.2)
I get a 500 error when trying to view a failed build at the url: gitlab.local/xxxx/yyyyy/builds/3 I can view the build page when it is pending, but not when it failed.
Here is the relevant information from production.log (obfuscated group and project name):
Started POST "/ci/api/v1/builds/register.json" for 127.0.0.1 at 2015-12-24 11:02:46 -0600
Started POST "/ci/api/v1/builds/register.json" for 127.0.0.1 at 2015-12-24 11:02:49 -0600
Started GET "/xxxx/yyyyy/builds/3" for 127.0.0.1 at 2015-12-24 11:02:50 -0600
Processing by Projects::BuildsController#show as HTML
Parameters: {"namespace_id"=>"xxxx", "project_id"=>"yyyyy", "id"=>"3"}
Completed 500 Internal Server Error in 76ms (ActiveRecord: 7.1ms)
ActionView::Template::Error (wrong argument type nil (expected Regexp)):
75: %pre.trace#build-trace
76: %code.bash
77: = preserve do
78: = raw @build.trace_html
79: %div#down-build-trace
80:
81: .col-md-3
app/models/ci/build.rb:197:in `gsub'
app/models/ci/build.rb:197:in `trace'
app/models/ci/build.rb:126:in `trace_html'
app/views/projects/builds/show.html.haml:78:in `block in _app_views_projects_builds_show_html_haml__1524216100926254969_51261880'
app/views/projects/builds/show.html.haml:77:in `_app_views_projects_builds_show_html_haml__1524216100926254969_51261880'
app/controllers/projects/builds_controller.rb:36:in `show'
Started POST "/ci/api/v1/builds/register.json" for 127.0.0.1 at 2015-12-24 11:02:52 -0600
Started POST "/ci/api/v1/builds/register.json" for 127.0.0.1 at 2015-12-24 11:02:55 -0600
Started GET "/admin/logs" for 127.0.0.1 at 2015-12-24 11:02:57 -0600
Processing by Admin::LogsController#show as HTML
I'm unable to use this new version of Gitlab because the CI is not working right now.