Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

create a variety of 2204 images #122

Merged

Conversation

aerickson
Copy link
Member

@aerickson aerickson commented Jan 4, 2024

Create builders for a variety of 22.04 images. See https://mozilla-hub.atlassian.net/browse/RELOPS-705 for details.

Configurations included in this PR:

gw_fxci_gcp_l1_arm64_gui.yaml
gw_fxci_gcp_l1_arm64.yaml
gw_fxci_gcp_l1_gui.yaml
gw_fxci_gcp_l1.yaml
gw_fxci_gcp_l3_arm64.yaml
gw_fxci_gcp_l3_gui.yaml
gw_fxci_gcp_l3.yaml

Configs that won't work (multi g-w needs a GUI, taskcluster/taskcluster#6786):

gw_fxci_gcp_l1.yaml
gw_fxci_gcp_l3.yaml
gw_fxci_gcp_l1_arm64.yaml
gw_fxci_gcp_l3_arm64.yaml

Verified and published configs:

gw_fxci_gcp_l1_gui.yaml
gw_fxci_gcp_l3_gui.yaml
gw_fxci_gcp_l1_arm64_gui.yaml

Validated with test jobs:

gw_fxci_gcp_l1_gui.yaml

Also:

  • move unused builders into old/ folder
  • disable the poetry update check (caused lots of conflicts)

@aerickson aerickson changed the title variety of 2204 images create a variety of 2204 images Jan 4, 2024
@aerickson
Copy link
Member Author

Building l1/d2g amd64 via monopacker build gw_fxci_gcp_l1 --secrets_file real_secrets_l1.yaml at c27cb2a.

Resulting image is gw-fxci-gcp-l1-googlecompute-2024-01-10t22-16-51z.

@aerickson
Copy link
Member Author

Building l1_gui/Wayland amd64 via monopacker build gw_fxci_gcp_l1_gui --secrets_file real_secrets_l1.yaml at c27cb2a.

Resulting image is gw-fxci-gcp-l1-gui-googlecompute-2024-01-10t22-21-48z.

@whimboo
Copy link

whimboo commented Jan 12, 2024

Hi @aerickson. One quick question... will the problem with the font cache be solved as well with this version that we are facing for quite some time? To circumvent that we still have the workaround in our puppeteer.yml configuration file. See also https://bugzilla.mozilla.org/show_bug.cgi?id=1670290. I've fixed that once for an older Linux image but then it was missed again.

We notice that given that Puppeteer has a kinda strict timeout restriction and marks tests as failed if they take longer than 20s. Given that no other test suite has that we do not see it for Mochitest, xpcshell etc, but all of them are basically affected in CI.

@aerickson
Copy link
Member Author

Hi @aerickson. One quick question... will the problem with the font cache be solved as well with this version that we are facing for quite some time? To circumvent that we still have the workaround in our puppeteer.yml configuration file. See also https://bugzilla.mozilla.org/show_bug.cgi?id=1670290. I've fixed that once for an older Linux image but then it was missed again.

We notice that given that Puppeteer has a kinda strict timeout restriction and marks tests as failed if they take longer than 20s. Given that no other test suite has that we do not see it for Mochitest, xpcshell etc, but all of them are basically affected in CI.

I didn't know about that issue (we don't manage docker images). This image could likely have the problem as currently written.

What is the command to run to generate the cache?

@whimboo
Copy link

whimboo commented Jan 15, 2024

Originally I fixed that on https://bugzilla.mozilla.org/show_bug.cgi?id=1443437 by running the following command:

+# use fc-cache:i386 to pre-build the font cache for i386 binaries
+apt-get -q -y -f install \
+    fontconfig:i386 \

So we would have to only adjust that for the x86_64 platform.

Also I checked and the problem indeed persists for current Puppeteer jobs:

https://treeherder.mozilla.org/logviewer?job_id=443284896&repo=mozilla-central&lineNumber=242-247

@aerickson
Copy link
Member Author

aerickson commented Jan 16, 2024

Originally I fixed that on https://bugzilla.mozilla.org/show_bug.cgi?id=1443437 by running the following command:

+# use fc-cache:i386 to pre-build the font cache for i386 binaries
+apt-get -q -y -f install \
+    fontconfig:i386 \

So we would have to only adjust that for the x86_64 platform.

OK, I will make it happen in the 22.04 Wayland and X11 images.

Also I checked and the problem indeed persists for current Puppeteer jobs:

https://treeherder.mozilla.org/logviewer?job_id=443284896&repo=mozilla-central&lineNumber=242-247

These jobs are running on a docker-worker instance, so you should be able to specify a docker image in the job that has it fixed (we don't manage docker images). If people keep breaking you, you could create your own image (but not fun to maintain perhaps).

@aerickson
Copy link
Member Author

Building l1_gui/Wayland amd64 via monopacker build gw_fxci_gcp_l1_gui --secrets_file real_secrets_l1.yaml --packer-args '-on-error=ask' at 574462e.

Resulting image is gw-fxci-gcp-l1-gui-googlecompute-2024-01-17t16-39-26z.

@aerickson
Copy link
Member Author

Building l1_gui/Wayland amd64 via monopacker build gw_fxci_gcp_l1_gui --secrets_file real_secrets_l1.yaml --packer-args '-on-error=ask' with updated secrets at ec9b535.

Resulting image is gw-fxci-gcp-l1-gui-googlecompute-2024-01-17t20-25-31z.

@aerickson
Copy link
Member Author

Building l1_gui/Wayland amd64 via monopacker build gw_fxci_gcp_l1_gui --secrets_file real_secrets_l1.yaml --packer-args '-on-error=ask' at c0cb90e

Resulting image is gw-fxci-gcp-l1-gui-googlecompute-2024-01-18t21-28-29z.

@aerickson
Copy link
Member Author

Building l1_gui/Wayland amd64 via monopacker build gw_fxci_gcp_l1_gui --secrets_file real_secrets_l1.yaml --packer-args '-on-error=ask' at 8ae1a21.

Resulting image is gw-fxci-gcp-l1-gui-googlecompute-2024-01-18t23-27-40z.

@aerickson
Copy link
Member Author

Building l1/d2g amd64 via monopacker build gw_fxci_gcp_l1 --secrets_file real_secrets_l1.yaml at 8ae1a21.

Resulting image is gw-fxci-gcp-l1-googlecompute-2024-01-19t17-35-11z.

@aerickson
Copy link
Member Author

Building l3/d2g amd64 via monopacker build gw_fxci_gcp_l3 --secrets_file real_secrets_l3.yaml at dae3025.

Resulting image is gw-fxci-gcp-l3-googlecompute-2024-01-19t18-10-08z.

@aerickson
Copy link
Member Author

Building l3_gui/d2g amd64 via monopacker build gw_fxci_gcp_l3_gui --secrets_file real_secrets_l3.yaml at e60d2e4.

Resulting image is gw-fxci-gcp-l3-gui-googlecompute-2024-01-22t18-50-07z.

@aerickson
Copy link
Member Author

aerickson commented Jan 24, 2024

Building gw_fxci_gcp_l1_gui with monopacker build gw_fxci_gcp_l1_gui --secrets_file real_secrets_l1.yaml --packer-args '-on-error=ask' at 0a40b6f.

Resulting image is gw-fxci-gcp-l1-gui-googlecompute-2024-01-24t19-09-38z.

@aerickson
Copy link
Member Author

Building arm64/l1 GUI with monopacker build gw_fxci_gcp_l1_arm64_gui --secrets_file real_secrets_l1.yaml at 10b081d.

Resulting image is gw-fxci-gcp-l1-arm64-gui-googlecompute-2024-02-14t21-16-11z.

@aerickson aerickson marked this pull request as ready for review February 14, 2024 21:38
@aerickson
Copy link
Member Author

Building l1_gui/Wayland amd64 via monopacker build gw_fxci_gcp_l1_gui --secrets_file real_secrets_l1.yaml at dbe2cf3.

Resulting image is gw-fxci-gcp-l1-gui-googlecompute-2024-02-14t22-33-57z.

@aerickson
Copy link
Member Author

Building l3_gui/d2g amd64 via monopacker build gw_fxci_gcp_l3_gui --secrets_file real_secrets_l3.yaml at dbe2cf3.

Resulting image is gw-fxci-gcp-l3-gui-googlecompute-2024-02-14t23-01-33z.

@aerickson
Copy link
Member Author

https://phabricator.services.mozilla.com/D201900 makes ci-config use the 3 latest images.

@aerickson aerickson merged commit 3d8a597 into mozilla-platform-ops:main Feb 15, 2024
2 checks passed
@aerickson aerickson deleted the 2204_wayland_from_community branch February 15, 2024 21:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants