Skip to content

WSL2: latency_setup.sh fails due to missing tc (traffic control) kernel module #31

@izzetcakmak

Description

@izzetcakmak

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

  1. Clone arc-node on a Windows machine with WSL2
  2. Run make testnet
  3. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions