Skip to content

bpo-45382: test.pythoninfo logs more Windows versions - #30817

Merged
vstinner merged 2 commits into
python:mainfrom
vstinner:pythoninfo_win_ver
Jan 23, 2022
Merged

bpo-45382: test.pythoninfo logs more Windows versions#30817
vstinner merged 2 commits into
python:mainfrom
vstinner:pythoninfo_win_ver

Conversation

@vstinner

@vstinnervstinner commented Jan 23, 2022

Copy link
Copy Markdown
Member

Add the following info to test.pythoninfo:

  • windows.ver: output of the shell "ver" command
  • windows.version and windows.version_caption: output of the
    "wmic os get Caption,Version /value" command.

https://bugs.python.org/issue45382

@vstinnervstinner changed the title bpo-45382: test.pythoninfo logs Windows "ver" commandbpo-45382: test.pythoninfo logs more Windows versionsJan 23, 2022
Add the following info to test.pythoninfo:
* windows.ver: output of the shell "ver" command
* windows.version and windows.version_caption: output of the
"wmic os get Caption,Version /value" command.
@vstinner

Copy link
Copy Markdown
MemberAuthor

Tests / Windows (x64) (pull_request)

This job says:

windows.ver: Microsoft Windows [Version 10.0.17763.2452]
windows.version: 10.0.17763
windows.version_caption: Microsoft Windows Server 2019 Datacenter

Oh, that's interesting. I didn't know this Windows version: "Microsoft Windows Server 2019 Datacenter".

Tests / Windows (x86) (pull_request)

This job says:

windows.ver: Microsoft Windows [Version 10.0.17763.2452]
windows.version: 10.0.17763
windows.version_caption: Microsoft Windows Server 2019 Datacenter

@vstinner

Copy link
Copy Markdown
MemberAuthor

Azure Pipelines is being upgraded to Windows Server 2022: https://docs.microsoft.com/en-us/azure/devops/release-notes/2022/pipelines/sprint-198-update

@vstinner

Copy link
Copy Markdown
MemberAuthor

Oh @zooba modified the config yesterday to request explicitly Windows 2022 for the Windows jobs of the Azure Pipelines: commit 70c1646.

@vstinner

vstinner commented Jan 23, 2022

Copy link
Copy Markdown
MemberAuthor

Azure Pipelines PR jobs:

Windows PR Tests win64:

windows.ver: Microsoft Windows [Version 10.0.20348.469]
windows.version: 10.0.20348
windows.version_caption: Microsoft Windows Server 2022 Datacenter

Windows PR Tests win32:

windows.ver: Microsoft Windows [Version 10.0.20348.469]
windows.version: 10.0.20348
windows.version_caption: Microsoft Windows Server 2022 Datacenter

Ok, it confirms that Windows Server 2022 is being used on Azure Pipelines.

I can explain why bpo-41682 became more frequent recently: its because the Windows version changed ;-) (Well, it's still a bug in asyncio or the test.)

@vstinner

Copy link
Copy Markdown
MemberAuthor

FYI version of my Windows VM:

windows.ver: Microsoft Windows [Version 10.0.19043.1466]
windows.version: 10.0.19043
windows.version_caption: Microsoft Windows 10 Pro

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@vstinner@the-knights-who-say-ni@bedevere-bot