kadler / cpython

The Python programming language
https://www.python.org/
Other
2 stars 2 forks source link

Test failures in test_os #19

Open kadler opened 3 years ago

kadler commented 3 years ago
======================================================================
ERROR: test_set_get_priority (test.test_os.ProgramPriorityTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/QOpenSys/jenkins/workspace/cpython_sem-fix/Lib/test/test_os.py", line 2892, in test_set_get_priority
    os.setpriority(os.PRIO_PROCESS, os.getpid(), base + 1)
PermissionError: [Errno 13] Permission denied

======================================================================
ERROR: test_fd (test.test_os.TestScandir)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/QOpenSys/jenkins/workspace/cpython_sem-fix/Lib/test/test_os.py", line 3935, in test_fd
    self.assertEqual(entry.is_symlink(), entry.name == 'link')
NotImplementedError: can't fetch stat

======================================================================
FAIL: test_chown_without_permission (test.test_os.ChownFileTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/QOpenSys/jenkins/workspace/cpython_sem-fix/Lib/test/test_os.py", line 1454, in test_chown_without_permission
    os.chown(support.TESTFN, uid_2, gid)
AssertionError: PermissionError not raised

======================================================================
FAIL: test_setregid (test.test_os.PosixUidGidTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/QOpenSys/jenkins/workspace/cpython_sem-fix/Lib/test/test_os.py", line 2039, in test_setregid
    self.assertRaises(OSError, os.setregid, 0, 0)
AssertionError: OSError not raised by setregid