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

remote build: stop raising internal errors #4908

Closed
mr-cal opened this issue Jul 11, 2024 · 3 comments
Closed

remote build: stop raising internal errors #4908

mr-cal opened this issue Jul 11, 2024 · 3 comments
Labels
enhancement New features or optimizations triaged

Comments

@mr-cal
Copy link
Collaborator

mr-cal commented Jul 11, 2024

What needs to get done

Remote builder errors should be caught and include a resolution and a link to the documentation

Why it needs to get done

Remote build errors are raised as snapcraft internal errors and are do not help the user fix the problem.

source: https://matrix.to/#/!GGqzbFAUQprdPgYYCM:ubuntu.com/$eFv8F6yWzVPWZHp4eXV7gKHTh125YamJUJEnrkI2eC0?via=ubuntu.com&via=matrix.org&via=kde.org

@mr-cal mr-cal added the triaged label Jul 11, 2024
Copy link

Thank you for reporting us your feedback!

The internal ticket has been created: https://warthogs.atlassian.net/browse/CRAFT-3101.

This message was autogenerated

@mr-cal
Copy link
Collaborator Author

mr-cal commented Jul 12, 2024

Example:
https://github.com/snapcrafters/webkitgtk-sdk/actions/runs/9877563264/job/27366291368

Initialized empty Git repository in /home/ubuntu/actions-runner/_work/webkitgtk-sdk/webkitgtk-sdk/webkitgtk-6-gnome-2404-sdk/.git/
remote-build is experimental and is subject to change. Use with caution.
Starting new build. It may take a while to upload large projects.
Enumerating objects: 6, done.
Counting objects:  16% (1/6)
Counting objects:  33% (2/6)
Counting objects:  50% (3/6)
Counting objects:  66% (4/6)
Counting objects:  83% (5/6)
Counting objects: 100% (6/6)
Counting objects: 100% (6/6), done.
Delta compression using up to 4 threads
Compressing objects:  16% (1/6)
Compressing objects:  33% (2/6)
Compressing objects:  50% (3/6)
Compressing objects:  66% (4/6)
Compressing objects:  83% (5/6)
Compressing objects: 100% (6/6)
Compressing objects: 100% (6/6), done.
Writing objects:  16% (1/6)
Writing objects:  33% (2/6)
Writing objects:  50% (3/6)
Writing objects:  66% (4/6)
Writing objects:  83% (5/6)
Writing objects: 100% (6/6)
Writing objects: 100% (6/6), 3.13 KiB | 3.13 MiB/s, done.
Total 6 (delta 0), reused 0 (delta 0), pack-reused 0
remote:
remote: Create a merge proposal for 'main' on Launchpad by visiting:
remote:       https://code.launchpad.net/~snapcrafters-bot/snapcrafters-bot-craft-remote-build/+git/snapcraft-webkitgtk-6-gnome-2404-sdk-62339028b847a9b6959f212cb0dbab94/+ref/main/+register-merge
remote:
To https://git.launchpad.net/~snapcrafters-bot/snapcrafters-bot-craft-remote-build/+git/snapcraft-webkitgtk-6-gnome-2404-sdk-62339028b847a9b6959f212cb0dbab94
 + 4af9968...8fb9f64 master -> main (forced update)
snapcraft internal error: BadRequest()
Full execution log: '/home/ubuntu/.local/state/snapcraft/log/snapcraft-20240712-094551.019918.log'
cat: 'webkitgtk-6-gnome-2404-sdk_amd64*.txt': No such file or directory
Could not find build log
Could not find webkitgtk-6-gnome-2404-sdk_2.44.2_amd64.snap

@mr-cal mr-cal added the enhancement New features or optimizations label Aug 21, 2024
@mr-cal mr-cal changed the title Catch and improve remote build errors remote build: improve remote build errors Aug 21, 2024
@mr-cal mr-cal changed the title remote build: improve remote build errors remote build: stop raising internal errors Sep 10, 2024
@mr-cal
Copy link
Collaborator Author

mr-cal commented Sep 20, 2024

Fixed via #5052

@mr-cal mr-cal closed this as completed Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New features or optimizations triaged
Projects
None yet
Development

No branches or pull requests

1 participant