Compiling Python-3.6.3 on Linux fails two tests: test_math and test_cmatg
running build
running build_ext
The following modules found by detect_modules() in setup.py, have been
built by the Makefile instead, as configured by the Setup files:
atexit                pwd                   time               
running build_scripts
copying and adjusting /home/richard/Python-3.6.3/Tools/scripts/pydoc3 -> 
build/scripts-3.6
copying and adjusting /home/richard/Python-3.6.3/Tools/scripts/idle3 -> 
build/scripts-3.6
copying and adjusting /home/richard/Python-3.6.3/Tools/scripts/2to3 -> 
build/scripts-3.6
copying and adjusting /home/richard/Python-3.6.3/Tools/scripts/pyvenv -> 
build/scripts-3.6
changing mode of build/scripts-3.6/pydoc3 from 644 to 755
changing mode of build/scripts-3.6/idle3 from 644 to 755
changing mode of build/scripts-3.6/2to3 from 644 to 755
changing mode of build/scripts-3.6/pyvenv from 644 to 755
renaming build/scripts-3.6/pydoc3 to build/scripts-3.6/pydoc3.6
renaming build/scripts-3.6/idle3 to build/scripts-3.6/idle3.6
renaming build/scripts-3.6/2to3 to build/scripts-3.6/2to3-3.6
renaming build/scripts-3.6/pyvenv to build/scripts-3.6/pyvenv-3.6
./python  ./Tools/scripts/run_tests.py -v test_cmath
== CPython 3.6.3 (default, Oct 16 2017, 14:42:21) [GCC 4.7.2]
== Linux-3.2.0-4-686-pae-i686-with-debian-7.11 little-endian
== cwd: /home/richard/Python-3.6.3/build/test_python_10507
== CPU count: 1
== encodings: locale=UTF-8, FS=utf-8
Using random seed 5661358
Run tests in parallel using 3 child processes
0:00:01 load avg: 0.24 [1/1/1] test_cmath failed
testAtanSign (test.test_cmath.CMathTests) ... ok
testAtanhSign (test.test_cmath.CMathTests) ... ok
testTanhSign (test.test_cmath.CMathTests) ... ok
test_abs (test.test_cmath.CMathTests) ... ok
test_abs_overflows (test.test_cmath.CMathTests) ... ok
test_cmath_matches_math (test.test_cmath.CMathTests) ... ok
test_constants (test.test_cmath.CMathTests) ... ok
test_infinity_and_nan_constants (test.test_cmath.CMathTests) ... ok
test_input_type (test.test_cmath.CMathTests) ... ok
test_isfinite (test.test_cmath.CMathTests) ... ok
test_isinf (test.test_cmath.CMathTests) ... ok
test_isnan (test.test_cmath.CMathTests) ... ok
test_phase (test.test_cmath.CMathTests) ... ok
test_polar (test.test_cmath.CMathTests) ... ok
test_polar_errno (test.test_cmath.CMathTests) ... ok
test_rect (test.test_cmath.CMathTests) ... ok
test_specific_values (test.test_cmath.CMathTests) ... FAIL
test_user_object (test.test_cmath.CMathTests) ... ok
test_asymmetry (test.test_cmath.IsCloseTests) ... ok
test_complex_near_zero (test.test_cmath.IsCloseTests) ... ok
test_complex_values (test.test_cmath.IsCloseTests) ... ok
test_decimals (test.test_cmath.IsCloseTests) ... ok
test_eight_decimal_places (test.test_cmath.IsCloseTests) ... ok
test_fractions (test.test_cmath.IsCloseTests) ... ok
test_identical (test.test_cmath.IsCloseTests) ... ok
test_identical_infinite (test.test_cmath.IsCloseTests) ... ok
test_inf_ninf_nan (test.test_cmath.IsCloseTests) ... ok
test_integers (test.test_cmath.IsCloseTests) ... ok
test_near_zero (test.test_cmath.IsCloseTests) ... ok
test_negative_tolerances (test.test_cmath.IsCloseTests) ... ok
test_reject_complex_tolerances (test.test_cmath.IsCloseTests) ... ok
test_zero_tolerance (test.test_cmath.IsCloseTests) ... ok

======================================================================
FAIL: test_specific_values (test.test_cmath.CMathTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/richard/Python-3.6.3/Lib/test/test_cmath.py", line 418, in 
test_specific_values
    msg=error_message)
  File "/home/richard/Python-3.6.3/Lib/test/test_cmath.py", line 149, in 
rAssertAlmostEqual
    '{!r} and {!r} are not sufficiently close'.format(a, b))
AssertionError: tan0064: tan(complex(1.5707963267948961, 0.0))
Expected: complex(1978937966095219.0, 0.0)
Received: complex(1978945885716843.0, 0.0)
Received value insufficiently close to expected value.

----------------------------------------------------------------------
Ran 32 tests in 0.316s

FAILED (failures=1)

1 test failed:
    test_cmath
Re-running failed tests in verbose mode
Re-running test 'test_cmath' in verbose mode
testAtanSign (test.test_cmath.CMathTests) ... ok
testAtanhSign (test.test_cmath.CMathTests) ... ok
testTanhSign (test.test_cmath.CMathTests) ... ok
test_abs (test.test_cmath.CMathTests) ... ok
test_abs_overflows (test.test_cmath.CMathTests) ... ok
test_cmath_matches_math (test.test_cmath.CMathTests) ... ok
test_constants (test.test_cmath.CMathTests) ... ok
test_infinity_and_nan_constants (test.test_cmath.CMathTests) ... ok
test_input_type (test.test_cmath.CMathTests) ... ok
test_isfinite (test.test_cmath.CMathTests) ... ok
test_isinf (test.test_cmath.CMathTests) ... ok
test_isnan (test.test_cmath.CMathTests) ... ok
test_phase (test.test_cmath.CMathTests) ... ok
test_polar (test.test_cmath.CMathTests) ... ok
test_polar_errno (test.test_cmath.CMathTests) ... ok
test_rect (test.test_cmath.CMathTests) ... ok
test_specific_values (test.test_cmath.CMathTests) ... FAIL
test_user_object (test.test_cmath.CMathTests) ... ok
test_asymmetry (test.test_cmath.IsCloseTests) ... ok
test_complex_near_zero (test.test_cmath.IsCloseTests) ... ok
test_complex_values (test.test_cmath.IsCloseTests) ... ok
test_decimals (test.test_cmath.IsCloseTests) ... ok
test_eight_decimal_places (test.test_cmath.IsCloseTests) ... ok
test_fractions (test.test_cmath.IsCloseTests) ... ok
test_identical (test.test_cmath.IsCloseTests) ... ok
test_identical_infinite (test.test_cmath.IsCloseTests) ... ok
test_inf_ninf_nan (test.test_cmath.IsCloseTests) ... ok
test_integers (test.test_cmath.IsCloseTests) ... ok
test_near_zero (test.test_cmath.IsCloseTests) ... ok
test_negative_tolerances (test.test_cmath.IsCloseTests) ... ok
test_reject_complex_tolerances (test.test_cmath.IsCloseTests) ... ok
test_zero_tolerance (test.test_cmath.IsCloseTests) ... ok

======================================================================
FAIL: test_specific_values (test.test_cmath.CMathTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/richard/Python-3.6.3/Lib/test/test_cmath.py", line 418, in 
test_specific_values
    msg=error_message)
  File "/home/richard/Python-3.6.3/Lib/test/test_cmath.py", line 149, in 
rAssertAlmostEqual
    '{!r} and {!r} are not sufficiently close'.format(a, b))
AssertionError: tan0064: tan(complex(1.5707963267948961, 0.0))
Expected: complex(1978937966095219.0, 0.0)
Received: complex(1978945885716843.0, 0.0)
Received value insufficiently close to expected value.

----------------------------------------------------------------------
Ran 32 tests in 0.326s

FAILED (failures=1)
1 test failed again:
    test_cmath

Total duration: 2 sec
Tests result: FAILURE
running build
running build_ext
The following modules found by detect_modules() in setup.py, have been
built by the Makefile instead, as configured by the Setup files:
atexit                pwd                   time               
running build_scripts
copying and adjusting /home/richard/Python-3.6.3/Tools/scripts/pydoc3 -> 
build/scripts-3.6
copying and adjusting /home/richard/Python-3.6.3/Tools/scripts/idle3 -> 
build/scripts-3.6
copying and adjusting /home/richard/Python-3.6.3/Tools/scripts/2to3 -> 
build/scripts-3.6
copying and adjusting /home/richard/Python-3.6.3/Tools/scripts/pyvenv -> 
build/scripts-3.6
changing mode of build/scripts-3.6/pydoc3 from 644 to 755
changing mode of build/scripts-3.6/idle3 from 644 to 755
changing mode of build/scripts-3.6/2to3 from 644 to 755
changing mode of build/scripts-3.6/pyvenv from 644 to 755
renaming build/scripts-3.6/pydoc3 to build/scripts-3.6/pydoc3.6
renaming build/scripts-3.6/idle3 to build/scripts-3.6/idle3.6
renaming build/scripts-3.6/2to3 to build/scripts-3.6/2to3-3.6
renaming build/scripts-3.6/pyvenv to build/scripts-3.6/pyvenv-3.6
./python  ./Tools/scripts/run_tests.py -v test_math
== CPython 3.6.3 (default, Oct 16 2017, 14:42:21) [GCC 4.7.2]
== Linux-3.2.0-4-686-pae-i686-with-debian-7.11 little-endian
== cwd: /home/richard/Python-3.6.3/build/test_python_10483
== CPU count: 1
== encodings: locale=UTF-8, FS=utf-8
Using random seed 2843454
Run tests in parallel using 3 child processes
0:00:04 load avg: 0.10 [1/1/1] test_math failed
testAcos (test.test_math.MathTests) ... ok
testAcosh (test.test_math.MathTests) ... ok
testAsin (test.test_math.MathTests) ... ok
testAsinh (test.test_math.MathTests) ... ok
testAtan (test.test_math.MathTests) ... ok
testAtan2 (test.test_math.MathTests) ... ok
testAtanh (test.test_math.MathTests) ... ok
testCeil (test.test_math.MathTests) ... ok
testConstants (test.test_math.MathTests) ... ok
testCopysign (test.test_math.MathTests) ... ok
testCos (test.test_math.MathTests) ... ok
testCosh (test.test_math.MathTests) ... ok
testDegrees (test.test_math.MathTests) ... ok
testExp (test.test_math.MathTests) ... ok
testFabs (test.test_math.MathTests) ... ok
testFactorial (test.test_math.MathTests) ... ok
testFactorialHugeInputs (test.test_math.MathTests) ... ok
testFloor (test.test_math.MathTests) ... ok
testFmod (test.test_math.MathTests) ... ok
testFrexp (test.test_math.MathTests) ... ok
testFsum (test.test_math.MathTests) ... skipped 'fsum is not exact on machines 
with double rounding'
testGcd (test.test_math.MathTests) ... ok
testHypot (test.test_math.MathTests) ... ok
testIsfinite (test.test_math.MathTests) ... ok
testIsinf (test.test_math.MathTests) ... ok
testIsnan (test.test_math.MathTests) ... ok
testLdexp (test.test_math.MathTests) ... ok
testLog (test.test_math.MathTests) ... ok
testLog10 (test.test_math.MathTests) ... ok
testLog1p (test.test_math.MathTests) ... ok
testLog2 (test.test_math.MathTests) ... ok
testLog2Exact (test.test_math.MathTests) ... ok
testModf (test.test_math.MathTests) ... ok
testPow (test.test_math.MathTests) ... ok
testRadians (test.test_math.MathTests) ... ok
testSin (test.test_math.MathTests) ... ok
testSinh (test.test_math.MathTests) ... ok
testSqrt (test.test_math.MathTests) ... ok
testTan (test.test_math.MathTests) ... ok
testTanh (test.test_math.MathTests) ... ok
testTanhSign (test.test_math.MathTests) ... ok
test_exceptions (test.test_math.MathTests) ... ok
test_inf_constant (test.test_math.MathTests) ... ok
test_mtestfile (test.test_math.MathTests) ... ok
test_nan_constant (test.test_math.MathTests) ... ok
test_testfile (test.test_math.MathTests) ... FAIL
test_trunc (test.test_math.MathTests) ... ok
test_asymmetry (test.test_math.IsCloseTests) ... ok
test_decimals (test.test_math.IsCloseTests) ... ok
test_eight_decimal_places (test.test_math.IsCloseTests) ... ok
test_fractions (test.test_math.IsCloseTests) ... ok
test_identical (test.test_math.IsCloseTests) ... ok
test_identical_infinite (test.test_math.IsCloseTests) ... ok
test_inf_ninf_nan (test.test_math.IsCloseTests) ... ok
test_integers (test.test_math.IsCloseTests) ... ok
test_near_zero (test.test_math.IsCloseTests) ... ok
test_negative_tolerances (test.test_math.IsCloseTests) ... ok
test_zero_tolerance (test.test_math.IsCloseTests) ... ok
/home/richard/Python-3.6.3/Lib/test/ieee754.txt
Doctest: ieee754.txt ... ok

======================================================================
FAIL: test_testfile (test.test_math.MathTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/richard/Python-3.6.3/Lib/test/test_math.py", line 1220, in 
test_testfile
    '\n  '.join(failures))
AssertionError: Failures in test_testfile:
  tan0064: tan(1.5707963267948961): expected 1978937966095219.0, got 
1978945885716843.0 (error = 7.92e+09 (31678486496 ulps); permitted error = 0 or 
5 ulps)

----------------------------------------------------------------------
Ran 59 tests in 3.161s

FAILED (failures=1, skipped=1)

1 test failed:
    test_math
Re-running failed tests in verbose mode
Re-running test 'test_math' in verbose mode
testAcos (test.test_math.MathTests) ... ok
testAcosh (test.test_math.MathTests) ... ok
testAsin (test.test_math.MathTests) ... ok
testAsinh (test.test_math.MathTests) ... ok
testAtan (test.test_math.MathTests) ... ok
testAtan2 (test.test_math.MathTests) ... ok
testAtanh (test.test_math.MathTests) ... ok
testCeil (test.test_math.MathTests) ... ok
testConstants (test.test_math.MathTests) ... ok
testCopysign (test.test_math.MathTests) ... ok
testCos (test.test_math.MathTests) ... ok
testCosh (test.test_math.MathTests) ... ok
testDegrees (test.test_math.MathTests) ... ok
testExp (test.test_math.MathTests) ... ok
testFabs (test.test_math.MathTests) ... ok
testFactorial (test.test_math.MathTests) ... ok
testFactorialHugeInputs (test.test_math.MathTests) ... ok
testFloor (test.test_math.MathTests) ... ok
testFmod (test.test_math.MathTests) ... ok
testFrexp (test.test_math.MathTests) ... ok
testFsum (test.test_math.MathTests) ... skipped 'fsum is not exact on machines 
with double rounding'
testGcd (test.test_math.MathTests) ... ok
testHypot (test.test_math.MathTests) ... ok
testIsfinite (test.test_math.MathTests) ... ok
testIsinf (test.test_math.MathTests) ... ok
testIsnan (test.test_math.MathTests) ... ok
testLdexp (test.test_math.MathTests) ... ok
testLog (test.test_math.MathTests) ... ok
testLog10 (test.test_math.MathTests) ... ok
testLog1p (test.test_math.MathTests) ... ok
testLog2 (test.test_math.MathTests) ... ok
testLog2Exact (test.test_math.MathTests) ... ok
testModf (test.test_math.MathTests) ... ok
testPow (test.test_math.MathTests) ... ok
testRadians (test.test_math.MathTests) ... ok
testSin (test.test_math.MathTests) ... ok
testSinh (test.test_math.MathTests) ... ok
testSqrt (test.test_math.MathTests) ... ok
testTan (test.test_math.MathTests) ... ok
testTanh (test.test_math.MathTests) ... ok
testTanhSign (test.test_math.MathTests) ... ok
test_exceptions (test.test_math.MathTests) ... ok
test_inf_constant (test.test_math.MathTests) ... ok
test_mtestfile (test.test_math.MathTests) ... ok
test_nan_constant (test.test_math.MathTests) ... ok
test_testfile (test.test_math.MathTests) ... FAIL
test_trunc (test.test_math.MathTests) ... ok
test_asymmetry (test.test_math.IsCloseTests) ... ok
test_decimals (test.test_math.IsCloseTests) ... ok
test_eight_decimal_places (test.test_math.IsCloseTests) ... ok
test_fractions (test.test_math.IsCloseTests) ... ok
test_identical (test.test_math.IsCloseTests) ... ok
test_identical_infinite (test.test_math.IsCloseTests) ... ok
test_inf_ninf_nan (test.test_math.IsCloseTests) ... ok
test_integers (test.test_math.IsCloseTests) ... ok
test_near_zero (test.test_math.IsCloseTests) ... ok
test_negative_tolerances (test.test_math.IsCloseTests) ... ok
test_zero_tolerance (test.test_math.IsCloseTests) ... ok
/home/richard/Python-3.6.3/Lib/test/ieee754.txt
Doctest: ieee754.txt ... ok

======================================================================
FAIL: test_testfile (test.test_math.MathTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/richard/Python-3.6.3/Lib/test/test_math.py", line 1220, in 
test_testfile
    '\n  '.join(failures))
AssertionError: Failures in test_testfile:
  tan0064: tan(1.5707963267948961): expected 1978937966095219.0, got 
1978945885716843.0 (error = 7.92e+09 (31678486496 ulps); permitted error = 0 or 
5 ulps)

----------------------------------------------------------------------
Ran 59 tests in 3.183s

FAILED (failures=1, skipped=1)
1 test failed again:
    test_math

Total duration: 7 sec
Tests result: FAILURE
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to