[issue15338] test_UNC_path failure in test_import

2012-07-13 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker ___ ___ P

[issue15338] test_UNC_path failure in test_import

2012-07-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset 7eac87fa7a06 by Antoine Pitrou in branch '2.7': Issue #15338: skip test_UNC_path when the current user doesn't have enough permissions to access the path. http://hg.python.org/cpython/rev/7eac87fa7a06 -- __

[issue15338] test_UNC_path failure in test_import

2012-07-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset 4d480a2a6296 by Antoine Pitrou in branch '3.2': Issue #15338: skip test_UNC_path when the current user doesn't have enough permissions to access the path. http://hg.python.org/cpython/rev/4d480a2a6296 New changeset 7d5e84a44b82 by Antoine Pitrou i

[issue15338] test_UNC_path failure in test_import

2012-07-13 Thread Tim Golden
Tim Golden added the comment: Simplest solution might be to catch PermissionError and call skipTest from within. This would allow buildbots to run the test which had access through the relevant share. -- ___ Python tracker

[issue15338] test_UNC_path failure in test_import

2012-07-13 Thread Tim Golden
Tim Golden added the comment: My guess is that it's to do with Service Hardening. I did a quick dump of my token in an interactive session and as the owner of a service. Quite a few differences. I haven't read up on this area yet so I'm not sure what options there are / how easy to get the neces

[issue15338] test_UNC_path failure in test_import

2012-07-13 Thread Jeremy Kloth
Jeremy Kloth added the comment: The buildbot service account is a standard user (per the buildbot servce installation directions). When logged on, the user can access the share. Just when logged on as a service is when it cannot. After much searching, I still cannot find any information on ho

[issue15338] test_UNC_path failure in test_import

2012-07-13 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +jkloth ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue15338] test_UNC_path failure in test_import

2012-07-13 Thread Tim Golden
Tim Golden added the comment: For this particular buildbot setup, maybe yes. But it would be possible in principle to have a buildbot configuration which could allow the test to execute. (eg one running under a user account which can access the path via an admin share). Does the buildbot owner h

[issue15338] test_UNC_path failure in test_import

2012-07-13 Thread Antoine Pitrou
Antoine Pitrou added the comment: > It's using an administrative share (\\server\d$) and those are usually > restricted with share permissions -- different from NTFS permissions. > That the process runs as a service is likely to have an effect since > services are conventionally run with minimum

[issue15338] test_UNC_path failure in test_import

2012-07-13 Thread Tim Golden
Tim Golden added the comment: It's using an administrative share (\\server\d$) and those are usually restricted with share permissions -- different from NTFS permissions. That the process runs as a service is likely to have an effect since services are conventionally run with minimum-privilege a

[issue15338] test_UNC_path failure in test_import

2012-07-13 Thread Antoine Pitrou
Antoine Pitrou added the comment: Well, this particular path is the build directory itself, so it's certainly accessible through the normal (non-UNC) path. There has to be something else :-) Jeremy told me his buildbot process runs as a service, perhaps that is related? --

[issue15338] test_UNC_path failure in test_import

2012-07-13 Thread Tim Golden
Tim Golden added the comment: Well os.listdir doesn't fail to access a UNC path on Windows x64 in general. So presumably this particular path is not accessible by the buildbot process owner? -- ___ Python tracker

[issue15338] test_UNC_path failure in test_import

2012-07-12 Thread Antoine Pitrou
Antoine Pitrou added the comment: Example URL for the aforementioned failure: http://buildbot.python.org/all/builders/AMD64%20Windows7%20SP1%203.x/builds/282/steps/test/logs/stdio -- ___ Python tracker __

[issue15338] test_UNC_path failure in test_import

2012-07-12 Thread Antoine Pitrou
New submission from Antoine Pitrou : On the Win64 buildbot, trying to access an UNC path raises PermissionError, which makes a test fail: == ERROR: test_UNC_path (test.test_import.PathsTests) ---