Skip to content

Instantly share code, notes, and snippets.

View dpino's full-sized avatar
🏠
Working from home

Diego Pino dpino

🏠
Working from home
View GitHub Profile
@dpino
dpino / ns-inet.sh
Last active April 19, 2024 18:12
Setup a network namespace with Internet access
#!/usr/bin/env bash
# set -x
if [[ $EUID -ne 0 ]]; then
echo "You must be root to run this script"
exit 1
fi
# Returns all available interfaces, except "lo" and "veth*".
#!/usr/bin/env bash
# set -x
# Snabb Switch CI for GitHub Pull Requests. Depends on `jq'
# (http://stedolan.github.io/jq/).
export SNABBBOTDIR=${SNABBBOTDIR:-"/tmp/snabb_bot"}
export REPO=${REPO:-"igalia/snabbswitch"}
export CURRENT=${CURRENT:-"lwaftr"}
Host: Linux snabb1 3.18.24 x86_64 Intel(R) Xeon(R) CPU E5-2620 v3 @ 2.40GHz
Image: lwaftr/snabb-test
Pull Request: #95
Current Head: 8364729b1cc4975e1c03e389de162e7e1bd7f3ed
Pull Request Head: dd69563c76159fb02fded679c36bc36a20083996
ERROR: Failed to build 95
From https://github.com/igalia/snabbswitch
* [new ref] refs/pull/95/head -> pr95
Switched to branch 'pr95'
Host: Linux snabb1 3.18.24 x86_64 Intel(R) Xeon(R) CPU E5-2620 v3 @ 2.40GHz
Image: lwaftr/snabb-test
Pull Request: #176
Current Head: 8364729b1cc4975e1c03e389de162e7e1bd7f3ed
Pull Request Head: 2fc51b6dc6620c0ebae168b2e4eceb6c9d475999
ERROR: Failed to build 176
From https://github.com/igalia/snabbswitch
* [new ref] refs/pull/176/head -> pr176
Switched to branch 'pr176'
Host: Linux snabb1 3.18.24 x86_64 Intel(R) Xeon(R) CPU E5-2620 v3 @ 2.40GHz
Image: lwaftr/snabb-test
Pull Request: #227
Current Head: 8364729b1cc4975e1c03e389de162e7e1bd7f3ed
Pull Request Head: f0044002f8967b9bc778f16e94d569b05b42f02b
ERROR: Failed to build 227
From https://github.com/igalia/snabbswitch
* [new ref] refs/pull/227/head -> pr227
Switched to branch 'pr227'
Host: Linux snabb1 3.18.24 x86_64 Intel(R) Xeon(R) CPU E5-2620 v3 @ 2.40GHz
Image: lwaftr/snabb-test
Pull Request: #236
Current Head: 8364729b1cc4975e1c03e389de162e7e1bd7f3ed
Pull Request Head: 9f4b1b50473f018d5525dea86a99d959b276ad3c
ERROR: Failed to build 236
From https://github.com/igalia/snabbswitch
* [new ref] refs/pull/236/head -> pr236
Switched to branch 'pr236'
Host: Linux snabb1 3.18.24 x86_64 Intel(R) Xeon(R) CPU E5-2620 v3 @ 2.40GHz
Image: lwaftr/snabb-test
Pull Request: #244
Current Head: 8364729b1cc4975e1c03e389de162e7e1bd7f3ed
Pull Request Head: ddde62e821603cee40047aec637b96b6eb486771
ERROR: Failed to build 244
From https://github.com/igalia/snabbswitch
* [new ref] refs/pull/244/head -> pr244
Switched to branch 'pr244'
Host: Linux snabb1 3.18.24 x86_64 Intel(R) Xeon(R) CPU E5-2620 v3 @ 2.40GHz
Image: lwaftr/snabb-test
Pull Request: #246
Current Head: 8364729b1cc4975e1c03e389de162e7e1bd7f3ed
Pull Request Head: 1add3a6870ae02cfddfb9ec640ad4b72d4a5aa7d
ERROR: Failed to build 246
From https://github.com/igalia/snabbswitch
* [new ref] refs/pull/246/head -> pr246
Switched to branch 'pr246'
Host: Linux snabb1 3.18.24 x86_64 Intel(R) Xeon(R) CPU E5-2620 v3 @ 2.40GHz
Image: lwaftr/snabb-test
Pull Request: #255
Current Head: 8364729b1cc4975e1c03e389de162e7e1bd7f3ed
Pull Request Head: 6b924923c7e2940af8105f728857a91caa8ab5c7
ERROR: Failed to build 255
From https://github.com/igalia/snabbswitch
* [new ref] refs/pull/255/head -> pr255
Switched to branch 'pr255'
Host: Linux snabb1 3.18.24 x86_64 Intel(R) Xeon(R) CPU E5-2620 v3 @ 2.40GHz
Image: lwaftr/snabb-test
Pull Request: #287
Current Head: 8364729b1cc4975e1c03e389de162e7e1bd7f3ed
Pull Request Head: de19a93db55847c29b08b5c4cd594775078a9771
ERROR: Failed to build 287
From https://github.com/igalia/snabbswitch
* [new ref] refs/pull/287/head -> pr287
Switched to branch 'pr287'