Closed Bug 810141 Opened 7 years ago Closed 7 years ago

Deploy the Windows 8 SDK + modified asyncinfo.h to all win64 builders

Categories

(Infrastructure & Operations :: CIDuty, task, P2)

x86_64
Windows Server 2008

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: armenzg, Assigned: armenzg)

References

Details

Attachments

(2 files, 4 obsolete files)

Let's get this done in preparation for when jimm says "let's do this boys!" and need to deploy it everywhere.

I know that the header can be deployed with this:

# ssh as Administrator - removing/copying operations takes a bit of time
C:\mozilla-build\wget\wget.exe -Oasyncinfo.h https://bugzilla.mozilla.org/attachment.cgi?id=678752
rm "C:\Program Files (x86)\Windows Kits\8.0\Include\winrt\asyncinfo.h"
cp asyncinfo.h "C:\Program Files (x86)\Windows Kits\8.0\Include\winrt\asyncinfo.h"
Assignee: nobody → armenzg
OS: Mac OS X → Windows Server 2008
Priority: -- → P2
Hardware: x86 → x86_64
Attached file install_windows_8_0.bat (obsolete) —
Attachment #680674 - Flags: review?(mlarrain)
Attachment #680674 - Flags: review?(jmathies)
The sdksetup.exe was obtained from here:
http://msdn.microsoft.com/en-us/windows/desktop/hh852363.aspx

I have set w64-ix-slave70 aside for this and I will put it back into the production pool as we did with w64-ix-slave79.

REM ssh Administrator@w64-ix-slaveXX
C:\mozilla-build\wget\wget.exe -Oinstall_windows_sdk_8_0.bat "https://bugzilla.mozilla.org/attachment.cgi?id=680674"
install_windows_sdk_8_0.bat 

Here is the output of the script after it gets run:
#########################
C:\Users\Administrator>install_windows_sdk_8_0.bat
"The Windows SDK 8.0 is not installed."
"Installing the SDK..."
"Replacing asyncinfo.h..."
"asyncinfo.h has been replaced!"
"The Windows SDK 8.0 has been installed correctly."

C:\Users\Administrator>install_windows_sdk_8_0.bat
"The Windows SDK 8.0 is already installed."
#########################

On a side note, it is interesting to read the following:
http://msdn.microsoft.com/en-us/windows/desktop/hh852363.aspx#rn
".NET Framework 4.5 SDK Tools on Windows Vista and Windows Server 2008

The installer for the Windows SDK for Windows 8 is not supported on Windows Vista and Windows 2008 Server. However, if you have another computer with a supported operating system, you can install the .NET Framework 4.5 SDK Tools on Windows 2008 Server by following these steps."
Comment on attachment 680674 [details]
install_windows_8_0.bat

I can approve this in terms of the scripting. One suggestion I'd make would be to pull the sdk down to a local mozilla server so you don't have to hit ms's servers for every install.
Attachment #680674 - Flags: review?(jmathies) → review+
Given past issues of needing to recreate stuff for community/etc. I'd +1 jimm's suggestion of pulling the installer to a local mozilla server.

I also hit similar issue with Apple XCode (wrong hash when downloaded from apple, compared to what we had installed, and had build errors) etc.

Storing somewhere, [and documenting where] has sooo many added benefits :-)
No worries. I will keep it somewhere internal.

jimm, I asked this in another bug but I don't remember where.
Should we go ahead and deploy this?
or closer to when we want to integrate to mozilla-central?

Perhaps we can request switching the SDK on mozilla-central before we're ready to merge Elm.

You say.
Might as well get it deployed, can't think of any reason not too.
Sounds good.
Hopefully tomorrow morning.
Attached file install_windows_sdk_8_0.bat (obsolete) —
Inside of the Mozilla networks.


ssh as Administrator
C:\mozilla-build\wget\wget.exe https://github.com/armenzg/bearded-ironman/raw/master/WINNT6.2_x86-64/install_windows_sdk_8.0.bat
install_windows_sdk_8.0.bat
Attachment #681111 - Flags: review?(jmathies)
Attachment #680674 - Flags: review?(mlarrain)
Attached file install_windows_sdk_8_0.bat (obsolete) —
This one!
Attachment #680674 - Attachment is obsolete: true
Attachment #681111 - Attachment is obsolete: true
Attachment #681111 - Flags: review?(jmathies)
Attachment #681117 - Flags: review?(jmathies)
Comment on attachment 681117 [details]
install_windows_sdk_8_0.bat

Sorry about that.I will attach the correct one once I re-verify it.
Attachment #681117 - Attachment is obsolete: true
Attachment #681117 - Flags: review?(jmathies)
Attached file install_windows_sdk_8_0.bat (obsolete) —
And finally!
Attachment #681122 - Flags: review?(jmathies)
Attached file asyncinfo.h
This is so we keep all patches within the same bug.
Attachment #681122 - Flags: review?(jmathies) → review+
I will have to try another time.
It seems that Microsoft might be going through some networking issues.

Running the SDK locally tells me that we can't reach Microsoft:
http://cl.ly/Kt8M

I can't create a StandaloneSDK either.
It seems that yesterday they took the Windows SDK down:
"Note: The Windows SDK for Windows 8 is temporarily unavailable. We apologize for the inconvenience."
http://msdn.microsoft.com/en-us/windows/desktop/hh852363.aspx

They have removed these components from it:
'''
By removing the command-line build environment, the Windows SDK no longer ships the following components:

    Windows SDK Platform Toolset
    Visual C++ Compilers and C Runtime (CRT)
    Windows SDK Configuration Tool
...
Tools Many obsolete or deprecated tools have been removed from the Windows SDK. The following tools have been removed:

Apatch.exe, Bind.exe, Checkv4.exe, Consume.exe, DeviceSimulatorForWindowsSideShow.msi, Err.exe, FDBrowser.exe, FXCopSetup.exe, Guidgen.exe, Make-Shell.exe, MDbg.exe, Mpatch.exe, MSIZap.exe, PTConform.exe, ReBase.exe, sddlgen.exe, setenv.cmd, SetReg.exe, SoapSuds.exe, Sporder.exe, TcpAnalyzer.exe, TSPDesigner.exe, UTL2IDL.exe, ValidateSD.exe, VirtualLightSensor.exe, WinDiff.exe, WpfPerf.exe
'''

When I try to create an StandalonseSDK I get "cannot locate the sdk_tools4.msi":
http://cl.ly/KvLG

If I remove the ".Net framework 4.5" I can create the StandaloneSDK.
Here's what I marked (Y:Yes,F:Forced/checked,N:No):
[Y] "Windows Software Development Kit"
[Y] "Windows Performance Toolkit"
[Y] "Debugging Tools for Windows"
[Y] "Application Verifier for Windows"
[F] "Microsoft .NET Framework 4.0"
[N] ".Net Framework 4.5 Software Development Kit"
[Y] "Windows App Certification Kit"

jimm, how should I proceed? Should I wait a week and see when they put the SDK back up?
(In reply to Armen Zambrano G. [:armenzg] from comment #14)
> It seems that yesterday they took the Windows SDK down:
> "Note: The Windows SDK for Windows 8 is temporarily unavailable. We
> apologize for the inconvenience."
> http://msdn.microsoft.com/en-us/windows/desktop/hh852363.aspx

I have a local copy of the stand alone install, if you want I can put it up someplace.
Actually it's unpacked, I have 

sdksetup.exe
UserExperienceManifest.xml
Installers/(files)

where Installers contains about 130 items, including cabs and msi files.
bbondy's going to ping our ms win8 contact, see if they'll be willing to shed some light on what's going on.
I will try it in the morning.
It worked. I have noticed that it takes a much longer time to install (around 10 minutes).

I will create a StandaloneSDK and see if that works better.
In fact, it might be the way to go since we don't want future installations to be different.

New instructions:
* ssh as Administrator and run:
C:\mozilla-build\wget\wget.exe https://github.com/armenzg/bearded-ironman/raw/master/win2008_64bit/install_windows_sdk_8.0.bat
install_windows_sdk_8.0.bat
rm install_windows_sdk_8.0.bat
rm sdksetup*.txt
What do you think of the latest version of the bat file?
C:\mozilla-build\wget\wget.exe https://github.com/armenzg/bearded-ironman/raw/master/win2008_64bit/install_windows_standalone_sdk_8.0.bat
install_windows_standalone_sdk_8.0.bat
rm install_windows_sdk_8.0.bat

These steps have proven to work.
Flags: needinfo?(jmathies)
Attachment #681122 - Attachment is obsolete: true
Comment on attachment 683693 [details]
install_windows_standalone_sdk_8_0.bat

Looks ok to me.
Attachment #683693 - Flags: feedback+
Flags: needinfo?(jmathies)
I will deploy this in the morning.
(In reply to Armen Zambrano G. [:armenzg] from comment #25)
> I will deploy this in the morning.

After this is complete, will this be on all builders in production? (like for example, the builders that do try server builds?)
(In reply to Jim Mathies [:jimm] from comment #26)
> (In reply to Armen Zambrano G. [:armenzg] from comment #25)
> > I will deploy this in the morning.
> 
> After this is complete, will this be on all builders in production? (like
> for example, the builders that do try server builds?)

That's correct.
Summary: Figure out how to deploy the Windows 8 SDK + modified asyncinfo.h → Deploy the Windows 8 SDK + modified asyncinfo.h to all win64 builders
It got very busy today with all my meetings.
I will deploy this tomorrow and be happy since it is a holiday in the US and will make things easier for me :)
This got deployed to all win64 builders.

jimm, could you try pushing to the try server to verify that we can switch to the Windows SDK for Windows 8?

Once you think we're ready I can make the Elm pool (5 slaves) to be the same as the rest of production pool of slaves.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
(In reply to Armen Zambrano G. [:armenzg] from comment #29)
> jimm, could you try pushing to the try server to verify that we can switch
> to the Windows SDK for Windows 8?


Will do.
Product: mozilla.org → Release Engineering
Component: Platform Support → Buildduty
Product: Release Engineering → Infrastructure & Operations
You need to log in before you can comment on or make changes to this bug.