Closed Bug 1651606 Opened 4 years ago Closed 4 years ago

404 not found when accessing the link generated by Doc-upload to access the generated doc on S3

Categories

(Developer Infrastructure :: Source Documentation, defect)

defect

Tracking

(firefox-esr68 unaffected, firefox-esr78 unaffected, firefox78 unaffected, firefox79 unaffected, firefox80 fixed)

RESOLVED FIXED
mozilla80
Tracking Status
firefox-esr68 --- unaffected
firefox-esr78 --- unaffected
firefox78 --- unaffected
firefox79 --- unaffected
firefox80 --- fixed

People

(Reporter: gilatank, Assigned: gilatank)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0

When Doc-upload task is ran, the task will produce an artifact containing the link to the generated documentation that is uploaded to S3. When accessing the link, the page would return a 404 not found error message.

here is an example of the link https://firefoxci.taskcluster-artifacts.net/XEPRKn_cSOC1dmSGUg3Taw/0/public/firefox-source-docs-url.txt

Looking at the logs here https://firefoxci.taskcluster-artifacts.net/XEPRKn_cSOC1dmSGUg3Taw/0/public/logs/live_backing.log
it seems that the correct parameters are passed to the function on https://searchfox.org/mozilla-central/source/tools/moztreedocs/upload.py#130
this is because the are logs of uploading that shows that the prefixes that are passed to the function are correct. Such as:

[task 2020-07-08T15:11:21.135Z] uploading code-quality/coding-style/coding_style_cpp.html to 022d9da8-c12d-11ea-b9d4-0242ac110004/code-quality/coding-style/coding_style_cpp.html

My early guess would be that the function in https://searchfox.org/mozilla-central/source/tools/moztreedocs/upload.py#145 where the fault is at.

Regressed by: 1643293
Has Regression Range: --- → yes

Set release status flags based on info from the regressing bug 1643293

Assignee: nobody → gilatank
Pushed by sledru@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/668c6b0e3116
fix the 404 not found issue when accessing the generated docs link on S3. r=sylvestre
Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla80
Product: Firefox Build System → Developer Infrastructure
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: