Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows-2016 environment removal postponed until April 1st, 2022 #5238

Closed
1 of 7 tasks
alepauly opened this issue Mar 15, 2022 · 63 comments
Closed
1 of 7 tasks

Windows-2016 environment removal postponed until April 1st, 2022 #5238

alepauly opened this issue Mar 15, 2022 · 63 comments

Comments

@alepauly
Copy link
Contributor

alepauly commented Mar 15, 2022

Breaking changes

Windows 2016 hosted runners were scheduled for full removal on March 15th, 2022. However, we are still seeing significant usage from customers and we want to give them more time to migrate to the new runners. In order to give customers another chance to move to either windows-2019 or windows-2022 we will delay the removal of windows-2016 until April 1st, 2022.

To raise awareness of the removal, we will have rolling 12-hour periods where the image will be unavailable for customers. During these "brownout" periods, customers will see an error message indicating that the image is slated for removal on April 1st, 2022. The schedule for those brownout periods is as follows for both Azure DevOps and GitHub Actions:

  1. Tuesday March 15, 20:00 UTC to March 16, 08:00 UTC
  2. Thursday March 17, 08:00 UTC to March 17, 20:00 UTC
  3. Friday March 18, 20:00 UTC to March 19, 08:00 UTC
  4. Monday March 21, 08:00 UTC to March 21, 20:00 UTC
  5. Tuesday March 22, 20:00 UTC to March 23, 08:00 UTC
  6. Wednesday March 23, 20:00 UTC to March 24, 08:00 UTC
  7. Friday March 25, 08:00 UTC to March 25, 20:00 UTC
  8. Sunday March 27, 20:00 UTC to March 28, 08:00 UTC
  9. Tuesday March 29 Wednesday March 30, 08:00 UTC to March 30, 20:00 UTC
  10. Full removal - April 1, 15:00 UTC

See the original announcement at #4312

Target date

April 1st, 2022

The motivation for the changes

Windows Server 2016 Active support ends on 11 Jan 2022 and Windows Server 2022 VM image is going out of beta later this year.
As part of our ongoing efforts to keep GitHub and Azure Devops hosted runners updated and secure, the Windows 2016 virtual environment will be removed from GitHub Actions and Azure DevOps.

Possible impact

Workflows targeting the Windows 2016 image will fail.

Virtual environments affected

  • Ubuntu 18.04
  • Ubuntu 20.04
  • macOS 10.15
  • macOS 11
  • Windows Server 2016
  • Windows Server 2019
  • Windows Server 2022

Mitigation ways

Change your workflows to use windows-latest, windows-2022, or windows-2019

@rdhaundiyal
Copy link

rdhaundiyal commented Mar 16, 2022

Hi, I am not using windows-2022 but still getting the error related to 2016
is it some side effect

##[Error 1]
This is a scheduled windows-2016 brownout. The windows-2016 environment is deprecated and will be removed on April 1st, 2022. For more details, see #5238

##[Error 2]
The remote provider was unable to process the request.

Deployment canceled by Microsoft.VisualStudio.Services.ReleaseManagement on 3/16/2022, 6:15 PM

@GokulKannanN
Copy link

We are using vmImageName: 'ubuntu-latest' but still we are getting this error.
what is the solution for this issue.

@rdhaundiyal
Copy link

update, it was the release agent which was by default picking up 2016-17 even after creating a new release from scratch, settign it manually to 2022 worked

@GokulKannanN
Copy link

worked

I did not understand. Can you please tell me where I have to update 2022.
because Ubuntu does not have 2022, its latest version is 20.04

@rdhaundiyal
Copy link

my issue was related to release , in the release pipeline -> edit, you have agent, clicking on the agent show you the provider
https://blog.novacare.no/devops-change-agent-specification-to-windows-latest/

@ManaliMnS
Copy link

worked

I did not understand. Can you please tell me where I have to update 2022. because Ubuntu does not have 2022, its latest version is 20.04

Go to your release pipeline. Edit . Go to agent job. Change agent specification to windows latest

@CodeIn24
Copy link

Hi, Just for better understanding, we have self-hosted agent on one of our machines having windows 2016 OS , so this means we have to upgrade the OS and re-host the agent for pipelines to keep running, am I missing anything?

This option will not work for us considering our setup:
image

@alepauly
Copy link
Contributor Author

Hi, Just for better understanding, we have self-hosted agent on one of our machines having windows 2016 OS , so this means we have to upgrade the OS and re-host the agent for pipelines to keep running, am I missing anything?

@CodeIn24 - this doesn't affect self-hosted agents. it's only related to the hosted Windows 2016 virtual environment. You don't need to change anything.

