[Bug 233781] devel/py-freebsd: Update to 0.9.4, Fix with python 3.x support

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Feb 17 05:59:01 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233781

Kubilay Kocak <koobs at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|needs-patch                 |

--- Comment #11 from Kubilay Kocak <koobs at FreeBSD.org> ---
There are a number of test failures in various conditions:

test_getosreldate fails when run inside a poudriere jail:

======================================================================
FAIL: test_getosreldate (test_sysctl.Test_sysctl)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/wrkdirs/usr/ports/devel/py-freebsd/work-py27/py-freebsd-0.9.4/tests/test_sysctl.py",
line 19, in test_getosreldate
    getprocoutput('sysctl kern.osreldate').split()[-1])
AssertionError: '1201000' != '1300076'

----------------------------------------------------------------------

test_get_kern_cp_time fails on at least 12/13{amd64}

======================================================================
FAIL: test_get_kern_cp_time (test_sysctl.Test_sysctl)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/wrkdirs/usr/ports/devel/py-freebsd/work-py27/py-freebsd-0.9.4/tests/test_sysctl.py",
line 33, in test_get_kern_cp_time
    ctimes = self.do_cp_time_test(get_kern_cp_time, 0)
  File
"/wrkdirs/usr/ports/devel/py-freebsd/work-py27/py-freebsd-0.9.4/tests/test_sysctl.py",
line 44, in do_cp_time_test
    self.check_monot(ctimes, ctimes1)
  File
"/wrkdirs/usr/ports/devel/py-freebsd/work-py27/py-freebsd-0.9.4/tests/test_sysctl.py",
line 49, in check_monot
    self.assertTrue(ct0[i] < ct1[i])
AssertionError: False is not true

test_get_cpu_times fails intermittently in multiple test runs:

======================================================================
FAIL: test_get_cpu_times (test_sysctl.Test_sysctl)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/wrkdirs/usr/ports/devel/py-freebsd/work-py27/py-freebsd-0.9.4/tests/test_sysctl.py",
line 30, in test_get_cpu_times
    self.do_cp_time_test(get_cpu_times, 0.0)
  File
"/wrkdirs/usr/ports/devel/py-freebsd/work-py27/py-freebsd-0.9.4/tests/test_sysctl.py",
line 44, in do_cp_time_test
    self.check_monot(ctimes, ctimes1)
  File
"/wrkdirs/usr/ports/devel/py-freebsd/work-py27/py-freebsd-0.9.4/tests/test_sysctl.py",
line 49, in check_monot
    self.assertTrue(ct0[i] < ct1[i])
AssertionError: False is not true

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-python mailing list