schweikert / fping

High performance ping tool
https://fping.org
Other
1.01k stars 250 forks source link

github ci unreliable test on macOS #330

Open gsnw opened 2 months ago

gsnw commented 2 months ago

Sometimes there is an error with ci/test-07-options-i-m.pl in Github CI macOS As a workaround, this test was deactivated for macOS via the pull-request #328

ci/test-05-options-c-e.pl ... ok
ci/test-06-options-f-h.pl ... ok

#   Failed test 'stderr_like: (sleep 2; pkill fping)& fping -p 770 -l -Q 1 127.0.0.1, (?^:\[\d\d:\d\d:\d\d\]
# 127\.0\.0\.1 : xmt/rcv/%loss = \d/\d/\d%, min/avg/max = \d\.\d+/\d\.\d+/\d\.\d+
# \[\d\d:\d\d:\d\d\]
# 127\.0\.0\.1 : xmt/rcv/%loss = \d/\d/\d%, min/avg/max = \d\.\d+/\d\.\d+/\d\.\d+
# )'
#   at ci/test-07-options-i-m.pl line 57.
#                   '[15:48:16]
# 127.0.0.1 : xmt/rcv/%loss = 2/2/0%, min/avg/max = 0.105/0.121/0.137
# sh: line 1: 11530 Terminated: 15          fping -p 770 -l -Q 1 127.0.0.1
# '
#     doesn't match '(?^:\[\d\d:\d\d:\d\d\]
# 127\.0\.0\.1 : xmt/rcv/%loss = \d/\d/\d%, min/avg/max = \d\.\d+/\d\.\d+/\d\.\d+
# \[\d\d:\d\d:\d\d\]
# 127\.0\.0\.1 : xmt/rcv/%loss = \d/\d/\d%, min/avg/max = \d\.\d+/\d\.\d+/\d\.\d+
# )'
# Looks like you failed 1 test of 15.
ci/test-07-options-i-m.pl ... 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/15 subtests 
    (less 6 skipped subtests: 8 okay)
ci/test-08-options-n-q.pl ... ok

.....

Test Summary Report
-------------------
ci/test-07-options-i-m.pl (Wstat: 256 (exited 1) Tests: 15 Failed: 1)
  Failed test:  11
  Non-zero exit status: 1
Files=16, Tests=401, 43 wallclock secs ( 0.08 usr  0.02 sys +  0.98 cusr  0.64 csys =  1.72 CPU)
Result: FAIL
Error: Process completed with exit code 1.