Open Bug 1846377 Opened 1 year ago Updated 2 months ago

Intermittent Download failed: server returned code 404. URL: https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central/firefox-118.0a1.en-US.linux-x86_64.tar.bz2 | Error: Could not build image.

Categories

(Firefox Build System :: Task Configuration, defect)

defect

Tracking

(firefox-esr102 unaffected, firefox-esr115 unaffected, firefox116 unaffected, firefox117 unaffected, firefox118 affected)

Tracking Status
firefox-esr102 --- unaffected
firefox-esr115 --- unaffected
firefox116 --- unaffected
firefox117 --- unaffected
firefox118 --- affected

People

(Reporter: imoraru, Unassigned)

References

Details

(Keywords: intermittent-failure)

There is no failure summary in treeherder.
For this failure I have backed out Bug 1700396, but this is still happening after the backout. Maybe it was just a trigger for this error?

[##################] \ reify:core-js: http fetch GET 200 https://registry.npmjs
> postinstall
> cross-env PUPPETEER_PRODUCT=firefox node node_modules/puppeteer/install.js
ERROR: Failed to set up Firefox Nightly r118.0a1! Set "PUPPETEER_SKIP_DOWNLOAD" env variable to skip download.
Error: Download failed: server returned code 404. URL: https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central/firefox-118.0a1.en-US.linux-x86_64.tar.bz2
    at /builds/worker/pdf.js/node_modules/@puppeteer/browsers/lib/cjs/httpUtil.js:100:31
    at ClientRequest.requestCallback (/builds/worker/pdf.js/node_modules/@puppeteer/browsers/lib/cjs/httpUtil.js:77:13)
    at Object.onceWrapper (node:events:628:26)
    at ClientRequest.emit (node:events:513:28)
    at HTTPParser.parserOnIncomingClient (node:_http_client:693:27)
    at HTTPParser.parserOnHeadersComplete (node:_http_common:128:17)
    at TLSSocket.socketOnData (node:_http_client:534:22)
    at TLSSocket.emit (node:events:513:28)
    at addChunk (node:internal/streams/readable:315:12)
    at readableAddChunk (node:internal/streams/readable:289:9)
npm ERR! code 1
npm ERR! path /builds/worker/pdf.js
npm ERR! command failed
npm ERR! command sh -c -- cross-env PUPPETEER_PRODUCT=firefox node node_modules/puppeteer/install.js
npm ERR! A complete log of this run can be found in:
npm ERR!     /builds/worker/.npm/_logs/2023-07-31T21_42_59_693Z-debug-0.log
error building image: error building stage: failed to execute command: waiting for process to exit: exit status 1
Error: Could not build image.
[taskcluster 2023-07-31 21:43:26.532Z] === Task Finished ===
[taskcluster 2023-07-31 21:43:26.542Z] Artifact "public/image.tar.zst" not found at "/workspace/image.tar.zst": (HTTP code 404) no such container - Could not find the file /workspace/image.tar.zst in container b7e922375bca60614e26512631899bf6999a4dd01c86fcb1e4bf27e226330a59 
[taskcluster 2023-07-31 21:43:26.594Z] Unsuccessful task run with exit code: 1 completed in 123.353 seconds

Hi Tom! Can you please take a look at this?
Thank you!

Flags: needinfo?(tom)
See Also: → 1846390

It seems that this was just a hiccup. I tried to rerun the build after a few hours and this time it turned green.

green run after busted first run

Changing the bug summary to intermittent. I guess this has nothing to do with docker image update bot, so, I'm going to move the bug to a different component and remove docker-image-updatebot 3rdp from the bug summary.

Something similar happened in Bug 1846390.

Assignee: tom → nobody
Component: Mach Vendor & Updatebot → General
Flags: needinfo?(tom)
Product: Developer Infrastructure → Firefox Build System
Summary: Perma docker-image-updatebot 3rdp Download failed: server returned code 404. URL: https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central/firefox-118.0a1.en-US.linux-x86_64.tar.bz2 → Intermittent Download failed: server returned code 404. URL: https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central/firefox-118.0a1.en-US.linux-x86_64.tar.bz2 | Error: Could not build image.

The Bugbug bot thinks this bug should belong to the 'Firefox Build System::Task Configuration' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: General → Task Configuration

I think this is just bad luck. As part of the Updatebot docker image we pre-seed it with some stuff for pdfjs to reduce downloads on later runs. One of those things is a recent nightly build. We tried to download that but failed because presumably the nightly version was uploading or transferring to the CDN at that exact moment.

How is the version number for the "recent nightly build" determined?

Flags: needinfo?(tom)

I am going to pass that question along as I do not know how to read the build file...

Flags: needinfo?(tom) → needinfo?(jonas.jenwald)
Flags: needinfo?(jonas.jenwald)
Severity: -- → S4
You need to log in before you can comment on or make changes to this bug.