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.

classification
Title: Solaris 11.3 w/ Studio 12.6 test_support fail
Type: behavior Stage: resolved
Components: Tests Versions: Python 3.7
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: Nosy List: gmarler, iritkatriel
Priority: normal Keywords:

Created on 2019-06-17 00:57 by gmarler, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Messages (2)
msg345794 - (view) Author: Gordon Marler (gmarler) Date: 2019-06-17 00:57
This failure confuses me, as it seems to occur in a test_rmtree subtest, and there's a warning that test_support is modifying something towards the end:

$ python -m test -W test_support

...

======================================================================
ERROR: test_rmtree (test.test_support.TestSupport)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/perfwork/gitwork/python/solaris/components/python/python373/Python-3.7.3/Lib/test/support/__init__.py", line 309, in _force_run
    return func(*args)
PermissionError: [Errno 13] Permission denied: '@test_11251_tmpd/subdir'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/perfwork/gitwork/python/solaris/components/python/python373/Python-3.7.3/Lib/test/test_support.py", line 73, in test_rmtree
    support.rmtree(dirpath)
  File "/perfwork/gitwork/python/solaris/components/python/python373/Python-3.7.3/Lib/test/support/__init__.py", line 431, in rmtree
    _rmtree(path)
  File "/perfwork/gitwork/python/solaris/components/python/python373/Python-3.7.3/Lib/test/support/__init__.py", line 411, in _rmtree
    _rmtree_inner(path)
  File "/perfwork/gitwork/python/solaris/components/python/python373/Python-3.7.3/Lib/test/support/__init__.py", line 410, in _rmtree_inner
    _force_run(path, os.unlink, fullname)
  File "/perfwork/gitwork/python/solaris/components/python/python373/Python-3.7.3/Lib/test/support/__init__.py", line 315, in _force_run
    return func(*args)
PermissionError: [Errno 1] Not owner: '@test_11251_tmpd/subdir'

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

Ran 42 tests in 34.112s

FAILED (errors=1, skipped=1)
Warning -- files was modified by test_support
  Before: []
  After:  ['@test_11251_tmpd/']
test test_support failed
test_support failed in 34 sec 255 ms

== Tests result: FAILURE ==

1 test failed:
    test_support

Total duration: 34 sec 322 ms
Tests result: FAILURE
msg410708 - (view) Author: Irit Katriel (iritkatriel) * (Python committer) Date: 2022-01-16 18:29
3.7 is no longer maintained. Please create a new issue if you are seeing this problem on a current version (>= 3.9).
History
Date User Action Args
2022-04-11 14:59:16adminsetgithub: 81492
2022-01-16 18:29:37iritkatrielsetstatus: open -> closed

nosy: + iritkatriel
messages: + msg410708

resolution: out of date
stage: resolved
2019-06-17 00:57:11gmarlercreate