From 1039a92ab95b62232e94505815133ec41a6d1445 Mon Sep 17 00:00:00 2001 From: Ken McDonell Date: Thu, 28 Sep 2023 07:33:00 +1000 Subject: [PATCH] qa/766: deal with pmcd found in peer VMs in the QA Farm This is expected (now), but not deterministic. --- qa/766 | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/qa/766 b/qa/766 index db6420b00f..8cff5ea8d1 100755 --- a/qa/766 +++ b/qa/766 @@ -85,9 +85,18 @@ echo "-m probe=INET_ADDR/32" pmfind -m probe=$addr/32 | _unresolved_filter echo "Exit status: $?" | tee -a $seq.full +# for this one, we should not be surprised to find peer VMs +# in the QA Farm ... there is no DNS to support the reverse +# lookup, so they will be IP addr on the same Class C subnet +# +subnet=`echo $addr | sed -e 's/\.[^.]*$/./' -e 's/\./\\\\./g'` +echo "subnet=$subnet" >>$seq.full echo "-s pmcd -m probe=$addr/31" -r >> $seq.full echo "-s pmcd -m probe=INET_ADDR/31 -r" -pmfind -s pmcd -m probe=$addr/31 -r | _resolved_filter +pmfind -s pmcd -m probe=$addr/31 -r \ +| tee -a $seq.full \ +| _resolved_filter \ +| grep -v "pcp://$subnet" echo "Exit status: $?" | tee -a $seq.full echo "-q -m probe=$addr/30" >> $seq.full