[Bug 1128108] New: python-coloredlogs build failed(testsuite fail) on Leap 15.1
http://bugzilla.suse.com/show_bug.cgi?id=1128108 Bug ID: 1128108 Summary: python-coloredlogs build failed(testsuite fail) on Leap 15.1 Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.1 Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Other Assignee: bnc-team-screening@forge.provo.novell.com Reporter: mlin@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- See https://build.opensuse.org/package/live_build_log/openSUSE:Leap:15.1/python-... [ 109s] =================================== FAILURES =================================== [ 109s] __________________ ColoredLogsTestCase.test_host_name_filter ___________________ [ 109s] [ 109s] self = <coloredlogs.tests.ColoredLogsTestCase testMethod=test_host_name_filter> [ 109s] test_method = <bound method ColoredLogsTestCase.test_host_name_filter of <coloredlogs.tests.ColoredLogsTestCase testMethod=test_host_name_filter>> [ 109s] args = (), kw = {} [ 109s] e = AssertionError(u"assert 'cloud114' in ''\n + where 'cloud114' = find_hostname()",) [ 109s] [ 109s] def skipTestWrapper(self, test_method, *args, **kw): [ 109s] """ [ 109s] Wrap test methods to translate exceptions into skipped tests. [ 109s] [ 109s] :param test_method: The test method to wrap. [ 109s] :param args: The positional arguments to the test method. [ 109s] :param kw: The keyword arguments to the test method. [ 109s] :returns: The return value of the test method. [ 109s] [ 109s] When a :class:`TestCase` object is initialized, :func:`__init__()` [ 109s] wraps all of the ``test_*`` methods with :func:`skipTestWrapper()`. [ 109s] [ 109s] When a test method raises an exception, :func:`skipTestWrapper()` will [ 109s] catch the exception and call :func:`shouldSkipTest()` to decide whether [ 109s] to translate the exception into a skipped test. [ 109s] [ 109s] When :func:`shouldSkipTest()` returns :data:`True` the exception is [ 109s] swallowed and :exc:`unittest.SkipTest` is raised instead of the [ 109s] original exception. [ 109s] """ [ 109s] try: [ 109s] > return test_method(*args, **kw) [ 109s] [ 109s] /usr/lib/python2.7/site-packages/humanfriendly/testing.py:678: [ 109s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 109s] [ 109s] self = <coloredlogs.tests.ColoredLogsTestCase testMethod=test_host_name_filter> [ 109s] [ 109s] def test_host_name_filter(self): [ 109s] """Make sure :func:`install()` integrates with :class:`~coloredlogs.HostNameFilter()`.""" [ 109s] install(fmt='%(hostname)s') [ 109s] with CaptureOutput() as capturer: [ 109s] logging.info("A truly insignificant message ..") [ 109s] output = capturer.get_text() [ 109s] > assert find_hostname() in output [ 109s] E AssertionError: assert 'cloud114' in '' [ 109s] E + where 'cloud114' = find_hostname() [ 109s] [ 109s] coloredlogs/tests.py:152: AssertionError [ 109s] ----------------------------- Captured stderr call ----------------------------- [ 109s] [ 109s] ------------------------------ Captured log call ------------------------------- [ 109s] tests.py 150 INFO A truly insignificant message .. [ 109s] ========= 1 failed, 24 passed, 3 skipped, 2 deselected in 1.32 seconds ========= [ 109s] error: Bad exit status from /var/tmp/rpm-tmp.VEv2Uj (%check) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1128108 Jiachen Zhang <jiachen.zhang@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|bnc-team-screening@forge.pr |tchvatal@suse.com |ovo.novell.com | -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com