[issue46390] Multiple test failures on Alpine 3.15 / musl-1.2.2-r7

Terry J. Reedy report at bugs.python.org
Fri Jan 21 16:21:42 EST 2022


Terry J. Reedy <tjreedy at udel.edu> added the comment:

The first alpine315-tests.txt appears to be a truncated version of the second.  Were you expecting the first to be automatically replaced?  Should it be unlinked?

https://www.alpinelinux.org "Alpine Linux is a security-oriented, lightweight Linux distribution based on musl libc and busybox."  Fron the doc linked above:

# Maintainer: Natanael Copa <ncopa at alpinelinux.org>  ## I nosied Natanael at his CLA-signed Alpine id.
# Contributor: Sheila Aman <sheila at vulpine.house>
...
	# musl related
	fail="test__locale test_locale test_strptime test_re"	# various musl locale deficiencies
	fail="$fail test_c_locale_coercion"
	fail="$fail test_datetime"				# hangs if 'tzdata' installed
	fail="$fail test_os"					# fpathconf, ttyname errno values
	fail="$fail test_posix"					# sched_[gs]etscheduler not impl
	fail="$fail test_shutil"				# lchmod, requires real unzip

Should we change CPython tests to accommodate things that are missing (versus buggy).  Should the tests requiring sched_[gs]etscheduler be skipped if missing?  Or are they required to be 'posix' and is test_posix meant to test completeness as well as correctness of what is present?

----------
nosy: +ncopa, terry.reedy

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46390>
_______________________________________


More information about the Python-bugs-list mailing list