[issue31044] FAIL: test_makedev (test.test_posix.PosixTester) on AMD64 FreeBSD CURRENT

2018-06-06 Thread STINNER Victor
STINNER Victor added the comment: I enabled again the test in the master branch, the FreeBSD kernel bug has been fixed 10 months ago: * https://svnweb.freebsd.org/base?view=revision=321920 * https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221048 Technically, we could reenable the test in

[issue31044] FAIL: test_makedev (test.test_posix.PosixTester) on AMD64 FreeBSD CURRENT

2018-06-06 Thread STINNER Victor
STINNER Victor added the comment: New changeset b5d702e5e7291eed21666ed931da2a5e92c28a65 by Victor Stinner in branch 'master': bpo-31044, test_posix: Reenable makedev() tests on FreeBSD (#7449) https://github.com/python/cpython/commit/b5d702e5e7291eed21666ed931da2a5e92c28a65 --

[issue31044] FAIL: test_makedev (test.test_posix.PosixTester) on AMD64 FreeBSD CURRENT

2018-06-06 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +7071 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue31044] FAIL: test_makedev (test.test_posix.PosixTester) on AMD64 FreeBSD CURRENT

2017-07-27 Thread STINNER Victor
Changes by STINNER Victor : -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___

[issue31044] FAIL: test_makedev (test.test_posix.PosixTester) on AMD64 FreeBSD CURRENT

2017-07-27 Thread STINNER Victor
STINNER Victor added the comment: New changeset c2f7fb61511456c62877592988b31714cb8ba266 by Victor Stinner in branch '2.7': [2.7] bpo-31044: Skip test_posix.test_makedev() on FreeBSD (#2915) (#2918) https://github.com/python/cpython/commit/c2f7fb61511456c62877592988b31714cb8ba266 --

[issue31044] FAIL: test_makedev (test.test_posix.PosixTester) on AMD64 FreeBSD CURRENT

2017-07-27 Thread STINNER Victor
STINNER Victor added the comment: New changeset 54cb3400e500f99bd57a0273aa7ef84ffd37558e by Victor Stinner in branch '3.6': bpo-31044: Skip test_posix.test_makedev() on FreeBSD (#2915) (#2917) https://github.com/python/cpython/commit/54cb3400e500f99bd57a0273aa7ef84ffd37558e --

[issue31044] FAIL: test_makedev (test.test_posix.PosixTester) on AMD64 FreeBSD CURRENT

2017-07-27 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +2971 ___ Python tracker ___ ___

[issue31044] FAIL: test_makedev (test.test_posix.PosixTester) on AMD64 FreeBSD CURRENT

2017-07-27 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +2970 ___ Python tracker ___ ___

[issue31044] FAIL: test_makedev (test.test_posix.PosixTester) on AMD64 FreeBSD CURRENT

2017-07-27 Thread STINNER Victor
STINNER Victor added the comment: New changeset 12953ffe12ac781332b384c36b25d12216b1db62 by Victor Stinner in branch 'master': bpo-31044: Skip test_posix.test_makedev() on FreeBSD (#2915) https://github.com/python/cpython/commit/12953ffe12ac781332b384c36b25d12216b1db62 --

[issue31044] FAIL: test_makedev (test.test_posix.PosixTester) on AMD64 FreeBSD CURRENT

2017-07-27 Thread STINNER Victor
STINNER Victor added the comment: At May 23, the dev_t type changed from 32 bits to 64 bits on FreeBSD in the kernel, but minor() wasn't updated. I reported a bug to FreeBSD: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221048 -- ___ Python

[issue31044] FAIL: test_makedev (test.test_posix.PosixTester) on AMD64 FreeBSD CURRENT

2017-07-27 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +2967 ___ Python tracker ___ ___

[issue31044] FAIL: test_makedev (test.test_posix.PosixTester) on AMD64 FreeBSD CURRENT

2017-07-27 Thread STINNER Victor
STINNER Victor added the comment: Confirmation that minor() truncates high bits: CURRENT-amd64% ./python -c 'import os; print(hex(os.minor(0xaabbccddff)))' 0xbbcc00ff -- ___ Python tracker

[issue31044] FAIL: test_makedev (test.test_posix.PosixTester) on AMD64 FreeBSD CURRENT

2017-07-27 Thread STINNER Victor
STINNER Victor added the comment: The problem is more the major(), minor() and makedev() commands: CURRENT-amd64% ./python Python 3.7.0a0 (heads/master:d5ed47dea2, Jul 28 2017, 00:10:54) [GCC 4.2.1 Compatible FreeBSD Clang 5.0.0 (trunk 308421)] on freebsd12 Type "help", "copyright",

[issue31044] FAIL: test_makedev (test.test_posix.PosixTester) on AMD64 FreeBSD CURRENT

2017-07-27 Thread STINNER Victor
STINNER Victor added the comment: os.stat() seems correct, st_dev and st_ino are the same than the system command "stat": CURRENT-amd64% ./python -c 'import os; st=os.stat("setup.py"); print(st)' os.stat_result(st_mode=33188, st_ino=2384528, st_dev=954774858155,

[issue31044] FAIL: test_makedev (test.test_posix.PosixTester) on AMD64 FreeBSD CURRENT

2017-07-27 Thread STINNER Victor
STINNER Victor added the comment: I'm able to reproduce the bug on koobs's FreeBSD CURRENT: * stat() returns st_dev = 0xde4d0429ab * major(0xde4d0429ab) returns 0x29 * minor(0xde4d0429ab) returns 0x4d0400ab minor() truncates most significant bits. major/minor are defined in sys/types.h:

[issue31044] FAIL: test_makedev (test.test_posix.PosixTester) on AMD64 FreeBSD CURRENT

2017-07-26 Thread STINNER Victor
STINNER Victor added the comment: The test fails on Debug but also Non-Debug buildbots, master and 3.6 branches. It looks more like a change on the buildbot, maybe a FreeBSD upgrade? -- title: FAIL: test_makedev (test.test_posix.PosixTester) on AMD64 FreeBSD CURRENT Debug 3.x -> FAIL:

[issue31044] FAIL: test_makedev (test.test_posix.PosixTester) on AMD64 FreeBSD CURRENT Debug 3.x

2017-07-26 Thread STINNER Victor
New submission from STINNER Victor: The test failed in the build 632 (Wed Jul 26 10:47:01 2017) for the first time. http://buildbot.python.org/all/builders/AMD64%20FreeBSD%20CURRENT%20Debug%203.x/builds/632/steps/test/logs/stdio == CPython 3.7.0a0 (heads/master:ede9084476, Jul 26 2017,

[issue31044] FAIL: test_makedev (test.test_posix.PosixTester) on AMD64 FreeBSD CURRENT Debug 3.x

2017-07-26 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +koobs ___ Python tracker ___ ___