Open MuhammedIrfan opened 8 months ago
Hey @MuhammedIrfan , could you paste which particular line in Starlark is failing? I suspect that this is because a call to plan.add_service
is being used where plan.run_sh
or plan.run_python
would be a better fit (due o the start-and-stop nature the latter is intended for)
Hey @MuhammedIrfan , could you paste which particular line in Starlark is failing? I suspect that this is because a call to
plan.add_service
is being used whereplan.run_sh
orplan.run_python
would be a better fit (due o the start-and-stop nature the latter is intended for)
@mieubrisse The error arises from here https://github.com/HugoByte/polkadot-kurtosis-package/blob/b9ec43fc48760ed076b8893d57683652dce13f36/parachain/register-para-id.star#L5
test = build_spec.create_service_for_build_spec(plan, constant.PARA_SLOT_REGISTER_SERVICE_NAME, constant.NODE_IMAGE, "javascript")
where we use a one-off container with the necessary node_module and script within it. As you suggested we will try with plan.run_sh
Hey @MuhammedIrfan , just wanted to verify if switching to plan.run_sh
did indeed work for you?
What's your CLI version?
0.86.11
Description & steps to reproduce
After setting up kurtosis in kubernetes, running the below command
fails with the error
which is a caused due to execution of one-off container; issue arises from https://github.com/kurtosis-tech/kurtosis/blob/main/container-engine-lib/lib/backend_impls/kubernetes/kubernetes_manager/kubernetes_manager.go#L1869
Desired behavior
The package should complete execution without failure.
What is the severity of this bug?
Critical; I am blocked and Kurtosis is unusable for me because of this bug.
What area of the product does this pertain to?
CLI: the Command Line Interface