Value too long for type character varying(100) error in Bundle Viewer

Bug #1287750 reported by Georgy Redkozubov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
LAVA Server
Fix Released
Medium
Georgy Redkozubov

Bug Description

Open https://staging.validation.linaro.org/dashboard/streams/anonymous/lava-functional-tests/bundles/3ff088aef4161d47e0a942ff31687456ac3ee896/ and select "Bundle Viewer"
Looks like the problem is in the name of the system field of the software-context. It is taken from the /etc/issue file which in that particular case has a psuedographic logo in it.

Deserialization failure traceback

Traceback (most recent call last):
  File "/srv/lava/.cache/git-cache/exports/lava-server/2014-02-20-b12efe1/dashboard_app/models.py", line 499, in deserializeself._do_deserialize(prefer_evolution)
  File "/srv/lava/.cache/git-cache/exports/lava-server/2014-02-20-b12efe1/dashboard_app/models.py", line 520, in _do_deserializehelper.deserialize(self,prefer_evolution)
  File "/srv/lava/.cache/git-cache/exports/lava-server/2014-02-20-b12efe1/dashboard_app/helpers.py", line 880, in deserializeimporter().import_document(s_bundle,doc)
  File "/srv/lava/.cache/git-cache/exports/lava-server/2014-02-20-b12efe1/dashboard_app/helpers.py", line 65, in import_documentself._import_document_with_transaction(s_bundle,doc)
  File "/srv/lava/.cache/eggs/Django-1.4.2-py2.7.egg/django/db/transaction.py", line 209, in innerreturnfunc(*args,**kwargs)
  File "/srv/lava/.cache/git-cache/exports/lava-server/2014-02-20-b12efe1/dashboard_app/helpers.py", line 107, in _import_document_with_transactionself._import_document(s_bundle,doc)
  File "/srv/lava/.cache/git-cache/exports/lava-server/2014-02-20-b12efe1/dashboard_app/helpers.py", line 111, in _import_documentself._import_test_run(c_test_run,s_bundle)
  File "/srv/lava/.cache/git-cache/exports/lava-server/2014-02-20-b12efe1/dashboard_app/helpers.py", line 710, in _import_test_runs_test_run=super(BundleFormatImporter_1_4,self)._import_test_run(c_test_run,s_bundle)
  File "/srv/lava/.cache/git-cache/exports/lava-server/2014-02-20-b12efe1/dashboard_app/helpers.py", line 694, in _import_test_runs_test_run=super(BundleFormatImporter_1_3,self)._import_test_run(c_test_run,s_bundle)
  File "/srv/lava/.cache/git-cache/exports/lava-server/2014-02-20-b12efe1/dashboard_app/helpers.py", line 164, in _import_test_runs_test_run.save()
  File "/srv/lava/.cache/eggs/Django-1.4.2-py2.7.egg/django/db/models/base.py", line 463, in saveself.save_base(using=using,force_insert=force_insert,force_update=force_update)
  File "/srv/lava/.cache/eggs/Django-1.4.2-py2.7.egg/django/db/models/base.py", line 529, in save_baserows=manager.using(using).filter(pk=pk_val)._update(values)
  File "/srv/lava/.cache/eggs/Django-1.4.2-py2.7.egg/django/db/models/query.py", line 560, in _updatereturnquery.get_compiler(self.db).execute_sql(None)
  File "/srv/lava/.cache/eggs/Django-1.4.2-py2.7.egg/django/db/models/sql/compiler.py", line 986, in execute_sqlcursor=super(SQLUpdateCompiler,self).execute_sql(result_type)
  File "/srv/lava/.cache/eggs/Django-1.4.2-py2.7.egg/django/db/models/sql/compiler.py", line 818, in execute_sqlcursor.execute(sql,params)
  File "/srv/lava/.cache/eggs/Django-1.4.2-py2.7.egg/django/db/backends/postgresql_psycopg2/base.py", line 52, in executereturnself.cursor.execute(query,args)DatabaseError: value too long for type character varying(100)

Changed in lava-server:
assignee: nobody → Georgy Redkozubov (gesha)
importance: Undecided → Medium
status: New → In Progress
Changed in lava-server:
status: In Progress → Fix Committed
Changed in lava-server:
status: Fix Committed → 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.