@CodeIn24
Copy link

CodeIn24 commented Mar 16, 2022

@alepauly good to know this, thanks

ajelinski added a commit to hdl/conda-eda that referenced this issue Mar 17, 2022
It's going to be unavailable after April 1st:
actions/runner-images#5238

Using `windows-latest` certainly isn't a problem for the two jobs which
are skipped because of their own issues and it should be fine for
`prjtrellis` too.
@Razakhel
Copy link

Razakhel commented Mar 17, 2022

Hello,

As is the custom with MSVC, the SDK currently available on the windows-2019 image is broken and does not compile:

C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\um\oaidl.h(502,17): error C2059: syntax error: '/'
C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\um\oaidl.h(530,17): error C2059: syntax error: '}'
C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\um\oaidl.h(531,13): error C2059: syntax error: '}'
C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\um\oaidl.h(533,9): error C2059: syntax error: '}'
C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\um\oaidl.h(534,5): error C2059: syntax error: '}'
C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\um\oaidl.h(665,16): error C2079: 'varDefaultValue' uses undefined struct 'tagVARIANT'
C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\um\oaidl.h(950,16): error C2079: 'varValue' uses undefined struct 'tagVARIANT'
C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\um\propidlbase.h(319,24): error C2059: syntax error: '/'
C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\um\propidlbase.h(378,37): error C2371: 'pvarVal': redefinition; different basic types
C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\um\oaidl.h(510): message : see declaration of 'pvarVal'
C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\um\propidlbase.h(379,9): error C2059: syntax error: '}'
C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\um\propidlbase.h(380,5): error C2059: syntax error: '}'
C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\um\propidlbase.h(383,3): error C2059: syntax error: '}'
C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\um\propidlbase.h(384,1): error C2059: syntax error: '}'

I did file a report on this a couple months ago in anticipation, but I guess many users will simply not be able to upgrade the version because of this. Using the windows-2022 image & VS 2022 works fine for me, but may not be suitable for others. Please either update the SDK or explicitly state that the 2019 image cannot be used for C & C++ users, so they can safely migrate to 2019 or 2022.

Thank you!

@toddbellamy
Copy link

We are getting the windows-2016 brownout error even though our Pipeline is using windows-latest and the log even shows that windows-2022 agent was used.
Why?

@jackweldon
Copy link

jackweldon commented Mar 17, 2022

@oddbellamy try
vmImageName: 'windows-2019'

ajelinski added a commit to hdl/conda-eda that referenced this issue Mar 17, 2022
It's going to be unavailable after April 1st:
actions/runner-images#5238
jf-06 added a commit to mfdlabs/ssl-go that referenced this issue Mar 17, 2022
Please refer to actions/runner-images#5238.

Disables windows server 2016 compatibility.

[SKIP CI][SKIP ANALYSIS]
jf-06 added a commit to mfdlabs/ssl-go that referenced this issue Mar 17, 2022
Please refer to actions/runner-images#5238.

Disables windows server 2016 compatibility.

[SKIP CI][SKIP ANALYSIS]
jf-06 added a commit to jf-06/goblox that referenced this issue Mar 17, 2022
Please refer to actions/runner-images#5238.

Disables windows server 2016 compatibility.

[SKIP CI][SKIP ANALYSIS]
jf-06 added a commit to jf-06/goblox that referenced this issue Mar 17, 2022
Please refer to actions/runner-images#5238.

Disables windows server 2016 compatibility.

[SKIP CI][SKIP ANALYSIS]
jf-06 added a commit to mfdlabs/ns1-to-zone-file that referenced this issue Mar 17, 2022
Please refer to actions/runner-images#5238.

Disables windows server 2016 compatibility.

[SKIP CI][SKIP ANALYSIS]
jf-06 added a commit to mfdlabs/ns1-to-zone-file that referenced this issue Mar 17, 2022
Please refer to actions/runner-images#5238.

Disables windows server 2016 compatibility.

[SKIP CI][SKIP ANALYSIS]
jf-06 added a commit to mfdlabs/grid-service-websrv that referenced this issue Mar 17, 2022
Please refer to actions/runner-images#5238.

Disables windows server 2016 compatibility.

[SKIP CI][SKIP ANALYSIS]
jf-06 added a commit to mfdlabs/grid-service-websrv that referenced this issue Mar 17, 2022
Please refer to actions/runner-images#5238.

Disables windows server 2016 compatibility.

[SKIP CI][SKIP ANALYSIS]
jf-06 added a commit to jf-06/RbxDataStoreService that referenced this issue Mar 17, 2022
Please refer to actions/runner-images#5238.

