kurtosis icon indicating copy to clipboard operation
kurtosis copied to clipboard

Polkadot Kurtosis Package fails to run sometimes

Open tedim52 opened this issue 1 year ago • 7 comments

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

tedim52 avatar Feb 12 '24 15:02 tedim52

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

mieubrisse avatar Feb 27 '24 13:02 mieubrisse

What is the workaround?

marijanp avatar May 26 '24 01:05 marijanp

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

tedim52 avatar Jun 21 '24 03:06 tedim52

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?

petertheprocess avatar Jun 30 '24 05:06 petertheprocess

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.

solcates avatar Aug 10 '24 22:08 solcates

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

tedim52 avatar Aug 13 '24 13:08 tedim52

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.

praetoriansentry avatar Aug 13 '24 19:08 praetoriansentry