[Python-modules-team] Bug#835694: python-protobuf.socketrpc: FTBFS: dh_auto_test: pybuild --test -i python{version} -p 2.7 returned exit code 13
Lucas Nussbaum
lucas at debian.org
Sun Aug 28 10:21:55 UTC 2016
Source: python-protobuf.socketrpc
Version: 1.3.2-3
Severity: serious
Tags: stretch sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20160828 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):
> debian/rules build
> dh build --with python2 --buildsystem=pybuild
> dh_testdir -O--buildsystem=pybuild
> dh_update_autotools_config -O--buildsystem=pybuild
> dh_auto_configure -O--buildsystem=pybuild
> I: pybuild base:184: python2.7 setup.py config
> running config
> dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:184: /usr/bin/python setup.py build
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/protobuf
> copying src/protobuf/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/protobuf
> creating /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/protobuf/socketrpc
> copying src/protobuf/socketrpc/rpc_pb2.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/protobuf/socketrpc
> copying src/protobuf/socketrpc/controller.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/protobuf/socketrpc
> copying src/protobuf/socketrpc/error.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/protobuf/socketrpc
> copying src/protobuf/socketrpc/channel.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/protobuf/socketrpc
> copying src/protobuf/socketrpc/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/protobuf/socketrpc
> copying src/protobuf/socketrpc/server.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/protobuf/socketrpc
> copying src/protobuf/socketrpc/service.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/protobuf/socketrpc
> copying src/protobuf/socketrpc/logger.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/protobuf/socketrpc
> dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:184: python2.7 setup.py test
> running test
> running egg_info
> creating src/protobuf.socketrpc.egg-info
> writing src/protobuf.socketrpc.egg-info/PKG-INFO
> writing top-level names to src/protobuf.socketrpc.egg-info/top_level.txt
> writing dependency_links to src/protobuf.socketrpc.egg-info/dependency_links.txt
> writing manifest file 'src/protobuf.socketrpc.egg-info/SOURCES.txt'
> reading manifest file 'src/protobuf.socketrpc.egg-info/SOURCES.txt'
> writing manifest file 'src/protobuf.socketrpc.egg-info/SOURCES.txt'
> running build_ext
> Traceback (most recent call last):
> File "setup.py", line 53, in <module>
> test_suite='protobuf.socketrpc.tests',
> File "/usr/lib/python2.7/distutils/core.py", line 151, in setup
> dist.run_commands()
> File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
> self.run_command(cmd)
> File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
> cmd_obj.run()
> File "/usr/lib/python2.7/dist-packages/setuptools/command/test.py", line 172, in run
> self.run_tests()
> File "/usr/lib/python2.7/dist-packages/setuptools/command/test.py", line 193, in run_tests
> testRunner=self._resolve_as_ep(self.test_runner),
> File "/usr/lib/python2.7/unittest/main.py", line 94, in __init__
> self.parseArgs(argv)
> File "/usr/lib/python2.7/unittest/main.py", line 149, in parseArgs
> self.createTests()
> File "/usr/lib/python2.7/unittest/main.py", line 158, in createTests
> self.module)
> File "/usr/lib/python2.7/unittest/loader.py", line 130, in loadTestsFromNames
> suites = [self.loadTestsFromName(name, module) for name in names]
> File "/usr/lib/python2.7/unittest/loader.py", line 103, in loadTestsFromName
> return self.loadTestsFromModule(obj)
> File "/usr/lib/python2.7/dist-packages/setuptools/command/test.py", line 40, in loadTestsFromModule
> tests.append(self.loadTestsFromName(submodule))
> File "/usr/lib/python2.7/unittest/loader.py", line 91, in loadTestsFromName
> module = __import__('.'.join(parts_copy))
> File "/<<PKGBUILDDIR>>/src/protobuf/socketrpc/tests/service_test.py", line 45, in <module>
> import fake
> File "/<<PKGBUILDDIR>>/src/protobuf/socketrpc/tests/fake.py", line 39, in <module>
> import test_pb2
> File "/<<PKGBUILDDIR>>/src/protobuf/socketrpc/tests/test_pb2.py", line 15, in <module>
> serialized_pb='\n\ntest.proto\x12\x12protobuf.socketrpc\"\x1b\n\x07Request\x12\x10\n\x08str_data\x18\x01 \x02(\t\".\n\x08Response\x12\x10\n\x08str_data\x18\x01 \x02(\t\x12\x10\n\x08int_data\x18\x02 \x01(\x05\x32V\n\x0bTestService\x12G\n\nTestMethod\x12\x1b.protobuf.socketrpc.Request\x1a\x1c.protobuf.socketrpc.Response')
> File "/usr/lib/python2.7/dist-packages/google/protobuf/descriptor.py", line 827, in __new__
> return _message.default_pool.AddSerializedFile(serialized_pb)
> TypeError: Couldn't build proto file into descriptor pool!
> Invalid proto descriptor for file "test.proto":
> protobuf.socketrpc.Request: "protobuf.socketrpc.Request" is already defined in file "rpc.proto".
> protobuf.socketrpc.Response: "protobuf.socketrpc.Response" is already defined in file "rpc.proto".
> protobuf.socketrpc.TestService.TestMethod: "protobuf.socketrpc.Request" seems to be defined in "rpc.proto", which is not imported by "test.proto". To use it here, please add the necessary import.
> protobuf.socketrpc.TestService.TestMethod: "protobuf.socketrpc.Response" seems to be defined in "rpc.proto", which is not imported by "test.proto". To use it here, please add the necessary import.
>
> E: pybuild pybuild:276: test: plugin distutils failed with: exit code=1: python2.7 setup.py test
> dh_auto_test: pybuild --test -i python{version} -p 2.7 returned exit code 13
The full build log is available from:
http://people.debian.org/~lucas/logs/2016/08/28/python-protobuf.socketrpc_1.3.2-3_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 Python-modules-team
mailing list