Disables windows server 2016 compatibility.

[SKIP CI][SKIP ANALYSIS]
@miketimofeev miketimofeev unpinned this issue Apr 14, 2022
TheMrMilchmann added a commit to TheMrMilchmann/setup-msvc-dev that referenced this issue Apr 16, 2022
N-Dekker added a commit to SuperElastix/elastix that referenced this issue Apr 26, 2022
Aims to address CI errors, saying:

> ##[error]This is a scheduled windows-2016 brownout. The windows-2016 environment is deprecated and will be removed on April 1st, 2022. For more details, see actions/runner-images#5238
> ,##[error]The remote provider was unable to process the request.

Note that this means that Visual Studio 2017 is no longer tested.
N-Dekker added a commit to SuperElastix/elastix that referenced this issue Apr 26, 2022
Aims to address CI errors, saying:

> ##[error]This is a scheduled windows-2016 brownout. The windows-2016 environment is deprecated and will be removed on April 1st, 2022. For more details, see actions/runner-images#5238
> ,##[error]The remote provider was unable to process the request.

Note that this means that Visual Studio 2017 is no longer tested.
@sachinbdoshi
Copy link

Well I just closed a case with Microsoft where they confirmed that Agent Pool with vs2017-2016 will be supported until June-2022 and here this article is saying it is being deprecated in April 2022. what is the real truth ? today we received the Windows 2016 brownout error in our build pipeline which is building win 2016 container images.

link to where microsoft updated the information that they will deprecate the agent pools with vs2017-2016 in June 2022.
https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/hosted?view=azure-devops&tabs=yaml#software

@Croydon
Copy link

Croydon commented Apr 26, 2022

striezel added a commit to striezel-stash/gil that referenced this issue Apr 26, 2022
The images with Windows Server 2016 / Visual Studio 2017 have
been deprecated by Microsoft and are in the process of being
removed completely, so that no further builds with that image
will be possible.

For reference, see
* <https://devblogs.microsoft.com/devops/hosted-pipelines-image-deprecation/>
* <actions/runner-images#5238>

Since it seems that Microsoft is basically using the same build
environments on both Azure and GitHub Actions when it comes to
Windows and Visual Studio, I decided to remove those jobs instead
of updating them to a newer version of the image. The tests that
would be possible with newer images on Azure are basically what
we are already doing with GitHub Actions.
@gene-keys
Copy link

IMPORTANT NOTE FOR THOSE OF YOU STILL STRUGGLING WITH WIN2016 BROWNOUT NOTICE.

CHECK EVERYTHING!

NOT JUST YOUR PIPELINE CODE, CHECK PIPELINE TRIGGERS POOLS. CHECK RELEASES POOLS, CHECK ALL THE POOLS EVERYWHERE ON YOUR DEVOPS ACCOUNT. WHAT WILL HAPPEN IS YOU WILL EVENTUALLY FIND SOMETHING STILL SET TO USE WIN2016 POOL. ONCE YOU FIND ALL OF THEM YOUR ACCOUNT WILL NO LONGER GET THE BROWNOUT NOTICE EVEN DURING THE SCHEDULED TIMES. SO IF YOU ARE GETTING THE NOTICE ITS NOT YOUR WIN2017 POOL, OR WIN-LATEST IN THE YML, ITS SOMETHING ELSE,

AZURE NOTICES ARE DOING A TERRIBLE JOB ON THIS WITH THEIR WORDING AND WHERE THE NOTICE APPEARS. THE NOTICE MEANS YOUR AZURE DEVOPS ACCOUNT IS STILL USING WINDWOS POOL SOMEWHERE, YOU DID NOT CHECK EVEYWHERE.

mloskot pushed a commit to boostorg/gil that referenced this issue Apr 26, 2022
The images with Windows Server 2016 / Visual Studio 2017 have
been deprecated by Microsoft and are in the process of being
removed completely, so that no further builds with that image
will be possible.

For reference, see
* <https://devblogs.microsoft.com/devops/hosted-pipelines-image-deprecation/>
* <actions/runner-images#5238>

Since it seems that Microsoft is basically using the same build
environments on both Azure and GitHub Actions when it comes to
Windows and Visual Studio, I decided to remove those jobs instead
of updating them to a newer version of the image. The tests that
would be possible with newer images on Azure are basically what
we are already doing with GitHub Actions.
@eli-schwartz
Copy link

New announcement is here #5403

I'm still getting brownout cancellations on Azure, which... mention April 1 (confusing) and link to this ticket, As a small UX thing, this should probably update the message text.

The exact job where I saw this is here: https://dev.azure.com/jussi0947/jussi/_build/results?buildId=14019&view=logs&j=e635d226-97b8-55eb-2970-00a63a10ba8b

@miketimofeev
Copy link
Contributor

@eli-schwartz sorry, we will change the message during the next brownout

@eli-schwartz
Copy link

@todd-fraser
Copy link

@eli-schwartz @miketimofeev is there anywhere I can find when this brownout will be over? The only dates I've found listed out specifically are for previous dates. I was asked to deploy after hours and now I'm getting this deprecation message I'm not able to fix tonight. Oops.

@eli-schwartz
Copy link

@todd-fraser the new brownout dates are listed at #5403 and hopefully for the next brownout we will get links pointing there instead. :)

@todd-fraser
Copy link

@eli-schwartz Thanks much! I'll keep working to change the agent tonight. Not my expertise exactly. Only deploying to Prod, what could possibly go wrong?

@eli-schwartz
Copy link

I dunno :) for my part, the CI for a build system just fails to test whether it correctly generates VS solution files for the windows-2016 environment (technically, for vs2017, but I think windows-2016 is the only image that has vs2017 installed) so it's a bit questionable whether we should remove those jobs at all.

In the meantime we simply ignore these cancellations. At some point we'll probably switch some jobs over to vs2019 and pray that no users still have vs2017 installed (or that we don't regress for it due to lack of test coverage).

What can go wrong? We could completely fail to generate solution files for an outdated toolchain that no one should use. 😆

@Ziya137200
Copy link

Breaking changes

Windows 2016 hosted runners were scheduled for full removal on March 15th, 2022. However, we are still seeing significant usage from customers and we want to give them more time to migrate to the new runners. In order to give customers another chance to move to either windows-2019 or windows-2022 we will delay the removal of windows-2016 until April 1st, 2022.

To raise awareness of the removal, we will have rolling 12-hour periods where the image will be unavailable for customers. During these "brownout" periods, customers will see an error message indicating that the image is slated for removal on April 1st, 2022. The schedule for those brownout periods is as follows for both Azure DevOps and GitHub Actions:

  1. Tuesday March 15, 20:00 UTC to March 16, 08:00 UTC
  2. Thursday March 17, 08:00 UTC to March 17, 20:00 UTC
  3. Friday March 18, 20:00 UTC to March 19, 08:00 UTC
  4. Monday March 21, 08:00 UTC to March 21, 20:00 UTC
  5. Tuesday March 22, 20:00 UTC to March 23, 08:00 UTC
  6. Wednesday March 23, 20:00 UTC to March 24, 08:00 UTC
  7. Friday March 25, 08:00 UTC to March 25, 20:00 UTC
  8. Sunday March 27, 20:00 UTC to March 28, 08:00 UTC
  9. Tuesday March 29 Wednesday March 30, 08:00 UTC to March 30, 20:00 UTC
  10. Full removal - April 1, 15:00 UTC

See the original announcement at #4312

Target date

April 1st, 2022

The motivation for the changes

Windows Server 2016 Active support ends on 11 Jan 2022 and Windows Server 2022 VM image is going out of beta later this year. As part of our ongoing efforts to keep GitHub and Azure Devops hosted runners updated and secure, the Windows 2016 virtual environment will be removed from GitHub Actions and Azure DevOps.

Possible impact

Workflows targeting the Windows 2016 image will fail.

Virtual environments affected

  • Ubuntu 18.04
  • Ubuntu 20.04
  • macOS 10.15
  • macOS 11
  • Windows Server 2016
  • Windows Server 2019
  • Windows Server 2022

Mitigation ways

Change your workflows to use windows-latest, windows-2022, or windows-2019

Duplicate of #

@Kalmuraee
Copy link

My issue is on deployment of the release in azure, I have no idea how to change that to windows-latest.

N-Dekker added a commit to N-Dekker/noexcept_benchmark that referenced this issue Jun 8, 2022
According to https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/hosted?view=azure-devops&tabs=yaml#use-a-microsoft-hosted-agent
>
> In December 2021, we removed the following Azure Pipelines hosted image:
>    macOS X Mojave 10.14 (macOS-10.14)

And issue actions/runner-images#5238 "Windows-2016 environment removal postponed until April 1st, 2022"
ralphlange added a commit to ralphlange/ci-scripts that referenced this issue Jul 21, 2022
- remove ubuntu-16, windows-2016, macos-10.15
  see actions/runner-images#5238
  see actions/runner-images#5583
- add ubuntu-22, macos-12, macos-11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests