Skip to content

Commit

Permalink
print port usage and iptables
Browse files Browse the repository at this point in the history
  • Loading branch information
YotillaAntoni committed Jan 16, 2025
1 parent b3d02df commit 6458ee8
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@ jobs:
- name: Print docker version
run: |
sudo docker version
sudo ss -atpn || true
- name: Disable app armor
run: |
sudo aa-teardown || true
Expand All @@ -140,16 +139,18 @@ jobs:
- name: Maven Tests
id: tests
run: |
sudo iptables -nL
(
while true; do
echo "Used ports *327*"
sudo ss -atpn || true
echo "Used ports 32700-33000"
sudo ss -atupn sport ge 32700 and sport le 33000
echo "-----------------------------"
sleep 10
done
) &
tail -f /var/log/syslog &
$MAVEN test ${MAVEN_TEST} -pl ${{ matrix.modules }} ${{ matrix.profile != '' && format('-P {0}', matrix.profile) || '' }} -Dsurefire.runOrder.random.seed=498044423542
sudo iptables -nL
- name: "Generate Unique Artifact Name"
if: ${{ always() }}
run: echo "UNIQUE_NAME=$RANDOM" >> $GITHUB_ENV
Expand Down

0 comments on commit 6458ee8

Please sign in to comment.