Public bug reported:

https://launchpadlibrarian.net/418304497/buildlog_ubuntu-cosmic-amd64
.distro-info_0.18_BUILDING.txt.gz

Test: Run pylint on Python source code ... Running following command:
python3.7 -m pylint 
--rcfile=/<<PKGBUILDDIR>>/python/distro_info_test/pylint.conf -- 
debian-distro-info ubuntu-distro-info distro_info_test distro_info.py setup.py
FAIL

======================================================================
FAIL: test_pylint (distro_info_test.test_pylint.PylintTestCase)
Test: Run pylint on Python source code
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/python/distro_info_test/test_pylint.py", line 72, in 
test_pylint
    self.fail("\n".join(msgs))
AssertionError: pylint found issues:
************* Module distro_info
distro_info.py:57:0: R0205: Class 'DistroRelease' inherits from object, can be 
safely removed from bases in python3 (useless-object-inheritance)
distro_info.py:82:0: R0205: Class 'DistroInfo' inherits from object, can be 
safely removed from bases in python3 (useless-object-inheritance)
distro_info.py:131:8: R1705: Unnecessary "elif" after "return" (no-else-return)
distro_info.py:248:48: R1716: Simplify chained comparison between the operands 
(chained-comparison)

----------------------------------------------------------------------
Ran 26 tests in 3.675s

FAILED (failures=1)
Test failed: <unittest.runner.TextTestResult run=26 errors=0 failures=1>
error: Test failed: <unittest.runner.TextTestResult run=26 errors=0 failures=1>
make[1]: *** [Makefile:45: test-python] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_test: make -j4 test returned exit code 2
make: *** [debian/rules:6: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2

** Affects: distro-info (Ubuntu)
     Importance: High
         Status: New


** Tags: cc-tc-updates ftbfs

** Changed in: distro-info (Ubuntu)
   Importance: Undecided => High

** Tags added: cc-tc-updates ftbfs

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1823657

Title:
  distro-info ftbfs with cosmic toolchain updates

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/distro-info/+bug/1823657/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to