This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Consistent failure in test_email on OS X Snow Leopard buildbot for Python 3.5
Type: crash Stage: resolved
Components: Versions: Python 3.5
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: geoffreyspear, larry, ned.deily, python-dev, r.david.murray, vstinner
Priority: normal Keywords: buildbot

Created on 2015-08-09 10:29 by larry, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Messages (7)
msg248321 - (view) Author: Larry Hastings (larry) * (Python committer) Date: 2015-08-09 10:29
The Snow Leopard buildbot for Python 3.5 consistently fails in the regression test for the email module.

The 3.5 buildbots are here:

http://buildbot.python.org/all/waterfall?category=3.5.stable

Example log file:

http://buildbot.python.org/all/builders/AMD64%20Snow%20Leop%203.5/builds/185/steps/test/logs/stdio

Sample failure:

    ======================================================================
    FAIL: test_formatdate (test.test_email.test_utils.FormatDateTests)
    ----------------------------------------------------------------------
    Traceback (most recent call last):
      File "/Users/buildbot/buildarea/3.5.murray-snowleopard/build/Lib/test/support/__init__.py", line 1531, in inner
        return func(*args, **kwds)
      File "/Users/buildbot/buildarea/3.5.murray-snowleopard/build/Lib/test/test_email/test_utils.py", line 145, in test_formatdate
        self.assertEqual(string, 'Thu, 01 Dec 2011 15:00:00 -0000')
    AssertionError: 'Thu, 01 Dec 2011 16:00:00 -0000' != 'Thu, 01 Dec 2011 15:00:00 -0000'
    - Thu, 01 Dec 2011 16:00:00 -0000
    ?                   ^
    + Thu, 01 Dec 2011 15:00:00 -0000
    ?                   ^


    ======================================================================
    FAIL: test_formatdate_with_localtime (test.test_email.test_utils.FormatDateTests)
    ----------------------------------------------------------------------
    Traceback (most recent call last):
      File "/Users/buildbot/buildarea/3.5.murray-snowleopard/build/Lib/test/support/__init__.py", line 1531, in inner
        return func(*args, **kwds)
      File "/Users/buildbot/buildarea/3.5.murray-snowleopard/build/Lib/test/test_email/test_utils.py", line 157, in test_formatdate_with_localtime
        self.assertEqual(string, 'Thu, 01 Dec 2011 18:00:00 +0300')
    AssertionError: 'Thu, 01 Dec 2011 18:00:00 +0200' != 'Thu, 01 Dec 2011 18:00:00 +0300'
    - Thu, 01 Dec 2011 18:00:00 +0200
    ?                             ^
    + Thu, 01 Dec 2011 18:00:00 +0300
    ?                             ^

Ned...?
msg248328 - (view) Author: R. David Murray (r.david.murray) * (Python committer) Date: 2015-08-09 15:56
The buildbot needs to upgrade its timezone files, they are quite out of date.
msg248329 - (view) Author: R. David Murray (r.david.murray) * (Python committer) Date: 2015-08-09 15:59
"quite out of date" being pre 2011k, FYI.  See issue 22932.
msg248335 - (view) Author: Larry Hastings (larry) * (Python committer) Date: 2015-08-09 20:36
Thanks for diagnosing the problem, David!
msg250959 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2015-09-18 09:34
"The buildbot needs to upgrade its timezone files, they are quite out of date."

For me the fix is quite simple: skip this specific test on old versions of Mac OS X.
msg250998 - (view) Author: R. David Murray (r.david.murray) * (Python committer) Date: 2015-09-18 14:27
That would be fine with me.
msg250999 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2015-09-18 14:34
New changeset 9fb47dcd02fd by Victor Stinner in branch '3.4':
Issue #24836: Skip FormatDateTests of test_email.test_utils on Mac OS X Snow
https://hg.python.org/cpython/rev/9fb47dcd02fd
History
Date User Action Args
2022-04-11 14:58:19adminsetgithub: 69024
2021-06-22 16:13:50iritkatrielsetstatus: open -> closed
resolution: fixed
stage: needs patch -> resolved
2015-09-18 14:34:19python-devsetnosy: + python-dev
messages: + msg250999
2015-09-18 14:27:23r.david.murraysetmessages: + msg250998
2015-09-18 09:34:58vstinnersetnosy: + vstinner
messages: + msg250959
2015-09-14 19:03:25geoffreyspearsetnosy: + geoffreyspear
2015-08-09 20:36:00larrysetkeywords: + buildbot
priority: critical -> normal
messages: + msg248335
2015-08-09 15:59:08r.david.murraysetmessages: + msg248329
2015-08-09 15:56:19r.david.murraysetnosy: + r.david.murray
messages: + msg248328
2015-08-09 10:29:22larrycreate