[ubuntu-dev] Bug#951923: gdebi: FTBFS: test failures

Lucas Nussbaum lucas at debian.org
Sun Feb 23 06:57:20 GMT 2020


Source: gdebi
Version: 0.9.5.7+nmu3
Severity: serious
Justification: FTBFS on amd64
Tags: buster sid
Usertags: ftbfs-20200222 ftbfs-buster

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.

Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> xvfb-run -a python3.7 setup.py test
> running test
> WARNING: Testing via this command is deprecated and will be removed in a future version. Users looking for a generic test entry point independent of test runner are encouraged to use tox.
> running egg_info
> creating gdebi.egg-info
> writing gdebi.egg-info/PKG-INFO
> writing dependency_links to gdebi.egg-info/dependency_links.txt
> writing top-level names to gdebi.egg-info/top_level.txt
> writing manifest file 'gdebi.egg-info/SOURCES.txt'
> reading manifest file 'gdebi.egg-info/SOURCES.txt'
> writing manifest file 'gdebi.egg-info/SOURCES.txt'
> running build_ext
> test_against_deb_with_conflict_against_apt (tests.test_gdebi_cli.GDebiCliTestCase) ... This package is uninstallable
> Conflicts with the installed package 'apt'
> ok
> test_against_impossible_dep (tests.test_gdebi_cli.GDebiCliTestCase) ... This package is uninstallable
> Dependency is not satisfiable: pkg-that-does-not-exists
> 
> ok
> test_against_that_works_with_no_additonal_deps (tests.test_gdebi_cli.GDebiCliTestCase) ... ok
> test_lintian (tests.test_gdebi_gtk_lintian.GDebiGtkTestCase) ... WARNING:root:Error loading logo gtk-icon-theme-error-quark: Icon 'gnome-mime-application-x-deb' not present in theme Adwaita (0)
> /<<PKGBUILDDIR>>/GDebi/GDebiGtk.py:413: PyGIDeprecationWarning: GObject.SPAWN_DO_NOT_REAP_CHILD is deprecated; use GLib.SPAWN_DO_NOT_REAP_CHILD instead
>   cmd, flags=GObject.SPAWN_DO_NOT_REAP_CHILD,
> /<<PKGBUILDDIR>>/GDebi/GDebiGtk.py:443: DeprecationWarning: GLib.IOChannel.close is deprecated
>   gio_file.close()
> FAIL
> test_simple (tests.test_gdebi_gtk.GDebiGtkTestCase) ... WARNING:root:Error loading logo gtk-icon-theme-error-quark: Icon 'gnome-mime-application-x-deb' not present in theme Adwaita (0)
> ok
> 
> ======================================================================
> FAIL: test_lintian (tests.test_gdebi_gtk_lintian.GDebiGtkTestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/lib/python3.7/unittest/mock.py", line 1255, in patched
>     return func(*args, **keywargs)
>   File "/<<PKGBUILDDIR>>/tests/test_gdebi_gtk_lintian.py", line 61, in test_lintian
>     self.assertMultiLineEqual(lintian_output.strip(), EXPECTED_LINTIAN_OUTPUT)
> AssertionError: 'E: e[69 chars]age: control-file-has-bad-owner postinst egon/[506 chars]us 1' != 'E: e[69 chars]age: file-in-etc-not-marked-as-conffile etc/fo[497 chars]us 1'
>   E: error-package: changelog-file-missing-in-native-package
> - E: error-package: control-file-has-bad-owner postinst egon/egon != root/root (or 0/0)
>   E: error-package: file-in-etc-not-marked-as-conffile etc/foo
> + E: error-package: control-file-has-bad-owner postinst egon/egon != root/root
>   E: error-package: no-copyright-file
> + E: error-package: package-has-no-description
>   E: error-package: no-maintainer-field
> - E: error-package: package-has-no-description
> + W: error-package: no-section-field
> + W: error-package: no-priority-field
>   E: error-package: wrong-file-owner-uid-or-gid etc/ 1000/1000
>   E: error-package: wrong-file-owner-uid-or-gid etc/foo 1000/1000
>   W: error-package: maintainer-script-ignores-errors postinst
> - W: error-package: no-priority-field
> - W: error-package: no-section-field
>   
>   Lintian finished with exit status 1
> 
> ----------------------------------------------------------------------
> Ran 5 tests in 3.138s
> 
> FAILED (failures=1)
> Test failed: <unittest.runner.TextTestResult run=5 errors=0 failures=1>
> error: Test failed: <unittest.runner.TextTestResult run=5 errors=0 failures=1>
> make[1]: *** [debian/rules:14: override_dh_auto_test] Error 1

The full build log is available from:
   http://qa-logs.debian.net/2020/02/22/gdebi_0.9.5.7+nmu3_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the ubuntu-dev-team mailing list