Skip to content

Commit

Permalink
workflows: Add debug info to IPsec key rotation test
Browse files Browse the repository at this point in the history
[ upstream commit a6e22ba ]

To detect that the key rotation began or that it successfully ended, we
rely on the number of keys in use reported by
`cilium-dbg encrypt status`. When either of those steps times out, it
would be good to have information on what the number of keys was.

This commit adds that debug information to the test.

Signed-off-by: Paul Chaignon <paul.chaignon@gmail.com>
Signed-off-by: Jussi Maki <jussi@isovalent.com>
  • Loading branch information
pchaigno authored and aanm committed Dec 1, 2023
1 parent eb17c7b commit 3cb86ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/conformance-ipsec-e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ jobs:
if [[ \$keys_in_use == 2 ]]; then
break
fi
echo "Waiting until key rotation starts"
echo "Waiting until key rotation starts (seeing \$keys_in_use keys)"
sleep 30s
done
Expand All @@ -298,7 +298,7 @@ jobs:
if [[ \$keys_in_use == 1 ]]; then
break
fi
echo "Waiting until key rotation completes"
echo "Waiting until key rotation completes (seeing \$keys_in_use keys)"
sleep 30s
done
Expand Down

0 comments on commit 3cb86ef

Please sign in to comment.