Revert "ci: cram: random: network_security.t cram test fails randomly due to missing 80/tcp port and 53/tcp port"

This reverts commit adc82ee3fd.
Problem: cram tests fail https://gitlab.com/prpl-foundation/prplos/prplos/-/jobs/15239300617#L983

Referene: PPW-455, PPW-887
Signed-off-by: FAOUZI YAHYA <faouzi.yahya_ext@softathome.com>
This commit is contained in:
FAOUZI YAHYA 2026-07-09 10:15:14 +01:00
parent 464d3c9530
commit 72f0994ee6

View File

@ -1,22 +1,8 @@
Create R alias:
$ alias R="${CRAM_REMOTE_COMMAND:-}"
Check that NO port is open from WAN: Check that NO port is open from WAN:
$ nmap --open 10.0.0.2 | grep open $ nmap --open 10.0.0.2 | grep open
[1] [1]
Wait for services to become ready:
$ R '
> timeout=10
> while [ $timeout -gt 0 ] && (! pgrep lighttpd >/dev/null || ! pgrep dnsmasq >/dev/null); do
> sleep 1
> timeout=$((timeout - 1))
> done
> '
Check that only certain ports are open from LAN: Check that only certain ports are open from LAN:
$ nmap --exclude-ports T:5000 --open 192.168.1.1 | grep open $ nmap --exclude-ports T:5000 --open 192.168.1.1 | grep open