Hosted Agent Ubuntu Image Issue

Hi, we are trying to onboard to buildkite with hosted agent but are running into some issues.

We have certain tests where we spin up docker containers and throttle the network. In order to do that we use a utility tool called tc provided as part of iproutes2 pacakge.

The command we run ideally is

tc qdisc add dev "${IFACE}" root tbf rate 10mbit burst 32kbit latency 10sec.

However, this gives us error saying that “Error qdisc is unknown”. Upon searching a lot it seems to be a problem with the linux kernel. Though not entirely sure.

root@msevcsuuou6v0:~# cat /etc/os-release
PRETTY_NAME=“Ubuntu 22.04.3 LTS”
NAME=“Ubuntu”
VERSION_ID=“22.04”
VERSION=“22.04.3 LTS (Jammy Jellyfish)”
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL=“https://www.ubuntu.com/
SUPPORT_URL=“https://help.ubuntu.com/
BUG_REPORT_URL=“Bugs : Ubuntu
PRIVACY_POLICY_URL=“https://www.ubuntu.com/legal/terms-and-policies/privacy-policy
UBUNTU_CODENAME=jammy

Is there a way where I can use an updated version of Ubuntu for a hosted image ?

Hello, @uditsamani and welcome to the Buildkite community!

We checked and confirm the source of the issue you’re been experiencing. We’re escalating this to the team that works with Hosted Agents.

Best!
Karen

1 Like

Thank you for the prompt response. Appreciate all the help !

1 Like

Hey @uditsamani!

Our Product team is currently working on enabling sch_netem along with other necessary modules to support the tc oneliner. This feature should be available in the next few days. We’ll keep you updated on our progress.

1 Like

Thank you so much ! Appreciate all the help.

Hey! good news! Our Product team has already shipped those features! Let us know if you have any issues!
Cheers!