Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 717266 - dev-lang/python-3.7.7-r1 - fails 23 ctypes tests on ppc
Summary: dev-lang/python-3.7.7-r1 - fails 23 ctypes tests on ppc
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2020-04-12 23:33 UTC by ernsteiswuerfel
Modified: 2021-04-14 17:26 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (ppc) (python-3.7.7-r1:20200412-231528.log,287.29 KB, text/plain)
2020-04-12 23:33 UTC, ernsteiswuerfel
Details
emerge --info (file_717266.txt,5.84 KB, text/plain)
2020-04-12 23:34 UTC, ernsteiswuerfel
Details
build.log (3.9.0_alpha5, ppc) (python-3.9.0_alpha5:20200413-145440.log,326.85 KB, text/plain)
2020-04-13 15:07 UTC, ernsteiswuerfel
Details
build.log.xz (3.9.2_p1, ppc) (python-3.9.2_p1:20210414-165114.log.xz,50.34 KB, text/plain)
2021-04-14 17:26 UTC, ernsteiswuerfel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ernsteiswuerfel archtester 2020-04-12 23:33:26 UTC
Created attachment 632578 [details]
build.log (ppc)

[...]
======================================================================
FAIL: test_longlong_callbacks (ctypes.test.test_as_parameter.AsParamPropertyWrapperTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-lang/python-3.7.7-r1/work/Python-3.7.7/Lib/ctypes/test/test_as_parameter.py", line 140, in test_longlong_callbacks
    self.assertEqual(13577625587, int(f(self.wrap(1000000000000), self.wrap(cb))))
AssertionError: 13577625587 != 17018176344

======================================================================
FAIL: test_longlong_callbacks (ctypes.test.test_as_parameter.AsParamWrapperTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-lang/python-3.7.7-r1/work/Python-3.7.7/Lib/ctypes/test/test_as_parameter.py", line 140, in test_longlong_callbacks
    self.assertEqual(13577625587, int(f(self.wrap(1000000000000), self.wrap(cb))))
AssertionError: 13577625587 != 17018176344

======================================================================
FAIL: test_longlong_callbacks (ctypes.test.test_as_parameter.BasicWrapTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-lang/python-3.7.7-r1/work/Python-3.7.7/Lib/ctypes/test/test_as_parameter.py", line 140, in test_longlong_callbacks
    self.assertEqual(13577625587, int(f(self.wrap(1000000000000), self.wrap(cb))))
AssertionError: 13577625587 != 17018176344

======================================================================
FAIL: test_double (ctypes.test.test_callbacks.Callbacks)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-lang/python-3.7.7-r1/work/Python-3.7.7/Lib/ctypes/test/test_callbacks.py", line 79, in test_double
    self.check_type(c_double, 3.14)
  File "/var/tmp/portage/dev-lang/python-3.7.7-r1/work/Python-3.7.7/Lib/ctypes/test/test_callbacks.py", line 25, in check_type
    self.assertEqual(result, arg)
AssertionError: 49.920012278837646 != 3.14

======================================================================
FAIL: test_longdouble (ctypes.test.test_callbacks.Callbacks)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-lang/python-3.7.7-r1/work/Python-3.7.7/Lib/ctypes/test/test_callbacks.py", line 83, in test_longdouble
    self.check_type(c_longdouble, 3.14)
  File "/var/tmp/portage/dev-lang/python-3.7.7-r1/work/Python-3.7.7/Lib/ctypes/test/test_callbacks.py", line 25, in check_type
    self.assertEqual(result, arg)
AssertionError: 49.920012278837646 != 3.14

======================================================================
FAIL: test_longlong (ctypes.test.test_callbacks.Callbacks)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-lang/python-3.7.7-r1/work/Python-3.7.7/Lib/ctypes/test/test_callbacks.py", line 66, in test_longlong
    self.check_type(c_longlong, 42)
  File "/var/tmp/portage/dev-lang/python-3.7.7-r1/work/Python-3.7.7/Lib/ctypes/test/test_callbacks.py", line 25, in check_type
    self.assertEqual(result, arg)
AssertionError: 4133274456 != 42

======================================================================
FAIL: test_ulonglong (ctypes.test.test_callbacks.Callbacks)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-lang/python-3.7.7-r1/work/Python-3.7.7/Lib/ctypes/test/test_callbacks.py", line 70, in test_ulonglong
    self.check_type(c_ulonglong, 42)
  File "/var/tmp/portage/dev-lang/python-3.7.7-r1/work/Python-3.7.7/Lib/ctypes/test/test_callbacks.py", line 25, in check_type
    self.assertEqual(result, arg)
AssertionError: 4133274456 != 42

======================================================================
FAIL: test_callback_register_double (ctypes.test.test_callbacks.SampleCallbacksTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-lang/python-3.7.7-r1/work/Python-3.7.7/Lib/ctypes/test/test_callbacks.py", line 242, in test_callback_register_double
    callback(1.1*1.1, 2.2*2.2, 3.3*3.3, 4.4*4.4, 5.5*5.5))
AssertionError: 2899962678168.418 != 66.55

======================================================================
FAIL: test_integrate (ctypes.test.test_callbacks.SampleCallbacksTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-lang/python-3.7.7-r1/work/Python-3.7.7/Lib/ctypes/test/test_callbacks.py", line 177, in test_integrate
    self.assertLess(diff, 0.01, "%s not less than 0.01" % diff)
AssertionError: 0.33333255132024725 not less than 0.01 : 0.33333255132024725 not less than 0.01

======================================================================
FAIL: test_double (ctypes.test.test_cfuncs.CFunctions)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-lang/python-3.7.7-r1/work/Python-3.7.7/Lib/ctypes/test/test_cfuncs.py", line 153, in test_double
    self.assertEqual(self._dll.tf_d(42.), 14.)
AssertionError: 8388615.698823616 != 14.0

======================================================================
FAIL: test_double_plus (ctypes.test.test_cfuncs.CFunctions)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-lang/python-3.7.7-r1/work/Python-3.7.7/Lib/ctypes/test/test_cfuncs.py", line 159, in test_double_plus
    self.assertEqual(self._dll.tf_bd(0, 42.), 14.)
AssertionError: 8388615.698823616 != 14.0

======================================================================
FAIL: test_longdouble (ctypes.test.test_cfuncs.CFunctions)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-lang/python-3.7.7-r1/work/Python-3.7.7/Lib/ctypes/test/test_cfuncs.py", line 165, in test_longdouble
    self.assertEqual(self._dll.tf_D(42.), 14.)
AssertionError: 8388615.698823616 != 14.0

======================================================================
FAIL: test_longdouble_plus (ctypes.test.test_cfuncs.CFunctions)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-lang/python-3.7.7-r1/work/Python-3.7.7/Lib/ctypes/test/test_cfuncs.py", line 171, in test_longdouble_plus
    self.assertEqual(self._dll.tf_bD(0, 42.), 14.)
AssertionError: 8388615.698823616 != 14.0

======================================================================
FAIL: test_longlong (ctypes.test.test_cfuncs.CFunctions)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-lang/python-3.7.7-r1/work/Python-3.7.7/Lib/ctypes/test/test_cfuncs.py", line 117, in test_longlong
    self.assertEqual(self._dll.tf_q(-9223372036854775806), -3074457345618258602)
AssertionError: -3074457342916639912 != -3074457345618258602

======================================================================
FAIL: test_longlong_plus (ctypes.test.test_cfuncs.CFunctions)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-lang/python-3.7.7-r1/work/Python-3.7.7/Lib/ctypes/test/test_cfuncs.py", line 123, in test_longlong_plus
    self.assertEqual(self._dll.tf_bq(0, -9223372036854775806), -3074457345618258602)
AssertionError: -3074457342916639912 != -3074457345618258602

======================================================================
FAIL: test_ulonglong (ctypes.test.test_cfuncs.CFunctions)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-lang/python-3.7.7-r1/work/Python-3.7.7/Lib/ctypes/test/test_cfuncs.py", line 129, in test_ulonglong
    self.assertEqual(self._dll.tf_Q(18446744073709551615), 6148914691236517205)
AssertionError: 6148914693938135896 != 6148914691236517205

======================================================================
FAIL: test_ulonglong_plus (ctypes.test.test_cfuncs.CFunctions)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-lang/python-3.7.7-r1/work/Python-3.7.7/Lib/ctypes/test/test_cfuncs.py", line 135, in test_ulonglong_plus
    self.assertEqual(self._dll.tf_bQ(0, 18446744073709551615), 6148914691236517205)
AssertionError: 6148914693938135896 != 6148914691236517205

======================================================================
FAIL: test_doubleresult (ctypes.test.test_functions.FunctionTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-lang/python-3.7.7-r1/work/Python-3.7.7/Lib/ctypes/test/test_functions.py", line 134, in test_doubleresult
    self.assertEqual(result, 21)
AssertionError: 201326715.18117785 != 21

======================================================================
FAIL: test_longdoubleresult (ctypes.test.test_functions.FunctionTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-lang/python-3.7.7-r1/work/Python-3.7.7/Lib/ctypes/test/test_functions.py", line 146, in test_longdoubleresult
    self.assertEqual(result, 21)
AssertionError: 201326715.18117785 != 21

======================================================================
FAIL: test_longlong_callbacks (ctypes.test.test_functions.FunctionTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-lang/python-3.7.7-r1/work/Python-3.7.7/Lib/ctypes/test/test_functions.py", line 307, in test_longlong_callbacks
    self.assertEqual(13577625587, f(1000000000000, cb))
AssertionError: 13577625587 != 17018176344

======================================================================
FAIL: test_longlongresult (ctypes.test.test_functions.FunctionTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-lang/python-3.7.7-r1/work/Python-3.7.7/Lib/ctypes/test/test_functions.py", line 159, in test_longlongresult
    self.assertEqual(result, 21)
AssertionError: 4133274456 != 21

======================================================================
FAIL: test_sqrt (ctypes.test.test_libc.LibTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-lang/python-3.7.7-r1/work/Python-3.7.7/Lib/ctypes/test/test_libc.py", line 16, in test_sqrt
    self.assertEqual(lib.my_sqrt(4.0), 2.0)
AssertionError: 2.0000018355425873 != 2.0

======================================================================
FAIL: test_array_in_struct (ctypes.test.test_structures.StructureTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-lang/python-3.7.7-r1/work/Python-3.7.7/Lib/ctypes/test/test_structures.py", line 490, in test_array_in_struct
    self.assertEqual(result, expected)
AssertionError: 7044.058446691219 != 5.85987

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

Ran 481 tests in 1.007s

FAILED (failures=23, skipped=89)
test test_ctypes failed
1 test failed again:
    test_ctypes

== Tests result: FAILURE then FAILURE ==

390 tests OK.

1 test failed:
    test_ctypes

24 tests skipped:
    test_curses test_devpoll test_idle test_kqueue test_msilib
    test_nis test_ossaudiodev test_smtpnet test_socketserver
    test_startfile test_tcl test_timeout test_tix test_tk
    test_ttk_guionly test_ttk_textonly test_turtle test_urllib2net
    test_urllibnet test_winconsoleio test_winreg test_winsound
    test_xmlrpc_net test_zipfile64

1 re-run test:
    test_ctypes

Total duration: 3 min 10 sec
Tests result: FAILURE then FAILURE
make: *** [Makefile:1084: test] Error 2
 * ERROR: dev-lang/python-3.7.7-r1::gentoo failed (test phase):
 *   emake failed
Comment 1 ernsteiswuerfel archtester 2020-04-12 23:34:16 UTC
Created attachment 632580 [details]
emerge --info
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-04-13 06:29:39 UTC
For completeness, would you be able to test 3.9.0_alpha*?
Comment 3 ernsteiswuerfel archtester 2020-04-13 15:07:59 UTC
Created attachment 632662 [details]
build.log (3.9.0_alpha5, ppc)

[...]
======================================================================
FAIL: test_longlong_callbacks (ctypes.test.test_as_parameter.AsParamPropertyWrapperTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-lang/python-3.9.0_alpha5/work/Python-3.9.0a5/Lib/ctypes/test/test_as_parameter.py", line 140, in test_longlong_callbacks
    self.assertEqual(13577625587, int(f(self.wrap(1000000000000), self.wrap(cb))))
AssertionError: 13577625587 != 17025765428

======================================================================
FAIL: test_longlong_callbacks (ctypes.test.test_as_parameter.AsParamWrapperTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-lang/python-3.9.0_alpha5/work/Python-3.9.0a5/Lib/ctypes/test/test_as_parameter.py", line 140, in test_longlong_callbacks
    self.assertEqual(13577625587, int(f(self.wrap(1000000000000), self.wrap(cb))))
AssertionError: 13577625587 != 17025765428

======================================================================
FAIL: test_longlong_callbacks (ctypes.test.test_as_parameter.BasicWrapTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-lang/python-3.9.0_alpha5/work/Python-3.9.0a5/Lib/ctypes/test/test_as_parameter.py", line 140, in test_longlong_callbacks
    self.assertEqual(13577625587, int(f(self.wrap(1000000000000), self.wrap(cb))))
AssertionError: 13577625587 != 17025765428

======================================================================
FAIL: test_double (ctypes.test.test_callbacks.Callbacks)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-lang/python-3.9.0_alpha5/work/Python-3.9.0a5/Lib/ctypes/test/test_callbacks.py", line 79, in test_double
    self.check_type(c_double, 3.14)
  File "/var/tmp/portage/dev-lang/python-3.9.0_alpha5/work/Python-3.9.0a5/Lib/ctypes/test/test_callbacks.py", line 25, in check_type
    self.assertEqual(result, arg)
AssertionError: 49.92001233276133 != 3.14

======================================================================
FAIL: test_longdouble (ctypes.test.test_callbacks.Callbacks)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-lang/python-3.9.0_alpha5/work/Python-3.9.0a5/Lib/ctypes/test/test_callbacks.py", line 83, in test_longdouble
    self.check_type(c_longdouble, 3.14)
  File "/var/tmp/portage/dev-lang/python-3.9.0_alpha5/work/Python-3.9.0a5/Lib/ctypes/test/test_callbacks.py", line 25, in check_type
    self.assertEqual(result, arg)
AssertionError: 49.92001233276133 != 3.14

======================================================================
FAIL: test_longlong (ctypes.test.test_callbacks.Callbacks)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-lang/python-3.9.0_alpha5/work/Python-3.9.0a5/Lib/ctypes/test/test_callbacks.py", line 66, in test_longlong
    self.check_type(c_longlong, 42)
  File "/var/tmp/portage/dev-lang/python-3.9.0_alpha5/work/Python-3.9.0a5/Lib/ctypes/test/test_callbacks.py", line 25, in check_type
    self.assertEqual(result, arg)
AssertionError: 4140863540 != 42

======================================================================
FAIL: test_ulonglong (ctypes.test.test_callbacks.Callbacks)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-lang/python-3.9.0_alpha5/work/Python-3.9.0a5/Lib/ctypes/test/test_callbacks.py", line 70, in test_ulonglong
    self.check_type(c_ulonglong, 42)
  File "/var/tmp/portage/dev-lang/python-3.9.0_alpha5/work/Python-3.9.0a5/Lib/ctypes/test/test_callbacks.py", line 25, in check_type
    self.assertEqual(result, arg)
AssertionError: 4140863540 != 42

======================================================================
FAIL: test_callback_register_double (ctypes.test.test_callbacks.SampleCallbacksTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-lang/python-3.9.0_alpha5/work/Python-3.9.0a5/Lib/ctypes/test/test_callbacks.py", line 241, in test_callback_register_double
    self.assertEqual(result,
AssertionError: 2899962681874.0254 != 66.55

======================================================================
FAIL: test_integrate (ctypes.test.test_callbacks.SampleCallbacksTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-lang/python-3.9.0_alpha5/work/Python-3.9.0a5/Lib/ctypes/test/test_callbacks.py", line 177, in test_integrate
    self.assertLess(diff, 0.01, "%s not less than 0.01" % diff)
AssertionError: 0.3333325513202465 not less than 0.01 : 0.3333325513202465 not less than 0.01

======================================================================
FAIL: test_double (ctypes.test.test_cfuncs.CFunctions)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-lang/python-3.9.0_alpha5/work/Python-3.9.0a5/Lib/ctypes/test/test_cfuncs.py", line 153, in test_double
    self.assertEqual(self._dll.tf_d(42.), 14.)
AssertionError: 8388615.712959386 != 14.0

======================================================================
FAIL: test_double_plus (ctypes.test.test_cfuncs.CFunctions)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-lang/python-3.9.0_alpha5/work/Python-3.9.0a5/Lib/ctypes/test/test_cfuncs.py", line 159, in test_double_plus
    self.assertEqual(self._dll.tf_bd(0, 42.), 14.)
AssertionError: 8388615.712959386 != 14.0

======================================================================
FAIL: test_longdouble (ctypes.test.test_cfuncs.CFunctions)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-lang/python-3.9.0_alpha5/work/Python-3.9.0a5/Lib/ctypes/test/test_cfuncs.py", line 165, in test_longdouble
    self.assertEqual(self._dll.tf_D(42.), 14.)
AssertionError: 8388615.712959386 != 14.0

======================================================================
FAIL: test_longdouble_plus (ctypes.test.test_cfuncs.CFunctions)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-lang/python-3.9.0_alpha5/work/Python-3.9.0a5/Lib/ctypes/test/test_cfuncs.py", line 171, in test_longdouble_plus
    self.assertEqual(self._dll.tf_bD(0, 42.), 14.)
AssertionError: 8388615.712959386 != 14.0

======================================================================
FAIL: test_longlong (ctypes.test.test_cfuncs.CFunctions)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-lang/python-3.9.0_alpha5/work/Python-3.9.0a5/Lib/ctypes/test/test_cfuncs.py", line 117, in test_longlong
    self.assertEqual(self._dll.tf_q(-9223372036854775806), -3074457345618258602)
AssertionError: -3074457342909050828 != -3074457345618258602

======================================================================
FAIL: test_longlong_plus (ctypes.test.test_cfuncs.CFunctions)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-lang/python-3.9.0_alpha5/work/Python-3.9.0a5/Lib/ctypes/test/test_cfuncs.py", line 123, in test_longlong_plus
    self.assertEqual(self._dll.tf_bq(0, -9223372036854775806), -3074457345618258602)
AssertionError: -3074457342909050828 != -3074457345618258602

======================================================================
FAIL: test_ulonglong (ctypes.test.test_cfuncs.CFunctions)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-lang/python-3.9.0_alpha5/work/Python-3.9.0a5/Lib/ctypes/test/test_cfuncs.py", line 129, in test_ulonglong
    self.assertEqual(self._dll.tf_Q(18446744073709551615), 6148914691236517205)
AssertionError: 6148914693945724980 != 6148914691236517205

======================================================================
FAIL: test_ulonglong_plus (ctypes.test.test_cfuncs.CFunctions)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-lang/python-3.9.0_alpha5/work/Python-3.9.0a5/Lib/ctypes/test/test_cfuncs.py", line 135, in test_ulonglong_plus
    self.assertEqual(self._dll.tf_bQ(0, 18446744073709551615), 6148914691236517205)
AssertionError: 6148914693945724980 != 6148914691236517205

======================================================================
FAIL: test_doubleresult (ctypes.test.test_functions.FunctionTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-lang/python-3.9.0_alpha5/work/Python-3.9.0a5/Lib/ctypes/test/test_functions.py", line 134, in test_doubleresult
    self.assertEqual(result, 21)
AssertionError: 201326715.40735018 != 21

======================================================================
FAIL: test_longdoubleresult (ctypes.test.test_functions.FunctionTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-lang/python-3.9.0_alpha5/work/Python-3.9.0a5/Lib/ctypes/test/test_functions.py", line 146, in test_longdoubleresult
    self.assertEqual(result, 21)
AssertionError: 201326715.40735018 != 21

======================================================================
FAIL: test_longlong_callbacks (ctypes.test.test_functions.FunctionTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-lang/python-3.9.0_alpha5/work/Python-3.9.0a5/Lib/ctypes/test/test_functions.py", line 307, in test_longlong_callbacks
    self.assertEqual(13577625587, f(1000000000000, cb))
AssertionError: 13577625587 != 17025765428

======================================================================
FAIL: test_longlongresult (ctypes.test.test_functions.FunctionTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-lang/python-3.9.0_alpha5/work/Python-3.9.0a5/Lib/ctypes/test/test_functions.py", line 159, in test_longlongresult
    self.assertEqual(result, 21)
AssertionError: 4140863540 != 21

======================================================================
FAIL: test_sqrt (ctypes.test.test_libc.LibTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-lang/python-3.9.0_alpha5/work/Python-3.9.0a5/Lib/ctypes/test/test_libc.py", line 16, in test_sqrt
    self.assertEqual(lib.my_sqrt(4.0), 2.0)
AssertionError: 2.0000018389128176 != 2.0

======================================================================
FAIL: test_array_in_struct (ctypes.test.test_structures.StructureTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-lang/python-3.9.0_alpha5/work/Python-3.9.0a5/Lib/ctypes/test/test_structures.py", line 534, in test_array_in_struct
    self.assertEqual(result, expected)
AssertionError: 7044.05845359345 != 5.85987

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

Ran 487 tests in 1.036s

FAILED (failures=23, skipped=88)
test test_ctypes failed
1 test failed again:
    test_ctypes

== Tests result: FAILURE then FAILURE ==

393 tests OK.

1 test failed:
    test_ctypes

25 tests skipped:
    test_curses test_devpoll test_idle test_ioctl test_kqueue
    test_msilib test_nis test_ossaudiodev test_smtpnet
    test_socketserver test_startfile test_tcl test_timeout test_tix
    test_tk test_ttk_guionly test_ttk_textonly test_turtle
    test_urllib2net test_urllibnet test_winconsoleio test_winreg
    test_winsound test_xmlrpc_net test_zipfile64

1 re-run test:
    test_ctypes

Total duration: 3 min 25 sec
Tests result: FAILURE then FAILURE
make: *** [Makefile:1140: test] Error 2
 * ERROR: dev-lang/python-3.9.0_alpha5::gentoo failed (test phase):
 *   emake failed

3.9.0_alpha5 just looks like 3.7.7-r1 with one more test skipped.
Comment 4 ernsteiswuerfel archtester 2021-04-14 17:26:08 UTC
Created attachment 699864 [details]
build.log.xz (3.9.2_p1, ppc)

Testsuite passes with 3.9.2_p1 on ppc.