[issue37311] Solaris 11.3 w/ Studio 12.6 test_support fail

Gordon Marler report at bugs.python.org
Sun Jun 16 20:57:11 EDT 2019


New submission from Gordon Marler <gmarler2 at gmail.com>:

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

----------
components: Tests
messages: 345794
nosy: gmarler
priority: normal
severity: normal
status: open
title: Solaris 11.3 w/ Studio 12.6 test_support fail
type: behavior
versions: Python 3.7

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


More information about the Python-bugs-list mailing list