sentry incorrectly flagging mirrors as having files available that don't



11 years ago
9 years ago


(Reporter: joduinn, Assigned: justdave)


Firefox Tracking Flags

(Not tracked)



(1 attachment)

(not sure if this is correct component, please reassign as needed)

From IRC with justdave, seems the following 11 mirrors need a gentle nudge about how they handle mac .dmg files. The theory is that these mirrors are not uptaking mac download files, because they have incorrectly set this filetype to be text/html. Intead dmg should be either application/octet-stream or preferably application/x-apple-diskimage.
They're actually all 404.  The text/html you saw is the content-type of the 404 error message (when it gets that, the script was dumping the headers, so you could see the 404 below it).

The mirrors that were scanned were the ones by sentry as successfully serving Win32 files.  So these servers are either not pulling Mac bits or only pulling Windows bits (or sentry is broken and not removing people that don't have Windows, either, which is the case for at least from a casual look)
Group: mozillaorgconfidential
Assignee: server-ops → justin
Component: Server Operations → FTP: Mirrors
QA Contact: justin → justdave
From my even more casual looking, I'd guess either sentry is broken, or the state of the mirrors varies a great deal with time, or both: at this very second, from my random choice of two, is serving application/x-apple-diskimage, and doesn't have a single file for any OS, though it serves as application/octet-stream just fine.
yeah, based on the criteria used to generate this list, if the windows files aren't present on that machine, bouncer never should have given me the URL, and sentry's busted.

Revised list coming up shortly.
Assignee: justin → morgamic
Severity: normal → critical
Component: FTP: Mirrors → Bouncer
Product: → Webtools
QA Contact: justdave → bouncer
Summary: dmg filetype incorrectly handled as text/html on 11 of 36 mirrors → sentry incorrectly flagging mirrors as having files available that don't
Created attachment 287040 [details]
report as of 2007-11-01 20:06

This report is generated using the following URL as a source of mirror urls:
(note that requires an admin login for bouncer to access that URL)

The product_id=316 and os_id=2 I was told by Morgamic is the standalone Firefox download for Windows.  Several of these are coming up 404 for the Mac
version.  OK, so maybe people are excluding those.  But on spot-checking them,
several of them also don't have the Windows version, which is what sentry was
supposed to have assured already before generating that list of source mirrors.
how to read the report:

Each successful file retrieval will show:

mirror name      file size, timestamp, mime type

Each failed file retrieval will show:

mirror name       0  text/html

followed by the full URL of the file being attempted to retrieve, and the response headers generated by the server.

So a successful hit will only show one line, and a failed one will have several.

There's also the issue of people who do have it that have bad mime types, but that's less important here.
The 404s listed work now, and I need a better test case.  For the most part, 404s have not been an issue -- will have to take a closer look during the next release.  Has this been a problem for the releases since
Keywords: 4xp
Keywords: 4xp
I think we fixed this by having sentry treat a 200 response with a text/html content type as if it were 404.

If anyone has new occurrences of this please file a new bug.
Assignee: morgamic → justdave
Last Resolved: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.