STINNER Victor <vstin...@python.org> added the comment:

These errors are really strange.

Steve Dower: are you aware of anything recent change on the macOS job of Azure 
Pipelines / GH Actions.

pythoninfo:
---
os.uname: posix.uname_result(sysname='Darwin', nodename='Mac-1422.local', 
release='19.3.0', version='Darwin Kernel Version 19.3.0: Thu Jan  9 20:58:23 
PST 2020; root:xnu-6153.81.5~1/RELEASE_X86_64', machine='x86_64')

platform.architecture: 64bit

platform.platform: macOS-10.15.3-x86_64-i386-64bit
---


> example: 
> https://github.com/python/cpython/pull/19073/checks?check_run_id=519539592

./python.exe -m test.pythoninfo
ERROR: collect_pwd() failed
Traceback (most recent call last):
  File 
"/Users/runner/runners/2.165.2/work/cpython/cpython/Lib/test/pythoninfo.py", 
line 761, in collect_info
    collect_func(info_add)
  File 
"/Users/runner/runners/2.165.2/work/cpython/cpython/Lib/test/pythoninfo.py", 
line 336, in collect_pwd
    groups = os.getgrouplist(entry.pw_name, entry.pw_gid)
OSError: [Errno 0] Error

Collection failed: exit with error


> PR 19075

test_posix.test_getgrouplist() failed with:

======================================================================
ERROR: test_getgrouplist (test.test_posix.PosixTester)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/Users/runner/runners/2.165.2/work/cpython/cpython/Lib/test/test_posix.py", 
line 1028, in test_getgrouplist
    self.assertIn(group, posix.getgrouplist(user, group))
OSError: [Errno 25] Inappropriate ioctl for device

----------
components: +macOS
nosy: +ned.deily, ronaldoussoren, steve.dower
title: os.getgrouplist can raise OSError during the Display build info -> 
os.getgrouplist() fails on macOS of GH Actions (Azure)
versions: +Python 3.9

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue40014>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to