Environment
- OS: Windows 11 + WSL2 (Ubuntu 24.04)
- Arc node version: v0.6.0
Problem
When running make testnet on WSL2, all validator execution
nodes fail to start with the following error:
Error: Specified qdisc kind is unknown.
This is caused by latency_setup.sh using tc (traffic control)
commands which require kernel modules not available in WSL2.
Steps to reproduce
- Clone arc-node on a Windows machine with WSL2
- Run
make testnet
- All
validator*_el containers fail with exit code 1
Workaround
Replace the contents of each latency_setup.sh with:
#!/usr/bin/env bash
echo "Latency emulation skipped (not supported)"
exit 0
Files affected:
.quake/localdev/validator1/latency_setup.sh
.quake/localdev/validator2/latency_setup.sh
.quake/localdev/validator3/latency_setup.sh
.quake/localdev/validator4/latency_setup.sh
.quake/localdev/validator5/latency_setup.sh
.quake/localdev/full1/latency_setup.sh
Suggestion
Add a WSL2 detection check in latency_setup.sh and skip
tc commands gracefully when running on WSL2.
Environment
Problem
When running
make testneton WSL2, all validator executionnodes fail to start with the following error:
Error: Specified qdisc kind is unknown.
This is caused by
latency_setup.shusingtc(traffic control)commands which require kernel modules not available in WSL2.
Steps to reproduce
make testnetvalidator*_elcontainers fail with exit code 1Workaround
Replace the contents of each
latency_setup.shwith:Files affected:
.quake/localdev/validator1/latency_setup.sh.quake/localdev/validator2/latency_setup.sh.quake/localdev/validator3/latency_setup.sh.quake/localdev/validator4/latency_setup.sh.quake/localdev/validator5/latency_setup.sh.quake/localdev/full1/latency_setup.shSuggestion
Add a WSL2 detection check in
latency_setup.shand skiptccommands gracefully when running on WSL2.