Closed Bug 1798886 Opened 2 years ago Closed 1 year ago

Migrate code-coverage from AWS to GCP

Categories

(Testing :: General, task)

Default
task

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: masterwayz, Assigned: masterwayz)

References

Details

Attachments

(2 files)

No description provided.
Attachment #9301732 - Attachment description: Bug 1798886 - Creae code-coverage GCP pools r=ahal! → Bug 1798886 - Create code-coverage GCP pools r=ahal!
Pushed by mgoossens@mozilla.com:
https://hg.mozilla.org/ci/ci-configuration/rev/f74b1f3240f0
Create code-coverage GCP pools r=ahal
Blocks: 1799017
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED

We had to revert this change as it was causing problems with the loading of Docker images.

[taskcluster 2022-11-28 09:26:03.829Z] Downloading artifact "public/code-coverage-bot.tar" from task ID: O2-7XGN_TaKvsC2-jmUT6g.
[taskcluster 2022-11-28 09:26:05.135Z] Downloaded artifact successfully.
[taskcluster 2022-11-28 09:26:05.135Z] Downloaded 100.112 mb
[taskcluster 2022-11-28 09:26:05.136Z] Loading docker image from downloaded archive.
[taskcluster:error] Pulling docker image has failed.
[taskcluster:error] Error: Error loading docker image. Invalid tar header. Maybe the tar is corrupted or it needs to be gunzipped?

Status: RESOLVED → REOPENED
Resolution: FIXED → ---

Perhaps we can apply the trick from jcristau here as well to fix the above?

Flags: needinfo?(ahal)

Yeah, sounds like it should work!

Flags: needinfo?(ahal)

Hi Julien, we are running into the invalid tar header for docker images issue here, see https://bugzilla.mozilla.org/show_bug.cgi?id=1798886#c4
What was the fix/workaround that you came up with again that we used for the other affected repos?

Flags: needinfo?(jcristau)

The fix would be to replace the docker image build task's code-coverage-bot.tar artifact with a compressed code-coverage-bot.tar.zst.

https://github.com/mozilla/task-boot/commit/c1d297adf3f01d4efba14514207ea2b429799f5f looks like taskboot can do that, although maybe not in the 0.2.2 version used by code-coverage?

Flags: needinfo?(jcristau) → needinfo?(mcastelluccio)

Yeah, I think we need to upgrade to a newer task-boot version.

Flags: needinfo?(mcastelluccio)
Status: REOPENED → RESOLVED
Closed: 2 years ago1 year ago
Resolution: --- → FIXED

Hook definitions need to be updated. I will take care of it.

Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Pushed by jcristau@mozilla.com:
https://hg.mozilla.org/ci/ci-configuration/rev/bdfec3fd8f36
Update code-coverage bot image paths. r=releng-reviewers,jcristau
Status: REOPENED → RESOLVED
Closed: 1 year ago1 year ago
Resolution: --- → FIXED
Regressions: 1817935
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: