On 19/08/2020 06:53, Marco Atzeri via Cygwin-apps wrote: > > something looks wrong on test > > ====================================================================== > ERROR: test_get_info (tests.getdevinfo_tests_cygwin.TestGetInfo) > Test that the information can be collected on this system without error > ---------------------------------------------------------------------- > Traceback (most recent call last): >   File > "/pub/tmp/python-getdevinfo-1.1.0-1.src/python-getdevinfo-1.1.0-1.x86_64/src/getdevinfo-1.1.0/getdevinfo/tests/getdevinfo_tests_cygwin.py", > line 218, in test_get_info >     cygwin.get_info() >   File > "/pub/tmp/python-getdevinfo-1.1.0-1.src/python-getdevinfo-1.1.0-1.x86_64/build/getdevinfo/cygwin.py", > line 101, in get_info >     get_device_info(disk) >   File > "/pub/tmp/python-getdevinfo-1.1.0-1.src/python-getdevinfo-1.1.0-1.x86_64/build/getdevinfo/cygwin.py", > line 135, in get_device_info >     cmd = subprocess.run([SMARTCTL, "-i", host_disk, "-j"], > stdout=subprocess.PIPE, >   File "/usr/lib/python3.8/subprocess.py", line 489, in run >     with Popen(*popenargs, **kwargs) as process: >   File "/usr/lib/python3.8/subprocess.py", line 854, in __init__ >     self._execute_child(args, executable, preexec_fn, close_fds, >   File "/usr/lib/python3.8/subprocess.py", line 1637, in _execute_child >     self.pid = _posixsubprocess.fork_exec( > BlockingIOError: [Errno 11] Resource temporarily unavailable > > ---------------------------------------------------------------------- > Ran 23 tests in 0.679s > > FAILED (errors=1) > NOTE: These tests won't work correctly without administrator privileges. > > $ id > uid=197609(Marco) gid=544(Administratoren) > groups=544(Administratoren),197121(Kein) Unfortunately I have not been able to reproduce this issue on my end with either 32-bit or 64-bit Cygwin. What happens when you run "/usr/sbin/smartctl.exe -i /dev/sda -j" (assuming /dev/sda is a disk that Cygwin sees)? Note that the output may include the drive serial number - make sure to blank it out if you post the output here. If this is on 32-bit Cygwin, this looks like the good old fork bug to me, seeing as you're getting "11 Resource temporarily unavailable" when attempting to fork. I can't remember what worked to fix that for me the last time I had it, might have been antivirus software exceptions. I would say that maybe some packages need updating, but given you've been releasing packages in the last few days, I highly doubt your Cygwin install is out of date. If the smartctl command works, could you try running the tests again please? Hamish