[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#830327: gnome-mousetrap: FTBFS: dh_auto_test: make -j1 check VERBOSE=1 returned exit code 2



Source: gnome-mousetrap
Version: 3.17.3-1
Severity: serious
Tags: stretch sid
User: debian-qa@lists.debian.org
Usertags: qa-ftbfs-20160707 qa-ftbfs
Justification: FTBFS on amd64

Hi,

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

Relevant part (hopefully):
> make[2]: Entering directory '/«PKGBUILDDIR»'
> PYTHONPATH="./build/lib.linux-x86_64-2.7" \
> 	"/usr/bin/python" "./build/lib.linux-x86_64-2.7/mousetrap/tests/run_python_tests.py"; \
> exit $?;
> # Loading /«PKGBUILDDIR»/build/lib.linux-x86_64-2.7/mousetrap/mousetrap.yaml
> {'width': 400, 'device_index': -1, 'height': 300}
> appending [u'/«PKGBUILDDIR»/build/lib.linux-x86_64-2.7']
> 2016-07-06 20:56:12,107 - mousetrap.i18n - DEBUG - LOCALE_DIR = /«PKGBUILDDIR»/build/lib.linux-x86_64-2.7/mousetrap/locale
> 2016-07-06 20:56:12,248 - mousetrap.i18n - DEBUG - LOCALE_DIR = /«PKGBUILDDIR»/build/lib.linux-x86_64-2.7/mousetrap/locale
> E.....# Loading /«PKGBUILDDIR»/build/lib.linux-x86_64-2.7/mousetrap/tests/test_config.py.data/f1
> # Loading /«PKGBUILDDIR»/build/lib.linux-x86_64-2.7/mousetrap/tests/test_config.py.data/f2
> # Loading /«PKGBUILDDIR»/build/lib.linux-x86_64-2.7/mousetrap/mousetrap.yaml
> 2016-07-06 20:56:12,263 - mousetrap.i18n - DEBUG - LOCALE_DIR = /«PKGBUILDDIR»/build/lib.linux-x86_64-2.7/mousetrap/locale
> E2016-07-06 20:56:12,274 - mousetrap.i18n - DEBUG - LOCALE_DIR = /«PKGBUILDDIR»/build/lib.linux-x86_64-2.7/mousetrap/locale
> E2016-07-06 20:56:12,275 - mousetrap.i18n - DEBUG - LOCALE_DIR = /«PKGBUILDDIR»/build/lib.linux-x86_64-2.7/mousetrap/locale
> E2016-07-06 20:56:12,276 - mousetrap.i18n - DEBUG - LOCALE_DIR = /«PKGBUILDDIR»/build/lib.linux-x86_64-2.7/mousetrap/locale
> EE
> ======================================================================
> ERROR: mousetrap.tests.test_gui (unittest.loader.ModuleImportFailure)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: mousetrap.tests.test_gui
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/unittest/loader.py", line 254, in _find_tests
>     module = self._get_module_from_name(name)
>   File "/usr/lib/python2.7/unittest/loader.py", line 232, in _get_module_from_name
>     __import__(name)
>   File "/«PKGBUILDDIR»/build/lib.linux-x86_64-2.7/mousetrap/tests/test_gui.py", line 6, in <module>
>     from mousetrap.main import Config
>   File "/«PKGBUILDDIR»/build/lib.linux-x86_64-2.7/mousetrap/main.py", line 20, in <module>
>     from mousetrap.core import App
>   File "/«PKGBUILDDIR»/build/lib.linux-x86_64-2.7/mousetrap/core.py", line 10, in <module>
>     from mousetrap.i18n import _
>   File "/«PKGBUILDDIR»/build/lib.linux-x86_64-2.7/mousetrap/i18n.py", line 16, in <module>
>     translations = gettext.translation("mousetrap", localedir=LOCALE_DIR)
>   File "/usr/lib/python2.7/gettext.py", line 472, in translation
>     raise IOError(ENOENT, 'No translation file found for domain', domain)
> IOError: [Errno 2] No translation file found for domain: u'mousetrap'
> 
> 
> ======================================================================
> ERROR: test_loop (mousetrap.tests.test_core.test_Loop)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/«PKGBUILDDIR»/build/lib.linux-x86_64-2.7/mousetrap/tests/test_core.py", line 70, in setUp
>     from mousetrap.core import Loop
>   File "/«PKGBUILDDIR»/build/lib.linux-x86_64-2.7/mousetrap/core.py", line 10, in <module>
>     from mousetrap.i18n import _
>   File "/«PKGBUILDDIR»/build/lib.linux-x86_64-2.7/mousetrap/i18n.py", line 16, in <module>
>     translations = gettext.translation("mousetrap", localedir=LOCALE_DIR)
>   File "/usr/lib/python2.7/gettext.py", line 472, in translation
>     raise IOError(ENOENT, 'No translation file found for domain', domain)
> IOError: [Errno 2] No translation file found for domain: u'mousetrap'
> 
> ======================================================================
> ERROR: test_multiple_subscribers (mousetrap.tests.test_core.test_Observable)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/«PKGBUILDDIR»/build/lib.linux-x86_64-2.7/mousetrap/tests/test_core.py", line 15, in setUp
>     self.gdk_patcher.patch_in_setup(test_case=self)
>   File "/«PKGBUILDDIR»/build/lib.linux-x86_64-2.7/mousetrap/tests/patches.py", line 21, in patch_in_setup
>     self._patch('gtk', test_case)
>   File "/«PKGBUILDDIR»/build/lib.linux-x86_64-2.7/mousetrap/tests/patches.py", line 26, in _patch
>     self.mocks[thing] = self.patchers[thing].start()
>   File "/usr/lib/python2.7/dist-packages/mock/mock.py", line 1497, in start
>     result = self.__enter__()
>   File "/usr/lib/python2.7/dist-packages/mock/mock.py", line 1353, in __enter__
>     self.target = self.getter()
>   File "/usr/lib/python2.7/dist-packages/mock/mock.py", line 1520, in <lambda>
>     getter = lambda: _importer(target)
>   File "/usr/lib/python2.7/dist-packages/mock/mock.py", line 1210, in _importer
>     thing = _dot_lookup(thing, comp, import_path)
>   File "/usr/lib/python2.7/dist-packages/mock/mock.py", line 1199, in _dot_lookup
>     __import__(import_path)
>   File "/«PKGBUILDDIR»/build/lib.linux-x86_64-2.7/mousetrap/gui.py", line 50, in <module>
>     from mousetrap.i18n import _
>   File "/«PKGBUILDDIR»/build/lib.linux-x86_64-2.7/mousetrap/i18n.py", line 16, in <module>
>     translations = gettext.translation("mousetrap", localedir=LOCALE_DIR)
>   File "/usr/lib/python2.7/gettext.py", line 472, in translation
>     raise IOError(ENOENT, 'No translation file found for domain', domain)
> IOError: [Errno 2] No translation file found for domain: u'mousetrap'
> 
> ======================================================================
> ERROR: test_observable_callback_noArguments_success (mousetrap.tests.test_core.test_Observable)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/«PKGBUILDDIR»/build/lib.linux-x86_64-2.7/mousetrap/tests/test_core.py", line 15, in setUp
>     self.gdk_patcher.patch_in_setup(test_case=self)
>   File "/«PKGBUILDDIR»/build/lib.linux-x86_64-2.7/mousetrap/tests/patches.py", line 21, in patch_in_setup
>     self._patch('gtk', test_case)
>   File "/«PKGBUILDDIR»/build/lib.linux-x86_64-2.7/mousetrap/tests/patches.py", line 26, in _patch
>     self.mocks[thing] = self.patchers[thing].start()
>   File "/usr/lib/python2.7/dist-packages/mock/mock.py", line 1497, in start
>     result = self.__enter__()
>   File "/usr/lib/python2.7/dist-packages/mock/mock.py", line 1353, in __enter__
>     self.target = self.getter()
>   File "/usr/lib/python2.7/dist-packages/mock/mock.py", line 1520, in <lambda>
>     getter = lambda: _importer(target)
>   File "/usr/lib/python2.7/dist-packages/mock/mock.py", line 1210, in _importer
>     thing = _dot_lookup(thing, comp, import_path)
>   File "/usr/lib/python2.7/dist-packages/mock/mock.py", line 1199, in _dot_lookup
>     __import__(import_path)
>   File "/«PKGBUILDDIR»/build/lib.linux-x86_64-2.7/mousetrap/gui.py", line 50, in <module>
>     from mousetrap.i18n import _
>   File "/«PKGBUILDDIR»/build/lib.linux-x86_64-2.7/mousetrap/i18n.py", line 16, in <module>
>     translations = gettext.translation("mousetrap", localedir=LOCALE_DIR)
>   File "/usr/lib/python2.7/gettext.py", line 472, in translation
>     raise IOError(ENOENT, 'No translation file found for domain', domain)
> IOError: [Errno 2] No translation file found for domain: u'mousetrap'
> 
> ======================================================================
> ERROR: test_observable_callback_withArguments_success (mousetrap.tests.test_core.test_Observable)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/«PKGBUILDDIR»/build/lib.linux-x86_64-2.7/mousetrap/tests/test_core.py", line 15, in setUp
>     self.gdk_patcher.patch_in_setup(test_case=self)
>   File "/«PKGBUILDDIR»/build/lib.linux-x86_64-2.7/mousetrap/tests/patches.py", line 21, in patch_in_setup
>     self._patch('gtk', test_case)
>   File "/«PKGBUILDDIR»/build/lib.linux-x86_64-2.7/mousetrap/tests/patches.py", line 26, in _patch
>     self.mocks[thing] = self.patchers[thing].start()
>   File "/usr/lib/python2.7/dist-packages/mock/mock.py", line 1497, in start
>     result = self.__enter__()
>   File "/usr/lib/python2.7/dist-packages/mock/mock.py", line 1353, in __enter__
>     self.target = self.getter()
>   File "/usr/lib/python2.7/dist-packages/mock/mock.py", line 1520, in <lambda>
>     getter = lambda: _importer(target)
>   File "/usr/lib/python2.7/dist-packages/mock/mock.py", line 1210, in _importer
>     thing = _dot_lookup(thing, comp, import_path)
>   File "/usr/lib/python2.7/dist-packages/mock/mock.py", line 1199, in _dot_lookup
>     __import__(import_path)
>   File "/«PKGBUILDDIR»/build/lib.linux-x86_64-2.7/mousetrap/gui.py", line 50, in <module>
>     from mousetrap.i18n import _
>   File "/«PKGBUILDDIR»/build/lib.linux-x86_64-2.7/mousetrap/i18n.py", line 16, in <module>
>     translations = gettext.translation("mousetrap", localedir=LOCALE_DIR)
>   File "/usr/lib/python2.7/gettext.py", line 472, in translation
>     raise IOError(ENOENT, 'No translation file found for domain', domain)
> IOError: [Errno 2] No translation file found for domain: u'mousetrap'
> 
> ======================================================================
> ERROR: mousetrap.tests.test_vision (unittest.loader.ModuleImportFailure)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: mousetrap.tests.test_vision
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/unittest/loader.py", line 254, in _find_tests
>     module = self._get_module_from_name(name)
>   File "/usr/lib/python2.7/unittest/loader.py", line 232, in _get_module_from_name
>     __import__(name)
>   File "/«PKGBUILDDIR»/build/lib.linux-x86_64-2.7/mousetrap/tests/test_vision.py", line 6, in <module>
>     from mousetrap.vision import Camera
>   File "/«PKGBUILDDIR»/build/lib.linux-x86_64-2.7/mousetrap/vision.py", line 11, in <module>
>     from mousetrap.i18n import _
>   File "/«PKGBUILDDIR»/build/lib.linux-x86_64-2.7/mousetrap/i18n.py", line 16, in <module>
>     translations = gettext.translation("mousetrap", localedir=LOCALE_DIR)
>   File "/usr/lib/python2.7/gettext.py", line 472, in translation
>     raise IOError(ENOENT, 'No translation file found for domain', domain)
> IOError: [Errno 2] No translation file found for domain: u'mousetrap'
> 
> 
> ----------------------------------------------------------------------
> Ran 11 tests in 0.027s
> 
> FAILED (errors=6)
> make[2]: *** [check-local] Error 1
> Makefile:670: recipe for target 'check-local' failed
> make[2]: Leaving directory '/«PKGBUILDDIR»'
> make[1]: *** [check-am] Error 2
> Makefile:451: recipe for target 'check-am' failed
> make[1]: Leaving directory '/«PKGBUILDDIR»'
> dh_auto_test: make -j1 check VERBOSE=1 returned exit code 2

The full build log is available from:
   http://people.debian.org/~lucas/logs/2016/07/07/gnome-mousetrap_3.17.3-1_unstable_reb.normal.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.


Reply to: