CircleCI Platform Status

Real-time health of CircleCI's own infrastructure and services.

Failing iOS builds due to network connectivity/latency issues

Incident Report for CircleCI

Postmortem

Summary: On October 26th all of our OS X customers had issues with downtime. We understand that you depend on us to run your business, we apologize for the outage and have provided a summary of events for those interested in the details. We are working with our provider to minimize disruptions tied to our hosting provider. If you incur an overage on minutes in the next 30 days because of the lengthy queue time, please reach out to your customer success manager for prompt attention and resolution.

What Happened?

Early in the morning of 26 October CircleCI’s Support Team started to gather reports and investigate a sharp increase in network timeouts and build failures within our OS X fleet relating to network issues.

During the discovery and investigation phase of our Incident process the build queue for the OS X fleet started to climb and our build success rate dropped from around 60% to 25%. This caused our team to increase the priority with our data center vendor about networking speed improvements.

We got the vendor on the phone to have their networking team look into the issue and they could not initially find anything wrong with any of the network connections. During this conversation the build queue started to climb as a result in the normal job load increase for the day and we switched to Partial Outage.

At 08:00am PDT the network team at our vendor tried to give us more bandwidth and, in their own words, experienced an "unexpected result" that caused all of our OS X fleet to go offline.

The network was re-established quickly but the delay in communication and the time it took for us to reset and check our fleet generated a huge increase in the backlog which, coupled with the already slow network, created a backlog large enough to overwhelm the build rate for the remainder of the day.

We looked into multiple issues during the time we were contending with all of the above which included a reduced number of containers available and a slow container recycle time. During this investigation we discovered that a code change to the OS X builder master was causing containers to not get placed back into the available pool. That change was reverted and the OS X builder master instances were rolled.

That still didn't allow our available container count to return to normal so we continued to investigate, we then discovered that on some of the fleet the local firewall (which is used to isolate containers from each other) was offline, which should not have been a major item, but was causing not only it's containers to be offline but preventing the containers that were being rebooted after a job from being marked as available. After a manual reset of those firewall containers we were able to return to our normal level of available containers and the backlog was finally drained.

What We Are Doing About It

We still need to explore why the firewall was causing this issue and will reach out to the Platform team for definitive answers. Once identified, we will be able to create a plan to reduce this type of incident from happening in the future. After the backlog was drained the data center vendor then performed the bandwidth upgrade and it went of without a hitch and our OS X fleet now has increased bandwidth which we are monitoring to see if we need more.

Posted Oct 28, 2016 - 01:12 UTC

Resolved

This incident has been resolved.
Posted Oct 26, 2016 - 21:32 UTC

Update

We're continuing to monitor the queue closely as it drains. iOS users can expect delays as we clear the backlog. Will update again in ~20 min.
Posted Oct 26, 2016 - 21:18 UTC

Update

We continue to monitor the queue closely as it drains. iOS users can expect delays as we clear the backlog. Will update again in ~20 min.
Posted Oct 26, 2016 - 20:47 UTC

Update

We have cleared the root incident in both the OSX outage and our fleet scaling. We're monitoring the queue closely and iOS users can expect delays as we clear the backlog. We're working to get it drained as quickly as possible, and will update again in ~20 min.
Posted Oct 26, 2016 - 20:25 UTC

Update

We’re continuing to monitor closely as we clear the queue. Will update again in ~20 min.
Posted Oct 26, 2016 - 19:53 UTC

Update

We're continuing to closely monitor the results of the fix to our fleet as well as the queue. We'll update again in ~20 min.
Posted Oct 26, 2016 - 19:28 UTC

Monitoring

A fix has been implemented and we are monitoring the results.
Posted Oct 26, 2016 - 18:54 UTC

Update

We're closely monitoring the fix we deployed to our fleet. We will continue to monitor and will update again in ~20 min.
Posted Oct 26, 2016 - 18:50 UTC

Update

We have identified the issue that was causing our fleet to not process builds at it's proper rate and have deployed a fix. We will be monitoring this change and will update in ~20 min.
Posted Oct 26, 2016 - 18:24 UTC

Update

We are working to get our fleet restored to it's normal level and are working to clear the extreme queue buildup that occurred during to the earlier outage. We appreciate your patience, and will update again in ~20 min.
Posted Oct 26, 2016 - 17:55 UTC

Update

We're continuing to work to clear the extreme queue buildup that occurred during to the earlier outage. We appreciate your patience, and will update again in ~20 min.
Posted Oct 26, 2016 - 17:35 UTC

Update

We're continuing to work to clear the queue buildup that occurred during to the earlier outage. We're monitoring it closely, and will update again in ~20 min.
Posted Oct 26, 2016 - 17:12 UTC

Identified

Our OSX infrastructure provider has resolved our network outage. We are currently working to clear the queue and are monitoring it closely as it drains. We'll update again in ~20 min.
Posted Oct 26, 2016 - 16:37 UTC

Update

We continue to work to discover root cause on iOS build failures with our OSX infrastructure provider. We'll update again in ~20 or as soon as we have new information.
Posted Oct 26, 2016 - 16:14 UTC

Update

We're continuing to work with our OSX infrastructure provider on the network issues causing iOS build failures. Thanks for your continued patience, we'll update again in ~20min.
Posted Oct 26, 2016 - 15:34 UTC

Update

We're still digging into the connectivity and latency issues in our Mac datacenters with our OSX infrastructure provider. We appreciate your patience, and will update again in ~20 min.
Posted Oct 26, 2016 - 15:08 UTC

Update

We're continuing to work closely with our OSX infrastructure provider to investigate the network issues causing iOS build failures. Will update again in ~20min.
Posted Oct 26, 2016 - 14:41 UTC

Update

We continue to work with our OSX infrastructure provider to dig in to the network connectivity and latency issues in our Mac datacenters. Will update again in ~20 min or as new information becomes available.
Posted Oct 26, 2016 - 14:16 UTC

Update

We're continuing to work with our OSX infrastructure provider to investigate the network issues causing iOS build failures. Will update again as soon as we have more information.
Posted Oct 26, 2016 - 13:51 UTC

Investigating

We are experiencing ongoing network connectivity and latency issues in our Mac datacenters. All network requests are impacted by this issue causing network-related iOS build failures.
Posted Oct 26, 2016 - 12:55 UTC