Page MenuHomePhabricator

Few/no banners shown on 1 June 2015?
Closed, ResolvedPublic2 Estimated Story Points

Description

We noticed a seriously low amount of donations on 1 June. Looking into it, it seems the number of banner impressions that day was close to zero. This recovered on 2 June, and now seems to be back up to normal levels again.

Chart and numbers

I don't see anything in the CN logs which could explain this drop. The only change around that time was Jalexander disabled some campaigns, but they were not fundraising ones. Nor was there any change which would explain the recovery. Any thoughts on what could have caused this?

Event Timeline

Pcoombe raised the priority of this task from to Needs Triage.
Pcoombe updated the task description. (Show Details)

Thanks! That's very strange! Just to confirm, we didn't do any CN deploys or config changes that would correspond to those variations. Maybe some problems with GeoIP lookups, ResourceLoader setup (which sends in the Campaign choices), some change in a part of Mediawiki we depend on, or some other temporary issue with our infrastructure? Definitely bears investigating, I think...

Possibly a date-related bug at some layer? It seems awfully suspicious that it aligns so well (but not completely perfectly) with the start and end of that day. Can you check earlier last/first day of the month in the data, especially where the ending-month is 31 days long?

Also, what timezone are the stamps in that table using? UTC?

• AndyRussG triaged this task as High priority.

The timestamps are all UTC. I looked and can't see similar problems at the start of other months, nor on 1 June 2014.

Supposing that there were no known outages in our infrastructure that correspond to that period, maybe let's explore the possibility that this was caused by something external?

Can you tell me exactly which campaigns are included in this data? I see C15_enlvroskLVROSK_dsk_FR--any others?

One guess is that this could be due to a GeoIP issue. Country is stored in a browser cookie that expires at the end of the session, so a GeolP lookup problem during this window could have had a pretty big effect.

Another cause could be some sort of blocking of our sites... Can we get page view data for the countries targeted in this window? Also maybe Special:BannerLoader data for the banners involved?

Finally, I was thinking maybe a campaign with higher priority eclipsed fundraising campaigns exactly in that window. But so far I don't see anything in the logs or campaign start/end dates that would correspond to that.

Thanks!!

Unplanned work doesn't get story points

@AndyRussG The chart was just Fundraising campaigns (beginning with 'C15'). That encompasses the Latvia, Romania, Slovakia campaigns, plus low-level ones in a variety of countries.

However I've run the numbers for all CentralNotice campaigns and there was a similar complete lack of impressions on that date. (Note that the lower numbers from 2 June onwards are unsurprising, the Board Election banners were disabled at the end of 31 May, and they were by far the largest campaigns running)

I can't imagine someone blocking our sites could have caused this, since we're talking about multiple countries. Failing GeoIP lookup does sound like a possibility though.

Hmmm, really interesting!

Here's the data in bins of one minute. There is a sudden dropoff to a baseline at 2015-06-01 00:14 UTC, and then a jump back up to something meaningful at 2015-06-02 02:09 UTC.

There were no non-geotargeted campaigns running during this window... If there had been, we could have verified the GeoIP hypothesis by comparing impressions. In any case, if it were GeoIP, I think we wouldn't get the sudden changes and the flat line during the outage.

@Krinkle has suggested that it might be ResourceLoader-related...

I looked at the same data minus impressions from the Board Election banners. A few notes:

  • The beginning and end of the banner dropoff remains the same in this data.
  • The Board Election banners didn't represent such a big chunk of the pie; that's because they were only for logged-in users. Most of the impressions in the data are from Wiki Loves Earth campaigns being shown to anonymous users in different countries.
  • The Board Election campaigns were not geotarged. They were disabled at 2015-05-31 23:53, and stop appearing in the logs at 2015-06-01 00:13. It makes sense that they should take about that amount of time to stop showing up, due to caching of choiceData.
  • The banner dropoff begins almost exactly when the Board Election campaigns stop appearing. Could be a coincidence.
  • I checked which campaigns show up during the window when impressions are close to 0, and found nothing suspicious.

From IRC: @Krinkle investigated the possibility that a RL issue caused this; as far as he can tell, it didn't...

Aklapper renamed this task from Few/no banners shown on 1 June? to Few/no banners shown on 1 June 2015?.Nov 27 2019, 1:25 PM

@AndyRussG: Hi! Do you still work on this, as you are the assignee of this task? (If you do not plan to work on this task anymore, please remove yourself as assignee (via Add Action... → Assign / Claim in the dropdown menu) so others could in theory work on it.) Thanks a lot!

Closing. It's been 4.5 years, and as far as I know we've never seen a reoccurrence of this.