[issue33655] test_posix_fallocate fails on FreeBSD buildbots with ZFS file systems

2018-05-26 Thread Ned Deily

Ned Deily  added the comment:

Fix merged for 3.7.0 and 3.6.6.

--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue33655] test_posix_fallocate fails on FreeBSD buildbots with ZFS file systems

2018-05-26 Thread miss-islington

miss-islington  added the comment:


New changeset ae27dee0f8f364f0bbb170d918a28b87cd0753d9 by Miss Islington (bot) 
in branch '3.6':
bpo-33655: Also ignore test_posix_fallocate failures on BSD platforms (GH-7134)
https://github.com/python/cpython/commit/ae27dee0f8f364f0bbb170d918a28b87cd0753d9


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue33655] test_posix_fallocate fails on FreeBSD buildbots with ZFS file systems

2018-05-26 Thread miss-islington

miss-islington  added the comment:


New changeset 96fb828da305b18336b8d74b14f479c4f286cf7b by Miss Islington (bot) 
in branch '3.7':
bpo-33655: Also ignore test_posix_fallocate failures on BSD platforms (GH-7134)
https://github.com/python/cpython/commit/96fb828da305b18336b8d74b14f479c4f286cf7b


--
nosy: +miss-islington

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue33655] test_posix_fallocate fails on FreeBSD buildbots with ZFS file systems

2018-05-26 Thread miss-islington

Change by miss-islington :


--
pull_requests: +6770

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue33655] test_posix_fallocate fails on FreeBSD buildbots with ZFS file systems

2018-05-26 Thread miss-islington

Change by miss-islington :


--
pull_requests: +6769

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue33655] test_posix_fallocate fails on FreeBSD buildbots with ZFS file systems

2018-05-26 Thread Ned Deily

Ned Deily  added the comment:


New changeset 09c4a7dee2eb39b515e5f499f184257cdbe9cb42 by Ned Deily in branch 
'master':
bpo-33655: Also ignore test_posix_fallocate failures on BSD platforms (GH-7134)
https://github.com/python/cpython/commit/09c4a7dee2eb39b515e5f499f184257cdbe9cb42


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue33655] test_posix_fallocate fails on FreeBSD buildbots with ZFS file systems

2018-05-26 Thread Ned Deily

Change by Ned Deily :


--
keywords: +patch
pull_requests: +6768

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue33655] test_posix_fallocate fails on FreeBSD buildbots with ZFS file systems

2018-05-26 Thread Ned Deily

New submission from Ned Deily :

Seen on some of the various FreeBSD buildbots:

==
ERROR: test_posix_fallocate (test.test_posix.PosixTester)
--
Traceback (most recent call last):
  File 
"/usr/home/buildbot/python/3.7.koobs-freebsd-current/build/Lib/test/test_posix.py",
 line 342, in test_posix_fallocate
posix.posix_fallocate(fd, 0, 10)
OSError: [Errno 22] Invalid argument
--

As discussed in Issue31106 msg312453 and successors, the failure is due to 
posix_fallocate not being implemented on ZFS and the difficulty of determining 
in a platform-independent way what kind of file system a given file resides on. 
 The test already ignores EINVAL ("Invalid argument") errors when run on 
Solaris-type platforms due to the common use of ZFS there.  In lieu of a more 
precise test for fs type, we should also ignore EINVAL errors in this test when 
run on *BSD platforms.  Also, rather than silently ignoring the error, it may 
be better to use a SkipTest message.

--
assignee: ned.deily
components: FreeBSD
messages: 317763
nosy: koobs, ned.deily
priority: normal
severity: normal
stage: patch review
status: open
title: test_posix_fallocate fails on FreeBSD buildbots with ZFS file systems
versions: Python 3.6, Python 3.7, Python 3.8

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com