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

Bug#907687: buildbot: FTBFS (buildbot_worker.test.unit.test_runprocess.TestRunProcess.testPipeString fails)



Package: src:buildbot
Version: 1.2.0-1
Severity: serious
Tags: ftbfs

Dear maintainer:

I tried to build this package in buster but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
dh build-indep --with python3,bash-completion,sphinxdoc
   dh_update_autotools_config -i
   dh_autoreconf -i
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_configure --buildsystem=pybuild --sourcedirectory=master \
	--package=python3-buildbot -- --name=buildbot
	pybuild --configure -i python{version} -p 3.6 --name=buildbot --dir master
I: pybuild base:217: python3.6 setup.py config 
running config
/usr/lib/python3/dist-packages/setuptools/dist.py:398: UserWarning: Normalizing '1.2.0-1' to '1.2.0.post1'
  normalized_version,
dh_auto_configure --buildsystem=pybuild --sourcedirectory=worker \

[... snipped ...]

===============================================================================
[SKIPPED]
Flaky test (https://github.com/buildbot/buildbot/issues/3936) - set $RUN_FLAKY_TESTS to run anyway

buildbot.test.unit.test_worker_ec2.TestEC2LatentWorker.test_get_image_owners
===============================================================================
[SKIPPED]
ViewBuildsEndpointMatcher is not implemented yet

buildbot.test.unit.test_www_endpointmatchers.ViewBuildsEndpointMatcherBranch.test_build
===============================================================================
[SKIPPED]
not a win32 platform

buildbot_worker.test.unit.test_runprocess.TestRunProcess.testPipeString
===============================================================================
[ERROR]
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/debian/python3-buildbot/usr/lib/python3.6/dist-packages/buildbot/process/properties.py", line 459, in getRenderingFor
    rv = yield build.render(value[index])
  File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 1418, in _inlineCallbacks
    result = g.send(result)
  File "/<<PKGBUILDDIR>>/debian/python3-buildbot/usr/lib/python3.6/dist-packages/buildbot/process/properties.py", line 495, in getRenderingFor
    raise KeyError(error_message)
builtins.KeyError: "secrets service not started, need to configure SecretManager in c['services'] to use 'secrets'in Interpolate"

buildbot.test.unit.test_master.StartupAndReconfig.test_reconfig
-------------------------------------------------------------------------------
Ran 5510 tests in 59.016s

FAILED (skips=303, errors=1, successes=5206)
Exception ignored in: <generator object run at 0x7f09140ab308>
RuntimeError: generator ignored GeneratorExit
Exception ignored in: <generator object run at 0x7f09140ab0a0>
RuntimeError: generator ignored GeneratorExit
Exception ignored in: <generator object run at 0x7f0917a48570>
RuntimeError: generator ignored GeneratorExit
Exception ignored in: <_io.FileIO name='/dev/null' mode='rb' closefd=True>
ResourceWarning: unclosed file <_io.TextIOWrapper name='/dev/null' mode='r' encoding='UTF-8'>
E: pybuild pybuild:338: test: plugin custom failed with: exit code=1: PYTHONPATH=/<<PKGBUILDDIR>>/pkg:/<<PKGBUILDDIR>>/debian/python3-buildbot//usr/lib/python3.6/dist-packages:/<<PKGBUILDDIR>>/debian/python3-buildbot-worker//usr/lib/python3.6/dist-packages LC_ALL=C.UTF-8 trial3 --reporter=text buildbot.test buildbot_worker.test
dh_auto_test: pybuild --test -i python{version} -p 3.6 --system=custom "--test-args=PYTHONPATH=/<<PKGBUILDDIR>>/pkg:/<<PKGBUILDDIR>>/debian/python3-buildbot/{install_dir}:/<<PKGBUILDDIR>>/debian/python3-buildbot-worker/{install_dir} LC_ALL=C.UTF-8 trial3 --reporter=text buildbot.test buildbot_worker.test" returned exit code 13
make[1]: *** [debian/rules:31: override_dh_auto_install] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:55: binary-indep] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary-indep subprocess returned exit status 2
--------------------------------------------------------------------------------

The build was made in my autobuilder with "dpkg-buildpackage -A"
but it also fails here:

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/buildbot.html

where you can get a full build log if you need it.

If this is really a bug in one of the build-depends, please use reassign and affects,
so that this is still visible in the BTS web page for this package.

Thanks.


Reply to: