Skip to content

Log Docker upload file error workaround#3596

Merged
copybara-service[bot] merged 1 commit intomainfrom
bvandermoon-uxr
Apr 7, 2026
Merged

Log Docker upload file error workaround#3596
copybara-service[bot] merged 1 commit intomainfrom
bvandermoon-uxr

Conversation

@bvandermoon
Copy link
Copy Markdown
Collaborator

Description

Added this as a troubleshooting step in #3511. Including it in the actual error message in this PR.

Saw this error when running upload_maxtext_docker_image CLOUD_IMAGE_NAME=${CLOUD_IMAGE_NAME?}:

ERROR: Found symbolic links with absolute paths in the build context:
./maxtext_venv/bin/python
Docker cannot follow absolute paths outside of the build context, which can cause 'failed to compute cache key' errors.
Please remove these links or convert them to relative paths before building the Docker image.
Alternatively, run the command again from a clean, empty directory to bypass your local file state entirely

Fixed it by adding maxtext_venv/bin/python to a new .dockerignore file. Thanks @SurbhiJainUSC for the fix

Tests

Previously tested this workaround in #3511

Checklist

Before submitting this PR, please make sure (put X in square brackets):

  • I have performed a self-review of my code. For an optional AI review, add the gemini-review label.
  • I have necessary comments in my code, particularly in hard-to-understand areas.
  • I have run end-to-end tests tests and provided workload links above if applicable.
  • I have made or will make corresponding changes to the doc if needed, including adding new documentation pages to the relevant Table of Contents (toctree directive) as explained in our documentation.

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 7, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@copybara-service copybara-service bot merged commit c57e4c5 into main Apr 7, 2026
43 checks passed
@copybara-service copybara-service bot deleted the bvandermoon-uxr branch April 7, 2026 22:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants