Home

Why bugs in Windows updates increased

%3CLINGO-SUB%20id%3D%22lingo-sub-880672%22%20slang%3D%22en-US%22%3ERe%3A%20Why%20bugs%20in%20Windows%20updates%20increased%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-880672%22%20slang%3D%22en-US%22%3EI%20hope%20Microsoft%20improves%20the%20Telemetry%20tools%20inside%20Windows%2010%20to%20better%20catch%20the%20bugs%2C%20so%20that%20if%20a%20bug%20happens%20somewhere%2C%20even%20if%20the%20user%20don't%20report%20it%2C%20the%20Telemetry%20and%20diagnostics%20tools%20in%20the%20Windows%2010%20catch%20it%20and%20report%20it%20to%20back%20Microsoft.%3CBR%20%2F%3E%3CBR%20%2F%3EI%20also%20hope%20they%20make%20a%20small%20team%20to%20work%20on%20real%20hardware%20with%20Windows%2010%2C%20instead%20of%20virtualized%20ones%2C%20to%20prevent%20driver%20issues%20that%20people%20experience%20time%20to%20time%20after%20a%20new%20Windows%2010%20build%20ships%20broadly%20to%20everyone.%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-880663%22%20slang%3D%22en-US%22%3EWhy%20bugs%20in%20Windows%20updates%20increased%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-880663%22%20slang%3D%22en-US%22%3E%3CP%3EHas%20the%20number%20of%20bugs%20in%20Windows%20updates%20increased%20in%20the%20past%20couple%20of%20years%3F%20If%20so%2C%20what%20is%20the%20reason%20for%20the%20increase%20in%20bugs%3F%20That's%20the%20question%20that%20former%20Microsoft%20Senior%20SDET%20Jerry%20Berg%20answered.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBerg%20worked%20for%2015%20years%20at%20Microsoft%20and%20one%20of%20his%20roles%20was%20to%20design%20and%20develop%20tools%20and%20processes%20to%20automate%20testing%20for%20the%20Microsoft%20Windows%20operating%20system.%20He%20left%20the%20company%20after%20Windows%208.1%20shipped%20to%20the%20public.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EMicrosoft%20changed%20testing%20processes%20significantly%20in%20the%20past%20couple%20of%20years.%20Berg%20describes%20how%20testing%20was%20done%20in%20the%20late%202014%20early%202015%20period%20and%20how%20Microsoft's%20testing%20processes%20changed%20since%20then.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBack%20in%202014%2F2015%2C%20Microsoft%20employed%20an%20entire%20team%20that%20was%20dedicated%20to%20testing%20the%20operating%20system%2C%20builds%2C%20updates%2C%20drivers%2C%20and%20other%20code.%20The%20team%20consisted%20of%20multiple%20groups%20that%20would%20run%20tests%20and%20discuss%20bugs%20and%20issues%20in%20daily%20meetings.%20Tests%20were%20conducted%20manually%20by%20the%20team%20and%20through%20automated%20testing%2C%20and%20if%20tests%20were%20passed%2C%20would%20give%20the%20okay%20to%20integrate%20the%20code%20into%20Windows.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F133951iAE2415F2A1DA86A5%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22windows-10-display-telemetry-data%22%20title%3D%22windows-10-display-telemetry-data%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20teams%20ran%20the%20tests%20on%20%22real%22%20hardware%20in%20a%20lab%20through%20automated%20testing.%20The%20machines%20had%20different%20hardware%20components%2C%20e.g.%20processors%2C%20hard%20drives%2C%20video%20and%20sound%20cards%2C%20and%20other%20components%20to%20cover%20a%20wide%20range%20of%20system%20configurations%2C%20and%20this%20meant%20that%20bugs%20that%20affected%20only%20certain%20hardware%20components%20or%20configurations%20were%20detected%20in%20the%20process.%3C%2FP%3E%3CP%3EMicrosoft%20laid%20off%20almost%20the%20entire%20Windows%20Test%20team%20as%20it%20moved%20the%20focus%20from%20three%20different%20systems%20--%20Windows%2C%20Windows%20Mobile%20and%20Xbox%20--%20to%20a%20single%20system.%20The%20company%20moved%20most%20of%20the%20testing%20to%20virtual%20machines%20and%20this%20meant%20that%20%3CSTRONG%3Etests%20were%20no%20longer%20conducted%20on%20real%20and%20diverse%20hardware%20configurations%20for%20the%20most%20part.%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3EMicrosoft%20employees%20could%20self-host%20Windows%20which%20would%20mean%20that%20their%20machines%20would%20also%20be%20used%20for%20testing%20purposes.%20The%20main%20idea%20behind%20that%20was%20to%20get%20feedback%20from%20Microsoft%20employees%20when%20they%20encountered%20issues%20that%20they%20encountered%20during%20work%20days.%20Berg%20notes%20that%20self-hosting%20is%20not%20as%20widely%20used%20anymore%20as%20it%20was%20before.%3C%2FP%3E%3CP%3EThe%20main%20sources%20of%20testing%20data%2C%20apart%20from%20the%20automated%20test%20systems%20that%20are%20in%20place%2C%20comes%20from%20Telemetry%20and%20Windows%20Insiders.%20Windows%20Insider%20builds%20are%20installed%20on%20millions%20of%20devices%20and%20Microsoft%20collects%20Telemetry%20from%20all%20of%20these%20devices.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20something%20crashes%2C%20Microsoft%20gets%20information%20about%20it.%20One%20of%20the%20issues%20associated%20with%20the%20collecting%20of%20Telemetry%20is%20that%20%3CSTRONG%3Emost%20bugs%20are%20not%20caught%20by%20it%3C%2FSTRONG%3E.%20If%20something%20does%20not%20work%20right%2C%20Microsoft%20may%20not%20be%20able%20to%20discern%20the%20relevant%20bits%20from%20Telemetry%20data.%20While%20it%20is%20in%20theory%20possible%20that%20users%20report%20issues%2C%20many%20don't%20and%20at%20other%20times%2C%20issues%20may%20go%20under%20because%20of%20other%20feedback%20that%20Microsoft%20gets%20from%20Insiders.%20Additionally%2C%20while%20Insiders%20may%20report%20bugs%2C%20it%20is%20often%20the%20case%20that%20%3CSTRONG%3Enecessary%20information%20is%20not%20supplied%20to%20Microsoft%3C%2FSTRONG%3E%20which%20poses%20huge%20issues%20for%20the%20engineers%20tasked%20with%20resolving%20these%20issues.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3ETip%3C%2FSTRONG%3E%3A%20you%20can%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fwindows%2Fprivacy%2Fwindows-personal-data-services-configuration%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Eview%20the%20Telemetry%20data%20that%20Microsoft%20collects%3C%2FA%3E.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBack%20in%202014%2F2015%2C%20Microsoft's%20Testing%20team%20would%20be%20tasked%20with%20analyzing%20bugs%20and%20issues%2C%20and%20supplying%20engineers%20with%20the%20data%20they%20required%20to%20resolve%20these.%20Nowadays%2C%20it%20is%20Telemetry%20that%20the%20engineers%20look%20at%20to%20figure%20out%20how%20to%20fix%20these%20issues%20and%20fixes%20are%20then%20pushed%20to%20customer%20devices%20running%20Insider%20Builds%20again%20to%20see%20if%20the%20issue%20got%20fixed%20or%20if%20it%20created%20new%20bugs.%3C%2FP%3E%3CP%3EOne%20of%20the%20main%20reasons%20why%20Microsoft%20stopped%20pushing%20out%20new%20feature%20updates%20to%20everyone%20at%20once%20was%20that%20issues%20that%20were%20not%20detected%20by%20the%20processed%20could%20potentially%20affect%20a%20large%20number%20of%20customers.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ETo%20avoid%20total%20disasters%20like%20the%3CSTRONG%3E%20Windows%2010%20version%201809%20launch%3C%2FSTRONG%3E%2C%20gradual%20rollouts%20were%20introduced%20that%20would%20prevent%20feature%20updates%20from%20being%20delivered%20via%20Windows%20Update%20to%20the%20majority%20of%20machines%20in%20the%20early%20days%20of%20the%20release.%3C%2FP%3E%3CH3%20id%3D%22toc-hId-1627236680%22%20id%3D%22toc-hId-1627236680%22%3EClosing%20Words%3C%2FH3%3E%3CP%3EMicrosoft%20exchanged%20the%20in-house%20Testing%20team%20with%20Telemetry%20data%20that%20it%20gathers%20from%20Insider%20Builds%20that%20it%20pushes%20to%20consumer%20and%20business%20devices%2C%20and%20replaced%20much%20of%20the%20PCs%20that%20it%20used%20for%20testing%20with%20%3CFONT%20color%3D%22%23000000%22%3E%3CSTRONG%3Evirtual%20environments.%3C%2FSTRONG%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CFONT%20color%3D%22%23000000%22%3E%3CA%20href%3D%22https%3A%2F%2Fyoutu.be%2FS9kn8_oztsA%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fyoutu.be%2FS9kn8_oztsA%3C%2FA%3E%3C%2FFONT%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-880663%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EBugs%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EInsider%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ETelemetry%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EUpdates%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Ewindows%2010%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Highlighted
HotCakeX
Esteemed Contributor

Has the number of bugs in Windows updates increased in the past couple of years? If so, what is the reason for the increase in bugs? That's the question that former Microsoft Senior SDET Jerry Berg answered.

 

Berg worked for 15 years at Microsoft and one of his roles was to design and develop tools and processes to automate testing for the Microsoft Windows operating system. He left the company after Windows 8.1 shipped to the public.

 

Microsoft changed testing processes significantly in the past couple of years. Berg describes how testing was done in the late 2014 early 2015 period and how Microsoft's testing processes changed since then.

 

Back in 2014/2015, Microsoft employed an entire team that was dedicated to testing the operating system, builds, updates, drivers, and other code. The team consisted of multiple groups that would run tests and discuss bugs and issues in daily meetings. Tests were conducted manually by the team and through automated testing, and if tests were passed, would give the okay to integrate the code into Windows.

 

windows-10-display-telemetry-data

 

The teams ran the tests on "real" hardware in a lab through automated testing. The machines had different hardware components, e.g. processors, hard drives, video and sound cards, and other components to cover a wide range of system configurations, and this meant that bugs that affected only certain hardware components or configurations were detected in the process.

Microsoft laid off almost the entire Windows Test team as it moved the focus from three different systems -- Windows, Windows Mobile and Xbox -- to a single system. The company moved most of the testing to virtual machines and this meant that tests were no longer conducted on real and diverse hardware configurations for the most part.

Microsoft employees could self-host Windows which would mean that their machines would also be used for testing purposes. The main idea behind that was to get feedback from Microsoft employees when they encountered issues that they encountered during work days. Berg notes that self-hosting is not as widely used anymore as it was before.

The main sources of testing data, apart from the automated test systems that are in place, comes from Telemetry and Windows Insiders. Windows Insider builds are installed on millions of devices and Microsoft collects Telemetry from all of these devices.

 

If something crashes, Microsoft gets information about it. One of the issues associated with the collecting of Telemetry is that most bugs are not caught by it. If something does not work right, Microsoft may not be able to discern the relevant bits from Telemetry data. While it is in theory possible that users report issues, many don't and at other times, issues may go under because of other feedback that Microsoft gets from Insiders. Additionally, while Insiders may report bugs, it is often the case that necessary information is not supplied to Microsoft which poses huge issues for the engineers tasked with resolving these issues.

 

Tip: you can view the Telemetry data that Microsoft collects

 

Back in 2014/2015, Microsoft's Testing team would be tasked with analyzing bugs and issues, and supplying engineers with the data they required to resolve these. Nowadays, it is Telemetry that the engineers look at to figure out how to fix these issues and fixes are then pushed to customer devices running Insider Builds again to see if the issue got fixed or if it created new bugs.

One of the main reasons why Microsoft stopped pushing out new feature updates to everyone at once was that issues that were not detected by the processed could potentially affect a large number of customers.

 

To avoid total disasters like the Windows 10 version 1809 launch, gradual rollouts were introduced that would prevent feature updates from being delivered via Windows Update to the majority of machines in the early days of the release.

Closing Words

Microsoft exchanged the in-house Testing team with Telemetry data that it gathers from Insider Builds that it pushes to consumer and business devices, and replaced much of the PCs that it used for testing with virtual environments.

 

https://youtu.be/S9kn8_oztsA

Let me tell you why Microsoft Windows 10 has so many bugs with every new Windows Update from my perspective as a former Senior Software Developer (SDET) that...
1 Reply
Highlighted
I hope Microsoft improves the Telemetry tools inside Windows 10 to better catch the bugs, so that if a bug happens somewhere, even if the user don't report it, the Telemetry and diagnostics tools in the Windows 10 catch it and report it to back Microsoft.

I also hope they make a small team to work on real hardware with Windows 10, instead of virtualized ones, to prevent driver issues that people experience time to time after a new Windows 10 build ships broadly to everyone.