A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2014-May/134561.html below:

[Python-Dev] Questions regarding Windows buildbots

[Python-Dev] Questions regarding Windows buildbotsBrian Curtin brian at python.org
Tue May 13 01:21:06 CEST 2014
On Mon, May 12, 2014 at 5:16 PM, Claudiu Popa <pcmanticore at gmail.com> wrote:
> Hello!
>
> I'm working on a patch for issue bugs.python.org/issue8579 (Add
> missing tests for FlushKey, LoadKey, and SaveKey in winreg). This
> issue requires the SeBackupPrivilege in order to use LoadKey and
> SaveKey. While acquiring the privilege
> isn't very complicated using ctypes, it fails with
> ERROR_NOT_ALL_ASSIGNED (1300) when the
> user has Administrative privileges, but it's not an Administrator,
> problem which can be eluded by
> running the script with elevated privileges. This leads me to a couple
> of questions:
>
> - should a Windows test be skipped if it can't acquire a certain privilege?

Yes. Check out any of the os.symlink tests - they're currently skipped
when the symlink privilege isn't held.

> - If we can acquire the privilege by elevating our process, does the
> Windows buildbots have UAC
>  enabled and if so, how's the notification setting configured? For
> instance, elevating a process will
>  trigger a new UAC window with the message "Do you want to allow the
> following program from an unknown publisher to make  changes to this
> computer?" on the recommended configuration, but this doesn't happen
> when the configuration is set to  "Never notify".

That probably depends on how each machine is setup. If they happen to
get blocked on any individual slave, we'll just have to ask the owner
to change that setting.

Currently there are no Windows build slaves running as administrator.
I used to have one but the machine died and I never replaced it. I
also said a few months ago that I would get one setup again, but that
hasn't happened yet. I can get a new machine up and running but
probably not until next week as I'm at a conference.
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4