After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 777989 - GES tests fail on Debian because nose2 is the Python 2 version
GES tests fail on Debian because nose2 is the Python 2 version
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-build
git master
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2017-01-31 15:23 UTC by Sebastian Dröge (slomo)
Modified: 2018-11-03 11:04 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sebastian Dröge (slomo) 2017-01-31 15:23:32 UTC
nose2-3 would have to be used instead.

LD_LIBRARY_PATH='/home/slomo/Projects/gstreamer/gst-build/build/subprojects/gst-editing-services/tests/check/../../ges/' GI_TYPELIB_PATH='/home/slomo/Projects/gstreamer/gst-build/build/subprojects/gst-editing-services/tests/check/../../ges/' /usr/bin/nose2 --start-dir /home/slomo/Projects/gstreamer/gst-build/subprojects/gst-editing-services/tests/check --plugin nose2.plugins.junitxml --config /home/slomo/Projects/gstreamer/gst-build/build/subprojects/gst-editing-services/tests/check/Test_groups.cfg python.test_group
--- stderr ---
Traceback (most recent call last):
  • File "/usr/bin/nose2", line 11 in <module>
    load_entry_point('nose2==0.6.5', 'console_scripts', 'nose2')()
  • File "/usr/lib/python2.7/dist-packages/nose2/main.py", line 306 in discover
    return main(*args, **kwargs)
  • File "/usr/lib/python2.7/dist-packages/nose2/main.py", line 100 in __init__
    super(PluggableTestProgram, self).__init__(**kw)
  • File "/usr/lib/python2.7/unittest/main.py", line 94 in __init__
    self.parseArgs(argv)
  • File "/usr/lib/python2.7/dist-packages/nose2/main.py", line 133 in parseArgs
    self.createTests()
  • File "/usr/lib/python2.7/dist-packages/nose2/main.py", line 258 in createTests
    self.testNames, self.module)
  • File "/usr/lib/python2.7/dist-packages/nose2/loader.py", line 69 in loadTestsFromNames
    for name in event.names]
  • File "/usr/lib/python2.7/dist-packages/nose2/loader.py", line 84 in loadTestsFromName
    result = self.session.hooks.loadTestsFromName(event)
  • File "/usr/lib/python2.7/dist-packages/nose2/events.py", line 224 in __call__
    result = getattr(plugin, self.method)(event)
  • File "/usr/lib/python2.7/dist-packages/nose2/plugins/loader/testclasses.py", line 119 in loadTestsFromName
    result = util.test_from_name(name, module)
  • File "/usr/lib/python2.7/dist-packages/nose2/util.py", line 106 in test_from_name
    parent, obj = object_from_name(name, module)
  • File "/usr/lib/python2.7/dist-packages/nose2/util.py", line 117 in object_from_name
    module = __import__('.'.join(parts_copy))
  • File "/home/slomo/Projects/gstreamer/gst-build/subprojects/gst-editing-services/tests/check/python/test_group.py", line 182
    nonlocal loaded_called
SyntaxError: invalid syntax

Comment 1 GStreamer system administrator 2018-11-03 11:04:40 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-build/issues/3.