Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests: stop using fifos in bgp...multipath_relax #1

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
35ee15f
zebra: add temp warning (do not merge)
choppsv1 Jul 19, 2021
de53896
tests: simple fast static test
choppsv1 Jul 23, 2021
22ef8ed
tests: Run tests in a collection of containers
choppsv1 Jul 18, 2021
a287499
tests: summarize XML test results
choppsv1 Jul 18, 2021
73e90a4
tests: Update dir-locals
choppsv1 Jul 14, 2021
65ddecb
doc: minor update based on mininet removal
choppsv1 Jul 18, 2021
195d98c
tests: reasonable defaults for pytest results+logging
choppsv1 Jul 20, 2021
4cec960
tests: improve vxlan test determinism
choppsv1 Jul 18, 2021
57a576b
tests: NEW micronet replacement for mininet
choppsv1 Jul 14, 2021
fced6f1
tests: update infra for micronet
choppsv1 Jul 26, 2021
320e4ec
tests: fix pylint infra errors
choppsv1 Jul 21, 2021
c0dddb3
tests: fix pylint test errors
choppsv1 Jul 29, 2021
42ff766
tests: update tests for micronet
choppsv1 Jul 30, 2021
11a272d
tests: remove legacy Topo class (fixes many pylint errors)
choppsv1 Jul 29, 2021
6ab60b1
tests: remove legacy Topo class from infra
choppsv1 Aug 10, 2021
a93dc9d
tests: remove legacy Topo class from micronet
choppsv1 Aug 10, 2021
432fdf0
tests: add helper object for mcast-tester and iperf tool.
choppsv1 Jul 30, 2021
7d0201e
tests: use new helper object for mcast-tester and iperf
choppsv1 Jul 30, 2021
5ee5768
tests: keep revisions of configs
choppsv1 Aug 1, 2021
f3d6c8d
tests: triage intermittent ospfd failure in CI
choppsv1 Aug 4, 2021
4280118
tests: add triage show commands to ospf test
choppsv1 Aug 4, 2021
c64556f
tools: move frr-reload.py to python3 explicitly
choppsv1 Aug 4, 2021
e0a8cdf
docker: update with micronet changes
choppsv1 Aug 6, 2021
9d13373
tests: add back a 10 second delay to see if this fixes the failures
choppsv1 Aug 6, 2021
096bd1b
ospfd: Summarised External LSA is not flushed in one scenario
mobash-rasool Aug 16, 2021
7f5d7f2
tests: remove unneeded mcast group kernel routes and sysctl
choppsv1 Aug 18, 2021
906eef4
tests: Make bgp_multiview_topo1 predictable
mwinter-osr Aug 18, 2021
ae4f7ed
tests: use std polling for results
choppsv1 Aug 21, 2021
720c420
tests: add generic exa-receive.py script
choppsv1 Aug 22, 2021
679d8df
tests: use common exa-receive.py script
choppsv1 Aug 22, 2021
f73a705
tests: temp increase post fail check time to 10 times the timeout
choppsv1 Aug 22, 2021
26d99e9
tests: stop using fifos in bgp...multipath_relax
eqvinox Aug 22, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions .dir-locals.el
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
;;; Directory Local Variables
;;; For more information see (info "(emacs) Directory Variables")
;;; Match project coding conventions

((c-mode . ((indent-tabs-mode . t)
(show-trailing-whitespace . t)
(c-basic-offset . 8)
)))
(c-basic-offset . 8)))
(json-mode . ((js-indent-level 4)))
(python-mode . ((python-formatter . black)
(eval (flycheck-select-checker 'python-pylint))
(eval setf flycheck-pylintrc (flycheck-locate-config-file-ancestor-directories ".pylintrc" 'python-pylint))
(python-fill-column . 88))))
6 changes: 6 additions & 0 deletions .pylintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[MASTER]
init-hook="import sys; sys.path.insert(0, '..')"
signature-mutators=common_config.retry,retry

[MESSAGES CONTROL]
disable=I,C,R,W
4 changes: 2 additions & 2 deletions doc/developer/building-frr-for-ubuntu1804.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ Installing Dependencies
sudo apt update
sudo apt-get install \
git autoconf automake libtool make libreadline-dev texinfo \
pkg-config libpam0g-dev libjson-c-dev bison flex python3-pytest \
libc-ares-dev python3-dev python-ipaddress python3-sphinx \
pkg-config libpam0g-dev libjson-c-dev bison flex \
libc-ares-dev python3-dev python3-sphinx \
install-info build-essential libsnmp-dev perl libcap-dev \
libelf-dev

Expand Down
4 changes: 2 additions & 2 deletions doc/developer/building-frr-for-ubuntu2004.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ Installing Dependencies
sudo apt update
sudo apt-get install \
git autoconf automake libtool make libreadline-dev texinfo \
pkg-config libpam0g-dev libjson-c-dev bison flex python3-pytest \
libc-ares-dev python3-dev python-ipaddress python3-sphinx \
pkg-config libpam0g-dev libjson-c-dev bison flex \
libc-ares-dev python3-dev python3-sphinx \
install-info build-essential libsnmp-dev perl \
libcap-dev python2 libelf-dev

Expand Down
479 changes: 297 additions & 182 deletions doc/developer/topotests.rst

Large diffs are not rendered by default.

16 changes: 9 additions & 7 deletions docker/ubuntu18-ci/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,18 @@ ENV APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE=DontWarn
RUN apt update && \
apt-get install -y \
git autoconf automake libtool make libreadline-dev texinfo \
pkg-config libpam0g-dev libjson-c-dev bison flex python3-pytest \
libc-ares-dev python3-dev python-ipaddress python3-sphinx \
pkg-config libpam0g-dev libjson-c-dev bison flex python3-pip \
libc-ares-dev python3-dev python3-sphinx \
install-info build-essential libsnmp-dev perl libcap-dev \
libelf-dev \
sudo gdb iputils-ping time \
mininet python-pip iproute2 iperf && \
pip install ipaddr && \
pip install "pytest<5" && \
pip install "scapy>=2.4.2" && \
pip install exabgp==3.4.17
python-pip net-tools iproute2 && \
python3 -m pip install wheel && \
python3 -m pip install pytest && \
python3 -m pip install pytest-xdist && \
python3 -m pip install "scapy>=2.4.2" && \
python3 -m pip install xmltodict && \
python2 -m pip install 'exabgp<4.0.0'

RUN groupadd -r -g 92 frr && \
groupadd -r -g 85 frrvty && \
Expand Down
16 changes: 9 additions & 7 deletions docker/ubuntu20-ci/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,23 @@ ENV APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE=DontWarn
RUN apt update && \
apt-get install -y \
git autoconf automake libtool make libreadline-dev texinfo \
pkg-config libpam0g-dev libjson-c-dev bison flex python3-pytest \
libc-ares-dev python3-dev python-ipaddress python3-sphinx \
pkg-config libpam0g-dev libjson-c-dev bison flex python3-pip \
libc-ares-dev python3-dev python3-sphinx \
install-info build-essential libsnmp-dev perl \
libcap-dev python2 libelf-dev \
sudo gdb curl iputils-ping time \
libgrpc++-dev libgrpc-dev protobuf-compiler-grpc \
lua5.3 liblua5.3-dev \
mininet iproute2 iperf && \
net-tools iproute2 && \
curl https://bootstrap.pypa.io/pip/2.7/get-pip.py --output /tmp/get-pip.py && \
python2 /tmp/get-pip.py && \
rm -f /tmp/get-pip.py && \
pip2 install ipaddr && \
pip2 install "pytest<5" && \
pip2 install "scapy>=2.4.2" && \
pip2 install exabgp==3.4.17
python3 -m pip install wheel && \
python3 -m pip install pytest && \
python3 -m pip install pytest-xdist && \
python3 -m pip install "scapy>=2.4.2" && \
python3 -m pip install xmltodict && \
python2 -m pip install 'exabgp<4.0.0'

RUN groupadd -r -g 92 frr && \
groupadd -r -g 85 frrvty && \
Expand Down
2 changes: 2 additions & 0 deletions ospfd/ospf_flood.c
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,8 @@ static void ospf_process_self_originated_lsa(struct ospf *ospf,
ei_aggr.route_map_set.metric = -1;
ei_aggr.route_map_set.metric_type = -1;

SET_FLAG(aggr->flags,
OSPF_EXTERNAL_AGGRT_ORIGINATED);
ospf_external_lsa_refresh(ospf, new, &ei_aggr,
LSA_REFRESH_FORCE, true);
SET_FLAG(aggr->flags,
Expand Down
2 changes: 2 additions & 0 deletions ospfd/ospf_lsa.c
Original file line number Diff line number Diff line change
Expand Up @@ -3629,6 +3629,8 @@ struct ospf_lsa *ospf_lsa_refresh(struct ospf *ospf, struct ospf_lsa *lsa)
ei_aggr.route_map_set.metric = -1;
ei_aggr.route_map_set.metric_type = -1;

SET_FLAG(aggr->flags,
OSPF_EXTERNAL_AGGRT_ORIGINATED);
ospf_external_lsa_refresh(ospf, lsa, &ei_aggr,
LSA_REFRESH_FORCE, true);
SET_FLAG(aggr->flags,
Expand Down
Loading