HomeQA>DevQA>LifeQA>BugsQA>QA
 
  

Wheeler's Law of Software Deployments to Test Regions Or Why Most Testing Starts are Delayed between 4 and 24 Business Hours

May 21, 2020

Photo by Luke Bender - Sipping Margaritas Somewhere Amazing

So Many Laws, So Little Time Until Our Go-Live Date

I am not sure what law of the universe this is, or if it has a name, but it is universal.

Wheeler's Law

Maybe I'll call this Wheeler's Law, which is really just an instantiation of Murphy's law with special methods and wrappers that apply to software development teams -- if anything can go wrong with a deployment to a test region, it will. This will specifically delay software testing by an average minimum of 4 business hours and average maximum of 24 business hours. That's up to 3 business days for those keeping score at home.

And, no matter what, it will be the QA team's fault.

To quote the TV detective Adrian Monk,

  • We don't know how QA did it, i.e., caused all these delays, but we know QA did it
  • We also don't know why QA did it, but we know QA did it

Who might say this, you ask? At least, but not limited to, the following people:

  • devs
  • dev managers
  • pm's
  • senior leadership
  • business reps working with IT
  • as well as any people milling around near the water cooler at the same time as any of the aforementioned people

You may laugh at the last aspect of Wheeler's law of software deployments to test regions, but this is how it will be summarized in management meetings.

We had delays in Quality Assurance (QA) testing, that the QA team is now trying to make up by working through the weekend. Don't worry. They don't mind. They are team players.

Devs to the Rescue - Sort of

The devs don't stand up at this point and say --- well, to be fair, there were some "hiccups" in the software deployment to the test region that involved us as well, so it's really not a QA delay, per say, but rather a delay and added pressure on the project's deadline caused by the following types of factors:

  • oops, forgot to deploy a database change to that region (3.5 hrs delay)
  • oops, forgot to change the properties file in that region (1.25 hr delay)
  • oops, didn't check in the batch file code (2.5 hr delay)
  • oh crap, someone deleted the history tables (4.5 hour delay)
  • oops, the server needs a reboot after deployment (1.15 hour delay)
  • oh no, some security settings have changed, and the security team wasn't notified that they also apply to the test region (6-7 hr delay)
  • oops, it doesn't work on existing customer records until we run an update job (3.5 hour delay)
  • oops, so and so also had to deploy their code, so my code doesn't work right now (5 hour delay)

Devs everywhere will be horrified at these delay times. They will cry that they are bloated, pulled out of left field, overstated, biased, etc.

Don't worry, I'll explain

Why Hindrances are so hindering

Devs must remember that the delay times include some of these "minor" facts of office life generally and software development specifically:

  • the time it took QA to find the problem, i.e., bad (or invalid) testing time
  • the time it took QA to report the problem, including:
    • time to re-produce the problem
    • time to confirm proper testing procedures were followed
    • time to double and triple check things, so as to withstand the accusations by devs that QA overlooked something
  • the time it took to have the dev manager yell at QA for something or the other
  • the time it took for the dev to learn of the problem, including time allotted for
    • coffee breaks
    • chats with colleagues
    • responding to subreddits and stackoverflow questions before
    • recognizing they have a problem in their queue
    • the time it takes the Dev to fix the problem (5 minutes)
  • the time it takes to notify database, deployment, integration, environment, etc. people of the required change
  • the time it takes for those teams to respond and hit their associated buttons or run the requested jobs (another 5 minutes for hitting the button)
  • the time it takes to re-deploy software as necessary
  • the time it takes to notify the QA team
  • the time it takes to re-start the test from scratch b/c you're test data is all shot to hell & useless at this point
  • the time it takes the QA team to
    • write an extensive email to the pm's and or execs about the delay that "QA caused"
    • elaborate on the planned mitigation strategies, explaining that we're really not in "yellow" status because of this delay, because the QA team will naturally be working the weekend to help mitigate the risk they caused by this delay
  • the time it takes to repeatedly write the phrase "the time it takes"

Rock Stars

Some Devs are Rock Stars

Some devs not only acknowledge that these delays exist and truly impact the chance for a QA team to infuse quality into a product, they also defend QA teams and recognize the delays as an engineering team problem and not a QA problem.

Such devs must be remembered as the rock stars they are. I know they are rock stars because I have the ticket stubs from their last rock concerts to prove it.

Other Devs Drink Margaritas like Rock Stars after the Victory of Dev Complete is Declared

Many devs I've met and worked with over the years won't acknowledge that Wheeler's Law of software deployments to test regions exists. Because they don't believe the problem exists, they do not come to QA's rescue when delays impact their life. By defend, I don't mean anything heroic -- a simple acknowledgement would do. But when execs, managers, pm's, and the business are grilling QA about all of the QA delays, silence pervades.

These devs have been sipping margaritas like rock stars at some relaxing location for so long they don't even remember there's a project going on. After all, they've been "Dev Complete" for days or even weeks, so why would this have anything to do with them.

What is "Dev Complete" and why do you keep mentioning it, you ask? Not the topic for today's discussion. We'll elaborate later.

Some Acknowledge, But Don't Recognize the True Impact

If devs acknowledge the existence of Wheeler's Law of software deployments to test regions they often describe it as a

  • small
  • minor
  • diminutive
  • miniscule
  • pretty much dismissible annoyance that QA is getting too worked up about

Why, you ask, do they do this --- b/c it only took 5 minutes of development time to fix, so what the hell is QA complaining about.

The Quality Code

The Quality Code

A Quality Infused Life ==> A Good Life!

 

© 2020