Non-robust parsing of build ids

Bug #1170673 reported by Paul Sokolovsky
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro Toolchain Build Automation
Fix Released
High
Paul Sokolovsky

Bug Description

Matthew Gretton-Dann wrote:

> All,
>
> http://cbuild.validation.linaro.org/helpers/recent was reporting an
> Internal Server Error earlier today, and after looking at the logs
> the resultant cause was because the gcc-4.8+svn198079 Lava job
> (https://validation.linaro.org/lava-server/scheduler/job/52224)
> decided that it was an a9 (as opposed to a9hf) job and that it didn't
> no which version of Ubuntu it was running on.
>
> The caused the logs to be put in
> http://cbuild.validation.linaro.org/build/gcc-4.8+svn198079/logs/armv7l--cbuild-panda-es06-cortexa9r1/
>
> The tcwg-web app then fell over because it couldn't pass the
> armv7l--cbuild-panda-es06-cortexa9r1 name.

Revision history for this message
Paul Sokolovsky (pfalcon) wrote :

From nginx log:

2013/04/19 06:35:05 [error] 1207#0: *1089503 FastCGI sent in stderr: "Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/web/application.py", line 242, in process
    return self.handle()
  File "/usr/lib/pymodules/python2.7/web/application.py", line 233, in handle
    return self._delegate(fn, self.fvars, args)
  File "/usr/lib/pymodules/python2.7/web/application.py", line 415, in _delegate
    return handle_class(cls)
  File "/usr/lib/pymodules/python2.7/web/application.py", line 390, in handle_class
    return tocall(*args)
  File "/home/cbuild/lib/tcwg-web.lava/recent.py", line 114, in GET
    return render.index(builds, make_dbm())
  File "/usr/lib/pymodules/python2.7/web/template.py", line 1024, in template
    return self._base(t(*a, **kw))
  File "/usr/lib/pymodules/python2.7/web/template.py", line 898, in __call__
    return BaseTemplate.__call__(self, *a, **kw)
  File "/usr/lib/pymodules/python2.7/web/template.py", line 804, in __call__
    return self.t(*a, **kw)
  File "templates/recent/index.html", line 56, in __template__
    $', '.join(r.includes)
  File "/home/cbuild/lib/tcwg-web.lava/common.py", line 389, in split_build_id
    return m.groups()

Changed in cbuild:
assignee: nobody → Paul Sokolovsky (pfalcon)
importance: Undecided → High
Revision history for this message
Paul Sokolovsky (pfalcon) wrote :
Changed in cbuild:
milestone: none → backlog
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.