[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#983516: python2.7: autopkgtest regression on amd64, i386 and ppc64el: test_ctypes fails



Source: python2.7
Version: 2.7.18-2
X-Debbugs-CC: debian-ci@lists.debian.org
Severity: serious
User: debian-ci@lists.debian.org
Usertags: regression

Dear maintainer(s),

With a recent upload of python2.7 the autopkgtest of python2.7 fails in
testing when that autopkgtest is run with the binary packages of
python2.7 from unstable. It passes when run with only packages from
testing. In tabular form:

                       pass            fail
python2.7              from testing    2.7.18-2
all others             from testing    from testing

I copied some of the output at the bottom of this report.

Currently this regression is blocking the migration to testing [1]. Can
you please investigate the situation and fix it?

More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

Paul

[1] https://qa.debian.org/excuses.php?package=python2.7

https://ci.debian.net/data/autopkgtest/testing/amd64/p/python2.7/10659876/log.gz


======================================================================
FAIL: test_parameter_repr (ctypes.test.test_parameters.SimpleTypesTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/ctypes/test/test_parameters.py", line 244, in
test_parameter_repr
    self.assertEqual(repr(c_float.from_param(1.5)), "<cparam 'f' (1.5)>")
AssertionError: "<cparam 'f'
(\xdb\xdb\xdb\xdb\xdb\xdb\xdb\xdb\xdb\xdb\xdb\xdb\xdb\xdb\xdb\xdb\xdb\xdb\xdb\xdb\xdb\xdb\xdb\xdb\xdb\xdb\xdb\xdb)>"
!= "<cparam 'f' (1.5)>"

----------------------------------------------------------------------
Ran 457 tests in 1.220s

FAILED (failures=1, skipped=86)
test test_ctypes failed -- Traceback (most recent call last):
  File "/usr/lib/python2.7/ctypes/test/test_parameters.py", line 244, in
test_parameter_repr
    self.assertEqual(repr(c_float.from_param(1.5)), "<cparam 'f' (1.5)>")
AssertionError: "<cparam 'f'
(\xdb\xdb\xdb\xdb\xdb\xdb\xdb\xdb\xdb\xdb\xdb\xdb\xdb\xdb\xdb\xdb\xdb\xdb\xdb\xdb\xdb\xdb\xdb\xdb\xdb\xdb\xdb\xdb)>"
!= "<cparam 'f' (1.5)>"

1 test failed again:
    test_ctypes

== Tests result: FAILURE then FAILURE ==

356 tests OK.

1 test failed:
    test_ctypes

40 tests skipped:
    test_aepack test_al test_applesingle test_bsddb185 test_cd test_cl
    test_codecmaps_cn test_codecmaps_hk test_codecmaps_jp
    test_codecmaps_kr test_codecmaps_tw test_dl test_gdb test_gl
    test_idle test_imageop test_imgfile test_kqueue test_linuxaudiodev
    test_macos test_macostools test_msilib test_ossaudiodev
    test_scriptpackages test_smtpnet test_socketserver test_startfile
    test_sunaudiodev test_tcl test_timeout test_tk test_tools
    test_ttk_guionly test_ttk_textonly test_turtle test_urllib2net
    test_urllibnet test_winreg test_winsound test_zipfile64
8 skips unexpected on linux2:
    test_gdb test_idle test_tcl test_tk test_tools test_ttk_guionly
    test_ttk_textonly test_turtle

1 re-run test:
    test_ctypes

Total duration: 12 min 14 sec
Tests result: FAILURE then FAILURE

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


Reply to: