-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Comments
Hi, I am not using windows-2022 but still getting the error related to 2016 ##[Error 1] ##[Error 2] Deployment canceled by Microsoft.VisualStudio.Services.ReleaseManagement on 3/16/2022, 6:15 PM |
We are using vmImageName: 'ubuntu-latest' but still we are getting this error. |
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 |
I did not understand. Can you please tell me where I have to update 2022. |
my issue was related to release , in the release pipeline -> edit, you have agent, clicking on the agent show you the provider |
Go to your release pipeline. Edit . Go to agent job. Change agent specification to windows latest |
@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. |
@alepauly good to know this, thanks |
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.
Hello, As is the custom with MSVC, the SDK currently available on the
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 Thank you! |
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. |
@oddbellamy try |
It's going to be unavailable after April 1st: actions/runner-images#5238
Please refer to actions/runner-images#5238. Disables windows server 2016 compatibility. [SKIP CI][SKIP ANALYSIS]
Please refer to actions/runner-images#5238. Disables windows server 2016 compatibility. [SKIP CI][SKIP ANALYSIS]
Please refer to actions/runner-images#5238. Disables windows server 2016 compatibility. [SKIP CI][SKIP ANALYSIS]
Please refer to actions/runner-images#5238. Disables windows server 2016 compatibility. [SKIP CI][SKIP ANALYSIS]
Please refer to actions/runner-images#5238. Disables windows server 2016 compatibility. [SKIP CI][SKIP ANALYSIS]
Please refer to actions/runner-images#5238. Disables windows server 2016 compatibility. [SKIP CI][SKIP ANALYSIS]
Please refer to actions/runner-images#5238. Disables windows server 2016 compatibility. [SKIP CI][SKIP ANALYSIS]
Please refer to actions/runner-images#5238. Disables windows server 2016 compatibility. [SKIP CI][SKIP ANALYSIS]
Please refer to actions/runner-images#5238. Disables windows server 2016 compatibility. [SKIP CI][SKIP ANALYSIS]
Support has been removed. See actions/runner-images#5238.
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.
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.
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. |
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.
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. |
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.
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 |
@eli-schwartz sorry, we will change the message during the next brownout |
BTW the message is still the old one :) seen today in https://dev.azure.com/jussi0947/jussi/_build/results?buildId=14088&view=logs&j=678c5357-36f0-50cc-b96e-1a6f7149eed2 |
@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. |
@todd-fraser the new brownout dates are listed at #5403 and hopefully for the next brownout we will get links pointing there instead. :) |
@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? |
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. 😆 |
Duplicate of # |
My issue is on deployment of the release in azure, I have no idea how to change that to windows-latest. |
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"
- 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
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
orwindows-2022
we will delay the removal ofwindows-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:
Tuesday March 29Wednesday March 30, 08:00 UTC to March 30, 20:00 UTCSee 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
Mitigation ways
Change your workflows to use
windows-latest
,windows-2022
, orwindows-2019
The text was updated successfully, but these errors were encountered: