Skip to content

Commit

Permalink
ovn-fake-multinode-tests: Don't silently ignore test failures.
Browse files Browse the repository at this point in the history
Fixes: 6c6a7ad ("Add fake multinode system tests.")
Signed-off-by: Dumitru Ceara <dceara@redhat.com>
Acked-by: Ales Musil <amusil@redhat.com>
Acked-by: Numan Siddique <numans@ovn.org>
  • Loading branch information
dceara committed May 8, 2023
1 parent f6663cd commit 0b2d4c4
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/ovn-fake-multinode-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -166,13 +166,15 @@ jobs:
cd ovn
./.ci/linux-prepare.sh
./.ci/linux-build.sh
sudo make check-multinode || :
sudo podman exec -it ovn-central ovn-nbctl show || :
sudo podman exec -it ovn-central ovn-sbctl show || :
sudo podman exec -it ovn-chassis-1 ovs-vsctl show || :
sudo podman exec -it ovn-chassis-1 ip netns || :
sudo podman exec -it ovn-chassis-1 cat /var/log/ovn/ovn-controller.log || :
sudo cat tests/multinode-testsuite.dir/1/multinode-testsuite.log || :
if ! sudo make check-multinode; then
sudo podman exec -it ovn-central ovn-nbctl show || :
sudo podman exec -it ovn-central ovn-sbctl show || :
sudo podman exec -it ovn-chassis-1 ovs-vsctl show || :
sudo podman exec -it ovn-chassis-1 ip netns || :
sudo podman exec -it ovn-chassis-1 cat /var/log/ovn/ovn-controller.log || :
sudo cat tests/multinode-testsuite.dir/multinode-testsuite.log || :
exit 1
fi
- name: copy logs on failure
if: failure() || cancelled()
Expand Down

0 comments on commit 0b2d4c4

Please sign in to comment.