[issue38183] test_idle fails on AMD64 FreeBSD CURRENT Shared 3.x: GetUserCfgDir() fails with PermissionError

2019-09-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: When I thought a simple change to one file was enough, I thought to backport to 2.7. But given that I will not backport the followup changes that will affect users, I am not going to backport the more complicated changes. -- resolution: -> fixed

[issue38183] test_idle fails on AMD64 FreeBSD CURRENT Shared 3.x: GetUserCfgDir() fails with PermissionError

2019-09-17 Thread STINNER Victor
STINNER Victor added the comment: > It would be nice to fix the bug in all supported branches until they are EoL Or just fix the buildbot which means less work to do :-) -- ___ Python tracker

[issue38183] test_idle fails on AMD64 FreeBSD CURRENT Shared 3.x: GetUserCfgDir() fails with PermissionError

2019-09-17 Thread Kubilay Kocak
Kubilay Kocak added the comment: @Victor Yes. I restarted the worker to re-create reproduction conditions. It looks like default, 3.8 and 3.7 are OK now after Terry;s commits, with 2.7 failing (expected): https://buildbot.python.org/all/#/builders/169/builds/170 It would be nice to fix

[issue38183] test_idle fails on AMD64 FreeBSD CURRENT Shared 3.x: GetUserCfgDir() fails with PermissionError

2019-09-17 Thread STINNER Victor
STINNER Victor added the comment: > I can restart the worker to create the environment that reproduces the issue > at any time to confirm the test passes, just let me know Running test_idle as an user different than root and with HOME=/root env var (or HOME=/) should be enough to reproduce

[issue38183] test_idle fails on AMD64 FreeBSD CURRENT Shared 3.x: GetUserCfgDir() fails with PermissionError

2019-09-17 Thread Kubilay Kocak
Kubilay Kocak added the comment: Thanks Terry, I've restarted the worker under sudo The following builds are underway: https://buildbot.python.org/all/#/builders/168/builds/1467 (default) https://buildbot.python.org/all/#/builders/212/builds/218 (3.8)

[issue38183] test_idle fails on AMD64 FreeBSD CURRENT Shared 3.x: GetUserCfgDir() fails with PermissionError

2019-09-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: Except for an unrelated gui test on AMD Alpine, the revised tests pass all buildbots. So try with the reproducing condition whenever you want. -- stage: patch review -> commit review ___ Python tracker

[issue38183] test_idle fails on AMD64 FreeBSD CURRENT Shared 3.x: GetUserCfgDir() fails with PermissionError

2019-09-16 Thread Kubilay Kocak
Kubilay Kocak added the comment: I can restart the worker to create the environment that reproduces the issue at any time to confirm the test passes, just let me know -- ___ Python tracker

[issue38183] test_idle fails on AMD64 FreeBSD CURRENT Shared 3.x: GetUserCfgDir() fails with PermissionError

2019-09-16 Thread miss-islington
miss-islington added the comment: New changeset ad845becf29afe0507a46a4b885a9670b5d7639d by Miss Islington (bot) in branch '3.8': bpo-38183: Test_idle ignores user config directory GH-16198) https://github.com/python/cpython/commit/ad845becf29afe0507a46a4b885a9670b5d7639d -- nosy:

[issue38183] test_idle fails on AMD64 FreeBSD CURRENT Shared 3.x: GetUserCfgDir() fails with PermissionError

2019-09-16 Thread miss-islington
miss-islington added the comment: New changeset 523497cbdc8292bfc12938aaaca0ad02a7708c25 by Miss Islington (bot) in branch '3.7': bpo-38183: Test_idle ignores user config directory GH-16198) https://github.com/python/cpython/commit/523497cbdc8292bfc12938aaaca0ad02a7708c25 --

[issue38183] test_idle fails on AMD64 FreeBSD CURRENT Shared 3.x: GetUserCfgDir() fails with PermissionError

2019-09-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 0048afc16a7e7301d5c565237db271505e5fbed9 by Terry Jan Reedy in branch 'master': bpo-38183: Test_idle ignores user config directory GH-16198) https://github.com/python/cpython/commit/0048afc16a7e7301d5c565237db271505e5fbed9 --

[issue38183] test_idle fails on AMD64 FreeBSD CURRENT Shared 3.x: GetUserCfgDir() fails with PermissionError

2019-09-16 Thread miss-islington
Change by miss-islington : -- pull_requests: +15812 pull_request: https://github.com/python/cpython/pull/16208 ___ Python tracker ___

[issue38183] test_idle fails on AMD64 FreeBSD CURRENT Shared 3.x: GetUserCfgDir() fails with PermissionError

2019-09-16 Thread miss-islington
Change by miss-islington : -- pull_requests: +15811 stage: commit review -> patch review pull_request: https://github.com/python/cpython/pull/16207 ___ Python tracker ___

[issue38183] test_idle fails on AMD64 FreeBSD CURRENT Shared 3.x: GetUserCfgDir() fails with PermissionError

2019-09-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: >From IDLE's viewpoint, the 2.7 failures are the same. In current 3.x, >GetUserCfgDir has warn = ('\n Warning: unable to create user config directory\n' + userDir + '\n Check path and permissions.\n Exiting!\n') if not idlelib.testing:

[issue38183] test_idle fails on AMD64 FreeBSD CURRENT Shared 3.x: GetUserCfgDir() fails with PermissionError

2019-09-16 Thread Terry J. Reedy
Change by Terry J. Reedy : -- keywords: +patch pull_requests: +15802 stage: -> patch review pull_request: https://github.com/python/cpython/pull/16198 ___ Python tracker ___

[issue38183] test_idle fails on AMD64 FreeBSD CURRENT Shared 3.x: GetUserCfgDir() fails with PermissionError

2019-09-16 Thread Kubilay Kocak
Kubilay Kocak added the comment: I've restarted the worker via sudo service(8), which shouldn't have the same (environment) issue as starting the rc script directly under sudo https://buildbot.python.org/all/#/builders/168/builds/1462 is running now Let me know if you need any further

[issue38183] test_idle fails on AMD64 FreeBSD CURRENT Shared 3.x: GetUserCfgDir() fails with PermissionError

2019-09-16 Thread STINNER Victor
STINNER Victor added the comment: I suggest to fix the buildbot workers right now. I plan to leave this issue open until test_idle is fixed. -- ___ Python tracker ___

[issue38183] test_idle fails on AMD64 FreeBSD CURRENT Shared 3.x: GetUserCfgDir() fails with PermissionError

2019-09-16 Thread Kubilay Kocak
Kubilay Kocak added the comment: This is related to issue 37400 and issue 27838 in that specific invocations of the buildbot service (like via sudo) cause the environment to be setup differently. In this case, I had just started the buildbot worker via sudo prior to the build starting and

[issue38183] test_idle fails on AMD64 FreeBSD CURRENT Shared 3.x: GetUserCfgDir() fails with PermissionError

2019-09-16 Thread STINNER Victor
STINNER Victor added the comment: Python 2.7, 3.7 and 3.8 buildbot workers are also affected. Python 2.7 fails differently: https://buildbot.python.org/all/#/builders/169/builds/166 0:04:53 load avg: 3.40 [217/404/1] test_idle failed -- running: test_decimal (31 sec 780 ms) Warning:

[issue38183] test_idle fails on AMD64 FreeBSD CURRENT Shared 3.x: GetUserCfgDir() fails with PermissionError

2019-09-16 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +koobs ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: