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

Build is failing on main due to missing fonts #15281

Closed
alexgibson opened this issue Oct 11, 2024 · 0 comments
Closed

Build is failing on main due to missing fonts #15281

alexgibson opened this issue Oct 11, 2024 · 0 comments
Assignees
Labels
Bug 🐛 Something's not working the way it should

Comments

@alexgibson
Copy link
Member

Description

https://github.com/mozilla-sre-deploy/deploy-bedrock/actions/runs/11286599306/job/31391216619

#48 [release release 3/5] RUN honcho run --env docker/envfiles/prod.env docker/bin/build_staticfiles.sh
#48 0.648 + rm -rf ./static
#48 0.650 + [[ '' == \-\-\n\o\l\i\n\k ]]
#48 0.650 + WAGTAIL_ENABLE_ADMIN=True
#48 0.650 + python manage.py collectstatic -l --noinput -v 0
#48 1.654 Using SITE_MODE of 'Mozorg'
#48 4.854 Post-processing 'css/m24.css' failed!
#48 4.854 
#48 4.855 Traceback (most recent call last):
#48 4.855   File "/app/manage.py", line 14, in <module>
#48 4.855     execute_from_command_line(sys.argv)
#48 4.855   File "/venv/lib/python3.12/site-packages/django/core/management/__init__.py", line 442, in execute_from_command_line
#48 4.855     utility.execute()
#48 4.856   File "/venv/lib/python3.12/site-packages/django/core/management/__init__.py", line 436, in execute
#48 4.856     self.fetch_command(subcommand).run_from_argv(self.argv)
#48 4.856   File "/venv/lib/python3.12/site-packages/django/core/management/base.py", line 412, in run_from_argv
#48 4.856     self.execute(*args, **cmd_options)
#48 4.856   File "/venv/lib/python3.12/site-packages/django/core/management/base.py", line 458, in execute
#48 4.856     output = self.handle(*args, **options)
#48 4.857              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
#48 4.857   File "/venv/lib/python3.12/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 209, in handle
#48 4.857     collected = self.collect()
#48 4.857                 ^^^^^^^^^^^^^^
#48 4.857   File "/venv/lib/python3.12/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 154, in collect
#48 4.857     raise processed
#48 4.857   File "/venv/lib/python3.12/site-packages/django/contrib/staticfiles/storage.py", line 372, in _post_process
#48 4.857     content = pattern.sub(converter, content)
#48 4.857               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
#48 4.858   File "/venv/lib/python3.12/site-packages/django/contrib/staticfiles/storage.py", line 249, in converter
#48 4.858     hashed_url = self._url(
#48 4.858                  ^^^^^^^^^^
#48 4.858   File "/venv/lib/python3.12/site-packages/django/contrib/staticfiles/storage.py", line 182, in _url
#48 4.858     hashed_name = hashed_name_func(*args)
#48 4.859                   ^^^^^^^^^^^^^^^^^^^^^^^
#48 4.859   File "/venv/lib/python3.12/site-packages/django/contrib/staticfiles/storage.py", line 422, in _stored_name
#48 4.859     cache_name = self.clean_name(self.hashed_name(name))
#48 4.859                                  ^^^^^^^^^^^^^^^^^^^^^^
#48 4.860   File "/venv/lib/python3.12/site-packages/django/contrib/staticfiles/storage.py", line 143, in hashed_name
#48 4.860     raise ValueError(
#48 4.860 ValueError: The file 'fonts/m24/mozilla-text/MozillaText-SemiBoldIt.woff2' could not be found with <django.contrib.staticfiles.storage.ManifestStaticFilesStorage object at 0x7f8a32803ec0>.
#48 ERROR: process "/bin/sh -c honcho run --env docker/envfiles/prod.env docker/bin/build_staticfiles.sh" did not complete successfully: exit code: 1
------
 > [release release 3/5] RUN honcho run --env docker/envfiles/prod.env docker/bin/build_staticfiles.sh:
4.858                  ^^^^^^^^^^
4.858   File "/venv/lib/python3.12/site-packages/django/contrib/staticfiles/storage.py", line 182, in _url
4.858     hashed_name = hashed_name_func(*args)
4.859                   ^^^^^^^^^^^^^^^^^^^^^^^
4.859   File "/venv/lib/python3.12/site-packages/django/contrib/staticfiles/storage.py", line 422, in _stored_name
4.859     cache_name = self.clean_name(self.hashed_name(name))
4.859                                  ^^^^^^^^^^^^^^^^^^^^^^
4.860   File "/venv/lib/python3.12/site-packages/django/contrib/staticfiles/storage.py", line 143, in hashed_name
4.860     raise ValueError(
4.860 ValueError: The file 'fonts/m24/mozilla-text/MozillaText-SemiBoldIt.woff2' could not be found with <django.contrib.staticfiles.storage.ManifestStaticFilesStorage object at 0x7f8a32803ec0>.
------
failed to solve: process "/bin/sh -c honcho run --env docker/envfiles/prod.env docker/bin/build_staticfiles.sh" did not complete successfully: exit code: 1
make: *** [Makefile:158: build-ci] Error 17
Error: Process completed with exit code 2.
@alexgibson alexgibson added the Bug 🐛 Something's not working the way it should label Oct 11, 2024
@alexgibson alexgibson self-assigned this Oct 11, 2024
alexgibson added a commit to alexgibson/bedrock that referenced this issue Oct 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug 🐛 Something's not working the way it should
Projects
None yet
Development

No branches or pull requests

1 participant