E

Issues with hello-world example build

Summary

The user encountered issues running the hello-world example with Earthly, specifically during the build phase when attempting to clone a GitHub repository. An internal error occurred while fetching the default branch, leading to a termination signal. Restarting the computer resolved the issue.

Status
open
Tags
    Source
    #earthly
      g

      ggoretkin

      9/20/2024

      Restarting the computer fixed it. :shrug:

      g

      ggoretkin

      9/20/2024

      Hi there, we are having trouble running the hello-world example:

       Init šŸš€
      ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”
      
                 buildkitd | Found buildkit daemon as docker container (earthly-buildkitd)
      
       Build šŸ”§
      ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”
      
      
      ================================== āŒ FAILURE ===================================
      
      <https://github.com/earthly/hello-world.git#> *failed* | Repeating the failure error...
      <https://github.com/earthly/hello-world.git#> *failed* | Initialized empty Git repository in /tmp/earthly/buildkit/runc-overlayfs/snapshots/snapshots/162/fs/
      <https://github.com/earthly/hello-world.git#> *failed* | ERROR
      <https://github.com/earthly/hello-world.git#> *failed* | The internal command
      <https://github.com/earthly/hello-world.git#> *failed* |           GIT CLONE <https://github.com/earthly/hello-world.git>
      <https://github.com/earthly/hello-world.git#> *failed* | failed:  internalerror fetching default branch for repository <https://github.com/earthly/hello-world.git>:  signal: terminated
      <https://github.com/earthly/hello-world.git#> *failed* | 
      <https://github.com/earthly/hello-world.git#> *failed* | git ls-remote --symref <https://github.com/earthly/hello-world.git> HEAD
      šŸ›°ļø Reuse cache between CI runs with Earthly Satellites! 2-20X faster than without cache. Generous free tier <https://cloud.earthly.dev>```