homepage

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: test_tcl.test_split() fails on "x86 FreeBSD 7.2 3.x" buildbot
Type: Stage: resolved
Components: Tests, Tkinter Versions:
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: Nosy List: db3l, ned.deily, python-dev, serhiy.storchaka, vstinner
Priority: normal Keywords: buildbot

Created on 2014年09月04日 07:52 by vstinner, last changed 2022年04月11日 14:58 by admin. This issue is now closed.

Messages (11)
msg226343 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2014年09月04日 07:52
The test was added by the issue #18101 (changeset 9486c07929a1).
On FreeBSD 7.2, Tcl version is 8.6b1 (seen in the test output).
http://buildbot.python.org/all/builders/x86%20FreeBSD%207.2%203.x/builds/5560/steps/test/logs/stdio
======================================================================
FAIL: test_split (test.test_tcl.TclTest)
----------------------------------------------------------------------
Traceback (most recent call last):
 File "/usr/home/db3l/buildarea/3.x.bolen-freebsd7/build/Lib/test/test_tcl.py", line 563, in test_split
 self.assertEqual(split(arg), res, msg=arg)
AssertionError: Tuples differ: (12, '\u20ac', b'\xe2\x82\xac', (3.4,)) != ('12', '\u20ac', '\xe2\x82\xac', '3.4')
First differing element 0:
12
12
- (12, '\u20ac', b'\xe2\x82\xac', (3.4,))
+ ('12', '\u20ac', '\xe2\x82\xac', '3.4') : 12 \u20ac \xe2\x82\xac 3.4
======================================================================
FAIL: test_splitlist (test.test_tcl.TclTest)
----------------------------------------------------------------------
Traceback (most recent call last):
 File "/usr/home/db3l/buildarea/3.x.bolen-freebsd7/build/Lib/test/test_tcl.py", line 513, in test_splitlist
 self.assertEqual(splitlist(arg), res, msg=arg)
AssertionError: Tuples differ: (12, '\u20ac', b'\xe2\x82\xac', (3.4,)) != ('12', '\u20ac', '\xe2\x82\xac', '3.4')
First differing element 0:
12
12
- (12, '\u20ac', b'\xe2\x82\xac', (3.4,))
+ ('12', '\u20ac', '\xe2\x82\xac', '3.4') : 12 \u20ac \xe2\x82\xac 3.4
msg226344 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2014年09月04日 07:53
New changeset e6cfbc3e2ed9 by Victor Stinner in branch 'default':
Issue #22334: Add debug traces to test_tcl
http://hg.python.org/cpython/rev/e6cfbc3e2ed9 
msg226348 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2014年09月04日 08:29
More likely there is a bug in Tcl 8.6b1 (as in Tcl before 8.5.5).
msg226349 - (view) Author: Ned Deily (ned.deily) * (Python committer) Date: 2014年09月04日 08:36
Perhaps David B can update Tcl and Tk on the buildbot? Note, Tcl/Tk 8.6.2 (and 8.5.16) were just released a few days ago.
msg226354 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2014年09月04日 09:25
> More likely there is a bug in Tcl 8.6b1 (as in Tcl before 8.5.5).
If the bug is not present in Tcl 8.6.2, we can skip the test on the version Tcl 8.6b1.
msg226380 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2014年09月04日 21:25
Debug trace from x86 FreeBSD 6.4 3.x:
======================================================================
FAIL: test_splitlist (test.test_tcl.TclTest)
----------------------------------------------------------------------
Traceback (most recent call last):
 File "/usr/home/db3l/buildarea/3.x.bolen-freebsd/build/Lib/test/test_tcl.py", line 517, in test_splitlist
 'arg=%a, %s' % (arg, dbg_info))
AssertionError: Tuples differ: (12, '\u20ac', b'\xe2\x82\xac', (3.4,)) != ('12', '\u20ac', '\xe2\x82\xac', '3.4')
First differing element 0:
12
12
- (12, '\u20ac', b'\xe2\x82\xac', (3.4,))
+ ('12', '\u20ac', '\xe2\x82\xac', '3.4') : arg=<list object: '12 \u20ac \xe2\x82\xac 3.4'>, want objects? True, Tcl version: (8, 5), Tk patchlevel: (8, 5, 4)
msg226382 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2014年09月04日 21:50
Debug trace on FreeBSD 7.2:
======================================================================
FAIL: test_splitlist (test.test_tcl.TclTest)
----------------------------------------------------------------------
Traceback (most recent call last):
 File "/usr/home/db3l/buildarea/3.x.bolen-freebsd7/build/Lib/test/test_tcl.py", line 517, in test_splitlist
 'arg=%a, %s' % (arg, dbg_info))
AssertionError: Tuples differ: (12, '\u20ac', b'\xe2\x82\xac', (3.4,)) != ('12', '\u20ac', '\xe2\x82\xac', '3.4')
First differing element 0:
12
12
- (12, '\u20ac', b'\xe2\x82\xac', (3.4,))
+ ('12', '\u20ac', '\xe2\x82\xac', '3.4') : arg=<list object: '12 \u20ac \xe2\x82\xac 3.4'>, want objects? True, Tcl version: (8, 6), Tk patchlevel: (8, -1)
msg228035 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2014年09月30日 23:49
> More likely there is a bug in Tcl 8.6b1 (as in Tcl before 8.5.5).
@Serhiy: So what do you suggest using debug traces?
msg238464 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2015年03月18日 17:42
I suggest just upgrade Tcl on this buildbot to release version of 8.6. Or downgrade to release version of 8.5 or 8.4. No need to test Python with beta version of Tcl. 8.6.0 was released years ago.
msg242679 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2015年05月06日 15:06
The test no longer failed since fixing full Tcl version parsing in cebe15821a0c/5bf0d9086cfc/9f13e9385186. It is now just skipped on non-final Tcl 8.6.
In any case I suggest to upgrade Tcl/Tk on this buildbot.
msg395753 - (view) Author: Jacob Walls (jacobtylerwalls) * Date: 2021年06月13日 15:16
Sorry for noise; I typo-d when linking a PR on GitHub. Unlinked.
History
Date User Action Args
2022年04月11日 14:58:07adminsetgithub: 66530
2021年06月13日 15:17:45jacobtylerwallssetnosy: - jacobtylerwalls
2021年06月13日 15:16:58jacobtylerwallssetnosy: db3l, vstinner, ned.deily, python-dev, serhiy.storchaka, jacobtylerwalls
messages: + msg395753
2021年06月13日 15:16:30jacobtylerwallssetpull_requests: - pull_request25293
2021年06月13日 15:15:28jacobtylerwallssetnosy: + jacobtylerwalls

pull_requests: + pull_request25293
2015年05月06日 15:06:46serhiy.storchakasetstatus: open -> closed
resolution: out of date
messages: + msg242679

stage: resolved
2015年03月18日 17:42:37serhiy.storchakasetmessages: + msg238464
2014年09月30日 23:49:15vstinnersetmessages: + msg228035
2014年09月04日 21:50:23vstinnersetmessages: + msg226382
2014年09月04日 21:25:23vstinnersetmessages: + msg226380
2014年09月04日 09:25:14vstinnersetmessages: + msg226354
2014年09月04日 08:36:42ned.deilysetnosy: + ned.deily, db3l
messages: + msg226349
2014年09月04日 08:29:44serhiy.storchakasetmessages: + msg226348
2014年09月04日 07:53:31python-devsetnosy: + python-dev
messages: + msg226344
2014年09月04日 07:52:43vstinnercreate

AltStyle によって変換されたページ (->オリジナル) /