[PKG-Openstack-devel] Bug#891441: murano-dashboard FTBFS: YaqlLexicalException: Lexical error: illegal character '$' at position 0

Adrian Bunk bunk at debian.org
Sun Feb 25 16:21:15 UTC 2018


Source: murano-dashboard
Version: 1:4.0.0-1
Severity: serious

Some recent change in unstable makes murano-dashboard FTBFS:

https://tests.reproducible-builds.org/debian/history/murano-dashboard.html
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/murano-dashboard.html

...
make[1]: Entering directory '/build/1st/murano-dashboard-4.0.0'
pyversions: missing X(S)-Python-Version in control file, fall back to debian/pyversions
pyversions: missing debian/pyversions file, fall back to supported versions
py3versions: no X-Python3-Version in control file, using supported versions
NOSE_WITH_OPENSTACK=1 \
	NOSE_OPENSTACK_COLOR=1 \
	NOSE_OPENSTACK_RED=0.05 \
	NOSE_OPENSTACK_YELLOW=0.025 \
	NOSE_OPENSTACK_SHOW_ELAPSED=1 \
	DJANGO_SETTINGS_MODULE=muranodashboard.settings \
	python-coverage run \
	/build/1st/murano-dashboard-4.0.0/manage.py test muranodashboard --settings=muranodashboard.tests.settings

....E......................................................................No handlers could be found for logger "muranodashboard.packages.forms"
....................................................................................................[
 0m............................................................................................EEEE...
 ....................................................................................................[
 32m...................................................................
======================================================================
ERROR: test_get_and_set_cleaned_data (muranodashboard.tests.unit.dynamic_ui.test_services.TestService)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build/1st/murano-dashboard-4.0.0/muranodashboard/tests/unit/dynamic_ui/test_services.py", line 139, in test_get_and_set_cleaned_data
    expr = engine('$')
  File "/usr/lib/python2.7/dist-packages/yaql/language/factory.py", line 76, in __call__
    self.parser.parse(expression, lexer=self.lexer), self)
  File "/usr/lib/python2.7/dist-packages/ply/yacc.py", line 333, in parse
    return self.parseopt_notrack(input, lexer, debug, tracking, tokenfunc)
  File "/usr/lib/python2.7/dist-packages/ply/yacc.py", line 1063, in parseopt_notrack
    lookahead = get_token()     # Get the next token
  File "/usr/lib/python2.7/dist-packages/ply/lex.py", line 393, in token
    newtok = self.lexerrorf(tok)
  File "/usr/lib/python2.7/dist-packages/yaql/language/lexer.py", line 148, in t_error
    raise exceptions.YaqlLexicalException(t.value[0], t.lexpos)
YaqlLexicalException: Lexical error: illegal character '$' at position 0

======================================================================
ERROR: muranodashboard.tests.unit.dynamic_ui.test_yaql_expression.TestYaqlExpression.test_evaluate
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
  File "/build/1st/murano-dashboard-4.0.0/muranodashboard/tests/unit/dynamic_ui/test_yaql_expression.py", line 26, in setUp
    self.yaql_expr = yaql_expression.YaqlExpression(yaql)
  File "/build/1st/murano-dashboard-4.0.0/muranodashboard/dynamic_ui/yaql_expression.py", line 35, in __init__
    self._parsed_expression = YAQL(self._expression)
  File "/usr/lib/python2.7/dist-packages/yaql/language/factory.py", line 76, in __call__
    self.parser.parse(expression, lexer=self.lexer), self)
  File "/usr/lib/python2.7/dist-packages/ply/yacc.py", line 333, in parse
    return self.parseopt_notrack(input, lexer, debug, tracking, tokenfunc)
  File "/usr/lib/python2.7/dist-packages/ply/yacc.py", line 1063, in parseopt_notrack
    lookahead = get_token()     # Get the next token
  File "/usr/lib/python2.7/dist-packages/ply/lex.py", line 393, in token
    newtok = self.lexerrorf(tok)
  File "/usr/lib/python2.7/dist-packages/yaql/language/lexer.py", line 148, in t_error
    raise exceptions.YaqlLexicalException(t.value[0], t.lexpos)
yaql.language.exceptions.YaqlLexicalException: Lexical error: illegal character '$' at position 0


======================================================================
ERROR: muranodashboard.tests.unit.dynamic_ui.test_yaql_expression.TestYaqlExpression.test_expression
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
  File "/build/1st/murano-dashboard-4.0.0/muranodashboard/tests/unit/dynamic_ui/test_yaql_expression.py", line 26, in setUp
    self.yaql_expr = yaql_expression.YaqlExpression(yaql)
  File "/build/1st/murano-dashboard-4.0.0/muranodashboard/dynamic_ui/yaql_expression.py", line 35, in __init__
    self._parsed_expression = YAQL(self._expression)
  File "/usr/lib/python2.7/dist-packages/yaql/language/factory.py", line 76, in __call__
    self.parser.parse(expression, lexer=self.lexer), self)
  File "/usr/lib/python2.7/dist-packages/ply/yacc.py", line 333, in parse
    return self.parseopt_notrack(input, lexer, debug, tracking, tokenfunc)
  File "/usr/lib/python2.7/dist-packages/ply/yacc.py", line 1063, in parseopt_notrack
    lookahead = get_token()     # Get the next token
  File "/usr/lib/python2.7/dist-packages/ply/lex.py", line 393, in token
    newtok = self.lexerrorf(tok)
  File "/usr/lib/python2.7/dist-packages/yaql/language/lexer.py", line 148, in t_error
    raise exceptions.YaqlLexicalException(t.value[0], t.lexpos)
yaql.language.exceptions.YaqlLexicalException: Lexical error: illegal character '$' at position 0


======================================================================
ERROR: muranodashboard.tests.unit.dynamic_ui.test_yaql_expression.TestYaqlExpression.test_match
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
  File "/build/1st/murano-dashboard-4.0.0/muranodashboard/tests/unit/dynamic_ui/test_yaql_expression.py", line 26, in setUp
    self.yaql_expr = yaql_expression.YaqlExpression(yaql)
  File "/build/1st/murano-dashboard-4.0.0/muranodashboard/dynamic_ui/yaql_expression.py", line 35, in __init__
    self._parsed_expression = YAQL(self._expression)
  File "/usr/lib/python2.7/dist-packages/yaql/language/factory.py", line 76, in __call__
    self.parser.parse(expression, lexer=self.lexer), self)
  File "/usr/lib/python2.7/dist-packages/ply/yacc.py", line 333, in parse
    return self.parseopt_notrack(input, lexer, debug, tracking, tokenfunc)
  File "/usr/lib/python2.7/dist-packages/ply/yacc.py", line 1063, in parseopt_notrack
    lookahead = get_token()     # Get the next token
  File "/usr/lib/python2.7/dist-packages/ply/lex.py", line 393, in token
    newtok = self.lexerrorf(tok)
  File "/usr/lib/python2.7/dist-packages/yaql/language/lexer.py", line 148, in t_error
    raise exceptions.YaqlLexicalException(t.value[0], t.lexpos)
yaql.language.exceptions.YaqlLexicalException: Lexical error: illegal character '$' at position 0


======================================================================
ERROR: muranodashboard.tests.unit.dynamic_ui.test_yaql_expression.TestYaqlExpression.test_overloading
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
  File "/build/1st/murano-dashboard-4.0.0/muranodashboard/tests/unit/dynamic_ui/test_yaql_expression.py", line 26, in setUp
    self.yaql_expr = yaql_expression.YaqlExpression(yaql)
  File "/build/1st/murano-dashboard-4.0.0/muranodashboard/dynamic_ui/yaql_expression.py", line 35, in __init__
    self._parsed_expression = YAQL(self._expression)
  File "/usr/lib/python2.7/dist-packages/yaql/language/factory.py", line 76, in __call__
    self.parser.parse(expression, lexer=self.lexer), self)
  File "/usr/lib/python2.7/dist-packages/ply/yacc.py", line 333, in parse
    return self.parseopt_notrack(input, lexer, debug, tracking, tokenfunc)
  File "/usr/lib/python2.7/dist-packages/ply/yacc.py", line 1063, in parseopt_notrack
    lookahead = get_token()     # Get the next token
  File "/usr/lib/python2.7/dist-packages/ply/lex.py", line 393, in token
    newtok = self.lexerrorf(tok)
  File "/usr/lib/python2.7/dist-packages/yaql/language/lexer.py", line 148, in t_error
    raise exceptions.YaqlLexicalException(t.value[0], t.lexpos)
yaql.language.exceptions.YaqlLexicalException: Lexical error: illegal character '$' at position 0


Slowest 5 tests took 13.61 secs:
    3.62    TestApi.test_handled_exceptions_with_details
    3.56    TestImportPackageWizard.test_done_except_http_forbidden
    2.84    TestImportPackageForm.test_clean_package_exception_validation_error
    1.81    TestEnvironmentsAPI.test_environment_delete
    1.77    TestService.test_get_and_set_cleaned_data
----------------------------------------------------------------------
Ran 441 tests in 57.651s

FAILED (errors=5)
nosetests muranodashboard --nocapture --nologcapture --cover-package=muranodashboard --verbosity=1
Creating test database for alias 'default'...
Destroying test database for alias 'default'...
make[1]: *** [debian/rules:10: override_dh_auto_test] Error 1



More information about the Openstack-devel mailing list