kurtosis-tech / kurtosis

A platform for packaging and launching ephemeral backend stacks with a focus on approachability for the average developer.
https://docs.kurtosistech.com/
Apache License 2.0
353 stars 52 forks source link

Polkadot Kurtosis Package fails to run sometimes #2150

Open tedim52 opened 7 months ago

tedim52 commented 7 months ago

What's your CLI version?

0.86.15

Description & steps to reproduce

kurtosis run github.com/hugobyte/polkadot-kurtosis-package

Error in cloning git repository 'https://github.com/hugobyte/polkadot-kurtosis-package.git' to '/kurtosis-data/tmp-repositories/tmp-repo-dir-484379524/hugobyte/polkadot-kurtosis-package'. Make sure that 'https://github.com/hugobyte/polkadot-kurtosis-package.git' exists and is a public repository.

This should not happen as the package is public. On a subsequent kurtosis run . the package is able to load, thus the behavior is non determinstic.

Desired behavior

The package always runs because it is public

What is the severity of this bug?

Papercut; this bug is frustrating, but I have a workaround.

What area of the product does this pertain to?

CLI: the Command Line Interface

mieubrisse commented 7 months ago

Datapoint: this is still happening for Siddh; bumping up to painful

marijanp commented 4 months ago

What is the workaround?

tedim52 commented 3 months ago

Currently no great workaround for this : (, after a few attempts the issue is usually resolved but we suspect it's some weird git bug. WIll keep you updated

petertheprocess commented 3 months ago

Currently no great workaround for this : (, after a few attempts the issue is usually resolved but we suspect it's some weird git bug. WIll keep you updated

I have the same issue when I am using an VPN. If I turned the proxy off, everything works. Btw, with this VPN open, I can still manully "git clone" on my local console. So, could there be some network or proxy related issue in container?

solcates commented 1 month ago

I am also hitting this as a roadblock. I have retried many times, however always getting:

There was an error interpreting Starlark code Error in cloning git repository 'https://github.com/ethpandaops/ethereum-package.git' to '/kurtosis-data/tmp-repositories/tmp-repo-dir-1189545733/ethpandaops/ethereum-package'. Make sure that 'https://github.com/ethpandaops/ethereum-package.git' exists or if it's a private repository, that you are logged into GitHub via kurtosis github login.

I do use a wireguard VPN client for a small network, but I have tried with it disabled, and cleared all routes.

tedim52 commented 1 month ago

Hey @solcates - my suggestion right now would be to manually git clone https://github.com/ethpandaops/ethereum-package.git onto your system and run kurtosis run . from the the base directory of the ethereum packge repo. If you need the ethereum package to be imported within another package you can use a combination of cloning the repo locally + a replace directive to accomplish the same thing. LMK if this works for you as a workaround

praetoriansentry commented 1 month ago

I was facing the same issue on Ubuntu, and it turned out to be related to the MTU settings on my network interfaces. In my configuration, the default adapter had an MTU of 1460, but the docker0 adapter had an MTU of 1500. This mismatch caused intermittent network issues when trying to reach external services.

To resolve this, I followed the guidance from this article and added a --mtu 1450 flag to the Docker daemon startup options. After making this change, the network issues were resolved.