Closed Bug 986032 Opened 10 years ago Closed 10 years ago

Blobber upload files not served with correct content type


(Release Engineering :: General, defect)

Not set


(Not tracked)



(Reporter: zcampbell, Assigned: ahal)



(2 files)

The html output report for the Gu job is not showing correctly.

1. Open a b2g-i job:
(this is not the first failing job, just an example)
2. Copy to a new tab the url where it says "Uploaded output.html to ....." 

direct link to the result of step 2:

The report should be a nicely formatted HTML report.
I can see the same issue on treeherder ( Does the report work okay locally Zac?
With pinned Marionette/gaiatest/etc it's fine. I haven't had time to test with in-tree Marionette yet.
Still busted, this is making it hard to debug TBPL failures.
For some reason, all of the blobber uploads are now tar.gz files.  So, you can still view the file by downloading it, appending a .tar.gz extension to it, and then extracting it.

I'm not sure why this is happening; :rail, can we serve these with the correct content-type so that people can view them more easily?
Flags: needinfo?(rail)
Summary: Gu output report on TBPL is broken → Blobber upload files not served with correct content type
IIRC ted added the compression feature.

302 ted
Flags: needinfo?(rail) → needinfo?(ted)
This was originally implemented in bug 962356, but it had a bug which I attempted to fix in bug 981654, but apparently it's broken in some other way now. :-(
Flags: needinfo?(ted)
Not a fire drill, but would be nice to have fixed.
Assignee: nobody → ted
This is an annoyance for Android 4.0 Debug mochitests. They have intermittent failures of the form "Assertion count X is greater than the expected range"; the actual assertions are often only found in the logcat uploaded to blobber. Unfortunately, the logcat is served as compressed content, so sheriffs need to click-save-gunzip-edit-search to star.
I think I found the culprit.
Assignee: ted → ahalberstadt
Attachment #8420326 - Flags: review?(ted)
Comment on attachment 8420326 [details] [review]
Fix missing quotes in dict key

Wow, that's terrible. Good catch.
Attachment #8420326 - Flags: review?(ted) → review+
ahal: nice one, gg!

I've merged the code. 

Guys, would you mind if we wait 1-2 more days 'till we deploy the changes in production? There are also some changes regarding the sync up for filetypes whitelisting awaiting review here ( ). I'd like to deploy them both in a single version bump so Rail doesn't have to do the puppet-beanstalk-workaround twice. Thanks!
Nevermind that, a new PR on bug 1011518 enforced a new blouploader version release - 1.1.4
As soon as Rail deploys that, it should be fine here too.
Hmm, so this still appears to be broken :(
My theory is that we aren't uploading the files properly to amazon. This says something about needing to upload both an uncompressed and compressed (with .gz extension) version of the same file:

If that's the case, seems like compression isn't worth it? Can we just turn it off? This bug is very annoying.
Assignee: ahalberstadt → nobody
That's CloudFront, we're not using that AFAIK. We're just serving blobs right from S3.
Okay, I looked into this again, and it turns out that bug 998796 just happened to break this in a *different* way for uploading from a directory. Pull request up:

We seriously need some unit tests for blobberc/blobuploader.
Thanks for the patch, apologize for the mistake.

Merged. New release here (1.1.7) here:

> Ted: We seriously need some unit tests for blobberc/blobuploader.
Will handle this as soon as my exam session is over in two weeks.
Attachment #8428209 - Flags: review?(rail)
Comment on attachment 8428209 [details] [diff] [review]
Bump blobuploader version to 1.1.7

Waiting for the merge to production (probably today)

Let me know if the change is urgent so I just transplant it.
Attachment #8428209 - Flags: review?(rail)
Attachment #8428209 - Flags: review+
Attachment #8428209 - Flags: checked-in+
In production
I verified that all of the Android logcats are now served correctly. Great to see this working -- thanks!
Good news then :-)
I suggest we leave the bug open for a few more days just to make sure nothing else arises.
Haven't heard any complaints.
Assignee: nobody → ahalberstadt
Closed: 10 years ago
Resolution: --- → FIXED
Component: Tools → General
You need to log in before you can comment on or make changes to this bug.