[Syslog-ng-maintainers] Bug#889303: syslog-ng FTBFS: FAIL: modules/python/pylib/test_pylib

Adrian Bunk bunk at debian.org
Sat Feb 3 14:18:49 GMT 2018


Source: syslog-ng
Version: 3.13.2-2
Severity: serious

Some recent change in unstable makes syslog-ng FTBFS:

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

...
FAIL: modules/python/pylib/test_pylib
=====================================

make[7]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
nosetests ../../modules/python/pylib/syslogng
............................................................................................................
----------------------------------------------------------------------
Ran 108 tests in 0.230s

OK
pep8 --ignore=E501 ../../modules/python/pylib/syslogng
pylint -r n --rcfile=../../modules/python/pylib/pylintrc ../../modules/python/pylib/syslogng
Using config file /build/1st/syslog-ng-3.13.2/modules/python/pylib/pylintrc
Unable to create directory /nonexistent/first-build/.pylint.d
Unable to create file /nonexistent/first-build/.pylint.d/syslogng1.stats: [Errno 2] No such file or directory: '/nonexistent/first-build/.pylint.d/syslogng1.stats'
************* Module syslogng.debuggercli.templatelexer
/build/1st/syslog-ng-3.13.2/modules/python/pylib/syslogng/debuggercli/templatelexer.py:127: [R1710(inconsistent-return-statements), TemplateLexer.t_dollarparen_PAREN_CLOSE] Either all return statements in a function should return an expression, or none of them should.
************* Module syslogng.debuggercli.completerlang
/build/1st/syslog-ng-3.13.2/modules/python/pylib/syslogng/debuggercli/completerlang.py:57: [R1710(inconsistent-return-statements), CompleterLang.p_error] Either all return statements in a function should return an expression, or none of them should.
************* Module syslogng.debuggercli.commandlinelexer
/build/1st/syslog-ng-3.13.2/modules/python/pylib/syslogng/debuggercli/commandlinelexer.py:56: [R1710(inconsistent-return-statements), CommandLineLexer._get_next_token] Either all return statements in a function should return an expression, or none of them should.
/build/1st/syslog-ng-3.13.2/modules/python/pylib/syslogng/debuggercli/commandlinelexer.py:89: [R1710(inconsistent-return-statements), CommandLineLexer._process_normal_character] Either all return statements in a function should return an expression, or none of them should.
/build/1st/syslog-ng-3.13.2/modules/python/pylib/syslogng/debuggercli/commandlinelexer.py:105: [R1710(inconsistent-return-statements), CommandLineLexer._close_paren] Either all return statements in a function should return an expression, or none of them should.
/build/1st/syslog-ng-3.13.2/modules/python/pylib/syslogng/debuggercli/commandlinelexer.py:112: [R1710(inconsistent-return-statements), CommandLineLexer._close_current_token] Either all return statements in a function should return an expression, or none of them should.

-----------------------------------
Your code has been rated at 9.96/10

Makefile:18463: recipe for target 'python-pylint' failed
make[7]: *** [python-pylint] Error 8
FAIL modules/python/pylib/test_pylib.sh (exit status: 2)

============================================================================
Testsuite summary for syslog-ng 3.13.2
============================================================================
# TOTAL: 71
# PASS:  70
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0
============================================================================
See ./test-suite.log
============================================================================
Makefile:16576: recipe for target 'test-suite.log' failed
make[6]: *** [test-suite.log] Error 1




More information about the Syslog-ng-maintainers mailing list