Comments (5)
Hi there,
What linux distribution/version are you running and what kernel version?
Also what docker command did you run to invoke the faucet test suite?
from faucet.
linux distribution/version:
PRETTY_NAME="Debian GNU/Linux rodete"
NAME="Debian GNU/Linux"
VERSION_ID="rodete"
VERSION="11 (rodete)"
VERSION_CODENAME=rodete
ID=debian
Kernel: Linux 5.10.40-1rodete2-amd64
Docker configs:
Create the docker image for our target version
if ! pushd "$SOURCE_DIR"; then
git clone "$GIT_REPO" "$SOURCE_DIR"
pushd "$SOURCE_DIR"
fi
if [ "$TARGET_VERSION" == "master" ] || ! git checkout "$TARGET_VERSION"; then
git fetch origin
git checkout "$TARGET_VERSION"
[ "$TARGET_VERSION" == "master" ] && git pull --rebase
fi
sudo docker build -t faucet/tests:"$TARGET_VERSION" -f Dockerfile.tests .
popd
Set up the config and network
mkdir -p "$TARGET_CONFIG_DIR"
cp "$TARGET_CONFIG" "$TARGET_CONFIG_DIR/hw_switch_config.yaml"
DOCKER_NETWORK_ARG="$(sudo "${BASH_SOURCE%/*}/setup-networking.sh")"
DOCKER_ARGS=(
--sysctl net.ipv6.conf.all.disable_ipv6=0
--privileged
"$DOCKER_NETWORK_ARG"
-v "$TARGET_CONFIG_DIR":/etc/faucet
-v "$RESULTS_DIR":/var/log/faucet-results
)
sudo apparmor_parser -R /etc/apparmor.d/usr.sbin.tcpdump || true
sudo modprobe openvswitch
Run the tests!
FAUCET_TESTS="-i -j $DOCKER_RESULTS_JSON"
if sudo docker run "${DOCKER_ARGS[@]}"
-e FAUCET_TESTS="$FAUCET_TESTS FaucetSanityTest"
faucet/tests:"$TARGET_VERSION"; then
sudo docker run "${DOCKER_ARGS[@]}" \
-e FAUCET_TESTS="$FAUCET_TESTS FaucetSanityTest FaucetSimpleTest FaucetTcpdumpHelperTest FaucetUntaggedVLanUnicastFloodTest FaucetDockerHostTest" \
faucet/tests:"$TARGET_VERSION" || true
sudo docker run "${DOCKER_ARGS[@]}" \
-e FAUCET_TESTS="$FAUCET_TESTS" \
faucet/tests:"$TARGET_VERSION" || true
fi
from faucet.
Any update on this?
DockerFile:
Image name: faucet/event-adapter-rabbitmq
FROM faucet/base
LABEL maintainer="Charlie Lewis [email protected]"
ENV PYTHONUNBUFFERED=0
RUN apk add --update
python3
python3-dev
py3-pip
gcc
musl-dev
&& rm -rf /var/cache/apk/*
WORKDIR /src
COPY requirements.txt requirements.txt
RUN pip3 install -r requirements.txt
COPY rabbit.py rabbit.py
COPY test_rabbit.py test_rabbit.py
RUN apk add --update pytest &&
pip3 install pytest-cov &&
python3 -m pytest -l -v --cov=. --cov-report term-missing &&
apk del pytest &&
pip3 uninstall -y pytest-cov &&
find / -name *pyc -delete
CMD ["python3", "rabbit.py"]
from faucet.
I've been having a discussion with the Mininet developer about the cgroup error you're having.
Mininet uses cgroup v1 at the moment and we think your system must have this disabled in favor of cgroup v2. We don't have access to a rodete image ourselves to test this theory but that is the best idea we've come up with so far.
If you could try run the test suite under a Debian bullseye or Ubuntu 20.04 VM we think it should work.
from faucet.
No longer required. Thanks for looking into this issue @gizmoguy.
from faucet.
Related Issues (20)
- Upgrading pyyaml to >= 5.4 HOT 2
- Unable to add meters for rate limiting HOT 1
- Upgrade base image for faucet/test-base docker image
- Separate codecheck test environment from doc build test environment
- Warm reload doesn't detect single VLAN ACL changes HOT 1
- Faucet v 1.10.4 "SSL WRONG VERSION NUMBER" HOT 13
- sNAT via conntrack ACLs HOT 5
- Brocade ICX 6610 Switch HOT 1
- Port Statistics Dashboard Not Working HOT 4
- OFPBIC_BAD_TABLE_ID HOT 4
- gre tunneling HOT 1
- Compatibility with Dell EMC 5224F-ON HOT 1
- Routing based on source IP address
- Change of Controller Hardware wont allow Cisco Switches to reconnect HOT 3
- traffic not passing over ovs geneve tunnel, arp, dhcp, etc.. HOT 1
- Like to run the Redundant stack links with more BRs and HOSTs
- Problems using faucet with Aruba 2930F HOT 4
- Does Faucet support QoS HOT 1
- Unable to access internet on namespace with faucet. HOT 10
- support for edgecore as6700 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from faucet.