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.

Author vstinner
Recipients koobs, lukasz.langa, pablogsal, vstinner
Date 2021-02-15.22:20:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1613427641.3.0.394431303291.issue43233@roundup.psfhosted.org>
In-reply-to
Content
> https://buildbot.python.org/all/#/builders/151/builds/300/steps/5/logs/stdio

This is the CURRENT version of FreeBSD (latest kernel and latest libc). test.pythoninfo says:

os.uname: posix.uname_result(sysname='FreeBSD', nodename='140-CURRENT-amd64', release='14.0-CURRENT', version='FreeBSD 14.0-CURRENT #13 main-n244626-cb7cc72c546: Fri Feb  5 02:20:29 UTC 2021     root@130-CURRENT-amd64:/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG', machine='amd64')

On FreeBSD 12.2 (stable), test_os pass because os.copy_file_range() is missing:

$ grep copy_file_range pyconfig.h -A1
/* Define to 1 if you have the `copy_file_range' function. */
/* #undef HAVE_COPY_FILE_RANGE */

$ ./python -m test test_os -v -m test_copy_file_range_offset
== CPython 3.9.1+ (heads/3.9:c9f07813ab, Feb 15 2021, 22:00:04) [Clang 10.0.1 (git@github.com:llvm/llvm-project.git llvmorg-10.0.1-0-gef32c611a
== FreeBSD-12.2-RELEASE-p3-amd64-64bit-ELF little-endian
== cwd: /usr/home/vstinner/python/3.9/build/test_python_5324æ
== CPU count: 8
== encodings: locale=UTF-8, FS=utf-8
0:00:00 load avg: 11.77 Run tests sequentially
0:00:00 load avg: 11.77 [1/1] test_os
test_copy_file_range_offset (test.test_os.FileTests) ... skipped 'test needs os.copy_file_range()'

----------------------------------------------------------------------

Ran 1 test in 0.002s

OK (skipped=1)

== Tests result: SUCCESS ==

1 test OK.

Total duration: 674 ms
Tests result: SUCCESS
History
Date User Action Args
2021-02-15 22:20:41vstinnersetrecipients: + vstinner, lukasz.langa, koobs, pablogsal
2021-02-15 22:20:41vstinnersetmessageid: <1613427641.3.0.394431303291.issue43233@roundup.psfhosted.org>
2021-02-15 22:20:41vstinnerlinkissue43233 messages
2021-02-15 22:20:41vstinnercreate