[Python-modules-team] Bug#795391: fedmsg: FTBFS: tests failures

Dmitry Shachnev mitya57 at debian.org
Thu Aug 13 15:52:08 UTC 2015


Source: fedmsg
Version: 0.9.3-1
Severity: serious
Justification: fails to build from source

The new dh-python automatically runs tests with nose if python-nose
is present in build-dependencies.

Unfortunately some of the tests fail during fedmsg build, like:

  ======================================================================
  ERROR: test_config_basic (fedmsg.tests.test_commands.TestCommands)
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/usr/lib/python2.7/dist-packages/mock/mock.py", line 1305, in patched
      return func(*args, **keywargs)
    File "/tmp/buildd/fedmsg-0.9.3/.pybuild/pythonX.Y_2.7/build/fedmsg/tests/test_commands.py", line 195, in test_config_basic
      config_command()
    File "/tmp/buildd/fedmsg-0.9.3/.pybuild/pythonX.Y_2.7/build/fedmsg/commands/config.py", line 90, in config
      disable_defaults=args.disable_defaults,
    File "/tmp/buildd/fedmsg-0.9.3/.pybuild/pythonX.Y_2.7/build/fedmsg/config.py", line 160, in load_config
      raise ValueError("No config value 'endpoints' found.")
  ValueError: No config value 'endpoints' found.

The full build log can be found at:
http://mitya57.me/builds/fedmsg_0.9.3-1_amd64.build

--
Dmitry Shachnev



More information about the Python-modules-team mailing list