Skip to content

Commit

Permalink
ci: fixes for updated buildkite elastic stack version
Browse files Browse the repository at this point in the history
  • Loading branch information
matzf committed Sep 25, 2023
1 parent e80afbf commit 4a41d55
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 9 deletions.
4 changes: 4 additions & 0 deletions acceptance/router_multi/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,10 @@ def teardown(self):
sudo("chown -R %s %s" % (cmd.whoami(), self.artifacts))

def create_veths(self, ns: str):
# Set default TTL for outgoing packets to the common value 64, so that packets sent
# from router will match the expected value.
sudo("ip netns exec %s sysctl -w net.ipv4.ip_default_ttl=64" % ns)

create_veth("veth_int_host", "veth_int", "192.168.0.11/24", "f0:0d:ca:fe:00:01", ns,
["192.168.0.12", "192.168.0.13", "192.168.0.14", "192.168.0.51", "192.168.0.61",
"192.168.0.71"])
Expand Down
2 changes: 1 addition & 1 deletion demo/file_transfer/tc_setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -ex
NETWORK=$1
RATE=$2

veths=$(brctl show $NETWORK | awk 'NR>1''{print $NF}')
veths=$(bridge link show | awk "/$NETWORK/{print \$2}")
for veth in $veths
do
echo $veth
Expand Down
11 changes: 6 additions & 5 deletions doc/dev/testing/buildkite.rst
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,13 @@ Agents
Machine Image
-------------

We use the default machine image of the *Elastic CI Stack for AWS*. `What's on each machine <https://buildkite.com/docs/agent/v3/elastic-ci-aws#whats-on-each-machine>`_:
We use the default machine image of the *Elastic CI Stack for AWS* release `v6.7.1 <https://github.com/buildkite/elastic-ci-stack-for-aws/releases/tag/v6.7.1>`.
`What's on each machine <https://buildkite.com/docs/agent/v3/elastic-ci-aws#before-you-start-whats-on-each-machine>`_:

- Amazon Linux 2
- Buildkite Agent v3.39.1
- Docker v20.10.7
- Docker Compose v1.29.2
- Amazon Linux 2023
- Buildkite Agent v3.50.2
- Docker v20.10.25
- Docker Compose v2.20.3
- AWS CLI
- jq

Expand Down
4 changes: 1 addition & 3 deletions tools/env/rhel/pkgs.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
bridge-utils
moreutils
ethtool
gcc
g++
python3-pip
python3-setuptools
python3-wheel
jq
sqlite3
openssl

0 comments on commit 4a41d55

Please sign in to comment.